:root {
  --paper: #faf5eb;
  --ink: #25291e;
  --muted: #5e594d;
  --rule: #d9d0bf;
  --accent: #983b23;
  --surface: #f4ebdc;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  z-index: 1;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-120%);
}

.skip-link:focus {
  top: 0.5rem;
  transform: none;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.brand img,
.hero-logo {
  display: block;
  height: auto;
  /* Trim the transparent space above and below the artwork. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.brand img {
  width: 5.75rem;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 3vw, 2.5rem);
}

.site-header nav a,
.site-footer nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.125rem 0.1rem 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.hero,
.page {
  padding: clamp(2.75rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.125rem, 4.3vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.hero-logo {
  width: clamp(12rem, 26vw, 22rem);
  max-width: 100%;
  margin-bottom: 0.75rem;
  transform: translateX(-7.5%);
}

.hero-copy p,
.intro {
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  padding: 0.625rem 1.1rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #78301e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-actions .button {
  margin-top: 0;
}

.button-secondary {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

figcaption span {
  padding-inline: 0.2em;
}

.intro {
  max-width: 44ch;
  color: var(--muted);
}

.detail-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--surface);
}

.detail-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.detail-card p {
  margin: 0.625rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.story {
  max-width: 36rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(0, 1.65fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.visit-info address,
.site-footer address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.visit-info address {
  margin-top: 0.625rem;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.visit-details dt {
  font-weight: 700;
}

.visit-details dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.visit-map {
  display: block;
  width: 100%;
  height: auto;
  min-height: 22rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--surface);
}

.site-footer,
.footer-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.site-footer {
  justify-content: space-between;
  padding-bottom: 2rem;
}

.site-footer address {
  font-size: 0.9375rem;
}

.site-footer nav {
  gap: 0.25rem clamp(0.75rem, 2vw, 1.5rem);
}

@media (max-width: 44rem) {
  .hero,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .visit-map {
    min-height: 18rem;
  }

  .hero-copy p,
  .intro {
    margin-top: 1.15rem;
  }
}

@media (max-width: 32rem) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav,
  .site-footer nav {
    width: 100%;
    justify-content: space-between;
    gap: 0 0.5rem;
  }
}

@media (max-width: 24rem) {
  .site-header nav,
  .site-footer nav {
    column-gap: 0.25rem;
  }

  .site-header nav a,
  .site-footer nav a {
    font-size: 0.875rem;
  }
}

/* Restaurant phone links inherit the surrounding contact typography. */
.moim-phone {
  color: inherit;
  white-space: nowrap;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.moim-phone:hover { color: var(--accent); }

/* Compact Instagram link alongside the footer phone number. */
.site-footer .footer-instagram {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  border-radius: 0.5rem;
  color: var(--muted);
  vertical-align: middle;
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-instagram svg { display: block; flex-shrink: 0; }
.site-footer .footer-instagram:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-instagram { transition: none; }
}
