/* ==========================================================================
   Chef Micce — site styles
   Palette: apron navy, gold leaf, chef's-whites type.
   Motif: the navy/white pinstripe of the chef's apron.
   ========================================================================== */

:root {
  --navy: #131b31;
  --navy-deep: #0d1325;
  --navy-2: #1c2643;
  --navy-line: rgba(255, 255, 255, 0.11);
  --gold: #e4af4c;
  --gold-hover: #f1c56d;
  --gold-soft: rgba(228, 175, 76, 0.16);
  --text: #f5f6f8;
  --text-muted: #a9b0c2;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-inout: cubic-bezier(0.7, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--navy);
}
:root { color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

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

/* The apron, used two ways */
.pinstripe {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 24px);
}

.apron {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(245, 246, 248, 0.9) 0 3px, transparent 3px 22px);
}

/* ---------- Page curtain (transition between pages) ---------- */
.page-curtain { display: none; }

.js .page-curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background-color: var(--navy-deep);
  background-image: repeating-linear-gradient(90deg, rgba(245, 246, 248, 0.08) 0 2px, transparent 2px 22px);
  border-bottom: 3px solid var(--gold);
  pointer-events: none;
  animation: curtain-lift 0.95s var(--ease-inout) 0.2s forwards;
}
.curtain-logo {
  position: relative;
  display: block;
  width: clamp(150px, 20vw, 240px);
  aspect-ratio: 800 / 640;
  background: url("../images/logo.png") center / contain no-repeat;
  animation: curtain-logo 0.6s var(--ease-out) both;
}
.curtain-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 214, 0.85) 50%, transparent 65%) 150% 0 / 250% 100% no-repeat;
  -webkit-mask: url("../images/logo.png") center / contain no-repeat;
  mask: url("../images/logo.png") center / contain no-repeat;
  animation: shimmer 1.1s ease 0.1s both;
}
@keyframes curtain-lift { to { transform: translateY(-101%); } }
@keyframes curtain-logo { from { opacity: 0; transform: translateY(20px) scale(0.92); } }
@keyframes shimmer { to { background-position: -50% 0; } }

.js.is-leaving .page-curtain {
  pointer-events: auto;
  border-bottom: 0;
  border-top: 3px solid var(--gold);
  animation: curtain-drop 0.6s var(--ease-inout) forwards;
}
.js.is-leaving .curtain-logo { animation: curtain-logo 0.5s var(--ease-out) 0.15s both; }
.js.is-leaving .curtain-logo::after { animation: shimmer 0.9s ease 0.2s both; }
@keyframes curtain-drop { from { transform: translateY(101%); } to { transform: translateY(0); } }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Type helpers ---------- */
.lead {
  font-size: clamp(1.125rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  max-width: 36rem;
  color: var(--text-muted);
}
.lead strong { color: var(--text); font-weight: 600; }

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.1vw, 2.85rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.section-title {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  letter-spacing: -0.02em;
}

.text-link {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  font-weight: 600;
  font-stretch: 112%;
  text-decoration: none;
}
.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--gold);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(0); }
.text-link:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.35s var(--ease-out), border-color 0.35s, transform 0.15s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold::before { background: var(--text); }

.btn-ghost { border-color: rgba(245, 246, 248, 0.5); background: transparent; color: var(--text); }
.btn-ghost::before { background: var(--gold); }
.btn-ghost:hover { color: var(--navy); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.5s var(--ease-out);
}
.js .site-header { transform: translateY(-100%); }
.js.is-loaded .site-header { transform: none; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.3s;
}

.site-header.is-solid {
  background: rgba(13, 19, 37, 0.96);
  box-shadow: 0 1px 0 var(--navy-line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid {
    background: rgba(13, 19, 37, 0.82);
    backdrop-filter: blur(12px);
  }
}
.site-header.is-solid .wrap { height: 68px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: auto;
  height: 52px;
  transition: height 0.3s, transform 0.6s var(--ease-out);
}
.logo-word { width: auto; height: 16px; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.site-header.is-solid .logo-mark { height: 42px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav a:not(.btn) {
  position: relative;
  padding-block: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  font-stretch: 112%;
  text-decoration: none;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav .btn { padding: 0.7em 1.3em; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  font-stretch: 112%;
  cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 5px; width: 22px; }
.menu-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.menu-open .menu-toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-inout), visibility 0s linear 0.6s;
}
.menu-open .mobile-menu {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s var(--ease-inout);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu nav a {
  display: block;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 4rem);
  line-height: 1.1;
  text-decoration: none;
  transform: translateY(105%);
  transition: transform 0.6s var(--ease-out);
}
.menu-open .mobile-menu nav a { transform: none; transition-delay: calc(0.2s + var(--i, 0) * 0.05s); }
.mobile-menu a[aria-current="page"] { color: var(--gold); font-style: italic; }
.mobile-menu-foot { display: grid; gap: 16px; color: var(--text-muted); }
.mobile-menu-foot a:not(.btn) { text-decoration: none; overflow-wrap: anywhere; }
.mobile-menu-foot .btn { justify-self: start; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero load reveal ---------- */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.reveal-line > span {
  display: block;
  transform: translateY(110%) rotate(3deg);
  transform-origin: left bottom;
  transition: transform 1.2s var(--ease-out);
}
.is-loaded .reveal-line > span { transform: none; }
.is-loaded .reveal-line:nth-child(2) > span { transition-delay: 0.09s; }
.is-loaded .reveal-line:nth-child(3) > span { transition-delay: 0.18s; }
.is-loaded .reveal-line:nth-child(4) > span { transition-delay: 0.27s; }

.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out) 0.5s, transform 1s var(--ease-out) 0.5s;
}
.is-loaded .reveal-fade { opacity: 1; transform: none; }

/* ---------- Scroll reveals (added by JS) ---------- */
.js [data-reveal="up"] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="up"].is-in { opacity: 1; transform: none; }

/* words rise out of a mask */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.wi { display: inline-block; }
.js [data-reveal="words"] .wi {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 28ms);
}
.js [data-reveal="words"].is-in .wi { transform: none; }

/* photos wipe open, then settle */
.img-mask {
  display: block;
  position: relative;
  overflow: hidden;
}
.img-mask img {
  transition: scale 1.8s var(--ease-out), transform 0.9s var(--ease-out), filter 0.6s;
}
.js .img-mask[data-reveal="img"] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-inout);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .img-mask[data-reveal="img"] img { scale: 1.3; }
.js .img-mask[data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
.js .img-mask[data-reveal="img"].is-in img { scale: 1; }
.js .img-mask[data-parallax].is-in img { scale: 1.14; }
.img-mask[data-parallax] img { will-change: translate; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 150px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero .lead { margin-top: 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 40px;
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  margin: 0 4% 0 0;
}

.hero-frame { position: relative; }

/* the striped apron panel behind the photo */
.hero-frame::before {
  content: "";
  position: absolute;
  top: 9%;
  bottom: -6%;
  left: -18%;
  width: 62%;
  background: repeating-linear-gradient(90deg, var(--text) 0 3px, transparent 3px 20px);
  clip-path: inset(0 0 100% 0);
  opacity: 0.85;
  transition: clip-path 1.4s var(--ease-inout) 0.35s;
}
.is-loaded .hero-frame::before { clip-path: inset(0 0 0 0); }

.hero-photo {
  position: relative;
  aspect-ratio: 9 / 12.5;
  overflow: hidden;
  background: var(--navy-2);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-inout) 0.15s;
}
.is-loaded .hero-photo { clip-path: inset(0 0 0 0); }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  scale: 1.3;
  transition: scale 2s var(--ease-out) 0.15s;
}
.is-loaded .hero-photo img { scale: 1.06; }

.hero-inset {
  position: absolute;
  left: -16%;
  bottom: -8%;
  width: 46%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 6px solid var(--navy);
  opacity: 0;
  transform: translate(-30px, 40px) rotate(-6deg);
  transition: opacity 1s var(--ease-out) 0.8s, transform 1.2s var(--ease-out) 0.8s;
}
.is-loaded .hero-inset { opacity: 1; transform: rotate(-3deg); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; }

.hero-caption {
  max-width: 62%;
  margin: 18px 0 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--navy-line);
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee-group li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--gold);
  white-space: nowrap;
}
.marquee-group li::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline: clamp(24px, 3vw, 44px);
  background: var(--text-muted);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(56px, 8vw, 104px);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(3.25rem, 9vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
/* giant monogram watermark that drifts in */
.page-hero::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(48vw, 620px);
  aspect-ratio: 240 / 196;
  background: url("../images/logo-mark.png") center / contain no-repeat;
  opacity: 0;
  transform: translate(60px, -46%) rotate(8deg);
  transition: opacity 1.6s ease 0.4s, transform 2s var(--ease-out) 0.4s;
  pointer-events: none;
}
.is-loaded .page-hero::before { opacity: 0.09; transform: translate(0, -50%) rotate(0); }
.page-hero-grid { position: relative; z-index: 1; }

/* gold rule that draws across under the title */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 80%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out) 0.6s;
}
.is-loaded .page-hero::after { transform: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-deep { background-color: var(--navy-deep); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head p { color: var(--text-muted); max-width: 32rem; }

figure { margin: 0; }
.figure-note,
.intro-photo figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Home: intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
}
.intro-grid .statement { margin-bottom: 36px; max-width: 22em; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }

/* ---------- Home: signature plates ---------- */
.plates {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: clamp(220px, 25vw, 360px);
  gap: 12px;
}
.plate {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
}
.plate:first-child { grid-row: span 2; }
.plate:last-child { grid-column: span 2; }
.plate .img-mask { height: 100%; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate:last-child img { object-position: 30% 55%; }
.plate:hover img { transform: scale(1.06); }
.plate figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(13, 19, 37, 0.9));
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  transition: padding-bottom 0.5s var(--ease-out), color 0.3s;
}
.plate:hover figcaption { padding-bottom: 28px; color: var(--gold); }

/* ---------- Home: kinetic type ---------- */
.kinetic {
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px);
  border-block: 1px solid var(--navy-line);
}
.kinetic-row {
  display: flex;
  gap: 0.5em;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  will-change: transform;
}
.kinetic-row span { display: flex; align-items: center; gap: 0.5em; }
.kinetic-row span::after {
  content: "";
  width: 0.14em;
  height: 0.14em;
  background: var(--gold);
  transform: rotate(45deg);
}
.kinetic-row + .kinetic-row { margin-top: 0.12em; }
.kinetic-outline {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

/* ---------- Home: services list ---------- */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--navy-line);
}
.service-row a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 48px;
  gap: 16px clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--navy-line);
  text-decoration: none;
}
.service-row a::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service-row a:hover::before { transform: none; }
.service-row h3 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.02em;
  transition: color 0.25s, transform 0.45s var(--ease-out);
}
.service-row p { margin: 0; color: var(--text-muted); max-width: 40ch; }
.service-row .row-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--navy-line);
  border-radius: 50%;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.45s var(--ease-out);
}
.service-row a:hover h3,
.service-row a:focus-visible h3 { color: var(--gold); font-style: italic; transform: translateX(14px); }
.service-row a:hover .row-icon { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(45deg); }
.services-more { margin-top: 48px; }

.hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 260px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) rotate(var(--r, -4deg)) scale(0.6);
  transition: opacity 0.25s, transform 0.45s var(--ease-out);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 4px solid var(--gold);
}
.hover-preview.is-visible {
  opacity: 1;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) rotate(var(--r, -4deg)) scale(1);
}
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Quote ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.quote-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
blockquote { margin: 0; }
.quote-big p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quote-cite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 28px;
  font-style: normal;
}
.quote-cite strong { font-weight: 600; }
.quote-cite span { color: var(--text-muted); }
.quote-more { margin-top: 40px; }
.invite-lead { margin-top: 24px; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.invite-note { margin-top: 32px; color: var(--text-muted); }

.sample-tag {
  display: inline-block;
  padding: 0.25em 0.8em;
  border: 1px dashed var(--gold);
  border-radius: 999px;
  color: var(--gold) !important;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- CTA on the apron ---------- */
.cta-band { padding-block: clamp(72px, 10vw, 136px); }
.cta-box {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px);
  background: var(--navy);
  text-align: center;
  box-shadow: 0 0 0 8px var(--navy), 0 0 0 9px var(--gold);
}
.cta-box h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.02em; }
.cta-box p { margin: 20px auto 36px; max-width: 30rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(64px, 8vw, 96px) 32px; border-top: 1px solid var(--navy-line); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; height: auto; transition: transform 0.6s var(--ease-out); }
.footer-logo:hover img { transform: scale(1.04) rotate(-2deg); }
.footer-brand p { margin-top: 16px; max-width: 22rem; color: var(--text-muted); }
.footer-col h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0;
  color: var(--gold);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; transition: color 0.2s, padding-left 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.story-photo { position: sticky; top: 100px; }
.story-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; }
.story-text .statement { margin-bottom: 40px; }
.story-text p:not(.statement) { max-width: 36rem; color: var(--text-muted); }
.story-text p strong { color: var(--text); font-weight: 600; }
.story-text em { color: var(--gold); }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.trio figure:hover img { transform: scale(1.05); }
.trio figcaption { margin-top: 16px; }
.trio figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
}
.trio figcaption span { color: var(--text-muted); font-size: 0.95rem; }
.trio figure:nth-child(2) { margin-top: clamp(0px, 6vw, 80px); }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.values > div { position: relative; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.values > div::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) 0.3s;
}
.values > div.is-in::before { transform: none; }
.values h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.values p { color: var(--text-muted); }

.brigades {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  gap: 12px;
}
.brigades img { width: 100%; height: clamp(260px, 32vw, 460px); object-fit: cover; }

/* ---------- Services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
}
.service-detail + .service-detail { border-top: 1px solid var(--navy-line); }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service-detail h2 { font-size: clamp(2.25rem, 4.2vw, 3.6rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.good-for { margin-top: 24px; font-size: 0.95rem; color: var(--text-muted); }
.good-for strong { font-weight: 600; color: var(--text); }
.included {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.included li { position: relative; padding-left: 28px; }
.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--navy-line); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
}
.steps h3 { font-size: 1.6rem; margin-bottom: 10px; }
.steps p { color: var(--text-muted); }

.note-band { padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid var(--navy-line); }
.note-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.note-band p { margin: 0; max-width: 46rem; font-size: 1.125rem; color: var(--text-muted); }
.note-band p strong { color: var(--text); }

/* ---------- Gallery: reel ---------- */
.reel {
  overflow: hidden;
  padding-block: clamp(32px, 4vw, 56px);
  display: grid;
  gap: 12px;
}
.reel-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: reel 70s linear infinite;
}
.reel-row:nth-child(2) { animation-direction: reverse; animation-duration: 80s; }
.reel:hover .reel-row { animation-play-state: paused; }
.reel-row img {
  height: clamp(150px, 20vw, 280px);
  width: auto;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.85);
  transition: filter 0.4s, transform 0.5s var(--ease-out);
}
.reel-row img:hover { filter: none; transform: scale(1.04); }
@keyframes reel { to { transform: translateX(-50%); } }

/* ---------- Gallery: grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0.65em 1.3em;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  font-stretch: 112%;
  cursor: pointer;
  transition: color 0.35s, border-color 0.35s;
}
.filter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { color: var(--navy); border-color: var(--gold); }
.filter-btn[aria-pressed="true"]::before { transform: none; }
.filter-count { margin-left: 6px; opacity: 0.6; }

.gallery { columns: 3 300px; column-gap: 14px; }
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: zoom-in;
  break-inside: avoid;
  perspective: 900px;
}
.gallery-item[hidden] { display: none; }
.gallery-item .img-mask {
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s, clip-path 1.3s var(--ease-inout);
}
.js .gallery-item .img-mask[data-reveal="img"] {
  transition: clip-path 1.3s var(--ease-inout) calc(var(--d, 0) * 110ms), transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.gallery-item img { width: 100%; }
.gallery-item:hover .img-mask { box-shadow: 0 30px 50px rgba(0, 0, 0, 0.45); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .img-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.4s, inset 0.5s var(--ease-out);
}
.gallery-item:hover .img-mask::after { opacity: 1; inset: 10px; }
.gallery-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(13, 19, 37, 0.92));
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.25;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
  pointer-events: none;
}
.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(9, 13, 26, 0.97);
  color: var(--text);
  overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in 0.35s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--gutter);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(16px, 8vw, 96px);
  touch-action: pan-y;
}
.lightbox-stage img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.lightbox-caption {
  margin: 0;
  padding: 16px var(--gutter) 24px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
}
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--navy-line);
  border-radius: 50%;
  background: rgba(19, 27, 49, 0.7);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease-out);
}
.lb-btn:hover { background: var(--gold); color: var(--navy); }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px);
}
.review { padding-top: 28px; border-top: 1px solid var(--navy-line); }
.review p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.35;
}
.review .quote-cite { margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.form-title { margin-bottom: 40px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.field { position: relative; display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; font-stretch: 108%; }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(245, 246, 248, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  color-scheme: dark;
  transition: border-color 0.2s;
  appearance: none;
}
.field select option { background: var(--navy); color: var(--text); }
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.field:focus-within::after { transform: none; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23e4af4c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(169, 176, 194, 0.7); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; }
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: #ff8a80; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.form-hint { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.form-status {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--navy-2);
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: #ff8a80; }

.contact-card {
  padding: clamp(28px, 4vw, 44px);
  background-color: var(--navy-2);
  border: 1px solid var(--navy-line);
}
.contact-card h2 { font-size: 2rem; margin-bottom: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-list a, .contact-list p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list p { font-size: 1rem; font-weight: 400; }
.contact-list a:hover { color: var(--gold); }
.contact-photo { margin-top: 12px; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 72px; }
  .hero-media { justify-self: center; width: min(74%, 400px); margin: 0 0 0 10%; }
  .hero-caption { max-width: none; margin-top: 56px; text-align: left; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .page-hero-grid,
  .section-head,
  .intro-grid,
  .story-grid,
  .quote-grid,
  .service-detail,
  .contact-grid { grid-template-columns: 1fr; }

  .story-photo { position: static; }
  .intro-photo { max-width: 420px; }
  .quote-photo { max-width: 360px; }

  .plates { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(200px, 48vw, 340px); }
  .plate:first-child { grid-column: span 2; grid-row: span 1; }
  .plate:last-child { grid-column: span 2; }

  .service-row a { grid-template-columns: minmax(0, 1fr) 44px; }
  .service-row p { grid-column: 1; }
  .service-row .row-icon { grid-row: 1; grid-column: 2; width: 44px; height: 44px; }

  .service-detail:nth-child(even) .service-detail-media { order: 0; }

  .trio, .values, .reviews-grid { grid-template-columns: 1fr; }
  .trio figure:nth-child(2) { margin-top: 0; }
  .trio img { aspect-ratio: 4 / 3; }

  .brigades { grid-template-columns: 1fr 1fr; }
  .brigades .img-mask:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 560px) {
  .logo-mark { height: 42px; }
  .logo-word { height: 13px; }
  .logo { gap: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { margin-inline: auto; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .gallery-cap { display: none; }
}

/* ---------- Reduced motion: show everything, move nothing ---------- */
@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;
    transition-delay: 0s !important;
  }
  .js .page-curtain { display: none; }
  .marquee-track, .reel-row { animation: none; flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .hover-preview { display: none; }
}
