/* ============================================================================
   Arzella — design system, v2
   Redesigned around the client's own brand: the shell mark, the Bodoni-style
   wordmark seen on their signage and cover photo, and real black-and-white
   photography of the restaurant. Strictly monochrome — no accent colour —
   sharp corners throughout. Classic, editorial, a fine-dining brand book, not
   a friendly local-business template.
   ========================================================================= */

:root {
  /* ---- ground -------------------------------------------------------- */
  --paper:     #FAF9F6;   /* dominant light ground */
  --paper-dim: #F0EEE7;   /* alternating section band */
  --line:      #DBD8CE;   /* hairline on paper */

  /* ---- ink ------------------------------------------------------------*/
  --ink:       #131211;   /* dominant dark ground + primary text */
  --ink-soft:  #201E1B;   /* raised surface on ink */
  --line-ink:  #3B3835;   /* hairline on ink */

  /* ---- neutrals, no accent colour anywhere ----------------------------*/
  --mid:        #6B675F;  /* secondary text on paper */
  --mid-on-ink: #A9A59C;  /* secondary text on ink */

  /* ---- type -------------------------------------------------------------*/
  --display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --body:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- structure ------------------------------------------------------- */
  --gutter:  clamp(1.25rem, 5vw, 4rem);
  --measure: 1180px;
  --col:     62ch;
  --radius:  0;   /* sharp corners, deliberately — classic, not app-friendly */

  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================================
   base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 0.9rem 1.4rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* tracked small-caps — the one classic-menu-card device, used for nav and
   section eyebrows only, never for body copy */
.tracked {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.82rem;
}

/* type scale */
.t-display { font-family: var(--display); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.t-h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.t-h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.t-lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; color: var(--mid); }
.t-label { font-family: var(--body); }

/* ============================================================================
   layout
   ========================================================================= */
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 9vw, 7.5rem) 0; }
.section--dim { background: var(--paper-dim); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .t-lede { color: var(--mid-on-ink); }

.col { max-width: var(--col); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.hr { border: 0; border-top: 1px solid var(--line); }
.section--ink .hr { border-top-color: var(--line-ink); }

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ============================================================================
   header / nav
   ========================================================================= */
.site-head {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s var(--ease);
}
.site-head__brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.site-head__brand img { height: 42px; width: auto; }
.site-head__wordmark { font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; }

.nav { display: none; gap: clamp(1.3rem, 2.4vw, 2.4rem); }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--mid); }
@media (min-width: 900px) { .nav { display: flex; } }

.head-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
/* Inverts to a self-contained light fill on hover rather than going
   transparent — .btn appears on both light (header) and dark (hero)
   grounds, and transparent + dark text disappeared entirely on the hero. */
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn__ico { width: 15px; height: 15px; flex-shrink: 0; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 0; background: none; border: none; cursor: pointer;
}
.nav-toggle__bar { width: 22px; height: 1px; background: var(--ink); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

@media (max-width: 380px) {
  .site-head { padding-left: 1rem; padding-right: 1rem; gap: 0.6rem; }
  .site-head__brand { gap: 0.5rem; }
  .site-head__brand img { height: 34px; }
  .site-head__wordmark { font-size: 1.15rem; letter-spacing: 0.03em; }
  .head-actions .btn { padding: 0.7rem 1rem; font-size: 0.75rem; }
}

.nav-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out);
}
.nav-overlay[data-open="true"] { transform: translateY(0); }
.nav-overlay__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.nav-overlay__mark { display: flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-overlay__mark img { height: 36px; }
.nav-overlay__close { background: none; border: none; color: var(--paper); cursor: pointer; padding: 0.4rem; }
.nav-overlay__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.nav-overlay__list a {
  display: block; padding: 1rem 0; text-decoration: none;
  font-family: var(--display); font-size: 1.8rem; color: var(--paper);
  border-bottom: 1px solid var(--line-ink);
}
.nav-overlay__foot { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.nav-overlay__meta { color: var(--mid-on-ink); font-size: 0.88rem; }

/* ============================================================================
   hero — full-bleed real photography
   ========================================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media .hero__clip {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__media .hero__clip.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,12,11,0.5) 0%, rgba(13,12,11,0.28) 30%, rgba(13,12,11,0.94) 100%),
    linear-gradient(90deg, rgba(13,12,11,0.6) 0%, rgba(13,12,11,0.32) 34%, rgba(13,12,11,0.06) 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 7vw, 5rem); width: 100%; }
.hero__mark { width: 44px; height: 44px; margin-bottom: 1.5rem; }
.hero__eyebrow { margin-bottom: 1.1rem; color: var(--mid-on-ink); }
.hero__title { max-width: 16ch; margin-bottom: 1.2rem; }
.hero__lede { max-width: 44ch; color: #E4E1D9; font-size: clamp(1.02rem, 1.8vw, 1.18rem); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; color: var(--mid-on-ink); font-size: 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--line-ink); }
.hero__meta strong { color: var(--paper); font-weight: 600; }

/* ============================================================================
   story / editorial split
   ========================================================================= */
.story__figure { overflow: hidden; aspect-ratio: 4 / 5; }
.story__figure img, .story__figure video { width: 100%; height: 100%; object-fit: cover; }
.story__list { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: 1rem; }
.story__list li { padding-bottom: 1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.story__list li:last-child { border-bottom: none; }
.story__list .k { color: var(--mid); font-size: 0.92rem; }
.story__list .v { font-weight: 600; text-align: right; }

/* ============================================================================
   full-bleed showcase photo (client's own branded shot)
   ========================================================================= */
.showcase { position: relative; }
.showcase img { width: 100%; height: auto; display: block; }
.showcase__caption { padding: 1.25rem var(--gutter); text-align: center; color: var(--mid); font-size: 0.9rem; }

/* ============================================================================
   gallery — small supporting photo pair
   ========================================================================= */
.gallery { display: grid; gap: 1px; background: var(--line); grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; background: var(--paper); overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: 1.1rem 1.3rem; font-size: 0.88rem; color: var(--mid); }

/* ============================================================================
   menu preview + menu page — classic menu-card treatment
   ========================================================================= */
.menu-card {
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-top: 2.5rem;
}
.menu-cats { display: grid; gap: 0; }
.menu-cat {
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  display: grid; gap: 0.35rem;
}
.menu-cat:first-child { padding-top: 0; }
.menu-cat:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 700px) {
  .menu-cat { grid-template-columns: 1fr 1.6fr; gap: 2rem; align-items: baseline; }
}
.menu-cat__name { font-family: var(--display); font-size: 1.3rem; }
.menu-cat__desc { color: var(--mid); font-size: 0.96rem; }

.menu-note {
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--mid); font-size: 0.95rem;
}
.menu-note a { color: var(--ink); }

.menu-page__section { border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.menu-page__section:first-of-type { padding-top: 0; }
.menu-page__section:last-of-type { border-bottom: none; }
.menu-page__head { margin-bottom: 1.25rem; text-align: center; }
.menu-page__note { color: var(--mid); font-size: 0.94rem; max-width: 52ch; margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================================
   reviews strip
   ========================================================================= */
.reviews { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem); align-items: baseline; justify-content: center; text-align: center; }
.reviews__score { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.reviews__num { font-family: var(--display); font-weight: 500; font-size: 3.4rem; }
.reviews__stars { letter-spacing: 0.2em; }
.reviews__links { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.reviews__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* ============================================================================
   find us
   ========================================================================= */
.visit-list { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: 1.1rem; }
.visit-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-ink); }
.visit-list li:last-child { border-bottom: none; }
.visit-list .k { color: var(--mid-on-ink); font-size: 0.92rem; }
.visit-list .v a { text-decoration: underline; text-underline-offset: 3px; }

.map-frame {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--ink-soft); border: 1px solid var(--line-ink);
  display: flex; align-items: center; justify-content: center;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================================
   footer
   ========================================================================= */
.site-foot { background: var(--ink); color: var(--mid-on-ink); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.foot__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.foot__brand img { height: 40px; }
.foot__brand span { font-family: var(--display); font-size: 1.5rem; color: var(--paper); letter-spacing: 0.06em; text-transform: uppercase; }
.foot__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot address { font-style: normal; line-height: 1.8; }
.foot address a { color: var(--mid-on-ink); }
.foot h3 { font-family: var(--body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--paper); margin-bottom: 1rem; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot ul a { color: var(--mid-on-ink); text-decoration: none; }
.foot ul a:hover { color: var(--paper); }
.foot__base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-ink);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.85rem;
}
.foot__base a { color: var(--mid-on-ink); }

/* fixed mobile action bar — replaces a floating pill; quieter, more classic */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); border-top: 1px solid var(--line-ink);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0; color: var(--paper); text-decoration: none;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.mobile-bar a + a { border-left: 1px solid var(--line-ink); }
.mobile-bar svg { width: 15px; height: 15px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 54px; } }

/* legal pages */
.legal-copy h2 { font-family: var(--body); font-size: 1.05rem; margin-top: 2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-copy p { color: var(--mid); }
.legal-copy a { color: var(--ink); }

.gap-note { display: block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--mid); border-left: 2px solid var(--line); padding-left: 0.6rem; }

/* ============================================================================
   entrance motion — one orchestrated hero moment
   ========================================================================= */
.hero__mark, .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__meta {
  opacity: 0; transform: translateY(14px);
  animation: rise 0.7s var(--ease-out) forwards;
}
.hero__mark    { animation-delay: 0.02s; }
.hero__eyebrow { animation-delay: 0.1s; }
.hero__title   { animation-delay: 0.2s; }
.hero__lede    { animation-delay: 0.32s; }
.hero__actions { animation-delay: 0.44s; }
.hero__meta    { animation-delay: 0.54s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero__mark, .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__meta {
    opacity: 1; transform: none; animation: none;
  }
}
