/* CutNegs production references: white paper, black acetate, 16px rhythm and restrained lime. */
:root {
  color-scheme: light;
  --paper: #fafafa;
  --ink: #141515;
  --muted: #666969;
  --line: #dcdede;
  --accent: #75BA5F;
  font-family: "General Sans";
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
@font-face { font-family: "General Sans"; src: url("assets/GeneralSans-Regular.otf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("assets/GeneralSans-Medium.otf") format("opentype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("assets/GeneralSans-Semibold.otf") format("opentype"); font-style: normal; font-weight: 600; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); }
/* A backlit diffuser: broad, uneven pools of neutral light, with fine surface grain. */
.light-table { background: #ececec; isolation: isolate; }
.light-table::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 28% 18%, #fff 0, #fffffff2 20%, #ffffff00 64%), radial-gradient(ellipse at 82% 74%, #ffffffc2 0, #ffffff00 57%), radial-gradient(ellipse at 100% 4%, #b8b8b82b, #ffffff00 58%), #e9e9e9; }
.light-table::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("assets/surface-grain.svg") repeat; opacity: .035; mix-blend-mode: multiply; }
.light-table .how { background: #e5e5e545; border-color: #bcbcbc4a; }
.light-table .handoff-visual { background: #ffffff70; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #557900; outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, figure { margin: 0; }
p { line-height: 1.55; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.small { font-size: .75rem; line-height: 1.55; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .6875rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px #7aa51d; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 14px; background: var(--accent); color: #111; z-index: 5; }
.skip-link:focus { top: 12px; }
.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; }

.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { width: 150px; aspect-ratio: 4.35; position: relative; overflow: hidden; flex-shrink: 0; }
/* Production ArtworkWordmark viewport: trim transparent margins, never redraw the tape. */
.brand img { position: absolute; width: 103.2673%; max-width: none; height: 162.5%; left: 50%; top: 47.5%; transform: translate(-50%, -50%); }
.site-header nav { font-size: .8125rem; font-weight: 600; }
.site-header nav a { display: block; padding-block: 14px; }

.hero { padding-block: 72px 32px; }
.hero-copy { min-width: 0; overflow-wrap: anywhere; }
h1 { max-width: 1000px; font-size: clamp(3.35rem, 7vw, 6.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.01; }
h1 em { color: #777a7a; font-style: normal; }
.intro { max-width: 520px; margin-top: 26px; color: var(--muted); font-size: 1.0625rem; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; height: 44px; padding-inline: 16px; border: 1px solid #bfc1c1; border-radius: 8px; background: linear-gradient(#ffffff2e, transparent 52%), #f2f2f2; color: #080909; box-shadow: 0 5px 9px #0003, inset 0 1px #ffffffb8; font-size: .875rem; font-weight: 500; }
.button:hover { background: linear-gradient(#ffffff38, transparent 52%), white; text-decoration: none; }
.button:active { opacity: .78; transform: scale(.985); }
.button[aria-disabled="true"] { cursor: default; }
.button[data-download] { background: linear-gradient(#ffffff14, transparent 50%), linear-gradient(#75ba5fc2, #75ba5fc2), #929292; border-color: #ffffff0f #ffffff09 #0003; box-shadow: 0 5px 9px #0003, inset 0 1px #ffffff03; }
.button[data-download]:not([aria-disabled="true"]):hover { background: linear-gradient(#ffffff14, transparent 50%), linear-gradient(#75ba5fdb, #75ba5fdb), #929292; }
.download-mark { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Linear-inspired entrance: lines resolve first; the roll follows the copy. */
.headline-line { display: inline-block; animation: text-arrive 800ms cubic-bezier(.16,1,.3,1) both; animation-delay: 100ms; }
h1 em.headline-line { animation-delay: 240ms; }
.hero .intro { animation: text-arrive 800ms cubic-bezier(.16,1,.3,1) 380ms both; }
.hero-actions { animation: text-arrive 700ms cubic-bezier(.16,1,.3,1) 500ms both; }
.product-preview { animation: roll-arrive 850ms cubic-bezier(.16,1,.3,1) 1250ms both; }
@keyframes text-arrive { from { opacity: 0; transform: translateY(22px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes roll-arrive { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

.product-preview { min-width: 0; margin-top: 56px; }
.preview-shell { position: relative; }
.film-strip { --frame-width: 330px; --frame-gap: 24.4444px; height: 300px; position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
/* One physical sheet moves with its images, as in the production app. */
/* Native linked-sheet recipe: translucent dark frost, 11.2% tint, no drop shadow. */
.film-track { position: absolute; inset: 24px 0; display: flex; align-items: center; gap: var(--frame-gap); background: linear-gradient(#5656561d, #5656561d), #2020205b; backdrop-filter: blur(14px) saturate(0); -webkit-backdrop-filter: blur(14px) saturate(0); border-top: 1px solid #ffffff17; border-bottom: 1px solid #00000038; box-shadow: inset 0 1px #ffffff11, inset 0 -1.5px #00000060; }
.film-track::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("assets/surface-grain.svg") repeat; opacity: .025; mix-blend-mode: soft-light; }
.film-frame { width: var(--frame-width); flex: 0 0 var(--frame-width); aspect-ratio: 3 / 2; position: relative; overflow: hidden; background: #151515; }
.film-image { position: relative; height: 100%; overflow: hidden; }
.film-image img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.film-image .film-positive { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.film-frame:nth-child(-n+2) .film-positive { transform: none; opacity: 1; }
.film-strip.is-running .film-frame { position: absolute; left: 0; }
.film-strip.is-running .film-track { will-change: transform; }
#product-demo { display: block; position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #090a0a; }

.how { border-block: 1px solid var(--line); background: #f1f2f0; }
.how-inner { min-height: 650px; padding-block: 72px; }
h2 { max-width: 480px; font-size: clamp(2.2rem, 3.4vw, 3.25rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
.how-copy { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(52px, 8vw, 112px); align-items: start; }
.how-copy > p:last-child { max-width: 460px; color: var(--muted); font-size: .9375rem; }
.handoff-visual { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; align-items: center; min-width: 0; margin-top: 52px; padding: 30px; border: 1px solid #d2d4d2; border-radius: 12px; background: var(--paper); }
.visual-stage { min-width: 0; }
.visual-label { display: block; margin-bottom: 16px; color: #858888; font-size: .5625rem; font-weight: 600; letter-spacing: .07em; }
.visual-stage > strong { display: block; margin-top: 16px; font-size: .8125rem; font-weight: 600; line-height: 1.35; }
.visual-stage > p { max-width: 280px; margin-top: 7px; color: var(--muted); font-size: .6875rem; line-height: 1.45; }
.visual-arrow { color: #8d9090; text-align: center; }
.scan-image, .editor-image { aspect-ratio: 1.55; position: relative; overflow: hidden; background: #0a0a0a; }
.scan-image img, .editor-image img { width: 100%; height: 100%; object-fit: cover; }
.scan-image { padding: 12px; }
.scan-image img { opacity: .72; }
.instruction-card { aspect-ratio: 1.55; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 12px; padding: 14px; border: 1px solid #c6c8c8; border-left: 3px solid var(--accent); border-radius: 5px; background: white; box-shadow: 0 6px 16px #1111; }
.instruction-frame { position: relative; overflow: hidden; background: #0a0a0a; }
.instruction-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.instruction-frame i { position: absolute; inset: 16% 12%; border: 1px solid var(--accent); box-shadow: 0 0 0 999px #0005; }
.instruction-card > span:last-child { min-width: 0; }
.instruction-card strong { display: block; font-size: .6875rem; font-weight: 600; line-height: 1.25; }
.instruction-card small { display: block; margin-top: 5px; color: var(--muted); font-size: .5625rem; line-height: 1.25; }
.editor-image { padding: 14% 11% 10%; background: #0a0a0a; }
.editor-image img { border: 1px solid #ffffff7a; }
.editor-bar { position: absolute; top: 7px; left: 9px; color: #777; font-size: .45rem; letter-spacing: 2px; }
.scope-note { max-width: 680px; margin-top: 28px; color: var(--muted); font-size: .8125rem; }
.scope-note strong { color: var(--ink); font-weight: 600; }

.faq { padding-block: 70px 78px; }
.faq-list { margin: 34px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 8px; height: 8px; margin-right: 4px; flex: 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-item p { max-width: 720px; padding-bottom: 24px; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; }

footer { display: flex; justify-content: flex-end; padding-block: 26px 38px; }
footer > div { display: flex; flex-direction: column; gap: 7px; }
.footer-name { font-size: .875rem; font-weight: 600; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .8125rem; }
.footer-links a { padding-block: 8px; }
.footer-links a[aria-disabled="true"] { color: #888b8b; cursor: default; }

.privacy-page { min-height: 100vh; }
.privacy-page footer { justify-content: space-between; gap: 24px; }
.privacy-main { width: min(760px, calc(100% - 96px)); margin-inline: auto; padding-block: 78px 92px; }
.privacy-main .eyebrow { margin-bottom: 18px; }
.privacy-main h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.privacy-lead { max-width: 660px; margin-top: 24px; color: var(--muted); font-size: 1.0625rem; }
.privacy-sections { margin-top: 52px; border-top: 1px solid var(--line); }
.privacy-sections section { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.privacy-sections h2 { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.privacy-sections p, .privacy-sections li { color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.privacy-sections p + p { margin-top: 12px; }
.privacy-sections ul { margin: 0; padding-left: 20px; }
.privacy-contact { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.support-main { width: min(720px, calc(100% - 96px)); min-height: calc(100vh - 180px); margin-inline: auto; padding-block: clamp(80px, 12vw, 150px); }
.support-main h1 { font-size: clamp(3rem, 6vw, 5.25rem); }
.support-main p { max-width: 580px; margin-top: 24px; color: var(--muted); font-size: 1.0625rem; }
.support-main strong { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding-block: 56px 28px; }
  h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 11px; }
  .how-copy { gap: 40px; }
  .handoff-visual { padding: 22px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 74px; }
  .brand { width: 132px; }
  .hero { padding-block: 45px 28px; }
  h1 { font-size: clamp(2.65rem, 11.5vw, 3.6rem); line-height: 1.04; }
  h1 br { display: none; }
  h1 em { display: block; margin-top: 5px; }
  .intro { margin-top: 21px; font-size: 1rem; }
  .hero-actions { margin-top: 24px; }
  .product-preview { margin-top: 36px; }
  .film-strip { --frame-width: 240px; --frame-gap: 17.7778px; height: 228px; margin-inline: -20px; }
  .film-track { inset-block: 20px; }
  .how-inner { min-height: 0; padding-block: 58px; }
  .how-copy { grid-template-columns: 1fr; gap: 16px; }
  .handoff-visual { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .visual-arrow { transform: rotate(90deg); }
  .visual-stage { width: 100%; max-width: 240px; margin-inline: auto; }
  .scope-note { margin-top: 24px; }
  .faq { padding-block: 56px 64px; }
  .faq-list { margin-top: 24px; }
  .faq-item summary { padding-block: 21px; }
  .privacy-main, .support-main { width: calc(100% - 40px); padding-block: 54px 70px; }
  .privacy-sections { margin-top: 38px; }
  .privacy-sections section { grid-template-columns: 1fr; gap: 10px; }
}

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

@media (forced-colors: active) {
  .button, .eyebrow span { border: 1px solid ButtonText; }
}

/* WebGL is progressive enhancement; keep the DOM surface until its first frame. */
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.film-strip.has-webgl .film-track { visibility: hidden; }

/* Frameless film on a softly lit, fine-grained photographic surface. */
.landing { background: var(--paper); }
.landing .site-header { width: 100%; padding-inline: max(48px, calc((100% - 1180px) / 2)); background: #101111; color: #ededed; border: 0; }
.landing .hero { position: relative; isolation: isolate; padding-block: 64px 100px; background: #101111; color: #f5f5f5; }
.landing .hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 68% 65%, #ffffff12, transparent 58%), radial-gradient(ellipse at 16% 88%, #ffffff08, transparent 48%); pointer-events: none; }
.landing .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/surface-grain.svg"); opacity: .16; mix-blend-mode: soft-light; pointer-events: none; }
.landing .hero-copy { text-align: center; }
.landing h1 { margin-inline: auto; font-size: clamp(3.35rem, 6.5vw, 5.75rem); }
.landing h1 em { color: #b4b4b4; }
.landing .intro { margin-inline: auto; max-width: 530px; color: #aaa; }
.landing .hero-actions { align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.landing .hero-actions .small { color: #aaa; }
.landing .hero a:focus-visible { outline-color: var(--accent); }
.landing .product-preview { width: min(1180px, 100%); margin-top: 72px; }
.landing .preview-shell { padding-block: 24px; }
.landing .product-preview .film-strip { height: 300px; margin-inline: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.landing .product-preview .film-track { inset-block: 20px; }
.landing .how { background: var(--paper); border-top: 0; }
@media (max-width: 1000px) {
  .landing .site-header { padding-inline: 32px; }
  .landing .hero { padding-top: 52px; }
}
@media (max-width: 720px) {
  .landing .site-header { padding-inline: 20px; }
  .landing .hero { padding-block: 40px 56px; }
  .landing h1 { font-size: clamp(2.65rem, 11.5vw, 3.6rem); }
  .landing .intro { max-width: 390px; }
  .landing .product-preview { margin-top: 44px; }
  .landing .preview-shell { padding-block: 12px; }
  .landing .product-preview .film-strip { height: 216px; }
  .landing .product-preview .film-track { inset-block: 10px; }
}

/* Two parts of the handoff; illustrations will follow the agreed explanation. */
.manual-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.manual-step > strong { font-size: 1rem; margin-top: 0; letter-spacing: -.025em; }
.manual-step > p { max-width: 430px; font-size: .875rem; line-height: 1.5; margin-top: 10px; }
.how-inner { min-height: 0; }
@media (max-width: 720px) {
  .manual-sequence { grid-template-columns: 1fr; gap: 28px; }
  .manual-step { max-width: none; }
  .manual-step > p { max-width: none; }
}

/* Scroll study: the photograph stays continuous while the explanation advances. */
.how-intro { padding-top: 88px; }
.story-scroll { padding-block: 52px; }
.story-step { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; text-align: center; max-width: 900px; margin: 0 auto 64px; }
.story-step > p { text-wrap: balance; font-size: clamp(1.25rem, 2.15vw, 1.875rem); line-height: 1.3; letter-spacing: -.035em; font-weight: 500; max-width: 760px; margin-inline: auto; }
.story-art { position: relative; aspect-ratio: 1.5; border-radius: 8px; overflow: hidden; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.acetate-art { padding: 34px 20px; background: #272625; box-shadow: 0 18px 30px #0002; }
.acetate-art::before, .acetate-art::after { content: ''; position: absolute; left: 14px; right: 14px; height: 11px; background: repeating-linear-gradient(90deg, var(--paper) 0 14px, transparent 14px 26px); }
.acetate-art::before { top: 11px; } .acetate-art::after { bottom: 11px; }
.crop-guide { position: absolute; inset: 20% 12%; border: 1px solid var(--accent); }
.instructions-art { padding: 30px 110px 30px 0; overflow: visible; }
.instructions-art img { transform: rotate(-4deg); box-shadow: 0 12px 30px #0002; }
.static-instructions { position: absolute; top: 28%; right: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fffffff7; font-size: .8rem; box-shadow: 0 12px 30px #0001; }
.static-instructions span { display: block; margin-top: 16px; color: var(--muted); }
.editor-art { padding: 36px; background: #212222; }
.static-editor-image { position: absolute; inset: 36px; overflow: hidden; }
.editor-art img { transform: none; }
.editor-art::before { content: ""; position: absolute; left: 12px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #888; box-shadow: 9px 0 #888, 18px 0 #888; }
.editor-art .crop-guide { inset: 36px; border-color: #fff9; }
.story-stage { display: none; }
.story-scope { margin: 0; padding-bottom: 64px; }
@media (prefers-reduced-motion: no-preference) {
  :is(.story-preparing, .story-enhanced) { height: 560svh; padding: 0; }
  :is(.story-preparing, .story-enhanced) .story-pin { position: sticky; top: 0; height: 100svh; min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-block: 28px; }
  :is(.story-preparing, .story-enhanced) .story-steps { position: relative; width: 100%; height: 180px; flex: 0 0 180px; overflow: hidden;  }
  :is(.story-preparing, .story-enhanced) .story-step { display: flex; align-items: center; justify-content: center; max-width: none; position: absolute; inset: 0; margin: 0; opacity: var(--copy-opacity, 0); transform: translateY(var(--copy-y, 18px)); }
  :is(.story-preparing, .story-enhanced) .story-art { display: none; }
  :is(.story-preparing, .story-enhanced) .story-stage { display: block; position: relative; width: min(100%, 1000px, calc((100svh - 260px) * 1.6)); height: min(650px, calc(100svh - 260px)); flex: 0 0 auto; }
  .story-canvas { overflow: hidden; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .story-canvas canvas { width: 100%; height: 100%; display: block; }
  .story-instructions { position: absolute; top: 20%; right: 2%; width: 204px; padding: 22px; background: #ffffffed; border: 1px solid #c9ccca; border-radius: 8px; box-shadow: 0 20px 45px #15151516, inset 0 1px #fff; opacity: var(--instructions-opacity, 0); transform: translateY(var(--instructions-y, 100px)); }
  .story-instructions > span { display: block; font-size: .8rem; font-weight: 500; margin-bottom: 22px; }
  .story-instructions > div:not(.instruction-rule) { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: .75rem; color: var(--muted); }
  .story-instructions i { width: 22px; height: 5px; border-radius: 1px; background: var(--accent); transform: scaleX(var(--instruction-write, 0)); transform-origin: left; }
  .instruction-rule { height: 1px; background: var(--line); margin-top: 22px; }
  .story-editor { position: absolute; inset: 7% 0 7%; background: #202222; border: 1px solid #4c4e4e; border-radius: 12px; box-shadow: 0 24px 50px #0002; overflow: hidden; opacity: var(--editor-opacity, 0); transform: translateY(var(--editor-y, 0px)) scale(var(--editor-scale, 1)); }
  .story-editor-bar { height: 36px; display: flex; align-items: center; justify-content: space-between; padding-inline: 12px; color: #c8caca; border-bottom: 1px solid #ffffff14; font-size: .625rem; }
  .story-editor-bar > span { display: flex; gap: 5px; min-width: 32px; }
  .story-editor-bar i { width: 6px; height: 6px; background: #757878; border-radius: 50%; }
  .story-editor-image { position: absolute; inset: 54px 13% 54px; overflow: hidden; }
  .story-editor-image img { width: 100%; height: 100%; object-fit: cover; transform: rotate(var(--editor-rotation, 0deg)) scale(var(--editor-image-scale, 1)); }
  .editor-crop { position: absolute; inset: 0; border: 1px solid #ffffff70; opacity: var(--handles-opacity, 0); }
  .editor-crop i { position: absolute; width: 10px; height: 10px; border: solid #eee; }
  .editor-crop i:nth-child(1) { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
  .editor-crop i:nth-child(2) { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
  .editor-crop i:nth-child(3) { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
  .editor-crop i:nth-child(4) { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
  .story-editor-tools { position: absolute; bottom: 18px; inset-inline: 16%; display: flex; align-items: center; justify-content: center; gap: 12px; color: #c7caca; font-size: .625rem; }
  .editor-tool-line { width: 48px; height: 2px; background: #737575; position: relative; }
  .editor-tool-line::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; top: -2px; left: 45%; background: #d5d8d8; }
}

@media (max-width: 720px) {
  .how-intro { padding-top: 56px; }
  .story-scroll { padding-block: 32px 0; }
  .story-step { grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
  .story-step > p { max-width: none; font-size: 1.375rem; }
  .story-scope { padding-bottom: 48px; }
}

/* Measurement-led analysis: normalized bounds and a measured rotation, never random data. */
.story-instructions pre, .story-instructions code { font-family: "General Sans"; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .story-step h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
  .story-analysis { z-index: 3; position: absolute; inset: 0; pointer-events: none; opacity: var(--analysis-opacity, 0); }
  .story-analysis > span { position: absolute; top: 0; left: 0; padding: 3px 6px; border-radius: 3px; background: #fafafae8; color: #424943; font-size: .6875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .story-instructions { z-index: 4; top: 36%; right: 2%; width: 310px; padding: 22px 24px; background: #fffffff7; box-shadow: 0 24px 60px #1112, inset 0 1px #fff; }
  .story-instructions > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .story-instructions small { font-size: .6875rem; color: #666969; font-weight: 400; }
  .story-instructions pre { min-height: 174px; white-space: pre-wrap; margin: 0; font-size: .75rem; line-height: 1.8; color: #606564; }
  .story-instructions code { display: inline; }
  .code-caret { display: inline-block; width: 1px; height: 1em; vertical-align: -.1em; background: #2f6138; opacity: var(--caret-opacity, 0); }
  .copy-word { display: inline-block; will-change: transform, opacity; }
  .story-instructions b { font-weight: 500; color: #2f6138; }
}
@media (min-width: 721px) and (max-width: 1000px) { .story-instructions { width: 250px; padding: 18px; } .story-instructions pre { font-size: .625rem; min-height: 145px; } }

/* Static versions use the same photograph, with negative density applied in CSS. */
.acetate-art img, .instructions-art > img { filter: invert(1) brightness(.83) contrast(.92); }

@media (prefers-reduced-motion: no-preference) {
  .story-preparing .story-step:first-child { opacity: 1; transform: none; }
  .story-canvas { opacity: 0; transition: opacity 240ms ease-out; }
  .story-enhanced .story-canvas { opacity: 1; }
  .story-editor-image { inset: auto; left: 5%; top: 50%; width: 66%; aspect-ratio: 3 / 2; transform: translateY(-45%); }
  .story-editor-tools { top: 36px; bottom: 0; left: 76%; right: 0; padding: 24px 16px; border-left: 1px solid #ffffff12; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
  .editor-panel-title { color: #eceeee; font-weight: 500; margin-bottom: 10px; }
  .editor-tool-line { width: 100%; margin-bottom: 7px; background: linear-gradient(90deg,#555,#aaa); }
  .editor-tool-line:nth-of-type(2n)::after { left: 60%; }
  .editor-tool-line:nth-of-type(3n)::after { left: 35%; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .story-editor-tools { padding: 16px 10px; gap: 8px; font-size: .5rem; }
  .editor-panel-title { margin-bottom: 6px; }
  .editor-tool-line { margin-bottom: 4px; }
}

/* Static fallbacks preserve the full photograph and the editor's right-hand tools. */
.acetate-art { background: #272727; }
.acetate-art .crop-guide { inset: 34px 20px; }
.static-editor-image { inset: auto; width: 64%; aspect-ratio: 3 / 2; left: 5%; top: 50%; transform: translateY(-42%); }
.static-editor-tools { position: absolute; left: 76%; right: 6%; top: 22%; bottom: 15%; display: flex; flex-direction: column; justify-content: space-around; }
.static-editor-tools i { height: 2px; background: #777; position: relative; }
.static-editor-tools i::after { content: ''; position: absolute; left: 45%; top: -2px; width: 6px; height: 6px; background: #ccc; border-radius: 50%; }

/* The persistent CTA shares the production download control without covering the story. */
html { scroll-padding-top: 84px; }
.skip-link { z-index: 30; }
@media (max-width: 720px) {
}
/* Editorial illustration of an editor: crop is selected, tonal controls stay quiet. */
@media (prefers-reduced-motion: no-preference) {
  :is(.story-preparing, .story-enhanced) .story-pin { padding-top: 76px; padding-bottom: 16px; }
  :is(.story-preparing, .story-enhanced) .story-steps { height: 140px; flex-basis: 140px; }
  .story-editor { background: #1b1c1c; border-color: #494b4b; box-shadow: 0 24px 55px #0002, 0 2px 4px #0002; }
  .story-editor-bar { height: 36px; background: #242626; color: #b9bcbc; }
  .story-editor-tools { left: 76%; padding: 0 14px 14px; gap: 0; background: #242626; border-color: #ffffff0d; justify-content: flex-start; overflow: hidden; }
  .editor-tool-tabs { height: 40px; display: flex; align-items: center; justify-content: space-around; border-bottom: 1px solid #ffffff0d; margin-inline: -14px; padding-inline: 10px; flex-shrink: 0; }
  .editor-tool-tabs > span { display: grid; place-items: center; width: 28px; height: 28px; color: #7b8080; }
  .editor-tool-tabs .editor-tool-selected { color: #e1e5e3; background: #ffffff0b; border-radius: 4px; box-shadow: inset 0 -1px #75ba5f; }
  .editor-tool-tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
  .editor-histogram { width: 100%; height: 40px; margin-block: 16px 12px; fill: #898e8c; border-bottom: 1px solid #555b58; flex-shrink: 0; }
  .editor-panel-heading { display: flex; justify-content: space-between; align-items: center; padding-block: 10px; font-size: .625rem; font-weight: 500; color: #e2e5e4; }
  .editor-panel-heading small { color: #858b88; font-size: .8rem; }
  .editor-setting { display: flex; justify-content: space-between; align-items: center; font-size: .5625rem; color: #959c99; margin-block: 7px; }
  .editor-setting b { font-weight: 400; color: #cbd0cd; font-variant-numeric: tabular-nums; }
  .editor-setting b > span { margin-left: 10px; color: #747b77; }
  .editor-fine-scale { position: relative; height: 14px; margin-block: 6px 14px; background: repeating-linear-gradient(90deg,#7a817b70 0 1px,transparent 1px 8px); mask-image: linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); }
  .editor-fine-scale i { position: absolute; width: 1px; inset: 0 auto 0 55%; background: #e6e9e7; }
  .editor-tone-heading { border-top: 1px solid #ffffff0d; }
  .story-editor-tools .editor-tool-line { height: 1px; margin-block: 6px 10px; background: #747b7866; flex-shrink: 0; }
  .story-editor-tools .editor-tool-line::after { width: 4px; height: 7px; border-radius: 1px; left: 50%; top: -3px; background: #bbc2bd; }
}
@media (min-width: 721px) and (max-height: 740px) {
  .editor-histogram { height: 24px; margin-block: 8px 4px; }
  .editor-tool-tabs { height: 32px; }
  .editor-panel-heading { padding-block: 5px; }
  .editor-setting { margin-block: 4px; }
  .editor-fine-scale { margin-block: 4px 8px; }
}


/* Centered introduction, followed by three alternating, held captions. */
.how-heading { text-align: center; padding-block: 92px 20px; }
.how-heading h2 { margin-inline: auto; font-size: clamp(2.75rem, 4.5vw, 4.5rem); line-height: 1.1; }
.landing .hero { padding-bottom: 100px; }
@media (prefers-reduced-motion: no-preference) {
  :is(.story-preparing, .story-enhanced) .story-pin { display: block; padding: 0; min-height: 500px; }
  :is(.story-preparing, .story-enhanced) .story-steps { position: absolute; inset: 52px 0 0; height: auto; overflow: visible; pointer-events: none; }
  :is(.story-preparing, .story-enhanced) .story-step { justify-content: flex-start; text-align: left; }
  :is(.story-preparing, .story-enhanced) .story-step:nth-child(3) { justify-content: flex-end; }
  :is(.story-preparing, .story-enhanced) .story-step > p { width: 27%; margin: 0; max-width: 300px; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -.025em; text-wrap: pretty; }
  :is(.story-preparing, .story-enhanced) .story-stage { position: absolute; top: 52%; left: 21%; transform: translateY(-50%); width: 58%; height: min(620px, calc(100svh - 150px)); }
  .story-editor { top: 50%; bottom: auto; height: auto; aspect-ratio: 1.6; transform: translateY(-50%); }
}
@media (max-width: 720px) { .how-heading { padding-block: 64px 16px; } }

.static-editor-image { padding: 0; }



/* The object stays on one center line; only the editorial captions change sides. */
.story-copy { max-width: 960px; margin-inline: auto; }
.story-copy h3 { margin: 0 0 12px; font-size: clamp(1.375rem, 1.8vw, 1.625rem); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.story-copy p { margin: 0; text-wrap: balance; color: #343936; font-size: 1rem; line-height: 1.5; letter-spacing: -.012em; }
@media (prefers-reduced-motion: no-preference) {
  :is(.story-preparing, .story-enhanced) .story-copy { width: 19%; margin: 0; }
  .story-instructions { width: min(280px, 47%); padding: 18px; }
  .story-instructions pre { font-size: .65rem; min-height: 155px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .story-copy h3 { font-size: 1.25rem; }
  .story-copy p { font-size: .875rem; }
  .editor-histogram { height: 24px; margin-block: 8px 4px; }
  .editor-tool-tabs { height: 30px; }
  .editor-panel-heading { padding-block: 5px; }
  .editor-setting { margin-block: 4px; }
  .editor-fine-scale { margin-block: 4px 8px; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  :is(.story-preparing, .story-enhanced) { height: 560svh; }
  :is(.story-preparing, .story-enhanced) .story-pin { min-height: 0; width: calc(100% - 32px); }
  :is(.story-preparing, .story-enhanced) .story-stage { width: 100%; left: 0; top: 42%; height: 52svh; transform: none; }
  :is(.story-preparing, .story-enhanced) .story-steps { inset: 12% 0 54%; overflow: hidden; }
  :is(.story-preparing, .story-enhanced) .story-step,
  :is(.story-preparing, .story-enhanced) .story-step:nth-child(3) { justify-content: center; text-align: center; align-items: flex-start; }
  :is(.story-preparing, .story-enhanced) .story-copy { width: min(100%, 340px); }
  .story-copy h3 { font-size: 1.375rem; margin-bottom: 10px; }
  .story-copy p { font-size: .9375rem; line-height: 1.45; }
  .story-instructions { width: 58%; top: 43%; right: 0; padding: 14px; }
  .story-instructions > span { font-size: .6875rem; margin-bottom: 10px; }
  .story-instructions pre { font-size: .55rem; min-height: 124px; }
  .story-analysis > span { font-size: .55rem; padding: 2px 3px; }
  .story-editor { border-radius: 7px; }
  .story-editor-bar { height: 22px; padding-inline: 8px; font-size: .5rem; }
  .story-editor-bar i { width: 4px; height: 4px; }
  .story-editor-tools { top: 22px; padding: 0 6px; }
  .editor-tool-tabs { height: 24px; margin-inline: -6px; padding-inline: 3px; }
  .editor-tool-tabs > span { width: 18px; height: 18px; }
  .editor-tool-tabs svg { width: 12px; height: 12px; }
  .editor-histogram { height: 20px; margin-block: 8px 3px; }
  .editor-panel-heading { font-size: .47rem; padding-block: 5px; }
  .editor-setting { font-size: .44rem; margin-block: 5px; }
  .editor-setting b > span { margin-left: 2px; }
  .editor-fine-scale { height: 9px; margin-block: 4px; }
  .editor-tone-heading, .editor-tone-heading ~ * { display: none; }
}

/* Larger, consistent captions across the three story beats. */
.story-copy h3, .story-copy p { font-size: clamp(2rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
@media (max-width: 720px) { .story-copy h3, .story-copy p { font-size: 1.5rem; } }

/* A scroll-driven charcoal reveal; white retains a soft studio vignette. */
.landing.stage-light { overflow-x: clip; isolation: isolate; background: #171818; }
.landing.stage-light::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 43%, #fafafa 28%, #f8f8f8 66%, #eceeed 100%); opacity: var(--stage-light, 0); }
.stage-light .site-header, .stage-light .hero, .stage-light .how { background: transparent; }
.stage-light .hero::before, .stage-light .hero::after { content: none; }
.stage-light .hero, .stage-light .site-header { color: rgb(calc(245 - 225 * var(--stage-light, 0)), calc(245 - 224 * var(--stage-light, 0)), calc(245 - 224 * var(--stage-light, 0))); }
.stage-light .hero em, .stage-light .hero .intro, .stage-light .hero .small { color: rgb(calc(170 - 70 * var(--stage-light, 0)), calc(170 - 67 * var(--stage-light, 0)), calc(170 - 67 * var(--stage-light, 0))); }
.stage-light .how-heading { color: rgb(calc(245 - 225 * var(--stage-light, 0)), calc(245 - 224 * var(--stage-light, 0)), calc(245 - 224 * var(--stage-light, 0))); }

/* Film-roll exploration: an uninterrupted strip spans the stage, with copy above. */
.stage-light.grain-ready::before { opacity: 1; background: radial-gradient(ellipse at 50% 40%,#fafafa 20%,#f1f1f1 56%,#c9c9c9 100%); }
.exposure-grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.stage-light.grain-ready::before { z-index: -2; }
.exposure-grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain-texture); background-size: 128px 128px; opacity: var(--grain-opacity,0); mix-blend-mode: soft-light; }
@media (prefers-reduced-motion: no-preference) {
  :is(.story-preparing,.story-enhanced) { height: 640svh; }
  :is(.story-preparing,.story-enhanced) .story-pin { width: 100%; }
  :is(.story-preparing,.story-enhanced) .story-steps { inset: 18% 24px 66%; width: auto; }
  :is(.story-preparing,.story-enhanced) .story-step,
  :is(.story-preparing,.story-enhanced) .story-step:nth-child(3) { justify-content: center; align-items: center; text-align: center; }
  :is(.story-preparing,.story-enhanced) .story-copy { width: min(960px,100%); }
  :is(.story-preparing,.story-enhanced) .story-stage { left: 0; top: 35%; width: 100%; height: 60svh; transform: none; overflow: visible; }
  .story-editor { left: 50%; right: auto; width: min(840px,76vw,88svh); transform: translate(-50%,-50%); }
  .story-instructions { right: max(8%,calc((100vw - 820px)/2)); top: 30%; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  :is(.story-preparing,.story-enhanced) .story-steps { inset: 22% 18px 58%; }
  :is(.story-preparing,.story-enhanced) .story-step,
  :is(.story-preparing,.story-enhanced) .story-step:nth-child(3) { align-items: flex-start; }
  :is(.story-preparing,.story-enhanced) .story-stage { top: 43%; height: 52svh; }
  .story-editor { width: calc(100% - 32px); }
  .story-instructions { right: 16px; width: 54%; }
}

/* The image remains centred; the editor extends farther on its controls side. */
@media (prefers-reduced-motion: no-preference) {
  .story-editor { width: min(960px,80vw,88svh); transform: translate(-39%,-50%); }
  .story-editor-image { left: 4%; width: 70%; top: 50%; transform: translateY(-50%); }
  .story-editor-tools { left: 78%; }
  .story-instructions { width: 350px; padding: 24px; top: 17%; right: max(8%,calc((100vw - 880px)/2)); background: none; border: 0; box-shadow: none; }
  .story-instructions::before { content: ''; position: absolute; inset: 0; z-index: -1; width: calc(100% * var(--card-sx,1)); height: calc(100% * var(--card-sy,1)); border: 1px solid var(--card-border,#c9ccca); border-radius: 10px; background: var(--card-background,#fafafa); box-shadow: 0 12px 30px rgb(17 17 17 / var(--card-shadow,.12)); transform: translate(var(--card-x,0px),var(--card-y,0px)); opacity: var(--card-surface,1); }
  .story-instructions > span { font-size: 1rem; opacity: var(--code-opacity,1); }
  .story-instructions pre { font-size: .9375rem; min-height: 210px; line-height: 1.8; white-space: pre; overflow: visible; }
  .story-instructions code { white-space: pre; }
  .code-syntax { opacity: var(--code-opacity,1); }
  .story-instructions b.code-value { display: inline-block; position: relative; color: var(--value-color,#2f6138); font-size: inherit; line-height: inherit; transform-origin: top left; }
  .editor-crop-values { opacity: var(--panel-labels,0); }
  .editor-crop-values [data-editor-value] { visibility: hidden; margin: 0; }
  .editor-crop-values .editor-setting { margin-block: 5px; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .story-instructions { width: min(310px,86%); right: 7%; top: 10%; padding: 18px; }
  .story-instructions > span { font-size: .875rem; }
  .story-instructions pre { font-size: .75rem; min-height: 174px; }
  .story-editor-tools { padding-inline: 5px; }
  .editor-crop-values .editor-setting { margin-block: 3px; font-size: .40rem; }
  .editor-crop-values .editor-panel-heading { font-size: .43rem; }
  .editor-crop-values .editor-fine-scale { margin-bottom: 2px; }
}

/* One stage bridges the hero and the explainer; only its viewport position changes. */
@media (prefers-reduced-motion: no-preference) {
  .landing:has(.story-preparing,.story-enhanced) .hero { padding-bottom: 0; }
  .landing:has(.story-preparing,.story-enhanced) #hero-film-anchor { height: 30svh; margin-top: 30px; }
  .story-stage[data-hero="true"] { position: fixed !important; top: var(--hero-stage-top) !important; left: 0 !important; z-index: 5; pointer-events: none; }
  .story-stage[data-hero="true"] .story-canvas { opacity: var(--hero-film-opacity,1); }
  .hero-copy { position: relative; z-index: 6; }
}

@media (prefers-reduced-motion: no-preference) {
  .how:has(.story-preparing,.story-enhanced) .how-heading { pointer-events: none; }
}

/* Stationary charcoal fibres dissolve with the reveal; no brightening light curtain. */
.exposure-grain { overflow: hidden; background: #0d0d0d; }
.exposure-grain::after { background-size: 256px 256px; opacity: var(--grain-opacity,.42); mix-blend-mode: soft-light; }
@media (prefers-reduced-motion: no-preference) {
  .how:has(.story-preparing,.story-enhanced) .how-heading h2 { position: fixed; top: 28svh; left: 0; width: 100%; max-width: none; margin: 0; z-index: 6; opacity: var(--hero-heading-opacity,0); }
  .landing.stage-light .hero-copy { opacity: calc(1 - var(--stage-light,0)); }
}

/* The white instructions settle into a matching rounded panel in the editor. */
@media (prefers-reduced-motion: no-preference) {
  .editor-crop-values { flex-shrink: 0; padding: 4px 8px 0; margin-block: 2px 8px; border: 1px solid #ffffff12; border-radius: 10px; background: #353838; }
  .editor-crop-values .editor-fine-scale { margin-bottom: 10px; }
  .editor-gallery { position: absolute; left: 0; bottom: 0; width: 78%; height: 11%; display: flex; align-items: center; justify-content: center; gap: 1%; padding: .65% 2%; border-top: 1px solid #ffffff0d; background: #171818; }
  .editor-gallery-item { height: 100%; aspect-ratio: 3 / 2; padding: 2px; border: 1px solid transparent; border-radius: 3px; background: #252727; }
  .editor-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
  .editor-gallery-item.is-selected { border-color: #a8c79b; background: #343a33; }
  .editor-gallery-item.is-selected img { opacity: 1; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .editor-crop-values { padding: 2px 4px 0; margin-block: 2px 4px; border-radius: 6px; }
  .editor-crop-values .editor-fine-scale { margin-bottom: 5px; }
  .editor-gallery-item { padding: 1px; border-radius: 2px; }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .editor-crop-values .editor-panel-heading { font-size: .4rem; white-space: nowrap; gap: 2px; }
  .editor-crop-values .editor-panel-heading small { font-size: .4rem; }
}

/* Measured luminance distributions of the two bundled prepared photographs. */
.editor-histogram [data-histogram] { stroke: #b5bbb7; stroke-width: .45; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.editor-histogram [data-histogram="street"],
.story-stage[data-selected-frame="street"] .editor-histogram [data-histogram="coast"] { display: none; }
.story-stage[data-selected-frame="street"] .editor-histogram [data-histogram="street"] { display: block; }

/* One logo scales within a fixed slot; the header never changes scroll geometry. */
.landing .site-header { height: 72px; min-height: 72px; padding-block: 14px; position: sticky; top: 0; z-index: 20; isolation: isolate; }
.landing .site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); mask-image: linear-gradient(#000 0 56px,transparent 100%); opacity: var(--header-reveal,0); pointer-events: none; }
.landing .site-header .brand { width: 180px; transform: scale(var(--logo-scale,1)); transform-origin: left center; }
.landing .site-header nav { margin-left: auto; }
.landing .site-header nav .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-height: 40px; padding: 10px 16px; white-space: nowrap; line-height: 1; font-size: .8125rem; font-weight: 500; border-radius: 7px; box-shadow: 0 1px 2px #0001; }
.landing .site-header .download-mark { display: block; width: 16px; height: 16px; }
@media (max-width: 480px) {
  .landing .site-header { gap: 12px; }
  .landing .site-header .brand { width: clamp(104px,calc(100vw - 240px),150px); }
  .landing .site-header nav .button { padding-inline: 10px; gap: 6px; font-size: .75rem; }
}
