/* ==========================================================================
   Rahnie — therahnie.com
   One stylesheet: the design system as custom properties, then components.
   Ink carries the evening. Paper carries the agreement. (website/DESIGN.md)
   ========================================================================== */

/* ---------------------------------------------------------------- Fonts --
   Self-hosted variable woff2 (Fraunces opsz 9–144, wght 300–600; Manrope
   wght 400–700). Nothing is requested from Google. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/fraunces-roman-latin.woff2") format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/fraunces-roman-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* --------------------------------------------------------------- Tokens -- */
:root {
  /* Palette — identical to the apps */
  --ink: #121319; --ink-2: #1B1D27; --ink-3: #262936;
  --gold: #C8A24B; --gold-light: #E4CE93; --gold-deep: #9C7A2E;
  --paper: #F5F2EC; --paper-2: #EDE8DE;
  --text: #F4EFE6; --muted: #8E8A96;
  --rule-ink: rgba(244, 239, 230, .14);
  --rule-paper: rgba(18, 19, 25, .14);
  --scrim: rgba(18, 19, 25, .45);

  /* Families */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale: minimum at 375px, maximum at 1440px, linear between */
  --fs-display: clamp(52px, calc(22.4px + 7.89vw), 136px);
  --fs-h1: clamp(44px, calc(20px + 6.39vw), 112px);
  --fs-index: clamp(40px, calc(20.3px + 5.26vw), 96px);
  --fs-h2: clamp(34px, calc(23.4px + 2.82vw), 64px);
  --fs-statement: clamp(26px, calc(18.3px + 2.07vw), 48px);
  --fs-h3: clamp(24px, calc(21.2px + .75vw), 32px);
  --fs-cta: clamp(22px, calc(19.9px + .56vw), 28px);
  --fs-lede: clamp(19px, calc(17.2px + .47vw), 24px);
  --fs-body: clamp(16px, calc(15.65px + .094vw), 17px);
  --fs-nav: 14px;
  --fs-small: 14px;
  --fs-label: 11px;

  /* Space: 4px base, then an 8-point progression */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 192px; --s-12: 256px;
  --section-pad: clamp(80px, calc(40.6px + 10.52vw), 192px);
  --gutter: clamp(20px, calc(4.5px + 4.13vw), 64px);
  --header-h: 64px;

  /* Material */
  --shadow-object: 0 48px 96px -32px rgba(0, 0, 0, .6), 0 16px 32px -16px rgba(0, 0, 0, .45);
  --focus: 0 0 0 2px var(--ink), 0 0 0 4px var(--gold);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-micro: 200ms; --t-ui: 400ms; --t-reveal: 700ms; --t-line: 1100ms; --t-film: 1600ms;

  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --header-h: 80px; } }

/* ----------------------------------------------------------------- Base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100;
  padding: 12px 18px; background: var(--gold); color: var(--ink);
  font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 2px;
}
.skip-link:not(:focus) {
  width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* --------------------------------------------------------------- Layout -- */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 20px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } }

.section { padding-block: var(--section-pad); position: relative; }
/* Where one ink section runs straight into another the ground does not change,
   so the space between them must not double into a void. */
.section.on-ink + .section.on-ink { padding-block-start: calc(var(--section-pad) / 2); }
.on-ink { background: var(--ink); }
.on-ink-2 { background: var(--ink-2); }
.on-paper { background: var(--paper); color: var(--ink); }

/* ----------------------------------------------------------- Typography -- */
.label {
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label); line-height: 1.3;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.on-paper .label { color: var(--ink-3); }
.caption { font-size: var(--fs-small); line-height: 1.5; letter-spacing: .01em; color: var(--muted); }

.display, .h1, .h-index, .h2, .statement, .h3, .lede, .cta, .wordmark {
  font-family: var(--serif); font-optical-sizing: auto;
}
.display, .h1, .h-index, .h2, .statement { font-variation-settings: "opsz" 144; }
.display { font-weight: 300; font-size: var(--fs-display); line-height: .92; letter-spacing: -.025em; }
.h1 { font-weight: 300; font-size: var(--fs-h1); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.h-index { font-weight: 300; font-size: var(--fs-index); line-height: 1; letter-spacing: -.02em; }
.h2 { font-weight: 350; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.statement { font-weight: 330; font-size: var(--fs-statement); line-height: 1.18; letter-spacing: -.01em; max-width: 18em; text-wrap: pretty; }
.h3 { font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.005em; text-wrap: balance; }
.lede { font-weight: 380; font-size: var(--fs-lede); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }
.body { max-width: 62ch; text-wrap: pretty; }
.body + .body { margin-block-start: var(--s-4); }
.display em, .h1 em, .h2 em, .statement em, .h3 em, .lede em { font-style: italic; }
.muted { color: var(--muted); }

/* ---------------------------------------------------- Links and buttons -- */
/* Text button: label style, gold, arrow 6px after, underline draws on hover */
.tbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label); line-height: 1.3;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none;
  position: relative;
}
.tbtn__text { position: relative; }
.tbtn__text::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -5px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
}
[dir="rtl"] .tbtn__text::after { transform-origin: right center; }
.tbtn:hover .tbtn__text::after { transform: scaleX(1); }
.tbtn:hover { color: var(--gold-light); }
.arrow { font-family: "Helvetica Neue", Arial, sans-serif; font-style: normal; font-weight: 400; letter-spacing: 0; }
.on-paper .tbtn { color: var(--ink); }

/* Serif call to action: Fraunces italic, gold underline offset 6px */
.cta {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-weight: 400; font-style: italic; font-size: var(--fs-cta); line-height: 1.2;
  color: var(--text); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.cta .arrow { font-size: .8em; text-decoration: none; display: inline-block; }
.cta:hover { text-decoration-color: var(--gold-light); }
.on-paper .cta { color: var(--ink); text-decoration-color: var(--gold-deep); }

/* The one solid button: register-interest submit only */
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding-inline: 32px; border-radius: 2px;
  background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: .14em; text-transform: uppercase;
}
.btn-solid:hover { background: var(--gold-light); }
.btn-solid:disabled { cursor: default; opacity: .55; }
.btn-solid[aria-busy="true"] { opacity: 1; cursor: progress; }

@media (prefers-reduced-motion: no-preference) {
  .tbtn__text::after { transition: transform var(--t-ui) var(--ease-out); }
  .tbtn, .cta, .btn-solid, .nav a { transition: color var(--t-micro), text-decoration-color var(--t-micro), background-color var(--t-micro); }
}

/* --------------------------------------------------------------- Header -- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 40;
  height: var(--header-h); color: var(--text);
}
.site-header.is-solid { background: var(--ink); box-shadow: inset 0 -1px 0 var(--rule-ink); }
/* Without JavaScript the transparent header never turns solid, so it scrolls
   away with the hero instead of riding over the paper sections. */
.no-js .site-header:not(.site-header--solid) { position: absolute; }
.site-header--solid { background: var(--ink); box-shadow: inset 0 -1px 0 var(--rule-ink); }
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: background-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out); }
}
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__word { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.nav { display: none; }
.clock { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px;
  font-weight: 600; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 40px; }
  .nav__link {
    position: relative; font-size: var(--fs-nav); font-weight: 500; line-height: 1;
    letter-spacing: .02em; color: var(--text); text-decoration: none; padding-block: 14px;
  }
  .nav__link::after {
    content: ""; position: absolute; inset-inline: 0; inset-block-end: 6px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left center;
  }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .clock {
    display: block; position: absolute; inset-inline-start: 50%; transform: translateX(-50%);
    font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums;
    letter-spacing: .01em; white-space: nowrap;
  }
  .clock__city { margin-inline-end: .7em; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .nav__link::after { transition: transform var(--t-ui) var(--ease-out); }
  .clock { transition: color var(--t-ui) var(--ease-out); }
}
/* Over footage or a photograph (the header before it turns solid, the home
   hero) small gold type rises to gold-light and the clock to the text colour:
   measured against the brightest frames of the film and the page heroes, gold
   and muted fall below 4.5:1 there. On solid ink they stay gold and muted. */
.site-header:not(.is-solid):not(.site-header--solid) .tbtn, .hero .tbtn { color: var(--gold-light); }
.site-header:not(.is-solid):not(.site-header--solid) .tbtn:hover, .hero .tbtn:hover { color: var(--text); }
.site-header:not(.is-solid):not(.site-header--solid) .clock { color: var(--text); }

/* Mobile menu: a full-screen ink overlay */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink);
  display: flex; flex-direction: column; overflow-y: auto;
}
.menu__bar { height: 64px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__list { display: flex; flex-direction: column; gap: 8px; padding-block: var(--s-8) var(--s-7); }
.menu__list a {
  font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1.1; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144; color: var(--text); text-decoration: none; display: inline-block; padding-block: 4px;
}
.menu__list a[aria-current="page"] { font-style: italic; }
.menu__foot { padding-block: var(--s-6); border-top: 1px solid var(--rule-ink); font-size: var(--fs-small); color: var(--muted); }
/* The legal links sit at the foot of the overlay: the auto margin belongs on
   the flex item (the wrapper), not on the paragraph inside it. */
.menu > .wrap:last-child { margin-block-start: auto; }
.menu__foot a { color: var(--text); text-decoration: none; }
.menu__foot a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
@media (min-width: 1024px) { .menu { display: none !important; } }

/* ------------------------------------------------------------ Home hero -- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px;
  overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; object-position: 50% 50%; }
.hero__video { opacity: 0; }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero__video { transition: opacity 600ms var(--ease-out); } }
.hero__scrim { position: absolute; inset: 0; background: var(--scrim); }
/* Legibility shades over real footage: one under the transparent header (as on
   the page heroes), one under the headline zone. Some cuts are bright (a lit
   timber ceiling, white linen in low sun), and small gold type sits on both. */
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(18, 19, 25, .7) 0, rgba(18, 19, 25, 0) 180px),
  linear-gradient(to bottom, rgba(18, 19, 25, 0) 30%, rgba(18, 19, 25, .8) 100%); }
.hero__content { position: absolute; inset-inline: 0; inset-block-end: 88px; }
.hero__text { grid-column: 1 / -1; }
.hero__title { margin: 0; }
.line { display: block; overflow: hidden; padding-block-end: .08em; margin-block-end: -.08em; }
.line__inner { display: block; }
.hero__lede { margin-block-start: var(--s-6); max-width: 34ch; color: var(--text); font-size: var(--fs-body); line-height: 1.6; text-wrap: pretty; }
.hero__links { margin-block-start: var(--s-5); display: flex; flex-wrap: wrap; column-gap: var(--s-6); row-gap: 0; }
.hero__bar { position: absolute; inset-inline: 0; inset-block-end: 20px; }
.hero__bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__shot { font-size: var(--fs-small); color: var(--text); opacity: .86; text-align: end; }
@media (min-width: 640px) {
  .hero__content { inset-block-end: 112px; }
  .hero__links { margin-block-start: var(--s-7); }
  .hero__bar { inset-block-end: 32px; }
}
@media (min-width: 1024px) { .hero__text { grid-column: 1 / span 9; } }

/* Pause control — WCAG 2.2.2 */
.pause {
  display: inline-flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px;
  font-weight: 600; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.pause__glyph { position: relative; width: 10px; height: 10px; flex: none; }
.pause__glyph::before, .pause__glyph::after { content: ""; position: absolute; top: 0; width: 2px; height: 10px; background: currentColor; }
.pause__glyph::before { left: 1px; }
.pause__glyph::after { left: 7px; }
.pause[data-state="paused"] .pause__glyph::before {
  left: 1px; width: 0; height: 0; background: none;
  border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor;
}
.pause[data-state="paused"] .pause__glyph::after { display: none; }
.pause:hover { color: var(--gold-light); }

/* The opening (home, once per session, motion allowed only) */
.intro-curtain, .intro-mark { display: none; }
.intro .intro-curtain { display: block; position: fixed; inset: 0; z-index: 55; background: var(--ink); }
.intro .intro-mark {
  display: block; position: fixed; z-index: 56; width: 88px; height: 88px;
  inset-block-start: calc(50% - 44px); inset-inline-start: calc(50% - 44px); pointer-events: none;
}
.intro-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-mark circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.intro .hero__title .line__inner { transform: translateY(105%); }
.intro [data-intro-late] { opacity: 0; }
.intro .site-header .brand__mark { opacity: 0; }
/* If the script never arrives, the page still opens. */
.intro:not(.intro-live) .intro-curtain,
.intro:not(.intro-live) .intro-mark { animation: intro-failsafe-hide 0s 3s forwards; }
.intro:not(.intro-live) .hero__title .line__inner,
.intro:not(.intro-live) [data-intro-late],
.intro:not(.intro-live) .site-header .brand__mark { animation: intro-failsafe-show 0s 3s forwards; }
@keyframes intro-failsafe-hide { to { opacity: 0; visibility: hidden; } }
@keyframes intro-failsafe-show { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ Statement -- */
.statement-sec .label { margin-block-end: var(--s-5); }
@media (min-width: 1024px) {
  .statement-sec .label { grid-column: 1 / span 2; margin: 0; padding-block-start: .9em; }
  .statement-sec .statement { grid-column: 3 / span 8; }
}

/* ----------------------------------------------------- Editorial pair -- */
.pair { row-gap: var(--s-9); }
.pair__fig { overflow: hidden; background: var(--ink-2); }
.pair__fig img { width: 100%; height: 100%; object-fit: cover; }
.pair__item--creators .pair__fig { aspect-ratio: 4 / 5; }
.pair__item--venues .pair__fig { aspect-ratio: 3 / 4; }
.pair__item--venues .pair__media { width: 80%; margin-inline-start: auto; }
.pair__item .caption { margin-block-start: var(--s-3); }
.pair__text { margin-block-start: var(--s-6); }
.pair__text .h2 { margin-block-start: var(--s-5); }
.pair__text .body { margin-block-start: var(--s-5); }
.pair__text .tbtn { margin-block-start: var(--s-5); }
@media (prefers-reduced-motion: no-preference) {
  .pair__fig img { transition: transform 1200ms var(--ease-out); }
  .pair__item:hover .pair__fig img { transform: scale(1.03); }
}
@media (min-width: 1024px) {
  .pair__item--creators { grid-column: 1 / span 7; }
  .pair__item--venues { grid-column: 9 / span 4; margin-block-start: var(--s-9); }
  .pair__item--venues .pair__media { width: 100%; }
  .pair__text { max-width: 30em; }
}

/* ---------------------------------------------------- Experience index -- */
.xp__head { row-gap: var(--s-5); margin-block-end: var(--s-8); }
@media (min-width: 1024px) {
  .xp__head .label { grid-column: 1 / span 4; }
  .xp__head .lede { grid-column: 8 / span 5; }
}
.xp__list { border-top: 1px solid var(--rule-ink); }
.xp__row { border-bottom: 1px solid var(--rule-ink); padding-block: 28px; }
.xp__inline { aspect-ratio: 16 / 9; overflow: hidden; margin-block-end: var(--s-5); background: var(--ink); }
.xp__inline img { width: 100%; height: 100%; object-fit: cover; }
.xp__name { display: inline-block; position: relative; }
.xp__name::after {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -.04em; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left center;
}
.xp__desc { margin-block-start: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.xp__float { display: none; }
@media (min-width: 1024px) {
  .xp__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; }
  .xp__row .xp__inline { grid-column: 1 / -1; }
  .xp__name { grid-column: 1 / span 8; justify-self: start; }
  .xp__desc { grid-column: 9 / span 4; margin: 0; text-align: end; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .xp__inline { display: none; }
  .xp__float {
    display: block; position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 30;
    width: 360px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; overflow: hidden; background: var(--ink);
    will-change: transform, opacity;
  }
  .xp__float.is-on { opacity: 1; }
  .xp__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
  .xp__float img.is-on { opacity: 1; }
  .xp__list.is-hovering .xp__row:not(.is-active) .xp__name { color: var(--muted); }
  .xp__row.is-active .xp__name::after { transform: scaleX(1); }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .xp__float { transition: opacity var(--t-ui) var(--ease-out); }
  .xp__float img { transition: opacity var(--t-ui) var(--ease-out); }
  .xp__name { transition: color var(--t-ui) var(--ease-out); }
  .xp__name::after { transition: transform var(--t-ui) var(--ease-out); }
}

/* -------------------------------------------- Collaboration steps (paper) */
.steps .grid { row-gap: var(--s-8); }
.steps__intro .h2 { margin-block-start: var(--s-5); }
.steps__intro .lede { margin-block-start: var(--s-6); }
.steps__list { border-top: 1px solid var(--rule-paper); }
.step { border-bottom: 1px solid var(--rule-paper); padding-block: var(--s-7); }
.step__head { display: flex; align-items: baseline; gap: var(--s-4); }
.step__num {
  font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: .9; color: var(--gold-deep);
  font-variant-numeric: oldstyle-nums; font-feature-settings: "onum" 1; min-width: .7em;
}
.step__title { color: var(--ink); }
.step__lanes { display: grid; gap: var(--s-5); margin-block-start: var(--s-5); }
.lane .label { margin-block-end: var(--s-2); }
.lane p:not(.label) { color: var(--ink); max-width: 34ch; text-wrap: pretty; }
@media (min-width: 640px) { .step__lanes { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
@media (min-width: 1024px) {
  .steps__intro { grid-column: 1 / span 4; position: sticky; top: 120px; align-self: start; }
  .steps__list { grid-column: 6 / span 7; }
  .step { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
  .step__head { display: contents; }
  .step__num { grid-row: 1 / span 2; }
  .step__title { grid-column: 2; }
  .step__lanes { grid-column: 2; }
}

/* ----------------------------------------------------------------- Trust -- */
.trust .grid { row-gap: var(--s-9); align-items: center; }
.trust__media { position: relative; width: 78%; }
.trust__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.trust__photo img { width: 100%; height: 100%; object-fit: cover; }
.trust__media .caption { margin-block-start: var(--s-3); }
.phone.trust__phone { position: absolute; inset-block-end: 14%; inset-inline-end: calc(var(--pw) / -2); }
.trust__text .h2 { margin-block-start: var(--s-5); }
.trust__text .body { margin-block-start: var(--s-6); }
.trust__list { margin-block-start: var(--s-7); border-top: 1px solid var(--rule-ink); }
.trust__list li { display: grid; gap: var(--s-2); padding-block: var(--s-5); border-bottom: 1px solid var(--rule-ink); }
.trust__list h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.trust__list p { color: var(--muted); max-width: 46ch; text-wrap: pretty; }
@media (min-width: 640px) { .trust__list li { grid-template-columns: 12em minmax(0, 1fr); column-gap: var(--s-5); align-items: baseline; } }
@media (min-width: 1024px) {
  .trust__media { grid-column: 1 / span 5; width: 100%; }
  .trust__text { grid-column: 8 / span 5; }
}
/* Small laptops: five columns are too narrow for a 12em title rail */
@media (min-width: 1024px) and (max-width: 1279px) { .trust__list li { grid-template-columns: 7.5em minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Cities -- */
.cities__head { margin-block-end: var(--s-7); }
.band { margin: 0; }
.band__img { aspect-ratio: 21 / 9; overflow: hidden; background: var(--ink-2); }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band .caption { margin-block-start: var(--s-3); }
.cities__list { margin-block-start: var(--s-9); row-gap: var(--s-8); }
.city__name { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h1); line-height: .95; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.city__areas { margin-block-start: var(--s-5); color: var(--muted); max-width: 40ch; }
@media (max-width: 639px) { .band__img { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) {
  .city--dubai { grid-column: 1 / span 7; }
  .city--abu-dhabi { grid-column: 8 / span 5; }
}

/* -------------------------------------------------------------- The apps -- */
.apps .grid { row-gap: var(--s-9); align-items: center; }
.apps__text .h2 { margin-block-start: var(--s-5); }
.apps__entries { margin-block-start: var(--s-7); display: grid; gap: var(--s-5); }
.apps__entry { border-top: 1px solid var(--rule-ink); padding-block-start: var(--s-5); }
.apps__entry dt { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.apps__entry dd { margin-block-start: var(--s-2); color: var(--muted); }
.soon { margin-block-start: var(--s-7); color: var(--gold); letter-spacing: .14em; }
.apps__text .cta { margin-block-start: var(--s-6); }
.apps__line { margin-block-start: var(--s-5); color: var(--muted); }
.apps__stage { position: relative; display: flex; justify-content: center; }
/* Two phones: the creator app in front, the venue app behind, raised 64px and scaled .9 */
.apps__stage--pair { display: block; height: calc(var(--pw) * 2.1667 + 64px); --pw: 180px; }
.apps__stage--pair .phone { position: absolute; }
.apps__stage--pair .phone--front { z-index: 2; inset-block-start: 64px; inset-inline-start: calc(50% - var(--pw) * .85); }
.apps__stage--pair .phone--back { z-index: 1; inset-block-start: 0; inset-inline-start: calc(50% - var(--pw) * .1); transform: scale(.9); transform-origin: top center; }
@media (min-width: 400px) { .apps__stage--pair { --pw: 200px; } }
@media (min-width: 640px) { .apps__stage--pair { --pw: 260px; } }
@media (min-width: 1024px) {
  .apps__text { grid-column: 1 / span 5; }
  .apps__stage { grid-column: 7 / span 6; }
}
@media (min-width: 1280px) { .apps__stage--pair { --pw: 300px; } }

/* ------------------------------------------------------- Phone (device) -- */
/* A generic phone drawn in CSS: 9:19.5, no notch or island. The screen is
   real Rahnie app UI laid out at 390pt and scaled into the frame. */
.phone {
  --pw: 300px; --k: .71795;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.5; flex: none;
  padding: calc(var(--pw) * .0333); border-radius: calc(var(--pw) * .16);
  background: var(--ink-3);
  box-shadow: var(--shadow-object), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * .1333); background: #0E0F14;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* clip transformed children in Safari */
}
.phone--280 { --pw: 280px; --k: .67009; }
.phone--240 { --pw: 240px; --k: .57436; }
.phone--220 { --pw: 220px; --k: .52650; }
.phone--200 { --pw: 200px; --k: .47863; }
.phone--170 { --pw: 170px; --k: .40684; }
.phone--150 { --pw: 150px; --k: .35898; }
/* k = (width - 2 x bezel) / 390 = width x .0023932 */
.apps__stage--pair .phone { --pw: inherit; --k: .43077; }
@media (min-width: 400px) { .apps__stage--pair .phone { --k: .47863; } }
@media (min-width: 640px) { .apps__stage--pair .phone { --k: .62222; } }
@media (min-width: 1280px) { .apps__stage--pair .phone { --k: .71795; } }
.trust__phone { --pw: 150px; --k: .35898; }
@media (min-width: 640px) { .trust__phone { --pw: 240px; --k: .57436; } }
@media (min-width: 1280px) { .trust__phone { --pw: 280px; --k: .67009; } }
.apps__stage--single .phone { --pw: 240px; --k: .57436; }
@media (min-width: 640px) { .apps__stage--single .phone { --pw: 280px; --k: .67009; } }
@media (min-width: 1280px) { .apps__stage--single .phone { --pw: 300px; --k: .71795; } }

/* --------------------------------------------- App UI inside the phone -- */
/* Tokens copied from mobile/packages/ui/src/theme.ts (dark scheme). */
.app {
  --c-canvas: #0E0F14; --c-surface: #1B1D27; --c-raised: #262936; --c-sunken: #121319;
  --c-content: #F4EFE6; --c-muted: #A7A7B2; --c-subtle: #74747E; --c-hairline: #2C2F3B;
  --c-gold: #C8A24B; --c-gold-text: #E4CE93; --c-gold-soft: rgba(200, 162, 75, .16); --c-on-gold: #1A1B22;
  --c-success: #3E7C5A; --c-success-soft: rgba(62, 124, 90, .2);
  --c-warn: #C08A2E; --c-warn-soft: rgba(192, 138, 46, .22);
  --c-danger: #B5483F; --c-danger-soft: rgba(181, 72, 63, .2);
  --c-info: #3A5A8C; --c-info-soft: rgba(58, 90, 140, .24);
  position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 390px; height: calc(100% / var(--k));
  transform: scale(var(--k)); transform-origin: 0 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-canvas); color: var(--c-content);
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 22px; letter-spacing: 0; text-align: left;
  font-optical-sizing: auto; user-select: none;
}
[dir="rtl"] .app { transform-origin: 100% 0; }
.app * { box-sizing: border-box; }
.app__body { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.a-status-bar { height: 47px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 34px; font-size: 15px; font-weight: 600; line-height: 1; }
.a-status-bar--over { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 3; color: #FFFFFF; }
.a-battery { display: inline-flex; align-items: center; gap: 2px; }
.a-battery::before { content: ""; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3.5px; box-shadow: inset 0 0 0 1.5px var(--c-canvas), inset 0 0 0 7px currentColor; opacity: .95; }
.a-status-bar--over .a-battery::before { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25), inset 0 0 0 7px currentColor; }
.a-battery::after { content: ""; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; opacity: .6; }
.a-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.a-ico.s12 { width: 12px; height: 12px; } .a-ico.s13 { width: 13px; height: 13px; } .a-ico.s15 { width: 15px; height: 15px; }
.a-ico.s16 { width: 16px; height: 16px; } .a-ico.s17 { width: 17px; height: 17px; } .a-ico.s19 { width: 19px; height: 19px; }
.a-ico.s20 { width: 20px; height: 20px; } .a-ico.s22 { width: 22px; height: 22px; } .a-ico.s24 { width: 24px; height: 24px; }
.a-ico.w21 { stroke-width: 2.1; } .a-ico.w24 { stroke-width: 2.4; }
.a-ico.fill { fill: currentColor; }

/* Type */
.a-dxl { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 36px; letter-spacing: -.6px; }
.a-dl { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -.4px; }
.a-dm { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 29px; letter-spacing: -.3px; }
.a-ds { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 25px; letter-spacing: -.2px; }
.a-bl { font-size: 17px; line-height: 25px; }
.a-bm { font-size: 15px; line-height: 22px; }
.a-bs { font-size: 13px; line-height: 19px; }
.a-cap { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .9px; }
.a-over { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; }
.a-b { font-weight: 700; }
.a-mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.t-muted { color: var(--c-muted); } .t-subtle { color: var(--c-subtle); } .t-gold { color: var(--c-gold-text); }
.t-success { color: var(--c-success); } .t-warn { color: var(--c-warn); } .t-danger { color: var(--c-danger); } .t-info { color: var(--c-info); }
.t-white { color: #FFFFFF; } .t-center { text-align: center; }
.a-clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Layout helpers */
.a-row { display: flex; align-items: center; }
.a-row.top { align-items: flex-start; }
.a-row.between { justify-content: space-between; }
.a-row.wrap { flex-wrap: wrap; }
.a-col { display: flex; flex-direction: column; }
.a-col.center { align-items: center; }
.a-flex { flex: 1; min-width: 0; }
.g2 { gap: 2px; } .g3 { gap: 3px; } .g4 { gap: 4px; } .g5 { gap: 5px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; }
.g12 { gap: 12px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; }
.a-gut { padding-inline: 20px; }
.pt12 { padding-block-start: 12px; } .pt16 { padding-block-start: 16px; } .pt24 { padding-block-start: 24px; }
.mt2 { margin-block-start: 2px; } .mt8 { margin-block-start: 8px; } .mt12 { margin-block-start: 12px; } .mt16 { margin-block-start: 16px; }
.mb12 { margin-block-end: 12px; } .mb8 { margin-block-end: 8px; }

/* Components */
.a-appbar { flex: none; height: 54px; padding-inline: 16px; display: flex; align-items: center; gap: 8px; background: var(--c-canvas); border-bottom: 1px solid var(--c-hairline); }
.a-appbar--clear { background: transparent; border-bottom: 0; }
.a-back { width: 38px; height: 38px; border-radius: 19px; display: flex; align-items: center; justify-content: center; flex: none; }
.a-back--dark { background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.a-iconbtn { width: 38px; height: 38px; border-radius: 19px; display: flex; align-items: center; justify-content: center; background: var(--c-raised); flex: none; }
.a-iconbtn--dark { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
.a-card { background: var(--c-surface); border: 1px solid var(--c-hairline); border-radius: 16px; overflow: hidden; }
.a-card.pad { padding: 16px; }
.a-card.pad20 { padding: 20px; }
.a-divider { height: 1px; background: var(--c-hairline); }
.a-photo { position: relative; overflow: hidden; background: var(--c-raised); }
.a-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-scrim { position: absolute; inset: 0; }
.a-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.a-pill.sm { height: 24px; padding-inline: 8px; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px; border-radius: 999px; border: 1px solid var(--c-hairline); background: var(--c-surface); font-size: 13px; line-height: 19px; white-space: nowrap; }
.a-chip.on { background: #121319; border-color: #121319; color: var(--c-content); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding-inline: 20px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 22px; white-space: nowrap; }
.a-btn.sm { height: 38px; padding-inline: 14px; }
.a-btn.lg { height: 54px; padding-inline: 24px; font-size: 17px; line-height: 25px; }
.a-btn.gold { background: var(--c-gold); color: var(--c-on-gold); }
.a-btn.outline { border: 1px solid var(--c-hairline); color: var(--c-content); }
.a-btn.ghost { color: var(--c-content); }
.a-btn.off { opacity: .4; }
.a-btn.full { width: 100%; }
.a-sticky { flex: none; background: var(--c-surface); border-top: 1px solid var(--c-hairline); padding: 12px 20px 28px; }
.a-progress { flex: 1; height: 8px; border-radius: 4px; background: var(--c-hairline); overflow: hidden; }
.a-progress > i { display: block; height: 100%; border-radius: 4px; background: var(--c-gold); }
.a-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--c-raised); }
.a-seg > span { flex: 1; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--c-muted); }
.a-seg > span.on { background: var(--c-surface); color: var(--c-content); }
.a-badge { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex: none; }
.a-badge.gold { background: var(--c-gold-soft); color: var(--c-gold-text); }
.a-badge.success { background: var(--c-success-soft); color: var(--c-success); }
.a-dot { width: 6px; height: 6px; border-radius: 3px; flex: none; }

/* Tier pills (TierPill) */
.tier { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding-inline: 10px; border-radius: 999px; border: 1px solid; font-weight: 700; font-size: 13px; line-height: 19px; white-space: nowrap; flex: none; }
.tier.sm { height: 24px; padding-inline: 8px; font-size: 11px; line-height: 14px; letter-spacing: .9px; }
.tier--premium { background: var(--c-gold); color: var(--c-on-gold); border-color: var(--c-gold); }
.tier--verified { background: var(--c-gold-soft); color: var(--c-gold-text); border-color: rgba(200, 162, 75, .35); }
.tier--model { background: var(--c-info-soft); color: var(--c-info); border-color: rgba(58, 90, 140, .3); }
.tier--micro { background: var(--c-raised); color: var(--c-content); border-color: var(--c-hairline); }
.tier--new { background: var(--c-success-soft); color: var(--c-success); border-color: rgba(62, 124, 90, .3); }

/* Status chips (StatusChip) */
.st { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px; border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 19px; white-space: nowrap; flex: none; }
.st.sm { height: 24px; padding-inline: 8px; font-size: 11px; line-height: 14px; letter-spacing: .9px; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.st--gold { background: var(--c-gold-soft); color: var(--c-gold-text); }
.st--gold::before { background: var(--c-gold); }
.st--info { background: var(--c-info-soft); color: var(--c-info); }
.st--success { background: var(--c-success-soft); color: var(--c-success); }
.st--neutral { background: var(--c-raised); color: var(--c-muted); }
.st--neutral::before { background: var(--c-subtle); }

/* Avatar: initials on the app's own seeded pair, as it renders without a photo */
.a-avatar { position: relative; flex: none; width: 44px; height: 44px; }
.a-avatar > b { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; color: #FFFFFF; font-size: 16px; }
.a-avatar.sm { width: 36px; height: 36px; } .a-avatar.sm > b { font-size: 13px; }
.a-avatar.lg { width: 56px; height: 56px; } .a-avatar.lg > b { font-size: 20px; }
.a-avatar > i { position: absolute; inset-inline-end: -2px; inset-block-end: -2px; width: 16px; height: 16px; border-radius: 8px; background: var(--c-surface); display: flex; align-items: center; justify-content: center; }
.a-avatar > i::before { content: "✓"; width: 12px; height: 12px; border-radius: 6px; background: var(--c-gold); color: var(--c-on-gold); font-size: 8px; line-height: 12px; font-weight: 700; text-align: center; font-style: normal; }
.av-1 { background: linear-gradient(135deg, #33261E, #C8A24B); }
.av-2 { background: linear-gradient(135deg, #2A2D3A, #8C6D34); }
.av-3 { background: linear-gradient(135deg, #22293A, #3A5A8C); }

/* QR pass */
.a-pass { background: #FFFFFF; padding: 20px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 28px rgba(31, 26, 15, .16); }
.a-qr { width: 210px; height: 210px; border-radius: 16px; overflow: hidden; background: #FFFFFF; }
.a-qr__code { width: 100%; height: 100%; }
.a-token { font-family: var(--mono); font-size: 11px; line-height: 14px; color: #8A8A94; letter-spacing: .4px; max-width: 210px; text-align: center; word-break: break-all; }

/* Points gauge */
.a-gauge { position: relative; width: 160px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.a-gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.a-gauge__value { font-family: var(--serif); font-weight: 600; font-size: 41.6px; line-height: 48px; }

/* Scan screen */
.a-scan { position: absolute; inset: 0; background: #121319; overflow: hidden; }
.a-scan__feed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.a-scan__veil { position: absolute; inset: 0; background: rgba(18, 19, 25, .35); }
.a-reticle { position: relative; width: 250px; height: 250px; }
.a-reticle__frame { position: absolute; inset: 0; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .02); }
.a-reticle__c { position: absolute; width: 36px; height: 36px; border-color: var(--c-success); border-style: solid; border-width: 0; }
.a-reticle__c.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 14px; }
.a-reticle__c.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 14px; }
.a-reticle__c.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 14px; }
.a-reticle__c.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 14px; }
.a-panel { background: var(--c-surface); border-radius: 24px 24px 0 0; padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 -10px 28px rgba(0, 0, 0, .3); }
.a-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--c-hairline); align-self: center; }

/* Misc app parts */
.a-dashed { flex: 1; height: 88px; border-radius: 12px; border: 1px dashed var(--c-hairline); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.a-thumb { position: relative; flex: 1; height: 88px; border-radius: 12px; overflow: hidden; background: var(--c-raised); }
.a-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-thumb__meta, .a-thumb__label { position: absolute; display: inline-flex; align-items: center; border-radius: 999px; color: #FFFFFF; font-size: 11px; line-height: 14px; font-weight: 600; }
.a-thumb__meta { inset-inline-end: 8px; inset-block-start: 8px; height: 20px; padding-inline: 7px; background: rgba(0, 0, 0, .38); }
.a-thumb__label { inset-inline-start: 8px; inset-block-end: 8px; height: 22px; padding-inline: 9px; background: rgba(0, 0, 0, .45); letter-spacing: .2px; }
.a-steps { display: flex; align-items: flex-start; }
.a-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.a-step__dot { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-hairline); background: var(--c-surface); font-weight: 700; font-size: 13px; color: var(--c-subtle); }
.a-step__dot.done { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-on-gold); }
.a-step__dot.active { background: #121319; border-color: #121319; color: #F4EFE6; }
.a-step__bar { flex: 1; height: 1px; margin: 13px 4px 0; background: var(--c-hairline); }
.a-step__bar.done { background: var(--c-gold); }
.a-textarea { min-height: 104px; padding: 16px; border-radius: 12px; border: 1px solid var(--c-hairline); background: var(--c-surface); color: var(--c-subtle); font-size: 15px; }
.a-stars { display: flex; gap: 2px; justify-content: center; color: var(--c-subtle); }
.a-stars .a-ico { width: 30px; height: 30px; stroke-width: 1.6; }

/* ------------------------------------------------------- Register interest -- */
/* The form is the last thing on ink before the footer (also ink): half the
   usual padding below it, so the two do not stack into a double gap. */
.register { padding-block-end: calc(var(--section-pad) / 2); }
.register .wrap { max-width: calc(560px + 2 * var(--gutter)); text-align: center; }
.register .h2 { margin-block-start: var(--s-5); }
.register .lede { margin: var(--s-6) auto 0; }
.interest { margin-block-start: var(--s-8); text-align: start; display: grid; gap: var(--s-6); }
.field { position: relative; display: grid; }
.field > label, .field > legend, .choice > legend { margin-block-end: var(--s-2); }
.field input[type="text"], .field input[type="email"] {
  height: 56px; width: 100%; padding: 0; padding-block-start: var(--s-3);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-ink); border-radius: 0;
  font-family: var(--sans); font-size: 17px; color: var(--text);
}
.field input:focus { border-bottom: 2px solid var(--gold); box-shadow: none; outline: none; }
.field input:focus-visible { box-shadow: none; }
.field:focus-within > label { color: var(--gold); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px var(--ink) inset; caret-color: var(--text); }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice > legend { padding: 0; float: left; width: 100%; }
.choice > legend + * { clear: both; }
.segment { display: inline-flex; border: 1px solid var(--rule-ink); border-radius: 999px; padding: 3px; gap: 3px; }
.segment label { position: relative; display: inline-flex; }
.segment input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segment span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.segment input:checked + span { background: var(--gold); color: var(--ink); }
.segment input:focus-visible + span { box-shadow: var(--focus); }
.segment label:hover span { color: var(--gold-light); }
.segment input:checked + span, .segment label:hover input:checked + span { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .segment span { transition: background-color var(--t-micro), color var(--t-micro); } }
.field__error { margin-block-start: var(--s-2); font-size: var(--fs-small); color: var(--text); }
/* An error is a live region that stays in the accessibility tree, so a message
   written into it is announced. Empty, it takes no room and says nothing. */
.field__error:empty { margin: 0; }
.field__error:not(:empty)::before { content: "Error: "; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[aria-invalid="true"] { border-bottom-color: var(--text) !important; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.interest__consent { font-size: var(--fs-small); color: var(--muted); }
.interest__consent a { color: var(--text); text-decoration-color: var(--gold); }
.interest__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.form__status { font-size: var(--fs-small); color: var(--text); border-inline-start: 2px solid var(--gold); padding-inline-start: var(--s-3); }
/* Empty, the status (role="alert") keeps its place in the accessibility tree,
   so a message written into it is announced, but takes no room in the form. */
.form__status:empty { position: absolute; border: 0; padding: 0; }
.interest__nojs { font-size: var(--fs-small); color: var(--muted); }
.js .interest__nojs { display: none; }
.interest__done { margin-block-start: var(--s-8); font-family: var(--serif); font-weight: 350; font-size: var(--fs-h3); line-height: 1.25; }

/* ----------------------------------------------------------------- Footer -- */
/* 192px at full width (--s-11), easing to 120px on a phone */
.site-footer { background: var(--ink); padding-block-start: clamp(120px, calc(94.6px + 6.76vw), 192px); color: var(--text); }
.footer__top { row-gap: var(--s-7); }
.footer__brand .brand__mark { width: 28px; height: 28px; }
.footer__line { margin-block-start: var(--s-4); font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 20px; line-height: 1.35; max-width: 18em; }
.footer__col .label { margin-block-end: var(--s-4); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a, .footer__col li { font-size: 15px; line-height: 1.4; color: var(--text); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.footer__mega { margin-block-start: clamp(96px, 16vw, var(--s-12)); container-type: inline-size; }
.wordmark {
  display: block; font-weight: 300; font-size: 42.4cqi; line-height: .8; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144; color: var(--text); white-space: nowrap; margin-inline-start: -.04em;
}
.footer__legal { margin-block-start: var(--s-4); }
.footer__legal-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--rule-ink); padding-block: var(--s-5); font-size: var(--fs-small); color: var(--text);
}
.footer__legal-row a { color: var(--text); text-decoration: none; }
.footer__legal-row a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer__soon { display: none; color: var(--muted); }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .footer__brand { grid-column: 1 / span 4; }
  .footer__cols { grid-column: 6 / span 7; }
  .footer__soon { display: block; }
}

/* ---------------------------------------------- Page hero (split) ------ */
.phero { position: relative; background: var(--ink); }
.phero__media { position: relative; height: 82vh; height: 82svh; min-height: 480px; overflow: hidden; background: var(--ink-2); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
/* The transparent header sits on this photo (its right half on desktop). Some
   photos are brightest at the top (lit ceilings), so the shade holds ~75% ink
   through the header's height before it fades. */
.phero__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; background: linear-gradient(rgba(18, 19, 25, .8), rgba(18, 19, 25, .7) 72px, rgba(18, 19, 25, 0)); }
.phero__text { padding-block: var(--s-8) var(--s-9); }
.phero__text .h1 { margin-block-start: var(--s-5); }
.phero__text .lede { margin-block-start: var(--s-6); }
.phero__text .cta { margin-block-start: var(--s-7); }
@media (min-width: 1024px) {
  .phero { height: 100vh; height: 100svh; min-height: 680px; max-height: 1080px; }
  .phero__media { position: absolute; inset-block: 0; inset-inline-end: 0; inset-inline-start: calc(50% + 12px); height: auto; min-height: 0; }
  .phero__grid { height: 100%; align-items: center; }
  .phero__text { grid-column: 1 / span 5; padding: 0; margin-block-start: 10vh; }
}

/* ------------------------------------------------------------- Filmstrip -- */
.strip__head { row-gap: var(--s-5); align-items: end; }
.strip__head .h2 { margin-block-start: var(--s-5); }
.strip__head .lede { margin-block-start: var(--s-6); }
.strip__nav { display: flex; gap: var(--s-4); justify-content: flex-end; }
.strip__nav button {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 22px; border-bottom: 1px solid transparent;
}
.strip__nav button:hover { color: var(--gold-light); }
.strip__nav button[aria-disabled="true"] { color: var(--muted); cursor: default; }
.strip__track {
  margin-block-start: var(--s-8); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-block-end: var(--s-6);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent; overscroll-behavior-x: contain;
}
.strip__track::-webkit-scrollbar { height: 4px; }
.strip__track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.strip__track::-webkit-scrollbar-track { background: transparent; }
.strip__list { display: flex; gap: 20px; width: max-content; align-items: flex-start; padding-inline-end: var(--gutter); }
.strip__item { scroll-snap-align: start; flex: none; }
.strip__item--a { width: 260px; }
.strip__item--b { width: 210px; margin-block-start: 48px; }
.strip__fig { overflow: hidden; background: var(--ink); }
.strip__item--a .strip__fig { aspect-ratio: 4 / 5; }
.strip__item--b .strip__fig { aspect-ratio: 3 / 4; }
.strip__fig img { width: 100%; height: 100%; object-fit: cover; }
.strip__item .caption { margin-block-start: var(--s-3); }
@media (min-width: 640px) { .strip__item--a { width: 340px; } .strip__item--b { width: 280px; } .strip__list { gap: 24px; } }
@media (min-width: 1024px) {
  .strip__head > div:first-child { grid-column: 1 / span 6; }
  .strip__head .strip__aside { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--s-6); align-items: flex-end; }
  .strip__head .strip__aside .lede { margin: 0; align-self: flex-start; }
  .strip__item--a { width: 420px; } .strip__item--b { width: 340px; }
  .strip__track { padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); }
}

/* ------------------------------------------------ Sticky phone sequence -- */
.seq__head { margin-block-end: var(--s-8); }
.seq__head .h2 { margin-block-start: var(--s-5); }
.seq__step { padding-block: var(--s-7); border-top: 1px solid var(--rule-ink); }
.seq__step:last-child { border-bottom: 1px solid var(--rule-ink); }
.seq__step .body { margin-block-start: var(--s-4); color: inherit; }
.seq__inline { margin-block-start: var(--s-7); display: flex; justify-content: center; }
.seq__inline .phone { --pw: 240px; --k: .57436; }
@media (min-width: 400px) { .seq__inline .phone { --pw: 260px; --k: .62222; } }
.seq__phone { display: none; }
@media (min-width: 1024px) {
  .seq__head { grid-column: 1 / span 6; }
  .seq__steps { grid-column: 1 / span 6; }
  .seq__step { min-height: 70vh; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; border: 0; padding-block: var(--s-8); }
  .seq__step:last-child { border: 0; }
  .seq__step .h3 { font-size: var(--fs-h2); font-weight: 350; line-height: 1.02; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
  .seq__step .body { font-family: var(--serif); font-weight: 380; font-size: var(--fs-lede); line-height: 1.45; max-width: 26ch; margin-block-start: var(--s-5); }
  .seq__inline { display: none; }
  .seq__phone { display: flex; justify-content: center; grid-column: 8 / span 4; grid-row: 1 / span 2; position: sticky; top: calc(50vh - 303px); top: calc(50svh - 303px); align-self: start; margin-block-start: 0; }
  .seq__phone .phone { --pw: 280px; --k: .67009; }
  .js .seq__step { color: var(--muted); }
  .js .seq__step.is-active { color: var(--text); }
}
.seq__screen { position: absolute; inset: 0; }
.js .seq__phone .seq__screen { opacity: 0; }
.js .seq__phone .seq__screen.is-active { opacity: 1; }
.seq__phone .seq__screen:not(:first-child) { opacity: 0; }
.js .seq__phone .seq__screen.is-active:not(:first-child) { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .seq__phone .seq__screen { transition: opacity var(--t-ui) var(--ease-out); }
  .seq__step { transition: color var(--t-ui) var(--ease-out); }
}

/* ------------------------------------------------------------ Tier ladder -- */
.tiers__head .h2 { margin-block-start: var(--s-5); }
.tiers__ladder { margin-block-start: var(--s-8); }
.tiers__list { display: grid; gap: var(--s-3); }
.tiers__list li {
  font-family: var(--serif); font-weight: 300; line-height: 1; letter-spacing: -.015em; color: var(--text);
  padding-inline-start: calc(var(--i) * 16px); font-size: var(--fs);
}
/* Position along the rising line, size, and clearance above it (lift) */
.tier-1 { --i: 0; --p: 0;   --fs: 24px; --lift: 14px; }
.tier-2 { --i: 1; --p: .2;  --fs: 28px; --lift: 16px; }
.tier-3 { --i: 2; --p: .4;  --fs: 32px; --lift: 18px; }
.tier-4 { --i: 3; --p: .6;  --fs: 38px; --lift: 22px; }
.tier-5 { --i: 4; --p: .8;  --fs: 44px; --lift: 26px; }
.tiers__line { display: none; }
.tiers__note { margin-block-start: var(--s-7); }
@media (min-width: 1024px) {
  .tiers__ladder { grid-column: 2 / span 10; position: relative; container-type: inline-size; height: calc(10.51cqw + 96px); }
  .tiers__line { display: block; position: absolute; inset-inline: 0; inset-block-end: 0; width: 100%; height: 10.51cqw; overflow: visible; }
  .tiers__line line { stroke: var(--rule-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .tiers__list { display: block; position: absolute; inset: 0; }
  .tiers__list li { position: absolute; padding: 0; inset-inline-start: calc(var(--p) * 100%); inset-block-end: calc(var(--p) * 10.51cqw + var(--lift)); white-space: nowrap; }
  .tiers__note { grid-column: 2 / span 10; }
}

/* ------------------------------------------------------ Standards (paper) -- */
.standards .grid { row-gap: var(--s-8); }
.standards__list { display: grid; gap: var(--s-7) var(--s-6); }
.standards__list .h3 { color: var(--ink); padding-block-end: var(--s-3); border-bottom: 1px solid var(--rule-paper); }
.standards__list p { margin-block-start: var(--s-4); color: var(--ink); max-width: 40ch; text-wrap: pretty; }
@media (min-width: 640px) { .standards__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .standards__title { grid-column: 1 / span 4; }
  .standards__list { grid-column: 6 / span 7; }
}

/* ------------------------------------------------------- Menu card (venues) */
.terms .wrap { display: flex; flex-direction: column; align-items: center; }
.terms__lede { text-align: center; margin-inline: auto; }
.menu-card {
  position: relative; width: 100%; max-width: 560px; margin-block-start: var(--s-8);
  background: var(--paper); color: var(--ink); padding: 40px 24px; text-align: center;
}
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--rule-paper); pointer-events: none; }
.menu-card__mark { width: 20px; height: 20px; margin-inline: auto; }
.menu-card__title { margin-block-start: var(--s-4); font-style: italic; }
.menu-card__items { margin-block-start: var(--s-6); }
.menu-card__item { padding-block: 28px; }
.menu-card__item + .menu-card__item { position: relative; }
.menu-card__item + .menu-card__item::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: calc(50% - 20px); width: 40px; height: 1px; background: var(--gold-deep); }
.menu-card__item dt { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.menu-card__item dd { margin-block-start: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 640px) { .menu-card { padding: 64px 56px; } }

/* -------------------------------------------------- Contact sheet (venues) -- */
.sheet__head .h2 { margin-block-start: var(--s-5); }
.sheet__grid { margin-block-start: var(--s-8); row-gap: var(--s-7); align-items: start; }
.sheet__fig { margin: 0; }
.sheet__img { overflow: hidden; background: var(--ink); }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; }
.sheet__fig .caption { margin-block-start: var(--s-3); }
.r-16x9 { aspect-ratio: 16 / 9; } .r-4x5 { aspect-ratio: 4 / 5; } .r-3x4 { aspect-ratio: 3 / 4; } .r-21x9 { aspect-ratio: 21 / 9; }
.sheet__fig:nth-child(even) { width: 80%; margin-inline-start: auto; }
@media (min-width: 1024px) {
  .sheet__head > * { grid-column: 1 / span 9; }
  .sheet__grid { row-gap: var(--s-7); align-items: end; }
  .sheet__fig:nth-child(even) { width: auto; margin-inline-start: 0; }
  .sheet__a1 { grid-column: 1 / span 7; } .sheet__a2 { grid-column: 8 / span 5; }
  .sheet__b1 { grid-column: 1 / span 4; } .sheet__b2 { grid-column: 5 / span 8; }
  .sheet__c1 { grid-column: 1 / span 5; } .sheet__c2 { grid-column: 6 / span 7; }
}

/* ------------------------------------------------------------------- 404 -- */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.lost__media { position: absolute; inset: 0; z-index: -1; }
.lost__media img { width: 100%; height: 100%; object-fit: cover; }
.lost__media::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.lost__text { padding-block: var(--s-10) var(--s-9); }
.lost__text .body { margin-block-start: var(--s-5); }
.lost__text .cta { margin-block-start: var(--s-7); }

/* ----------------------------------------------------------------- Reveal -- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
  .reveal--late { transition-delay: 80ms; }
  .reveal.is-pending { opacity: 0; transform: translateY(16px); }
}

/* ------------------------------------------- App screen details (cont.) -- */
.a-h300 { height: 300px; flex: none; }
.a-h140 { height: 140px; }
.a-thumb52, .a-thumb56, .a-thumb64 { flex: none; }
.a-thumb52 { width: 52px; height: 52px; border-radius: 12px; }
.a-thumb56 { width: 56px; height: 56px; border-radius: 12px; }
.a-thumb64 { width: 64px; height: 64px; border-radius: 8px; }
.a-scrim--hero { background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .08) 50%, rgba(0, 0, 0, .78)); }
.a-scrim--cover { background: linear-gradient(rgba(0, 0, 0, .08), rgba(0, 0, 0, .62)); }
.a-scrim--thumb { background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.a-hero-bar { position: absolute; inset-block-start: 44px; inset-inline: 0; z-index: 2; height: 54px; padding-inline: 16px; display: flex; align-items: center; gap: 8px; }
.a-match { position: absolute; inset-block-start: 108px; inset-inline-start: 20px; height: 28px; padding-inline: 12px; border-radius: 999px; background: var(--c-gold); color: #121319; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; line-height: 14px; font-weight: 700; }
.a-hero-id { position: absolute; inset-inline: 20px; inset-block-end: 16px; display: flex; flex-direction: column; gap: 12px; }
.a-dots { display: flex; gap: 5px; }
.a-dots i { width: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .38); }
.a-dots i.on { width: 18px; background: #FFFFFF; }
.a-white72 { color: rgba(255, 255, 255, .72); } .a-white85 { color: rgba(255, 255, 255, .85); }
.a-white90 { color: rgba(255, 255, 255, .92); } .a-white42 { color: rgba(255, 255, 255, .42); }
.a-gold-l { color: #E4CE93; } .a-gold { color: #C8A24B; } .a-ink { color: #1A1B22; }
.a-stat { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 6px; border-radius: 14px; background: var(--c-raised); border: 1px solid var(--c-hairline); }
.a-stat > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-fit { font-size: 10px; letter-spacing: -.2px; }
.a-perk-ico { width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--c-gold-soft); color: var(--c-gold-text); }
.a-deliv-dot { width: 10px; height: 10px; border-radius: 5px; margin-block-start: 7px; flex: none; background: var(--c-gold); }
.a-deliv-dot.opt { background: transparent; border: 1.5px solid var(--c-subtle); }
.a-heart { width: 46px; padding: 0; flex: none; }
.a-norm { letter-spacing: 0; text-transform: none; }
.a-countdown { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 14px; border-radius: 999px; background: var(--c-gold-soft); color: var(--c-gold-text); }
.a-info { background: var(--c-info-soft); border-color: transparent; }
.a-p16 { padding: 16px; } .a-px16 { padding-inline: 16px; } .a-py16 { padding-block: 16px; }
.w33 { width: 33%; } .w64 { width: 64%; }
.a-pct { width: 40px; text-align: end; }
.a-tag { display: inline-flex; align-items: center; height: 24px; padding-inline: 10px; border-radius: 999px; background: rgba(0, 0, 0, .42); color: #FFFFFF; font-size: 11px; line-height: 14px; font-weight: 600; }
.a-tag--draft { color: #E4CE93; letter-spacing: .9px; }
.a-cover-in { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.f13 { flex: 1.3; } .f1 { flex: 1; } .f085 { flex: .85; }
.a-dot.gold { background: var(--c-gold); } .a-dot.subtle { background: var(--c-subtle); }
.mt4 { margin-block-start: 4px; } .pt4 { padding-block-start: 4px; } .my16 { margin-block: 16px; }
.t-right { text-align: end; }
.a-matchpill { background: var(--c-gold-soft); color: var(--c-gold-text); gap: 5px; padding-inline: 10px; }
.a-scan-top { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 2; padding: 56px 16px 0; }
.a-iconbtn--glass { width: 40px; height: 40px; border-radius: 20px; background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.a-scan-count { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .12); color: #E4CE93; }
.a-scan-mid { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 20px 0; }
.a-scan-mid p { margin: 0; }
.mt24 { margin-block-start: 24px; }
.a-panel { position: relative; z-index: 2; }
.a-inforow { background: var(--c-raised); border-radius: 12px; border: 1px solid var(--c-hairline); padding: 12px; }
.a-badge--surface { background: var(--c-surface); }
.a-sticky--tight { padding-block-end: 20px; }
.a-ico.w2 { stroke-width: 2; }
.app p { margin: 0; }

/* ------------------------------------------------------- Page-level hooks -- */
html.menu-open { overflow: hidden; }
.no-js .menu-btn--js, .js .menu-btn--nojs { display: none; }
.menu-btn--nojs { text-decoration: none; }
.hero__shot { margin-inline-start: auto; }
.intro [data-intro-soft] { opacity: 0; }
.intro:not(.intro-live) [data-intro-soft] { animation: intro-failsafe-show 0s 3s forwards; }
.phero .h1 { font-size: clamp(44px, calc(23.5px + 4.8vw), 92px); }
.op-top { object-position: 50% 22%; } .op-70 { object-position: 50% 70%; } .op-60 { object-position: 50% 60%; }
.op-left { object-position: 30% 50%; } .op-right { object-position: 70% 50%; }
.label__opt { color: var(--muted); letter-spacing: .12em; }
.soon { margin-block-start: var(--s-7); }
.brand__mark, .footer__mark { color: var(--gold); }
.menu-card__mark { color: var(--gold-deep); }

/* ------------------------------------------------------------ Documents -- */
/* /privacy, /terms, /support and /delete-account (DESIGN.md 9.4). A document
   sits on paper under a solid ink header. Text runs across columns 3–9 at a
   68ch measure. On desktop the clause numbers hang in column 2 and the
   contents ride in the right rail. Gold-deep appears only at large sizes and
   as rules, never as small text on paper. */
.doc { padding-block: calc(var(--header-h) + var(--s-8)) var(--section-pad); }
.doc__grid { row-gap: var(--s-8); }
.doc__title {
  font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "opsz" 144;
  font-weight: 300; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance;
}
.doc__updated { margin-block-start: var(--s-5); }
.doc__lede { margin-block-start: var(--s-6); }
.doc__jump { margin-block-start: var(--s-5); display: flex; flex-wrap: wrap; column-gap: var(--s-6); }
.doc__mail { margin-block-start: var(--s-6); }

/* Contents: two columns above the text on small screens, a sticky rail on desktop */
.doc__toc { max-width: 68ch; border-block: 1px solid var(--rule-paper); padding-block: var(--s-5); }
.doc__toc .label { margin-block-end: var(--s-3); }
.doc__toc ol { columns: 2; column-gap: var(--s-5); }
.doc__toc li { position: relative; break-inside: avoid; }
.doc__toc a {
  display: flex; gap: var(--s-2); padding-block: var(--s-1);
  font-size: var(--fs-small); line-height: 1.5; color: var(--ink); text-decoration: none;
}
.doc__toc a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 4px; }
.doc__toc-n {
  flex: none; min-width: 1.6em; font-family: var(--serif); color: var(--ink-3);
  font-variant-numeric: oldstyle-nums; font-feature-settings: "onum" 1;
}
.doc__toc a[aria-current] .doc__toc-n { color: var(--ink); }

/* The text */
.doc__body { max-width: 68ch; }
.doc__sec + .doc__sec { margin-block-start: var(--s-7); padding-block-start: var(--s-7); border-top: 1px solid var(--rule-paper); }
.doc__sec > * + * { margin-block-start: var(--s-4); }
.doc__sec > .doc__h + * { margin-block-start: var(--s-5); }
.doc__h {
  position: relative; font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -.005em; text-wrap: balance;
}
.doc__n {
  display: inline-block; min-width: 1.3em; font-weight: 300; color: var(--gold-deep);
  font-variant-numeric: oldstyle-nums; font-feature-settings: "onum" 1;
}
.doc__sub { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: 20px; line-height: 1.3; }
.doc__sec > .doc__sub { margin-block-start: var(--s-6); }
.doc__body p, .doc__body li, .doc__body dd { text-wrap: pretty; }
:where(.doc__head, .doc__body) a:not([class]) {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-deep);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
:where(.doc__head, .doc__body) a:not([class]):hover { text-decoration-thickness: 2px; }
.doc__list > li { position: relative; padding-inline-start: var(--s-5); }
.doc__list > li + li { margin-block-start: var(--s-2); }
.doc__list > li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .85em;
  width: 12px; height: 1px; background: var(--gold-deep);
}
.doc__dl { border-top: 1px solid var(--rule-paper); }
.doc__dl > div { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-bottom: 1px solid var(--rule-paper); }
.doc__dl dt { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: 20px; line-height: 1.3; }
/* A list that closes its section hands its last rule to the section divider */
.doc__sec > .doc__dl:last-child > div:last-child { border-bottom: 0; }
.doc__note { border-inline-start: 2px solid var(--gold-deep); padding-inline-start: var(--s-4); }
.doc__note--lead { font-family: var(--serif); font-optical-sizing: auto; font-weight: 380; font-size: var(--fs-lede); line-height: 1.4; }
@media (min-width: 640px) {
  .doc__dl > div { grid-template-columns: 12em minmax(0, 1fr); column-gap: var(--s-5); align-items: baseline; }
}

/* Delete account: the way there, in each app */
.doc__paths { display: grid; gap: var(--s-6); }
.doc__path .label { margin-block-end: var(--s-2); }
.doc__route {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .4em; row-gap: var(--s-1);
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: var(--fs-h3); line-height: 1.2;
}
/* Each step keeps its arrow, so a line can break after an arrow, never before one */
.doc__route li { white-space: nowrap; }
.doc__route li:not(:last-child)::after {
  content: "→"; content: "→" / ""; margin-inline-start: .4em; position: relative; inset-block-start: -.1em;
  font-family: "Helvetica Neue", Arial, sans-serif; font-size: .7em; color: var(--gold-deep);
}
[dir="rtl"] .doc__route li:not(:last-child)::after { content: "←"; content: "←" / ""; }

/* Delete account: the web request, on ink like the register-interest form.
   Jumping to it lands on ink, without the 16px strip of paper above. */
.doc-request { scroll-margin-block-start: calc(-1 * var(--s-4)); }
.field textarea {
  display: block; width: 100%; min-height: 112px; padding: var(--s-3) 0; resize: vertical;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-ink); border-radius: 0;
  font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--text);
}
.field textarea:focus { border-bottom: 2px solid var(--gold); outline: none; box-shadow: none; }
.field textarea:focus-visible { box-shadow: none; }
.field__help { margin-block-start: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.request__next {
  display: block; margin-block-start: var(--s-4);
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.65; color: var(--muted);
}

@media (min-width: 1024px) {
  .doc { padding-block-start: calc(var(--header-h) + var(--s-10)); }
  .doc__grid { row-gap: var(--s-9); }
  .doc__head, .doc__body { grid-column: 3 / span 7; }
  .doc__body { grid-row: 2; }
  .doc__toc {
    grid-column: 10 / span 3; grid-row: 2; align-self: start;
    position: sticky; inset-block-start: calc(var(--header-h) + var(--s-6));
    max-height: calc(100vh - var(--header-h) - var(--s-8)); overflow-y: auto;
    /* The rail is an inset shadow, not a border: a scrolling box clips to its
       padding box, so the active mark below can only sit inside it. */
    border-block: 0; box-shadow: inset 1px 0 0 var(--rule-paper);
    /* 4px of room on the other sides, so a link's focus ring is not clipped */
    padding-block: 4px; padding-inline: var(--s-6) 4px;
  }
  [dir="rtl"] .doc__toc { box-shadow: inset -1px 0 0 var(--rule-paper); }
  .doc__toc ol { columns: auto; }
  /* The section being read: a gold-deep mark on the rail beside its entry */
  .doc__toc a[aria-current]::before {
    content: ""; position: absolute; inset-block: var(--s-1); inset-inline-start: calc(-1 * var(--s-6));
    width: 2px; background: var(--gold-deep);
  }
  .doc__n { position: absolute; inset-inline-end: calc(100% + var(--s-5)); min-width: 0; }
}

@media print {
  .site-header, .menu, .site-footer, .skip-link, .doc__toc, .doc-request { display: none !important; }
  body, .doc { background: #FFFFFF; color: #000000; }
  .doc { padding-block: 0; }
  .doc__body { max-width: none; }
}
