/* Perch site. Direction "Owl Hour": a Windows desktop at night, told like a magazine feature.
   Plain CSS, no framework. Literal colours live only in the two token blocks below. */

@font-face { font-family: "Arno Display"; src: url("../fonts/arno-light-display.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Arno Display"; src: url("../fonts/arno-light-italic-display.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Verlag"; src: url("../fonts/verlag-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Verlag"; src: url("../fonts/verlag-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #eef2f7;
  --bg-2: #e3e9f1;
  --ink: #0b1730;
  --ink-soft: #3f4d64;
  --line: rgb(11 23 48 / 0.14);
  --line-strong: rgb(11 23 48 / 0.28);
  --accent-text: #15569f;
  --ring: #15569f;
  --brand-1: #4191e1; --brand-2: #41e1b5; --brand-3: #22d3ee;
  --grad: linear-gradient(100deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --on-grad: #04121c;
  --photo-ink: #f4f8fd;
  --photo-soft: rgb(244 248 253 / 0.86);
  --photo-line: rgb(244 248 253 / 0.32);
  --photo-scrim: 8 15 31;
  --hero-ink: #0b1730;
  --hero-soft: #24324a;
  --hero-line: rgb(11 23 48 / 0.38);
  --hero-scrim: 232 239 246;
  --island-bg: #f5f5f8;
  --island-ink: #0d1a32;
  --island-soft: #3d4a60;
  --island-line: rgb(11 23 48 / 0.14);
  --island-hover: rgb(11 23 48 / 0.07);
  --dock-bg: rgb(244 247 251 / 0.82);
  --dock-line: rgb(11 23 48 / 0.14);
  --dock-sep: rgb(11 23 48 / 0.18);
  --dock-dot: #0d1a32;
  --shadow: 16 32 64;
  --fan-line: rgb(11 23 48 / 0.16);

  --font-display: "Arno Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Verlag", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;

  --t-xs: 0.8125rem; --t-sm: 0.9375rem; --t-base: 1.0625rem; --t-md: 1.25rem; --t-lg: 1.777rem;
  --t-xl: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  --t-2xl: clamp(2.6rem, 1.6rem + 4.2vw, 5.25rem);
  --t-3xl: clamp(3.75rem, 1.6rem + 10.5vw, 13rem);
  --t-hero: clamp(3.1rem, min(1rem + 6.4vw, 12.4svh), 8.5rem);

  --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: 144px;
  --gutter: clamp(20px, 4vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --closed: 700px;
}
.dark {
  color-scheme: dark;
  --bg: #080f1f;
  --bg-2: #0c1528;
  --ink: #eff6fd;
  --ink-soft: #aeb9c9;
  --line: rgb(190 225 255 / 0.14);
  --line-strong: rgb(190 225 255 / 0.3);
  --accent-text: #7fc4ff;
  --ring: #7fc4ff;
  --hero-ink: #f4f8fd;
  --hero-soft: rgb(244 248 253 / 0.88);
  --hero-line: rgb(244 248 253 / 0.34);
  --hero-scrim: 8 15 31;
  --island-bg: #080f1f;
  --island-ink: #f4f8fd;
  --island-soft: #b2bdcc;
  --island-line: rgb(190 225 255 / 0.14);
  --island-hover: rgb(190 225 255 / 0.1);
  --dock-bg: rgb(11 19 36 / 0.72);
  --dock-line: rgb(190 225 255 / 0.16);
  --dock-sep: rgb(190 225 255 / 0.24);
  --dock-dot: #dce9f7;
  --shadow: 0 0 0;
  --fan-line: rgb(190 225 255 / 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-base)/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--bg); color: var(--ink); border-radius: 8px; transition: transform 200ms var(--ease); }
.skip:focus { transform: translateY(92px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.only-light { display: block; }
.only-dark { display: none; }
.dark .only-light { display: none; }
.dark .only-dark { display: block; }

.wrap { width: min(100%, 1640px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.015em; line-height: 1.02; }
.display em { font-style: italic; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: var(--t-base); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease), opacity 160ms var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 80ms; }
.btn--grad { background: var(--grad); color: var(--on-grad); }
.btn--line { border: 1px solid currentColor; }

/* ---------- island: the site's menu is a Perch notch that opens into the real panel ---------- */
.island-wrap { position: fixed; z-index: 50; top: 0; left: 50%; width: min(calc(100vw - 16px), max(var(--closed), min(56vw, 92svh))); transform: translateX(-50%); filter: drop-shadow(0 18px 34px rgb(var(--shadow) / 0.42)); pointer-events: none; }
.island { --cx: calc((100% - min(var(--closed), 100%)) / 2); position: relative; background: var(--island-bg); color: var(--island-ink); clip-path: inset(0 var(--cx) calc(100% - 50px) var(--cx) round 0 0 22px 22px); transition: clip-path 560ms var(--ease); border-radius: 0 0 26px 26px; overflow: hidden; pointer-events: auto; }
.island-wrap.is-open .island { clip-path: inset(0 0 0 0 round 0 0 26px 26px); transition-duration: 900ms; }
.island-nav { position: relative; height: 50px; display: flex; align-items: center; justify-content: center; gap: var(--s-1); padding-inline: var(--s-3); }
.island-nav-in { display: flex; align-items: center; gap: 2px; width: min(var(--closed), 100%); padding-inline: var(--s-3); }
.brandmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--t-sm); text-decoration: none; padding: 6px 8px; border-radius: 10px; }
.brandmark svg { width: 24px; height: 24px; flex: none; }
.island-time { font-size: var(--t-xs); color: var(--island-soft); margin-inline: 4px 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.island-links { display: flex; align-items: center; gap: 0; margin-inline: auto; }
.island-links a { padding: 6px 10px; border-radius: 10px; font-size: var(--t-sm); text-decoration: none; color: var(--island-soft); transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.island-links a:hover { color: var(--island-ink); background: var(--island-hover); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--island-soft); transition: background-color 160ms var(--ease), color 160ms var(--ease); flex: none; }
.icon-btn:hover { background: var(--island-hover); color: var(--island-ink); }
.icon-btn svg { width: 18px; height: 18px; }
.dark .icon-sun, :root:not(.dark) .icon-moon { display: none; }
.island-dl { margin-left: 6px; min-height: 36px; padding: 0 16px; font-size: var(--t-sm); }
.island-menu-btn { display: none; }
.island-panel img { width: 100%; }
.island-menu { display: none; padding: var(--s-2) var(--s-4) var(--s-5); }
.island-menu a { display: block; padding: 12px 10px; font-size: var(--t-md); text-decoration: none; border-top: 1px solid var(--island-line); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: clip; isolation: isolate; color: var(--hero-ink); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-plate { position: absolute; inset: -5% -3%; z-index: -2; will-change: transform; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--hero-scrim) / 0) 40%, rgb(var(--hero-scrim) / 0.72) 68%, rgb(var(--hero-scrim) / 0.78) 100%); }
.hero-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: var(--s-7); padding-bottom: clamp(104px, 13svh, 150px); }
.hero h1 { font-size: var(--t-hero); }
.hero h1 span { display: block; white-space: nowrap; }
.hero-side p { font-size: clamp(1.0625rem, 0.95rem + 0.42vw, 1.375rem); line-height: 1.42; color: var(--hero-soft); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero-meta { margin-top: var(--s-4); font-size: var(--t-sm); color: var(--hero-soft); }
.hero .btn--line { color: var(--hero-ink); border-color: var(--hero-line); }

/* the first-paint choreography */
.js .rise { transform: translateY(26px); opacity: 0; transition: transform 1100ms var(--ease), opacity 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .is-in .rise, .js .rise.is-in { opacity: 1; }
.js .is-in .rise:not(.dock-stage), .js .rise.is-in:not(.dock-stage) { transform: none; }
.js .dock-stage.rise { transform: translateX(-50%) translateY(26px); }
.js .is-in .dock-stage.rise { transform: translateX(-50%); }

/* ---------- dock: real icons, the bar drawn to the app's measures ---------- */
.dock-stage { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; max-width: 100vw; }
.dock { position: relative; display: flex; align-items: center; gap: 6px; height: 64px; padding: 0 12px; }
.dock-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--dock-bg); border: 1px solid var(--dock-line); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 16px 40px rgb(var(--shadow) / 0.4); }
.dock-item { position: relative; width: 48px; height: 48px; flex: none; transform-origin: 50% 100%; will-change: transform; display: grid; place-items: center; border-radius: 12px; }
.dock.is-mag .dock-item { transition: none; }
.dock:not(.is-mag) .dock-item { transition: transform 280ms var(--ease); }
.dock-item img { width: 40px; height: 40px; pointer-events: none; }
.dock-item.is-on::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--dock-dot); }
.dock-start svg { width: 34px; height: 34px; }
.dock-sep { position: relative; width: 1px; height: 30px; background: var(--dock-sep); flex: none; margin-inline: 4px; }
.dock-item[data-name]::before { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 8px; background: var(--island-bg); color: var(--island-ink); font-size: var(--t-xs); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 120ms var(--ease); }
.dock-item:hover::before { opacity: 1; }

/* The real Start menu, opened from the dock's Start button in the hero */
.hero-copy { transition: opacity 220ms var(--ease); }
.hero.is-start .hero-copy { opacity: 0.18; }
.hero-start { position: absolute; left: 50%; bottom: 88px; width: min(92vw, (100svh - 170px) * 0.88, 640px); transform: translateX(-50%) translateY(18px) scale(0.97); transform-origin: 50% 100%; opacity: 0; visibility: hidden; z-index: 2; transition: transform 300ms var(--ease), opacity 200ms var(--ease), visibility 0s linear 200ms; }
.hero-start.is-open { transform: translateX(-50%); opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-start .glass-back { position: absolute; inset: 1%; border-radius: 12px; backdrop-filter: blur(26px) saturate(1.3); -webkit-backdrop-filter: blur(26px) saturate(1.3); }
.hero-start img { position: relative; width: 100%; }

/* ---------- statement ---------- */
.statement { padding-block: clamp(80px, 11vw, 176px) clamp(56px, 7vw, 112px); }
.statement h2 { font-size: var(--t-2xl); max-width: 19ch; }
.statement p { margin-top: var(--s-6); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); line-height: 1.42; color: var(--ink-soft); max-width: 36em; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5); margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-strong); }
.stats div { padding-top: var(--s-4); }
.stats dt { order: 2; font-size: var(--t-sm); color: var(--ink-soft); }
.stats dd { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 1.6rem + 2.8vw, 4.75rem); line-height: 1; margin-bottom: var(--s-2); font-variant-numeric: lining-nums; }
.stats div { display: flex; flex-direction: column; }

/* ---------- chapter openers: each one a desktop on its own painting ---------- */
.opener { position: relative; min-height: clamp(640px, 108svh, 1240px); overflow: clip; isolation: isolate; color: var(--photo-ink); display: flex; flex-direction: column; justify-content: flex-end; --p: 0; }
.opener-plate { position: absolute; inset: -9% 0; z-index: -2; transform: translate3d(0, calc(var(--p) * 6%), 0); will-change: transform; }
.opener-plate img { width: 100%; height: 100%; object-fit: cover; }
.opener::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--photo-scrim) / 0.1) 30%, rgb(var(--photo-scrim) / 0.72) 100%); }
.opener-copy { position: relative; padding-bottom: clamp(48px, 7vw, 112px); }
.opener .eyebrow { color: var(--photo-soft); }
.opener h2 { font-size: var(--t-3xl); margin-top: var(--s-3); line-height: 0.94; }
.opener p { margin-top: var(--s-5); font-size: clamp(1.125rem, 1rem + 0.62vw, 1.625rem); line-height: 1.38; color: var(--photo-soft); max-width: 27em; }
.opener-ui { position: absolute; z-index: 0; transform: translate3d(0, calc(var(--p) * var(--ui-shift, -40px)), 0); will-change: transform; }
.opener-ui img { width: 100%; }
.opener--notch .opener-ui, .opener--calendar .opener-ui { top: 0; right: clamp(0px, 5vw, 110px); width: min(62vw, 1140px); }
.opener--notch .opener-copy, .opener--calendar .opener-copy { padding-right: 0; }
.opener--dock .opener-copy { padding-bottom: clamp(150px, 15vw, 210px); }
.opener--dock .dock-stage { position: absolute; bottom: 28px; }
.opener--start .opener-ui { bottom: -2%; right: clamp(0px, 7vw, 150px); width: min(44vw, 720px); --ui-shift: -70px; }
.opener--start .glass-back { position: absolute; inset: 2% 2% 2% 2%; border-radius: 12px; backdrop-filter: blur(26px) saturate(1.3); -webkit-backdrop-filter: blur(26px) saturate(1.3); }
.opener--start img { position: relative; }

/* ---------- feature mosaic: pictures of different weight, text under each ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px); padding-block: clamp(56px, 7vw, 112px); }
.f { grid-column: span 4; }
.f--8 { grid-column: span 8; }
.f--7 { grid-column: span 7; }
.f--6 { grid-column: span 6; }
.f--5 { grid-column: span 5; }
.f--3 { grid-column: span 3; }
.f--12 { grid-column: span 12; }
.f-pic { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 10; }
.f-pic img { width: 100%; height: 100%; object-fit: cover; }
.f h3 { margin-top: var(--s-4); font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 1.25rem + 0.7vw, 2.125rem); line-height: 1.1; letter-spacing: -0.008em; }
.f p { margin-top: var(--s-2); color: var(--ink-soft); max-width: 40em; }
.f code, .list-group code { font-family: "Cascadia Code", Consolas, monospace; font-size: 0.92em; }
.kbd, kbd { font: 700 0.82em/1 var(--font-ui); padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 5px; white-space: nowrap; }
.section-note { font-size: var(--t-lg); font-family: var(--font-display); font-weight: 300; line-height: 1.2; max-width: 26em; }

/* ---------- card stacks ---------- */
.looks { padding-block: clamp(72px, 9vw, 150px) 0; }
.looks > .wrap > h2 { font-size: var(--t-2xl); max-width: 16ch; margin-top: var(--s-3); }
.looks > .wrap > p { margin-top: var(--s-5); color: var(--ink-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem); max-width: 34em; }
.fan-block { padding-block: clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.fan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-6); }
.fan-head h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--t-xl); line-height: 1.1; }
.fan-head p { color: var(--ink-soft); max-width: 36em; }
.fan { position: relative; margin-top: var(--s-6); }
.fan { --w: var(--card-w, clamp(250px, 37vw, 660px)); }
.fan-stage { position: relative; height: calc(var(--w) / var(--ar, 1.6) + 28px); touch-action: pan-y; }
.fan-card { position: absolute; left: 50%; bottom: 0; width: var(--w); aspect-ratio: var(--ar, 1.6); margin-left: calc(var(--w) / -2); transform-origin: 50% 110%; transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform 620ms var(--ease); border-radius: 14px; z-index: var(--z, 1); box-shadow: 0 2px 0 rgb(var(--shadow) / 0.08), 0 24px 54px rgb(var(--shadow) / 0.42); will-change: transform; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--fan-line); }
.fan-card::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--fan-line); pointer-events: none; }
.fan-card:focus-visible { outline-offset: 4px; border-radius: 14px; }
.fan-card[aria-pressed="true"]::after { box-shadow: inset 0 0 0 2px var(--accent-text); }
.fan-caption { margin-top: clamp(64px, 7vw, 112px); position: relative; z-index: 120; text-align: center; min-height: 3.4em; }
.fan-caption b { display: block; font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg); line-height: 1.1; }
.fan-caption span { color: var(--ink-soft); }
.fan-names { position: relative; z-index: 120; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-top: var(--s-4); }
.fan-names button { padding: 6px 12px; min-height: 32px; border-radius: 999px; font-size: var(--t-sm); color: var(--ink-soft); transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.fan-names button:hover { color: var(--ink); background: var(--line); }
.fan-names button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
/* no JS, or reduced motion: a plain grid */
.fan.is-grid .fan-stage, html:not(.js) .fan-stage { height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--s-4); }
.fan.is-grid .fan-card, html:not(.js) .fan-card { position: relative; left: auto; bottom: auto; width: 100%; margin: 0; transform: none; transition: none; z-index: auto; box-shadow: none; }

/* ---------- Windows taskbar vs Perch: a newspaper ledger, no cards ---------- */
.ledger { padding-block: clamp(72px, 9vw, 150px); }
.ledger h2 { font-size: var(--t-2xl); max-width: 14ch; margin-top: var(--s-3); }
.ledger-table { width: 100%; border-collapse: collapse; margin-top: clamp(32px, 4vw, 64px); }
.ledger-table th, .ledger-table td { padding: 18px 16px 18px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.ledger-table thead th { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); border-top: 2px solid var(--ink); }
.ledger-table tbody th { font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg); line-height: 1.15; width: 34%; }
.ledger-table td { color: var(--ink-soft); width: 33%; }
.ledger-table td:last-child { color: var(--ink); font-weight: 700; }

/* ---------- every feature ---------- */
.all { background: var(--bg-2); padding-block: clamp(72px, 9vw, 150px); }
.all h2 { font-size: var(--t-2xl); max-width: 14ch; margin-top: var(--s-3); }
.all-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 72px); margin-top: clamp(32px, 4vw, 64px); }
details.list-group { border-top: 1px solid var(--line-strong); }
details.list-group summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 18px 0; cursor: pointer; font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg); line-height: 1.15; list-style: none; }
details.list-group summary::-webkit-details-marker { display: none; }
details.list-group summary::after { content: "+"; font: 400 1.5rem/1 var(--font-ui); color: var(--ink-soft); transition: transform 240ms var(--ease); }
details.list-group[open] summary::after { transform: rotate(45deg); }
.list-group ul { padding-bottom: var(--s-5); display: grid; gap: 6px; }
.list-group li { padding-left: 16px; position: relative; color: var(--ink-soft); }
.list-group li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 1px; background: var(--ink-soft); }
.list-group li b { color: var(--ink); }

/* ---------- install, privacy ---------- */
.steps { padding-block: clamp(72px, 9vw, 150px); }
.steps h2 { font-size: var(--t-2xl); margin-top: var(--s-3); max-width: 15ch; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); margin-top: clamp(32px, 4vw, 64px); counter-reset: step; }
.steps-list li { border-top: 2px solid var(--ink); padding-top: var(--s-4); counter-increment: step; }
.steps-list li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 5.5rem); line-height: 1; }
.steps-list h3 { font-weight: 700; font-size: var(--t-md); margin-top: var(--s-3); }
.steps-list p { color: var(--ink-soft); margin-top: var(--s-2); }
.honest { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6); margin-top: clamp(64px, 8vw, 128px); }
.honest > div { grid-column: span 6; }
.honest h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--t-xl); line-height: 1.1; }
.honest p { margin-top: var(--s-3); color: var(--ink-soft); }
.honest ul { margin-top: var(--s-3); display: grid; gap: var(--s-2); }
.honest li { padding-top: var(--s-2); border-top: 1px solid var(--line); color: var(--ink-soft); }
.honest li b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { padding-block: 0 clamp(72px, 9vw, 150px); }
.faq h2 { font-size: var(--t-2xl); margin-top: var(--s-3); }
.faq-list { margin-top: var(--s-7); max-width: 60em; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s-4); padding: 18px 0; cursor: pointer; font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg); line-height: 1.2; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-ui); color: var(--ink-soft); transition: transform 240ms var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s-5); color: var(--ink-soft); max-width: 44em; }

/* ---------- finale ---------- */
.finale { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: clip; isolation: isolate; color: var(--photo-ink); --p: 0; }
.finale-plate { position: absolute; inset: -6% 0; z-index: -2; transform: translate3d(0, calc(var(--p) * 4%), 0); }
.finale-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--photo-scrim) / 0.86), rgb(var(--photo-scrim) / 0.7) 42%, rgb(var(--photo-scrim) / 0) 68%); }
.finale h2 { font-size: var(--t-hero); line-height: 0.98; width: fit-content; }
.finale p { margin-top: var(--s-5); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); color: var(--photo-soft); max-width: 25em; }
.finale .btn--line { color: var(--photo-ink); border-color: var(--photo-line); }
.finale-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.foot { padding-block: var(--s-7); font-size: var(--t-sm); color: var(--ink-soft); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); }
.foot ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.foot a { color: var(--ink-soft); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }
.foot-credits { margin-top: var(--s-4); font-size: var(--t-xs, 0.8rem); line-height: 1.6; color: var(--ink-soft); }
.foot-credits span { margin-right: var(--s-3); }
.foot-credits b { font-weight: 600; }
.foot-credits a { white-space: nowrap; }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 1000ms var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- narrower ---------- */
/* 1.1.3: the six new menus, tall screens, icon packs */
.f--4 { grid-column: span 4; }
.looks { overflow-x: clip; }
.six { padding-block: clamp(32px, 4vw, 64px) clamp(56px, 7vw, 112px); }
.six > h3 { font-size: var(--t-2xl); }
.six-lead { margin-top: var(--s-4); color: var(--ink-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem); max-width: 34em; }
.six-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: center; margin-top: clamp(40px, 6vw, 96px); }
.six-pic { grid-column: span 8; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
.six-pic img { width: 100%; height: auto; }
.six-copy { grid-column: span 4; }
.six-row:nth-of-type(even) .six-pic { order: 2; }
.six-no { font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.22em; color: var(--accent-text); }
.six-copy h4 { margin-top: var(--s-2); font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4.25rem); line-height: 1; }
.six-copy p { margin-top: var(--s-2); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.42; color: var(--ink-soft); }
.grow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: center; margin-top: clamp(64px, 8vw, 128px); padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-strong); }
.grow-pic { grid-column: span 7; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.grow-pic img { width: 100%; height: auto; }
.grow-copy { grid-column: span 5; }
.grow-copy h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.75rem); line-height: 1.02; }
.grow-copy p { margin-top: var(--s-4); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.42; color: var(--ink-soft); }
.icons { padding-block: clamp(72px, 9vw, 150px) clamp(24px, 3vw, 48px); }
.icons h2 { font-size: var(--t-2xl); margin-top: var(--s-3); }
.icons-lead { margin-top: var(--s-5); color: var(--ink-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem); max-width: 34em; }
.icons-banner, .icons-sheet, .icons-ex > img { display: block; margin-top: clamp(32px, 5vw, 72px); }
.icons-banner img, .icons-sheet img, .icons-ex > img { width: 100%; height: auto; border-radius: 14px; }
.icons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 6vw, 88px); }
.icons-copy h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.05; }
.icons-copy p { margin-top: var(--s-3); color: var(--ink-soft); }
.icons-ex { margin: 0; }
.icons-ex figcaption, .icons-fold figcaption { margin-top: var(--s-4); }
.icons-ex figcaption h3, .icons-fold figcaption h3 { font-size: var(--t-lg, 1.25rem); font-weight: 700; }
.icons-ex figcaption p, .icons-fold figcaption p { margin-top: var(--s-2); color: var(--ink-soft); max-width: 44em; }
.icons-fold { margin: clamp(40px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: center; }
.icons-fold .f-pic { grid-column: span 7; }
.icons-fold figcaption { grid-column: span 5; margin-top: 0; }
@media (max-width: 860px) {
  .six-pic, .six-copy, .grow-pic, .grow-copy, .icons-fold .f-pic, .icons-fold figcaption { grid-column: 1 / -1; }
  .six-row:nth-of-type(even) .six-pic { order: 0; }
  .icons-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  :root { --closed: 620px; }
  .island-links a { padding-inline: 7px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opener--start .opener-ui { width: min(52vw, 560px); }
}
@media (max-width: 860px) {
  :root { --closed: 100%; }
  .island-links { display: none; }
  .island-menu-btn { display: grid; margin-left: auto; }
  .island-wrap { width: calc(100vw - 12px); }
  .island-nav-in { width: 100%; padding-inline: 2px; }
  .island-wrap.is-menu .island { clip-path: inset(0 0 0 0 round 0 0 22px 22px); }
  .island-wrap.is-menu .island-panel { display: none; }
  .island-wrap.is-menu .island-menu { display: block; }
  .hero { justify-content: flex-end; }
  .hero-scrim { background: linear-gradient(180deg, rgb(var(--hero-scrim) / 0) 26%, rgb(var(--hero-scrim) / 0.74) 44%, rgb(var(--hero-scrim) / 0.82) 100%); }
  .hero h1 span { white-space: normal; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding-bottom: 96px; padding-top: calc((100vw - 12px) * 0.56 + 40px); }
  .hero-cta .btn--line { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .dock-stage { width: 100%; display: flex; justify-content: center; overflow: hidden; bottom: 10px; padding-inline: 8px; }
  .dock { height: 56px; gap: 4px; padding: 0 10px; }
  .dock-item { width: 38px; height: 38px; }
  .dock-item img { width: 32px; height: 32px; }
  .dock-item.opt, .dock-sep.opt { display: none; }
  .opener { min-height: 0; padding-top: 0; }
  .opener-ui { position: relative; inset: auto !important; width: 100% !important; transform: none; }
  .opener--notch .opener-ui, .opener--calendar .opener-ui { padding-top: 0; }
  .opener--start .opener-ui { width: 86% !important; margin: 40px auto 0; }
  .opener--dock { padding-top: 200px; }
  .opener--dock .opener-copy { padding-bottom: 110px; }
  .opener-copy { padding-top: 32px; }
  .mosaic { gap: var(--s-7) var(--s-3); }
  .f, .f--8, .f--7, .f--6, .f--5, .f--3 { grid-column: span 12; }
  .f--half { grid-column: span 6; }
  .f--half h3 { font-size: 1.25rem; }
  .f--half p { font-size: var(--t-sm); }
  .all-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .honest > div { grid-column: span 12; }
  .ledger-table tbody th { font-size: var(--t-md); width: 38%; }
  .ledger-table th, .ledger-table td { padding-right: 8px; font-size: var(--t-sm); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finale { min-height: 92svh; align-items: stretch; }
  .finale > .wrap { display: flex; flex-direction: column; padding-block: 56px 28px; }
  .finale-cta { margin-top: auto; }
  .finale::after { background: linear-gradient(180deg, rgb(var(--photo-scrim) / 0.72), rgb(var(--photo-scrim) / 0.62) 30%, rgb(var(--photo-scrim) / 0) 50%); }
  .finale-plate img { object-position: 74% 50%; }
}

/* ---------- the calendar: four designs, twelve paintings, four places ---------- */
.cal { padding-block: clamp(32px, 4vw, 64px) clamp(56px, 7vw, 112px); }
.cal h3 { font-size: var(--t-2xl); }
.cal-block { margin-top: clamp(80px, 10vw, 160px); padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-strong); }

/* four designs: the tabs are line drawings of each design's own layout */
.cal-designs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(40px, 6vw, 96px); align-items: start; }
.cal-stage { grid-column: 1 / span 9; grid-row: 1; display: grid; }
.cal-side { grid-column: 10 / span 3; grid-row: 1; display: grid; gap: var(--s-4); }
.cal-side .six-no { display: block; }
.cal-side-note { color: var(--ink-soft); font-size: var(--t-sm); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.cal-tabs { display: grid; gap: var(--s-3); }
.cal-tab { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; gap: var(--s-4); padding: 12px; border-radius: 14px; text-align: left; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform 200ms var(--ease), color 200ms var(--ease), background-color 200ms var(--ease); }
.cal-tab:hover { color: var(--ink); background: var(--bg-2); }
.cal-tab[aria-selected="true"] { color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--accent-text); }
.cal-tab:focus-visible { outline-offset: 3px; border-radius: 14px; }
.cal-map { display: block; width: 100%; height: auto; }
.cal-map .m-dim { opacity: 0.5; }
.cal-map .m-acc { stroke: var(--accent-text); }
.cal-map .m-fill { fill: var(--accent-text); }
.cal-map text { stroke: none; fill: currentColor; font-family: var(--font-display); font-weight: 300; font-size: 54px; }
.cal-map text.m-acc { fill: var(--accent-text); }
.cal-tab-text { display: grid; gap: 2px; }
.cal-tab-no { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.22em; color: var(--accent-text); }
.cal-tab-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.625rem); line-height: 1.1; }
.cal-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease), visibility 0s linear 360ms; }
.cal-pane.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.cal-shot { border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 1px 0 rgb(var(--shadow) / 0.06), 0 24px 54px rgb(var(--shadow) / 0.26); }
.cal-shot img { width: 100%; height: auto; transform: scale(1.015); transition: transform 700ms var(--ease); }
.cal-pane.is-on .cal-shot img { transform: none; }
.cal-pane figcaption { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s-2) var(--s-6); align-items: start; margin-top: var(--s-5); }
.cal-pane h4 { margin: 0; font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); line-height: 1; grid-row: span 2; }
.cal-pane figcaption p { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.42; color: var(--ink-soft); max-width: 34em; }
.cal-pane .cal-shown { font-size: var(--t-sm); }
html:not(.js) .cal-side { display: none; }
html:not(.js) .cal-stage { grid-column: 1 / -1; gap: var(--s-8); }
html:not(.js) .cal-pane { grid-area: auto; opacity: 1; visibility: visible; }
.cal-pan { display: none; }
/* wide screens: the caption runs on the same twelve columns, so the name, the sentence and "Shown" fill the row under the picture and the tabs */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    html.js .cal-designs { grid-template-rows: auto auto; row-gap: var(--s-6); }
    html.js .cal-side { position: relative; z-index: 1; align-self: start; }
    html.js .cal-stage { grid-column: 1 / -1; grid-row: 1 / span 2; grid-template-columns: subgrid; grid-template-rows: subgrid; }
    html.js .cal-pane { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
    html.js .cal-shot { grid-column: 1 / span 9; grid-row: 1; align-self: start; }
    html.js .cal-pane figcaption { grid-column: 1 / -1; grid-row: 2; grid-template-columns: subgrid; column-gap: normal; margin-top: 0; align-items: start; }
    html.js .cal-pane h4 { grid-column: 1 / span 3; grid-row: 1; }
    html.js .cal-pane figcaption p { grid-column: 4 / span 6; grid-row: 1; }
    html.js .cal-pane .cal-shown { grid-column: 10 / span 3; grid-row: 1; padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--ink-soft); }
  }
}

/* twelve paintings */
.hcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
.hcard-pic, .pcard-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 1px 0 rgb(var(--shadow) / 0.06), 0 18px 40px rgb(var(--shadow) / 0.22); transition: transform 300ms var(--ease); }
.hcard-pic::after, .pcard-pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.hcard-pic img { width: 100%; height: 100%; object-fit: cover; }
.hcard-when { margin-top: var(--s-4); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.hcard h4, .pcard h4 { margin: var(--s-1) 0 0; font-size: var(--t-lg); line-height: 1.1; }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover .hcard-pic, .pcard:hover .pcard-pic { transform: translateY(-6px); }
}

/* four places: one painting, three hours, crossfaded */
.cal-clock { margin-top: var(--s-5); font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg); line-height: 1.2; }
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.pcard h4 { margin-top: var(--s-4); }
.pcard-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); }
.pcard-pic img.is-on { opacity: 1; }
.pcard-hours { position: absolute; z-index: 1; left: 12px; bottom: 12px; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--dock-bg); border: 1px solid var(--dock-line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.pcard-hours button { min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: var(--t-sm); font-weight: 700; color: var(--ink); transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.pcard-hours button:not([aria-pressed="true"]):hover { background: var(--line-strong); }
.pcard-hours button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pcard-hours button:focus-visible { outline-offset: 2px; border-radius: 999px; }
html:not(.js) .pcard-hours { display: none; }

@media (max-width: 1100px) {
  .cal-side { grid-column: 1 / -1; grid-row: 1; }
  .cal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cal-stage { grid-column: 1 / -1; grid-row: 2; }
  .cal-tab { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .hcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .cal-tab { padding: 10px; }
  .cal-pane figcaption { grid-template-columns: minmax(0, 1fr); }
  .cal-pane h4 { grid-row: auto; }
  /* phones: the panel itself at a readable size, cropped to its edges, panned sideways */
  .cal-shot { --shot: 1040px; display: flex; align-items: flex-start; height: calc(var(--shot) * 496 / 1400); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .cal-stage { grid-template-columns: minmax(0, 1fr); }
  .cal-shot img { flex: none; width: calc(var(--shot) * 1260 / 1400); height: calc(var(--shot) * 610 / 1400); max-width: none; object-fit: cover; object-position: 50% 0; margin-top: calc(var(--shot) * -4 / 1400); }
  .cal-shot:focus-visible { outline-offset: 3px; border-radius: 14px; }
  .cal-pan { display: block; margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-soft); }
  .hcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); }
  .hcard h4 { font-size: var(--t-md); }
  .pcards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cal-tab, .hcard-pic, .pcard-pic, .cal-shot img { transition: none !important; transform: none !important; }
  .cal-pane { transition: opacity 150ms linear, visibility 0s linear 150ms; }
  .pcard-pic img { transition: opacity 200ms linear; }
}
@media (forced-colors: active) {
  .cal-tab { border: 1px solid CanvasText; }
  .cal-tab[aria-selected="true"], .pcard-hours button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* ---------- reduced motion: fades stay, movement goes ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .rv { transform: none; transition: opacity 240ms linear; transition-delay: 0ms; }
  .hero-plate, .opener-plate, .finale-plate, .opener-ui { transform: none !important; }
  .opener--start .opener-ui, .opener--notch .opener-ui, .opener--calendar .opener-ui { transform: none !important; }
  .island, .island-wrap.is-open .island { transition: clip-path 1ms linear; }
  .f-pic img, .btn, .dock-item { transition: none !important; }
  .hero-start { transition: opacity 200ms linear, visibility 0s; transform: translateX(-50%); }
}
@media (forced-colors: active) {
  .btn--grad, .island { forced-color-adjust: auto; border: 1px solid CanvasText; }
  .fan-card[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* The film under the hero (1.1.12) */
.film { padding-block: clamp(32px, 6vw, 72px) 0; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgb(var(--shadow) / 0.45); background: transparent; }
