/* ==========================================================================
   Sense Of Celebration
   Visual system: one deep navy the whole way down, an old-style serif set in
   normal case, a single warm accent, and square corners throughout — taken
   from the client's reference board. Structure, grid and spacing are unchanged
   from the Boldway scale the page was built on.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Faces — Cormorant Garamond (display) and Inter (body)
   All self-hosted from assets/fonts as woff2, split per unicode-range so a
   visitor only downloads the subsets their language actually needs. Latin,
   Latin Ext and Cyrillic are cut, covering all four languages the events run
   in: Ukrainian, Russian, English and German.

   Cormorant Garamond is a variable face: Google serves one file per subset
   covering the whole 300-700 axis, so the Light the headings are set in and
   the Regular the smaller titles use come out of the same download. It is an
   old-style serif with a small x-height and fine hairlines, which is why the
   size ladder below is shorter than a condensed face would need.

   Inter is variable (100-900) with a true italic.
   -------------------------------------------------------------------------- */

/* cyrillic-ext */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-roman-cyrillic-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-roman-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-roman-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-roman-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-italic-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-italic-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-italic-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-roman-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-roman-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-roman-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-roman-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------------
   The page is dark end to end. Where the old cream design alternated a light
   canvas with dark inserts, every band now sits on one of four navies that
   differ by only a few points of lightness — the separation between sections
   comes from that half-step and from the hairlines, not from a colour change.

   Ground and foreground are kept as separate families on purpose. The
   stylesheet used to reach for --navy both as a background and as a text
   colour depending on which side of a light section a rule sat; on a page
   that is dark throughout, one token cannot do both jobs.
   -------------------------------------------------------------------------- */

:root {
  /* Ground — sampled from the reference, whose flat bands measure #00060e
     to #0d1426. Held a little above the darkest of those so the raised
     panels have somewhere to go without turning grey. */
  --ink: #04101d;
  --ink-deep: #020a14;
  --ink-raised: #0a1a2b;
  --ink-panel: #071523;

  /* Foreground. Every pair below clears WCAG AA on all four grounds, and
     everything except --gold-deep clears AAA. */
  --fg: #f2ede4;
  --fg-dim: #c6d0dc;
  --fg-muted: #93a2b3;

  /* The one accent. Warm, and the only hue on the page that is not navy. */
  --gold: #c9a97c;
  --gold-bright: #e6c9a2;
  --gold-deep: #a68868;

  /* Hairlines carry the structure now that no section changes colour, so
     they are warm rather than blue: cream at low alpha over navy. */
  --line: rgba(226, 214, 195, 0.14);
  --line-strong: rgba(226, 214, 195, 0.3);

  /* Cover palette. The hero and the header pill were already built dark
     against the photographs and keep their own scale. */
  --h-deep: #071739;
  --h-mid: #4b6382;
  --h-mist: #a4b5c4;
  --h-light: #cdd5db;
  --h-bronze: #a68868;
  --h-sand: #e3c39d;
  --h-ink: #0a0b0f;

  /* Typography */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale ladder. Shorter at the top than the condensed face needed: an
     old-style serif at the same measure sets much wider, so the previous
     110px headline would have run off a laptop screen. */
  --fs-hero: clamp(2.125rem, 3.9vw, 4rem);
  --fs-h2: clamp(2.125rem, 3.9vw, 4.25rem);
  --fs-title: clamp(1.875rem, 2.9vw, 3.375rem);
  --fs-h3: clamp(1.5rem, 2vw, 2.375rem);
  --fs-h4: clamp(1.3125rem, 1.45vw, 1.75rem);
  --fs-h5: clamp(1.125rem, 1.15vw, 1.375rem);
  --fs-body: clamp(1rem, 0.85vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Serif descenders need more room than the condensed caps did */
  --lh-tight: 1.1;
  --lh-heading: 1.16;
  --lh-body: 1.62;

  /* Barely negative: Cormorant is already tightly fitted, and the -0.03em
     the condensed face wanted closes the counters up at display size. */
  --ls-tight: -0.008em;
  --ls-label: 0.16em;

  /* Spacing ladder. Every block clears 100px top and bottom once the viewport
     is wide enough for it; below that it scales down rather than crowding. */
  --gap-section: clamp(3.75rem, 9vw, 6.25rem);
  --gap-half: clamp(1.875rem, 4.5vw, 6.875rem);
  --gap-title: clamp(1.875rem, 3.8vw, 5.625rem);
  --gutter: clamp(0.9375rem, 5vw, 6.25rem);
  --max-width: 1920px;
  --measure: 62ch;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro: 0.3s;
  --dur-text: 0.8s;
  --dur-media: 1.1s;

  /* Square, everywhere. Kept as tokens rather than deleted so the corner is
     one decision in one place rather than thirty-seven. */
  --radius-media: 0;
  --radius-pill: 0;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  /* 500, not 400. Inter is variable, so this is a real cut rather than a faked
     one, and the secondary copy stops reading as thin beside the serif. The
     display face is variable too, so the Light the headings use is a drawn
     weight rather than a synthesised one. */
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote {
  margin: 0;
}

/* The serif is variable, so a heading can take a real weight: left at the
   browser default, every heading
   would ask for 700 and get a smeared synthetic bold back */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

/* Accents are set in <em>, which every UA sheet slants by default. The design has
   no italic cut, so that default buys a synthetic oblique on an all-caps face.
   The accents carry their own colour instead — the slant is off everywhere. */
em,
i {
  font-style: normal;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

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

.container--narrow {
  max-width: 1280px;
}

.section {
  position: relative;
  z-index: 1;
  padding-block: var(--gap-section);
}

/* Editorial section head: small label above a large serif title */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-bottom: var(--gap-title);
}

.section-head__text {
  max-width: 46ch;
}

/* Long statements need a wider measure so they stay within 2–3 lines */
.section-head__text--wide {
  max-width: min(100%, 1150px);
}

.label {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  font-weight: 300;
  color: var(--fg);
  margin-top: 1.25rem;
  text-wrap: balance;
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

/* Display head — the reference lockup: a small upright lead word set against a
   large coloured accent on the first line, the plain second line under it, centred,
   with the action holding the right edge of the row. Three tracks rather than
   an absolute overlay, so the button can never sit on top of the type. */
/* Title left, action right, nothing composed between them. The title used to
   be built out of a small lead word and an accent set on their own lines; that
   composition is gone and the head is now just a heading. */
.display-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2.5rem);
  margin-bottom: clamp(2rem, 3.4vw, 3.25rem);
}

.display-head__title {
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  font-weight: 300;
  color: var(--fg);
  margin: 0;
  /* One line. The serif sets wider than the condensed face did, so the head
     still clears the action beside it at every desktop width. */
  white-space: nowrap;
}

/* Squared-off counterpart to the pill .btn — matches the reference head action */
.head-btn {
  grid-column: 3;
  justify-self: end;
  align-self: start;
  margin-top: clamp(0.4rem, 1.4vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--fg);
  border-radius: 0;
  background: none;
  color: var(--fg);
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur-micro) var(--ease-soft),
    border-color var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
}

.head-btn:hover {
  background: var(--fg);
  color: var(--ink);
}

.head-btn:active {
  transform: translateY(1px);
}

/* The accent level of the same outline, for the one action in a section that
   should be reached for first */
.head-btn--light {
  border-color: var(--gold);
  color: var(--gold);
}

.head-btn--light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-line: var(--fg);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.9rem;
  min-height: 48px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--dur-micro) var(--ease-soft),
    color var(--dur-micro) var(--ease-soft),
    border-color var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(226, 214, 195, 0.16);
  transition: transform var(--dur-micro) var(--ease),
    background-color var(--dur-micro) var(--ease-soft);
}

.btn:hover {
  background: var(--btn-line);
  color: var(--ink);
}

/* Once the outline fills, the icon disc has to ride on the button's own ink
   rather than staying a pale hole in it */
.btn:hover .btn__icon {
  transform: translate(2px, -2px);
  background: rgba(4, 16, 29, 0.16);
}

.btn:active {
  transform: scale(0.985);
}

/* Full-width action bar. The label centres and the icon keeps its place beside
   it, rather than being pushed out to the far edge of a very wide button. */
.btn--wide {
  display: flex;
  width: 100%;
  justify-content: center;
  padding-inline: 1.5rem;
}

.btn--light {
  --btn-fg: var(--gold);
  --btn-line: var(--gold);
}


/* --------------------------------------------------------------------------
   6. Header — floating pill
   One dark object that rides over every section. It does not repaint itself
   on scroll: the only thing that changes is how far the glass is pushed, so
   the pill never reads as two different components.
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: clamp(0.7rem, 1.4vw, 1.15rem);
  transition: transform 0.42s var(--ease);
  will-change: transform;
}

/* Lifted out of the way while the page is moving. 140% rather than 100% so the
   pill's shadow clears the top edge too. */
.header.is-hidden {
  transform: translateY(-140%);
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }

  /* Standing still is the point of the setting: the bar simply stays. */
  .header.is-hidden {
    transform: none;
  }
}

.navpill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: 58px;
  height: clamp(58px, 5.2vw, 72px);
  padding-inline: clamp(0.75rem, 1.1vw, 1.1rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  /* Real glass: the tint is barely there, the work is done by the blur and by
     the two edges. The slideshow stays visible through the bar. */
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(10, 11, 15, 0.22);
  backdrop-filter: blur(26px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(180%) contrast(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(10, 11, 15, 0.34);
  transition: background 0.5s var(--ease-soft),
    border-color 0.5s var(--ease-soft);
}

/* The refraction highlight: brightest where light would enter the top-left of
   a curved edge, falling off across the face of the bar. */
.navpill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
      120% 180% at 12% -40%,
      rgba(255, 255, 255, 0.28),
      transparent 46%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08),
      transparent 38%,
      rgba(255, 255, 255, 0.06)
    );
  pointer-events: none;
}

/* Once the cover is behind us the pill sits on cream, and clear glass over
   cream would leave the white labels unreadable. It closes to a dark pane. */
.header.is-stuck .navpill {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(10, 11, 15, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-transparency: reduce) {
  .navpill {
    background: rgba(10, 11, 15, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navpill::before {
    display: none;
  }
}

.navpill__brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding-left: clamp(0.35rem, 0.6vw, 0.75rem);
}

/* Both marks are cut in brand navy, which disappears on a navy pill. Forcing
   them through to white keeps one source file doing both jobs. */
/* The supplied artwork, used as drawn. It is a stacked lockup, so the pill is
   given the height rather than the width: 3.07:1 at 44px tall is 135px across,
   which is what the old mark-plus-type arrangement occupied anyway. */
.navpill__logo {
  display: block;
  height: clamp(34px, 3.4vw, 46px);
  width: auto;
}




.navpill__nav {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.9vw, 2.1rem);
}

.navpill__nav a {
  position: relative;
  font-size: clamp(0.6875rem, 0.72vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--h-light);
  transition: color var(--dur-micro) var(--ease-soft);
}

.navpill__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--h-sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.navpill__nav a:hover {
  color: #fff;
}

.navpill__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navpill__end {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* The number, set in the display face so it reads as a sibling of the action
   beside it rather than as one more nav link. White holds 19.7:1 on the closed
   pill and 12.4:1 at the palest the glass ever gets over the cover. */
.navpill__tel {
  display: inline-flex;
  align-items: center;
  height: clamp(38px, 3.4vw, 46px);
  padding-inline: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.02vw, 1.0625rem);
  letter-spacing: 0.07em;
  white-space: nowrap;
  color: #fff;
  transition: color var(--dur-micro) var(--ease-soft);
}

.navpill__tel:hover {
  color: var(--h-sand);
}

/* The one warm object in the bar. Navy sits on the darkest end of the sand
   gradient at 5.2:1, so the label holds AA across the whole sweep. */
.navpill__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(38px, 3.4vw, 46px);
  padding-inline: clamp(1rem, 1.6vw, 1.75rem);
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(100deg, var(--h-sand), var(--h-bronze));
  color: var(--h-deep);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.8125rem, 0.95vw, 1rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: filter var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
}

.navpill__cta:hover {
  filter: brightness(1.07);
}

.navpill__cta:active {
  transform: translateY(1px) scale(0.985);
}

.navpill__menu {
  display: none;
  align-items: center;
  justify-content: center;
  height: clamp(38px, 3.4vw, 46px);
  padding-inline: 1rem;
  border: 1px solid rgba(205, 213, 219, 0.22);
  border-radius: var(--radius-pill);
  background: none;
  color: #fff;
  font-size: var(--fs-small);
  cursor: pointer;
}

/* Language switch: two letters and a slash, typographic like the number it
   sits beside. The chosen one is sand, the other waits in the muted white of
   the pill's hairlines so it reads as an option rather than a second label. */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.langswitch button {
  padding: 0.4rem 0.3rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-soft);
}

.langswitch button:hover {
  color: #fff;
}

.langswitch button[aria-pressed="true"] {
  color: var(--h-sand);
  cursor: default;
}

.langswitch__sep {
  opacity: 0.45;
}

/* In the overlay menu it sits under the lines, a touch larger for the thumb */
.langswitch--menu {
  font-size: 1rem;
  color: var(--h-mist);
}

.langswitch--menu button {
  padding: 0.5rem 0.4rem;
}

/* On the legal pages the header is solid ink, so the resting state follows
   the page's muted foreground instead of the glass pill's white */
.header__actions .langswitch {
  color: var(--fg-muted);
}

.header__actions .langswitch button:hover {
  color: var(--fg);
}

.header__actions .langswitch button[aria-pressed="true"] {
  color: var(--gold);
}

/* Below this width the five links stop fitting on one line, which the layout
   rules forbid. They move wholesale into the existing overlay menu. */
@media (max-width: 1023px) {
  .navpill {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .navpill__nav {
    display: none;
  }

  .navpill__menu {
    display: inline-flex;
  }
}

/* The floating call button appears at this width and the overlay menu carries
   the number in full, so the pill hands the job over rather than doubling it */
@media (max-width: 767px) {
  .navpill__tel,
  .navpill .langswitch {
    display: none;
  }
}

@media (max-width: 560px) {
  .navpill__cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6b. Overlay menu
   Rebuilt in the cover's own palette rather than the page's, so opening it
   reads as the pill expanding rather than as a different site appearing.
   -------------------------------------------------------------------------- */

/* The UA sheet hides [hidden] with display:none, but an author display rule
   outranks it. Without this the menu would never hide again. */
.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(6.5rem, 24vw, 9rem) var(--gutter) clamp(2rem, 7vw, 3rem);
  background: var(--h-deep);
  color: var(--fg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

/* A soft light behind the links, the same one the pill carries */
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    110% 60% at 20% 0%,
    rgba(75, 99, 130, 0.55),
    rgba(75, 99, 130, 0) 62%
  );
  pointer-events: none;
}

.mobile-menu__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 12vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--fg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
    color var(--dur-micro) var(--ease-soft);
}

/* Staggered on the way in. On the way out the delays fall away, so the whole
   panel leaves at once instead of unwinding link by link. */
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.1s + var(--i) * 0.05s);
}

.mobile-menu__nav a:active {
  color: var(--h-sand);
}

.mobile-menu__foot {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(205, 213, 219, 0.18);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}

.mobile-menu__cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 2rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(100deg, var(--h-sand), var(--h-bronze));
  color: var(--h-deep);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu__lines {
  display: grid;
  gap: 0.4rem;
  font-size: var(--fs-small);
}

.mobile-menu__lines a {
  color: var(--h-light);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu__nav a,
  .mobile-menu__foot {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero — full-bleed cover, statement anchored bottom-left
   One photograph, one navy scrim, one warm action. The scrim is what makes
   the type legible, so it is graded rather than flat: heaviest at the top
   where the pill sits, open through the middle so the room still reads, and
   closing to solid navy at the foot so the cover meets the cream page on an
   edge instead of a seam.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  /* clears the floating pill without pushing the statement down the screen */
  padding-top: clamp(7rem, 14vh, 9.5rem);
  padding-bottom: clamp(2.75rem, 7vh, 5.5rem);
  background: var(--ink);
  text-align: left;
}

/* The dissolve. The photograph is faded out over the bottom third rather
   than being covered by a matching colour: a scrim that merely matches has to
   match exactly, and any drift shows as a band. Masked, there is nothing left
   to mismatch — the frame simply stops existing by the time the section
   below begins. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 80%,
    rgba(0, 0, 0, 0) 99%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 80%,
    rgba(0, 0, 0, 0) 99%
  );
}

/* --par is written by the script as the cover scrolls. Positive, so the frames
   hold back against the scroll rather than running ahead of it. Grown past the
   box first, so the drift never uncovers an edge. */
.hero__slides {
  position: absolute;
  inset: -9% 0;
  transform: translate3d(0, var(--par, 0%), 0);
  will-change: transform;
}

/* Every frame is stacked on the same spot. Each one fades up, pushes in, and
   hands over to the next while it is still on screen, so the cut is a
   dissolve rather than a swap. --i is the slot the frame holds in the cycle. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* cover, not contain: this frame was composed for the slot rather than
     borrowed from the gallery, so it is meant to bleed. 62% holds the drape
     under the copy on the left and keeps the laid table in view as the frame
     narrows — at a phone's aspect, centring would crop the candles away. */
  object-fit: cover;
  object-position: 62% center;
  opacity: 1;
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo {
    animation: hero-push var(--hero-cycle, 28s) var(--ease-soft) infinite alternate both;
  }
}

/* A slow breath in and back out. alternate rather than a loop, so it never
   snaps back to the start in front of anyone. */
@keyframes hero-push {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

/* Neutral, so the frames keep their own colour. Weighted down the left and
   along the foot, which is exactly where the type sits, and left open through
   the right half where there is nothing to protect. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 16, 29, 0.72) 0%,
      rgba(4, 16, 29, 0.38) 20%,
      rgba(4, 16, 29, 0.06) 42%,
      rgba(4, 16, 29, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 16, 29, 0.5) 0%,
      rgba(4, 16, 29, 0.08) 26%,
      rgba(4, 16, 29, 0.1) 56%,
      rgba(4, 16, 29, 0.42) 82%,
      var(--ink) 100%
    );
}

/* The copy holds back hardest of all. Against the cover's own overflow: hidden
   that reads as the next section riding up over it: the statement is cut off
   at exactly the edge where the cream page begins, rather than fading out or
   sliding away above it. No opacity here on purpose, a fade would give the
   occlusion away. */
/* Below this width <picture> has already swapped in the upright frame, which
   is composed for the shape rather than cropped into it — so it is centred,
   not anchored off to one side. The scrim turns vertical with it: a
   left-to-right fade means nothing once the whole viewport is the left. */
@media (max-width: 900px) {
  .hero__photo {
    object-position: center;
  }

  /* A bottom-up ramp rather than an even wash. The upright frame puts the laid
     plate at just over half the screen height, which is exactly where the
     headline starts: measured there, the plate rim read #848884 and the
     headline came out at 3.6:1. The ramp reaches 0.75 by 54%, which puts that
     same band back above AA while leaving the candles and flowers in the top
     half untouched. */
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(4, 16, 29, 0.45) 0%,
      rgba(4, 16, 29, 0.12) 22%,
      rgba(4, 16, 29, 0.34) 42%,
      rgba(4, 16, 29, 0.75) 54%,
      rgba(4, 16, 29, 0.9) 72%,
      var(--ink) 100%
    );
  }
}

.hero__inner {
  position: relative;
  width: 100%;
  transform: translate3d(0, var(--par, 0%), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slides,
  .hero__inner {
    transform: none;
  }
}

.hero__title {
  font-family: var(--font-display);
  /* Measured against the reference, which sets its headline around 60px on a
     desktop screen. The condensed face this ladder was cut for could carry
     96px in the same space; an old-style serif at that size sets nearly twice
     as wide and swamps everything under it. */
  font-size: clamp(2.125rem, 4.4vw, 4rem);
  /* a serif needs room for its descenders where all-caps did not */
  line-height: 1.08;
  letter-spacing: 0.005em;
  font-weight: 300;
  color: #fff;
  margin: 0 0 clamp(1.15rem, 2vw, 1.9rem);
  max-width: 15ch;
}

.hero__sub {
  max-width: 52ch;
  margin: 0 0 clamp(1.9rem, 3.4vw, 3rem);
  font-size: clamp(1rem, 1.1vw, 1.1875rem);
  line-height: 1.6;
  color: var(--h-light);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3.4vw, 4rem);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 clamp(2rem, 3.4vw, 3.5rem);
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(100deg, var(--h-sand), var(--h-bronze));
  color: var(--h-deep);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(10, 11, 15, 0.5);
  transition: filter var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
}

.hero__cta:hover {
  filter: brightness(1.07);
}

.hero__cta:active {
  transform: translateY(1px) scale(0.99);
}

.hero__meta {
  display: flex;
  gap: clamp(1.75rem, 3.4vw, 3.5rem);
  margin: 0;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero__meta dt {
  font-size: var(--fs-small);
  color: var(--h-mist);
}

.hero__meta dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--h-sand);
}


@media (max-width: 720px) {
  .hero {
    align-items: flex-end;
    padding-top: clamp(6rem, 18vh, 8rem);
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__actions {
    align-items: flex-start;
    gap: 1.75rem;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__meta {
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   8. About — centred claim, the figures that back it, then the two founders
   -------------------------------------------------------------------------- */

/* Warm bloom behind the claim, in the same sand and bronze the cover uses.
   Two soft lights, one high on the right and one lower on the left, washed
   back to flat cream before the founders start. Every stop names its own
   colour at zero alpha rather than `transparent`, which resolves to
   transparent BLACK and greys the falloff out. */
.about {
  position: relative;
  isolation: isolate;
}

/* Capped at the claim's own height rather than the whole section, so the
   bloom is scaled to the block it belongs to however long the founders run.
   min() with 100% means it can never overflow, so the section needs no
   overflow: hidden and keeps its normal flow. */
.about::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(100%, 1400px);
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(4, 16, 29, 0) 58%,
      rgba(4, 16, 29, 1) 94%
    ),
    radial-gradient(
      64% 46% at 84% 14%,
      rgba(227, 195, 157, 0.16),
      rgba(227, 195, 157, 0) 64%
    ),
    radial-gradient(
      54% 42% at 20% 30%,
      rgba(166, 136, 104, 0.1),
      rgba(166, 136, 104, 0) 68%
    );
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 11%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 11%);
  pointer-events: none;
}

/* Film grain over the bloom. A rasterised SVG tile, not a live filter: it is
   painted once and then costs nothing on scroll. Masked out on the same
   curve as the bloom so neither leaves a visible edge. */
.about::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(100%, 1400px);
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27220%27%20height%3D%27220%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.8%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27220%27%20height%3D%27220%27%20filter%3D%27url%28%23n%29%27%2F%3E%3C%2Fsvg%3E");
  background-size: 220px 220px;
  opacity: 0.05;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 9%,
    #000 52%,
    transparent 92%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 9%,
    #000 52%,
    transparent 92%
  );
  pointer-events: none;
}

/* The whole block is one centred column. Nothing is pinned to a rail here:
   the claim is the composition, so it holds the middle of the page. */
.claim {
  max-width: 74rem;
  margin-inline: auto;
  text-align: center;
}

.claim__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-weight: 300;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}

/* The closing clause carries the warm accent, which is the same brown the
   rest of the cream page already uses for emphasis. Set as its own line so
   the break is deliberate rather than left to the wrap. */
.claim__title em {
  display: block;
  font-style: normal;
  color: var(--gold);
}

/* Founders — a spread, not a card row */

.founders {
  margin-top: var(--gap-section);
}

.founders__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

/* Matching frames so the two rules under them land on the same line */
.founder {
  display: grid;
  margin: 0;
}

.founder__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--ink-deep);
}

/* --face is the Y anchor each frame carries in the markup: the height at which
   that photograph's faces sit. Cropping to it rather than to the centre is what
   lets the frame be cut right down without taking anyone's head off. */
.founder__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 30%);
  transition: transform 1.2s var(--ease);
}

.founder:hover .founder__media img {
  transform: scale(1.035);
}

/* Desktop: the two founders are meant to be taken in at once, so the pair is
   sized to close inside a single screen. The frames give up the height, not
   the copy: a wide crop anchored on --face, then capped in vh so the block
   still fits on a short laptop screen where 16:10 alone would not. */
@media (min-width: 1024px) {
  .founders {
    margin-top: clamp(3rem, 5vw, 4.5rem);
  }

  .founder__media {
    aspect-ratio: 16 / 10;
    max-height: 44vh;
  }

  .founder__text {
    margin-top: clamp(1.15rem, 1.7vw, 1.6rem);
  }

  .founder__text p + p {
    margin-top: 0.9rem;
  }
}

/* Caption plate: role above the name, body underneath. No rule between the
   portrait and the text — the spacing carries the break on its own. */
.founder__text {
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
  color: var(--fg-muted);
}

.founder__text p + p {
  margin-top: 1.1rem;
}

/* The column track is the measure: capping the copy left every line short of
   the portrait above it, so the two blocks read as separate widths */
.founder__text > p:not(.founder__role) {
  max-width: none;
  text-wrap: pretty;
}

.founder__role {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
}

/* Asterisk marker, drawn rather than set, so it keeps its weight at any size */
.founder__mark {
  flex: none;
  color: var(--gold);
}

.founder__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.95vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: var(--ls-tight);
  font-weight: 400;
  color: var(--fg);
  margin: 0.85rem 0 1.35rem;
}

/* --------------------------------------------------------------------------
   9. Events — Projects block reproduced from the Boldway reference
   -------------------------------------------------------------------------- */

.events {
  background: var(--ink);
}

/* Tab row: right aligned, slash separated — as in the reference */
.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 1.4vw, 1.375rem);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.9rem, 1.4vw, 1.375rem);
  background: none;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  transition: color var(--dur-micro) var(--ease-soft);
}

.tab::after {
  content: "/";
  color: var(--line-strong);
}

.tab:last-child::after {
  content: none;
}

.tab__text {
  position: relative;
  padding-bottom: 3px;
}

.tab__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.tab:hover {
  color: var(--fg);
}

.tab[aria-selected="true"] {
  color: var(--fg);
}

.tab[aria-selected="true"] .tab__text::after,
.tab:hover .tab__text::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Segmented variant: the row becomes one pill and the active tab the filled
   segment inside it. Used where the switch has to sit under a centred head. */
.tabs--pill {
  display: inline-flex;
  justify-content: center;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink-deep);
}

.tabs--pill .tab {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-micro) var(--ease-soft),
    color var(--dur-micro) var(--ease-soft);
}

.tabs--pill .tab::after,
.tabs--pill .tab__text::after {
  content: none;
}

.tabs--pill .tab[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  animation: panel-in 0.5s var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Track, not a grid. Scroll snap does the paging on its own, so a swipe and
   the Previous / Next buttons land on exactly the same positions and the
   control never has to fight the native scroll. */
.eslider {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  /* the cards carry a shadow; the bleed keeps it from being clipped */
  margin-inline: -14px;
  padding-inline: 14px;
  overflow: hidden;
}

.eslider__track {
  display: grid;
  grid-auto-flow: column;
  --ecard-gap: clamp(1rem, 1.6vw, 1.75rem);
  /* three whole cards to a view, so one page of the pager is exactly three */
  grid-auto-columns: calc((100% - 2 * var(--ecard-gap)) / 3);
  gap: var(--ecard-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 14px;
  /* the native bar is replaced by the pager below */
  scrollbar-width: none;
}

.eslider__track::-webkit-scrollbar {
  display: none;
}

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

.ecard {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(0.85rem, 1.1vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink-raised);
  /* No drop shadow: a shadow needs light behind it, and on this ground the
     hairline is what separates the card from the band it sits on. */
}

.ecard__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--ink-deep);
  cursor: pointer;
}

/* --face is the Y anchor each frame carries in the markup: the height at which
   that photograph's or clip's faces sit. Every source here is a 3:4 or 9:16
   portrait, so a wide frame throws away most of the height; cropping to the
   anchor rather than to the centre is what keeps the heads inside it. */
.ecard__media img,
.ecard__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 50%);
  transition: transform 1.1s var(--ease);
}

.ecard:hover .ecard__media img,
.ecard:hover .ecard__media video {
  transform: scale(1.04);
}

/* Frost on hover, so the cue has something to sit on whatever the frame */
.ecard__veil {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 57, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-soft);
  pointer-events: none;
}

.ecard__cue {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -46%);
  opacity: 0;
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 500;
  color: #fff;
  transition: opacity var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
  pointer-events: none;
}

.ecard__cue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.ecard__media:hover .ecard__veil,
.ecard__media:focus-visible .ecard__veil {
  opacity: 1;
}

.ecard__media:hover .ecard__cue,
.ecard__media:focus-visible .ecard__cue {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Touch never gets the hover state, so the cue stays put in the corner */
@media (hover: none) {
  .ecard__cue {
    left: 12px;
    top: auto;
    bottom: 12px;
    transform: none;
    opacity: 1;
    font-size: 0.8125rem;
    padding: 0.35rem 0.7rem 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(7, 23, 57, 0.55);
  }

  .ecard__cue-icon {
    display: none;
  }
}

.ecard__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 1.5vw, 1.35rem) clamp(0.4rem, 0.6vw, 0.65rem)
    clamp(0.5rem, 0.8vw, 0.85rem);
}

.ecard__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
  font-weight: 400;
  color: var(--fg);
  margin: 0;
}

.ecard__tagline {
  margin: 0.4rem 0 0;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--gold);
}

.ecard__sep {
  margin-inline: 0.15rem;
  opacity: 0.55;
}

.ecard__text {
  margin: clamp(0.85rem, 1.2vw, 1.15rem) 0 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--fg-muted);
  text-wrap: pretty;
}

/* The claim the card closes on. Set in the body face, weighted rather than
   coloured, so it reads as the same voice finishing its sentence. */
.ecard__close {
  margin: auto 0 0;
  padding-top: clamp(0.85rem, 1.2vw, 1.15rem);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Swipe hint
   Shown only where there is no pointer to hover with, which is the only place
   the gesture needs explaining. It leaves the moment the track is moved, so it
   never sits over content the reader is already working with.
   -------------------------------------------------------------------------- */

.swipe {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
  pointer-events: none;
}

@media (hover: none) and (max-width: 900px) {
  .swipe {
    display: flex;
  }
}

.swipe.is-gone {
  opacity: 0;
  transform: translateY(-4px);
}

.swipe__hand {
  display: inline-flex;
  color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .swipe__hand {
    animation: swipe-nudge 2.1s var(--ease-soft) infinite;
  }
}

/* Across and back, with a pause at each end so it reads as a gesture being
   demonstrated rather than as something sliding loose on the page. */
@keyframes swipe-nudge {
  0%,
  12% {
    transform: translateX(7px);
  }
  46%,
  58% {
    transform: translateX(-7px);
  }
  92%,
  100% {
    transform: translateX(7px);
  }
}

/* On the dark panel the hint has to be read against navy, not cream */
.audience .swipe,
.reviews .swipe {
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Pager — word buttons either side of a progress rail, the count underneath
   -------------------------------------------------------------------------- */

/* Held to a compact measure and centred. Run to the full container width the
   rail stops reading as a control and starts reading as a rule across the
   page, and the two words end up too far apart to be taken in together. */
.epager {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
  width: min(100%, 34rem);
  margin: clamp(1.75rem, 3vw, 2.75rem) auto 0;
}

.epager[hidden] {
  display: none;
}

.epager__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft),
    opacity var(--dur-micro) var(--ease-soft);
}

.epager__btn:hover:not(:disabled) {
  color: var(--gold);
}

.epager__btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.epager__rail {
  position: relative;
  height: 1px;
  background: var(--line-strong);
}

/* Scales from the left rather than animating width, so the fill rides on the
   compositor and never triggers layout while the track is being dragged. */
.epager__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  height: 4px;
  margin-top: -1.5px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 0.45s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .epager__fill {
    transition: none;
  }
}

.epager__count {
  grid-column: 1 / -1;
  justify-self: center;
  /* Tucked under the rail rather than floated below it: at the old distance it
     read as a separate line of text instead of part of the control. */
  margin: 0.3rem 0 0;
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  color: var(--fg-muted);
}

@media (max-width: 1023px) {
  .eslider__track {
    grid-auto-columns: calc((100% - var(--ecard-gap)) / 2);
  }

  .ecard__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 639px) {
  .eslider__track {
    /* one whole card plus a sliver of the next, so the track reads as scrollable */
    grid-auto-columns: 86%;
  }

  /* Portrait, like every source it holds: at 4:5 a 3:4 photograph loses about
     six percent of its height instead of the fifty-eight percent 16:9 took */
  .ecard__media {
    aspect-ratio: 4 / 5;
  }

  .epager__btn span {
    display: none;
  }
}

/* Category tabs sitting on top of the event-type field. A segmented control,
   not the page's pill tabs: inside a form it has to read as part of the field
   it narrows, so it borrows the field's own border and radius. */
/* Opens the form and spans it. The control decides what the Event type field
   below can offer, so it is given the full width rather than tucked into one
   half of the grid. */
.field--cats {
  gap: 0.55rem;
}

.typetabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink-deep);
}

.typetab {
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: background-color var(--dur-micro) var(--ease-soft),
    color var(--dur-micro) var(--ease-soft);
}

.typetab:hover[aria-selected="false"] {
  color: var(--fg);
}

.typetab[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. For whom — sticky media beside a progressive list
   -------------------------------------------------------------------------- */

/* The navy is not the section's own background: it is a layer that fades up as
   the section comes into reach. --fill is written by the script as a 0 to 1
   fraction. Opacity only, no geometry, so the whole panel arrives at once
   rather than sweeping across and cutting through the copy. */
.audience {
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--fg);
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      80% 60% at 50% 0%,
      rgba(201, 169, 124, 0.13),
      rgba(201, 169, 124, 0) 70%
    ),
    var(--ink-deep);
  opacity: var(--fill, 1);
  will-change: opacity;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .audience::before {
    opacity: 1;
  }
}

.audience .display-head__title {
  color: var(--fg);
}

.audience__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 4rem);
  align-items: start;
}

/* One frame, held in place while the names scroll past it. It used to be a
   stack that cross-faded per item; now that there is nothing to swap, the
   ratio is the only thing setting the height of this block, so it is capped
   in vh as well or it outgrows the list beside it on a wide screen. */
.audience__media {
  position: sticky;
  top: clamp(5.5rem, 10vw, 8rem);
  aspect-ratio: 4 / 5;
  max-height: 64vh;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--ink-panel);
}

.audience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 50%);
}

.audience__list {
  border-top: 1px solid rgba(247, 242, 234, 0.18);
}

.audience__item {
  display: flex;
  align-items: baseline;
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  padding-block: clamp(0.85rem, 1.45vw, 1.25rem);
  border-bottom: 1px solid rgba(247, 242, 234, 0.18);
  cursor: default;
}

.audience__index {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.audience__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  /* Raised from 55%: the dim state used to be lifted by the script as the
     reader moved down the list. With nothing driving it, every line has to be
     comfortably readable on its own, hover or no hover. */
  color: rgba(247, 242, 234, 0.82);
  transition: color 0.3s var(--ease-soft);
}

.audience__item:hover .audience__text {
  color: var(--fg);
}

/* Closes the run of names, on the axis of the list itself */
.audience__action {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   11. Reviews — title and its line on the left, the format switch on the right,
   then either the video cards or the written notes
   -------------------------------------------------------------------------- */

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.75rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.reviews__lead {
  max-width: 46rem;
}

.reviews__title {
  margin-top: 0;
  text-wrap: balance;
}

.reviews__text {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--fg-muted);
  max-width: 46ch;
  text-wrap: pretty;
}

/* Format switch on top, pager under it, both holding the right edge */
.reviews__controls {
  display: grid;
  justify-items: end;
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
}

/* Shared track for both formats: one row of cards that pages with the control
   under it, and swipes on touch. */
.rev-row {
  --row-gap: clamp(1rem, 1.6vw, 1.5rem);
  --per-row: 3;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-row) - 1) * var(--row-gap)) / var(--per-row));
  gap: var(--row-gap);
  align-items: stretch;
  overflow-x: auto;
  /* the reveal offset would otherwise open a vertical scroll inside the track */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rev-row::-webkit-scrollbar {
  display: none;
}

.rev-row > * {
  scroll-snap-align: start;
}

/* Video cards — four across, portrait frames, caption bar riding the bottom */
.vreviews {
  --row-gap: clamp(0.75rem, 1.4vw, 1.25rem);
  --per-row: 4;
}

.vreview {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
  background: var(--ink-deep);
}

.vreview__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 50%);
  transition: transform 1.2s var(--ease);
}

.vreview:hover .vreview__media {
  transform: scale(1.03);
}

/* Scrim under the caption bar, so the bar holds on pale footage too. On ::before
   because ::after already carries the placeholder badge. */
.vreview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 36, 74, 0.5), rgba(22, 36, 74, 0));
}

.vreview__foot {
  position: absolute;
  left: clamp(0.5rem, 0.8vw, 0.75rem);
  right: clamp(0.5rem, 0.8vw, 0.75rem);
  bottom: clamp(0.5rem, 0.8vw, 0.75rem);
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0;
  /* flat translucency rather than a backdrop filter: this bar scrolls with the
     page, and blurring it would repaint on every frame */
  background: rgba(22, 36, 74, 0.72);
  color: var(--fg);
}

.vreview__thumb {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 0;
  background: rgba(247, 242, 234, 0.2);
}

.vreview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 50%);
}

.vreview__who {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.vreview__name {
  font-size: var(--fs-small);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vreview__date {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: rgba(247, 242, 234, 0.68);
  font-variant-numeric: tabular-nums;
}

.vreview__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 0;
  border-radius: 0;
  background: rgba(247, 242, 234, 0.16);
  color: var(--fg);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-soft),
    transform var(--dur-micro) var(--ease-soft);
}

.vreview__play:hover {
  background: rgba(247, 242, 234, 0.28);
}

.vreview__play:active {
  transform: scale(0.94);
}

.vreview__play svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.vreview__play .icon-pause {
  display: none;
}

.vreview__play[data-state="playing"] .icon-play {
  display: none;
}

.vreview__play[data-state="playing"] .icon-pause {
  display: block;
}

/* Written notes — three to a row on desktop */
.treviews {
  --per-row: 3;
}

/* Written reviews, set the way a review platform sets them: who wrote it and
   when at the top, the rating under the name, the message last. The rating
   reads left to right before the text, which is the order people scan. */
.grev {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.25rem, 1.9vw, 1.75rem);
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
}

.grev__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Initial in a disc, the stand-in every review platform falls back to when the
   author has no picture. Replace with a real photo when there is one. */
.grev__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.grev__who {
  min-width: 0;
}

.grev__name {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
}

.grev__when {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--fg-muted);
}

.grev__when time {
  font-variant-numeric: tabular-nums;
}

.grev__dot {
  margin-inline: 0.1rem;
  opacity: 0.6;
}

.grev__stars {
  display: flex;
  gap: 2px;
  margin: clamp(0.85rem, 1.3vw, 1.1rem) 0 0;
  color: var(--gold);
}

.grev__text {
  margin: clamp(0.6rem, 1vw, 0.85rem) 0 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--fg);
  text-wrap: pretty;
}

.is-placeholder {
  position: relative;
}

.is-placeholder::after {
  content: "Placeholder";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink-raised);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

/* Rides the scroll: the header clears the top, so the offset matches its height
   rather than sitting flush against the viewport edge */
.faq__aside {
  position: sticky;
  top: clamp(5.5rem, 10vw, 8rem);
}

.faq__aside-text {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--fg-muted);
  max-width: 34ch;
  text-wrap: pretty;
}

.faq__aside-cta {
  width: 100%;
  max-width: 15rem;
  justify-content: space-between;
  padding: 0.9rem 0.9rem 0.9rem 1.5rem;
  min-height: 44px;
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.35rem, 2.2vw, 1.9rem);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

.faq__question {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.625rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.faq__trigger:hover {
  color: var(--gold);
}

/* Plus / minus toggle */
.faq__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease), opacity 0.3s linear;
}

.faq__icon::before {
  width: 16px;
  height: 1.5px;
}

.faq__icon::after {
  width: 1.5px;
  height: 16px;
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.5s var(--ease);
}

.faq__answer {
  padding-bottom: clamp(1.35rem, 2.2vw, 1.9rem);
  color: var(--fg-muted);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   13. CTA form
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  /* The band sits a half step above the page and closes on the footer's own
     deeper ink, so the last join on the page is a fade rather than an edge. */
  background: linear-gradient(
    180deg,
    var(--ink-panel) 0%,
    var(--ink-panel) 86%,
    var(--ink-deep) 100%
  );
  color: var(--fg);
  overflow: hidden;
}

/* The velvet, entering from the left edge behind the copy. The supplied frame
   is already composed for this: folds through the left half, smooth near-black
   through the right, so it needs no horizontal mask of its own. Only the top
   and bottom are faded, so the band joins its neighbours without a seam. */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/media/drape.jpg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(
    180deg, transparent 0%, #000 13%, #000 82%, transparent 100%
  );
  mask-image: linear-gradient(
    180deg, transparent 0%, #000 13%, #000 82%, transparent 100%
  );
  pointer-events: none;
}

/* The scrim that makes the copy safe to read. The fabric's highlights are thin
   ribbon edges and 98% of the brightest of them fall in the left half, which
   is exactly where the text sits: measured against the 99.9th-percentile
   highlight, the 12px gold labels came out at 3.2:1 and the grey sub-lines at
   2.7:1 with no scrim. 0.74 is not a guess: the page was rendered with the
   copy hidden, the brightest pixel of ground the text actually sits on was
   measured at #47597a, and this is the veil that puts the dimmest pair on the
   page — the grey sub-lines — back over 4.5:1. It is gone by the time it
   reaches the photograph, so the velvet keeps full strength across the rest
   of the band. */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(4, 16, 29, 0.74) 0%,
    rgba(4, 16, 29, 0.74) 58%,
    rgba(4, 16, 29, 0) 78%
  );
  -webkit-mask-image: linear-gradient(
    180deg, transparent 0%, #000 13%, #000 82%, transparent 100%
  );
  mask-image: linear-gradient(
    180deg, transparent 0%, #000 13%, #000 82%, transparent 100%
  );
  pointer-events: none;
}

.cta .label {
  color: var(--gold);
}

.cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

/* Stretched rather than given a ratio, so the frame ends exactly where the copy
   beside it ends and the two read as one composed block */
.cta__media {
  align-self: stretch;
  min-height: clamp(24rem, 30vw, 40rem);
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--ink-panel);
}

.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--face, 50%);
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-title);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
  margin-top: 1.25rem;
  text-wrap: balance;
}

.cta__title em {
  font-style: normal;
  color: var(--gold);
}

.cta__text {
  margin-top: 1.5rem;
  color: rgba(247, 242, 234, 0.72);
  text-wrap: pretty;
}

/* The action leads, its qualifier sits beside it rather than under the button */
.cta__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(2rem, 3.2vw, 2.75rem);
}

/* Takes whatever the button leaves, rather than being held to a narrow measure */
.cta__note {
  flex: 1 1 16rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(247, 242, 234, 0.55);
}

/* Direct lines: label above the line itself, ruled off from one another.
   The space above the first rule is held close to the rhythm between the rows
   themselves — the two together used to open a gap under the button. */
.channels {
  margin-top: clamp(1.75rem, 2.4vw, 2.25rem);
  border-top: 1px solid rgba(247, 242, 234, 0.2);
}

.channel {
  display: grid;
  gap: 0.4rem;
  padding-block: clamp(1.1rem, 1.8vw, 1.5rem);
  border-bottom: 1px solid rgba(247, 242, 234, 0.16);
}

.channel__label {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
}

.channel__value {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

/* Addresses and handles are set text, not display figures */
.channel__value--set {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.1875rem);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.channel__value:hover {
  color: var(--gold);
}

.channel__meta {
  font-size: 0.8125rem;
  color: rgba(247, 242, 234, 0.5);
}

.cta__geo {
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  font-size: var(--fs-small);
  color: rgba(247, 242, 234, 0.6);
}

/* Form */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field__label {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  min-height: 48px;
  background-color: rgba(247, 242, 234, 0.06);
  border: 1px solid rgba(247, 242, 234, 0.22);
  border-radius: 0;
  color: var(--fg);
  transition: border-color var(--dur-micro) var(--ease-soft),
    background-color var(--dur-micro) var(--ease-soft);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* The native control sizes and places its own arrow, which leaves the select
   short of the input beside it. Drawn here instead so both align exactly. */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.9rem;
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 12px 8px;
}

.field select::-ms-expand {
  display: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(247, 242, 234, 0.4);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(247, 242, 234, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(247, 242, 234, 0.1);
}

.field select option {
  background: var(--ink-panel);
  color: var(--fg);
}

.field__error {
  font-size: 0.8125rem;
  color: #f0b8a0;
  min-height: 1.2em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #e08a6a;
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form__note {
  font-size: 0.8125rem;
  color: rgba(247, 242, 234, 0.55);
  max-width: 34ch;
}

/* Inline confirmation */
.form__status {
  grid-column: 1 / -1;
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: rgba(201, 169, 124, 0.14);
}

.form__status.is-visible {
  display: flex;
}

/* The same box carries a failed send, in the page's own red rather than a
   browser default, so it reads as part of the form and not as a system alert */
.form__status.is-error {
  border-color: #c9655c;
  background: rgba(201, 101, 92, 0.14);
}

.form__status strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--fg);
}

.form__status p {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  color: rgba(247, 242, 234, 0.75);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

/* Light footer, as in the reference: wordmark and sign-up on the left, the
   links in the middle, the mark holding the right edge, socials and legal on a
   line of their own underneath */
.footer {
  background: var(--ink-deep);
  color: var(--fg);
  padding-block: clamp(2.5rem, 4.5vw, 4.25rem) 1.5rem;
}

/* Three zones ruled apart, as in the reference: the lockup, the links, and the
   marks with the sign-off line. The rules live on the second and third zones
   rather than in the gaps, so they stretch to the full height of the row on
   their own. */
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: stretch;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.footer__brand {
  display: grid;
  /* One column no wider than the lockup, so the line beneath centres on the
     mark itself rather than on the whole footer zone */
  grid-template-columns: max-content;
  justify-content: start;
  align-content: center;
  justify-items: center;
  gap: clamp(0.9rem, 1.4vw, 1.25rem);
}

.footer__logo {
  display: block;
  width: clamp(168px, 15vw, 232px);
  height: auto;
}

/* The line under the lockup, set in the same small caps as every other label
   on the page so it reads as part of the mark rather than as a stray caption */
.footer__tagline {
  margin: 0;
  text-align: center;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--fg-muted);
}

.footer__nav,
.footer__connect {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.75rem, 4vw, 4rem);
}

.footer__nav {
  display: grid;
  align-content: center;
}

/* Six links in three columns of two, matching the column count of the
   reference rather than its row count — it carried a seventh link that this
   site no longer has. */
.footer__nav ul {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  justify-content: start;
  gap: clamp(0.7rem, 1.2vw, 1rem) clamp(1.5rem, 3vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav a {
  font-size: var(--fs-small);
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

.footer__nav a:hover {
  color: var(--gold);
}

/* Marks at the top, sign-off under them, both held to the right edge */
.footer__connect {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: clamp(1.1rem, 2vw, 1.75rem);
  text-align: right;
}

.footer__icons {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

.footer__icons a:hover {
  color: var(--gold);
}

.footer__motto {
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 2;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--fg-muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.footer__legal a {
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

.footer__legal a:hover {
  color: var(--gold);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* Mobile sticky call button */
.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.3rem;
  min-height: 48px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -12px rgba(22, 36, 74, 0.6);
  font-size: var(--fs-small);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}

.call-fab.is-visible {
  transform: translateY(0);
}

.call-fab svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   14c. Event request dialog
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 24, 48, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}

/* A light panel on the dimmed field: the dialog reads as a sheet of the same
   paper the page is printed on rather than as a second dark surface */
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: 0;
  background: var(--ink-raised);
  color: var(--fg);
  box-shadow: 0 40px 80px -30px rgba(10, 18, 40, 0.55);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal.is-open .modal__panel {
  opacity: 1;
  transform: none;
}

.modal__close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--fg);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-soft),
    border-color var(--dur-micro) var(--ease-soft);
}

.modal__close:hover {
  background: var(--ink-deep);
  border-color: var(--line-strong);
}

.modal__head {
  padding-right: 3.5rem;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem);
}

/* Carries the frame the dialog was opened from */
.modal__subject {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
}

.modal__title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: var(--ls-tight);
  font-weight: 400;
  color: var(--fg);
}

.modal__title em {
  font-style: normal;
  color: var(--gold);
}

.modal__text {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 46ch;
}

/* Light variant of the form: the field styles above are cut for the navy
   contact field, so every surface, border and text colour is reversed here */
.form--panel .field label,
.form--panel .field__label {
  color: var(--gold);
}

.form--panel .field input,
.form--panel .field select,
.form--panel .field textarea {
  background-color: var(--ink);
  border-color: var(--line);
  color: var(--fg);
}

.form--panel .field input::placeholder,
.form--panel .field textarea::placeholder {
  color: var(--fg-muted);
}

.form--panel .field input:hover,
.form--panel .field select:hover,
.form--panel .field textarea:hover {
  border-color: var(--line-strong);
}

.form--panel .field input:focus,
.form--panel .field select:focus,
.form--panel .field textarea:focus {
  border-color: var(--gold);
  background-color: var(--ink-raised);
}

.form--panel .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231e336b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.7 6 6.3l5-4.6'/%3E%3C/svg%3E");
}

.form--panel .field select option {
  background: var(--ink-raised);
  color: var(--fg);
}

/* One line: the note sits beside the button, not under a 34ch cap */
.form--panel .form__note {
  max-width: none;
}

.form--panel .field__error {
  color: #f0b8a0;
}

.form--panel .field.has-error input,
.form--panel .field.has-error select,
.form--panel .field.has-error textarea {
  border-color: #e08a6a;
}

.form--panel .form__status {
  background: rgba(201, 169, 124, 0.12);
}

.form--panel .form__status strong {
  color: var(--fg);
}

.form--panel .form__status p {
  color: var(--fg-muted);
}

.form--panel .form__note {
  color: var(--fg-muted);
}

.form--panel .form__note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   14b. Legal pages
   -------------------------------------------------------------------------- */

.legal {
  padding-top: clamp(7.5rem, 13vw, 11rem);
}

/* --------------------------------------------------------------------------
   Legal pages — header
   These two pages carry their own header rather than the floating pill, and
   its classes had no rules at all: the lockup rendered at its intrinsic 322px
   and the phone ran straight into the Contact link. One row, sized to match
   the pill on the main page.
   -------------------------------------------------------------------------- */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(0.85rem, 1.6vw, 1.25rem);
}

.header__mark img {
  display: block;
  height: clamp(34px, 3.4vw, 46px);
  width: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
}

.header__phone,
.header__menu {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg);
  transition: color var(--dur-micro) var(--ease-soft);
}

.header__phone:hover,
.header__menu:hover {
  color: var(--gold);
}

/* The action, given the same outline the rest of the page uses */
.header__menu {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: clamp(0.9rem, 1.6vw, 1.4rem);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.header__menu:hover {
  background: var(--gold);
  color: var(--ink);
}

/* The header is fixed, so the page needs its height cleared at the top */
.legal {
  padding-top: clamp(5.5rem, 9vw, 8rem);
}

@media (max-width: 560px) {
  .header__phone {
    display: none;
  }
}

.legal__body {
  max-width: 68ch;
  margin-top: var(--gap-title);
  color: var(--fg-muted);
}

.legal__body h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal__body p + p {
  margin-top: 1rem;
}

.legal__body a {
  color: var(--fg);
  border-bottom: 1px solid var(--gold);
}

.legal__notice {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink-raised);
  color: var(--gold);
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   15. Reveal animations
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-text) var(--ease),
    transform var(--dur-text) var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Media mask reveal — clip-path wipe plus a slow settle */
[data-reveal="media"] {
  opacity: 1;
  transform: none;
  clip-path: inset(14% 8% 14% 8% round var(--radius-media));
  transition: clip-path var(--dur-media) var(--ease);
}

[data-reveal="media"].is-in {
  clip-path: inset(0% 0% 0% 0% round var(--radius-media));
}

[data-reveal="media"] > img,
[data-reveal="media"] > video {
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}

[data-reveal="media"].is-in > img,
[data-reveal="media"].is-in > video {
  transform: scale(1);
}

/* Word-level text reveal — split in JS so inline markup survives */
.reveal-lines .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.reveal-lines.is-in .word {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  .footer__top {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 0.85fr)
      minmax(0, 0.5fr);
    gap: clamp(2rem, 3.5vw, 3.5rem);
  }
}

@media (max-width: 1100px) {
  .audience__layout,
  .faq__layout,
  .cta__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Stacked, the title has nothing left to ride alongside */
  .faq__aside {
    position: static;
  }

  /* Four portrait cards get too narrow to read the caption bar: go two-up */
  .vreviews {
    --per-row: 2;
    --row-gap: clamp(0.75rem, 1.8vw, 1.25rem);
  }

  .treviews {
    --per-row: 2;
  }

  .audience__media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  /* Stacked it no longer has a column beside it to match in height, and the
     min-height left over from that pairing was flattening it into a band */
  .cta__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  /* Two columns, two rows: the brand lockup opens the first one, the links
     close the second rather than being squeezed into a third column */
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  /* Two columns: the links open the second row rather than closing the first */
  .footer__nav {
    justify-self: start;
  }

  .footer__nav ul {
    justify-content: start;
  }
}

@media (max-width: 900px) {
  .tabs {
    justify-content: flex-start;
  }

  /* The head stacks: type first, action underneath, both still left aligned */
  .display-head {
    align-items: flex-start;
    gap: clamp(1.25rem, 3vw, 1.75rem);
  }

  /* Stacked and narrow, one line no longer fits: let it break */
  .display-head__title {
    white-space: normal;
  }

  /* One under the other, with the frames capped so a portrait never fills the
     whole width of a tablet */
  .founders__list {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3.5rem, 9vw, 5.5rem);
  }

  .founder {
    max-width: 34rem;
  }
}

@media (max-width: 767px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__foot .btn {
    width: 100%;
    justify-content: center;
  }

  .call-fab {
    display: inline-flex;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  /* The switch is the widest thing in the head on a phone: let it wrap */
  .tabs--pill {
    display: flex;
    width: 100%;
  }

  .tabs--pill .tab {
    flex: 1;
    justify-content: center;
    padding-inline: 0.75rem;
  }

  /* Controls take the full width: switch across the top, count and arrows
     holding the two ends of the row below it */
  .reviews__controls {
    width: 100%;
    justify-items: stretch;
  }
}

@media (max-width: 479px) {
    .arc::before,
  .arc::after {
    height: 24px;
  }
}

/* --------------------------------------------------------------------------
   16b. Phone layout
   Everything above this point is the desktop composition and stays as it is.
   The rules below only ever apply at 767px and under, where the single column
   asks for a different reading order: actions run the full width, the founders
   carry their own languages, the event frames stack over one another as the
   page moves, the review track shows the next card at its edge, and the footer
   sits on the centre line.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

  /* ---- Actions ----------------------------------------------------------
     One column, so every request button takes the whole measure rather than
     sitting as a short pill against a wide empty side */

  .btn,
  .head-btn {
    width: 100%;
    justify-content: center;
  }

  .head-btn {
    justify-self: stretch;
    white-space: normal;
  }

  /* The FAQ action was capped at a short width for the desktop rail */
  .faq__aside-cta {
    max-width: none;
    justify-content: center;
    padding-inline: 1.5rem;
  }

  /* Both wrappers are flex rows: let the button hold its own line and the
     note under it take the next one */
  .cta__action,
  .audience__action,
  .form__foot {
    flex-direction: column;
    align-items: stretch;
  }

  /* Stacked, the wrapper is a column: the 16rem basis would be read as a
     height and open a gap between the note and the lines under it */
  .cta__note {
    flex: 0 0 auto;
    text-align: center;
  }

  /* Once the script has moved the events action under the two panels it needs
     its own air above, and no longer answers to the head grid */
  .head-btn--under {
    margin-top: clamp(2rem, 7vw, 2.75rem);
  }

  /* The role has to hold one line: the tracking and the size come down far
     enough that all three words fit across a 360px column */
  .founder__role {
    gap: 0.45rem;
    font-size: 0.6875rem;
    letter-spacing: 0.075em;
    white-space: nowrap;
  }

  .founder {
    max-width: none;
  }

  /* ---- Frames -----------------------------------------------------------
     One column at full measure. The 16:10 frame the tablet step gives this
     photograph reads as a band cut across a portrait once it is this wide,
     so the last step down squares it up. */

  .audience__media {
    aspect-ratio: 4 / 3;
  }

  /* ---- FAQ --------------------------------------------------------------
     Read at arm's length rather than across a desk. The questions are what
     carries this section, so they come up a step off the clamp floor. */

  .faq__question {
    font-size: 1.25rem;
  }

  /* ---- Reviews ----------------------------------------------------------
     One card and half of the next, so the track reads as something that
     carries on past the edge rather than as a single framed item */

  .vreviews,
  .treviews {
    --per-row: 1.5;
  }

  /* ---- Footer -----------------------------------------------------------
     Stacked, every block sits on the centre line */

  .footer__top {
    justify-items: center;
    text-align: center;
  }

  /* One column: a rule down the left of a centred block would sit off to one
     side of it, so the separation turns into a line above each zone. */
  .footer__nav,
  .footer__connect {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: clamp(1.5rem, 5vw, 2rem);
    width: 100%;
  }

  .footer__brand,
  .footer__connect {
    justify-items: center;
    text-align: center;
  }

  .footer__icons {
    justify-content: center;
  }

  .footer__nav {
    justify-self: stretch;
  }

  .footer__nav ul {
    justify-content: center;
    text-align: center;
  }

  .footer__brand {
    justify-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Centred, the legal pair now runs under the floating call button: the last
     line of the page needs the clearance that the right-hand column had */
  .footer {
    padding-bottom: 5.5rem;
  }
}

/* The role line is the tightest thing on the page: one more step down keeps
   it on a single line on the narrowest phones still in use */
@media (max-width: 400px) {
  .founder__role {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }
}

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  [data-reveal].is-in,
  [data-reveal="media"],
  [data-reveal="media"].is-in {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  [data-reveal="media"] > img,
  [data-reveal="media"] > video {
    transform: none;
  }

  .reveal-lines .word {
    opacity: 1;
    transform: none;
  }

  /* The dialog appears rather than rises */
  .modal__backdrop,
  .modal__panel {
    opacity: 1;
    transform: none;
  }

  .audience__media {
    position: relative;
    top: auto;
  }

  /* The track jumps to the page rather than gliding to it */
  .rev-row {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Touch pass
   Everything a finger has to hit, brought up to a real target size. Applied by
   pointer type rather than by width, because a small laptop with a mouse does
   not need 48px buttons and a large tablet does.
   -------------------------------------------------------------------------- */

@media (hover: none) {
  /* The pager words are the main control on a phone, and at text height they
     were a ~28px target. The row keeps its look; only the hit area grows. */
  .epager__btn {
    min-height: 44px;
    padding-inline: 0.25rem;
  }

  .typetab {
    min-height: 44px;
  }

  .footer__icons a {
    width: 44px;
    height: 44px;
  }

  .footer__nav a,
  .footer__legal a {
    display: inline-block;
    padding-block: 0.35rem;
  }

  /* Hover frosting never fires on touch, so the frame is left clear and the
     cue in the corner carries the affordance on its own. */
  .ecard__veil {
    opacity: 0;
  }
}
