/* ---------- tokens ---------- */
:root {
  --bg: #f6f2eb;
  --bg-2: #efe9df;
  --ink: #1c1a17;
  --ink-2: #57524a;
  --line: #d9d1c4;
  --accent: #b4532a;      /* ember */
  --accent-soft: #e9d3c3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(42px, 6.4vw, 92px); }
h2 em, h1 em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.section { padding: clamp(90px, 13vw, 170px) var(--gutter); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-sub { color: var(--ink-2); max-width: 520px; margin: 20px 0 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s var(--ease), transform .5s var(--ease);
}
.nav.scrolled { background: rgba(246, 242, 235, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.nav.hidden { transform: translateY(-100%); }
.nav-logo { font-family: var(--serif); font-size: 24px; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 99px; display: inline-block; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 99px; font-size: 15px; font-weight: 500; overflow: hidden;
  border: 1px solid var(--ink); isolation: isolate;
}
.btn span { position: relative; z-index: 1; transition: color .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark::before { background: var(--accent); }
.btn-ghost::before { background: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn-ghost:hover span { color: var(--bg); }

.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin: 0; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(180,83,42,.5); animation: pulse 2.4s infinite; flex: none; }
.badge-lg { font-size: 15px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); }
.badge-lg strong { color: var(--ink); font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180,83,42,.45); } 70% { box-shadow: 0 0 0 10px rgba(180,83,42,0); } 100% { box-shadow: 0 0 0 0 rgba(180,83,42,0); } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 80px;
}
.hero-title { font-size: clamp(52px, 7.2vw, 124px); line-height: .94; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.hero-title .line:nth-child(3) > span { transition-delay: .2s; }
body.loaded .hero-title .line > span { transform: none; }
.hero-sub { max-width: 470px; color: var(--ink-2); margin: 0 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

/* editorial photo grid */
.hero-stack { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 780px; width: 100%; justify-self: end; align-items: start; }
.stack-col { display: flex; flex-direction: column; gap: 14px; }
.stack-col-mid { padding-top: 24%; }
.stack-col-low { padding-top: 48%; }
.ph { margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-2); opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-tall { aspect-ratio: 4/5; }
.ph-square { aspect-ratio: 1/1; }
body.loaded .ph { opacity: 1; transform: none; }
body.loaded .stack-col:nth-child(2) .ph { transition-delay: .12s; }
body.loaded .stack-col:nth-child(3) .ph { transition-delay: .24s; }
.swatch { position: absolute; width: 26px; height: 26px; }
.sw-ember { background: var(--accent); left: -46px; top: 30%; }
.sw-sage { background: #7c8471; right: -40px; bottom: 18%; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1px solid var(--ink-2); border-radius: 99px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--ink-2); border-radius: 2px; animation: scroll 1.8s infinite var(--ease); }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.about-head h2 { font-size: clamp(38px, 5vw, 72px); }
.about-copy { padding-top: 36px; }
.about-copy p { color: var(--ink-2); max-width: 560px; margin: 0 0 18px; font-size: 18px; }

/* ---------- specialties ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: 70px 1fr 1fr 40px; align-items: center; gap: 20px;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
  position: relative; cursor: pointer;
}
.spec::before { content: ""; position: absolute; inset: 0; background: var(--bg-2); opacity: 0; transition: opacity .6s ease; z-index: -1; }
.spec:hover::before { opacity: 1; }
.spec-num { font-size: 13px; color: var(--ink-2); }
.spec-name { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 80px); line-height: 1; transition: transform .7s cubic-bezier(.25,.8,.25,1), color .7s ease; will-change: transform; }
.spec:hover .spec-name { transform: translateX(12px); color: var(--accent); }
.spec-desc { color: var(--ink-2); font-size: 15px; }
.spec-arrow { font-size: 24px; transition: transform .7s cubic-bezier(.25,.8,.25,1), color .7s ease; }
.spec:hover .spec-arrow { transform: translateX(6px); color: var(--accent); }


/* ---------- dietary chips (in What I cook) ---------- */
.sub-lead { color: var(--ink); font-weight: 500; }
.diet-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.diet-chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; background: var(--bg-2); }
.diet-chips li:last-child { border-color: var(--accent-soft); color: var(--accent); }

/* ---------- signature brisket ---------- */
.signature { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 480px); justify-content: center; gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: 0; }
.sig-video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/16; background: var(--bg-2); }
.sig-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sig-copy h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 20px; }
.sig-copy > p:not(.eyebrow):not(.badge) { color: var(--ink-2); max-width: 480px; }
.sig-copy .badge { margin: 8px 0 30px; display: flex; }

/* ---------- catering ---------- */
.catering { background: var(--bg-2); border-radius: 28px; margin: 0 clamp(8px, 1.5vw, 20px); }
.catering-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.catering-head .section-sub { margin: 0; }
.cater-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.cater-img { isolation: isolate; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.cater-img img { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0) scale(1); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); will-change: transform; backface-visibility: hidden; }
.cater:hover .cater-img img { transform: translateZ(0) scale(1.035); }
.cater h3 { font-size: 32px; margin-bottom: 8px; }
.cater p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- gallery ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tile {
  margin: 0; aspect-ratio: 3/4; isolation: isolate; border-radius: 14px; overflow: hidden; position: relative;
  background: var(--bg-2); cursor: pointer;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.tile.is-hidden { display: none; }
.tile.enter { opacity: 0; transform: translateY(30px) scale(.98); }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0) scale(1); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); will-change: transform; backface-visibility: hidden; }
.tile:hover img { transform: translateZ(0) scale(1.035); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(20, 14, 8, .7)); color: #fff; font-size: 14px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.tile:hover figcaption { opacity: 1; transform: none; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(20, 17, 14, .94);
  display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; justify-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; max-width: min(90vw, 900px); border-radius: 10px; transform: scale(.96); transition: transform .5s var(--ease), opacity .3s; }
.lightbox.open img { transform: none; }
.lightbox video { max-height: 82vh; max-width: min(90vw, 900px); border-radius: 10px; background: #000; }
.lightbox [hidden] { display: none; }
.play-tag { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(246,242,235,.92); color: var(--ink); font-size: 12px; font-weight: 500; }
.lightbox figcaption { color: #d8d0c4; font-size: 14px; text-align: center; }
.lightbox button { color: #f6f2eb; font-size: 28px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.1); }
.lb-close { position: absolute; top: 20px; right: 20px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-intro p:not(.eyebrow):not(.badge) { color: var(--ink-2); max-width: 440px; margin: 24px 0 28px; }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, .chips legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; transition: all .3s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #3c7a43; } .form-status.err { color: var(--accent); }

/* ---------- footer ---------- */
.footer { padding: 60px var(--gutter) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-family: var(--serif); font-size: clamp(56px, 13vw, 210px); line-height: .9; margin: 0 0 30px; letter-spacing: -.02em; white-space: nowrap; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }

/* ---------- reveal on scroll ---------- */
.fade-section { opacity: 0; transform: translateY(64px); transition: opacity 1.1s ease, transform 1.3s var(--ease); }
.fade-section.in { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-stack { justify-self: stretch; max-width: none; }
  .about-copy { padding-top: 0; }
  .swatch { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .cater-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: 44px 1fr 32px; }
  .spec-desc { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .signature { grid-template-columns: 1fr; }
  .sig-video { max-width: 320px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg); font-family: var(--serif); font-size: 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-links .nav-cta { font-family: var(--sans); font-size: 16px; }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; }
  .field-row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile figcaption { opacity: 1; transform: none; font-size: 12px; padding: 30px 10px 8px; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 16px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; } .lb-next { grid-row: 2; }
  .catering { border-radius: 20px; }
  .cater h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-section, .ph, .hero-title .line > span { opacity: 1 !important; transform: none !important; }
}
