/* ==========================================================================
   KYS Concepts — main stylesheet
   1. Fonts & tokens   2. Base   3. Layout helpers   4. Header & nav
   5. Buttons & badges 6. Hero stage   7. Product cards & rails
   8. Home sections    9. Catalogue    10. Product detail
   11. About           12. Contact & form   13. Footer   14. Motion & reveal
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* brand colours (wine sampled from the supplied logo wordmark) */
  --wine: #5e171c;
  --wine-deep: #3a0c11;
  --wine-soft: #8a2a33;
  --orange: #e2612b;
  --citrus: #f2b705;
  --leaf: #2f7a3b;
  --ivory: #f8f3ea;
  --cream: #efe5d5;
  --sand: #e3d6c1;
  --white: #fffdf9;
  --ink: #231a1b;
  --ink-soft: #5b4e4f;
  --line: rgba(35, 26, 27, .14);
  --on-dark: #fff8ef;
  --on-dark-soft: rgba(255, 248, 239, .78);

  /* type */
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-2xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --fs-3xl: clamp(2.75rem, 1.8rem + 4vw, 5.25rem);

  /* space */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, .5rem + 2.2vw, 2.5rem);
  --max: 82rem;

  /* shape & motion */
  --r-ctl: .625rem; --r-sm: .5rem; --r-md: 1rem; --r-lg: 1.75rem; --r-xl: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms; --dur: 420ms; --dur-slow: 700ms;
  --header-h: clamp(5rem, 4.2rem + 2.6vw, 6.75rem);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--wine); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -4rem; z-index: 100;
  background: var(--wine); color: var(--on-dark); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: var(--sp-4); }
.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;
}

/* Editor-generated content (future SCF WYSIWYG) is styled through the parent container (Doc 07 §15) */
.prose { max-width: 66ch; color: var(--ink-soft); font-size: var(--fs-md); }
.prose > * + * { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--wine); text-underline-offset: .2em; }
.prose ul { padding-left: 1.2em; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: 500; color: var(--wine-soft);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.section--flush-top { padding-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.delay-1 { --delay: 120ms; }
.eyebrow--light { color: var(--on-dark-soft); }
.facts dd { margin: 0; }
.form-title { font-size: var(--fs-xl); }
.form-intro { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-2); }
.section-head { display: grid; gap: var(--sp-4); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--split { grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 56rem) { .section-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--sp-7); } }
.section-head h2 { font-size: var(--fs-2xl); max-width: 18ch; }
.section-head p { color: var(--ink-soft); max-width: 52ch; }

/* 4. Header & nav -------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: var(--sp-3) calc(var(--gutter) + 12px);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur), transform var(--dur) var(--ease-out);
  color: var(--ink);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); max-width: calc(var(--max) + 4rem); margin-inline: auto; }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.is-solid {
  background: rgba(248, 243, 234, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: var(--sp-2);
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; border-radius: var(--r-sm); }
.brand img { width: auto; height: clamp(3.25rem, 2.6rem + 2.2vw, 4.75rem); }
.site-header.is-solid .brand img { height: clamp(2.75rem, 2.3rem + 1.4vw, 3.5rem); }
.footer__brand .brand { background: var(--ivory); padding: .75rem 1.25rem; border-radius: var(--r-md); }
.footer__brand .brand img { height: 4.5rem; }
.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__panel { display: flex; align-items: center; gap: var(--sp-3); }
.site-header .nav__cta { --btn-bg: var(--wine); --btn-fg: var(--on-dark); }
.nav__list { display: flex; gap: var(--sp-1); list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--r-ctl);
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav__link:hover { background: rgba(94, 23, 28, .07); }
.nav__link[aria-current="page"] { background: var(--white); color: var(--wine); box-shadow: 0 0 0 1px rgba(94, 23, 28, .1); }
.nav-toggle {
  display: none; align-items: center; gap: var(--sp-2); min-height: 2.75rem; padding: 0 1rem; border-radius: var(--r-ctl);
  border: 1px solid currentColor; background: transparent; cursor: pointer; font-weight: 500; font-size: var(--fs-sm);
}
.nav-toggle__bars { width: 1.1rem; height: .7rem; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: calc(100% - 2px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (max-width: 52rem) {
  .nav-toggle { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-6);
    padding: calc(var(--header-h) + 2rem) var(--gutter) var(--sp-7);
    background: var(--wine-deep); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
  }
  .nav__panel.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: var(--sp-2); }
  .nav__link { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); padding: 0; min-height: 3.25rem; }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; color: var(--citrus); }
  .site-header.menu-open { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__panel .btn { align-self: flex-start; }
  .site-header .nav__panel .nav__cta { --btn-bg: var(--white); --btn-fg: var(--wine); }
}

/* 5. Buttons & badges ---------------------------------------------------- */
.btn {
  --btn-bg: var(--wine); --btn-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem; padding: 0 1.5rem; border-radius: var(--r-ctl); border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: var(--fs-sm); text-decoration: none; cursor: pointer;
}
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--wine); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); border-color: rgba(255, 248, 239, .55); }
.text-link {
  display: inline-block; font-weight: 500; font-size: var(--fs-sm);
  color: var(--wine); text-decoration: none; padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}
.text-link:hover { background-size: 40% 1px; }
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-2); border-radius: 6px;
  font-size: var(--fs-xs); font-weight: 500;
  background: var(--cream); color: var(--wine);
}
.badge--soon { background: var(--wine); color: var(--on-dark); }
.badge--soon::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--citrus); }
.badge--glass { background: rgba(255, 255, 255, .16); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .28); }

/* 6. Hero stage --------------------------------------------------------- */
/* Base (no JS / GSAP unavailable): three stacked stage cards.
   Enhanced (.hero.is-pinned, every viewport): one sticky frame below the header; stages are layered
   and switched by scroll (GSAP scrub). Reduced motion keeps the scroll switch but uses fades only. */
.hero { position: relative; padding: 12px; padding-top: var(--header-h); display: grid; gap: 12px; }
.hero__title {
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500;
  color: var(--wine-soft); padding: 0 var(--gutter) var(--sp-2);
}
.stage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  color: var(--on-dark); background: var(--wine);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5);
  padding: var(--sp-6) var(--gutter) var(--sp-6);
}
.stage__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 6, 9, .05) 0%, rgba(30, 6, 9, .35) 100%);
}
.stage__visual { position: relative; display: grid; place-items: center; min-height: 0; }
.stage__visual img {
  width: auto; height: auto; max-width: 78%; max-height: min(58svh, 30rem); object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(25, 4, 8, .38)) drop-shadow(0 6px 10px rgba(25, 4, 8, .22));
}
.stage__shadow { position: absolute; bottom: -2%; left: 50%; width: 52%; height: 9%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(25, 4, 8, .35), transparent); z-index: -1; }
.stage__copy { display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
.stage__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark-soft); }
.stage__name { font-size: var(--fs-3xl); line-height: .98; }
.stage__name span { display: block; font-weight: 500; font-size: .5em; line-height: 1.15; color: var(--on-dark-soft); margin-top: .35em; }
.stage__sub { font-size: var(--fs-md); color: var(--on-dark); max-width: 32ch; }
.stage__with { font-size: var(--fs-sm); color: var(--on-dark-soft); max-width: 36ch; }
.stage__points { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }
.stage__points li { padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); border: 1px solid rgba(255, 248, 239, .38); font-size: var(--fs-sm); }
.stage__aside { display: grid; gap: var(--sp-3); align-content: start; font-size: var(--fs-sm); }
.stage__facts { display: grid; gap: var(--sp-2); }
.stage__facts div { display: flex; justify-content: space-between; gap: var(--sp-4); border-bottom: 1px solid rgba(255, 248, 239, .22); padding-bottom: var(--sp-2); }
.stage__facts dt { color: var(--on-dark-soft); }
.stage__facts dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.stage__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.stage .text-link { color: var(--on-dark); }
.hero__chrome { display: none; }

@media (min-width: 40rem) {
  .hero:not(.is-pinned) .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .hero:not(.is-pinned) .stage__visual { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---- pinned (all viewports) ---- */
.hero.is-pinned { height: calc(var(--stages, 3) * 100vh); height: calc(var(--stages, 3) * 100svh); padding: 0; display: block; } /* --stages set by front-page.php */
.hero.is-pinned .hero__frame { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--header-h) 12px 12px; }
.hero.is-pinned .hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero.is-pinned .hero__stages { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--wine-deep); }
.hero.is-pinned .stage { position: absolute; inset: 0; border-radius: 0; background: transparent; }
.hero.is-pinned .stage:not(:first-child) { visibility: hidden; } /* GSAP takes over (autoAlpha) */
.hero.is-pinned .hero__chrome {
  display: grid; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 5;
  align-items: center; gap: var(--sp-3); color: var(--on-dark); pointer-events: none;
}
.hero__chrome > * { pointer-events: auto; }
.hero__tabs { display: flex; gap: var(--sp-2); list-style: none; }
.hero__tab {
  display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 2.75rem; padding: 0 1rem; border-radius: var(--r-ctl);
  border: 1px solid rgba(255, 248, 239, .35); background: rgba(30, 6, 9, .12); color: var(--on-dark);
  font-size: var(--fs-sm); font-weight: 500; cursor: pointer; white-space: nowrap;
}
.hero__tab b { font-weight: 400; font-size: var(--fs-xs); opacity: .7; font-variant-numeric: tabular-nums; }
.hero__tab:hover { border-color: var(--on-dark); }
.hero__tab[aria-current="true"] { background: var(--white); color: var(--wine); border-color: var(--white); }
.hero__progress { height: 2px; background: rgba(255, 248, 239, .25); border-radius: 2px; overflow: hidden; }
.hero__progress i { display: block; height: 100%; width: 100%; background: var(--on-dark); transform-origin: 0 50%; transform: scaleX(0); }
.hero__cta { display: flex; align-items: center; gap: var(--sp-4); }

/* pinned: phones and tablets (copy on top, product in the middle, tabs at the bottom) */
@media (max-width: 63.99rem) {
  .hero.is-pinned .stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: var(--sp-3);
    padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem) 5.25rem;
  }
  .hero.is-pinned .stage__copy { gap: var(--sp-2); }
  .hero.is-pinned .stage__name { font-size: clamp(2.25rem, 1.4rem + 4vw, 3.75rem); }
  .hero.is-pinned .stage__sub { font-size: var(--fs-base); }
  .hero.is-pinned .stage__with, .hero.is-pinned .stage__points, .hero.is-pinned .stage__aside { display: none; }
  .hero.is-pinned .stage__actions { margin-top: var(--sp-2); }
  .hero.is-pinned .stage__actions .btn { min-height: 2.75rem; padding: 0 1.1rem; }
  .hero.is-pinned .stage__visual { height: 100%; }
  .hero.is-pinned .stage__visual img { max-height: 100%; max-width: 88%; }
  .hero.is-pinned .hero__chrome { grid-template-columns: 1fr; padding: 0 clamp(1rem, 5vw, 3rem) 1rem; }
  .hero.is-pinned .hero__tabs { justify-content: center; }
  .hero.is-pinned .hero__tab { padding: 0 .8rem; min-height: 2.5rem; font-size: var(--fs-xs); }
  .hero.is-pinned .hero__progress, .hero.is-pinned .hero__cta { display: none; }
}
@media (max-width: 63.99rem) and (max-height: 40rem) {
  .hero.is-pinned .stage__sub { display: none; }
  .hero.is-pinned .stage__name span { display: inline; margin-left: .25em; }
}

/* pinned: desktop (three columns like the reference product stage) */
@media (min-width: 64rem) {
  .hero.is-pinned .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .8fr); grid-template-rows: 1fr;
    align-items: center; gap: var(--sp-6);
    padding: clamp(1.5rem, 4vh, 3rem) clamp(2rem, 4vw, 4.5rem) 6.5rem;
  }
  .hero.is-pinned .stage::before { background: linear-gradient(90deg, rgba(30, 6, 9, .32) 0%, rgba(30, 6, 9, 0) 45%), linear-gradient(0deg, rgba(30, 6, 9, .3) 0%, transparent 30%); }
  .hero.is-pinned .stage__copy { grid-column: 1; grid-row: 1; }
  .hero.is-pinned .stage__visual { grid-column: 2; grid-row: 1; height: 100%; }
  .hero.is-pinned .stage__visual img { max-height: 100%; max-width: 100%; }
  .hero.is-pinned .stage__aside { grid-column: 3; grid-row: 1; }
  .hero.is-pinned .stage__actions { display: none; }
  .hero.is-pinned .hero__chrome { grid-template-columns: 1fr minmax(6rem, 11rem) 1fr; gap: var(--sp-5); padding: 0 clamp(2rem, 4vw, 4.5rem) clamp(1.25rem, 3vh, 2rem); }
  .hero.is-pinned .hero__cta { justify-self: end; }
}
@media (min-width: 64rem) and (max-height: 46rem) {
  .hero.is-pinned .stage__name { font-size: var(--fs-2xl); }
  .hero.is-pinned .stage__points, .hero.is-pinned .stage__with { display: none; }
}

/* 7. Product cards & rails ---------------------------------------------- */
.card-list { list-style: none; }
.p-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(94, 23, 28, .08);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.p-card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #f3eee6;
  display: grid; place-items: center; padding: var(--sp-3);
}
.p-card__photo { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); } /* whole photo, never cropped */
.p-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.p-card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5) var(--sp-5) var(--sp-5); flex: 1; }
.p-card__cat { font-size: var(--fs-xs); font-weight: 500; color: var(--wine-soft); }
.p-card__name { font-size: var(--fs-lg); line-height: 1.2; }
.p-card__name a { text-decoration: none; }
.p-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card → details */
.p-card__desc { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-soft); overflow-wrap: anywhere; }
.p-card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.p-card__more { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .4rem; }
.p-card__more svg { width: 1rem; height: 1rem; transition: transform var(--dur-fast) var(--ease-out); }
.p-card__enquire {
  position: relative; z-index: 2; /* above the stretched link */
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: var(--r-ctl);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
  color: var(--wine); border: 1px solid rgba(94, 23, 28, .3);
}

/* card hover / keyboard focus: the card lifts, the photo eases forward and a light sheen crosses it */
.p-card:focus-within { box-shadow: 0 0 0 2px var(--orange); }
.p-card:focus-within .p-card__name a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .p-card:hover { transform: translateY(-6px); border-color: rgba(94, 23, 28, .18); box-shadow: 0 28px 48px -28px rgba(58, 12, 17, .45); }
  .p-card:hover .p-card__more svg { transform: translateX(4px); }
}

/* compact card when its own column is narrow (2-up catalogue on phones) */
.catalogue__grid > li, .card-list > li { container-type: inline-size; }
@container (max-width: 14rem) {
  .p-card { border-radius: var(--r-md); }
  .p-card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); gap: var(--sp-1); }
  .p-card__name { font-size: 1.0625rem; }
  .p-card__desc { font-size: var(--fs-xs); }
  .p-card__more { display: none; }
  .p-card__foot { padding-top: var(--sp-2); }
  .p-card__enquire { flex: 1; justify-content: center; min-height: 2.75rem; }
  .p-card__badge { top: var(--sp-2); left: var(--sp-2); padding: 2px 6px; }
}

/* card rail: one markup, static grid or Swiper (Doc 07 §21.6) */
.card-rail { --card-min: 16.5rem; --card-gap: 1.25rem; position: relative; }
.card-rail[data-carousel="static"] .swiper-wrapper {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); gap: var(--card-gap);
}
.card-rail[data-carousel="static"] .swiper-slide { width: auto; height: auto; }
.card-rail .swiper { overflow: visible; }
.card-rail[data-carousel="active"] .swiper { overflow: hidden; padding: 12px 8px 40px; margin: -12px -8px -40px; }
.card-rail[data-carousel="active"] .swiper-slide { height: auto; }
.card-rail__controls { display: flex; gap: var(--sp-2); justify-content: flex-end; margin-top: var(--sp-5); }
.rail-btn {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(94, 23, 28, .3); background: transparent; color: var(--wine);
  display: grid; place-items: center; cursor: pointer;
}
.rail-btn:disabled, .rail-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 1.1rem; height: 1.1rem; }
.rail-btn[data-prev] svg { transform: scaleX(-1); }

/* 8. Home sections ------------------------------------------------------- */
.intro { display: grid; gap: var(--sp-7); }
@media (min-width: 60rem) { .intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; } }
.intro__statement { font-size: var(--fs-2xl); line-height: 1.12; color: var(--ink); }
.intro__side { display: grid; gap: var(--sp-5); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: var(--sp-5) var(--sp-6); border-top: 1px solid var(--line); padding-top: var(--sp-5); }
.fact__value { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1; color: var(--wine); }
.fact__label { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-2); }

.edit { background: var(--cream); }

.cat-index { list-style: none; border-top: 1px solid var(--line); }
.cat-row { border-bottom: 1px solid var(--line); }
.cat-row a {
  --pal: none;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-2) var(--sp-5);
  padding: clamp(1.1rem, .8rem + 1.2vw, 1.8rem) var(--sp-4); text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.cat-row a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pal) center / cover;
  clip-path: inset(0 0 100% 0); transition: clip-path var(--dur-slow) var(--ease-out);
}
.cat-row[data-palette="gold"] a { --pal: url("../images/backgrounds/palette-gold.webp"); }
.cat-row[data-palette="green"] a { --pal: url("../images/backgrounds/palette-green.webp"); }
.cat-row[data-palette="burgundy"] a { --pal: url("../images/backgrounds/palette-burgundy.webp"); }
.cat-row[data-palette="orange"] a { --pal: url("../images/backgrounds/palette-orange.webp"); }
.cat-row[data-palette="purple"] a { --pal: url("../images/backgrounds/palette-purple.webp"); }
.stage .text-link { color: var(--on-dark); }
.cat-row__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1.1; }
.cat-row__items { grid-column: 1; font-size: var(--fs-sm); color: var(--ink-soft); transition: color var(--dur); }
.cat-row__count { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-sm); font-weight: 500; }
.cat-row__count svg { width: 1.25rem; height: 1.25rem; transition: transform var(--dur) var(--ease-out); }
@media (min-width: 48rem) {
  .cat-row a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }
  .cat-row__items { grid-column: 2; grid-row: 1; }
  .cat-row__count { grid-column: 3; grid-row: 1; }
}
.cat-row a:hover, .cat-row a:focus-visible { color: var(--on-dark); }
.cat-row a:hover::before, .cat-row a:focus-visible::before { clip-path: inset(0 0 0 0); }
.cat-row a:hover .cat-row__items, .cat-row a:focus-visible .cat-row__items { color: var(--on-dark-soft); }
.cat-row a:hover .cat-row__count svg { transform: translateX(4px); }

.quality { background: var(--wine-deep); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.quality .eyebrow { color: var(--on-dark-soft); }
.quality h2 { font-size: var(--fs-2xl); max-width: 20ch; }
.quality__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 60rem) { .quality__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.quality__lead { color: var(--on-dark-soft); font-size: var(--fs-md); max-width: 48ch; margin-top: var(--sp-5); }
.pillars { list-style: none; display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--sp-5); padding-block: var(--sp-5); border-top: 1px solid rgba(255, 248, 239, .18); }
.pillar:last-child { border-bottom: 1px solid rgba(255, 248, 239, .18); }
.pillar__key { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1; color: var(--citrus); }
.pillar h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-md); letter-spacing: 0; }
.pillar p { color: var(--on-dark-soft); font-size: var(--fs-sm); margin-top: var(--sp-1); }

.cta-band { padding: 12px; }
.cta-band__inner {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  display: grid; gap: var(--sp-6); align-items: center; color: var(--on-dark); background: var(--wine);
  padding: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem);
}
.cta-band h2 { font-size: var(--fs-2xl); max-width: 16ch; }
.cta-band p { color: var(--on-dark-soft); max-width: 46ch; margin-top: var(--sp-4); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.cta-band__visual { display: none; }
@media (min-width: 56rem) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .cta-band__visual { display: flex; justify-content: center; align-items: flex-end; gap: var(--sp-4); }
  .cta-band__visual img { max-height: 22rem; width: auto; filter: drop-shadow(0 24px 30px rgba(25, 4, 8, .4)); }
  .cta-band__visual img:nth-child(2) { max-height: 17rem; }
}

.banner { padding: 12px; }
.banner--top { padding-top: calc(var(--header-h) + 12px); }
.banner--top + .page-head { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.banner__frame { max-width: calc(var(--max) + 4rem); margin-inline: auto; border-radius: var(--r-xl); background: var(--white); }
.banner__frame img { width: 100%; height: auto; } /* whole artwork, never cropped */

/* 9. Catalogue ----------------------------------------------------------- */
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head h1 { font-size: var(--fs-3xl); max-width: 14ch; }
.page-head__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 56rem) { .page-head__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.page-head p { color: var(--ink-soft); font-size: var(--fs-md); max-width: 46ch; }

.filters {
  position: sticky; top: var(--hdr-offset, var(--header-h)); z-index: 10;
  transition: top .4s var(--ease-out);
  background: rgba(248, 243, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line); padding-block: var(--sp-3);
}
.filters__inner { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between; }
.filters__group { display: flex; gap: var(--sp-2); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--sp-1)); padding: var(--sp-1); max-width: 100%; }
.filters__group::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 2.5rem; padding: 0 1rem; border-radius: var(--r-ctl); border: 1px solid rgba(94, 23, 28, .22);
  background: transparent; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; white-space: nowrap;
  }
.chip[aria-pressed="true"] { background: var(--wine); color: var(--on-dark); border-color: var(--wine); }
.chip sup { font-size: .7em; opacity: .7; margin-left: .2em; }
.filters__status { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.filters__status label { font-weight: 500; }
.select {
  min-height: 2.5rem; padding: 0 2.25rem 0 1rem; border-radius: var(--r-ctl); border: 1px solid rgba(94, 23, 28, .22);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e171c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .7rem center / 1rem no-repeat;
  -webkit-appearance: none; appearance: none; font-size: var(--fs-sm); font-weight: 500; cursor: pointer;
}
.catalogue__group + .catalogue__group { margin-top: var(--sp-8); }
.catalogue__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-3); }
.catalogue__group-head h2 { font-size: var(--fs-xl); }
.catalogue__group-head p { font-size: var(--fs-sm); color: var(--ink-soft); }
.catalogue__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; list-style: none; }
@media (max-width: 36rem) { .catalogue__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
.catalogue__empty { padding: var(--sp-8) 0; text-align: center; color: var(--ink-soft); }

/* 10. Product detail ----------------------------------------------------- */
.pd-hero { padding: 12px; padding-top: calc(var(--header-h) + 24px); }
.pd-stage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: var(--on-dark); background: var(--wine);
  display: grid; gap: var(--sp-6); padding: var(--sp-6) var(--gutter) var(--sp-7);
}
.pd-stage__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pd-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 6, 9, .34), rgba(30, 6, 9, 0) 55%), linear-gradient(0deg, rgba(30, 6, 9, .28), transparent 35%); }
.pd-back { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--on-dark-soft); min-height: 2.75rem; }
.pd-back:hover { color: var(--on-dark); }
.pd-back svg { width: 1rem; height: 1rem; transform: scaleX(-1); }
.pd-stage__copy { display: grid; gap: var(--sp-4); align-content: start; }
.pd-stage__copy h1 { font-size: var(--fs-3xl); line-height: 1; }
.pd-stage__desc { font-size: var(--fs-md); max-width: 34ch; }
.pd-stage__visual { display: grid; place-items: center; min-height: 16rem; }
.pd-photo-main { margin: 0; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 60px -30px rgba(25, 4, 8, .6); }
.pd-photo-main img { display: block; max-height: min(64vh, 36rem); width: auto; max-width: 100%; } /* whole photo, never cropped */
.pd-stage__aside { display: grid; gap: var(--sp-4); align-content: start; font-size: var(--fs-sm); }
.pd-stage__foot { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 248, 239, .22); padding-top: var(--sp-5); }
.pd-stage__foot p { color: var(--on-dark-soft); font-size: var(--fs-sm); max-width: 48ch; }
@media (min-width: 60rem) {
  .pd-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .8fr); padding: var(--sp-6) clamp(2rem, 4vw, 4.5rem) var(--sp-6); min-height: min(52rem, calc(100svh - var(--header-h) - 36px)); }
  .pd-stage__top { grid-column: 1 / -1; }
  .pd-stage__copy { align-self: center; }
  .pd-stage__visual { align-self: center; }
  .pd-stage__aside { align-self: center; }
  .pd-stage__foot { grid-column: 1 / -1; align-self: end; }
}
.spec { display: grid; gap: 0; }
.spec div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.spec dt { font-size: var(--fs-sm); color: var(--ink-soft); }
.spec dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.pd-info { display: grid; gap: var(--sp-7); }
@media (min-width: 60rem) { .pd-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.pd-info h2 { font-size: var(--fs-xl); }
.pd-info__note { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-4); max-width: 44ch; }
.pd-photo { margin: 0; border-radius: var(--r-lg); background: var(--cream); }
.pd-photo img { width: 100%; height: auto; } /* full photo, never cropped */
.pd-photo figcaption { font-size: var(--fs-xs); color: var(--ink-soft); padding: var(--sp-3) var(--sp-4); }
.not-found { padding-top: calc(var(--header-h) + 6rem); padding-bottom: var(--sp-9); text-align: center; display: grid; gap: var(--sp-5); justify-items: center; }
.not-found h1 { font-size: var(--fs-2xl); }

/* 11. About -------------------------------------------------------------- */
.about-hero { display: grid; gap: var(--sp-6); }
@media (min-width: 60rem) { .about-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--sp-8); } }
.about-hero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: end; }
.about-hero__media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); }
.about-hero__media img { width: 100%; height: auto; } /* full photo, never cropped */
.about-hero__media figure:nth-child(2) { margin-bottom: 12%; }
.about-tagline { font-family: var(--font-display); font-weight: 600; color: var(--wine); font-size: var(--fs-lg); }
.states { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.states li { padding: var(--sp-2) var(--sp-4); border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: var(--fs-sm); }
.split { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--sp-8); } }
.split h2 { font-size: var(--fs-2xl); }
.logo-panel { display: grid; place-items: center; background: var(--white); border-radius: var(--r-xl); padding: clamp(2rem, 1rem + 5vw, 5rem); }
.logo-panel img { width: min(100%, 22rem); }
.logo-panel p { margin-top: var(--sp-5); font-family: var(--font-display); color: var(--wine); font-size: var(--fs-lg); text-align: center; }

/* 12. Contact & form ----------------------------------------------------- */
.contact { display: grid; gap: var(--sp-7); }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--sp-8); align-items: start; } }
.contact-card { background: var(--wine-deep); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: grid; gap: var(--sp-6); position: relative; overflow: hidden; isolation: isolate; }
.contact-card h2 { font-size: var(--fs-xl); }
.contact-card address { font-style: normal; color: var(--on-dark-soft); }
.contact-list { list-style: none; display: grid; gap: var(--sp-4); }
.contact-list span { display: block; font-size: var(--fs-sm); color: var(--on-dark-soft); margin-bottom: var(--sp-1); }
.contact-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; display: inline-block; padding-block: .2rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: .2em; }

.form { display: grid; gap: var(--sp-5); }
.form__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 40rem) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--sp-2); align-content: start; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 500; }
.field .req { color: var(--wine-soft); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.input {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border-radius: var(--r-md);
  border: 1px solid rgba(35, 26, 27, .22); background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
textarea.input { min-height: 9rem; resize: vertical; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 2.5rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e171c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1rem no-repeat; }
.input:hover { border-color: rgba(35, 26, 27, .4); }
.input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(94, 23, 28, .15); }
.field.has-error .input { border-color: #b3261e; }
.field__error { font-size: var(--fs-sm); color: #b3261e; display: flex; gap: .35rem; align-items: flex-start; }
.field__error::before { content: "!"; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #b3261e; color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; margin-top: .15rem; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-soft); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--wine); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; }
.form__note { font-size: var(--fs-xs); color: var(--ink-soft); max-width: 40ch; }
.form-status { border-radius: var(--r-md); padding: var(--sp-5); display: grid; gap: var(--sp-3); }
.form-status:focus { outline: none; }
.form-status--info { background: var(--cream); border: 1px solid var(--sand); }
.form-status--error { background: #fbe9e7; border: 1px solid #f2b8b5; color: #7a1d17; }
.form-status h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); }
.form-status p { font-size: var(--fs-sm); }

/* 13. Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 248, 239, .72); padding-top: var(--sp-8); margin-top: var(--section); }
.site-footer.no-gap { margin-top: 0; }
.footer__grid { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer__brand .brand { margin-bottom: var(--sp-5); }
.footer__tag { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); color: var(--on-dark); }
.footer__brand p + p { margin-top: var(--sp-3); font-size: var(--fs-sm); max-width: 38ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: rgba(255, 248, 239, .6); margin-bottom: var(--sp-4); }
.footer__links { list-style: none; display: grid; gap: var(--sp-1); }
.footer__links a, .site-footer address a { text-decoration: none; color: var(--on-dark); display: inline-block; padding-block: .3rem; overflow-wrap: anywhere; }
.footer__links a:hover, .site-footer address a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer address { font-style: normal; font-size: var(--fs-sm); display: grid; gap: var(--sp-2); }
.footer__bottom { margin-top: var(--sp-8); border-top: 1px solid rgba(255, 248, 239, .14); padding-block: var(--sp-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-xs); }

/* 14. Motion & reveal ---------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 14b. Photo hover ----------------------------------------------------
   Shared by the banner, product cards and detail photos. Photos are always shown whole: framed photos lift on
   hover, card photos ease from 96% to 100% of their panel, and a diagonal sheen passes once. */
.photo-frame, .p-card__media { position: relative; overflow: hidden; isolation: isolate; }
/* cards rest at 96% and grow to 100% on hover, so the photo never outgrows its panel: always whole, never cropped */
.p-card__photo { transform: scale(.96); transition: transform 900ms var(--ease-out); }
.photo-frame::after, .p-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-110%);
}
.photo-frame { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .photo-frame:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -36px rgba(58, 12, 17, .55); }
  .p-card:hover .p-card__photo { transform: none; }
  .photo-frame:hover::after, .p-card:hover .p-card__media::after { transform: translateX(110%); transition: transform 1100ms var(--ease-out); }
}
.p-card:focus-within .p-card__photo { transform: none; }

/* 15. Launch film & product gallery ------------------------------------ */
.film { background: var(--wine-deep); color: var(--on-dark); }
.film__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 56rem) { .film__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.film h2 { font-size: var(--fs-2xl); max-width: 16ch; }
.film__lead { color: var(--on-dark-soft); font-size: var(--fs-md); max-width: 46ch; margin-top: var(--sp-5); }
.film__lead a { color: var(--on-dark); text-underline-offset: .2em; text-decoration-color: rgba(255, 248, 239, .4); transition: text-decoration-color var(--dur-fast); }
.film__lead a:hover { text-decoration-color: currentColor; }
/* width is derived from the allowed height, so the frame always has the video's own 478:850 ratio (no black bars) */
.film__frame { justify-self: center; width: min(100%, 24rem, calc(82svh * 478 / 850)); }
.film__video {
  display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; object-fit: cover;
  border-radius: var(--r-lg); background: var(--wine); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
/* flex, not grid: the full-width credit kept empty auto-fit tracks alive, shrinking a lone photo to one narrow column */
.pd-photos { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: flex-start; }
.pd-photos > .pd-photo { flex: 1 1 14rem; }
@media (min-width: 40rem) { .pd-photos > .pd-photo { flex: 0 1 calc(50% - var(--sp-4) / 2); } }
.pd-photos > .pd-photo:only-of-type { flex: 0 1 34rem; }

/* pinned hero: the product image always fits its cell completely (contain, never cropped) */
.hero.is-pinned .stage__visual { position: relative; height: 100%; min-height: 0; align-self: stretch; }
.hero.is-pinned .stage__visual img {
  position: absolute; inset: 3% 2%; width: 96%; height: 94%; max-width: none; max-height: none; object-fit: contain;
}


/* 16. Button hover ------------------------------------------------------
   A fill wipes in from the left (and exits to the right), the label inverts, the button rises 1px and its
   arrow slides. Transform and colour only; instant under reduced motion. */
.btn, .p-card__enquire, .rail-btn, .chip, .hero__tab:not([aria-current="true"]) {
  --fill: var(--wine-deep); --fill-fg: var(--on-dark);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color 450ms var(--ease-out), border-color 450ms var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn::before, .p-card__enquire::before, .rail-btn::before, .chip::before, .hero__tab:not([aria-current="true"])::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 550ms var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before,
.p-card__enquire:hover::before, .p-card__enquire:focus-visible::before,
.rail-btn:hover:not(:disabled)::before, .rail-btn:focus-visible::before,
.chip:not([aria-pressed="true"]):hover::before, .chip:focus-visible::before,
.hero__tab:not([aria-current="true"]):hover::before, .hero__tab:not([aria-current="true"]):focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover, .btn:focus-visible,
.p-card__enquire:hover, .p-card__enquire:focus-visible,
.rail-btn:hover:not(:disabled), .rail-btn:focus-visible,
.chip:not([aria-pressed="true"]):hover, .chip:focus-visible,
.hero__tab:not([aria-current="true"]):hover, .hero__tab:not([aria-current="true"]):focus-visible { color: var(--fill-fg); border-color: var(--fill); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -16px rgba(58, 12, 17, .6); }
.btn:active, .p-card__enquire:active, .rail-btn:active, .chip:active { transform: scale(.97); }

/* fill colours per variant (all label/fill pairs meet WCAG AA) */
.btn--light, .site-header .nav__panel .nav__cta { --fill: var(--wine); }
.btn--ghost, .p-card__enquire, .rail-btn, .chip { --fill: var(--wine); }
.btn--ghost-light, .hero__tab:not([aria-current="true"]) { --fill: var(--white); --fill-fg: var(--wine); }
@media (hover: hover) and (pointer: fine) {
  .p-card:hover .p-card__enquire { color: var(--fill-fg); border-color: var(--fill); }
  .p-card:hover .p-card__enquire::before { transform: scaleX(1); transform-origin: left center; }
}
.btn svg, .rail-btn svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.rail-btn[data-next]:hover:not(:disabled) svg { transform: translateX(3px); }
.rail-btn[data-prev]:hover:not(:disabled) svg { transform: scaleX(-1) translateX(3px); }
.hsearch__submit, .dock__btn, .to-top, .search-toggle, .nav-toggle { transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.hsearch__submit:hover, .search-toggle:hover, .nav-toggle:hover, .to-top:hover { transform: translateY(-1px); }
.hsearch__submit:hover { transform: translateY(calc(-50% - 1px)); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .p-card__enquire:active, .rail-btn:active, .chip:active, .p-card:hover, .photo-frame:hover { transform: none; }
}

/* Submit loader: while a form is sending (aria-busy), the arrow becomes a spinner. */
form[aria-busy="true"] [type="submit"] { cursor: progress; opacity: .85; }
form[aria-busy="true"] [type="submit"] svg { display: none; }
form[aria-busy="true"] [type="submit"]::after {
  content: ""; width: 1rem; height: 1rem; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  form[aria-busy="true"] [type="submit"]::after { animation-duration: 2s; }
}

/* 17. Mobile hero: larger product image (compact copy) ----------------- */
@media (max-width: 63.99rem) {
  .hero.is-pinned .stage { gap: var(--sp-2); padding-bottom: 4.5rem; }
  .hero.is-pinned .stage__name { font-size: clamp(2rem, 1.3rem + 3.6vw, 3.25rem); }
  .hero.is-pinned .stage__name span { display: inline; font-size: .6em; margin: 0 0 0 .2em; }
  .hero.is-pinned .stage__sub { display: none; }
  .hero.is-pinned .stage__meta { font-size: .6875rem; }
  .hero.is-pinned .stage__actions { margin-top: var(--sp-1); gap: var(--sp-2); }
  .hero.is-pinned .stage__visual img { inset: 0 -2%; width: 104%; height: 100%; }
  .hero.is-pinned .hero__chrome { padding-bottom: .85rem; }
}
@media (max-width: 63.99rem) and (min-height: 52rem) {
  .hero.is-pinned .stage__sub { display: block; font-size: var(--fs-sm); }
}
@media (max-width: 26rem) {
  .hero.is-pinned .hero__tab b { display: none; }
  .hero.is-pinned .hero__tab { padding: 0 .7rem; }
  .hero.is-pinned .hero__tabs { gap: .35rem; }
}

/* 19. Search: header box, suggestions, results page -------------------- */
.site-header__inner { position: relative; }
.hsearch { position: relative; flex: 0 1 19rem; margin-left: auto; margin-right: var(--sp-2); }
.hsearch__input {
  width: 100%; min-height: 2.75rem; padding: 0 3rem 0 1rem; border-radius: var(--r-ctl);
  border: 1px solid rgba(94, 23, 28, .18); background: var(--white); color: var(--ink); font-size: var(--fs-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.hsearch__input::placeholder { color: var(--ink-soft); opacity: .8; }
.hsearch__input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(94, 23, 28, .14); }
.hsearch__input::-webkit-search-cancel-button { cursor: pointer; }
.hsearch__submit {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 2.25rem; height: 2.25rem; border-radius: 6px; border: 0; background: var(--wine); color: var(--on-dark);
  display: grid; place-items: center; cursor: pointer; transition: background var(--dur-fast);
}
.hsearch__submit:hover { background: var(--wine-deep); }
.hsearch__submit svg, .search-toggle svg { width: 1.05rem; height: 1.05rem; }
.search-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid currentColor;
  background: transparent; color: inherit; place-items: center; cursor: pointer;
}
.hsearch__list {
  position: absolute; top: calc(100% + .5rem); right: 0; width: min(30rem, calc(100vw - 2rem)); z-index: 60;
  list-style: none; margin: 0; padding: .4rem; max-height: min(70vh, 34rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(58, 12, 17, .45);
}
.sr-opt { display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem; border-radius: .7rem; cursor: pointer; }
.sr-opt[aria-selected="true"], .sr-opt:hover { background: var(--ivory); }
.sr-thumb { /* light card tints, not the dark palette photos: small packshots stay readable */
  flex: none; width: 3.25rem; height: 3.25rem; border-radius: .6rem; display: grid; place-items: center; overflow: hidden;
  background: var(--cream); color: var(--wine); font-family: var(--font-display); font-size: 1.25rem;
}
.sr-thumb[data-palette="gold"] { background: #f6ead2; }
.sr-thumb[data-palette="green"] { background: #e3eee2; }
.sr-thumb[data-palette="burgundy"] { background: #f3e0e2; }
.sr-thumb[data-palette="orange"] { background: #f8e4d8; }
.sr-thumb[data-palette="purple"] { background: #e8e2f1; }
.sr-thumb img { width: 3.25rem; height: 3.25rem; object-fit: contain; /* fixed size: a % height is indefinite in the auto grid row */ }
.sr-thumb--cat svg { width: 1.2rem; height: 1.2rem; }
.sr-text { display: grid; min-width: 0; flex: 1; }
.sr-name { font-weight: 500; font-size: var(--fs-sm); color: var(--ink); }
.sr-name mark { background: none; color: var(--wine); text-decoration: underline; text-decoration-color: rgba(94, 23, 28, .35); text-underline-offset: .2em; }
.sr-sub { font-size: var(--fs-xs); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-tag { flex: none; font-size: var(--fs-xs); font-weight: 500; color: var(--wine); background: var(--cream); padding: 2px var(--sp-2); border-radius: 4px; }
.sr-note { padding: .5rem .6rem .35rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.sr-note strong { color: var(--wine); }
.sr-empty { padding: .9rem .6rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.sr-all { justify-content: space-between; margin-top: .25rem; border-top: 1px solid var(--line); border-radius: 0 0 .7rem .7rem; font-size: var(--fs-sm); font-weight: 500; color: var(--wine); padding: .75rem .6rem; }
.sr-all svg { width: 1rem; height: 1rem; }

@media (max-width: 70rem) {
  .search-toggle { display: inline-grid; }
  .hsearch {
    position: absolute; left: 0; right: 0; top: calc(100% + .5rem); margin: 0; flex: none;
    display: none; padding: var(--sp-2); background: var(--ivory); border-radius: 18px; box-shadow: 0 20px 40px -24px rgba(58, 12, 17, .5);
  }
  .hsearch.is-open { display: block; }
  .hsearch__input { min-height: 3rem; font-size: 1rem; } /* 16px stops iOS zoom on focus */
  .hsearch__submit { right: 12px; }
  .hsearch__list { left: 0; right: 0; width: auto; top: calc(100% + .4rem); }
  .nav { margin-left: auto; }
}

.search-page__form { position: relative; max-width: 44rem; margin-top: var(--sp-5); }
.search-page__form .hsearch__input { min-height: 3.75rem; border-radius: 14px; font-size: var(--fs-md); padding-left: 1.5rem; padding-right: 4rem; }
.search-page__form .hsearch__submit { width: 3rem; height: 3rem; right: 6px; }
.search-meta { margin-top: var(--sp-4); color: var(--ink-soft); font-size: var(--fs-sm); }
.search-meta strong { color: var(--wine); }
.search-empty { display: grid; gap: var(--sp-4); justify-items: start; padding-block: var(--sp-6); }
.search-empty h2 { font-size: var(--fs-xl); }
.chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* 20. Side dock + back to top ------------------------------------------
   WhatsApp sits above back-to-top in the bottom-right corner; the header carries enquire and search. */
.dock {
  position: fixed; right: 12px; bottom: calc(1rem + 3.25rem + 8px); z-index: 45;
  border-radius: 50%; background: var(--white); border: 1px solid rgba(94, 23, 28, .1);
  box-shadow: 0 12px 28px -18px rgba(35, 26, 27, .45);
  transform: translateY(8px); opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.dock.is-in { transform: none; opacity: 1; }
.dock__btn, .to-top {
  position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 0; background: transparent; color: var(--wine); cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.dock__btn--wa { color: #1f7a45; }
.dock__btn:hover, .dock__btn:focus-visible { background-color: #1f7a45; color: var(--on-dark); }
.dock__btn > svg, .to-top > svg:not(.to-top__ring) { width: 1.25rem; height: 1.25rem; }
.dock__label {
  position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap; pointer-events: none;
  padding: 6px var(--sp-3); border-radius: var(--r-sm); background: var(--ink); color: var(--on-dark);
  font-size: var(--fs-xs); font-weight: 500;
  opacity: 0; transform: translateY(-50%); transition: opacity var(--dur-fast) var(--ease-out);
}
.dock__btn:hover .dock__label, .dock__btn:focus-visible .dock__label,
.to-top:hover .dock__label, .to-top:focus-visible .dock__label { opacity: 1; }

.to-top {
  position: fixed; right: 12px; bottom: 1rem; z-index: 45;
  background: var(--white); box-shadow: 0 12px 28px -18px rgba(35, 26, 27, .45);
}
.to-top:hover { background-color: var(--ivory); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__ring circle:first-child { stroke: rgba(94, 23, 28, .12); }
.to-top__bar { stroke: var(--wine); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear; }

/* keep the footer disclaimer clear of the corner buttons */
.footer__bottom { padding-right: 4rem; }

@media (max-width: 52rem) {
  .dock__label { display: none; }
  .dock { bottom: calc(1rem + 3rem + 8px); }
  .dock__btn, .to-top { width: 3rem; height: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .dock, .dock.is-in { transition: none; } }
@media print { .dock, .to-top { display: none; } }

/* 21. Light hero (2026-11-28) -------------------------------------------
   The homepage stages sit on light tints of each product's colour, so copy and chrome switch to dark ink.
   Scoped to .hero: the product detail stage keeps its dark backgrounds. */
.hero .stage { color: var(--ink); background: #f7eee4; }
.hero .stage::before, .hero.is-pinned .stage::before { background: none; }
.hero.is-pinned .hero__stages { background: #f7eee4; }
.hero .stage__meta { color: var(--wine-soft); }
.hero .stage__name span, .hero .stage__with { color: var(--ink-soft); }
.hero .stage__sub { color: var(--ink); }
.hero .stage__points li { border-color: rgba(94, 23, 28, .25); }
.hero .stage__facts div { border-bottom-color: rgba(94, 23, 28, .16); }
.hero .stage__facts dt { color: var(--ink-soft); }
.hero .stage .text-link { color: var(--wine); }
.hero .stage__visual img { filter: drop-shadow(0 28px 36px rgba(58, 12, 17, .22)) drop-shadow(0 6px 10px rgba(58, 12, 17, .12)); }
.hero.is-pinned .hero__chrome { color: var(--ink); }
.hero .hero__tab { border-color: rgba(94, 23, 28, .25); background: rgba(255, 253, 249, .55); color: var(--ink); }
.hero .hero__tab[aria-current="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-dark); }
.hero .hero__tab:not([aria-current="true"]) { --fill: var(--wine); --fill-fg: var(--on-dark); }
.hero .hero__progress { background: rgba(94, 23, 28, .15); }
.hero .hero__progress i { background: var(--wine); }

/* 22. Careers: role cards, open application, apply popup ----------------- */
.jobs { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.job {
  display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6);
  background: var(--white); border: 1px solid rgba(94, 23, 28, .08); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .job:hover { transform: translateY(-4px); border-color: rgba(94, 23, 28, .18); box-shadow: 0 28px 48px -30px rgba(58, 12, 17, .45); }
}
.job__dept { font-size: var(--fs-sm); font-weight: 500; color: var(--wine-soft); }
.job__title { font-size: var(--fs-lg); margin-top: var(--sp-1); }
.job__meta { display: grid; gap: var(--sp-2); margin: 0; padding-block: var(--sp-4); border-block: 1px solid var(--line); font-size: var(--fs-sm); }
.job__meta div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--sp-3); }
.job__meta dt { color: var(--ink-soft); }
.job__meta dd { margin: 0; font-weight: 500; }
.job__desc { color: var(--ink-soft); font-size: var(--fs-sm); }
.job__points { list-style: none; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.job__points li { position: relative; padding-left: var(--sp-5); }
.job__points li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-soft); }
.job__apply { margin-top: auto; align-self: flex-start; }
.jobs-open {
  margin-top: var(--sp-7); padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-xl);
  background: var(--wine); color: var(--on-dark);
  display: grid; gap: var(--sp-5); align-items: center;
}
@media (min-width: 48rem) { .jobs-open { grid-template-columns: minmax(0, 1fr) auto; } }
.jobs-open h2 { font-size: var(--fs-xl); }
.jobs-open p { color: var(--on-dark-soft); margin-top: var(--sp-3); max-width: 52ch; }

.apply {
  width: min(100% - 24px, 46rem); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: var(--r-xl); background: var(--ivory); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(25, 4, 8, .55); overflow: auto; overscroll-behavior: contain;
}
.apply::backdrop { background: rgba(35, 26, 27, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.apply[open] { animation: apply-in var(--dur) var(--ease-out); }
.apply[open]::backdrop { animation: apply-fade var(--dur) var(--ease-out); }
@keyframes apply-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes apply-fade { from { opacity: 0; } to { opacity: 1; } }
.apply__inner { padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem); display: grid; gap: var(--sp-5); }
.apply__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); }
.apply__head h2 { font-size: var(--fs-xl); }
.apply__close {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(94, 23, 28, .2); background: var(--white); color: var(--wine); cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.apply__close svg { width: 1.25rem; height: 1.25rem; }
.apply__close:hover { background: var(--wine); color: var(--on-dark); transform: rotate(90deg); }
body:has(.apply[open]) { overflow: hidden; } /* stops page scroll (and the smooth-scroll script) behind the popup */
.input--file { padding: var(--sp-3); min-height: auto; cursor: pointer; }
.input--file::file-selector-button {
  margin-right: var(--sp-3); padding: var(--sp-2) var(--sp-4); border: 0; border-radius: var(--r-sm);
  background: var(--cream); color: var(--wine); font: inherit; font-weight: 500; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.input--file:hover::file-selector-button { background: var(--wine); color: var(--on-dark); }

/* 23. 404 page ---------------------------------------------------------- */
.nf { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)); padding-bottom: var(--section); overflow: hidden; }
.nf__grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 60rem) { .nf__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.nf h1 { font-size: var(--fs-3xl); max-width: 14ch; }
.nf__lead { color: var(--ink-soft); font-size: var(--fs-md); max-width: 44ch; margin-top: var(--sp-5); }
.nf__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.nf__links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); font-size: var(--fs-sm); }
.nf__links a { color: var(--wine); font-weight: 500; text-underline-offset: .25em; }
.nf__code {
  font-family: var(--font-display); font-weight: 800; line-height: .8; letter-spacing: -.06em; text-align: center;
  font-size: clamp(7rem, 4rem + 18vw, 20rem); color: rgba(94, 23, 28, .12); font-variant-numeric: tabular-nums;
}
@media (max-width: 59.99rem) { .nf__code { order: -1; text-align: left; font-size: clamp(6rem, 3rem + 20vw, 10rem); } }

/* 24. WordPress additions --------------------------------------------- */
a.brand { text-decoration: none; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--wine); text-decoration: none; }
.film__lead > * + * { margin-top: .75em; }
.banner__frame a { display: block; }
