/* ============================================================
   Happy Plates — Chef Zoë Rose
   Palette drawn from the Luca reference + the Happy Plates brand:
   green  #2d3f2f   olive  #5c5f42   brown  #38331b
   mint   #d5dccd   cream  #efeae0   gold   #d9a441
   Type: Fraunces (display serif) + Archivo (grotesk utility)
   Signature move: the page background cross-fades between earthy
   tones as you scroll, section by section.
   ============================================================ */

/* Logo wordmark font — used only for the "Happy Plates" text next to
   the icon mark (see .brand-wordmark below), not a sitewide type
   choice. */
@font-face {
  font-family: "Brasika Display";
  src: url("fonts/BrasikaDisplayTrial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #2d3f2f;
  --olive: #5c5f42;
  --brown: #38331b;
  --mint:  #d5dccd;
  --cream: #efeae0;
  --gold:  #d9a441;
  --ink-dark:  #26301f;
  --ink-light: #f2efe7;

  --bg: var(--green);
  --ink: var(--ink-light);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --bg-speed: 1.1s;
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--ink);
  transition:
    background-color var(--bg-speed) var(--ease-smooth),
    color var(--bg-speed) var(--ease-smooth);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: var(--brown); }

/* ---------- utilities ---------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--cream); color: var(--green);
  padding: 10px 18px; font-size: .85rem; text-decoration: none;
  transition: top .2s var(--ease-smooth);
}
.skip-link:focus { top: 12px; }

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- type scale ---------- */

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 3vw, 30px);
  opacity: .82;
}

.eyebrow-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.eyebrow-link:hover { text-decoration-color: currentColor; }

.display {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.18;
}

.display em, .display-md em, .display-sm em {
  font-style: italic;
  font-weight: 320;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color .25s var(--ease-smooth), color .25s var(--ease-smooth);
}

.btn:hover { background: var(--ink); color: var(--bg); }

.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: transparent; color: inherit; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0; top: 0;
  z-index: 50;
  transition: background-color .3s var(--ease-smooth), backdrop-filter .3s;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon { height: 44px; width: auto; flex: none; }

.brand-wordmark {
  font-family: "Brasika Display", var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  white-space: nowrap;
}

.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-row .brand-icon { height: 56px; }
.footer-logo-row .brand-wordmark { font-size: 1.9rem; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  list-style: none;
}

.site-nav a:not(.btn) {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .88;
  transition: opacity .2s;
}
.site-nav a:not(.btn):hover { opacity: 1; }

.site-nav .btn { padding: 11px 22px; }

.nav-toggle { display: none; }

/* ---------- sections shared ---------- */

.section { padding-block: clamp(90px, 12vw, 170px); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(130px, 16vh, 190px) clamp(70px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  width: 100%;
}

.hero-copy .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-top: clamp(10px, 1.6vw, 16px);
}

.hero-copy .lede {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  max-width: 34em;
  margin-top: clamp(22px, 3vw, 34px);
  opacity: .92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
}

.hero-figure {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-figure img {
  aspect-ratio: 4 / 5.6;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-figure figcaption,
figure figcaption {
  font-size: .74rem;
  letter-spacing: .06em;
  margin-top: 12px;
  opacity: .68;
}

/* ---------- why ---------- */

.why-inner { max-width: 880px; }

.why .display-md { max-width: 20em; }

.why-body {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 40em;
  display: grid;
  gap: 1em;
  font-size: 1.05rem;
}

/* ---------- services ---------- */

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  margin-top: clamp(60px, 8vw, 110px);
}

.service-row:first-of-type { margin-top: clamp(30px, 4vw, 50px); }

.service-row-flip .service-figure { order: 2; }
.service-row-flip .service-copy  { order: 1; justify-self: end; }

.service-figure { width: min(100%, 460px); }
.service-row-flip .service-figure { justify-self: end; }

.service-figure img {
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.service-copy { max-width: 34em; }

.service-copy p { margin-top: 1.1em; opacity: .92; }

.service-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}

.service-list, .service-tags {
  list-style: none;
  margin-top: 1.4em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list li, .service-tags li {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 999px;
  padding: 8px 16px;
}

.service-tags li { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ---------- menus ---------- */

.menus-head { max-width: 640px; }

.menus-sub {
  margin-top: 1.2em;
  opacity: .82;
}

.menus-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 70px);
  margin-top: clamp(50px, 7vw, 90px);
  align-items: start;
}

.menu-cat + .menu-cat { margin-top: clamp(28px, 4vw, 40px); }

.menu-cat-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.2rem;
  letter-spacing: .01em;
  margin-bottom: 6px;
  opacity: .95;
}

.menu-figure { margin-top: 8px; }

.menu-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.menu-list { list-style: none; }

.menu-list li {
  padding: 13px 0;
  font-size: .98rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

/* ---------- quote ---------- */

.quote { padding-block: clamp(100px, 14vw, 190px); }

.quote-inner { max-width: 900px; }

.quote blockquote p { text-wrap: balance; }

.quote cite {
  display: block;
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: clamp(24px, 3vw, 36px);
  opacity: .8;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.about-figure { width: min(100%, 440px); }

.about-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy { max-width: 36em; }
.about-copy p { margin-top: 1.1em; opacity: .92; }

.about-handle a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- process ---------- */

.process-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 54px);
  margin-top: clamp(50px, 7vw, 90px);
}

.process-steps li {
  border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  padding-top: 22px;
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  opacity: .7;
}

.process-steps h3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 1.3rem;
  margin-top: 10px;
}

.process-steps p {
  margin-top: 10px;
  font-size: .92rem;
  opacity: .88;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.contact-copy p { max-width: 30em; margin-top: 1.2em; opacity: .92; }

.contact-cta { margin-top: clamp(26px, 3.5vw, 40px); }

.contact-details {
  display: grid;
  gap: 26px;
  padding-top: 8px;
}

.contact-item {
  border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  padding-bottom: 18px;
}

.contact-item dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .72;
}

.contact-item dd {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- footer ---------- */

.site-footer {
  padding-top: clamp(50px, 7vw, 80px);
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}

.footer-tag {
  margin-top: 18px;
  max-width: 22em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  opacity: .88;
}

.footer-nav ul { list-style: none; display: grid; gap: 10px; }

.footer-nav a, .footer-contact a {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .85;
}
.footer-nav a:hover, .footer-contact a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.footer-contact p { margin-bottom: 10px; overflow-wrap: anywhere; }

.footer-legal {
  margin-top: clamp(40px, 6vw, 70px);
  padding-block: 26px;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  font-size: .74rem;
  letter-spacing: .06em;
  opacity: .66;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-figure { justify-self: start; width: min(100%, 480px); }

  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .menus-grid { grid-template-columns: 1fr 1fr; }
  .menu-figure { order: 3; grid-column: 1 / -1; width: min(100%, 460px); margin-inline: auto; }
}

@media (max-width: 899px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-smooth), visibility .35s;
    z-index: 60;
  }

  .site-nav.is-open { opacity: 1; visibility: visible; }

  .site-nav ul { flex-direction: column; gap: 30px; }

  .site-nav a:not(.btn) { font-size: 1.05rem; letter-spacing: .16em; }

  .nav-toggle {
    display: grid;
    gap: 7px;
    place-content: center;
    width: 48px; height: 48px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    z-index: 70;
    position: relative;
  }

  .nav-toggle-line {
    display: block;
    width: 26px; height: 2px;
    background: currentColor;
    transition: transform .3s var(--ease-smooth);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
}

@media (max-width: 767px) {
  .service-row,
  .service-row-flip { grid-template-columns: 1fr; }
  .service-row-flip .service-figure { order: 1; justify-self: start; }
  .service-row-flip .service-copy { order: 2; justify-self: start; }

  .about-grid { grid-template-columns: 1fr; }

  .menus-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 479px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body { transition: none; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .site-header, .nav-toggle-line, .site-nav { transition: none; }
}
