/* SRK theme. Tokens unlayered (win over globals.css tokens), base resets in @layer base, components in @layer custom. */

/* @font-face lives inline in _layout.php: same versioned URL as the preload, so each font downloads once, early. */

:root {
  color-scheme: dark;
  --ink: #191716;
  --ink-raised: #221f1d;
  --ink-line: rgb(255 255 255 / 0.12);
  --paper: #ffffff;
  --paper-soft: rgb(255 255 255 / 0.78);
  --brand: #f75c03;            /* icons, stitching, links on ink (5.5:1) */
  --action: #cc4a00;           /* button fill, white label 4.6:1 */
  --action-hover: #b34000;
  --oxblood: #660a00;
  --sand: #c7b299;
  --surface: var(--ink);
  --text: var(--paper);
  --primary: var(--brand);
  --primary-hover: #ff7a2e;
  --border: var(--ink-line);

  --font-display: "Kenyan Coffee", "Arial Narrow", Impact, sans-serif;
  --font-label: "Carrosserie", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid 360 -> 1440. The hero heading is sized to the measure: its longest line fills the wrap. */
  --fs-hero: clamp(2.75rem, min(calc((100vw - 2 * var(--gutter)) / 7.1), 23svh), 11.5rem);
  --fs-h2: clamp(3rem, 1.5rem + 6.667vw, 7.5rem);
  --fs-statement: clamp(1.5rem, 1rem + 2.222vw, 3rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.556vw, 1.5rem);
  --fs-sub: clamp(1rem, 0.875rem + 0.556vw, 1.375rem);
  --fs-card: clamp(2rem, 1.583rem + 1.852vw, 3.25rem);
  --fs-label: clamp(1.125rem, 1.042rem + 0.37vw, 1.375rem);
  --fs-body: clamp(1rem, 0.958rem + 0.185vw, 1.125rem);

  --gutter: clamp(1rem, 0.333rem + 2.963vw, 3rem);
  --wrap: 84rem;
  --section-pad: clamp(4.5rem, 3rem + 6.667vw, 9rem);
  --header-h: clamp(4.5rem, 3.833rem + 2.963vw, 6.5rem);
  --seam-dash: repeating-linear-gradient(90deg, var(--brand) 0 0.875rem, transparent 0.875rem 1.5rem);
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  --fp-gutter: var(--gutter);
  --fp-gap: clamp(0.75rem, 0.583rem + 0.741vw, 1.25rem);
  --fp-radius: 0;
}

@layer base {
  /* no CSS smooth scroll: Lenis (site.js) owns it; scroll-padding = the fixed header, the no-JS hash fallback */
  html { scroll-padding-top: var(--header-h); scroll-behavior: auto; }   /* globals.css says smooth; without Lenis jumps are instant */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: clip; }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--ink) url("/assets/img/leather.webp") repeat;
    background-size: 21.875rem;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 { font-weight: 400; line-height: 1; margin: 0; }
  p { margin: 0; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: var(--brand); }
  @media (hover: hover) { a:hover { color: var(--primary-hover); } }
  :where(:focus-visible) { outline: 2px solid var(--paper); outline-offset: 3px; }
  a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
  :where(p, li, figcaption, blockquote):has(br) { text-wrap: wrap; }
  /* [hidden] must win over any component display value (enquiry__done/fields are display:grid);
     !important in the base layer outranks every later layer. */
  [hidden] { display: none !important; }
}

@layer custom {
  .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
  .nowrap { white-space: nowrap; }
  .skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 60; padding: 0.75rem 1rem; background: var(--paper); color: var(--ink); font-weight: 600; }
  .skip-link:focus { top: 0.75rem; }
  main:focus { outline: none; }
  main { overflow-x: clip; }   /* parallax watermarks and the ribbon may travel past the edges; never a sideways scroll */
  body { min-height: 100svh; display: flex; flex-direction: column; }
  main { flex: 1 0 auto; }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
    min-height: 3.5rem; padding: 0 2.25rem;
    background: var(--action); color: var(--paper);
    font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.04em; text-transform: uppercase;
    text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .btn__label { display: inline-block; text-box: trim-both cap alphabetic; white-space: nowrap; }
  .btn__icon { width: 1.25rem; height: 1.25rem; flex: none; }
  .btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
  .btn:disabled { opacity: 0.6; cursor: progress; }
  @media (hover: hover) { .btn:hover { background: var(--action-hover); color: var(--paper); } }

  /* ---------- header + menu ---------- */
  .site-header {
    position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
    background: linear-gradient(180deg, var(--ink) 0%, rgb(25 23 22 / 0.3) 100%);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
  }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-header.is-scrolled { background: rgb(25 23 22 / 0.96); box-shadow: 0 0.375rem 1.125rem -0.2rem rgb(0 0 0 / 0.45); }
  .site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .site-header__logo { display: block; flex: none; }
  .site-header__logo img { width: clamp(9.5rem, 7.5rem + 8.889vw, 18.75rem); height: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0 0.25rem;
    background: none; border: 0; color: var(--paper); cursor: pointer;
    font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 1.111vw, 2.25rem); letter-spacing: 0.04em; text-transform: uppercase;
  }
  .menu-toggle__label { display: inline-block; text-box: trim-both cap alphabetic; }
  .menu-toggle__icon { width: 2.25rem; height: 2.25rem; flex: none; }
  @media (hover: hover) { .menu-toggle:hover { color: var(--brand); } }

  .site-menu {
    position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
    background: var(--ink) url("/assets/img/leather.webp") repeat; background-size: 21.875rem; color: var(--paper);
    opacity: 0; transition: opacity 0.3s ease, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
  }
  .site-menu[open] { opacity: 1; }
  @starting-style { .site-menu[open] { opacity: 0; } }
  .site-menu::backdrop { background: rgb(0 0 0 / 0.6); }
  .site-menu__panel { min-height: 100%; display: grid; align-items: center; padding: var(--header-h) var(--gutter) 2rem; box-sizing: border-box; }
  .site-menu__nav { width: min(100%, var(--wrap)); margin-inline: auto; }
  .site-menu__close {
    position: absolute; top: calc(var(--header-h) / 2 - 1.5rem); right: var(--gutter);
    display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
    background: none; border: 1px solid var(--ink-line); border-radius: 50%; color: var(--paper); cursor: pointer;
  }
  .site-menu__close-icon { width: 1.5rem; height: 1.5rem; }
  .site-menu__close:focus-visible, .gallery__arrow:focus-visible { outline: none; border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
  @media (hover: hover) { .site-menu__close:hover { border-color: var(--brand); color: var(--brand); } }
  .site-menu__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); counter-reset: menu; border-top: 1px solid var(--ink-line); }
  .site-menu__list > li { counter-increment: menu; border-bottom: 1px solid var(--ink-line); }
  .site-menu__link {
    display: flex; align-items: baseline; gap: clamp(1rem, 0.667rem + 1.481vw, 2rem); padding-block: clamp(0.625rem, 1.6svh, 1.125rem); color: var(--paper); text-decoration: none; white-space: nowrap;
    font-family: var(--font-display); font-size: clamp(2.25rem, min(1.167rem + 4.815vw, 9svh), 5.5rem); line-height: 1; letter-spacing: 0.03em; text-transform: uppercase;
    transition: color 0.25s ease, padding-left 0.45s var(--ease-out);
  }
  .site-menu__link::before { content: counter(menu, decimal-leading-zero); flex: none; min-width: 2.5rem; font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--brand); }
  .site-menu__link:focus-visible { outline-offset: -2px; }
  @media (hover: hover) { .site-menu__link:hover { color: var(--brand); padding-left: 1rem; } }

  /* ---------- section scaffolding ---------- */
  .section-dark, .section-glow { position: relative; padding-block: var(--section-pad); }
  .section-dark { background: rgb(25 23 22 / 0.82); }
  .section-glow { background: radial-gradient(at 0% 0%, rgb(25 23 22 / 0.9) 62%, rgb(102 10 0 / 0.92) 100%); }

  /* the stitched seam: the one rule line of the site (section heads, hero, sliders) */
  .seam { display: block; height: 2px; background: var(--seam-dash); }

  /* editorial head: index number + label + seam, then the oversized heading */
  .section-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: clamp(1.25rem, 1rem + 1.111vw, 2rem); margin-bottom: clamp(2.5rem, 1.667rem + 3.704vw, 5rem); }
  .section-head__eyebrow { display: flex; align-items: center; gap: clamp(0.75rem, 0.583rem + 0.741vw, 1.25rem); width: 100%; font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; }
  .section-head__num, .section-head__label { display: inline-block; flex: none; text-box: trim-both cap alphabetic; white-space: nowrap; }
  .section-head__num { color: var(--brand); }
  .section-head__seam { flex: 1 1 auto; min-width: 2rem; }
  .section-head__heading { min-width: 0; max-width: 100%; font-family: var(--font-display); font-size: var(--fs-h2); line-height: 0.92; letter-spacing: 0.02em; text-transform: uppercase; text-wrap: balance; }
  .section-head__sub { max-width: 44rem; font-family: var(--font-label); font-size: var(--fs-sub); line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; text-wrap: pretty; color: var(--paper-soft); }
  /* head on the left, one action on the right (Instagram follow button) */
  .section-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3rem; margin-bottom: clamp(2.5rem, 1.667rem + 3.704vw, 5rem); }
  .section-top .section-head { margin-bottom: 0; }
  @media (width >= 62rem) { .section-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

  /* ---------- hero: full-bleed leather, the heading set to the full measure along the bottom ---------- */
  .hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: end; overflow: clip; }
  .hero__media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
  .hero__image { width: 100%; height: 100%; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(25 23 22 / 0.62) 0%, rgb(102 10 0 / 0.16) 36%, rgb(25 23 22 / 0.5) 66%, rgb(25 23 22 / 0.95) 100%); }
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 0.917rem + 1.481vw, 2.25rem); padding-block: calc(var(--header-h) + 2rem) clamp(2rem, 1.333rem + 2.963vw, 4rem); }
  .hero__heading { min-width: 0; max-width: 100%; font-family: var(--font-display); font-size: var(--fs-hero); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 0.125rem 2rem rgb(0 0 0 / 0.4); }
  .hero__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
  .hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem clamp(1.25rem, 0.667rem + 2.593vw, 3rem); font-family: var(--font-label); font-size: var(--fs-sub); line-height: 1; letter-spacing: 0.18em; text-transform: uppercase; }
  .hero__location { display: inline-block; text-box: trim-both cap alphabetic; }
  .hero__phone { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--paper); text-decoration: none; }
  .hero__phone > span { display: inline-block; text-box: trim-both cap alphabetic; }
  .hero__phone-icon { width: 1.375em; height: 1.375em; flex: none; color: var(--brand); }
  @media (hover: hover) { .hero__phone:hover { color: var(--brand); } }
  @media (width < 40rem) { .hero__bar .btn { width: 100%; } }

  /* ---------- about: portrait in a stitched oxblood mount, lead paragraph, stats ---------- */
  .about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2.222vw, 4rem); }
  .about__media { position: relative; isolation: isolate; margin: 0 1rem 1rem 0; }
  .about__block { position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1; background: var(--oxblood); }
  .about__block::after {   /* stitched outline inside the mount */
    content: ""; position: absolute; inset: 0.5rem; --seam: rgb(247 92 3 / 0.9);
    background:
      linear-gradient(90deg, var(--seam) 50%, transparent 0) top / 1rem 1px repeat-x,
      linear-gradient(90deg, var(--seam) 50%, transparent 0) bottom / 1rem 1px repeat-x,
      linear-gradient(0deg, var(--seam) 50%, transparent 0) left / 1px 1rem repeat-y,
      linear-gradient(0deg, var(--seam) 50%, transparent 0) right / 1px 1rem repeat-y;
  }
  .about__frame { display: block; overflow: clip; aspect-ratio: 18 / 25; background: var(--ink-raised); }
  .about__image { width: 100%; height: 100%; object-fit: cover; }
  .about__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; justify-items: start; align-content: start; }
  .about__body .btn { margin-top: 0.75rem; }
  .about__text { max-width: 42rem; color: var(--paper-soft); text-wrap: pretty; }
  .about__text:first-child { font-size: var(--fs-lead); line-height: 1.55; color: var(--paper); }
  @media (width >= 62rem) {
    .about__grid { grid-template-columns: 5fr 7fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
    .about__media { margin: 0 2.25rem 2.25rem 0; }
    .about__block { inset: 2.25rem -2.25rem -2.25rem 2.25rem; }
    .about__block::after { inset: 0.75rem; }
    .about__body { padding-top: 0.5rem; }
  }

  /* ---------- ribbon (services marquee under the hero) ---------- */
  .ribbon {
    position: relative; overflow: clip; padding-block: clamp(1rem, 0.833rem + 0.741vw, 1.5rem);
    background: var(--action); color: var(--paper);
    border-block: 1px solid var(--action);
  }
  .ribbon::before, .ribbon::after {   /* stitched seams along both edges */
    content: ""; position: absolute; inset-inline: 0; height: 2px; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.75) 0 0.75rem, transparent 0.75rem 1.25rem);
  }
  .ribbon::before { top: 0.4rem; }
  .ribbon::after { bottom: 0.4rem; }
  .ribbon__track { display: flex; width: max-content; will-change: transform; }
  .ribbon__set { display: flex; align-items: center; flex: none; }
  .ribbon__item { display: inline-block; padding-inline: clamp(1rem, 0.667rem + 1.481vw, 2rem); font-family: var(--font-display); font-size: clamp(1.75rem, 1.333rem + 1.852vw, 3rem); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; text-box: trim-both cap alphabetic; }
  .ribbon__mark { width: clamp(1.5rem, 1.25rem + 1.111vw, 2.25rem); height: auto; flex: none; opacity: 0.85; }
  html:not(.fx) .ribbon__track { animation: ribbon 40s linear infinite; }
  @keyframes ribbon { to { transform: translateX(-50%); } }

  /* ---------- stats (About): three oversized figures on a ruled row ---------- */
  .stats { display: grid; grid-template-columns: minmax(0, 1fr); margin: clamp(3.5rem, 2.667rem + 3.704vw, 6rem) 0 0; border-top: 1px solid var(--ink-line); }
  .stats__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; justify-items: start; align-content: start; padding-block: clamp(1.75rem, 1.5rem + 1.111vw, 2.5rem); border-bottom: 1px solid var(--ink-line); }
  .stats__value { font-family: var(--font-display); font-size: clamp(4rem, 2.667rem + 5.926vw, 8rem); line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; color: var(--brand); font-variant-numeric: tabular-nums; }
  .stats__label { margin: 0; max-width: 18rem; font-family: var(--font-label); font-size: var(--fs-label); line-height: 1.45; letter-spacing: 0.14em; text-transform: uppercase; text-wrap: pretty; }
  @media (width >= 62rem) {
    .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--ink-line); }
    .stats__item { padding-inline: clamp(1.5rem, 2.5vw, 2.5rem); border-bottom: 0; border-left: 1px solid var(--ink-line); }
    .stats__item:first-child { padding-left: 0; border-left: 0; }
  }

  /* ---------- services: the head stays put (sticky) while the four services scroll past ---------- */
  .services__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .services__count { align-items: flex-end; gap: 1rem; margin-top: clamp(1.5rem, 3svh, 2.5rem); font-family: var(--font-display); line-height: 0.8; }
  .services__count-num { display: block; overflow: clip; font-size: min(15rem, 24svh); color: transparent; -webkit-text-stroke: 2px var(--brand); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; padding: 0.07em 2px; margin-block: -0.07em; }   /* block padding (cancelled by the margin) = clip room for the round 0 overshoot + stroke; */
  .services__count-digits { display: block; text-box: trim-both cap alphabetic; }
  .services__count-total { display: inline-block; padding-bottom: 0.25rem; font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--paper-soft); text-box: trim-both cap alphabetic; }
  .services__count-total::before { content: "/ "; }
  .services__count { display: none; }   /* flex only under .fx (the counter rolls with the scroll) */
  @media (width >= 62rem) {
    .services__layout { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
    .services__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
    .services__aside .section-head { margin-bottom: 0; }
    .fx .services__count { display: flex; }
  }
  .service {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num icon" "head head" "text text" "cta cta";
    gap: 1.25rem clamp(1rem, 0.667rem + 1.481vw, 2rem); align-items: center;
    padding-block: clamp(2rem, 1.5rem + 2.222vw, 3.5rem); border-top: 1px solid var(--ink-line);
  }
  .service__num { grid-area: num; display: inline-block; justify-self: start; font-family: var(--font-display); font-size: var(--fs-card); letter-spacing: 0.04em; line-height: 0.95; color: transparent; -webkit-text-stroke: 1px var(--brand); font-variant-numeric: tabular-nums; }
  .service__heading { grid-area: head; min-width: 0; max-width: 100%; font-family: var(--font-display); font-size: var(--fs-card); line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; text-wrap: balance; }
  .service__icon { grid-area: icon; width: clamp(3.5rem, 3rem + 2.222vw, 5rem); height: auto; }
  .service__text { grid-area: text; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 42rem; color: var(--paper-soft); }
  .service__text p { text-wrap: pretty; }
  .service__cta { grid-area: cta; justify-self: start; margin-top: 0.5rem; }
  /* number | heading | icon on one row only when the LIST itself is wide enough (it is the narrow column
     of the sticky layout between 62rem and ~75rem, where the heading needs the full width) */
  .services__list { container: services / inline-size; min-width: 0; }
  @container services (width >= 40rem) {
    .service { align-items: start; grid-template-columns: 3.5rem minmax(0, 1fr) auto; grid-template-areas: "num head icon" ". text text" ". cta cta"; }
  }
  /* the fourth entry is the call to action: an oxblood leather panel */
  .service--cta { isolation: isolate; overflow: clip; padding-inline: clamp(1.5rem, 1rem + 2.222vw, 3rem); border-top: 0; }
  .service__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .service--cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgb(102 10 0 / 0.96) 0%, rgb(102 10 0 / 0.86) 60%, rgb(60 12 6 / 0.82) 100%); }
  .service--cta .service__num { -webkit-text-stroke-color: var(--paper); }
  .service--cta .service__text { color: var(--paper); }
  /* motion only: an orange seam sews itself across the top of the service being read (motion.js M6) */
  .fx .service:not(.service--cta)::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--seam-dash); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
  .fx .service.is-active::before { transform: scaleX(1); }

  /* ---------- why: one large statement over the leather photo, then the detail photos ---------- */
  .why { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section-pad); }
  .why__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .why::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(102 10 0 / 0.92), rgb(102 10 0 / 0.84) 50%, rgb(25 23 22 / 0.94)); }
  .why__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 1.833rem + 2.963vw, 4.5rem); }
  .why__inner .section-head { margin-bottom: 0; }
  .why .section-head__num { color: var(--paper); }
  .why .seam { background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.8) 0 0.875rem, transparent 0.875rem 1.5rem); }
  .why__text { max-width: 68rem; font-size: var(--fs-statement); font-weight: 300; line-height: 1.28; letter-spacing: -0.005em; text-wrap: pretty; }
  .why .gallery { justify-self: stretch; min-width: 0; }

  /* ---------- gallery (slider + lightbox) ---------- */
  .gallery__item { margin: 0; overflow: clip; background: var(--ink-raised); }
  .gallery__image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; transition: transform 0.9s var(--ease-out), filter 0.4s ease; }
  @media (hover: hover) { .gallery__item:hover .gallery__image { transform: scale(1.05); filter: brightness(1.08); } }
  .gallery__image:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }
  .why .gallery__image { aspect-ratio: 1; }
  .gallery__controls { display: flex; align-items: center; gap: clamp(0.75rem, 0.583rem + 0.741vw, 1.25rem); margin-top: clamp(1.5rem, 1.167rem + 1.481vw, 2.5rem); }
  .gallery__count { flex: none; min-width: 5.5rem; font-family: var(--font-label); font-size: var(--fs-label); line-height: 1; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; text-box: trim-both cap alphabetic; }
  .gallery__rule { flex: 1 1 auto; height: 1px; background: rgb(255 255 255 / 0.28); }
  .gallery__arrow {
    display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; padding: 0;
    background: rgb(25 23 22 / 0.6); border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; color: var(--paper); cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }
  .gallery__arrow[hidden] { display: none; }
  .gallery__arrow:disabled { opacity: 0.35; cursor: default; }
  .gallery__arrow-icon { width: 1.375rem; height: 1.375rem; }
  @media (hover: hover) { .gallery__arrow:not(:disabled):hover { background: var(--action); border-color: var(--action); color: var(--paper); } }

  /* ---------- instagram (feed tiles + feed lightbox, port of the RAJUNEW feed block) ---------- */
  .ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.375rem, 0.25rem + 0.556vw, 0.75rem); }
  @media (width >= 48rem) { .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  /* newest post leads: full width on phones, a 2x2 tile from tablet up (its photo is out of flow so it cannot stretch the rows) */
  .ig-tile:first-child { grid-column: span 2; }
  @media (width >= 48rem) { .ig-tile:first-child { grid-row: span 2; aspect-ratio: auto; } .ig-tile:first-child .ig-tile__image { position: absolute; inset: 0; } }
  .ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-raised); color: var(--paper); text-decoration: none; }
  .ig-tile__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s ease; }
  .ig-tile::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); pointer-events: none; }
  .ig-tile[data-feed-open] { cursor: zoom-in; }
  .ig-tile__badge { position: absolute; top: 0.625rem; right: 0.625rem; display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--paper); filter: drop-shadow(0 0.0625rem 0.25rem rgb(0 0 0 / 0.6)); pointer-events: none; }
  .ig-tile__badge--brand { color: var(--paper); opacity: 0.85; }
  .ig-tile__badge-icon { width: 1.25rem; height: 1.25rem; }
  .ig-tile__caption {
    position: absolute; inset: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
    padding: 3.5rem 1rem 1rem; align-content: end;
    background: linear-gradient(to top, rgb(102 10 0 / 0.92), rgb(25 23 22 / 0.55) 65%, transparent);
    font-size: 0.9375rem; line-height: 1.45; text-wrap: pretty; opacity: 0; transition: opacity 0.3s ease;
  }
  .ig-tile:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }
  .ig-tile:focus-visible .ig-tile__caption { opacity: 1; }
  @media (hover: hover) {
    .ig-tile:hover .ig-tile__image { transform: scale(1.05); }
    .ig-tile:hover .ig-tile__caption { opacity: 1; }
  }
  .instagram__actions { display: flex; }

  .feed-lightbox {
    position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: rgb(17 15 14 / 0.97); color: var(--paper); overflow: hidden;
  }
  .feed-lightbox::backdrop { background: rgb(0 0 0 / 0.6); }
  .feed-lightbox__stage { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; width: 100%; height: 100dvh; touch-action: pan-y; }
  .feed-lightbox__media { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 4.5rem 5rem 3.5rem; cursor: grab; }
  .feed-lightbox__stage.is-dragging, .feed-lightbox__stage.is-dragging * { cursor: grabbing; }
  .feed-lightbox__strip { display: flex; width: 100%; height: 100%; max-height: calc(100dvh - 8rem); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feed-lightbox__strip::-webkit-scrollbar { display: none; }
  .feed-lightbox__slide { flex: 0 0 100%; display: grid; place-items: center; min-width: 0; scroll-snap-align: center; }
  .feed-lightbox__image { max-width: 100%; max-height: calc(100dvh - 8rem); width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }
  .feed-lightbox__dots { position: absolute; inset: auto 0 1rem; display: flex; justify-content: center; gap: 0; }
  .feed-lightbox__dot { width: 1.5rem; height: 1.5rem; padding: 0.5rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.35); background-clip: content-box; cursor: pointer; }   /* 8px dot, 24px target */
  .feed-lightbox__dot.is-active { background: var(--brand); }
  .feed-lightbox__play {
    position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
    display: grid; justify-items: center; gap: 0.5rem; padding: 1rem 1.25rem;
    background: rgb(25 23 22 / 0.7); color: var(--paper); text-decoration: none;
    font-family: var(--font-label); font-size: 1.125rem; letter-spacing: 0.12em; text-transform: uppercase;
  }
  .feed-lightbox__play-label { display: inline-block; text-box: trim-both cap alphabetic; }
  .feed-lightbox__play-icon { color: var(--brand); }
  @media (hover: hover) { .feed-lightbox__play:hover { background: rgb(102 10 0 / 0.85); color: var(--paper); } }
  .feed-lightbox__panel { display: flex; flex-direction: column; gap: 1rem; min-height: 0; padding: 4.5rem 1.5rem 1.5rem; background: rgb(255 255 255 / 0.04); border-left: 1px solid var(--ink-line); overflow: hidden; }
  .feed-lightbox__head { display: flex; align-items: center; gap: 0.75rem; }
  .feed-lightbox__avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--action); color: var(--paper); }
  .feed-lightbox__avatar-icon { width: 1.375rem; height: 1.375rem; }
  .feed-lightbox__meta { display: grid; gap: 0.25rem; min-width: 0; }
  .feed-lightbox__name { font-family: var(--font-label); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.08em; }
  .feed-lightbox__date { font-size: 0.875rem; color: var(--paper-soft); }
  .feed-lightbox__text { flex: 1 1 auto; min-height: 0; overflow-y: auto; font-size: 0.9375rem; line-height: 1.6; color: var(--paper-soft); overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
  .feed-lightbox__text p + p { margin-top: 0.75rem; }
  .feed-lightbox__panel.is-empty .feed-lightbox__text { display: none; }
  .feed-lightbox__link {
    display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; min-height: 2.75rem; padding: 0 1rem;
    border: 1px solid var(--brand); color: var(--paper); text-decoration: none;
    font-family: var(--font-label); font-size: 1.0625rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  }
  .feed-lightbox__link-label { display: inline-block; text-box: trim-both cap alphabetic; }
  .feed-lightbox__link-icon { width: 1rem; height: 1rem; flex: none; color: var(--brand); }
  .feed-lightbox__link:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--brand); }
  @media (hover: hover) { .feed-lightbox__link:hover { background: var(--action); border-color: var(--action); color: var(--paper); } .feed-lightbox__link:hover .feed-lightbox__link-icon { color: var(--paper); } }
  .feed-lightbox__counter { position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; font-family: var(--font-label); font-size: 1.125rem; letter-spacing: 0.12em; color: var(--paper-soft); font-variant-numeric: tabular-nums; }
  .feed-lightbox__close, .feed-lightbox__nav {
    position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
    background: rgb(25 23 22 / 0.6); border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; color: var(--paper); cursor: pointer;
  }
  .feed-lightbox__close:focus-visible, .feed-lightbox__nav:focus-visible { outline: none; border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
  @media (hover: hover) { .feed-lightbox__close:hover, .feed-lightbox__nav:hover { border-color: var(--brand); color: var(--brand); } }
  .feed-lightbox__icon { width: 1.375rem; height: 1.375rem; }
  .feed-lightbox__close { top: 1rem; right: 1rem; }
  .feed-lightbox__nav { top: 50%; translate: 0 -50%; }
  .feed-lightbox__nav--prev { left: 1rem; }
  .feed-lightbox__nav--next { right: calc(22rem + 1rem); }
  .feed-lightbox.is-single .feed-lightbox__nav, .feed-lightbox.is-single .feed-lightbox__counter { display: none; }
  @media (width < 64rem) { .feed-lightbox__stage { grid-template-columns: minmax(0, 1fr) 18.75rem; } .feed-lightbox__nav--next { right: calc(18.75rem + 1rem); } }
  @media (width < 48rem) {
    .feed-lightbox__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
    .feed-lightbox__media { padding: 4rem 0.5rem 2.25rem; }
    .feed-lightbox__strip, .feed-lightbox__image { max-height: calc(100dvh - 6rem - 34dvh); }
    .feed-lightbox__dots { bottom: 0.75rem; }
    .feed-lightbox__panel { max-height: 34dvh; padding: 1rem; border-left: 0; border-top: 1px solid var(--ink-line); gap: 0.75rem; }
    .feed-lightbox__panel.is-empty { max-height: none; }
    .feed-lightbox__nav { top: auto; translate: none; bottom: calc(34dvh + 2.75rem); }
    .feed-lightbox__nav--prev { left: 0.75rem; }
    .feed-lightbox__nav--next { right: 0.75rem; }
    .feed-lightbox.is-empty .feed-lightbox__nav { bottom: 1.25rem; }
    .feed-lightbox__counter { top: 1.25rem; left: 1rem; }
  }

  /* ---------- location: ruled contact sheet beside a dark map ---------- */
  .location__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2.222vw, 4rem); }
  @media (width >= 62rem) { .location__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: stretch; } }
  .location__info { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 1.5rem + 1.111vw, 2.5rem); align-content: start; }
  .location__intro { max-width: 34rem; font-size: clamp(1.25rem, 1.083rem + 0.741vw, 1.75rem); font-weight: 300; line-height: 1.35; text-wrap: pretty; }
  .info-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid var(--ink-line); }
  .info-list__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem 1.5rem; padding-block: 1.25rem; border-bottom: 1px solid var(--ink-line); }
  /* label beside value only when the sheet itself is wide enough (it is a narrow column around 62-75rem) */
  .location__info { container: info / inline-size; min-width: 0; }
  @container info (width >= 30rem) { .info-list__item { grid-template-columns: 14rem minmax(0, 1fr); align-items: start; } }
  .info-list__label { display: flex; align-items: center; gap: 0.625rem; min-height: 1.75rem; font-family: var(--font-label); font-size: var(--fs-label); line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; }
  .info-list__label > span { display: inline-block; text-box: trim-both cap alphabetic; white-space: nowrap; }
  .info-list__icon { width: 1.375rem; height: 1.375rem; flex: none; color: var(--brand); }
  .info-list__value { margin: 0; color: var(--paper); line-height: 1.55; }
  .info-list__value a { color: var(--paper); text-decoration-color: var(--brand); text-underline-offset: 0.25em; }
  @media (hover: hover) { .info-list__value a:hover { color: var(--brand); } }
  .location__map:focus-within { outline: 2px solid var(--paper); outline-offset: 3px; }
  .location__map { scroll-margin-top: var(--header-h); position: relative; min-height: clamp(22rem, 18rem + 17.778vw, 34rem); background: var(--ink-raised); }
  .location__iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.55) contrast(0.9); }

  /* ---------- contact form ---------- */
  /* the last section can always reach the top under the header, so #contact lands as precisely as the rest */
  /* no min-height: the footer below gives the Contact jump its scroll room */
  .contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2.222vw, 4rem); }
  .contact__lead .section-head { margin-bottom: clamp(1.75rem, 1.5rem + 1.111vw, 2.5rem); }
  .contact__direct { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; justify-items: start; margin: 0; padding: 0; list-style: none; }
  .contact__phone { display: inline-block; font-family: var(--font-display); font-size: clamp(2.5rem, 1.833rem + 2.963vw, 4.5rem); line-height: 1; letter-spacing: 0.03em; color: var(--paper); text-decoration: none; text-box: trim-both cap alphabetic; }
  .contact__email { font-size: clamp(1.125rem, 1.042rem + 0.37vw, 1.375rem); color: var(--paper); text-decoration-color: var(--brand); text-underline-offset: 0.3em; }
  @media (hover: hover) { .contact__phone:hover, .contact__email:hover { color: var(--brand); } }
  @media (width >= 68rem) { .contact__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } .enquiry { padding-top: 0.25rem; } }
  .enquiry { width: 100%; max-width: 50rem; }
  .enquiry__fields { display: grid; gap: 1.5rem; }
  .enquiry__row { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
  @media (width >= 40rem) { .enquiry__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .enquiry__trap { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
  .field { display: grid; gap: 0.5rem; align-content: start; }
  .field__label { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; }
  .field__input {
    width: 100%; box-sizing: border-box; height: 3.5rem; padding: 0 1rem;
    background: rgb(255 255 255 / 0.06); color: var(--paper); border: 1px solid rgb(255 255 255 / 0.28); border-radius: 0;
    font: inherit; font-size: max(1rem, 16px); line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .field__input--area { height: auto; min-height: 13rem; padding-block: 0.875rem; resize: vertical; }
  .field__input:focus-visible { outline: none; border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
  .field__input[aria-invalid="true"] { border-color: #ff8a65; }
  .field__input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 1px #ff8a65; }
  .field__error { color: #ffb199; font-size: 0.9375rem; }
  .enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1rem; }
  /* Turnstile, appearance interaction-only: no box and no reserved space; it opens in place only when Cloudflare asks
     the visitor to interact (rare, a shift is acceptable then, the visitor is mid-check). */
  .enquiry__captcha { min-width: 0; line-height: 0; font-size: 0; }
  .enquiry__captcha.is-interactive { min-height: 65px; }
  .enquiry__status { color: var(--paper-soft); }
  .enquiry__status[data-kind="error"] { color: #ffb199; }
  .enquiry__done { display: grid; gap: 0.75rem; justify-items: center; text-align: center; padding: 2.5rem 1.5rem; border: 1px solid var(--ink-line); background: rgb(25 23 22 / 0.7); }
  .enquiry__done:focus { outline: none; }
  .enquiry__done-heading { font-family: var(--font-display); font-size: clamp(2rem, 1.667rem + 1.481vw, 3rem); text-transform: uppercase; letter-spacing: 0.03em; }

  /* ---------- footer: outlined wordmark, logo + section links, base line ---------- */
  .site-footer { position: relative; overflow: clip; background: var(--ink); border-top: 1px solid var(--ink-line); }
  .site-footer__mark { padding-top: clamp(2.5rem, 1.833rem + 2.963vw, 4.5rem); text-align: center; white-space: nowrap; user-select: none; }
  .site-footer__mark-text { display: inline-block; font-family: var(--font-display); font-size: clamp(4rem, 17.5vw, 21rem); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.42); text-box: trim-both cap alphabetic; will-change: transform; }
  .site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; padding-block: clamp(2.25rem, 1.833rem + 1.852vw, 3.5rem); }
  .site-footer__logo { display: block; flex: none; }
  .site-footer__logo img { width: clamp(9.5rem, 8.5rem + 4.444vw, 12.5rem); height: auto; }
  .site-footer__list { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(1.25rem, 0.75rem + 2.222vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
  .site-footer__link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--paper); text-decoration: none; font-family: var(--font-label); font-size: 1.125rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
  .site-footer__link > span { display: inline-block; text-box: trim-both cap alphabetic; }
  @media (hover: hover) { .site-footer__link:hover { color: var(--brand); } }
  .site-footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 1.5rem; padding-right: 4.5rem; border-top: 1px solid var(--ink-line); box-sizing: border-box; }
  .site-footer__copy { font-family: var(--font-label); font-size: 1.125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-soft); white-space: nowrap; }
  .site-footer__social { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--paper); text-decoration: none; font-family: var(--font-label); font-size: 1.125rem; letter-spacing: 0.08em; white-space: nowrap; }
  .site-footer__social > span { display: inline-block; text-box: trim-both cap alphabetic; }
  .site-footer__icon { width: 1.375rem; height: 1.375rem; flex: none; }
  @media (hover: hover) { .site-footer__social:hover { color: var(--brand); } }
  .to-top {
    position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 30;
    display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
    background: var(--action); color: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s, background-color 0.2s ease;
  }
  .to-top.is-visible { opacity: 1; visibility: visible; }
  .to-top__icon { width: 1.5rem; height: 1.5rem; }
  @media (hover: hover) { .to-top:hover { background: var(--action-hover); color: var(--paper); } }

  /* ---------- motion helpers (motion.js) ---------- */
  .split { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
  .split__inner { display: inline-block; will-change: transform; }
  .statement__word { will-change: opacity; }

  /* button sheen: a soft highlight sweeps across on hover */
  .btn { position: relative; overflow: hidden; isolation: isolate; }
  .btn::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 50%; z-index: -1; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.28), transparent); transform: skewX(-20deg); transition: none; pointer-events: none; }
  @media (hover: hover) { .btn:hover::after { left: 120%; transition: left 0.75s cubic-bezier(.22,.61,.36,1); } }

  /* field focus: a stitched line sews itself along the bottom of the input */
  .field__input { background-image: repeating-linear-gradient(90deg, var(--brand) 0 0.6rem, transparent 0.6rem 1rem); background-repeat: no-repeat; background-position: left bottom; background-size: 0 2px; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-size 0.6s cubic-bezier(.22,.61,.36,1); }
  .field__input:focus-visible { background-size: 100% 2px; }

  /* reading progress: a stitched orange seam along the bottom edge of the header */
  .scroll-progress { position: absolute; inset: auto 0 0; height: 2px; transform-origin: left; transform: scaleX(0); pointer-events: none;
    background: repeating-linear-gradient(90deg, var(--brand) 0 0.75rem, transparent 0.75rem 1.125rem); }

  /* cursor ring (fine pointers only, motion on): follows the pointer, grows with a label over photos and sliders */
  .cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin: -1.25rem 0 0 -1.25rem; border: 1px solid rgb(255 255 255 / 0.55); border-radius: 50%; color: var(--paper); opacity: 0; transition: width 0.35s cubic-bezier(.22,.61,.36,1), height 0.35s cubic-bezier(.22,.61,.36,1), margin 0.35s cubic-bezier(.22,.61,.36,1), background-color 0.35s ease, border-color 0.35s ease, opacity 0.3s ease; mix-blend-mode: normal; }
  .cursor.is-on { opacity: 1; }
  .cursor.is-label { width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; background: var(--action); border-color: var(--action); }
  .cursor.is-link { width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; border-color: var(--brand); }
  .cursor__label { font-family: var(--font-label); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; display: inline-block; text-box: trim-both cap alphabetic; }
  .cursor__label:empty { display: none; }

  /* start states, only while motion runs (html.fx) and before motion.js takes over: no flash of the hero */
  .fx:not(.fx-ready) .hero__inner > *, .fx:not(.fx-ready) .hero__media, .fx:not(.fx-ready) .site-header { opacity: 0; }

  /* ---------- plain pages ---------- */
  .page-plain { padding-block: calc(var(--header-h) + 3rem) var(--section-pad); }
  .page-plain .wrap { display: grid; gap: 1.5rem; justify-items: start; }
  .page-plain__heading { font-family: var(--font-display); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: 0.03em; }
  .eyebrow { font-family: var(--font-label); letter-spacing: 0.2em; color: var(--brand); }
  .prose { max-width: 46rem; display: grid; gap: 1rem; }
}

/* Unlayered on purpose: slider.css (drop-in) is unlayered, so layered overrides would lose. */
@media (max-width: 991px) {
  .gallery .slider__slide { width: min(18rem, 62vw); }
  .latest .gallery .slider__slide { width: min(22rem, 74vw); }
}
@media (min-width: 992px) {
  .gallery .slider__slide { width: calc((100% - 4 * var(--fp-gap)) / 5); }
  /* latest works: large slides that run off the right edge of the screen */
  .latest .gallery .slider__slide { width: clamp(20rem, 26vw, 28rem); }
  .latest .slider__viewport { margin-right: calc((100% - 100vw) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- no JS: sliders scroll natively, the arrows (which need JS) hide ---------- */
html:not(.js) .slider__viewport { overflow-x: auto; }
html:not(.js) .gallery__controls { display: none; }

/* ---------- print: ink on paper, every reveal in its final state, no chrome ---------- */
@media print {
  html, body { background: #fff !important; color: #111 !important; }
  .site-header, .site-menu, .to-top, .ribbon, .cursor, .scroll-progress, .location__map, .enquiry, .gallery__controls,
  .feed-lightbox, .fp-lb, .skip-link, .hero__media, .why__bg, .site-footer__mark, .ig-grid, .slider, .about__media { display: none !important; }
  main *, .site-footer * { opacity: 1 !important; transform: none !important; clip-path: none !important; color: #111 !important;
    -webkit-text-stroke: 0 !important; text-shadow: none !important; }
  section, .site-footer { background: none !important; padding-block: 0.75rem !important; min-height: 0 !important; height: auto !important; }
  .hero, .hero * { min-height: 0 !important; height: auto !important; }
  h1, h2 { font-size: 28pt !important; break-after: avoid; }
  body { font-size: 10.5pt; }
  a { text-decoration: underline; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
  img { max-width: 100% !important; max-height: 7cm !important; width: auto !important; object-fit: contain; break-inside: avoid; }
  .stats { display: flex !important; gap: 1.5rem; }
  .stats__item { border: 0 !important; padding: 0 !important; }
  .slider__viewport { overflow: visible !important; }
  .slider__track { flex-wrap: wrap; gap: 0.5rem; }
  .slider__slide { flex: 0 0 30% !important; }
}
