/* CullTone website (docs/WEBSITE.md, DESIGN.md). Photography leads: near-black grounds where pictures glow, quiet
   light type, hairline rules, white primary actions, and one warm copper (the app's accent) for Keep marks and focus.
   Plain CSS, no framework: every page reads without JavaScript. */
@font-face { font-family: "Geist"; src: url("/site/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/site/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --bg-3: #1a1918;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --fg: #f3f1ec;
  --fg-2: #b9b4ab;
  --fg-3: #8c877e;
  --copper: #d98b5f;
  --copper-2: #e7a07a;
  --max: 1280px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #3a3835 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
::selection { background: var(--copper); color: #120c08; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.2s, color 0.2s; }
a:hover { color: #fff; text-decoration-color: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.sr-only { position: absolute; 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: 8px; top: -60px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 60; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.narrow { max-width: 860px; }
.muted { color: var(--fg-3); }
.small { font-size: 15px; }
.tiny { font-size: 13px; }

/* Type: light, large, tight. Captions and figures in small mono caps. */
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--fg); text-wrap: balance; font-weight: 400; }
h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 350; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 350; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 500; }
h4 { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); }
h1 em, h2 em { font-style: normal; color: var(--fg-3); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--fg-2); max-width: 620px; font-weight: 350; }
.cap { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); }

/* Header: transparent over photographs, solid once the page moves (the hero sets data-over on body). */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 10, 0.78); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid var(--line); }
body.over .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background 0.4s; }
body.over:not(.scrolled) .nav a, body.over:not(.scrolled) .brand { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
body.over.scrolled .site-header { background: rgba(11, 11, 10, 0.86); border-bottom-color: var(--line); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.brand .mark { flex: none; width: 28px; height: 28px; }
.brand:hover { color: #fff; }
.brand b { font-weight: 650; color: #e4572e; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 14.5px; letter-spacing: 0.01em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--copper); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line-strong); font-size: 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
/* The open panel never runs past the screen: a short phone scrolls it, and the page under it stays put (site menu
   script in layout.html: outside tap and Escape close it, body.menu-open locks the page). */
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 68px; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 24px; }
body.menu-open { overflow: hidden; }
.menu-panel a { padding: 14px 0; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 350; letter-spacing: -0.01em; }
@media (max-width: 980px) { .nav, .header-cta { display: none; } .menu { display: block; } }

/* Buttons: solid white for the one action, hairline for the rest. Square corners like a camera maker's. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font: 500 14.5px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s; }
.btn-primary { background: var(--fg); color: #0b0b0a; }
.btn-primary:hover { background: #fff; color: #0b0b0a; }
.btn-primary::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 2px; transition: transform 0.25s var(--ease); }
.btn-primary:hover::after { transform: translate(3px, 0) rotate(45deg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { color: #fff; border-color: var(--fg-2); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.on-dark .btn-ghost { color: var(--fg); }

/* Sections: generous air, hairline between. */
.section { padding-block: 112px; position: relative; }
.section-tight { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line); }
.hero { padding-block: 96px 64px; }
.hero h1 { max-width: 1040px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 16px; }
.band { background: var(--bg-2); }
.on-dark { background: var(--bg-2); }
@media (max-width: 720px) { .section { padding-block: 72px; } .hero { padding-block: 64px 40px; } }

/* Grids and cards: cards are quiet panels with a hairline, never boxes of icons. */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid > * { background: var(--bg); }
.band .grid > *, .on-dark .grid > * { background: var(--bg-2); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { padding: 32px 28px 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--fg-2); }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; transition: background 0.3s var(--ease); }
a.card:hover { background: var(--bg-3); }
a.card .more { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); transition: color 0.2s; }
a.card:hover .more { color: var(--copper-2); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.figure { margin: 0; }
.figure img { width: 100%; }
.figure figcaption { font: 500 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); padding-top: 12px; }

/* Lists and steps */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 26px; margin: 0 0 10px; color: var(--fg-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px; border-left: 1.5px solid var(--copper); border-bottom: 1.5px solid var(--copper); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; position: relative; padding: 26px 0 26px 72px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 28px; font: 500 13px/1 var(--mono); letter-spacing: 0.1em; color: var(--fg-3); }
.steps li strong, .steps li b { color: var(--fg); font-weight: 500; }
.chip { display: inline-block; font: 500 11px/1.8 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; padding: 0 8px; border: 1px solid var(--line-strong); color: var(--fg-2); border-radius: 2px; }
.chip.keep, .chip.accent { border-color: var(--copper); color: var(--copper-2); }
.chip.review { color: var(--fg); }
.chip.archive { color: var(--fg-3); }

/* Tables: hairline sheets, mono caps headings, tabular figures. */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; text-align: left; font: 500 11.5px/1.6 var(--mono); letter-spacing: 0.04em; color: var(--fg-3); padding: 14px 18px; border-top: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
thead th { font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); background: var(--bg-2); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 500; color: var(--fg); width: 26%; }
td.yes { color: var(--copper-2); }
td.no { color: var(--fg-3); }

/* Long-form reading: a calm column with generous leading. */
.prose { max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--fg-2); overflow-wrap: break-word; }
.prose h2 { margin-top: 2em; font-size: clamp(28px, 3vw, 38px); color: var(--fg); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; color: var(--fg); }
.prose strong, .prose b { color: var(--fg); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--fg-3); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--copper); color: var(--fg); font-size: 20px; line-height: 1.55; }
.prose .table-wrap { margin: 1.8em 0; font-size: 15px; }
.note { border: 1px solid var(--line); background: var(--bg-2); padding: 20px 22px; font-size: 15.5px; color: var(--fg-2); }
.note b, .note strong { color: var(--fg); font-weight: 500; }
.verdict { border-top: 1px solid var(--copper); border-bottom: 1px solid var(--line); padding: 26px 0 24px; margin: 2em 0; color: var(--fg-2); }
.verdict b, .verdict strong { color: var(--fg); font-weight: 500; }
.needs-source { background: var(--copper); color: #120c08; padding: 0 4px; }

/* Breadcrumbs */
.crumbs { padding-top: 26px; font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--fg-3); }
.crumbs a { color: var(--fg-3); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg-2); }

/* Pricing: five columns on one hairline sheet. */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--bg); padding: 30px 24px 26px; display: flex; flex-direction: column; }
.plan h2 { font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; margin: 0 0 14px !important; color: var(--fg-2); }
.plan .price { font-size: 52px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin: 0 0 8px; }
.plan .price span { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--fg-3); }
.plan ul { flex: 1; margin-top: 18px; }
.plan .btn { margin-top: 18px; width: 100%; }
.plan.featured { background: var(--bg-3); box-shadow: inset 0 2px 0 var(--copper); }

/* FAQ */
details.qa { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.qa summary { cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--fg-3); font-weight: 300; font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { margin: 14px 0 0; color: var(--fg-2); max-width: 680px; }

/* Closing call: a photograph behind a short line and one button (home sets the image; inner pages a quiet panel). */
.cta { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.cta h2 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 48px); }
.cta p { margin: 0; color: var(--fg-2); max-width: 560px; }
@media (max-width: 640px) { .cta { padding: 40px 24px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 40px; font-size: 14.5px; color: var(--fg-2); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .site-footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer h4 { margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--fg-2); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
@media (pointer: coarse) { .site-footer li { margin-bottom: 2px; } .site-footer li a { display: inline-block; padding: 9px 0; } .site-footer .legal a { display: inline-block; padding: 8px 0; } }
.site-footer .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font: 500 11.5px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--fg-3); }

/* Home: the full-bleed opening photograph. */
.cover { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2.4s var(--ease) both; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 42%, rgba(8, 8, 7, 0.92) 100%), linear-gradient(90deg, rgba(8, 8, 7, 0.6) 0%, rgba(8, 8, 7, 0) 62%); }
.cover .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; padding-bottom: 56px; }
.cover h1 { font-size: clamp(44px, 6.4vw, 96px); max-width: 860px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.cover .lede { color: #e2ddd3; }
.cover .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cover .credit { position: absolute; right: 32px; top: 92px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
@keyframes settle { from { transform: scale(1.06); filter: brightness(0.7); } to { transform: scale(1); filter: none; } }
@media (max-width: 960px) { .cover .wrap { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .cover { display: block; min-height: 0; }
  .cover > img { position: relative; height: 64svh; z-index: 0; }
  .cover::before { bottom: auto; height: 64svh; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, var(--bg) 100%); z-index: 1; }
  .cover .wrap { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 40px; }
  .cover .credit { top: auto; bottom: auto; top: calc(64svh - 30px); right: 20px; z-index: 2; }
}

/* The cull at work: four frames, each with its mark and reason. */
.cull { width: 380px; background: rgba(14, 14, 13, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); padding: 14px; }
.cull ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cull li button { all: unset; display: block; position: relative; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; outline-offset: 2px; }
.cull li button:focus-visible { outline: 2px solid var(--copper); }
.cull img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.3s; }
.cull [data-v="archive"] img { filter: grayscale(0.7) brightness(0.55); }
.cull [data-v="review"] img { filter: brightness(0.85); }
.cull li button::after { content: attr(data-v); position: absolute; left: 4px; bottom: 4px; font: 600 9px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 0 5px; background: rgba(0, 0, 0, 0.65); color: var(--fg-2); }
.cull li button[data-v="keep"]::after { background: var(--copper); color: #120c08; }
.cull li button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--fg); }
.cull .reason { margin: 12px 2px 0; font: 500 12px/1.55 var(--mono); color: var(--fg-2); min-height: 38px; }
.cull .reason b { color: var(--copper-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 6px; }
@media (max-width: 960px) { .cull { width: 100%; max-width: 420px; } }

/* A wide photograph with a line laid over it. */
.plate { position: relative; overflow: hidden; }
.plate img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plate figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 32px 28px; background: linear-gradient(transparent, rgba(8, 8, 7, 0.85)); }
.plate figcaption .cap { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 720px) { .plate img { aspect-ratio: 4 / 5; } }

/* The tally strip and the four-step line under it. */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tally div { padding: 30px 24px 26px 0; }
.tally div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.tally b { display: block; font-size: clamp(34px, 4.2vw, 60px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.tally .k b { color: var(--copper); }
@media (max-width: 720px) { .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tally div:nth-child(3) { padding-left: 0; border-left: 0; } .tally div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.flow figure { margin: 0; }
.flow img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.flow h3 { margin: 18px 0 6px; }
.flow p { color: var(--fg-2); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* Wedding traditions, side by side; world first, India labelled after. */
.reel { display: grid; grid-template-columns: repeat(6, minmax(240px, 1fr)); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.reel figure { margin: 0; scroll-snap-align: start; }
.reel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.reel figcaption { padding-top: 10px; }

/* Reveal: large pictures settle into place as they arrive (content stays visible without JavaScript). */
.js .reveal { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Product drawing used on a few inner pages (.mock): the cull grid, dark like the app. */
.mock { background: #161615; border: 1px solid var(--line); padding: 12px; }
.mock-bar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3835; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-tile { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #2a2826; }
.mock-tile img { width: 100%; height: 100%; object-fit: cover; }
.mock-tile span { position: absolute; left: 5px; bottom: 5px; font: 600 9.5px/1.7 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 5px; background: rgba(0, 0, 0, 0.65); color: var(--fg-2); }
.mock-tile .k { background: var(--copper); color: #120c08; }
.mock-reason { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); color: var(--fg-2); font: 500 12.5px/1.55 var(--mono); }
.mock-reason b { color: var(--copper-2); }

/* Forms (contact) */
input, select, textarea { font: inherit; color: var(--fg); }
main input[type="text"], main input[type="email"], main select, main textarea { width: 100%; padding: 12px 14px; min-height: 48px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 2px; }
main input::placeholder, main textarea::placeholder { color: var(--fg-3); }
main input:focus, main select:focus, main textarea:focus { outline: none; border-color: var(--copper); }
/* WebKit draws a native select with its own height and padding; drawn by hand it takes the same box as the inputs. */
main select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23b9b4ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
main select::-ms-expand { display: none; }
main select option { background: var(--bg-2); color: var(--fg); }
main label { font-size: 14.5px; font-weight: 500; color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Home hero: one photograph per kind of shoot, crossfading; the matching name lights up in the list above the headline.
   Eight slides, 2 s each (16 s loop), 0.4 s crossfade. Reduced motion shows the first photograph only. */
.cover-reel .slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cover-reel .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
/* Slides 2 to 8 load after the page (home.html adds .playing once they are in), so the first paint fetches one photo.
   Slide 1 starts visible (its own keyframes), so the reel starts without a flash; the lit names start with it. */
.cover-reel.playing .slides img { animation: slide 16s infinite; }
.cover-reel.playing .slides img:first-child { animation-name: slide-first; }
@keyframes slide-first { 0% { opacity: 1; transform: scale(1.04); } 12.5% { opacity: 1; } 15% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
/* Slide 1 waits at the zoom its keyframes start from, so the reel starting does not make it jump (it read as a blink on
   the first visit, 21 Oct 2026). */
.cover-reel .slides img:nth-child(1) { animation-delay: 0s; opacity: 1; transform: scale(1.04); }
/* A deeper shade than other covers (21 Oct 2026): the headline and lede sit on eight different photographs, some bright,
   so the whole frame is dimmed a little and the text side and the foot much more. */
.cover-reel::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.28) 24%, rgba(0, 0, 0, 0.32) 46%, rgba(8, 8, 7, 0.95) 100%), linear-gradient(90deg, rgba(8, 8, 7, 0.72) 0%, rgba(8, 8, 7, 0.2) 70%); }
.cover-reel h1, .cover-reel .lede { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 30px rgba(0, 0, 0, 0.45); }
@media (max-width: 720px) {
  .cover-reel::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 30%, rgba(8, 8, 7, 0.45) 62%, var(--bg) 100%); }
}
.cover-reel .slides img:nth-child(2) { animation-delay: 2s; }
.cover-reel .slides img:nth-child(3) { animation-delay: 4s; }
.cover-reel .slides img:nth-child(4) { animation-delay: 6s; }
.cover-reel .slides img:nth-child(5) { animation-delay: 8s; }
.cover-reel .slides img:nth-child(6) { animation-delay: 10s; }
.cover-reel .slides img:nth-child(7) { animation-delay: 12s; }
.cover-reel .slides img:nth-child(8) { animation-delay: 14s; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.04); } 2.5% { opacity: 1; } 12.5% { opacity: 1; } 15% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.genres { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.genres a { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.cover-reel.playing .genres a { animation: lit 16s infinite; }
.cover-reel:not(.playing) .genres li:first-child a { color: #fff; border-bottom-color: var(--copper); }
.genres li:nth-child(1) a { animation-delay: 0s; } .genres li:nth-child(2) a { animation-delay: 2s; } .genres li:nth-child(3) a { animation-delay: 4s; } .genres li:nth-child(4) a { animation-delay: 6s; }
.genres li:nth-child(5) a { animation-delay: 8s; } .genres li:nth-child(6) a { animation-delay: 10s; } .genres li:nth-child(7) a { animation-delay: 12s; } .genres li:nth-child(8) a { animation-delay: 14s; }
.genres a:hover { color: #fff; }
@keyframes lit { 0%, 13% { color: #fff; border-bottom-color: var(--copper); } 14%, 100% { color: rgba(255, 255, 255, 0.55); border-bottom-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .cover-reel .slides img:not(:first-child) { display: none; } .cover-reel .slides img:first-child { opacity: 1; } .genres a { color: rgba(255, 255, 255, 0.8); } }

/* The app at work: large screenshots, each with a short caption beside or below. */
.screens { display: grid; gap: 88px; }
.screen { margin: 0; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.screen:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.screen:nth-child(even) img { order: 2; }
.screen img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.screen figcaption h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 10px; }
.screen figcaption p { color: var(--fg-2); }
@media (max-width: 900px) { .screens { gap: 56px; } .screen, .screen:nth-child(even) { grid-template-columns: 1fr; gap: 18px; } .screen:nth-child(even) img { order: 0; } }

/* Kinds of shoot: a photo grid, the name set on each picture. */
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kinds a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); text-decoration: none; color: #fff; }
.kinds img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; filter: brightness(0.82); }
.kinds a:hover img { transform: scale(1.04); filter: brightness(1); }
.kinds span { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 18px; font-weight: 450; letter-spacing: -0.01em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.kinds a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.kinds .more-kinds { display: flex; align-items: flex-end; border: 1px solid var(--line); background: var(--bg-2); }
.kinds .more-kinds::after { display: none; }
.kinds .more-kinds span { position: static; padding: 16px; color: var(--fg-2); text-shadow: none; }
.kinds .more-kinds:hover span { color: var(--fg); }
@media (max-width: 960px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .cover-reel .slides { position: relative; height: 64svh; z-index: 0; }
  .genres { gap: 4px 12px; margin-bottom: 16px; }
  .genres a { color: var(--fg-3); }
}

/* Colour (home sections and the colour guides, 20 Oct 2026). Every picture here is CSS or inline SVG: no image files,
   nothing to load, readable without JavaScript. Hues are drawn with hsl() steps so every browser paints them the same. */

/* The spectrum band: hue across, light at the top, dark at the bottom, drifting slowly. */
.spectrum { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spectrum::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: 200% 100%; animation: drift 40s linear infinite;
  background-image: linear-gradient(90deg, hsl(0 92% 55%), hsl(40 95% 55%), hsl(90 75% 45%), hsl(170 75% 42%), hsl(210 85% 55%), hsl(270 75% 60%), hsl(330 80% 56%), hsl(360 92% 55%), hsl(40 95% 55%), hsl(90 75% 45%), hsl(170 75% 42%), hsl(210 85% 55%), hsl(270 75% 60%), hsl(330 80% 56%), hsl(360 92% 55%)); }
.spectrum::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(243, 241, 236, 0.85) 0%, rgba(243, 241, 236, 0) 30%, rgba(11, 11, 10, 0) 48%, rgba(11, 11, 10, 0.88) 78%, var(--bg) 100%); }
@keyframes drift { from { background-position: 0 0; } to { background-position: -100% 0; } }
.spectrum .wrap { padding-top: 220px; padding-bottom: 72px; }
.spectrum h2 { max-width: 880px; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4); }
.spectrum .lede { color: #e2ddd3; }
.big-figure { display: block; font-size: clamp(56px, 10vw, 148px); font-weight: 250; letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; margin: 0 0 18px; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
@media (max-width: 720px) { .spectrum .wrap { padding-top: 160px; padding-bottom: 48px; } }

/* Bit depth: one row per depth, levels per channel and the colour count, a bar on a log scale. */
.bits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bits li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bits .depth { font: 500 13px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.bits .depth small { display: block; color: var(--fg-3); font-size: 11px; margin-top: 4px; }
.bits .count { font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--fg); }
.bits .count small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-top: 4px; }
.bits .bar { height: 10px; width: var(--w); background: linear-gradient(90deg, #000, #fff); background-size: 100% 100%; position: relative; }
.bits .bar.steps8 { background: linear-gradient(90deg, #000 0 12.5%, #242424 12.5% 25%, #494949 25% 37.5%, #6d6d6d 37.5% 50%, #929292 50% 62.5%, #b6b6b6 62.5% 75%, #dbdbdb 75% 87.5%, #fff 87.5%); }
.bits li.raw .depth { color: var(--copper-2); }
@media (max-width: 720px) { .bits li { grid-template-columns: 84px minmax(0, 1fr); } .bits .bar { grid-column: 1 / -1; } }

/* Banding: the same sky, pushed hard from too few levels and from enough. */
.banding { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.banding figure { margin: 0; }
.banding .sky { height: 220px; border: 1px solid var(--line); }
.banding .sky.smooth { background: linear-gradient(180deg, #0d2347 0%, #1d4e8c 38%, #4f86c2 70%, #9cc0e2 100%); }
.banding .sky.banded { background: linear-gradient(180deg, #0d2347 0 9%, #12305c 9% 18%, #183d72 18% 27%, #1d4e8c 27% 36%, #2a5e9c 36% 45%, #3a6fac 45% 54%, #4f86c2 54% 63%, #6497cb 63% 72%, #78a7d4 72% 81%, #8ab4db 81% 90%, #9cc0e2 90%); }
.banding figcaption { font: 500 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); padding-top: 10px; }
@media (max-width: 560px) { .banding .sky { height: 150px; } }

/* Colour wheels with harmony markers (--a on each <i> is the hue angle, 0 = red at the top). */
.wheels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .wheels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wheels figure { margin: 0; }
.wheel { position: relative; aspect-ratio: 1; border-radius: 50%; container-type: inline-size;
  background: radial-gradient(circle, #f3f1ec 0%, rgba(243, 241, 236, 0) 62%), conic-gradient(hsl(0 85% 55%), hsl(30 90% 55%), hsl(60 90% 50%), hsl(90 70% 45%), hsl(120 65% 42%), hsl(150 65% 42%), hsl(180 70% 42%), hsl(210 80% 52%), hsl(240 70% 60%), hsl(270 65% 60%), hsl(300 70% 55%), hsl(330 80% 55%), hsl(360 85% 55%)); }
.wheel::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.band .wheel::after { background: var(--bg-2); }
.wheel i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; transform: rotate(var(--a)); }
.wheel i::before { content: ""; position: absolute; left: -8cqw; top: calc(-8cqw - 43cqw); width: 16cqw; height: 16cqw; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
.wheels figcaption { margin-top: 14px; }
.wheels figcaption b { display: block; font-weight: 500; color: var(--fg); }
.wheels figcaption span { color: var(--fg-2); font-size: 15px; }
.wheel.mini { width: 120px; }

/* Colour temperature: candle to blue hour, approximate light colours, with marks under the strip. */
.kelvin { position: relative; height: 64px; border: 1px solid var(--line);
  background: linear-gradient(90deg, #ff8912 0%, #ffa957 12%, #ffbb78 25%, #ffd1a3 35%, #ffebdc 45%, #fff3ef 55%, #fff9fd 65%, #f0f1ff 75%, #e3e9ff 85%, #c9d8ff 100%); }
.kelvin-marks { position: relative; height: 92px; margin-top: 2px; }
.kelvin-marks span { position: absolute; left: var(--x); transform: translateX(-50%); top: 0; padding-top: 14px; text-align: center; white-space: nowrap; font: 500 11px/1.45 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.kelvin-marks span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 10px; background: var(--line-strong); }
.kelvin-marks b { display: block; color: var(--fg); font-weight: 500; }
.kelvin-marks span:first-child { transform: none; text-align: left; }
.kelvin-marks span:first-child::before { left: 0; }
.kelvin-marks span:last-child { transform: translateX(-100%); text-align: right; }
.kelvin-marks span:last-child::before { left: auto; right: 0; }
@media (max-width: 720px) { .kelvin-marks span:nth-child(even) { top: 46px; } .kelvin-marks { height: 130px; } .kelvin-marks span:nth-child(even)::before { height: 56px; top: -46px; } }

/* Skin: a row of skin colours, light to deep, and the vectorscope line they gather around. */
.skin-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); height: 96px; border: 1px solid var(--line); }
.skin-row i { display: block; }
.scope { position: relative; aspect-ratio: 1; max-width: 360px; border-radius: 50%; background: radial-gradient(circle, #161615 0 60%, #121211 61%); border: 1px solid var(--line-strong); container-type: inline-size; }
.scope::before, .scope::after { content: ""; position: absolute; background: var(--line); }
.scope::before { left: 50%; top: 4%; bottom: 4%; width: 1px; }
.scope::after { top: 50%; left: 4%; right: 4%; height: 1px; }
.scope .ring { position: absolute; inset: 25%; border-radius: 50%; border: 1px dashed var(--line); }
.scope .t { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--r)); }
.scope .t span { position: absolute; left: 0; top: -38cqw; transform: translate(-50%, -50%) rotate(calc(-1 * var(--r))); font: 600 11px/1 var(--mono); letter-spacing: 0.06em; color: var(--c); }
.scope .t span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border: 1px solid var(--c); opacity: 0.55; }
.scope .line { position: absolute; left: calc(50% - 1px); top: 50%; width: 2px; height: 47%; transform-origin: 50% 0; transform: rotate(calc(var(--r) + 180deg)); background: linear-gradient(rgba(231, 160, 122, 0.15), var(--copper-2)); }
.scope .cloud { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--r)); }
.scope .cloud::before { content: ""; position: absolute; left: -7cqw; top: -26cqw; width: 14cqw; height: 22cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 190, 0.85), rgba(255, 200, 160, 0.35) 55%, rgba(255, 200, 160, 0)); }

/* Tone curves drawn in SVG: a quiet grid, one copper curve. */
.curves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .curves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.curves figure { margin: 0; }
.curve-box { display: block; width: 100%; height: auto; background: var(--bg-2); border: 1px solid var(--line); }
.curve-box .grid-l { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; fill: none; }
.curve-box .diag { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.curve-box .c { stroke: var(--copper-2); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.curve-box .pt { fill: var(--bg); stroke: var(--copper-2); stroke-width: 2; }
.ramp { height: 14px; margin-top: 6px; }
.curves figcaption { margin-top: 12px; }
.curves figcaption b { display: block; font-weight: 500; color: var(--fg); }
.curves figcaption span { color: var(--fg-2); font-size: 15px; }

/* Colour spaces: the visible colours as a horseshoe, each space a triangle. */
.gamut { display: block; width: 100%; max-width: 520px; height: auto; }
.gamut .tri { fill: none; stroke-width: 2; stroke-linejoin: round; }
.gamut text { font: 500 11px var(--mono); letter-spacing: 0.06em; fill: var(--fg-2); }
.gamut .axis { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--fg-2); }
.legend i { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-right: 8px; background: var(--c); }

/* The colour cards on the home page and the guides hub: a picture on top, words below. */
.swatch-cards .card { display: flex; flex-direction: column; gap: 18px; }
.swatch-cards .pic { height: 120px; display: flex; align-items: center; justify-content: center; }
.swatch-cards .pic .kelvin { width: 100%; height: 56px; }
.swatch-cards .pic .skin-row { width: 100%; height: 56px; }
.swatch-cards .pic .wheel { width: 112px; }
.swatch-cards .pic svg { height: 112px; width: auto; }
.swatch-cards .pic .bitstack { width: 100%; display: grid; gap: 6px; }
.swatch-cards .pic .bitstack i { display: block; height: 14px; }
.mono-steps { background: linear-gradient(90deg, #000 0 25%, #555 25% 50%, #aaa 50% 75%, #fff 75%); }
.mono-steps-16 { background: linear-gradient(90deg, #000 0 6.25%, #111 6.25% 12.5%, #222 12.5% 18.75%, #333 18.75% 25%, #444 25% 31.25%, #555 31.25% 37.5%, #666 37.5% 43.75%, #777 43.75% 50%, #888 50% 56.25%, #999 56.25% 62.5%, #aaa 62.5% 68.75%, #bbb 68.75% 75%, #ccc 75% 81.25%, #ddd 81.25% 87.5%, #eee 87.5% 93.75%, #fff 93.75%); }
.mono-smooth { background: linear-gradient(90deg, #000, #fff); }

@media (prefers-reduced-motion: reduce) { .spectrum::before { animation: none; } }
.swatch-cards .card .more { margin-top: auto; }
.swatch-cards .card p { margin: 0; }
.wheels .wheel { max-width: 220px; }
.gamut text { paint-order: stroke; stroke: #0b0b0a; stroke-width: 3px; fill: var(--fg); }
.wheels { padding: 0 6px; }

/* Look pages (/looks/<slug>, 20 Oct 2026): a before/after divide, the three renders, the recipe drawn. */
.h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 500; }
.compare { --p: 50%; position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.compare img { display: block; width: 100%; height: auto; }
.compare img.after { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--p)); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 2px solid var(--copper); outline-offset: 3px; }
.compare .tag { position: absolute; top: 14px; font: 600 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 2px 8px; background: rgba(0, 0, 0, 0.6); color: #fff; pointer-events: none; }
.compare .tag.l { left: 14px; }
.compare .tag.r { right: 14px; background: var(--copper); color: #120c08; }
.look-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.look-photos .figure:only-child, .look-photos .figure:nth-child(3):last-child { grid-column: 1 / -1; }
@media (max-width: 720px) { .look-photos { grid-template-columns: 1fr; } }
.recipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
@media (max-width: 900px) { .recipe { grid-template-columns: 1fr; max-width: 420px; } }
.recipe-part { margin: 0; }
.recipe-part .curve-box, .recipe-part .wheel { max-width: 280px; }
.recipe-part figcaption { margin-top: 14px; }
.recipe-part figcaption b { display: block; font-weight: 500; color: var(--fg); }
.recipe-part figcaption span { color: var(--fg-2); font-size: 15px; }
.wheel.solid::after { display: none; }
.wheel.solid { background: radial-gradient(circle, #f3f1ec 0%, rgba(243, 241, 236, 0.85) 18%, rgba(243, 241, 236, 0) 72%), conic-gradient(hsl(0 85% 55%), hsl(30 90% 55%), hsl(60 90% 50%), hsl(90 70% 45%), hsl(120 65% 42%), hsl(150 65% 42%), hsl(180 70% 42%), hsl(210 80% 52%), hsl(240 70% 60%), hsl(270 65% 60%), hsl(300 70% 55%), hsl(330 80% 55%), hsl(360 85% 55%)); }
.grade i::before { width: 9cqw; height: 9cqw; left: -4.5cqw; top: calc(-4.5cqw - var(--d)); }
.grade i.sh::before { background: #1a1918; }
.grade i.hi::before { background: #fff; border-color: #1a1918; }
.recipe-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.recipe-bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
.recipe-bars .k { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-2); }
.recipe-bars .v { font: 500 11px/1.3 var(--mono); color: var(--fg-3); text-align: right; }
.recipe-bars .track { position: relative; height: 8px; background: var(--bg-3); }
.recipe-bars .track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-strong); }
.recipe-bars .track i { position: absolute; top: 0; bottom: 0; background: var(--copper); }
.look-card { display: flex; flex-direction: column; gap: 14px; }
.look-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.look-card h3 { margin: 0; }
.look-card p { margin: 0; }
/* The looks hub: every look on the same frame. */
.look-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.look-wall a { position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; background: var(--bg-2); }
.look-wall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.8s var(--ease); }
.look-wall a:hover img { transform: scale(1.04); }
.look-wall span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 14.5px; font-weight: 450; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); }
.look-wall-h { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); margin: 34px 0 12px; }

/* Wedding colours by tradition: one row per tradition, a strip of swatches with their names. */
.palettes { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 22px; }
.palette { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.palette .who h3 { margin-bottom: 6px; }
.palette .who p { color: var(--fg-2); font-size: 15.5px; margin: 0; }
.palette .strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; align-self: start; }
.palette .strip li { position: relative; height: 84px; background: var(--c); }
.palette .strip span { position: absolute; left: 0; right: 0; top: 100%; padding-top: 6px; font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); overflow-wrap: anywhere; }
.palette .watch { grid-column: 2; margin: 26px 0 0; color: var(--fg-2); font-size: 15.5px; }
.palette .watch b { color: var(--copper-2); font-weight: 500; margin-right: 4px; }
@media (max-width: 800px) { .palette { grid-template-columns: 1fr; } .palette .watch { grid-column: 1; } .palette .strip li { height: 64px; } }

/* Calculators (/tools, 20 Oct 2026): inputs on a hairline sheet, results as large figures. Readable without JavaScript. */
.calc { border: 1px solid var(--line); background: var(--bg-2); }
.calc-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding: 28px; }
@media (max-width: 640px) { .calc-in { grid-template-columns: 1fr; padding: 20px; } }
.calc-in label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.calc-in label.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-weight: 400; }
.calc-in input[type="number"], .calc-in select { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 2px; color: var(--fg); font: 400 17px var(--sans); font-variant-numeric: tabular-nums; }
.calc-in input:focus, .calc-in select:focus { outline: none; border-color: var(--copper); }
.calc-in select { padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23b9b4ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; }
.calc-in input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--copper); }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.calc-out div { padding: 22px 24px; }
.calc-out div + div { border-left: 1px solid var(--line); }
@media (max-width: 640px) { .calc-out div + div { border-left: 0; border-top: 1px solid var(--line); } }
.calc-out b { display: block; margin-top: 8px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--fg); }
.calc-out .k b { color: var(--copper-2); }

/* Home: the price section says "Free" big, with the condition and the pricing link beside it (20 Oct 2026). */
.free-word { display: block; font-size: clamp(88px, 15vw, 210px); font-weight: 250; letter-spacing: -0.06em; line-height: 0.85; color: var(--copper); margin-bottom: 18px; }
.free h2 { margin: 0; }
.free .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Get the app (21 Oct 2026; get-app.js): /download#phone shows a QR on a computer and the install steps on a phone or
   tablet; the menu and footer links open the steps in a dialog on a phone. The QR stays dark on white for cameras. */
.get-app [hidden] { display: none; }
.get-app-qr { display: flex; gap: 24px; align-items: flex-start; margin: 20px 0; }
.get-app-qr .qr { flex: none; width: 184px; height: 184px; background: #fff; border-radius: 6px; overflow: hidden; }
.get-app-qr code { font-family: var(--mono); color: var(--fg); word-break: break-all; }
.get-app-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.get-app-steps h3 { margin-bottom: 4px; }
@media (max-width: 640px) { .get-app-qr { flex-direction: column; } .get-app-steps { grid-template-columns: 1fr; } }
.share-glyph { display: inline-block; vertical-align: -2px; color: var(--copper-2); }
.get-app-note { font-size: 14px; color: var(--fg-3); }
[data-phone-here] .btn { margin-top: 4px; }
.get-app-dialog { max-width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); padding: 22px 22px 18px; border-radius: 4px; font-size: 16px; }
.get-app-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.get-app-dialog h2 { font-size: 26px; margin-bottom: 12px; }
.get-app-dialog b { font-weight: 500; }
.get-app-dialog form { margin-top: 8px; }

/* Help centre (/help, 21 Oct 2026; docs/WEBSITE.md "Help centre"): hub search, article steps with screenshots, phone sections. */
.help-hero { padding-bottom: 32px; }
.help-search { display: none; margin-top: 30px; }
.help-search.ready, .help-search.small-search { display: block; }
.help-search label { display: block; font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); margin-bottom: 8px; }
.help-search input { width: 100%; box-sizing: border-box; font: 400 18px/1.4 var(--sans); color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 4px; padding: 14px 16px; }
.help-search input:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: transparent; }
.help-count { margin: 10px 0 0; min-height: 1.4em; }
.help-results { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.help-results li { border-bottom: 1px solid var(--line); }
.help-results a { display: grid; gap: 2px; padding: 16px 4px; text-decoration: none; }
.help-results a:hover b, .help-results a:focus b { color: var(--copper-2); }
.help-results b { font-weight: 500; color: var(--fg); font-size: 18px; }
.help-results .small { color: var(--fg-2); }
.help-groups { display: grid; gap: 56px; }
.help-group h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.help-group .card h3 { font-size: 19px; margin-bottom: 6px; }
.help-article { padding-top: 56px; }
.help-head { max-width: 860px; }
.help-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.help-head .small-search { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.help-head .small-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.help-head .small-search input { flex: 1 1 240px; width: auto; font-size: 16px; padding: 10px 14px; }
.help-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.help-toc .cap { width: 100%; }
.help-toc a { color: var(--fg-2); }
.help-section { margin-top: 72px; scroll-margin-top: 84px; }
.help-section > h2 { font-size: clamp(26px, 2.8vw, 34px); max-width: 860px; }
.help-intro { max-width: 760px; color: var(--fg-2); }
.help-steps { list-style: none; counter-reset: hs; padding: 0; margin: 28px 0 0; display: grid; gap: 48px; }
.help-steps > li { counter-increment: hs; scroll-margin-top: 84px; }
.help-step-text { max-width: 760px; position: relative; padding-left: 56px; }
.help-step-text::before { content: counter(hs); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper-2); font: 500 15px/34px var(--mono); text-align: center; }
.help-step-text h3 { font-size: 21px; margin: 4px 0 6px; }
.help-step-text p { color: var(--fg-2); margin: 0; }
.help-step-text b, .help-list b, .help-intro b { color: var(--fg); font-weight: 500; }
.help kbd { font: 500 0.82em/1 var(--mono); color: var(--fg); background: var(--bg-3); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 3px 6px; white-space: nowrap; }
.help code { font: 0.88em var(--mono); color: var(--fg); }
.help-shot { margin: 20px 0 0; max-width: 1180px; }
.help-shot a { display: block; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: var(--bg-2); line-height: 0; }
.help-shot img { width: 100%; height: auto; display: block; }
.help-section.is-phone .help-steps { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; }
.help-section.is-phone .help-steps > li { display: flex; flex-direction: column; }
.help-section.is-phone .help-step-text { padding-left: 48px; }
.help-section.is-phone .help-shot { order: -1; margin: 0 0 18px; max-width: 300px; }
.help-section.is-phone .help-shot a { border-radius: 22px; border-width: 6px; border-color: #26241f; }
.help-list { max-width: 760px; padding-left: 1.2em; margin: 20px 0 0; color: var(--fg-2); }
.help-list li { margin-bottom: 0.6em; }
.help-list li::marker { color: var(--fg-3); }
.help-keys { max-width: 760px; }
.help-section .table-wrap { max-width: 760px; margin-top: 22px; }
.help-keys td:first-child { width: 34%; }
.help-related .grid { margin-top: 22px; }
.help-related .card h3 { font-size: 19px; }
.help-foot { margin-top: 32px; max-width: 760px; }
@media (max-width: 640px) {
  .help-article { padding-top: 32px; }
  .help-section { margin-top: 56px; }
  .help-step-text { padding-left: 46px; }
  .help-step-text::before { width: 32px; height: 32px; line-height: 30px; }
  .help-section.is-phone .help-steps { grid-template-columns: 1fr; }
  .help-section.is-phone .help-shot { max-width: 260px; }
}
/* Help clips (21 Oct 2026): short silent loops at the top of a section, played while on screen. */
.help-clips { display: grid; gap: 28px; margin-top: 26px; max-width: 980px; }
.help-section.is-phone .help-clips, .help-clips:has(.help-clip.is-phone) { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); }
.help-clip { margin: 0; }
.help-clip-box { position: relative; border: 1px solid var(--copper); border-radius: 8px; overflow: hidden; background: var(--bg-2); line-height: 0; }
.help-clip.is-phone .help-clip-box { border-radius: 24px; border-width: 6px; border-color: #26241f; max-width: 320px; }
.help-clip video { width: 100%; height: auto; display: block; }
.help-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 500 16px/1 var(--sans); color: #120c08; background: var(--copper-2); border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; }
.help-play[hidden] { display: none; }
.help-clip figcaption { margin-top: 12px; font-size: 15.5px; color: var(--fg-2); line-height: 1.5; }
.help-clip figcaption b { color: var(--fg); font-weight: 500; display: block; }
