/* GENERATED by packages/tokens (npm run build:css). Do not edit. */
/* OWNER-SUPPLIED (design-tokens.json v0.2) */
:root {
  --ink: #2F3A37;
  --sage: #5B6F4E;
  --cherokee-red: #BC3F3A;
  --warm-gold: #D4A457;
  --ivory: #F7F2E8;
  --role-self: var(--cherokee-red);
  --role-partner: var(--sage);
  --font-body: "Inter", system-ui, sans-serif;
  --font-marketing-display: "Fraunces", Georgia, serif;
  /* non-colour role cues (UX plan 1.5 / 2.12, PROPOSED cues) */
  --role-self-glyph: "●";
  --role-partner-glyph: "○";
  --role-self-heading: "About me";
  --role-partner-heading: "Open to";
  --role-self-order: 1;
  --role-partner-order: 2;
  /* PROPOSED - not ratified by owner; not the owner specification */
  --proposed-red-strong: #AD3A35;
  --proposed-sage-strong: #546648;
  --proposed-muted: #59636B;
  --proposed-border-control: #59636B;
  --proposed-error: #A13434;
  --proposed-red-wash: #F2E4DD;
  --proposed-sage-wash: #E7EEE7;
  --proposed-divider: #D8CCBA;
  --proposed-paper: #FFFFFF;
  /* ACCENT - owner-approved teal accent (OD-223, 2026-10-11): landing page now, app later */
  --accent-teal: #1A5F63;
  --accent-teal-deep: #0F4C50;
  --accent-teal-night: #0B3B3E;
  --accent-teal-wash: #E1EEEA;
  --accent-teal-mist: #C9DFDA;
  --accent-gold-wash: #F6E8C9;
  --accent-gold-text: #E0B56E;
  --accent-starburst-gold: #C48B49;
}

/* TwoSwoon landing page. Colours come ONLY from @twoswoon/tokens (tokens.css is prepended at build time): the owner palette, the PROPOSED neutrals and
   the owner-approved teal ACCENT (--accent-*, OD-223). Gold is decoration only (rules, starbursts, fills behind Ink text), never a text colour on Ivory
   (guardrail C8); the lightened --accent-gold-text is text only on deep / night teal. Cormorant Garamond is used for display text at >= 20px only;
   Inter for all body text and controls.
   Landing v3 (2026-10-11): the demonstration's visual language (dark teal stage, ivory index cards in a double gold rule, italic Cormorant titles,
   owner starbursts at several depths, a gentle sunburst, rubber stamps, monogram initials) carried through every section. Motion lives in the
   ENHANCEMENTS block at the end of the file; everything above it is the complete static page. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); }
/* Metric-matched fallbacks keep layout shift low while the self-hosted fonts load. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'); size-adjust: 90%; ascent-override: 98%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --sw-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sw-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, 'Times New Roman', serif;
  --sw-paper: var(--proposed-paper);
  --sw-muted: var(--proposed-muted);
  --sw-line: var(--proposed-divider);
  --sw-gutter: clamp(16px, 5vw, 40px);
  --sw-max: 1120px;
  --sw-radius: 16px;
  --sw-focus: 3px solid var(--ink);
  /* The owner-approved teal accent (packages/tokens accent.ts; every text pairing is declared and contrast-tested there and in site.test.ts). */
  --sw-teal: var(--accent-teal);
  --sw-teal-deep: var(--accent-teal-deep);
  --sw-night: var(--accent-teal-night);
  --sw-teal-wash: var(--accent-teal-wash);
  --sw-mist: var(--accent-teal-mist);
  --sw-gold-wash: var(--accent-gold-wash);
  --sw-gold-text: var(--accent-gold-text); /* text only on deep / night teal (5.07 / 6.44); a fill behind Ink */
  --sw-gold-line: var(--accent-starburst-gold); /* the owner starburst gold: rules and ornaments only */
  --sw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; scroll-padding-bottom: 16px; } /* bottom: a keyboard focus scrolled up from below keeps its ring in view */
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sw-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--sw-focus); outline-offset: 3px; }
.sw-on-dark :focus-visible { outline-color: var(--ivory); }
.sw-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sw-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.sw-skip:focus { top: 12px; }
.sw-wrap { width: 100%; max-width: var(--sw-max); margin-inline: auto; padding-inline: var(--sw-gutter); }

/* ---------- type */
h1, h2 { font-family: var(--sw-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); text-wrap: balance; }
h3 { font-family: var(--sw-body); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.sw-eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--proposed-red-strong); }
.sw-lead { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.55; max-width: 38em; }
.sw-accent { font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; color: var(--proposed-red-strong); }
.sw-muted { color: var(--sw-muted); }
.sw-prose p + p { margin-top: 1em; }
.sw-prose { max-width: 40em; }

/* ---------- header: ivory, a double gold rule beneath */
.sw-header { position: relative; z-index: 3; background: var(--ivory); padding-block: 10px; border-bottom: 1px solid rgb(196 139 73 / 0.6); }
.sw-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; border-bottom: 1px solid rgb(196 139 73 / 0.35); pointer-events: none; }
.sw-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
/* Owner wordmark SVG (transparent, light-background art; it touches its own viewBox edges, so the link adds the margin). Header sits on Ivory, so no tile is needed. */
.sw-logo { display: block; width: 180px; max-width: 100%; padding-block: 8px; }
.sw-logo img { display: block; width: 100%; height: auto; aspect-ratio: 545.17383 / 160.77878; }
.sw-nav { margin-left: auto; }
.sw-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; padding: 0; margin: 0; }
/* Narrow screens: wordmark and button share the first row; the section links sit in one row beneath (DOM order stays logo, links, button). */
@media (max-width: 899px) {
  .sw-header__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .sw-logo { width: 150px; }
  .sw-nav { grid-column: 1 / -1; grid-row: 2; margin-left: 0; }
  .sw-nav ul { gap: 0 16px; }
  .sw-nav a:not(.sw-btn) { font-size: 0.875rem; }
  .sw-header .sw-btn--small { padding: 8px 14px; font-size: 0.875rem; }
}
/* The smallest phones: the first link goes to the same place as the button beside the wordmark, so it steps aside and the links keep to one row. */
@media (max-width: 399px) { .sw-nav li:first-child { display: none; } }
.sw-nav a:not(.sw-btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.sw-nav a:not(.sw-btn):hover { text-decoration: underline; text-decoration-color: var(--sw-gold-line); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- buttons */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.sw-btn--primary { background: var(--cherokee-red); color: var(--sw-paper); border-color: var(--cherokee-red); box-shadow: 0 10px 18px -12px rgb(173 58 53 / 0.75); }
.sw-btn--primary:hover { background: var(--proposed-red-strong); border-color: var(--proposed-red-strong); }
.sw-btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.sw-btn--secondary:hover { background: var(--ink); color: var(--ivory); }
.sw-btn:active { transform: translateY(1px); }
.sw-btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; box-shadow: none; }
.sw-on-dark .sw-btn--primary { background: var(--sw-gold-text); color: var(--ink); border-color: var(--sw-gold-text); box-shadow: none; }
.sw-on-dark .sw-btn--primary:hover { background: var(--ivory); border-color: var(--ivory); }

/* ---------- brand shapes: the sprite star, the mid-century rule (gold double hairline, starburst, gold double hairline), kickers */
.sw-star { display: block; fill: var(--warm-gold); }
.sw-orn { display: flex; align-items: center; gap: 12px; width: min(100%, 230px); margin-inline: auto; }
.sw-orn--left { margin-inline: 0; }
.sw-orn__line { flex: 1; height: 4px; border-block: 1px solid var(--sw-gold-line); opacity: 0.85; }
.sw-orn__burst { width: 18px; height: auto; flex: none; }
.sw-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 0.75rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sw-teal); }
.sw-kicker__burst { width: 13px; height: auto; flex: none; }
.sw-band .sw-kicker { color: var(--sw-gold-text); }
.sw-band .sw-postcard .sw-kicker, .sw-band .sw-invite .sw-kicker { color: var(--sw-teal); }

/* ---------- sections and bands: ivory and deep teal alternate down the page */
.sw-section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.sw-section--ivory { background: var(--ivory); }
.sw-section--paper { background: var(--sw-paper); border-block: 1px solid var(--sw-line); }
.sw-section > .sw-wrap, .sw-final > .sw-wrap { position: relative; }
.sw-section__head { display: grid; gap: 14px; justify-items: start; align-content: start; margin-bottom: clamp(28px, 4vw, 48px); }
.sw-head--center { justify-items: center; text-align: center; max-width: 46rem; margin-inline: auto; }
.sw-head--center .sw-lead { margin-inline: auto; }
/* Dark bands: the demonstration's stage colour, a soft teal and gold glow, a double gold rule at each edge. */
.sw-band { position: relative; color: var(--ivory); background: radial-gradient(70% 60% at 88% 0%, rgb(44 124 128 / 0.42), rgb(44 124 128 / 0) 72%), radial-gradient(60% 55% at 4% 100%, rgb(212 164 87 / 0.11), rgb(212 164 87 / 0) 70%), var(--sw-teal-deep); border-block: 1px solid rgb(196 139 73 / 0.65); }
.sw-band::after { content: ''; position: absolute; inset: 5px 0; border-block: 1px solid rgb(196 139 73 / 0.32); pointer-events: none; }
.sw-band .sw-lead { color: var(--sw-mist); }
/* Starburst fields: owner artwork at several depths (decorative, aria-hidden); the far layer is large and faint, the near layer small and bright. */
.sw-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sw-field__b { position: absolute; height: auto; }
.sw-field__rays { position: absolute; left: 50%; top: 50%; width: 1700px; height: 1700px; margin: -850px 0 0 -850px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(247 242 232 / 0.04) 0deg 2.2deg, rgb(247 242 232 / 0) 3.6deg 10deg); -webkit-mask-image: radial-gradient(closest-side, #000 14%, rgb(0 0 0 / 0) 70%); mask-image: radial-gradient(closest-side, #000 14%, rgb(0 0 0 / 0) 70%); }

/* ---------- hero: ivory with a warm glow, a sunburst behind an arched lockup, a starburst field, the launch ticket */
.sw-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6.5vw, 96px) clamp(64px, 8vw, 116px); background: var(--ivory); } /* flat: a large soft radial glow banded visibly in Firefox; the arch carries the warmth */
.sw-hero__decor { position: absolute; inset: 0; pointer-events: none; }
.sw-hero__b { position: absolute; height: auto; transform-origin: 50% 50%; }
.sw-hero__b--far { width: 250px; right: -70px; top: -60px; opacity: 0.22; }
.sw-hero__b--mid { width: 40px; left: 46%; bottom: 9%; opacity: 0.85; }
.sw-hero__b--t1 { width: 24px; left: 2.5%; top: 14%; opacity: 0.9; }
.sw-hero__b--t2 { width: 16px; left: 40%; top: 9%; opacity: 0.8; }
.sw-hero__b--t3 { width: 11px; left: 6%; bottom: 14%; opacity: 0.9; }
.sw-hero__b--t4 { width: 14px; right: 4%; bottom: 22%; opacity: 0.85; }
.sw-hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.sw-hero__copy { display: grid; gap: 20px; justify-items: start; }
.sw-h1__a, .sw-h1__b { display: block; }
.sw-h1__b { font-style: italic; color: var(--sw-teal); }
.sw-hero__orn { width: min(100%, 200px); }
.sw-hero__descriptor { max-width: 38em; color: var(--sw-muted); font-size: 1rem; }
.sw-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.sw-hero__brandline { line-height: 1.2; font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.875rem); color: var(--proposed-red-strong); display: flex; align-items: center; gap: 12px; }
.sw-hero__brandline .sw-star { width: 20px; height: 20px; flex: none; }
.sw-hero__side { position: relative; display: grid; justify-items: center; min-width: 0; }
/* The arch: a mid-century window in a double gold rule; the owner's stacked lockup (emblem above wordmark) stands in it before a sunburst. */
.sw-arch { position: relative; width: min(100%, 360px); aspect-ratio: 360 / 420; display: grid; place-items: center; padding: 16% 11% 12%; border-radius: 999px 999px 24px 24px; overflow: hidden; background: radial-gradient(85% 60% at 50% 40%, var(--sw-paper), var(--sw-gold-wash)); box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 0 0 8px var(--ivory), 0 0 0 9px rgb(196 139 73 / 0.5), 0 34px 56px -30px rgb(15 76 80 / 0.55); }
.sw-arch::after { content: ''; position: absolute; inset: 9px; border: 1px dashed rgb(26 95 99 / 0.35); border-radius: 999px 999px 16px 16px; pointer-events: none; }
.sw-arch__rays { position: absolute; left: 50%; top: 40%; width: 180%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(196 139 73 / 0.16) 0deg 2.6deg, rgb(196 139 73 / 0) 4deg 11.25deg); -webkit-mask-image: radial-gradient(closest-side, #000 10%, rgb(0 0 0 / 0) 66%); mask-image: radial-gradient(closest-side, #000 10%, rgb(0 0 0 / 0) 66%); }
.sw-hero__lockup { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 545.17383 / 520.11145; }
/* The launch ticket: deep teal, punched notches, a gold-stitched edge and a perforated stub with a starburst. */
.sw-ticket { position: relative; z-index: 2; display: flex; align-items: stretch; width: min(100%, 350px); margin-top: -40px; rotate: -2.5deg; color: var(--ivory); border-radius: 10px; background: radial-gradient(circle at 0 50%, rgb(0 0 0 / 0) 9px, var(--sw-teal-deep) 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, rgb(0 0 0 / 0) 9px, var(--sw-teal-deep) 9.5px) right / 51% 100% no-repeat; filter: drop-shadow(0 14px 16px rgb(15 76 80 / 0.32)); }
.sw-ticket::before { content: ''; position: absolute; inset: 7px 16px; border-block: 1px dashed rgb(224 181 110 / 0.7); pointer-events: none; }
.sw-ticket__stub { flex: none; width: 72px; display: grid; place-items: center; border-right: 1.5px dashed rgb(224 181 110 / 0.65); }
.sw-ticket__burst { width: 30px; height: auto; }
.sw-ticket__body { display: grid; gap: 4px; padding: 18px 22px 18px 18px; }
.sw-ticket__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sw-gold-text); }
.sw-ticket__note { font-family: var(--sw-display); font-style: italic; font-size: 1.375rem; line-height: 1.2; font-weight: 600; }
/* WCAG 2.2.2: any starburst twinkle runs once for at most 4 s and stops; no endless animation anywhere. */
@keyframes sw-twinkle { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(22.5deg) scale(1.08); } }

@media (min-width: 900px) {
  .sw-hero__grid { grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.8fr); gap: 48px; }
  .sw-hero__side { justify-items: end; padding-right: 10px; }
  .sw-ticket { margin-right: 30px; }
}
@media (max-width: 899px) {
  .sw-hero__b--far { width: 180px; right: -60px; top: auto; bottom: 24%; opacity: 0.18; }
  .sw-hero__b--mid { left: auto; right: 8%; bottom: 3%; }
  .sw-hero__b--t2 { left: auto; right: 6%; top: 3%; }
  .sw-hero__decor .sw-hero__b--t1, .sw-hero__decor .sw-hero__b--t3 { display: none; }
  .sw-hero__b--t4 { right: 3%; bottom: 30%; }
  .sw-arch { width: min(78%, 320px); }
}

.sw-status { display: flex; gap: 12px; align-items: flex-start; background: var(--sw-paper); border: 2px dashed var(--ink); border-radius: 12px; padding: 14px 18px; max-width: 46em; font-weight: 600; font-size: 0.9375rem; }
.sw-status__mark { flex: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--warm-gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; }

/* ---------- why TwoSwoon: lede, then three index cards (ruled lines, a red header rule, a numbered monogram, a pinned starburst) */
.sw-field--purpose .sw-at-1 { width: 30px; right: 6%; top: 9%; opacity: 0.9; }
.sw-field--purpose .sw-at-2 { width: 14px; left: 3%; top: 46%; opacity: 0.8; }
.sw-field--purpose .sw-at-3 { width: 64px; left: -14px; bottom: 6%; opacity: 0.35; }
.sw-purpose__top { margin-bottom: clamp(40px, 6vw, 72px); }
.sw-purpose__prose { padding-top: 6px; }
@media (min-width: 900px) { .sw-purpose__prose { padding-top: 44px; } }
.sw-cards3 { list-style: none; padding: 0; display: grid; gap: 40px 26px; grid-template-columns: 1fr; counter-reset: reason; }
.sw-card { counter-increment: reason; position: relative; background: var(--sw-paper); border-radius: 6px; padding: 40px 24px 26px; display: grid; gap: 12px; align-content: start; box-shadow: 0 0 0 1px rgb(216 204 186 / 0.9), 0 18px 30px -22px rgb(15 76 80 / 0.5), 0 3px 6px -4px rgb(47 58 55 / 0.15); transition: box-shadow 250ms ease, translate 250ms var(--sw-ease), rotate 250ms var(--sw-ease); }
.sw-card:nth-child(1) { rotate: -0.8deg; }
.sw-card:nth-child(2) { rotate: 0.6deg; }
.sw-card:nth-child(3) { rotate: -0.4deg; }
.sw-card:hover { rotate: 0deg; translate: 0 -4px; box-shadow: 0 0 0 1px rgb(196 139 73 / 0.8), 0 26px 40px -24px rgb(15 76 80 / 0.55), 0 3px 6px -4px rgb(47 58 55 / 0.15); }
.sw-card h3 { font-family: var(--sw-display); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 1.75rem); line-height: 1.12; font-weight: 600; color: var(--sw-teal); padding-bottom: 12px; border-bottom: 1.5px solid rgb(173 58 53 / 0.45); }
.sw-card p { font-size: 1.0625rem; line-height: 28px; background: repeating-linear-gradient(to bottom, rgb(26 95 99 / 0) 0 27px, rgb(26 95 99 / 0.13) 27px 28px); }
.sw-card__mono { position: absolute; left: 22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, #2C7C80, var(--sw-teal) 72%); color: var(--ivory); font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 1.75rem; font-variant-numeric: lining-nums; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4.5px var(--sw-gold-line), 0 8px 14px -8px rgb(15 76 80 / 0.6); }
.sw-card__mono::before { content: counter(reason); line-height: 1; transform: translateY(-1px); }
.sw-card__burst { position: absolute; right: 16px; top: 14px; width: 18px; height: auto; }
@media (min-width: 820px) { .sw-cards3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- scroll-driven demonstration (static layout first; the live layout is the single block at the end of this file) ---------- */
.sw-demo { position: relative; overflow-x: clip; background: var(--sw-teal-deep); color: var(--ivory); padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 88px); }
.sw-demo__head { position: relative; display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.sw-demo__head .sw-lead { max-width: 34em; }
.sw-demo__frame { position: relative; display: grid; gap: 28px; }
.sw-dstages { list-style: none; padding: 0; display: grid; gap: 22px; align-content: start; }
.sw-dstage { display: grid; gap: 6px; border-top: 1px solid rgb(196 139 73 / 0.75); padding-top: 14px; }
.sw-dstage h3 { font-family: var(--sw-display); font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.15; font-weight: 600; text-wrap: balance; }
.sw-dstage p:not(.sw-dstage__kicker) { max-width: 40em; text-wrap: pretty; }
.sw-dstage__kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sw-gold-text); display: flex; align-items: center; gap: 10px; }
.sw-dstage__num { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--warm-gold); color: var(--ink); letter-spacing: 0; font-size: 0.75rem; box-shadow: 0 0 0 3px var(--sw-teal-deep), 0 0 0 4px rgb(196 139 73 / 0.6); }
.sw-burst { display: block; max-width: none; pointer-events: none; user-select: none; }
.sw-demo__burst { position: absolute; }
.sw-demo__burst--a { width: 220px; height: auto; top: 10px; right: -40px; opacity: 0.3; }
.sw-demo__burst--b { width: 72px; height: auto; bottom: 22px; left: 3%; opacity: 0.55; }
@media (max-width: 719px) { .sw-demo__burst--a { width: 150px; right: -30px; opacity: 0.22; } }
.sw-desk > .sw-desk__burst { position: absolute; width: 64px; height: auto; right: 14px; top: -30px; z-index: 7; }
.sw-dcard__burst { width: 16px; height: auto; margin-left: auto; }

/* The matchmaking desk: an ivory blotter in a double gold rule, with an index-card profile and text-first introduction cards. */
.sw-desk { position: relative; margin: 0; background: var(--ivory); color: var(--ink); border-radius: 24px; padding: clamp(16px, 2.6vw, 26px); box-shadow: 0 0 0 1.5px #C48B49, 0 0 0 6px var(--sw-teal-deep), 0 0 0 7px rgb(196 139 73 / 0.5), 0 30px 60px -26px rgb(0 0 0 / 0.6), 0 12px 24px -16px rgb(0 0 0 / 0.35); display: grid; gap: 16px; align-content: start; min-width: 0; }
.sw-desk::before { content: ''; position: absolute; inset: 8px; border: 1px dashed rgb(26 95 99 / 0.38); border-radius: 17px; pointer-events: none; }
.sw-desk > * { position: relative; }
.sw-desk__cap { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--sw-teal); padding-right: 44px; /* room for the corner starburst */ }
@media (max-width: 559px) { .sw-desk > .sw-desk__burst { width: 46px; top: -24px; right: 8px; } .sw-desk__cap { padding-right: 30px; } }
.sw-desk__star { width: 18px; height: 18px; flex: none; }
.sw-desk__board { display: grid; gap: 18px; min-width: 0; }
.sw-profile { background: var(--sw-paper); border: 1px solid var(--sw-line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; min-width: 0; box-shadow: 0 12px 26px -20px rgb(15 76 80 / 0.55); }
.sw-profile__title { font-family: var(--sw-display); font-style: italic; font-size: 1.375rem; font-weight: 600; line-height: 1.1; color: var(--sw-teal); display: flex; align-items: center; gap: 12px; }
.sw-profile__title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #C48B49, rgb(196 139 73 / 0)); }
.sw-profile__cols { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .sw-profile__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sw-pcol { border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.sw-pcol[data-role='self'] { background: var(--sw-teal-wash); }
.sw-pcol[data-role='partner'] { background: var(--sw-gold-wash); }
.sw-pcol h4 { font-size: 0.75rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; }
.sw-pcol[data-role='self'] h4 { color: var(--sw-teal-deep); }
.sw-pcol[data-role='partner'] h4 { color: var(--ink); }
.sw-pcol[data-role='self'] h4::before { content: '\25CF'; margin-right: 8px; }
.sw-pcol[data-role='partner'] h4::before { content: '\25CB'; margin-right: 8px; }
.sw-dpills, .sw-dcard__chips, .sw-dcards { list-style: none; padding: 0; margin: 0; }
.sw-dpills { display: grid; gap: 8px; justify-items: start; }
.sw-dpill { position: relative; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 4px 13px 4px 5px; border-radius: 999px; font-size: 0.875rem; line-height: 1.25; border: 2px solid var(--sw-teal); background: var(--sw-teal); color: var(--sw-paper); box-shadow: 0 2px 5px -2px rgb(15 76 80 / 0.45); transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
.sw-dpill[data-role='partner'] { border: 2px dashed var(--ink); background: var(--warm-gold); color: var(--ink); }
.sw-dpill__mark { flex: none; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: 0.6875rem; font-weight: 600; background: rgb(255 255 255 / 0.2); transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; }
.sw-dpill[data-role='partner'] .sw-dpill__mark { background: rgb(47 58 55 / 0.14); }
.sw-dcards { display: grid; gap: 12px; }
.sw-dcard { position: relative; background: linear-gradient(90deg, #C48B49, #E0B56E 55%, rgb(224 181 110 / 0)) 0 0 / 100% 3px no-repeat var(--sw-paper); border: 1px solid var(--sw-line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; min-width: 0; box-shadow: 0 12px 26px -18px rgb(15 76 80 / 0.55), 0 2px 4px -2px rgb(0 0 0 / 0.08); }
.sw-dcard__name { font-family: var(--sw-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Text-first: a monogram (drawn from data-initial) stands where a photograph would be; photographs are hidden until both choose to Reveal. */
.sw-dcard__mono { flex: none; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #2C7C80, var(--sw-teal) 72%); color: var(--ivory); font-style: italic; font-size: 1.25rem; box-shadow: 0 0 0 2px var(--sw-paper), 0 0 0 3.5px #C48B49; }
.sw-dcard__mono::before { content: attr(data-initial); line-height: 1; transform: translateY(-1px); }
.sw-dcard__row { position: relative; display: grid; gap: 5px; }
.sw-dcard__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sw-muted); }
.sw-dcard__row[data-side='you'] .sw-dcard__label::before { content: '\25CB'; margin-right: 6px; letter-spacing: 0; }
.sw-dcard__row[data-side='them'] .sw-dcard__label::before { content: '\25CF'; margin-right: 6px; letter-spacing: 0; }
.sw-dcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-dchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 7px; border-radius: 999px; font-size: 0.8125rem; line-height: 1.35; background: var(--sw-gold-wash); border: 1.5px solid var(--warm-gold); color: var(--ink); transition: background-color 250ms ease, border-color 250ms ease; }
.sw-dchip__mark { font-weight: 600; color: var(--sw-teal-deep); transition: opacity 200ms ease; }
/* The desk's entrance value (live layout only): registered as NON-inheriting so changing it restyles the desk box alone, not its contents. */
@property --de { syntax: '<number>'; inherits: false; initial-value: 1; }
/* decoration that only exists in the live layout (no text of its own) */
.sw-tray, .sw-dlines, .sw-dlegend, .sw-dcard--ghost, .sw-dsky, .sw-drail, .sw-dnode, .sw-desk__sheen { display: none; }

@media (min-width: 980px) {
  .sw-demo__frame { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
}

/* ---------- how it works: four ivory index cards on the dark stage, each in a double gold rule with a gold medallion number; a dashed gold path joins them */
.sw-field--how .sw-at-1 { width: 230px; right: -60px; top: -30px; opacity: 0.13; }
.sw-field--how .sw-at-2 { width: 44px; left: 3%; bottom: 8%; opacity: 0.7; }
.sw-field--how .sw-at-3 { width: 16px; left: 14%; top: 12%; opacity: 0.85; }
.sw-field--how .sw-at-4 { width: 12px; right: 9%; bottom: 16%; opacity: 0.85; }
.sw-field--how .sw-at-5 { width: 26px; right: 22%; top: 8%; opacity: 0.6; }
.sw-field--how .sw-field__rays { top: 0; }
.sw-steps { list-style: none; padding: 0; counter-reset: step; position: relative; display: grid; gap: 52px 26px; grid-template-columns: 1fr; margin-top: clamp(44px, 5vw, 64px); }
.sw-step { counter-increment: step; position: relative; background: var(--ivory); color: var(--ink); border-radius: 18px; padding: 44px 22px 26px; display: grid; gap: 10px; align-content: start; text-align: center; outline: 1px solid rgb(196 139 73 / 0.55); outline-offset: 6px; box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 28px 44px -26px rgb(0 0 0 / 0.6); }
.sw-step::before { content: counter(step); position: absolute; left: 50%; top: -27px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, #EDCF9C, var(--sw-gold-text) 70%); color: var(--ink); font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 2.125rem; font-variant-numeric: lining-nums; line-height: 1; box-shadow: 0 0 0 3px var(--sw-teal-deep), 0 0 0 4.5px var(--sw-gold-line), 0 10px 18px -8px rgb(0 0 0 / 0.5); }
.sw-step::after { content: ''; position: absolute; inset: 8px; border: 1px dashed rgb(26 95 99 / 0.3); border-radius: 12px; pointer-events: none; }
.sw-step h3 { font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--sw-teal); text-wrap: balance; }
.sw-step p { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
@media (min-width: 680px) { .sw-steps { grid-template-columns: repeat(2, 1fr); gap: 60px 34px; } }
/* One row of four (owner, 2026-10-11: "the numbers need to be on top of the dotted line"): the medallions ride a little higher, so their centres sit
   in the free space above the cards, and the dashed gold line runs through those centres from the first medallion to the last. It is painted
   before the cards (tree order, no z-index), clear of every card edge, and each opaque medallion with its solid deep-teal ring covers it: the
   line threads from number to number, continuous across the row. Narrower layouts stack the cards, so there is no line there. */
@media (min-width: 1000px) {
  .sw-steps { --gap: 26px; --med-y: -20px; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(76px, 7vw, 92px); }
  .sw-steps::before { content: ''; position: absolute; left: calc((100% - 3 * var(--gap)) / 8); right: calc((100% - 3 * var(--gap)) / 8); top: calc(var(--med-y) - 1px); border-top: 2px dashed rgb(224 181 110 / 0.75); pointer-events: none; }
  .sw-step { padding-top: 40px; }
  .sw-step::before { top: calc(var(--med-y) - 27px); }
}

/* ---------- who it's for: a chapter heading with an italic "or", a TwoSwoon monogram pair, the two paragraphs on a bookplate, the eligibility line in plain words */
.sw-field--audience .sw-at-1 { width: 38px; right: 5%; top: 10%; opacity: 0.85; }
.sw-field--audience .sw-at-2 { width: 14px; left: 44%; bottom: 10%; opacity: 0.8; }
.sw-field--audience .sw-at-3 { width: 22px; left: 3%; bottom: 7%; opacity: 0.8; }
.sw-h2-or { font-style: italic; color: var(--sw-teal); font-size: 0.82em; padding-inline: 0.06em; }
.sw-monos { display: flex; align-items: center; margin-top: 14px; }
.sw-audience h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.sw-monos__m { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, #2C7C80, var(--sw-teal) 72%); color: var(--ivory); font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 2.5rem; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4.5px var(--sw-gold-line), 0 14px 24px -14px rgb(15 76 80 / 0.6); }
.sw-monos__m::before { content: attr(data-initial); line-height: 1; transform: translateY(-2px); }
.sw-monos__m--b { margin-left: -12px; background: radial-gradient(circle at 34% 28%, #EDCF9C, var(--sw-gold-text) 72%); color: var(--ink); }
.sw-monos__burst { position: relative; z-index: 1; order: 3; width: 20px; height: auto; margin-left: 10px; }
.sw-bookplate { position: relative; background: var(--sw-paper); border-radius: 20px; padding: clamp(26px, 3.6vw, 44px); outline: 1px solid rgb(196 139 73 / 0.5); outline-offset: 7px; box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 30px 48px -32px rgb(15 76 80 / 0.5); }
.sw-bookplate::before { content: ''; position: absolute; inset: 9px; border: 1px dashed rgb(26 95 99 / 0.28); border-radius: 13px; pointer-events: none; }
.sw-bookplate > * { position: relative; }
.sw-eligibility { display: flex; gap: 10px; align-items: baseline; margin-top: 24px; padding: 12px 16px; border-radius: 10px; background: var(--sw-teal-wash); color: var(--sw-teal-deep); font-weight: 600; font-size: 1rem; }
.sw-eligibility::before { content: '\25CF'; flex: none; font-size: 0.75em; }
@media (min-width: 900px) { .sw-audience .sw-section__head { padding-top: 12px; } }

/* ---------- launch plans: a postcard on the dark stage (airmail edge, perforated starburst stamp, postmark, the planned places on the address lines) */
.sw-field--launch .sw-at-1 { width: 200px; left: -60px; top: -40px; opacity: 0.12; }
.sw-field--launch .sw-at-2 { width: 14px; right: 7%; top: 12%; opacity: 0.85; }
.sw-field--launch .sw-at-3 { width: 36px; right: 4%; bottom: 10%; opacity: 0.6; }
.sw-field--launch .sw-field__rays { left: 70%; }
.sw-postcard { position: relative; max-width: 1000px; margin-inline: auto; display: grid; gap: 28px; background: var(--ivory); color: var(--ink); border-radius: 6px; padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 52px); rotate: -0.6deg; box-shadow: 0 0 0 1px rgb(196 139 73 / 0.7), 0 40px 70px -34px rgb(0 0 0 / 0.65), 0 8px 16px -10px rgb(0 0 0 / 0.35); }
.sw-postcard::before { content: ''; position: absolute; inset: 0; border: 8px solid transparent; border-radius: 6px; border-image: repeating-linear-gradient(-45deg, var(--proposed-red-strong) 0 10px, var(--ivory) 10px 16px, var(--sw-teal) 16px 26px, var(--ivory) 26px 32px) 8; pointer-events: none; }
.sw-postcard__msg { display: grid; gap: 14px; justify-items: start; align-content: start; }
.sw-postcard__msg h2 { color: var(--sw-teal-deep); }
.sw-postcard__lead { font-size: clamp(1.0625rem, 1.8vw, 1.1875rem); max-width: 34em; }
.sw-postcard__fine { margin-top: 4px; padding-top: 12px; border-top: 1px dashed rgb(47 58 55 / 0.35); font-size: 0.9375rem; color: var(--sw-muted); }
.sw-postcard__side { position: relative; display: grid; align-content: end; min-height: 230px; padding-top: 128px; }
.sw-stamp { position: absolute; top: 0; right: 0; width: 82px; height: 98px; display: grid; place-items: center; background: var(--sw-teal-deep); border: 6px dotted var(--ivory); rotate: 4deg; box-shadow: inset 0 0 0 3px var(--sw-teal-deep), inset 0 0 0 4px rgb(224 181 110 / 0.75); }
.sw-stamp__burst { width: 40px; height: auto; }
.sw-postmark { position: absolute; top: 26px; right: 72px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; rotate: -14deg; border: 2px solid rgb(89 99 107 / 0.75); box-shadow: inset 0 0 0 4px var(--ivory), inset 0 0 0 5px rgb(89 99 107 / 0.55); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sw-muted); }
.sw-postmark::after { content: ''; position: absolute; right: 100%; top: 50%; width: 92px; height: 23px; margin-top: -11px; background: repeating-linear-gradient(to bottom, rgb(89 99 107 / 0.5) 0 1.5px, rgb(89 99 107 / 0) 1.5px 6.5px); }
.sw-postcard__lines { display: grid; }
.sw-postcard__lines span { display: block; padding: 12px 0 3px 6px; border-bottom: 1px solid rgb(47 58 55 / 0.32); font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 1.375rem; line-height: 1.2; color: var(--sw-teal); }
@media (min-width: 820px) {
  .sw-postcard { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: 0; }
  .sw-postcard__msg { padding-right: clamp(24px, 3.5vw, 44px); }
  .sw-postcard__side { border-left: 1.5px solid rgb(47 58 55 / 0.18); padding-left: clamp(24px, 3vw, 40px); }
}
@media (max-width: 819px) { .sw-postcard__side { border-top: 1.5px solid rgb(47 58 55 / 0.18); padding-top: 130px; margin-top: 4px; } .sw-stamp, .sw-postmark { top: 22px; } .sw-postmark { top: 30px; } }
/* The planned area's towns, across the foot of the postcard: the featured set typeset in one flowing line (gold diamonds between names, drawn by
   CSS with no text), then every town in a native <details> as a directory set in columns. Works with no script; nothing is hidden by the stylesheet. */
.sw-towns { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; margin-top: clamp(26px, 3vw, 36px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1.5px solid rgb(47 58 55 / 0.18); }
.sw-towns__title { font-size: 0.75rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sw-teal); }
/* Every name is led by a diamond; the list is pulled left by one separator's width and clipped there, so the diamond that starts each line is
   cut away and diamonds only ever sit BETWEEN names, however the line wraps. */
.sw-towns__featured { --sep: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; list-style: none; padding: 0; margin: 0 0 0 calc(-1 * var(--sep)); width: calc(100% + var(--sep)); clip-path: inset(-0.5em -0.5em -0.5em var(--sep)); font-family: var(--sw-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.35; color: var(--sw-teal-deep); }
.sw-towns__featured li { display: inline-flex; align-items: center; white-space: nowrap; }
.sw-towns__featured li::before { content: ''; flex: none; width: 6px; height: 6px; margin-inline: 12px; background: var(--sw-gold-line); rotate: 45deg; translate: 0 -1px; }
/* A long open list would make the tilted card lean visibly at its far end: the card straightens while the list is open (where :has is supported). */
.sw-postcard:has(.sw-towns__all[open]) { rotate: 0deg; }
.sw-towns__all { width: 100%; }
.sw-towns__all summary { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 8px 10px 8px 22px; list-style: none; cursor: pointer; border-radius: 999px; background: var(--sw-paper); box-shadow: inset 0 0 0 1.5px var(--sw-teal); color: var(--sw-teal-deep); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; transition: background-color 200ms ease; }
.sw-towns__sum { text-wrap: balance; }
.sw-towns__all summary::-webkit-details-marker { display: none; }
.sw-towns__all summary::marker { content: ''; }
.sw-towns__all summary:hover { background: var(--sw-teal-wash); }
.sw-towns__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sw-teal-wash); box-shadow: inset 0 0 0 1.5px var(--sw-teal); transition: background-color 200ms ease; }
.sw-towns__icon::before, .sw-towns__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--sw-teal); transition: transform 250ms var(--sw-ease), background-color 200ms ease; }
.sw-towns__icon::after { transform: rotate(90deg); }
.sw-towns__all[open] .sw-towns__icon { background: var(--sw-teal); }
.sw-towns__all[open] .sw-towns__icon::before, .sw-towns__all[open] .sw-towns__icon::after { background: var(--sw-paper); }
.sw-towns__all[open] .sw-towns__icon::after { transform: rotate(0deg); }
.sw-towns__list { columns: 9.25rem auto; column-gap: 26px; column-rule: 1px dotted rgb(196 139 73 / 0.7); list-style: none; margin: 16px 0 0; padding: 16px 0 2px; border-top: 1px dashed rgb(196 139 73 / 0.75); font-size: 0.9375rem; line-height: 1.5; }
.sw-towns__list li { break-inside: avoid; padding-left: 0.9em; text-indent: -0.9em; }
.sw-towns__list .sw-towns__first { margin-top: 0.45em; }
.sw-towns__list .sw-towns__first::first-letter { color: var(--sw-teal); font-weight: 600; }
.sw-towns__note { max-width: 46em; font-size: 0.875rem; line-height: 1.55; color: var(--sw-muted); }
/* The line for visitors outside the area (OD-236): set like a postscript at the foot of the card. */
.sw-towns__outside { max-width: 34em; padding-top: 12px; border-top: 1px dashed rgb(196 139 73 / 0.75); font-family: var(--sw-display); font-style: italic; font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--sw-teal-deep); text-wrap: pretty; }
.sw-postmark > span { max-width: 74px; text-align: center; line-height: 1.3; }
.sw-nobr { white-space: nowrap; }
@media (max-width: 819px) { .sw-postcard { grid-template-columns: minmax(0, 1fr); } } /* one track that can shrink: the town columns never widen the card */
@media (max-width: 359px) { .sw-towns__list.sw-towns__list { columns: 6.25rem auto; column-gap: 14px; } }
@media (max-width: 479px) { .sw-towns__list { columns: 7.75rem auto; column-gap: 18px; font-size: 0.875rem; } .sw-towns__featured { --sep: 24px; font-size: 1.25rem; } .sw-towns__featured li::before { margin-inline: 9px; } .sw-towns__all summary { gap: 10px; padding-left: 16px; font-size: 0.875rem; } .sw-towns { margin-top: 18px; } }

/* ---------- FAQ: tidy index-card accordions (native <details>: keyboard and screen-reader support with no script); the heading column stays in view on wide screens */
.sw-field--faq .sw-at-1 { width: 26px; right: 4%; top: 6%; opacity: 0.85; }
.sw-field--faq .sw-at-2 { width: 14px; left: 3%; bottom: 8%; opacity: 0.8; }
.sw-faq__grid { display: grid; gap: 8px; }
@media (max-width: 959px) { .sw-field--faq .sw-at-1 { top: auto; bottom: 3%; } }
.sw-faq__cluster { display: none; width: 76px; height: auto; margin-top: 10px; opacity: 0.9; }
.sw-faq { display: grid; gap: 12px; max-width: 52em; }
.sw-faq__item { background: var(--sw-paper); border-radius: 14px; box-shadow: 0 0 0 1px rgb(216 204 186 / 0.95), 0 12px 24px -20px rgb(15 76 80 / 0.5); transition: box-shadow 200ms ease; }
.sw-faq__item[open] { box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 18px 32px -22px rgb(15 76 80 / 0.55); }
.sw-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 16px 14px 22px; list-style: none; cursor: pointer; border-radius: 14px; }
.sw-faq__item summary::-webkit-details-marker { display: none; }
.sw-faq__item summary::marker { content: ''; }
.sw-faq__item summary:hover h3 { color: var(--sw-teal); }
.sw-faq__item h3 { font-size: 1.0625rem; line-height: 1.4; }
.sw-faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sw-teal-wash); box-shadow: inset 0 0 0 1.5px var(--sw-teal); transition: background-color 200ms ease; }
.sw-faq__icon::before, .sw-faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--sw-teal); transition: transform 250ms var(--sw-ease), background-color 200ms ease; }
.sw-faq__icon::after { transform: rotate(90deg); }
.sw-faq__item[open] .sw-faq__icon { background: var(--sw-teal); }
.sw-faq__item[open] .sw-faq__icon::before, .sw-faq__item[open] .sw-faq__icon::after { background: var(--sw-paper); }
.sw-faq__item[open] .sw-faq__icon::after { transform: rotate(0deg); }
.sw-faq__a { padding: 0 22px 22px; }
.sw-faq__a p { padding-top: 14px; border-top: 1px dashed rgb(196 139 73 / 0.75); max-width: 46em; }
@media (min-width: 960px) {
  .sw-faq__grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr); gap: 60px; align-items: start; }
  .sw-faq__head { position: sticky; top: 36px; margin-bottom: 0; }
  .sw-faq__cluster { display: block; }
}

/* ---------- closing invitation: an ivory invitation card on the night stage, under a slow sunburst */
.sw-final { position: relative; padding-block: clamp(80px, 11vw, 148px); background: radial-gradient(60% 60% at 50% 48%, rgb(44 124 128 / 0.5), rgb(44 124 128 / 0) 72%), linear-gradient(var(--sw-teal-deep), var(--sw-night)); }
.sw-field--final .sw-at-1 { width: 260px; right: -70px; bottom: -60px; opacity: 0.12; }
.sw-field--final .sw-at-2 { width: 48px; left: 6%; top: 14%; opacity: 0.7; }
.sw-field--final .sw-at-3 { width: 16px; right: 12%; top: 12%; opacity: 0.9; }
.sw-field--final .sw-at-4 { width: 28px; left: 12%; bottom: 12%; opacity: 0.6; }
.sw-field--final .sw-at-5 { width: 12px; right: 26%; bottom: 20%; opacity: 0.9; }
.sw-invite { position: relative; max-width: 760px; margin-inline: auto; display: grid; justify-items: center; gap: 18px; text-align: center; background: radial-gradient(90% 70% at 50% 0%, var(--sw-paper), var(--ivory) 70%); color: var(--ink); border-radius: 26px; padding: clamp(52px, 6.5vw, 80px) clamp(22px, 5vw, 64px) clamp(40px, 5vw, 60px); outline: 1px solid rgb(196 139 73 / 0.55); outline-offset: 8px; box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 44px 80px -40px rgb(0 0 0 / 0.75); }
.sw-invite::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgb(26 95 99 / 0.3); border-radius: 18px; pointer-events: none; }
.sw-invite > * { position: relative; }
.sw-invite > .sw-invite__burst { position: absolute; top: -34px; left: 50%; width: 58px; height: auto; margin-left: -29px; }
.sw-invite h2 { color: var(--sw-teal-deep); font-size: clamp(2.1rem, 4.6vw, 3.25rem); max-width: 14em; }
.sw-invite .sw-lead { max-width: 30em; color: var(--ink); }
.sw-invite .sw-btn--primary { min-height: 54px; padding: 12px 34px; font-size: 1.0625rem; margin-top: 6px; }
.sw-invite .sw-accent { margin-top: 4px; }

.sw-form { background: var(--sw-paper); color: var(--ink); border-radius: var(--sw-radius); padding: 22px; display: grid; gap: 14px; outline: 1px solid rgb(196 139 73 / 0.5); outline-offset: 6px; box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 24px 40px -30px rgb(15 76 80 / 0.5); }
.sw-form__badge { justify-self: start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--warm-gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.sw-form__notice { font-weight: 600; font-size: 0.9375rem; border-left: 4px dashed var(--proposed-border-control); padding-left: 12px; }
.sw-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.sw-hint { color: var(--sw-muted); font-size: 0.9375rem; }
.sw-input { width: 100%; min-height: 48px; padding: 8px 14px; font: inherit; color: var(--ink); background: var(--sw-paper); border: 2px solid var(--proposed-border-control); border-radius: 10px; }
.sw-input[aria-invalid='true'] { border-color: var(--proposed-error); }
.sw-input:focus-visible { outline: var(--sw-focus); outline-offset: 3px; }
.sw-error { color: var(--proposed-error); font-weight: 600; font-size: 0.9375rem; }
.sw-result { font-weight: 600; font-size: 0.9375rem; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 14px; background: var(--ivory); }
.sw-form .sw-btn--primary { background: var(--cherokee-red); color: var(--sw-paper); border-color: var(--cherokee-red); }
.sw-form .sw-btn--primary:hover { background: var(--proposed-red-strong); }

/* ---------- footer: ivory, an ornament, the wordmark and the brand line between two stars */
.sw-footer { background: var(--ivory); padding-block: 48px 60px; font-size: 0.9375rem; }
.sw-footer__inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.sw-footer__orn { width: min(100%, 300px); margin-bottom: 6px; }
.sw-footer .sw-hero__brandline { font-size: 1.375rem; justify-content: center; }
.sw-footer .sw-hero__brandline .sw-star { width: 14px; height: 14px; }
@media (max-width: 479px) { .sw-footer .sw-hero__brandline { font-size: 1.25rem; gap: 8px; } .sw-footer .sw-hero__brandline .sw-star:last-child { display: none; } }
.sw-footer__logo { display: block; width: 140px; max-width: 100%; padding-block: 6px; }
.sw-footer__logo img { display: block; width: 100%; height: auto; aspect-ratio: 545.17383 / 160.77878; }

/* Launch-list form (only present in a build with the form switched on). Email + ZIP (OD-230). Accent colours come from --sw-teal / --sw-teal-wash, which
   landing v3 maps onto the owner-approved --accent-teal tokens, so the form adopts the teal accent when v3 merges without a change here. */
.sw-form__fields { display: grid; gap: 14px; }
.sw-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sw-form h3 { margin: 0; font-family: var(--sw-display); font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.15; color: var(--sw-teal); }
.sw-form p { margin: 0; }
.sw-form__row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.sw-field { min-width: 0; }
/* the landing's decorative backdrop also uses .sw-field (position:absolute, inset:0, pointer-events:none); inside the form it is a field wrapper again */
.sw-form .sw-field { position: static; inset: auto; overflow: visible; pointer-events: auto; }
.sw-field .sw-error { margin-top: 6px; }
.sw-field__hint { margin-top: 6px; font-size: 0.875rem; }
.sw-input--zip { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.sw-input:hover { border-color: var(--ink); }
.sw-form__error:not([hidden]) { border-left: 4px solid var(--proposed-error); padding: 8px 12px; background: var(--ivory); }
.sw-form .sw-result { border-color: var(--sw-teal); background: var(--sw-teal-wash); }
.sw-form__submit { justify-self: start; }
.sw-form__submit[aria-busy='true'] { cursor: progress; opacity: 0.85; }
.sw-form__noscript { margin-top: 10px; }
.sw-form__outside { font-size: 0.9375rem; font-weight: 600; color: var(--sw-teal); border-left: 4px solid var(--sw-teal); background: var(--sw-teal-wash); padding: 8px 12px; border-radius: 0 10px 10px 0; }
@media (min-width: 560px) { .sw-form__row { grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 9.5rem); } }
@media (max-width: 559px) { .sw-form { padding: 18px 16px; } .sw-form__submit { justify-self: stretch; } }
.sw-footer__links { margin: 8px 0 0; font-size: 0.9375rem; }

/* ---------- two-column layout shared by several sections */
.sw-two { display: grid; gap: 28px; }
@media (min-width: 900px) { .sw-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }

/* ---------- small standalone pages (404, holding): one index-card letter on the ivory desk, with a rubber stamp */
.sw-plain__main { position: relative; padding-block: clamp(56px, 10vw, 128px); background: var(--ivory); }
.sw-letter { position: relative; max-width: 620px; margin-inline: auto; display: grid; justify-items: center; gap: 16px; text-align: center; background: var(--sw-paper); border-radius: 20px; padding: 64px clamp(20px, 5vw, 48px) 44px; outline: 1px solid rgb(196 139 73 / 0.5); outline-offset: 7px; box-shadow: 0 0 0 1.5px var(--sw-gold-line), 0 30px 50px -32px rgb(15 76 80 / 0.5); }
.sw-letter::before { content: ''; position: absolute; inset: 9px; border: 1px dashed rgb(26 95 99 / 0.28); border-radius: 13px; pointer-events: none; }
.sw-letter > * { position: relative; }
.sw-letter > .sw-letter__burst { position: absolute; top: -30px; left: 50%; width: 56px; height: auto; margin-left: -28px; }
.sw-letter h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); color: var(--sw-teal-deep); }
.sw-letter__stamp { position: absolute; top: 20px; right: 18px; rotate: 9deg; padding: 3px 9px; border: 2px solid var(--proposed-red-strong); border-radius: 4px; box-shadow: inset 0 0 0 2px var(--sw-paper), inset 0 0 0 3px rgb(173 58 53 / 0.5); color: var(--proposed-red-strong); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 479px) { .sw-letter__stamp { top: 12px; right: 12px; } .sw-letter { padding-top: 72px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .sw-pill[aria-pressed='true'] { outline: 3px solid Highlight; }
  .sw-btn { border-color: ButtonText; }
  .sw-faq__icon { forced-color-adjust: none; }
}
@media print {
  .sw-field, .sw-hero__decor { display: none; }
  .sw-band, .sw-final { background: none; color: var(--ink); }
}

[hidden] { display: none !important; }
.sw-sprite { position: absolute; }

/* ---------- LIVE scroll-driven layout. Applies ONLY when all of these hold: the script added .sw-demo--live (sticky + custom properties supported), the visitor
   has not asked for reduced motion, and the viewport is tall enough for a pinned stage (520px tall from 980px wide; 620px tall for tablets and phones from 360px wide; anything smaller gets the static layout). Anything else gets the static layout above. Scrolling is never
   hijacked: the pinned stage is an ordinary position: sticky box inside a tall ordinary block. Per frame only transform, opacity and SVG stroke values change. ---------- */
@media (prefers-reduced-motion: no-preference) and (min-width: 980px) and (min-height: 520px), (prefers-reduced-motion: no-preference) and (min-width: 360px) and (max-width: 979px) and (min-height: 620px) {
  .sw-demo--live { --demo-h: min(700px, calc(100vh - 24px)); --demo-h: min(700px, calc(100svh - 24px)); --demo-run: 250vh; --demo-run: 250svh; }
  .sw-demo--live .sw-demo__track { position: relative; height: calc(var(--demo-h) + var(--demo-run)); }
  .sw-demo--live .sw-demo__sticky { position: sticky; top: max(12px, calc((100vh - var(--demo-h)) / 2)); top: max(12px, calc((100svh - var(--demo-h)) / 2)); height: var(--demo-h); display: flex; align-items: center; perspective: 1600px; }
  /* measuring pass (src/client/demo.ts layout()): every moving part at its resting place */
  .sw-demo--live[data-measuring] :is(.sw-desk, .sw-profile, .sw-dpill, .sw-dcard) { transform: none; }

  /* SCROLL-GRAPHIC HOOKS (docs/handoff/LANDING-PAGE-HANDOFF.md section 17.12). Each value is written only on the element that uses it: root data-stage (0-4);
     .sw-dsky --p (0-1), --enter (0-1 while the stage scrolls in), --tw1..3 (twinkles); .sw-drail__fill --p; .sw-desk --de (entrance, non-inheriting);
     .sw-desk__burst --p, --gl (glint); .sw-desk__sheen --shx/--sho (light sweep); .sw-tray --tray; .sw-profile --swap (phones); .sw-dlegend --lg. Captions: --ci/--co.
     Pills: --ap, --mv, --tx, --ty, --r, --s, --fly, --rs, --ro, data-on. Cards: --in, --cx, --cy, --cr, --cs, --lift, --fill; rows --rb; chips data-hl.
     Set-aside card: --gy, --gh, --gxo. Lines: --t, --o; beads: --k, --ko. Line anchor: --ax, --ay, --no, --ns. */

  /* parallax backdrop: sunburst rays (far), two glows, owner starbursts at three depths */
  .sw-demo--live .sw-dsky { display: block; position: absolute; inset: -6% 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(rgb(0 0 0 / 0), #000 14%, #000 86%, rgb(0 0 0 / 0)); mask-image: linear-gradient(rgb(0 0 0 / 0), #000 14%, #000 86%, rgb(0 0 0 / 0)); }
  .sw-demo--live .sw-dsky > * { position: absolute; }
  .sw-demo--live .sw-dsky__rays { left: 64%; top: 50%; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(247 242 232 / 0.055) 0deg 2.2deg, rgb(247 242 232 / 0) 3.6deg 10deg); -webkit-mask-image: radial-gradient(closest-side, #000 18%, rgb(0 0 0 / 0) 72%); mask-image: radial-gradient(closest-side, #000 18%, rgb(0 0 0 / 0) 72%); transform: rotate(calc(var(--p, 0) * 40deg)) scale(calc(0.9 + var(--enter, 1) * 0.1)); will-change: transform; }
  .sw-demo--live .sw-dsky__glow { width: 820px; height: 820px; border-radius: 50%; will-change: transform; }
  .sw-demo--live .sw-dsky__glow--gold { left: 48%; top: -30%; background: radial-gradient(closest-side, rgb(212 164 87 / 0.2), rgb(212 164 87 / 0)); transform: translate3d(calc(var(--p, 0) * -300px), calc(var(--p, 0) * 200px), 0); }
  .sw-demo--live .sw-dsky__glow--teal { left: -12%; top: 25%; background: radial-gradient(closest-side, rgb(70 160 160 / 0.26), rgb(70 160 160 / 0)); transform: translate3d(calc(var(--p, 0) * 280px), calc(var(--p, 0) * -140px), 0); }
  .sw-demo--live .sw-dsky__b { height: auto; }
  .sw-demo--live .sw-dsky__b--far { width: 260px; right: 1%; top: 2%; opacity: 0.14; transform: translate3d(0, calc(var(--p, 0) * -80px + (1 - var(--enter, 1)) * 60px), 0) rotate(calc(var(--p, 0) * 30deg)); }
  .sw-demo--live .sw-dsky__b--mid { width: 54px; left: 2.5%; bottom: -2%; opacity: 0.75; transform: translate3d(0, calc(var(--p, 0) * -70px + (1 - var(--enter, 1)) * 120px), 0) rotate(calc(var(--p, 0) * -120deg)); }
  .sw-demo--live .sw-dsky__b--t1 { width: 30px; left: 34%; top: 7%; opacity: calc(0.25 + var(--tw1, 0.5) * 0.75); transform: translate3d(0, calc(var(--p, 0) * -120px), 0) scale(calc(0.45 + var(--tw1, 0.5) * 0.6)) rotate(calc(var(--p, 0) * 90deg)); }
  .sw-demo--live .sw-dsky__b--t2 { width: 18px; left: 6%; top: 12%; opacity: calc(0.2 + var(--tw2, 0.5) * 0.8); transform: translate3d(0, calc(var(--p, 0) * -60px), 0) scale(calc(0.5 + var(--tw2, 0.5) * 0.7)) rotate(calc(var(--p, 0) * -140deg)); }
  .sw-demo--live .sw-dsky__b--t3 { width: 12px; right: 3%; bottom: 18%; opacity: calc(0.25 + var(--tw3, 0.5) * 0.75); transform: translate3d(0, calc(var(--p, 0) * -200px), 0) scale(calc(0.5 + var(--tw3, 0.5) * 0.8)); }
  .sw-demo--live .sw-dsky__b--t4 { width: 22px; right: 2%; top: 38%; opacity: calc(0.2 + var(--tw2, 0.5) * 0.6); transform: translate3d(0, calc(var(--p, 0) * -140px), 0) scale(calc(0.55 + var(--tw3, 0.5) * 0.55)) rotate(calc(var(--p, 0) * 160deg)); }

  .sw-demo--live .sw-demo__frame { height: 100%; width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; align-content: stretch; }
  /* captions: stacked in one cell; each line slides up with its own travel (a stagger) and leaves upward */
  .sw-demo--live .sw-dstages { grid-row: 1; display: grid; gap: 0; min-height: 0; }
  .sw-demo--live .sw-dstage { grid-area: 1 / 1; border-top: 0; padding-top: 0; pointer-events: none; align-content: start; }
  .sw-demo--live .sw-dstage > * { opacity: calc(var(--ci, 0) * (1 - var(--co, 0))); }
  .sw-demo--live .sw-dstage__kicker { transform: translate3d(0, calc((1 - var(--ci, 0)) * 14px - var(--co, 0) * 18px), 0); }
  .sw-demo--live .sw-dstage h3 { transform: translate3d(0, calc((1 - var(--ci, 0)) * 28px - var(--co, 0) * 14px), 0); font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
  .sw-demo--live .sw-dstage p:not(.sw-dstage__kicker) { transform: translate3d(0, calc((1 - var(--ci, 0)) * 42px - var(--co, 0) * 10px), 0); font-size: 0.9375rem; line-height: 1.45; }

  /* progress rail: a gold line fills with p; the active stop becomes a starburst */
  .sw-demo--live .sw-drail { grid-row: 3; display: flex; position: relative; justify-content: space-between; align-items: center; justify-self: center; width: min(240px, 64%); height: 22px; }
  .sw-demo--live .sw-drail__track { position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgb(247 242 232 / 0.22); overflow: hidden; }
  .sw-demo--live .sw-drail__fill { position: absolute; inset: 0; background: linear-gradient(90deg, #C48B49, #E0B56E); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .sw-demo--live .sw-drail__node { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
  .sw-demo--live .sw-drail__node::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sw-teal-deep); box-shadow: 0 0 0 2px rgb(247 242 232 / 0.4); transition: background-color 250ms ease, box-shadow 250ms ease, opacity 250ms ease; }
  .sw-demo--live .sw-drail__node.is-done::before { background: #C48B49; box-shadow: 0 0 0 2px #C48B49; }
  .sw-demo--live .sw-drail__node.is-active::before { opacity: 0; }
  .sw-demo--live .sw-drail__star { position: absolute; left: 50%; top: 50%; width: 24px; height: auto; margin: -14px 0 0 -12px; opacity: 0; transform: scale(0.2) rotate(-60deg); transition: opacity 250ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .sw-demo--live .sw-drail__node.is-active .sw-drail__star { opacity: 1; transform: none; }

  /* the desk rises and un-tilts as the stage scrolls in (--enter), then holds still while the pieces move */
  .sw-demo--live .sw-desk { grid-row: 2; min-height: 0; height: 100%; grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px 22px 14px; gap: 12px; transform-origin: 50% 100%; transform: translate3d(0, calc((1 - var(--de)) * 56px), 0) rotateX(calc((1 - var(--de)) * 9deg)) scale(calc(0.965 + var(--de) * 0.035)); will-change: transform; }
  .sw-demo--live .sw-desk > .sw-desk__burst { transform: rotate(calc(var(--p, 0) * 90deg + var(--gl, 0) * 30deg)) scale(calc(0.85 + var(--p, 0) * 0.2 + var(--gl, 0) * 0.25)); }
  .sw-demo--live .sw-desk > .sw-desk__sheen { display: block; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 6; }
  .sw-demo--live .sw-desk__sheen::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 42%; background: linear-gradient(100deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.5) 50%, rgb(255 255 255 / 0) 100%); opacity: var(--sho, 0); transform: translate3d(calc(var(--shx, -1.2) * 100%), 0, 0) skewX(-14deg); }
  .sw-demo--live .sw-desk__board { position: relative; min-height: 0; grid-template-columns: minmax(0, 1.22fr) 64px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0; align-items: center; }
  .sw-demo--live .sw-profile { grid-column: 1; grid-row: 1; position: relative; z-index: 4; padding: 12px; gap: 8px; align-content: start; }
  .sw-demo--live .sw-profile__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .sw-demo--live .sw-pcol { padding: 10px; gap: 6px; }
  .sw-demo--live .sw-dpills { gap: 6px; }
  .sw-demo--live .sw-desk__right { grid-column: 3; grid-row: 1; position: relative; align-self: stretch; min-height: 0; z-index: 3; }

  /* pills: pop into the tray, select themselves (empty ring -> filled check, gold pulse), then glide on an arc into place */
  .sw-demo--live .sw-dpill { font-size: 0.8125rem; padding: 3px 11px 3px 4px; z-index: 1; opacity: var(--ap, 0); transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); }
  .sw-demo--live .sw-dpill::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 14px 22px -8px rgb(15 50 52 / 0.55); opacity: var(--fly, 0); pointer-events: none; }
  .sw-demo--live .sw-dpill::after { content: ''; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid #C48B49; opacity: var(--ro, 0); transform: scale(var(--rs, 1)); pointer-events: none; }
  .sw-demo--live .sw-dpill:not([data-on]) { background: var(--sw-paper); color: var(--ink); border-color: var(--proposed-border-control); }
  .sw-demo--live .sw-dpill:not([data-on]) .sw-dpill__mark { color: transparent; background: transparent; box-shadow: inset 0 0 0 1.5px rgb(89 99 107 / 0.7); }
  .sw-demo--live .sw-dpill[data-on][data-role='partner'] { border-color: var(--ink); }

  /* the tray of example choices: a dashed card-file with its label set into the rule */
  .sw-demo--live .sw-tray { display: block; position: absolute; inset: 0; border-radius: 16px; background: rgb(26 95 99 / 0.045); border: 1.5px dashed rgb(26 95 99 / 0.42); opacity: var(--tray, 1); }
  .sw-demo--live .sw-tray span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: var(--ivory); padding: 2px 12px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sw-teal); white-space: nowrap; }

  /* introductions: fan in tilted and lifted, settle flat with a resting shadow */
  .sw-demo--live .sw-dcards { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
  .sw-demo--live .sw-dcard { flex: 0 1 auto; min-height: 0; padding: 10px 14px; gap: 6px; opacity: var(--in, 0); transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) rotate(var(--cr, 0deg)) scale(var(--cs, 1)); }
  .sw-demo--live .sw-dcard::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 28px 40px -20px rgb(15 50 52 / 0.55), 0 8px 14px -8px rgb(15 50 52 / 0.25); opacity: var(--lift, 0); pointer-events: none; }
  .sw-demo--live .sw-dcard__name { font-size: 1.3125rem; gap: 8px; }
  .sw-demo--live .sw-dcard__mono { width: 1.875rem; height: 1.875rem; }
  .sw-demo--live .sw-dcard__burst { transform: scale(var(--fill, 0)) rotate(calc(var(--fill, 0) * 90deg)); }
  .sw-demo--live .sw-dcard__row { gap: 3px; padding-left: 10px; }
  .sw-demo--live .sw-dcard__row::before { content: ''; position: absolute; left: 0; top: 1px; bottom: 1px; width: 3px; border-radius: 3px; background: #C48B49; transform: scaleY(var(--rb, 0)); transform-origin: 50% 0; }
  .sw-demo--live .sw-dcard__row[data-side='them']::before { background: var(--sw-teal); transform-origin: 50% 100%; }
  .sw-demo--live .sw-dchip { font-size: 0.75rem; padding: 1px 9px 1px 6px; }
  .sw-demo--live .sw-dchip:not([data-hl]) { background: var(--sw-paper); border-color: rgb(89 99 107 / 0.45); }
  .sw-demo--live .sw-dchip:not([data-hl]) .sw-dchip__mark { opacity: 0; }
  .sw-demo--live .sw-dcard--ghost { display: block; position: absolute; left: 0; right: 0; top: var(--gy, 34%); height: var(--gh, 30%); background: rgb(255 255 255 / 0.55); border: 1.5px dashed rgb(89 99 107 / 0.6); box-shadow: none; padding: 18px 18px 0; }
  .sw-demo--live .sw-dcard--ghost[data-gone] { display: none; }
  .sw-demo--live .sw-dcard__bar { display: block; height: 9px; border-radius: 5px; background: var(--sw-line); width: 58%; margin-bottom: 10px; }
  .sw-demo--live .sw-dcard__bar--short { width: 34%; }
  .sw-demo--live .sw-dcard__x { position: absolute; right: 18px; top: 50%; margin-top: -0.75em; font-size: 1.375rem; line-height: 1.5; color: var(--sw-muted); opacity: var(--gxo, 0); transform: scale(calc(0.5 + var(--gxo, 0) * 0.5)); }

  /* connector lines (measured by the script): gold = your preferences (profile to card), teal = theirs (card back to profile), each with a travelling bead */
  .sw-demo--live .sw-dlines { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
  .sw-demo--live .sw-dline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--t, 0)); opacity: var(--o, 1); }
  .sw-demo--live .sw-dline--you { stroke: #C48B49; }
  .sw-demo--live .sw-dline--them { stroke: var(--sw-teal); }
  .sw-demo--live .sw-dline--comet { stroke-width: 6; stroke-dasharray: 0.03 2; stroke-dashoffset: calc(var(--k, 0) * -0.97); opacity: var(--ko, 0); }
  .sw-demo--live .sw-dline--comet.sw-dline--you { stroke: #A8722F; }
  .sw-demo--live .sw-dline--comet.sw-dline--them { stroke: var(--sw-teal-deep); }
  .sw-demo--live .sw-dnode { display: block; position: absolute; left: 0; top: 0; width: 22px; height: auto; z-index: 5; opacity: var(--no, 0); transform: translate3d(calc(var(--ax, 0px) - 11px), calc(var(--ay, 0px) - 13px), 0) scale(var(--ns, 0.4)) rotate(calc(var(--p, 0) * 180deg)); }
  .sw-demo--live .sw-dlegend { display: flex; gap: 22px; justify-content: center; font-size: 0.75rem; font-weight: 600; color: var(--sw-muted); opacity: var(--lg, 0); }
  .sw-demo--live .sw-dlegend span { display: inline-flex; align-items: center; gap: 8px; }
  .sw-demo--live .sw-dlegend span::before { content: ''; width: 26px; height: 0; border-top: 2px solid; }
  .sw-demo--live .sw-dlegend span.sw-dlegend__you::before { border-color: #C48B49; }
  .sw-demo--live .sw-dlegend span.sw-dlegend__them::before { border-color: var(--sw-teal); }

  /* wide desktops: captions and rail beside the desk */
  @media (min-width: 1180px) {
    .sw-demo--live .sw-demo__frame { max-width: 1280px; grid-template-columns: 24px minmax(230px, 0.29fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 30px; }
    .sw-demo--live .sw-drail { grid-row: 1; grid-column: 1; flex-direction: column; align-self: center; width: 24px; height: min(340px, 62%); }
    .sw-demo--live .sw-drail__track { left: 50%; right: auto; top: 11px; bottom: 11px; width: 2px; height: auto; margin: 0 0 0 -1px; }
    .sw-demo--live .sw-drail__fill { background: linear-gradient(180deg, #C48B49, #E0B56E); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
    .sw-demo--live .sw-dstages { grid-row: 1; grid-column: 2; align-self: center; }
    .sw-demo--live .sw-dstage { gap: 12px; }
    .sw-demo--live .sw-dstage h3 { font-size: clamp(2rem, 2.7vw, 2.5rem); line-height: 1.06; }
    .sw-demo--live .sw-dstage p:not(.sw-dstage__kicker) { font-size: 1.0625rem; line-height: 1.55; }
    .sw-demo--live .sw-desk { grid-row: 1; grid-column: 3; margin-left: 10px; }
  }
  /* short desktop windows: tighten the stage rather than abandon it */
  @media (max-height: 700px) {
    .sw-demo--live .sw-desk { padding: 12px 18px 10px; gap: 8px; }
    .sw-demo--live .sw-profile { padding: 9px 10px; gap: 6px; }
    .sw-demo--live .sw-profile__title { font-size: 1.25rem; }
    .sw-demo--live .sw-pcol { padding: 7px 8px; gap: 5px; }
    .sw-demo--live .sw-dpills { gap: 4px; }
    .sw-demo--live .sw-dpill { padding: 2px 10px 2px 3px; font-size: 0.78125rem; }
    .sw-demo--live .sw-dpill__mark { width: 1.125rem; height: 1.125rem; }
    .sw-demo--live .sw-dcards { gap: 8px; }
    .sw-demo--live .sw-dcard { padding: 7px 12px; gap: 4px; }
    .sw-demo--live .sw-dcard__name { font-size: 1.25rem; }
    .sw-demo--live .sw-dcard__mono { width: 1.625rem; height: 1.625rem; font-size: 1.25rem; }
    .sw-demo--live .sw-dchip { line-height: 1.2; }
  }
  /* tablets and phones (under 980px): simpler composition. Captions above; the profile sits over the tray; when introductions start the profile lifts
     away (--swap) and the three cards take the whole desk. No connector lines: each card's two rows fill a gold and a teal bar instead (both directions). */
  @media (max-width: 979px) {
    .sw-demo--live .sw-demo__frame { gap: 10px; }
    .sw-demo--live .sw-dstage { gap: 4px; }
    .sw-demo--live .sw-dstage h3 { font-size: 1.375rem; }
    .sw-demo--live .sw-dstage p:not(.sw-dstage__kicker) { font-size: 0.875rem; line-height: 1.4; }
    .sw-demo--live .sw-desk { padding: 12px; gap: 10px; border-radius: 20px; }
    .sw-demo--live .sw-desk::before { inset: 6px; border-radius: 15px; }
    .sw-demo--live .sw-desk > .sw-desk__burst { width: 48px; top: -24px; right: 10px; }
    .sw-demo--live .sw-desk__cap { font-size: 0.75rem; }
    .sw-demo--live .sw-desk__board { display: flex; flex-direction: column; gap: 14px; }
    .sw-demo--live .sw-profile { flex: 0 0 auto; padding: 10px; opacity: calc(1 - var(--swap, 0)); transform: translate3d(0, calc(var(--swap, 0) * -28px), 0) scale(calc(1 - var(--swap, 0) * 0.04)); }
    .sw-demo--live .sw-profile__title { font-size: 1.25rem; }
    .sw-demo--live .sw-profile__cols { gap: 8px; }
    .sw-demo--live .sw-pcol { padding: 8px; }
    .sw-demo--live .sw-pcol h4 { font-size: 0.6875rem; letter-spacing: 0.1em; }
    .sw-demo--live .sw-dpill { font-size: 0.75rem; padding: 3px 9px 3px 3px; line-height: 1.2; }
    .sw-demo--live .sw-dpill__mark { width: 1.0625rem; height: 1.0625rem; font-size: 0.625rem; }
    .sw-demo--live .sw-dpill[data-lg] { display: none; }
    .sw-demo--live .sw-desk__right { position: static; flex: 1 1 0; min-height: 80px; display: grid; }
    .sw-demo--live .sw-tray { position: relative; inset: auto; }
    .sw-demo--live .sw-dcards { justify-content: space-evenly; gap: 8px; }
    .sw-demo--live .sw-dlines, .sw-demo--live .sw-dlegend, .sw-demo--live .sw-dnode, .sw-demo--live .sw-dcard--ghost, .sw-demo--live .sw-dsky__b--far { display: none; }
    .sw-demo--live .sw-dsky__rays { left: 50%; top: 62%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; }
    .sw-demo--live .sw-dcard { padding: 8px 12px; }
    .sw-demo--live .sw-dcard__name { font-size: 1.25rem; }
  }
  @media (max-width: 979px) and (max-height: 700px) {
    .sw-demo--live .sw-dcard { padding: 6px 11px; gap: 3px; }
    .sw-demo--live .sw-dcard__row { gap: 2px; }
    .sw-demo--live .sw-dcard__chips { row-gap: 3px; }
  }
  /* tall phones get a second example per stage; large tablets get the full desktop set */
  @media (max-width: 979px) and (min-height: 760px) { .sw-demo--live .sw-dpill[data-md] { display: inline-flex; } }
  @media (min-width: 600px) and (max-width: 979px) and (min-height: 900px) { .sw-demo--live .sw-dpill[data-lg] { display: inline-flex; } }
  @media (max-width: 400px) {
    .sw-demo--live .sw-dchip { font-size: 0.6875rem; padding: 0 7px 0 5px; gap: 4px; }
    .sw-demo--live .sw-dcard__chips { gap: 4px; }
    .sw-demo--live .sw-dcard__label { font-size: 0.625rem; }
  }
}

/* ---------- ENHANCEMENTS (landing v3): the hero's entrance, reveal-on-scroll and starburst parallax. Everything here is motion only and sits inside
   (prefers-reduced-motion: no-preference); without it (or without JavaScript, for the reveal) the page above is complete and still.
   - Entrance: CSS animations that run once on load (<= 1 s; the starburst twinkle 3.2 s) and end in the static layout.
   - Reveal: only when src/client/reveal.ts has added .sw-reveal to <html> (IntersectionObserver present, motion allowed) does a [data-reveal] block
     start lowered and transparent until the observer marks it .is-in. Anything on screen at load is marked at once.
   - Parallax: owner starbursts in the section fields drift at three depths, as a CSS scroll-driven animation (animation-timeline: view()) where the
     browser supports it; elsewhere they simply stay put. No script runs per frame for any of this. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sw-hero__copy > * { animation: sw-rise 0.75s var(--sw-ease) 1 both; }
  .sw-hero__copy > h1 { animation-name: sw-settle; } /* the main heading never starts invisible: it only settles into place */
  .sw-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .sw-hero__copy > :nth-child(3) { animation-delay: 0.14s; }
  .sw-hero__copy > :nth-child(4) { animation-delay: 0.2s; }
  .sw-hero__copy > :nth-child(5) { animation-delay: 0.26s; }
  .sw-hero__copy > :nth-child(6) { animation-delay: 0.32s; }
  .sw-hero__copy > :nth-child(7) { animation-delay: 0.38s; }
  .sw-arch { animation: sw-arch-in 0.95s var(--sw-ease) 0.12s 1 both; }
  .sw-arch__rays { animation: sw-rays-in 1s var(--sw-ease) 0.3s 1 both; }
  .sw-ticket { animation: sw-ticket-in 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) 0.55s 1 both; }
  .sw-hero__b { animation: sw-twinkle 3.2s ease-in-out 0.4s 1 both; }
  .sw-hero__b--t2, .sw-hero__b--t4 { animation-delay: 1.1s; }

  .sw-reveal [data-reveal] { transition: opacity 0.7s var(--sw-ease), transform 0.7s var(--sw-ease), translate 250ms var(--sw-ease), rotate 250ms var(--sw-ease), box-shadow 250ms ease; }
  .sw-reveal [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 22px, 0); }
  .sw-reveal .sw-cards3 > :nth-child(2), .sw-reveal .sw-steps > :nth-child(2) { transition-delay: 0.08s, 0.08s, 0s, 0s, 0s; }
  .sw-reveal .sw-cards3 > :nth-child(3), .sw-reveal .sw-steps > :nth-child(3) { transition-delay: 0.16s, 0.16s, 0s, 0s, 0s; }
  .sw-reveal .sw-steps > :nth-child(4) { transition-delay: 0.24s, 0.24s, 0s, 0s, 0s; }

  @supports (animation-timeline: view()) {
    .sw-par { animation: sw-par linear 1 both; animation-timeline: view(); }
    .sw-par--1 { --par: 24px; }
    .sw-par--2 { --par: 56px; }
    .sw-par--3 { --par: 96px; }
  }
}
@keyframes sw-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes sw-settle { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }
@keyframes sw-arch-in { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes sw-rays-in { from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes sw-ticket-in { from { opacity: 0; transform: translate3d(0, 22px, 0) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes sw-par { from { transform: translate3d(0, var(--par, 40px), 0) rotate(-8deg); } to { transform: translate3d(0, calc(var(--par, 40px) * -1), 0) rotate(8deg); } }
@media print { .sw-reveal [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------- BR (owner 2026-10-14): privacy notice as a letter; dark scheme (email palette) for privacy + plain pages only; the header stays ivory (dark wordmark) */
.sw-doc__section{padding-block:clamp(24px,5vw,64px)}
.sw-doc__card{background:var(--sw-paper);border-radius:var(--sw-radius);border-top:6px solid var(--sw-teal);box-shadow:0 10px 30px rgb(15 76 80/.08);padding:clamp(20px,5vw,48px);max-width:48em}
.sw-doc__card h1,.sw-doc__card h2,.sw-doc__card a{color:var(--sw-teal-deep)}
.sw-doc__card h1{font-size:clamp(2.1rem,5.4vw,3.25rem);margin-top:20px}
.sw-doc__card h2{font-size:clamp(1.6rem,3.6vw,2.1rem);margin:1.6em 0 .4em}
.sw-doc__card nav ul{margin:.8em 0 0;padding-left:1.2em}
.sw-doc__eyebrow{display:flex;align-items:center;gap:8px;margin-top:18px;font:italic 600 1.25rem var(--sw-display);color:var(--sw-teal)}
.sw-doc__burst{width:14px;height:auto;flex:none}
.sw-doc__orn{margin:10px 0 14px}
.sw-footer__legal-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center}
.sw-doc__card h3{font-size:1.15rem;margin:1.2em 0 .3em}
.sw-legal__part{border-top:2px solid currentColor;margin-top:2em}
.sw-legal__notice{font-size:1.375rem;line-height:1.35;font-weight:800;letter-spacing:.02em;margin:1.2em 0;padding:.7em .9em;border:3px solid currentColor;border-radius:10px}
.sw-legal__fee{font-size:1.0625rem;font-weight:600;margin:1em 0;padding:.7em .9em;border:2px dashed currentColor;border-radius:10px}
@media (prefers-color-scheme:dark){
.sw-doc,.sw-plain,.sw-doc .sw-footer,.sw-plain .sw-footer,.sw-plain__main{background:var(--accent-teal-night);color:var(--ivory)}
.sw-doc__card,.sw-plain .sw-letter{background:var(--accent-teal-deep);color:var(--ivory);box-shadow:none}
.sw-doc__card h1,.sw-doc__card h2,.sw-letter h1{color:var(--ivory)}
.sw-doc__card a,.sw-doc .sw-footer a,.sw-plain a,.sw-doc__eyebrow,.sw-plain .sw-hero__brandline{color:var(--accent-gold-text)}
.sw-doc .sw-status{background:var(--accent-teal-night);border-color:var(--accent-teal-mist);color:var(--ivory)}
.sw-doc .sw-updated,.sw-doc .sw-footer__links{color:var(--accent-teal-mist)}
.sw-plain .sw-letter::before{border-color:rgb(201 223 218/.35)}
.sw-plain .sw-letter__stamp{color:var(--accent-gold-text);border-color:currentColor;box-shadow:none}
.sw-doc :focus-visible,.sw-plain :focus-visible{outline-color:var(--accent-gold-text)}
.sw-header :focus-visible{outline-color:var(--ink)}
}
