/* rill.love. Shared by index.html, privacy.html and press.html.
   The tokens are the app's own (Browser: Sources/Rill/Design/RillColor.swift, the Gallery wall):
   light is a pale ice wall with white paper and navy ink; dark is an ink-blue wall with graphite paper and icy
   selection. Brass is the app's AI colour and appears only on the AI glyph. Nothing on the page breathes or glows. */

@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/SourceSerif4-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/SourceSerif4-RegularIt.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light dark;

  /* Wall roles */
  --wall: #E6ECF2;
  --wall-top: #EEF2F7;
  --wall-deep: #DAE1E9;
  --on-wall: #0F1A2D;
  --on-wall-2: #37425A;       /* onWall 82% over the wall */
  --on-wall-3: #4A5569;
  --wall-line: rgba(15, 26, 45, .10);
  --wall-hover: rgba(15, 26, 45, .055);
  --grain-mix: soft-light;
  --grain: .22;

  /* Paper roles */
  --paper: #FFFFFF;
  --paper-2: #F9FAFC;
  --paper-sunk: #EFF2F6;
  --ink: #111A27;
  --ink-2: #465163;
  --ink-3: #5A6577;
  --line: rgba(17, 26, 39, .10);
  --line-2: rgba(17, 26, 39, .16);

  --primary: #2A62A6;
  --primary-hover: #245793;
  --on-primary: #FFFFFF;
  --focus: #2A62A6;
  --brass: #B47F22;
  --plaque: #FFFFFF;
  --plaque-ink: #0F1B2C;
  --plaque-ink-3: #56637A;
  --plaque-edge: rgba(255, 255, 255, 0);

  --shadow-card: 0 0 0 .5px rgba(15, 26, 45, .16), 0 2px 6px rgba(15, 26, 45, .05), 0 28px 64px -28px rgba(15, 26, 45, .30);
  --shadow-window: 0 0 0 .5px rgba(0, 0, 0, .28), 0 2px 6px rgba(15, 26, 45, .10), 0 34px 80px -24px rgba(15, 26, 45, .40);
  --shadow-e1: 0 0 0 .5px rgba(17, 26, 39, .10), 0 1px 2px rgba(17, 26, 39, .06), 0 12px 28px -18px rgba(17, 26, 39, .28);
  --shadow-e3: 0 0 0 .5px rgba(17, 26, 39, .14), 0 18px 48px rgba(28, 20, 10, .20), 0 3px 10px rgba(28, 20, 10, .10);
  --shadow-label: 0 1px 0 rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .10);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --r-card: 20px;
  --r-shot: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --wall: #0F1A2D;
    --wall-top: #13213A;
    --wall-deep: #0A1220;
    --on-wall: #DDE9F6;
    --on-wall-2: #A8B4C4;     /* onWall 72% */
    --on-wall-3: #97A3B4;
    --wall-line: rgba(221, 233, 246, .09);
    --wall-hover: rgba(221, 233, 246, .06);
    --grain: .16;

    --paper: #15191F;
    --paper-2: #1C2128;
    --paper-sunk: #101318;
    --ink: #E6EBF1;
    --ink-2: #AAB3BF;
    --ink-3: #8C95A2;
    --line: rgba(230, 235, 241, .09);
    --line-2: rgba(230, 235, 241, .15);

    --primary: #9CC6EE;
    --primary-hover: #B4D5F3;
    --on-primary: #0D1726;
    --focus: #9CC6EE;
    --brass: #E8AC52;
    --plaque: #1E2A3D;
    --plaque-ink: #E4ECF7;
    --plaque-ink-3: #9AA8BA;
    --plaque-edge: rgba(221, 233, 246, .16);

    --shadow-card: 0 0 0 .5px rgba(0, 0, 0, .6), inset 0 .5px 0 rgba(214, 232, 255, .08), 0 28px 64px -24px rgba(0, 0, 0, .55);
    --shadow-window: 0 0 0 .5px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .25), 0 34px 80px -20px rgba(0, 0, 0, .65);
    --shadow-e1: 0 0 0 .5px rgba(230, 235, 241, .07), 0 1px 2px rgba(0, 0, 0, .30), 0 12px 28px -18px rgba(0, 0, 0, .6);
    --shadow-e3: 0 0 0 .5px rgba(0, 0, 0, .55), 0 18px 48px rgba(0, 0, 0, .45), 0 3px 10px rgba(0, 0, 0, .30);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--wall);
  color: var(--on-wall);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--primary) 22%, transparent); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); opacity: 0; z-index: 30; padding: 8px 14px; border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 500; text-decoration: none; box-shadow: var(--shadow-e3); }
.skip:focus { transform: none; opacity: 1; }

/* The lockup: the leaf in the Lens icon's sea glass, the dot in sea-glass blue, the letters in ink. */
.lockup { display: block; width: auto; color: inherit; overflow: visible; }
.leaf-1 { stop-color: #8DC0B7; } .leaf-2 { stop-color: #4A9190; } .leaf-3 { stop-color: #2F6F73; }
.lockup-dot { fill: #5C9FB0; }
@media (prefers-color-scheme: dark) {
  .leaf-1 { stop-color: #A9D6CD; } .leaf-2 { stop-color: #6AAFAB; } .leaf-3 { stop-color: #45898B; }
  .lockup-dot { fill: #7FBCD0; }
}

/* Buttons: the app's filled button, in the focus blue. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 1px 2px rgba(15, 26, 45, .18), 0 6px 16px -8px rgba(42, 98, 166, .55); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--small { min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 14px; }
.btn--large { min-height: 52px; padding: 0 28px; border-radius: 12px; font-size: 17px; }
@media (prefers-color-scheme: dark) { .btn--primary { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 1px 2px rgba(0, 0, 0, .4); } }

/* The bar: frosted wall, like the ice glass behind the window. */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--wall) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: .5px solid var(--wall-line);
}
.bar__inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-wall); margin-right: auto; border-radius: 8px; }
.bar__lockup { height: 26px; width: auto; margin-top: 2px; }
.bar__links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.bar__links a { font-size: 14.5px; font-weight: 500; color: var(--on-wall-2); text-decoration: none; }
.bar__links a:hover, .bar__links a[aria-current="page"] { color: var(--on-wall); }
@media (max-width: 760px) {
  .bar__links { display: none; }
  .bar__inner { height: 56px; }
}

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: italic 400 18px/1.3 var(--serif); color: var(--on-wall-3); }
.card .eyebrow { color: var(--ink-3); }
.ai-glyph { width: 16px; height: 16px; color: var(--brass); }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2, .film__title {
  font: 600 clamp(34px, 4.6vw, 54px)/1.06 var(--serif);
  letter-spacing: -.022em; color: inherit; text-wrap: balance;
}
.lead { margin-top: 18px; max-width: 640px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.head--wall .lead { color: var(--on-wall-2); }

/* 1. Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--wall-top), var(--wall) 60%); }
/* The wall grain, as the app draws it: the day's painting, grey, in soft light. Faded out toward the window. */
.hero__grain {
  position: absolute; inset: 0 0 35% 0; z-index: -1; pointer-events: none;
  background: url("assets/img/wall-grain.webp") center 30% / cover no-repeat;
  mix-blend-mode: var(--grain-mix); opacity: var(--grain);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
}
.hero__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__icon { width: clamp(88px, 10vw, 112px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 18px rgba(15, 26, 45, .18)); }
.hero__lockup { height: clamp(34px, 3.6vw, 44px); width: auto; margin-bottom: clamp(22px, 3vw, 30px); color: var(--on-wall); }
.hero__title {
  font: 600 clamp(40px, 5.6vw, 76px)/1.04 var(--serif);
  letter-spacing: -.028em; text-wrap: balance;
}

.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }

/* The tagline. "browsing" is loose and colourful: a slow drifting wash of hues. "agents" is crisp: ice to cyan, with a
   scan of light every few seconds and faint scanlines. Both keep their colour after the entrance. Every hue passes
   3:1 on the wall (large text), in both appearances. */
.tl { white-space: nowrap; }
.tl--one { display: block; color: var(--on-wall-2); }
.w-browsing, .w-agents { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.w-browsing {
  --h1: #0B7F77; --h2: #C2472A; --h3: #2E7D32; --h4: #1E6DB5; --h5: #C2185B; --h6: #9A6300;
  background-image: linear-gradient(100deg, var(--h1), var(--h2) 18%, var(--h3) 34%, var(--h4) 52%, var(--h5) 68%, var(--h6) 84%, var(--h1));
  background-size: 320% 100%; background-position: 0% 50%;
  padding-right: .04em;
  animation: drift 26s ease-in-out infinite alternate;
}
.w-agents {
  --a1: #12406B; --a2: #0A6F94; --band: #0F86AE;
  position: relative; display: inline-block;
  background-image:
    linear-gradient(100deg, transparent 0 40%, var(--band) 50%, transparent 60% 100%),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, .10) 3px 4px),
    linear-gradient(100deg, var(--a1), var(--a2));
  background-size: 300% 100%, 100% 100%, 100% 100%;
  background-position: 150% 0, 0 0, 0 0;
  animation: shimmer 7s ease-in-out 2.4s infinite;
  font-feature-settings: "lnum";
}
/* A thin monospaced-style underline under "agents": a rule with ticks, like a scale. */
.w-agents::after {
  content: ""; position: absolute; left: .04em; right: .06em; bottom: .02em; height: 3px;
  background: repeating-linear-gradient(90deg, var(--a2) 0 2px, transparent 2px 9px), linear-gradient(var(--a2), var(--a2)) bottom / 100% 1px no-repeat;
  opacity: .55;
}
@media (prefers-color-scheme: dark) {
  .w-browsing { --h1: #5FD6C8; --h2: #FF9C7C; --h3: #7EDB86; --h4: #7CC4FF; --h5: #FF8DB8; --h6: #FFD35C; }
  .w-agents { --a1: #E4F6FF; --a2: #5ACCF5; --band: #FFFFFF; }
}
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes shimmer { 0%, 70% { background-position: 150% 0, 0 0, 0 0; } 100% { background-position: -50% 0, 0 0, 0 0; } }

/* Entrance (script.js adds .is-entering once, and never under reduced motion). "browsing" flows in behind a soft
   wipe; "agents" scans in, its letters flickering through cipher glyphs until the bar passes. */
.hero__title.is-entering .w-browsing {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  animation: flow-in 1.1s cubic-bezier(.2, .7, .1, 1) both, drift 26s ease-in-out infinite alternate;
}
@keyframes flow-in {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; transform: translateY(.08em); filter: blur(4px); }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; transform: none; filter: none; }
}
.w-agents.is-scanning::before {
  content: ""; position: absolute; top: -.08em; bottom: -.04em; left: var(--scan, 0%); width: 3px; border-radius: 2px;
  background: #56CCFF; box-shadow: 0 0 14px 2px rgba(86, 204, 255, .75);
}
.w-agents .cipher { font-family: var(--mono); font-weight: 500; font-size: .82em; }

.hero__works { margin-top: 22px; max-width: 34em; font-size: 16px; color: var(--on-wall-2); line-height: 2; }
.agent-pill {
  display: inline-block; margin: 0 2px; padding: 2px 11px 2px 9px; border-radius: 999px;
  font: 500 14.5px/1.5 var(--sans); white-space: nowrap; vertical-align: 1px;
}
.agent-pill--claude { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(217, 119, 87, .55); }
.agent-pill__dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #D97757; vertical-align: 1px; }
.agent-pill--codex { background: #0B0B0C; color: #FFFFFF; padding-left: 11px; }
@media (prefers-color-scheme: dark) {
  .agent-pill--claude { background: #1E2A3D; color: var(--on-wall); }
  .agent-pill--codex { background: #FFFFFF; color: #0B0B0C; }
}

@media (prefers-reduced-motion: reduce) {
  .w-browsing { animation: none; background-position: 30% 50%; }
  .w-agents { animation: none; }
}
.nf { min-height: 52vh; }
.hero__meta { font-size: 15px; color: var(--on-wall-2); font-variant-numeric: tabular-nums; }

.hero__shot { margin-top: clamp(44px, 6vw, 72px); margin-bottom: 0; }

/* A whole window, as the app draws it: 12 pt corners at 1280 x 820. */
.window { position: relative; max-width: 1120px; margin-inline: auto; border-radius: .9375% / 1.4634%; box-shadow: var(--shadow-window); }
.window img { width: 100%; border-radius: inherit; }

/* The hung painting in the window's corner (8, 8, 240 x 124 of 1280 x 820). Its label, on hover or press. */
.plate { position: absolute; left: .625%; top: .9756%; width: 18.75%; height: 15.122%; }
.plate__hit { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 6%/10%; background: transparent; cursor: pointer; }
.plate__hit:hover { box-shadow: inset 0 0 0 1px rgba(255, 248, 230, .5); }
.plate__label {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 2;
  display: grid; gap: 1px; width: max-content; max-width: 280px; padding: 11px 14px 12px;
  border-radius: 8px; background: var(--plaque); color: var(--plaque-ink);
  box-shadow: var(--shadow-e3), inset 0 .5px 0 var(--plaque-edge);
  font: 400 14px/1.35 var(--serif); text-align: left;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.plate__label b { font-weight: 600; font-size: 15px; }
.plate__label .plate__place { font-family: var(--sans); font-size: 12.5px; color: var(--plaque-ink-3); margin-top: 3px; }
.plate:hover .plate__label, .plate__hit:focus-visible + .plate__label, .plate__hit[aria-expanded="true"] + .plate__label { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .plate__label { transition: none; transform: none; } }

/* Notes on the hero window, like the painting's label: invisible regions placed in window points (--x, --y, --zw,
   --zh) over a --w by --h window. Nothing shows until a region is hovered, focused or tapped. */
.hero .window { --w: 1280; --h: 820; }
.zone {
  position: absolute; z-index: 3;
  left: calc(var(--x) / var(--w) * 100%); top: calc(var(--y) / var(--h) * 100%);
  width: calc(var(--zw) / var(--w) * 100%); height: calc(var(--zh) / var(--h) * 100%);
}
.zone__hit { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: default; }
.zone__hit:hover, .zone__hit:focus-visible, .zone__hit[aria-expanded="true"] { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--primary) 55%, transparent); }
.zone__hit:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.zone__note {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 4;
  width: max-content; max-width: 260px; padding: 8px 12px; border-radius: 8px;
  background: var(--plaque); color: var(--plaque-ink); box-shadow: var(--shadow-e3), inset 0 .5px 0 var(--plaque-edge);
  font: 500 14px/1.35 var(--sans); pointer-events: none;
  visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.zone[data-side="top"] .zone__note { top: auto; bottom: calc(100% + 8px); transform: translateY(4px); }
.zone[data-align="end"] .zone__note { left: auto; right: 0; }
.zone:hover .zone__note, .zone__hit:focus-visible + .zone__note, .zone__hit[aria-expanded="true"] + .zone__note {
  visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease;
}
@media (prefers-reduced-motion: reduce) { .zone__note { transition: none; transform: none; } }

/* 2. Film */
.film { padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 9vw, 120px); }
.film__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; margin-bottom: 28px; }
.film__note { font-size: 15px; color: var(--on-wall-3); padding-bottom: 6px; }
.player { position: relative; overflow: hidden; border-radius: 14px; background: #0C1522; box-shadow: var(--shadow-window); aspect-ratio: 16 / 9; }
@media (prefers-color-scheme: dark) { .player { box-shadow: var(--shadow-window), 0 0 0 .5px rgba(221, 233, 246, .14); } }
.player__poster, .player__poster img, .player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player__play {
  position: absolute; left: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px);
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(247, 250, 253, .86); color: #0F1A2D;
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .6) inset, 0 8px 28px rgba(0, 0, 0, .35);
  font: 500 16px/1 var(--sans);
  transition: background-color .16s ease, transform .16s ease;
}
.player__play:hover { background: rgba(255, 255, 255, .95); }
.player__play svg { width: 22px; height: 22px; }
.player.is-playing .player__play, .player.is-playing .player__poster { display: none; }

/* 3–4. The content card on the wall */
.card {
  width: min(1320px, 100% - 2 * 12px); margin: 0 auto clamp(24px, 3vw, 40px);
  border-radius: var(--r-card); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-card);
}
.card__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, 8vw, 112px) 0; }

.exhibit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.exhibit--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.exhibit--flip > .label { order: -1; }
.exhibit:last-child { margin-bottom: 0; }

.shot { margin: 0; position: relative; }
.shot img, .shot video { width: 100%; }
.shot--card { border-radius: var(--r-shot); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-e1); }
.shot--window { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-e1); }

.label h3 { font: 600 clamp(22px, 2vw, 26px)/1.2 var(--serif); letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.label p { margin-top: 12px; color: var(--ink-2); text-wrap: pretty; }
.label code { font-size: .86em; padding: 1px 5px; border-radius: 5px; background: var(--paper-sunk); color: var(--ink); }
.label__fine { font-size: 15px; font-style: italic; font-family: var(--serif); color: var(--ink-3) !important; }
.label--center { max-width: 620px; margin: 28px auto 0; text-align: center; }

.also { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(64px, 8vw, 104px) 0 0; padding: 0; list-style: none; border-top: .5px solid var(--line-2); }
.also li { padding: 22px 24px 0 0; }
.also li + li { padding-left: 24px; border-left: .5px solid var(--line); }
.also h3 { font: 600 17px/1.3 var(--serif); color: var(--ink); }
.also p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.exhibit--diff { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.shot--tall { max-width: 440px; justify-self: end; width: 100%; }
.exhibit--map, .exhibit--tray { display: block; }
.exhibit--tray .shot { max-width: 1016px; margin-inline: auto; }
.exhibit--history .shot { max-width: 520px; width: 100%; justify-self: center; }
.exhibit--map .shot { max-width: 1016px; margin-inline: auto; }


/* 5. Yours: paper labels hung on the wall */
.yours { padding: clamp(72px, 9vw, 128px) 0; }
.plaques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.plaque { padding: 26px 28px 28px; border-radius: 12px; background: var(--plaque); color: var(--plaque-ink); box-shadow: var(--shadow-label), inset 0 .5px 0 var(--plaque-edge); }
.plaque h3 { font: 600 20px/1.25 var(--serif); letter-spacing: -.008em; }
.plaque p { margin-top: 10px; font-size: 16px; color: var(--plaque-ink-3); }
@media (prefers-color-scheme: light) { .plaque p { color: #46526A; } }
.yours__more { margin-top: 28px; }
.more { font-weight: 500; color: var(--primary); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: light) { .yours .more { color: #245793; } }

/* 6. Get started and questions */
.start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding-bottom: clamp(48px, 6vw, 72px); }
.start h2, .faq__title { font: 600 clamp(32px, 4vw, 46px)/1.08 var(--serif); letter-spacing: -.02em; }
.steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.steps h3 { font: 600 17px/1.35 var(--sans); color: var(--ink); }
.steps p { margin-top: 3px; color: var(--ink-2); font-size: 16px; }
/* A project seal: pigment, 27% corners, a serif monogram in #FBF3E4. */
.seal {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 27%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%), var(--seal);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #FBF3E4; font: 600 17px/1 var(--serif);
}
.start__plain { margin-top: 28px; padding-top: 20px; border-top: .5px solid var(--line); font-size: 15.5px; color: var(--ink-2); }

.download { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 28px 30px; border-radius: 16px; background: var(--paper-2); box-shadow: var(--shadow-e1); }
.download__icon { width: 112px; height: 112px; margin-bottom: 14px; filter: drop-shadow(0 8px 14px rgba(15, 26, 45, .16)); }
.download__name { font: 600 28px/1.1 var(--serif); letter-spacing: -.015em; }
.download__early { margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--paper-sunk); box-shadow: inset 0 0 0 .5px var(--line-2); font: 500 12.5px/1.6 var(--sans); color: var(--ink-2); }
.download__req { margin: 8px 0 22px; font-size: 15px; color: var(--ink-2); }
.download__fine { margin-top: 16px; max-width: 34ch; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); padding-top: clamp(48px, 6vw, 72px); border-top: .5px solid var(--line-2); }
.faq__list { border-top: .5px solid var(--line-2); }
.faq details { border-bottom: .5px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font: 500 17px/1.4 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding: 0 2px 20px; max-width: 64ch; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Footer: back on the wall */
.foot { padding: clamp(56px, 7vw, 88px) 0 48px; color: var(--on-wall-2); font-size: 14.5px; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__lockup { height: 30px; width: auto; color: var(--on-wall); }
.foot__brand p { margin-top: 5px; font: italic 400 15.5px/1.3 var(--serif); color: var(--on-wall-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot__links a { color: var(--on-wall); font-weight: 500; text-decoration: none; }
.foot__links a:hover, .foot__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.foot__fine { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: .5px solid var(--wall-line); color: var(--on-wall-3); font-size: 13.5px; }

/* Narrow */
@media (max-width: 1040px) {
  .exhibit, .exhibit--flip, .exhibit--diff { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .exhibit--flip > .label { order: 0; }
  .shot--tall { justify-self: start; }
  .exhibit--send   .also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .also li:nth-child(3) { border-left: 0; padding-left: 0; }
  .also li:nth-child(n + 3) { margin-top: 8px; }
  .start { grid-template-columns: minmax(0, 1fr); }
  .download { max-width: 440px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --r-card: 16px; }
  body { font-size: 16px; }
  .card { width: calc(100% - 16px); }
  .card__inner { width: calc(100% - 40px); }
  .film__head { grid-template-columns: 1fr; }
  .film__note { padding-bottom: 0; }
  .player { border-radius: 10px; }
  .player__play { min-height: 48px; padding: 0 18px 0 14px; font-size: 15px; }
    .also { grid-template-columns: minmax(0, 1fr); }
  .also li, .also li + li { padding: 18px 0; border-left: 0; }
  .also li + li { border-top: .5px solid var(--line); }
  .also li:nth-child(n + 3) { margin-top: 0; }
  .plaques { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plaque { padding: 22px 20px; }
    .foot__inner { grid-template-columns: 1fr; }
  .plate__label { max-width: 220px; font-size: 13px; }
  .zone__note { max-width: 200px; font-size: 13px; }
  .hero .plate { left: 1.143%; width: 34.286%; }
}

/* ---------- Privacy and press pages ---------- */
.doc-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.doc-hero h1 { max-width: 20ch; font: 600 clamp(36px, 5vw, 60px)/1.05 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.doc-hero .lead { color: var(--on-wall-2); }
.doc-hero__meta { margin-top: 14px; font-size: 14.5px; color: var(--on-wall-3); }
.doc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.doc-hero__actions p { max-width: 52ch; font-size: 15px; color: var(--on-wall-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { padding: 7px 13px; border-radius: 8px; background: var(--wall-hover); color: var(--on-wall); font-size: 14px; font-weight: 500; text-decoration: none; }
.toc a:hover { background: color-mix(in srgb, var(--on-wall) 10%, transparent); }

.doc .card__inner { padding-block: clamp(40px, 6vw, 80px); }
.doc-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 16px clamp(24px, 5vw, 72px); padding: clamp(32px, 4vw, 48px) 0; border-top: .5px solid var(--line-2); }
.doc-row:first-child { border-top: 0; padding-top: 0; }
.doc-row > h2 { font: 600 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.prose { color: var(--ink-2); max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose h3 { font: 600 19px/1.3 var(--serif); color: var(--ink); margin-top: 28px; }
.prose ul:not([role="list"]) { margin: 16px 0 0; padding-left: 20px; }
.prose ul:not([role="list"]) > li + li { margin-top: 8px; }
.prose a { color: var(--primary); text-underline-offset: 3px; }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--paper-sunk); color: var(--ink); font-size: .84em; overflow-wrap: anywhere; }

.table { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--line-2); }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: .5px solid var(--line); }
.table thead th { border-top: 0; background: var(--paper-sunk); font: 600 13px/1.3 var(--sans); letter-spacing: .01em; color: var(--ink-3); }
.table tbody th { font-weight: 600; color: var(--ink); min-width: 9em; }
.table td { color: var(--ink-2); }
@media (max-width: 640px) {
  .doc-row { grid-template-columns: minmax(0, 1fr); }
  .table { overflow: visible; box-shadow: none; border-radius: 0; }
  .table table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr { padding: 14px 0; border-top: .5px solid var(--line-2); }
  .table th, .table td { padding: 2px 0; border: 0; }
  .table tbody th { margin-bottom: 4px; }
  .table td[data-label]::before { content: attr(data-label); display: block; margin-top: 6px; font: 600 12.5px/1.4 var(--sans); color: var(--ink-3); }
}

.sheet { margin: 0; }
.sheet > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 4px 24px; padding: 14px 0; border-top: .5px solid var(--line); }
.sheet > div:first-child { border-top: 0; padding-top: 0; }
.sheet dt { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.sheet dd { margin: 0; color: var(--ink-2); }
.sheet ul { margin: 0; padding-left: 18px; }
@media (max-width: 640px) { .sheet > div { grid-template-columns: minmax(0, 1fr); } }

.settings > div { padding: 12px 0; border-top: .5px solid var(--line); }
.settings > div:first-child { border-top: 0; }
.settings dt { font-weight: 600; color: var(--ink); }
.settings dd { margin: 4px 0 0; }

.logos { display: grid; margin-top: 20px !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.logo { overflow: hidden; border-radius: 12px; background: var(--paper-2); box-shadow: var(--shadow-e1); }
.logo__ground { display: grid; place-items: center; height: 180px; background: #FFFFFF; border-bottom: .5px solid var(--line); }
.logo__ground--wall { background: #0F1A2D; }
.logo__ground img { width: auto; }
.logo__ground .is-lockup { height: 64px; }
.logo__ground .is-mark { height: 72px; }
.logo__ground .is-wordmark { height: 60px; }
.logo__ground .is-icon { height: 128px; }
.logo__meta { padding: 16px 18px 18px; }
.logo__name { font-weight: 600; color: var(--ink); }
.logo__use { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.logo__files { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.logo__files a { display: inline-block; padding: 5px 11px; border-radius: 7px; background: var(--paper-sunk); box-shadow: inset 0 0 0 .5px var(--line-2); color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.logo__files a:hover { background: var(--paper); }
@media (max-width: 760px) { .logos { grid-template-columns: minmax(0, 1fr); } }

.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.stills figure { margin: 0; }
.stills .shot { display: block; aspect-ratio: 16 / 10; border-radius: 10px; }
.stills .shot img { height: 100%; object-fit: cover; object-position: left top; }
.stills figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.stills a { color: var(--primary); font-size: 13.5px; font-weight: 500; }
@media (max-width: 900px) { .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stills { grid-template-columns: minmax(0, 1fr); } }

