/* =========================================================
   CHEF ALEX CHEN — Design tokens
   Dark and moody: the room's navy-black panelling as the
   dominant ground, with a pale, warm yellow — like a single
   pendant light over the pass — reserved for accents only.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,350;0,9..144,440;0,9..144,500;1,9..144,350;1,9..144,440&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Color */
  --bg:         #14181e;   /* dominant dark navy ground */
  --bg-deep:    #0e1116;   /* deeper passage — footer close */
  --text:       #f2ecdc;   /* warm off-white, primary text */
  --text-dim:   #9a947f;   /* muted warm grey, body copy */
  --accent:     #e6c876;   /* pale yellow — the one accent */
  --accent-dim: #9c884f;   /* deeper muted yellow, quiet labels */
  --line:       rgba(242, 236, 220, 0.14);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.65rem, 1.4rem + 1vw, 2.35rem);
  --step-3:  clamp(2.2rem, 1.8rem + 1.8vw, 3.4rem);
  --step-4:  clamp(2.75rem, 2.1rem + 3vw, 4.75rem);

  --container: 1180px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg-deep); }

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 440;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}

p { margin: 0 0 1.2em; color: var(--text-dim); }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 0.95em 1.8em;
  border-radius: 0;
  border: 1px solid var(--accent);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: transparent; color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text-dim);
}
.btn--ghost:hover { background: var(--text); color: var(--bg-deep); border-color: var(--text); }

/* Aliases kept so existing footer/hero markup needs no changes now
   that the whole site shares one dark ground. */
.btn--on-navy { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
.btn--on-navy:hover { background: transparent; color: var(--accent); }
.btn--ghost-on-navy { background: transparent; color: var(--text); border: 1px solid var(--text-dim); }
.btn--ghost-on-navy:hover { background: var(--text); color: var(--bg-deep); border-color: var(--text); }

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 2rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  color: var(--text);
}
.site-header.is-scrolled {
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.wordmark img {
  height: 42px;
  width: auto;
  display: block;
}
.wordmark .logo-black { display: none; }
.wordmark .logo-white { display: block; }

.main-nav { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { opacity: 1; border-color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  width: 42px; height: 42px;
  border-radius: 0;
  cursor: pointer;
}

/* Nav dropdown ("Projects") */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-toggle {
  display: block;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
  padding: 0 0 4px;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-wrap.is-open .nav-dropdown-toggle,
.nav-dropdown-wrap:has(a[aria-current="page"]) .nav-dropdown-toggle { opacity: 1; border-color: var(--accent); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.85rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  min-width: 190px;
  padding: 0.4rem 0;
  display: none;
  flex-direction: column;
  z-index: 60;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap.is-open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 0.7rem 1.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  border-bottom: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] { opacity: 1; color: var(--accent); }

@media (max-width: 860px) {
  .nav-dropdown-menu {
    position: static;
    border: none;
    background: none;
    padding: 0.25rem 0 0 1rem;
    margin-top: 0.6rem;
    min-width: 0;
    gap: 0.9rem;
  }
  .nav-dropdown-wrap:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown-wrap.is-open .nav-dropdown-menu { display: flex; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--bg-deep);
    color: var(--text);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    gap: 1.5rem;
    border-left: 1px solid var(--line);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { opacity: 0.85; }
  .nav-toggle { display: block; }
}

/* ---------------- Hero ---------------- */

/* Pure image band — logo + nav float over it, but no body copy ever
   crosses the photograph. Text lives below, on the same dark ground,
   so the seam between photo and page all but disappears. */
.hero-band {
  position: relative;
  height: 92svh;
  min-height: 480px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, 62%) var(--hero-y, 28%);
  z-index: 0;
}
/* On narrow screens, always center horizontally regardless of the
   artistic desktop crop — asymmetric crops read as "off-center" on
   phones of any width, so mobile gets a safe, consistent center. */
@media (max-width: 900px) {
  .hero-photo { object-position: 50% var(--hero-y, 28%); }
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,24,30,0.55) 0%,
    rgba(20,24,30,0.08) 20%,
    rgba(20,24,30,0.02) 45%,
    rgba(20,24,30,0.35) 72%,
    rgba(20,24,30,0.8) 88%,
    rgba(20,24,30,1) 100%);
  z-index: 1;
}

/* Headline block — sits below the image, same dark ground */
.hero-headline {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
.hero-headline .hero-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.hero-headline h1 {
  font-size: var(--step-4);
  max-width: 18ch;
  margin: 0 auto;
  font-weight: 400;
  color: var(--text);
}
.hero-headline h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--text-dim);
}
.hero-footer {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}
.hero-locations {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin: 3rem auto 0;
  padding-top: 2rem;
  max-width: fit-content;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-locations .loc-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--text);
}
.hero-locations .loc-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}
.loc-link { display: block; transition: opacity 0.2s ease; }
.loc-link:hover { opacity: 0.65; }

/* Shorter image band used for interior-page heroes (About, etc.) */
.page-hero-band {
  height: 56svh;
  min-height: 380px;
}

.logo-mark {
  height: 64px;
  width: auto;
  margin: 0 auto 2rem;
  display: block;
}

.footer-mark {
  height: 46px;
  width: auto;
  margin-bottom: 1.5rem;
}

/* ---------------- Section scaffolding ---------------- */

section { position: relative; }

.section-pad { padding: clamp(4rem, 10vw, 8rem) 0; }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-head h2 { font-size: var(--step-3); }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------------- Sister-property cross-link ---------------- */

.sister-feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sister-feature-inner {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}
.sister-feature-inner h2 {
  font-size: var(--step-2);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.sister-feature-inner p {
  margin-bottom: 1.75rem;
}

.pull-quote {
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pull-quote .wrap {
  border-left: 2px solid var(--accent);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--text);
  max-width: 34ch;
  margin: 0 0 1.5rem;
  line-height: 1.35;
}
.pull-quote cite {
  font-style: normal;
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------------- Contact form ---------------- */

.contact-form { max-width: 720px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 1.25rem; }
}
.form-field { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%239a947f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 1rem; }

/* ---------------- Menu / tasting-course list (signature element) ---------------- */

.courses { border-top: 1px solid var(--line); }
.course {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.course-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--accent);
}
.course-year {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}
.course-title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--text);
  margin: 0 0 0.5rem;
}
.course-body { max-width: 62ch; margin: 0; }

/* ---------------- Two column editorial ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}
.split .lede {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

/* ---------------- Stat row ---------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3rem) 0;
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
}
.stat { min-width: 0; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--accent);
  font-weight: 400;
}
.stat span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ---------------- Awards teaser list ---------------- */

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--line);
}
.award-card {
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(0.5rem, 2vw, 1.5rem) clamp(1.75rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
.award-card + .award-card { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 780px) {
  .award-card + .award-card { border-left: none; padding-left: 0; }
}
.award-card .yr { font-size: 0.72rem; font-weight: 500; color: var(--accent-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.award-card h4 { font-size: var(--step-0); margin-top: 0.6rem; font-family: var(--font-display); font-weight: 500; }

/* ---------------- Restaurant awards archive ---------------- */

.archive-block { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.archive-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.archive-entries { border-top: 1px solid var(--line); }
.archive-entry {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 700px) {
  .archive-entry { grid-template-columns: 1fr; gap: 0.35rem; }
}
.archive-entry .award-name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--text);
}
.archive-entry .award-org {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.archive-entry .award-where {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.archive-entry .award-where b { color: var(--text); font-weight: 500; }
.archive-entry a { border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.archive-entry a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- Video grid (TV Segments + Video Gallery) ---------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }

.video-card { display: block; }
.video-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-deep);
  cursor: pointer;
  margin-bottom: 0.85rem;
}
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.video-card-thumb:hover img { transform: scale(1.05); }
.video-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  background: rgba(20,24,30,0.6);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 7.5v9l7-4.5-7-4.5z' fill='%23f2ecdc'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  pointer-events: none;
  transition: transform 0.25s ease;
}
.video-card-thumb:hover::after { transform: scale(1.1); }
.video-card-meta {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}
.video-card h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.video-card h5 a { color: inherit; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.video-card h5 a:hover { color: var(--accent); border-color: var(--accent); }
.video-card p { margin: 0; font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
[data-yt] { cursor: pointer; }

/* ---------------- Video lightbox ---------------- */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 12, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 4rem);
}
.video-modal.is-open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.video-modal-close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Footer — the deepest passage ---------------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--text);
  padding: clamp(3.5rem, 9vw, 6rem) 0 2.5rem;
  border-top: 1px solid var(--line);
}
.site-footer p { color: var(--text-dim); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.footer-cta h2 { font-size: var(--step-2); max-width: 14ch; color: var(--text); }
.footer-links {
  display: flex;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.footer-links h5 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ---------------- Photo credit + full-bleed breaks ---------------- */

.photo-credit {
  position: absolute;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(0.85rem, 2vw, 1.25rem);
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit:hover { opacity: 1; }

.photo-break {
  position: relative;
  height: clamp(60vh, 72vh, 780px);
  overflow: hidden;
}
.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, 50%) var(--hero-y, 30%);
}
@media (max-width: 900px) {
  .photo-break img { object-position: 50% var(--hero-y, 30%); }
}
@media (max-width: 600px) {
  .photo-break { height: 34vh; }
}
.photo-break::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -80px 90px -60px var(--bg);
  pointer-events: none;
}

/* ---------------- Image + text feature split ---------------- */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; }
}
.feature-split-media { position: relative; min-height: 340px; }
.feature-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}
.feature-split--reverse .feature-split-media { order: 2; }
.feature-split--reverse .feature-split-text { order: 1; }
@media (max-width: 860px) {
  .feature-split--reverse .feature-split-media { order: 0; }
  .feature-split--reverse .feature-split-text { order: 0; }
}

/* ---------------- Simple photo gallery row ---------------- */

.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .gallery-row { grid-template-columns: 1fr; }
}
.gallery-row img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg); }
.gallery-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .gallery-row--3 { grid-template-columns: 1fr; }
}

/* ---------------- Brand credit list ---------------- */

.brand-list {
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  columns: 3 220px;
  column-gap: clamp(1.5rem, 4vw, 3rem);
}
.brand-list li {
  break-inside: avoid;
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--text);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.brand-list a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
.brand-list a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Recipe cards ---------------- */

.recipe-block {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.recipe-block:last-of-type { border-bottom: none; }

.recipe-block-header {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}
.recipe-block-header h2 { font-size: var(--step-2); font-weight: 400; margin-bottom: 0.75rem; }
.recipe-servings {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.recipe-columns {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 1rem;
}
@media (max-width: 780px) {
  .recipe-columns { grid-template-columns: 1fr; }
}
.recipe-columns h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--accent);
  margin: 1.75rem 0 0.85rem;
  font-weight: 400;
}
.recipe-columns h5:first-child { margin-top: 0; }

.ingredient-list { margin: 0; padding: 0; list-style: none; }
.ingredient-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.method-list li {
  counter-increment: step;
  padding: 0.65rem 0 0.65rem 2.1rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.method-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.82rem;
}

.recipe-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.recipe-note b { color: var(--text); font-weight: 500; }

.recipe-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.recipe-toc a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.recipe-toc a:hover { color: var(--accent); border-color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
