/* Layout: a fashion-house film that scrolls. Full-bleed scenes, small type set low and left, long quiet gaps, one accent. */
:root {
  color-scheme: dark;
  --ink: #0a0809;            /* aubergine-black ground */
  --ink-2: #130e11;          /* raised panel */
  --wine: #1c0f17;           /* tinted band, same family */
  --line: rgba(240, 232, 228, 0.13);
  --paper: #f0e8e4;          /* ivory text */
  --mute: #9d9194;           /* secondary text */
  --rose: #c98aa6;           /* the single accent */
  --rose-deep: #4e1b37;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut-l: max(22px, env(safe-area-inset-left, 0px));
  --gut-r: max(22px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (min-width: 900px) {
  :root { --gut-l: max(56px, env(safe-area-inset-left, 0px)); --gut-r: max(56px, env(safe-area-inset-right, 0px)); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* film grain over everything, fixed so it never repaints on scroll */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--rose); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; letter-spacing: -0.012em; }
em { font-style: italic; color: var(--rose); }
.film-copy .mono { color: var(--paper); text-shadow: 0 1px 12px rgba(10, 8, 9, 0.7); }
.mono { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.wrap { padding-left: var(--gut-l); padding-right: var(--gut-r); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: calc(22px + env(safe-area-inset-top, 0px)); padding-bottom: 22px; padding-left: var(--gut-l); padding-right: var(--gut-r);
  transition: background 0.5s, border-color 0.5s, padding 0.5s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(10, 8, 9, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; }
.brand { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.top nav { display: flex; gap: 34px; align-items: center; }
.top nav a { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s; }
.top nav a:hover { opacity: 1; }
.top nav a.keep { opacity: 1; padding: 10px 18px; border: 1px solid rgba(240, 232, 228, 0.4); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.top nav a.keep:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 760px) { .top nav a:not(.keep) { display: none; } .brand { letter-spacing: 0.2em; font-size: 0.875rem; } }

/* scene 1: the film */
.film { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; z-index: -2; opacity: 0; transition: opacity 2.2s ease; }
.film video.on { opacity: 1; animation: drift 16s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.film::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,8,9,0.5) 0%, rgba(10,8,9,0) 20%, rgba(10,8,9,0.08) 60%, var(--ink) 100%),
              linear-gradient(90deg, rgba(10,8,9,0.5) 0%, rgba(10,8,9,0) 38%),
              radial-gradient(120% 90% at 50% 40%, rgba(10,8,9,0) 55%, rgba(10,8,9,0.55) 100%); }
.film-copy { padding-top: 120px; padding-bottom: 34px; max-width: 32rem; display: grid; gap: 16px; animation: rise 1.6s var(--ease) both 0.2s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.film h1 { font-size: clamp(2rem, 3.9vw, 3.4rem); line-height: 1.08; }
.film h1 em { display: block; padding-bottom: 0.08em; }
.lead { max-width: 24rem; opacity: 0.84; font-size: 0.9375rem; }
.now { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.bars { display: flex; gap: 6px; }
.bar { width: 46px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.bar::before, .bar i { content: ""; position: absolute; left: 0; top: 8px; height: 1px; }
.bar::before { width: 100%; background: rgba(240, 232, 228, 0.28); }
.bar i { width: 0; background: var(--paper); }
.bar.done i { width: 100%; }
.bar.on i { animation: fill var(--hold, 15s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.now .mono { color: var(--paper); }

/* doors */
.doors { border-top: 1px solid var(--line); background: var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.door { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding-block: 30px; padding-left: var(--gut-l); padding-right: var(--gut-r);
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.door + .door { border-left: 1px solid var(--line); }
.door::before { content: ""; position: absolute; inset: 0; background: var(--rose-deep); transform: translateY(101%); transition: transform 0.7s var(--ease); z-index: 0; }
.door:hover::before, .door:focus-visible::before { transform: none; }
.door > * { position: relative; z-index: 1; }
.door .big { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.15; display: block; }
.door .mono { display: block; margin-top: 10px; transition: color 0.4s; }
.door:hover .mono { color: var(--paper); }
.go { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 1rem; transition: transform 0.6s var(--ease), border-color 0.4s; }
.door:hover .go { transform: translateX(8px); border-color: var(--paper); }

/* statement */
.say { padding-block: clamp(110px, 17vw, 240px); }
.say p.line { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3.5rem); line-height: 1.2; max-width: 22ch; letter-spacing: -0.012em; text-wrap: balance; }
.sig { margin-top: 44px; display: flex; align-items: center; gap: 18px; }
.sig::before { content: ""; width: 56px; height: 1px; background: var(--rose); }

/* scenes */
.scene { padding-block: clamp(90px, 13vw, 190px); }
.head { display: grid; gap: 20px; max-width: 52rem; margin-bottom: clamp(44px, 6vw, 84px); }
.head h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.08; }
.head p { max-width: 32rem; color: var(--mute); }

/* the reel: five portrait films, set at uneven heights like a contact sheet */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.cell { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-2); display: flex; align-items: flex-end; isolation: isolate; }
.cell video, .cell img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter 0.9s; filter: saturate(0.7) brightness(0.72); }
.cell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,8,9,0) 45%, rgba(10,8,9,0.94) 100%); }
.cell:hover video, .cell:hover img, .cell:focus-visible video, .cell:focus-visible img { transform: scale(1.05); filter: none; }
.cell-copy { padding: 22px 18px; display: grid; gap: 8px; width: 100%; min-width: 0; }
.cell h3 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.12; }
.cell p { font-size: 0.8125rem; opacity: 0.74; }
.cell .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cell .row span:first-child { color: var(--paper); }
/* desktop: the five films stand as tall strips, the one you point at opens */
@media (min-width: 1101px) {
  .reel { display: flex; gap: 10px; height: clamp(500px, 74vh, 760px); }
  .cell { aspect-ratio: auto; height: 100%; flex: 1 1 0; min-width: 0; transition: flex-grow 1s var(--ease); }
  .cell:hover, .cell:focus-visible, .reel:not(:hover):not(:focus-within) .cell:first-child { flex-grow: 3.4; }
  .cell h3 { font-size: clamp(1.1rem, 1.35vw, 1.5rem); overflow-wrap: normal; }
  .cell-copy { padding: 22px 14px; }
  .cell p, .cell .row { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.7s var(--ease); white-space: nowrap; }
  .cell:hover p, .cell:hover .row, .cell:focus-visible p, .cell:focus-visible .row,
  .reel:not(:hover):not(:focus-within) .cell:first-child p, .reel:not(:hover):not(:focus-within) .cell:first-child .row { opacity: 1; transform: none; transition-delay: 0.25s; }
  .cell:hover p, .reel:not(:hover):not(:focus-within) .cell:first-child p { opacity: 0.74; }
  .reel:not(:hover):not(:focus-within) .cell:first-child video { filter: none; }
}
@media (max-width: 1100px) {
  .reel-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(var(--gut-l) * -1); margin-right: calc(var(--gut-r) * -1); padding-left: var(--gut-l); padding-right: var(--gut-r); }
  .reel-scroll::-webkit-scrollbar { display: none; }
  .reel { grid-auto-columns: min(70vw, 310px); }
  .cell { scroll-snap-align: center; }
}
.all { margin-top: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: end; padding-block: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: padding 0.6s var(--ease); }
.all:hover { padding-left: 14px; }
.all h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; }
.all p { color: var(--mute); margin-top: 8px; max-width: 30rem; }
.all .price { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-variant-numeric: lining-nums; white-space: nowrap; }
@media (max-width: 620px) { .all { grid-template-columns: 1fr; } }

/* how it runs: tinted band */
.band { background: var(--wine); }
.steps { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); min-width: 0; }
.step h3 { font-size: 1.75rem; font-style: italic; color: var(--rose); }
.step p { color: var(--paper); opacity: 0.78; max-width: 22rem; }

/* two wide doors */
.pair { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wide { position: relative; min-height: clamp(380px, 50vw, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink-2); }
.wide video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; filter: brightness(0.55) saturate(0.7); transition: filter 0.9s, transform 1.6s var(--ease); }
.wide:hover video { filter: brightness(0.78); transform: scale(1.04); }
.wide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,8,9,0.05), rgba(10,8,9,0.92)); }
.wide.plain { background: radial-gradient(120% 120% at 0% 0%, var(--rose-deep) 0%, var(--wine) 55%, var(--ink-2) 100%); }
.wide.plain::after { background: none; }
.wide-copy { padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 14px; max-width: 32rem; }
.wide h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; }
.wide p { opacity: 0.8; }
.more { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; }
.more::after { content: "\2192"; transition: transform 0.5s var(--ease); }
a:hover .more::after { transform: translateX(7px); }

/* commissions */
.brief { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: end; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--ink-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.03); }
.brief-copy { display: grid; gap: 24px; min-width: 0; }
.brief-copy h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.08; }
.brief-copy > p { color: var(--mute); max-width: 30rem; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line); }
.svc b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.svc span { white-space: nowrap; color: var(--paper); }
.btn { justify-self: start; display: inline-flex; align-items: center; gap: 14px; padding: 19px 32px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; transition: background 0.5s, transform 0.2s; }
.btn:hover { background: var(--rose); }
.btn:active { transform: translateY(1px); }

footer { border-top: 1px solid var(--line); padding-block: clamp(60px, 9vw, 120px) calc(30px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 44px; }
.wordmark { font-family: var(--serif); font-size: clamp(2.4rem, 9.5vw, 9rem); line-height: 1; letter-spacing: -0.02em; }
.wordmark em { padding-right: 0.06em; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }

/* monogram and opening curtain */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.mark { width: 38px; height: 38px; border: 1px solid rgba(240, 232, 228, 0.5); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 0.95rem; letter-spacing: 0; text-transform: none; flex: none; }
.curtain { position: fixed; inset: 0; z-index: 40; background: var(--ink); display: grid; place-items: center; pointer-events: none; animation: lift 1.3s var(--ease) 1.1s forwards; }
.curtain .mark { width: 92px; height: 92px; font-size: 2.3rem; animation: breathe 1.1s ease both; }
@keyframes lift { to { transform: translateY(-100%); } }
@keyframes breathe { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

/* statement: words light as the line travels up the screen */
.say { view-timeline: --say block; }
@supports (animation-timeline: view()) {
  .say .w { animation: lit linear both; animation-timeline: --say; }
  @keyframes lit { from { opacity: 0.16; } to { opacity: 1; } }
}

/* frame strip: stills from her own films, drifting slowly */
.strip { overflow: hidden; padding-block: clamp(50px, 7vw, 100px); }
.track { display: flex; gap: 14px; width: max-content; align-items: center; animation: slide 90s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.track img { height: clamp(230px, 30vw, 400px); width: auto; max-width: none; filter: saturate(0.8); transition: filter 0.6s; }
.track img:nth-child(even) { height: clamp(180px, 23vw, 310px); }
.track img:hover { filter: none; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- additions for real pages (same tokens, no new colours) ---- */
.film h1 .kw { display: block; margin-bottom: 16px; line-height: 1.6; font-weight: 400; }
.film.page { min-height: min(100svh, 780px); max-height: 100svh; }
.film.page video, .film.page img.bg { opacity: 1; animation: drift 16s ease-out both; }
.film img.bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.film.page .film-copy { max-width: 40rem; }
.lede { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.32; max-width: 34ch; letter-spacing: -0.01em; text-wrap: pretty; }
.lede + p { margin-top: 28px; }
.prose { display: grid; gap: 20px; max-width: 40rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; margin-bottom: 8px; }
.prose p { color: var(--paper); opacity: 0.82; }
.prose a, .srcs a, .lede a { color: var(--rose); border-bottom: 1px solid rgba(201, 138, 166, 0.4); }
.srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 40rem; }
.srcs li { padding-block: 16px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-block: 22px; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--rose); flex: none; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 1px solid var(--rose); outline-offset: 2px; }
.faq details p { padding-bottom: 24px; max-width: 38rem; color: var(--paper); opacity: 0.8; }
.flinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.flinks div { display: grid; gap: 10px; align-content: start; }
.flinks b { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.flinks a { color: var(--mute); font-size: 0.9375rem; transition: color 0.3s; }
.flinks a:hover { color: var(--paper); }
.foot { color: var(--mute); font-size: 0.875rem; }
.top nav a.here { opacity: 1; }

@media (max-width: 440px) { .brand { gap: 10px; letter-spacing: 0.1em; font-size: 0.75rem; } .mark { width: 34px; height: 34px; } .top nav a.keep { padding: 10px 12px; letter-spacing: 0.16em; } .top { gap: 8px; } }

/* ===== product pages: design of record is design-source/product-template.html, scoped under body.product ===== */
body.product { padding-bottom: 84px; }
body.product.nobuy { padding-bottom: 0; }
body.product a:focus-visible, body.product button:focus-visible, body.product summary:focus-visible {outline: 1px solid var(--rose); outline-offset: 5px;}
body.product .scene {padding-block: clamp(84px, 12vw, 170px);}
body.product .h2 {font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.08; max-width: 18ch;}
body.product .top {position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: calc(18px + env(safe-area-inset-top, 0px)); padding-bottom: 18px; padding-left: var(--gut-l); padding-right: var(--gut-r);
  transition: background 0.5s, border-color 0.5s; border-bottom: 1px solid transparent;}
body.product .top.solid {background: rgba(10, 8, 9, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line);}
body.product .brand {display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;}
body.product .mark {width: 38px; height: 38px; border: 1px solid rgba(240, 232, 228, 0.5); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 0.95rem; letter-spacing: 0; text-transform: none; flex: none;}
body.product .top nav {display: flex; gap: 34px; align-items: center;}
body.product .top nav a {font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s;}
body.product .top nav a:hover, body.product .top nav a[aria-current] {opacity: 1;}
@media (max-width: 760px) {
body.product .top nav {display: none;}
body.product .brand {letter-spacing: 0.2em; font-size: 0.875rem;}
}
body.product .film {position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;}
body.product .film video {position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 26%; z-index: -2; animation: drift 18s ease-out both;}
body.product .film::after {content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,8,9,0.5) 0%, rgba(10,8,9,0) 20%, rgba(10,8,9,0.1) 58%, var(--ink) 100%),
              linear-gradient(90deg, rgba(10,8,9,0.55) 0%, rgba(10,8,9,0) 40%),
              radial-gradient(120% 90% at 50% 40%, rgba(10,8,9,0) 55%, rgba(10,8,9,0.55) 100%);}
body.product .crumb {display: flex; gap: 12px; align-items: center;}
body.product .crumb a {color: var(--paper); opacity: 0.7;}
body.product .crumb a:hover {opacity: 1;}
body.product .film-copy {padding-top: 120px; padding-bottom: 30px; max-width: 36rem; display: grid; gap: 16px; animation: rise 1.6s var(--ease) both 0.2s;}
body.product .film-copy .mono {color: var(--paper); text-shadow: 0 1px 12px rgba(10, 8, 9, 0.7);}
body.product .film h1 {font-size: clamp(2.1rem, 4.2vw, 3.7rem); line-height: 1.08;}
body.product .film h1 em {display: block; padding-bottom: 0.08em;}
body.product .lead {max-width: 26rem; opacity: 0.86; font-size: 0.9375rem;}
body.product .facts {display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); background: var(--ink);}
body.product .fact {padding-block: 22px; padding-left: var(--gut-l); padding-right: 22px; border-bottom: 1px solid var(--line); display: grid; gap: 6px;}
body.product .fact + .fact {border-left: 1px solid var(--line); padding-left: 26px;}
body.product .fact b {font-family: var(--serif); font-weight: 400; font-size: 1.35rem;}
@media (max-width: 620px) {
body.product .facts {grid-template-columns: 1fr 1fr;}
body.product .fact {padding-block: 14px; padding-right: 12px;}
body.product .fact + .fact {border-left: 0; padding-left: var(--gut-l);}
body.product .fact:nth-child(even) {border-left: 1px solid var(--line); padding-left: 16px;}
body.product .fact b {font-size: 1.1rem;}
}
body.product .answer {font-family: var(--serif); font-size: clamp(1.45rem, 2.9vw, 2.5rem); line-height: 1.28; max-width: 30ch; text-wrap: pretty;}
body.product .answer + .mono {display: flex; align-items: center; gap: 18px; margin-top: 40px;}
body.product .answer + .mono::before {content: ""; width: 56px; height: 1px; background: var(--rose);}
body.product .work {display: grid; gap: 14px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); height: clamp(480px, 60vw, 780px); margin-top: clamp(40px, 5vw, 70px);}
body.product .work .tall {position: relative; overflow: hidden; background: var(--ink-2); min-height: 0;}
body.product .work .tall video {position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%;}
body.product .work .side {display: grid; gap: 14px; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); min-height: 0;}
body.product .work .side div {position: relative; overflow: hidden; background: var(--ink-2); min-height: 0;}
body.product .work img {position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; filter: saturate(0.85);}
@media (max-width: 760px) {
body.product .work {grid-template-columns: minmax(0, 1fr); height: auto;}
body.product .work .tall {aspect-ratio: 4 / 5;}
body.product .work .side {grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);}
body.product .work .side div {aspect-ratio: 3 / 4;}
}
body.product .formats {list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 40px;}
body.product .formats li {padding-block: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px;}
body.product .formats b {font-family: var(--serif); font-weight: 400; font-size: 1.3rem;}
body.product .formats span {color: var(--mute); font-size: 0.875rem;}
body.product .band {background: var(--wine);}
body.product .sheet-grid {display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start;}
body.product .sheet-grid > div:first-child {display: grid; gap: 22px; position: sticky; top: 110px;}
body.product .sheet-grid p {color: var(--paper); opacity: 0.78; max-width: 26rem;}
body.product .sheet {background: var(--paper); color: #17110f; padding: clamp(24px, 3.4vw, 46px); font-family: var(--mono); font-size: 0.78rem; line-height: 1.75; min-width: 0; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);}
body.product .sheet header {display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid rgba(23, 17, 15, 0.25); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.66rem;}
body.product .sheet h3 {font-family: var(--serif); font-size: 1.7rem; margin: 22px 0 6px; color: #17110f;}
body.product .sheet dl {margin: 18px 0 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 14px;}
body.product .sheet dt {letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.66rem; opacity: 0.6; padding-top: 2px;}
body.product .sheet dd {margin: 0; overflow-wrap: anywhere;}
body.product .sheet .cut {margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(23, 17, 15, 0.3);}
body.product .sheet .lock {display: inline-block; margin-top: 18px; padding: 6px 10px; border: 1px solid #7a2a52; color: #7a2a52; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.66rem;}
@media (max-width: 760px) {
body.product .sheet-grid > div:first-child {position: static;}
}
body.product .kit {margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 clamp(32px, 5vw, 80px);}
body.product .kit div {padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start;}
body.product .kit h3 {font-size: 1.5rem;}
body.product .kit p {color: var(--mute); max-width: 26rem;}
body.product .steps {margin-top: clamp(40px, 5vw, 70px); display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));}
body.product .step {display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); min-width: 0;}
body.product .step h3 {font-size: 1.75rem; font-style: italic; color: var(--rose);}
body.product .step p {opacity: 0.78; max-width: 22rem;}
body.product .fit {margin-top: clamp(40px, 5vw, 70px); display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));}
body.product .fit h3 {font-size: 1.5rem; padding-bottom: 18px; border-bottom: 1px solid var(--line);}
body.product .fit ul {list-style: none; margin: 0; padding: 0;}
body.product .fit li {padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--paper); opacity: 0.84;}
body.product .fit .no h3, body.product .fit .no li {color: var(--mute);}
body.product .price {text-align: left; display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: end;}
body.product .price .fig {font-family: var(--serif); font-size: clamp(5rem, 15vw, 12rem); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: lining-nums;}
body.product .price .fig sup {font-size: 0.3em; vertical-align: top; position: relative; top: 0.5em; margin-right: 0.08em; color: var(--rose);}
body.product .price-copy {display: grid; gap: 22px;}
body.product .price-copy p {color: var(--mute); max-width: 26rem;}
body.product .btn {justify-self: start; display: inline-flex; align-items: center; gap: 14px; padding: 19px 32px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.5s, transform 0.2s; white-space: nowrap;}
body.product .btn:hover {background: var(--rose);}
body.product .btn:active {transform: translateY(1px);}
body.product .alt {display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: padding 0.6s var(--ease);}
body.product .alt:hover {padding-left: 12px;}
body.product .alt b {font-family: var(--serif); font-weight: 400; font-size: 1.3rem;}
body.product .faq {margin-top: clamp(40px, 5vw, 70px); max-width: 56rem;}
body.product .faq details {border-top: 1px solid var(--line);}
body.product .faq details:last-child {border-bottom: 1px solid var(--line);}
body.product .faq summary {list-style: none; cursor: pointer; padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem);}
body.product .faq summary::-webkit-details-marker {display: none;}
body.product .faq summary::after {content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.4rem; color: var(--rose); transition: transform 0.4s var(--ease); flex: none;}
body.product .faq details[open] summary::after {transform: rotate(45deg);}
body.product .faq p {color: var(--mute); max-width: 40rem; padding-bottom: 26px;}
body.product .others {margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;}
body.product .other {position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; background: var(--ink-2);}
body.product .other img {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.7) brightness(0.7); transition: transform 1.6s var(--ease), filter 0.9s;}
body.product .other::after {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,8,9,0) 45%, rgba(10,8,9,0.92) 100%);}
body.product .other:hover img {transform: scale(1.05); filter: none;}
body.product .other h3 {padding: 18px 16px; font-size: 1.3rem;}
body.product footer {border-top: 1px solid var(--line); padding-block: clamp(50px, 8vw, 100px) 30px; display: grid; gap: 40px;}
body.product .wordmark {font-family: var(--serif); font-size: clamp(2.4rem, 9.5vw, 9rem); line-height: 1; letter-spacing: -0.02em;}
body.product .foot {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;}
body.product .buy {position: fixed; inset: auto 0 0; z-index: 25; background: rgba(10, 8, 9, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding-left: var(--gut-l); padding-right: var(--gut-r);
  transform: translateY(105%); transition: transform 0.7s var(--ease);}
body.product .buy.show {transform: none;}
body.product .buy .name {display: flex; align-items: baseline; gap: 16px; min-width: 0;}
body.product .buy .name b {font-family: var(--serif); font-weight: 400; font-size: 1.25rem; white-space: nowrap;}
body.product .buy .btn {padding: 14px 24px;}
@media (max-width: 620px) {
body.product .buy .name .mono {display: none;}
}

body.product .film video { opacity: 1; transition: none; }
body.product .faq details p { opacity: 1; }
body.product .faq .alt { margin-top: 40px; }
body.product .btn { border: 0; cursor: pointer; }
body.product .btn.sub { margin-top: 28px; }
/* split hero (TwinStudio): text left, image at natural size right */
body.product .film.split { background: radial-gradient(120% 120% at 100% 0%, var(--rose-deep) 0%, var(--wine) 50%, var(--ink) 100%); }
body.product .film.split::after { background: none; }
body.product .split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(24px, 5vw, 80px); align-items: end; padding-top: 110px; }
body.product .split-grid .film-copy { padding-top: 0; }
body.product .split-grid figure { margin: 0; align-self: end; }
body.product .split-grid img { display: block; width: 100%; max-width: 480px; height: auto; margin-left: auto; filter: saturate(0.9); }
@media (max-width: 860px) { body.product .split-grid { grid-template-columns: minmax(0, 1fr); } body.product .split-grid figure { order: -1; padding-top: 70px; } body.product .split-grid img { max-width: 220px; margin-left: 0; } }
/* two-still work grid */
body.product .work.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: clamp(440px, 52vw, 700px); }
@media (max-width: 760px) { body.product .work.two { height: auto; } body.product .work.two .tall { aspect-ratio: 3 / 4; } }
/* prompt vault: example sheets */
body.product .sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 60px); align-items: start; }
body.product .sheets .sheet h3 { margin-top: 18px; }
body.product .sheet .prompt { margin: 16px 0 0; }
body.product .sheet-intro { display: grid; gap: 22px; max-width: 34rem; }
body.product .sheet-intro p { color: var(--paper); opacity: 0.78; }
/* blueprint: four tall hairline columns */
body.product .stages { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
body.product .stage { display: grid; gap: 18px; align-content: start; padding: 30px clamp(18px, 2.2vw, 36px) 44px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-width: 0; }
body.product .stage:first-child { border-left: 0; padding-left: 0; }
body.product .stage h3 { font-size: 2rem; font-style: italic; color: var(--rose); }
body.product .stage > p { color: var(--paper); opacity: 0.8; }
body.product .stage ul { list-style: none; margin: 8px 0 0; padding: 0; }
body.product .stage li { padding-block: 11px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--mute); }
@media (max-width: 1100px) { body.product .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.product .stage:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 760px) { body.product .stages { grid-template-columns: minmax(0, 1fr); } body.product .stage { border-left: 0; padding-left: 0; padding-right: 0; } }
/* commissions: service rows, form */
body.product .svc { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; }
body.product .svc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding-block: 30px; border-top: 1px solid var(--line); }
body.product .svc li:last-child { border-bottom: 1px solid var(--line); }
body.product .svc b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.1; }
body.product .svc p { grid-column: 1; color: var(--mute); max-width: 36rem; }
body.product .svc .from { grid-column: 2; grid-row: 1; white-space: nowrap; color: var(--paper); }
body.product .brief-form { display: grid; gap: 28px; max-width: 46rem; margin-top: clamp(36px, 5vw, 60px); }
body.product .brief-form .two { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 620px) { body.product .brief-form .two { grid-template-columns: minmax(0, 1fr); } }
body.product .brief-form label { display: grid; gap: 8px; min-width: 0; }
body.product .brief-form input, body.product .brief-form select, body.product .brief-form textarea { width: 100%; background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid rgba(240, 232, 228, 0.3); border-radius: 0; padding: 12px 0; font: inherit; font-weight: 300; font-size: 1rem; transition: border-color 0.3s; }
body.product .brief-form textarea { border: 1px solid rgba(240, 232, 228, 0.3); padding: 14px; min-height: 130px; resize: vertical; }
body.product .brief-form select option { background: var(--ink); color: var(--paper); }
body.product .brief-form input:focus, body.product .brief-form select:focus, body.product .brief-form textarea:focus { outline: none; border-color: var(--rose); }
body.product .brief-form input:focus-visible, body.product .brief-form select:focus-visible, body.product .brief-form textarea:focus-visible { outline: 1px solid var(--rose); outline-offset: 4px; }
body.product .brief-note { color: var(--rose); }
body.product .brief { padding-block: 0; }
body.product .buy .name b { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { body.product .buy .btn { padding: 14px 18px; letter-spacing: 0.14em; } }

/* ---- static text pages: page title and stills row (appended for privacy, terms, refunds, contact, blog, community) ---- */
.page-h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; max-width: 52rem; }
.stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 44px; }
.stills img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; filter: saturate(0.8); transition: filter 0.6s; }
.stills img:hover { filter: none; }

/* TwinStudio split hero: keep the portrait within the first screen */
body.product .split-grid img{max-height:min(60svh,600px);width:auto;height:auto;max-width:100%;justify-self:end}

/* ---- free tools page ---- */
.tool-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tool-tabs button { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); background: none; border: 1px solid var(--line); padding: 14px 18px; cursor: pointer; opacity: 0.75; }
.tool-tabs button[aria-selected="true"] { opacity: 1; border-color: var(--rose); }
.tool-wrap { margin-top: 28px; max-width: 760px; }
.tool-panel h2 { margin-bottom: 10px; }
.tool-panel form { display: grid; gap: 16px; margin-top: 22px; }
.tool-panel label { display: grid; gap: 8px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.tool-panel input, .tool-panel select { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--paper); background: transparent; border: 1px solid var(--line); padding: 14px; width: 100%; }
.tool-panel select option { color: #111; }
.tool-out { white-space: pre-wrap; word-break: break-word; margin-top: 28px; padding: 22px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7; }
.tool-copy { margin-top: 14px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); background: none; border: 1px solid var(--line); padding: 14px 18px; cursor: pointer; }
