/* ==========================================================================
   Baltic Spoon — 2026
   Quiet-luxury editorial system. White & warm cream grounds, Baltic blue accent.
   Author: custom build (no framework, no WordPress, no Divi).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --color-blue: #4b708d;
  --color-blue-deep: #3b5a73;
  --color-blue-tint: #eaf0f4;
  --color-cream: #f3eee7;
  --color-cream-deep: #eae3d9;
  --color-white: #ffffff;
  --color-charcoal: #333333;
  --color-muted: #62615f;
  --color-border: #d0ccc7;
  --color-border-soft: #e5e1dc;

  /* Type */
  --font-serif: "Quattrocento", Georgia, "Times New Roman", serif;
  --font-display: "Aboreto", "Quattrocento", Georgia, serif;
  --font-script: "Allura", "Snell Roundhand", cursive;

  --fs-hero: clamp(2.55rem, min(7vw, 10.4vh), 7rem);
  --fs-h1: clamp(2.6rem, 5.6vw, 5.5rem);
  --fs-h2: clamp(2.2rem, 4.4vw, 4.2rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 2.05rem);
  --fs-h4: clamp(1.18rem, 1.5vw, 1.4rem);
  --fs-body: clamp(1rem, 0.42vw + 0.92rem, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.72rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 900px;
  --container-text: 720px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9.5rem);
  --header-h: 104px;
  --header-h-scrolled: 74px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 200ms;
  --t-base: 300ms;
  --t-slow: 700ms;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Reserve the scrollbar gutter so locking the body (mobile menu, lightbox)
     does not shift the fixed header sideways. */
  scrollbar-gutter: stable;
  /* Offset in-page anchors so the sticky header never covers a heading. */
  scroll-padding-top: calc(var(--header-h-scrolled) + 3rem);
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.78;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--color-blue); text-decoration: none; }
a:hover { color: var(--color-blue-deep); }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--color-blue); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.85rem 1.5rem;
  background: var(--color-blue);
  color: #fff;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top var(--t-base) var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Typography primitives
   -------------------------------------------------------------------------- */
.display,
.h1, .h2, .h3 {
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display { font-size: var(--fs-hero); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.h4 {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--color-blue);
}
.eyebrow--muted { color: var(--color-muted); }
.eyebrow--light { color: rgba(255, 255, 255, 0.86); }

.lede {
  font-size: clamp(1.1rem, 1.35vw, 1.32rem);
  line-height: 1.72;
  color: var(--color-muted);
}

.muted { color: var(--color-muted); }
.italic { font-style: italic; }

.script {
  font-family: var(--font-script);
  font-size: 1.65em;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-blue);
  font-style: normal;
}

.prose p + p { margin-top: 1.35em; }
.prose { max-width: var(--container-text); }

/* Thin decorative rules */
.rule {
  width: 56px;
  height: 1px;
  background: var(--color-blue);
  border: 0;
  margin: 0;
}
.rule--center { margin-inline: auto; }
.rule--hair { background: var(--color-border); width: 100%; }

.num {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.28em;
  color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--cream { background: var(--color-cream); }
.section--tint { background: var(--color-blue-tint); }
.section--blue { background: var(--color-blue); color: #fff; }
.section--blue .eyebrow,
/* Buttons carry their own colour tokens — never override them here, or a
   light-filled button ends up with white text on white. */
.section--blue a:not(.btn) { color: rgba(255, 255, 255, 0.9); }
.section--blue .rule { background: rgba(255, 255, 255, 0.6); }

.stack > * + * { margin-top: var(--stack-gap, 1.5rem); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--color-blue);
  --btn-fg: #ffffff;
  --btn-bd: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.02rem 2.15rem;
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease);
  font-weight: 400;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-blue-deep);
  border-color: var(--color-blue-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(37, 55, 70, 0.55);
}
.btn:hover .arrow,
.btn:focus-visible .arrow { transform: translateX(6px); }
.btn:active { transform: translateY(0); }

/* Outline on light grounds */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-blue);
  --btn-bd: var(--color-border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { background: var(--color-blue); border-color: var(--color-blue); }

/* Outline on photography / blue grounds */
.btn--light {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, 0.72);
}
.btn--light:hover,
.btn--light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--color-charcoal);
}

.btn--solid-light {
  --btn-bg: #ffffff;
  --btn-fg: var(--color-blue);
  --btn-bd: #ffffff;
}
.btn--solid-light:hover,
.btn--solid-light:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* Quiet inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--color-blue);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.link-arrow .arrow { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover { border-color: var(--color-blue); }
.link-arrow:hover .arrow { transform: translateX(6px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border-soft);
  box-shadow: 0 1px 24px -18px rgba(51, 51, 51, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height var(--t-base) var(--ease);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

.site-logo {
  display: block;
  width: auto;
  height: 46px;
  transition: height var(--t-base) var(--ease);
}
.site-header.is-scrolled .site-logo { height: 36px; }
.brand { display: inline-flex; align-items: center; }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }

.nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  padding-block: 0.5rem;
  transition: color var(--t-base) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav a:hover { color: var(--color-blue); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--color-blue); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 0.85rem 1.6rem; font-size: 0.72rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 26px;
  height: 1px;
  background: var(--color-charcoal);
  transition: background 120ms linear;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 1px;
  background: var(--color-charcoal);
  transition: transform var(--t-base) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Slide-down mobile panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background: var(--color-cream);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 420ms var(--ease), visibility 0s linear 420ms;
}
.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 420ms var(--ease), visibility 0s;
}
.mobile-nav ul { display: grid; gap: 0.35rem; }
.mobile-nav a.m-link {
  display: block;
  padding: 0.55rem 0;
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.2;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--color-blue); }
.mobile-contact {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.4rem;
  font-size: var(--fs-small);
}
.mobile-contact a { color: var(--color-muted); }
.mobile-contact a:hover { color: var(--color-blue); }
.mobile-nav .btn { margin-top: 1.75rem; align-self: flex-start; }

@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Sticky mobile inquire pill */
.mobile-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  transform: translate(-50%, 150%);
  transition: transform 380ms var(--ease);
  box-shadow: 0 12px 30px -18px rgba(37, 55, 70, 0.8);
}
.mobile-cta.is-visible { transform: translate(-50%, 0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  min-height: 88svh;
  padding-top: var(--header-h);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
  background: #1e2a33;
}

.hero__media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 68% center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 24, 27, 0.52) 0%, rgba(20, 24, 27, 0.3) 45%, rgba(20, 24, 27, 0.12) 100%),
    linear-gradient(0deg, rgba(20, 24, 27, 0.34) 0%, rgba(20, 24, 27, 0) 42%);
}

.hero__inner { position: relative; max-width: min(64vw, 780px); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.88); }

.hero__title {
  margin-top: 1.4rem;
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(15, 20, 24, 0.32);
  max-width: 17ch;
}

.hero .btn-row { margin-top: clamp(2rem, 3.5vw, 2.9rem); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 7vw, 6.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 62px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  40%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1);   transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* Interior page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  min-height: 62svh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  background: #1e2a33;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 24, 27, 0.55), rgba(20, 24, 27, 0.22)),
    linear-gradient(0deg, rgba(20, 24, 27, 0.4), rgba(20, 24, 27, 0) 55%);
}
.page-hero__inner { position: relative; max-width: min(620px, 58vw); }
.page-hero__title {
  margin-top: 1.1rem;
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.page-hero__lede {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

/* Plain (image-free) page header */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 7rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--color-cream);
}
.page-head__title {
  margin-top: 1rem;
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.page-head__lede { margin-top: 1.5rem; max-width: 58ch; }

/* --------------------------------------------------------------------------
   8. Section headers
   -------------------------------------------------------------------------- */
.section-head { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .rule { margin-bottom: 1.6rem; }
.section-head .eyebrow + .h2,
.section-head .eyebrow + .h1 { margin-top: 1.1rem; }
.section-head p { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   9. Intro (homepage)
   -------------------------------------------------------------------------- */
.intro { text-align: center; }
.intro .h2 { margin-top: 1.5rem; }
.intro__body {
  max-width: 66ch;
  margin: clamp(2rem, 3vw, 2.9rem) auto 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.15vw, 1.18rem);
  line-height: 1.85;
}
.intro__body p + p { margin-top: 1.4em; }

/* --------------------------------------------------------------------------
   10. Experiences — editorial grid
   -------------------------------------------------------------------------- */
.experiences {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.75rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3.5rem);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.exp {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}
/* Alternating rhythm: items 1 & 4 sit lower, 3 & 6 span wider — an offset,
   non-uniform composition rather than a card row. */
.exp:nth-child(3n + 1) { grid-column: span 5; }
.exp:nth-child(3n + 2) { grid-column: span 4; margin-top: clamp(1.5rem, 4vw, 4.5rem); }
.exp:nth-child(3n + 3) { grid-column: span 3; }

.exp__media {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
}
.exp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.exp:nth-child(3n + 1) .exp__media { aspect-ratio: 4 / 3; }
.exp:nth-child(3n + 2) .exp__media { aspect-ratio: 3 / 4; }
.exp:nth-child(3n + 3) .exp__media { aspect-ratio: 5 / 6; }

.exp__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 24, 27, 0.28), rgba(20, 24, 27, 0));
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}
.exp:hover .exp__media img { transform: scale(1.035); }
.exp:hover .exp__media::after { opacity: 1; }

.exp__num {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.exp__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.exp__title {
  margin-top: 0.85rem;
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--color-charcoal);
  transition: color var(--t-base) var(--ease);
}
.exp:hover .exp__title { color: var(--color-blue); }
.exp__text {
  margin-top: 0.85rem;
  color: var(--color-muted);
  font-size: var(--fs-small);
  line-height: 1.75;
}
.exp__more {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
}
.exp__more .arrow { transition: transform var(--t-base) var(--ease); }
.exp:hover .exp__more .arrow { transform: translateX(6px); }

/* Whole card is one link, but the visible affordance stays typographic. */
.exp > a { color: inherit; display: contents; }

@media (max-width: 1000px) {
  .exp:nth-child(3n + 1),
  .exp:nth-child(3n + 2),
  .exp:nth-child(3n + 3) { grid-column: span 6; margin-top: 0; }
  .exp:nth-child(even) { margin-top: clamp(1.5rem, 5vw, 3.5rem); }
  .exp:nth-child(3n + 1) .exp__media,
  .exp:nth-child(3n + 2) .exp__media,
  .exp:nth-child(3n + 3) .exp__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .exp:nth-child(n) { grid-column: span 12; margin-top: 0; }
  .exp:nth-child(n) .exp__media { aspect-ratio: 4 / 5; }
}

/* --------------------------------------------------------------------------
   11. Editorial statement / feature blocks
   -------------------------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}
.editorial__text { grid-column: 1 / span 5; }
.editorial__media { grid-column: 7 / span 6; }
.editorial--flip .editorial__text { grid-column: 8 / span 5; }
.editorial--flip .editorial__media { grid-column: 1 / span 6; }

.editorial__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.editorial__media--wide img { aspect-ratio: 3 / 2; }

@media (max-width: 900px) {
  .editorial__text,
  .editorial__media,
  .editorial--flip .editorial__text,
  .editorial--flip .editorial__media { grid-column: 1 / -1; }
  .editorial--flip .editorial__media { order: -1; }
}

/* Big statement block: oversized heading overlapping an image */
.statement { position: relative; }
.statement__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}
.statement__title {
  grid-column: 1 / span 7;
  grid-row: 1;
  position: relative;
  z-index: 2;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.statement__media {
  grid-column: 6 / span 7;
  grid-row: 1;
  margin-top: clamp(4rem, 12vw, 11rem);
}
.statement__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.statement__foot {
  grid-column: 1 / span 5;
  grid-row: 2;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) {
  .statement__title,
  .statement__media,
  .statement__foot { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .statement__media { margin-top: 2rem; }
  .statement__foot { margin-top: 1.75rem; }
}

/* --------------------------------------------------------------------------
   12. Chef teaser / about layouts
   -------------------------------------------------------------------------- */
.chef {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.chef__media { grid-column: 1 / span 6; position: relative; }
.chef__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chef__body { grid-column: 8 / span 5; }
.chef__name { margin-top: 1.1rem; }
.chef__role {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.chef__body .prose { margin-top: 1.75rem; color: var(--color-muted); }
.chef__body .btn, .chef__body .link-arrow { margin-top: 2rem; }

@media (max-width: 900px) {
  .chef__media, .chef__body { grid-column: 1 / -1; }
  .chef__body { margin-top: 0.5rem; }
}

/* Two-column bio (about page) */
.bio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
}
.bio__aside { grid-column: 1 / span 4; }
.bio__aside .sticky { position: sticky; top: calc(var(--header-h-scrolled) + 2.5rem); }
.bio__main { grid-column: 6 / span 7; }
.bio__main p { color: var(--color-muted); }
.bio__main p + p { margin-top: 1.5em; }
@media (max-width: 900px) {
  .bio__aside, .bio__main { grid-column: 1 / -1; }
  .bio__aside .sticky { position: static; }
}

/* 2x2 editorial pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.pillar { padding-top: 1.75rem; border-top: 1px solid var(--color-border); }
.pillar__num { display: block; margin-bottom: 1rem; }
.pillar h3 { margin-bottom: 0.9rem; }
.pillar p { color: var(--color-muted); font-size: var(--fs-small); line-height: 1.8; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

/* Split cream band with image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 60vh;
}
.split__media { background-size: cover; background-position: center; min-height: 46vh; }
.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
}
.split__body .prose { color: var(--color-muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Services overview — alternating rows
   -------------------------------------------------------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.svc-row + .svc-row { border-top: 1px solid var(--color-border-soft); }
.svc-row__media { grid-column: 1 / span 6; overflow: hidden; }
.svc-row__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.svc-row:hover .svc-row__media img { transform: scale(1.03); }
.svc-row__body { grid-column: 8 / span 5; }
.svc-row:nth-child(even) .svc-row__media { grid-column: 7 / span 6; }
.svc-row:nth-child(even) .svc-row__body { grid-column: 1 / span 5; }
.svc-row__title { margin-top: 1rem; }
.svc-row__body p { margin-top: 1.25rem; color: var(--color-muted); }
.svc-row__body .link-arrow { margin-top: 1.9rem; }
@media (max-width: 900px) {
  .svc-row__media,
  .svc-row__body,
  .svc-row:nth-child(even) .svc-row__media,
  .svc-row:nth-child(even) .svc-row__body { grid-column: 1 / -1; }
  .svc-row:nth-child(even) .svc-row__media { order: -1; }
}

/* Personal chef list */
.chef-services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.chef-services__head { grid-column: 1 / span 4; }
.chef-services__list { grid-column: 6 / span 7; }
.chef-services__list li {
  display: flex;
  gap: 1.25rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}
.chef-services__list li::before { content: "❖"; color: var(--color-blue); font-size: 0.8em; line-height: 1.9; }
.chef-services__rate {
  margin-top: 1.75rem;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--color-blue);
}
@media (max-width: 900px) {
  .chef-services__head, .chef-services__list { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   14. Menus (service detail pages)
   -------------------------------------------------------------------------- */

/* Sticky in-page section navigation */
.menu-nav {
  position: sticky;
  top: var(--header-h-scrolled);
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border-soft);
}
@supports (backdrop-filter: blur(10px)) {
  .menu-nav { background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(140%) blur(12px); }
}
.menu-nav__scroll {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 1.05rem;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none;
  position: relative;
  white-space: nowrap;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-block: 0.35rem;
  transition: color var(--t-base) var(--ease);
}
.menu-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.menu-nav a:hover { color: var(--color-blue); }
.menu-nav a.is-active { color: var(--color-blue); }
.menu-nav a.is-active::after { transform: scaleX(1); }

/* Course sections */
.course + .course { margin-top: clamp(3rem, 6vw, 5.5rem); }

.course__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-blue);
}
.course__title {
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.course__head .num { margin-left: auto; }

.course__list { margin-top: 0.5rem; }
.course__list li {
  padding-block: clamp(1.1rem, 1.6vw, 1.5rem);
  border-bottom: 1px solid var(--color-border-soft);
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.72;
  color: var(--color-charcoal);
  max-width: 78ch;
}
.course__list li:last-child { border-bottom: 0; }
.course__list .sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-blue);
  font-size: 0.92em;
}

/* Two-column menu on wide screens (curated tables chapters) */
.menu-cols {
  columns: 2;
  column-gap: clamp(2.5rem, 5vw, 5rem);
}
.menu-cols li { break-inside: avoid; }
@media (max-width: 860px) { .menu-cols { columns: 1; } }

/* What's included panel */
.included {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
}
.included__title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-blue);
}
.included p {
  margin-top: 1.25rem;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.8;
}
.included ul { margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.included li {
  display: flex;
  gap: 1rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
}
.included li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  margin-top: 0.85em;
  background: var(--color-blue);
}

/* Chapters (curated tables / hors d'oeuvres) */
.chapter + .chapter { margin-top: clamp(4rem, 8vw, 8rem); }
.chapter__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-blue);
}
.chapter__label { grid-column: 1 / span 7; }
.chapter__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--color-border);
  letter-spacing: 0.05em;
}
.chapter__title {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.chapter__tagline {
  margin-top: 0.85rem;
  font-style: italic;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  max-width: 46ch;
}
.chapter__meta { grid-column: 9 / span 4; text-align: right; }
.chapter__price {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: var(--color-blue);
  letter-spacing: 0.02em;
}
.chapter__lede {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
}
.chapter__note {
  margin-top: 1.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
}
@media (max-width: 860px) {
  .chapter__label, .chapter__meta { grid-column: 1 / -1; text-align: left; }
  .chapter__meta { margin-top: 0.5rem; }
}

/* --------------------------------------------------------------------------
   15. Pricing tiers (editorial columns, not SaaS cards)
   -------------------------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--color-border);
}
.tier {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.4vw, 2.5rem);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}
.tier:first-child { border-left: 1px solid var(--color-border); }
.tier--feature { background: var(--color-cream); }
.tier--feature .tier__name { color: var(--color-blue); }
.tier--feature { box-shadow: inset 0 3px 0 var(--color-blue); }

.tier__num { display: block; }
.tier__name {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.tier__tagline {
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.tier__price {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: clamp(1.25rem, 1.75vw, 1.6rem);
  line-height: 1.3;
  color: var(--color-charcoal);
  text-wrap: balance;
}
.tier__price .amount { color: var(--color-blue); }
.tier__included-title {
  margin-top: 1.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
}
.tier__list { margin-top: 1.1rem; display: grid; gap: 0.9rem; }
.tier__list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--color-muted);
}
.tier__list li::before {
  content: "";
  flex: none;
  width: 12px; height: 1px;
  margin-top: 0.8em;
  background: var(--color-blue);
}
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; }
  .tier { border-left: 1px solid var(--color-border); }
}

/* Breakfast tier strip */
.tier-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.tier-strip > div {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2rem);
  text-align: center;
}
.tier-strip > div + div { border-left: 1px solid var(--color-border); }
.tier-strip .items {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.tier-strip .price {
  margin-top: 0.9rem;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--color-blue);
}
@media (max-width: 720px) {
  .tier-strip { grid-template-columns: 1fr; }
  .tier-strip > div + div { border-left: 0; border-top: 1px solid var(--color-border); }
}

/* Dish list (breakfast / meal prep): title left, description right */
.dish-list { border-top: 1px solid var(--color-border); }
.dish {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 4rem);
  padding-block: clamp(1.75rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--color-border-soft);
}
.dish__title {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.dish__body p { color: var(--color-muted); line-height: 1.78; }
.dish__body p + p { margin-top: 0.9rem; }
@media (max-width: 760px) {
  .dish { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Soups */
.soups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin-top: 2rem;
}
.soups li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
}
@media (max-width: 720px) { .soups { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Gallery
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
}
.mosaic__item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  padding: 0;
  width: 100%;
  display: block;
}
button.mosaic__item { cursor: zoom-in; }
.mosaic__item.is-tall { grid-column: span 4; }
.mosaic__item.is-wide { grid-column: span 8; }
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.mosaic__item { aspect-ratio: 1 / 1; }
.mosaic__item.is-tall { aspect-ratio: 3 / 4; }
.mosaic__item.is-wide { aspect-ratio: 16 / 9; }

.mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 27, 0.26);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.mosaic__view {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.mosaic__item:hover img,
.mosaic__item:focus-visible img { transform: scale(1.04); }
.mosaic__item:hover::after,
.mosaic__item:focus-visible::after { opacity: 1; }
.mosaic__item:hover .mosaic__view,
.mosaic__item:focus-visible .mosaic__view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .mosaic__item,
  .mosaic__item.is-tall { grid-column: span 6; }
  .mosaic__item.is-wide { grid-column: span 12; }
}
@media (max-width: 560px) {
  .mosaic__item,
  .mosaic__item.is-tall,
  .mosaic__item.is-wide { grid-column: span 12; aspect-ratio: 4 / 3; }
  .mosaic__item.is-tall { aspect-ratio: 3 / 4; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 21, 24, 0.94);
}
.lightbox[open],
.lightbox.is-open { display: flex; }
.lightbox__figure {
  position: relative;
  max-width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  max-height: calc(100svh - 10rem);
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.lightbox__img.is-ready { opacity: 1; }
.lightbox__caption {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.lightbox__btn {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.6); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); position: fixed; }
.lightbox__prev { left: clamp(0.5rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); position: fixed; }
.lightbox__next { right: clamp(0.5rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); position: fixed; }
@media (max-width: 560px) {
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__btn { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-grid__aside { grid-column: 1 / span 4; }
.contact-grid__form { grid-column: 6 / span 7; }
@media (max-width: 900px) {
  .contact-grid__aside, .contact-grid__form { grid-column: 1 / -1; }
}

.detail-list { margin-top: 2rem; display: grid; gap: 1.6rem; }
.detail-list dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}
.detail-list dd { margin: 0; font-size: clamp(1.08rem, 1.4vw, 1.28rem); }
.detail-list dd a { color: var(--color-charcoal); border-bottom: 1px solid var(--color-border); transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.detail-list dd a:hover { color: var(--color-blue); border-color: var(--color-blue); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.field .req { color: var(--color-blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-blue) 50%), linear-gradient(135deg, var(--color-blue) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(75, 112, 141, 0.14);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a4342c; }

.field .error {
  min-height: 1.2em;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #a4342c;
  text-transform: none;
  font-weight: 400;
}
.field .hint { font-size: 0.82rem; color: var(--color-muted); text-transform: none; font-weight: 400; letter-spacing: 0; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 0.5rem;
}
.form-status {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  font-size: var(--fs-small);
  line-height: 1.65;
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: #a4342c; color: #7d281f; background: #fbf1f0; }
.form-status.is-success { border-color: var(--color-blue); background: var(--color-blue-tint); }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   18. CTA band & footer
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .h2 { margin-top: 1.3rem; }
.cta-band p { margin: 1.5rem auto 0; max-width: 46ch; }
.cta-band .btn-row { margin-top: 2.4rem; justify-content: center; }

.site-footer {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem, 3vw, 2.75rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.25rem, 4vw, 4rem);
}
.footer-brand { grid-column: 1 / span 3; }
.footer-brand .site-logo { height: 54px; }
.footer-brand p { margin-top: 1.4rem; color: var(--color-muted); font-size: var(--fs-small); max-width: 30ch; }
/* nth-of-type counts every <div> in the grid, and .footer-brand is the
   first one — so the three columns are types 2, 3 and 4. */
.footer-col { grid-column: span 3; }
.footer-col:nth-of-type(2) { grid-column: 5 / span 2; }
.footer-col:nth-of-type(3) { grid-column: 7 / span 3; }
.footer-col:nth-of-type(4) { grid-column: 10 / span 3; }

.footer-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-list { margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.footer-list a, .footer-list span { color: var(--color-charcoal); font-size: var(--fs-small); }
.footer-list a { transition: color var(--t-base) var(--ease); }
.footer-list a:hover { color: var(--color-blue); }

.footer-bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand,
  .footer-col,
  .footer-col:nth-of-type(2),
  .footer-col:nth-of-type(3),
  .footer-col:nth-of-type(4) { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19. Motion — reveals
   -------------------------------------------------------------------------- */
/* Only applied once JS confirms IntersectionObserver support, so content is
   never permanently hidden if JS fails. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

.js-reveal [data-reveal="image"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1000ms var(--ease);
}
.js-reveal [data-reveal="image"].is-revealed { clip-path: inset(0 0 0 0); }

@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;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal],
  .js-reveal [data-reveal="image"] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .hero__media { transform: none !important; }
  .exp__media img,
  .svc-row__media img,
  .mosaic__item img { transition: none; }
  .exp:hover .exp__media img,
  .svc-row:hover .svc-row__media img,
  .mosaic__item:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   19b. Narrow-viewport grid collapse
   A 12-track grid keeps its 11 column gaps even when every item spans the
   full row — on a phone those gaps alone are wider than the viewport and the
   grid overflows. Collapse the template wherever items go full width.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .editorial,
  .statement__grid,
  .chef,
  .bio,
  .svc-row,
  .contact-grid,
  .chef-services { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .chapter__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .experiences { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root { --header-h: 84px; --header-h-scrolled: 68px; }
  .site-logo { height: 40px; }
}

@media (max-width: 767px) {
  .hero {
    min-height: 84vh;
    min-height: 84svh;
    align-items: flex-end;
  }
  .hero__media { background-position: 62% center; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(20, 24, 27, 0.62) 0%, rgba(20, 24, 27, 0.18) 55%, rgba(20, 24, 27, 0.28) 100%);
  }
  .hero__inner { max-width: none; }
  .hero__title { max-width: none; }
  .hero .btn-row { gap: 0.75rem; }
  .page-hero { min-height: 56svh; }
  .page-hero__inner { max-width: none; }
}

@media (max-width: 480px) {
  /* Keep the tracked eyebrow on a single line at phone widths. */
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.2em; }
  .hero .eyebrow { letter-spacing: 0.16em; }
}

@media (max-width: 400px) {
  :root { --gutter: 1.1rem; }
  .btn { padding: 0.95rem 1.35rem; letter-spacing: 0.14em; font-size: 0.72rem; }
}

/* Print: keep menus readable */
@media print {
  .site-header, .mobile-nav, .mobile-cta, .menu-nav, .hero__scroll, .lightbox { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}
