/* One Take Clips storefront. Served by the dashboard Worker, whose CSP allows only same-origin styles, scripts and
   fonts: nothing inline, nothing from a CDN. */

@font-face { font-family: "Newsreader"; src: url("/store/fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/store/fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/store/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/store/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f5f3ee; --paper-2: #ecE9e1; --card: #fbfaf7; --ink: #171614; --ink-2: #3a3833; --muted: #6d695f;
  --line: #dcd7cb; --line-2: #e7e3d9; --rec: #c8371f; --rec-soft: #f1d9d2;
  --dark: #171614; --dark-ink: #efece4; --dark-muted: #a29d90; --dark-line: #34312b;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121210; --paper-2: #1a1916; --card: #1c1b18; --ink: #ecE9e1; --ink-2: #cfcbc1; --muted: #9b968a;
    --line: #2f2d28; --line-2: #262420; --rec: #e0553b; --rec-soft: #3a1f19;
    --dark: #0b0b0a; --dark-line: #2a2824;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.022em; line-height: 1.02; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font: 600 1.06rem/1.35 var(--sans); letter-spacing: -0.005em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.mono { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--muted); }
section { padding: clamp(80px, 11vw, 136px) 0; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 2px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 4px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font: 600 0.98rem var(--sans); text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--ink-2); }
.btn.small { height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.15s; }
.textlink:hover { border-color: var(--ink); }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
header.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 1.02rem var(--sans); letter-spacing: -0.01em; text-decoration: none; }
.logo .mark { width: 22px; height: 22px; border-radius: 5px; background: var(--ink); position: relative; flex: none; }
.logo .mark::after { content: ""; position: absolute; inset: 6.5px; border-radius: 50%; background: var(--rec); }
.links { display: flex; align-items: center; gap: 28px; font-size: 0.93rem; }
.links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color 0.15s; }
.links a:not(.btn):hover { color: var(--ink); }
.links .signin { color: var(--ink) !important; }
@media (max-width: 860px) { .links a:not(.btn):not(.signin) { display: none; } .links { gap: 18px; } }

/* hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--muted); margin-bottom: 28px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 60% { opacity: 0.2; } }
.hero h1 em { color: var(--ink-2); }
.lede { margin-top: 28px; font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.fine { margin-top: 28px; font-size: 0.88rem; color: var(--muted); }

.take { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 24px; box-shadow: 0 1px 0 var(--line-2), 0 24px 48px -32px rgb(30 25 15 / 0.35); }
.take-head { display: flex; justify-content: space-between; gap: 12px; }
.wave { display: flex; align-items: center; gap: 2px; height: 74px; margin: 18px 0 12px; }
.wave i { flex: 1; min-width: 1px; border-radius: 1px; background: var(--ink); opacity: 0.82; }
.wave i.cut { background: transparent; border: 1px dashed var(--rec); opacity: 0.55; }
.wave i.clip { background: var(--rec); opacity: 1; }
.take-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.66rem; }
.take-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.sw.keep { background: var(--ink); }
.sw.cut { border: 1px dashed var(--rec); }
.sw.clip { background: var(--rec); }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.reel { aspect-ratio: 9 / 16; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; color: #f6f2ea; position: relative; overflow: hidden; }
.reel::before { content: ""; position: absolute; left: 50%; top: 22%; width: 52%; aspect-ratio: 3 / 4; transform: translateX(-50%); border-radius: 50% 50% 44% 44%; background: rgb(255 255 255 / 0.08); }
.reel::after { content: ""; position: absolute; left: 50%; bottom: -8%; width: 92%; height: 40%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: rgb(255 255 255 / 0.07); }
.reel .tag { font-size: 0.56rem; opacity: 0.75; position: relative; z-index: 1; }
.reel p { position: relative; z-index: 1; font: 600 0.74rem/1.25 var(--sans); }
.r1 { background: linear-gradient(170deg, #4a3a2e, #241b15); }
.r2 { background: linear-gradient(170deg, #5b4c46, #2c2422); }
.r2 p { font: italic 400 0.9rem/1.1 var(--serif); }
.r3 { background: linear-gradient(170deg, #2e3438, #15191b); }
.r3 p { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; text-transform: uppercase; }
.r4 { background: linear-gradient(170deg, #3a3a3a, #121212); }
.r4 p b, .r4 p { color: #f6f2ea; }

/* section heads */
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.label { color: var(--rec); margin-bottom: 18px; }
.aside { color: var(--muted); font-size: 1.04rem; max-width: 30em; }

/* ledger */
.ledger-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger { width: 100%; border-collapse: collapse; }
.ledger thead th { font: 500 0.7rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 14px; border-bottom: 1px solid var(--ink); }
.ledger tbody th, .ledger td { padding: 26px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; }
.ledger tbody th { font: 400 clamp(1.25rem, 2vw, 1.55rem) var(--serif); width: 30%; padding-right: 24px; }
.ledger td.n { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); width: 14%; font-variant-numeric: lining-nums; }
.ledger td:last-child { color: var(--ink-2); max-width: 36em; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 26px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; color: var(--muted); margin-bottom: 40px; counter-increment: step; }
.steps { counter-reset: step; }
.step-n::before { content: "0" counter(step) "  "; color: var(--rec); white-space: pre; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; }

/* looks */
.looks-band { background: var(--dark); color: var(--dark-ink); }
.looks-band .aside { color: var(--dark-muted); }
.looks-band .label { color: #e0553b; }
.looks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.look h3 { margin-top: 16px; font-size: 0.98rem; }
.look p { margin-top: 4px; font-size: 0.86rem; line-height: 1.45; color: var(--dark-muted); }
.frame { aspect-ratio: 9 / 16; border-radius: 6px; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 14px 10px 26%; text-align: center; border: 1px solid var(--dark-line); }
.frame::before { content: ""; position: absolute; left: 50%; top: 20%; width: 50%; aspect-ratio: 3 / 4; transform: translateX(-50%); border-radius: 50% 50% 44% 44%; background: rgb(255 255 255 / 0.1); }
.frame::after { content: ""; position: absolute; left: 50%; bottom: -6%; width: 90%; height: 38%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: rgb(255 255 255 / 0.08); }
.frame .cap { position: relative; z-index: 2; font: 700 0.86rem/1.15 var(--sans); color: #fff; }
.frame .cap b { color: #ffd34d; }
.frame .serif { font: italic 400 1rem/1.1 var(--serif); }
.l-signature .frame { background: linear-gradient(170deg, #6a4a33, #2a1d14); }
.l-vogue .frame { background: linear-gradient(170deg, #b9a79a, #5d4b41); }
.l-vogue .title { position: absolute; top: 10%; left: 0; right: 0; z-index: 0; font: 400 1.6rem/1 var(--serif); letter-spacing: 0.04em; color: rgb(255 255 255 / 0.9); }
.l-doc .frame { background: #2d3a40; box-shadow: inset 0 18px 0 #000, inset 0 -18px 0 #000; padding-bottom: 32%; }
.l-doc .cap { font-size: 0.6rem; letter-spacing: 0.08em; }
.l-dream .frame { background: linear-gradient(170deg, #e9cfd2, #b8a4c4); }
.l-dream .cap { color: #fff; text-shadow: 0 1px 10px rgb(80 40 80 / 0.35); }
.l-noir .frame { background: linear-gradient(170deg, #4a4a4a, #0e0e0e); }
.l-noir .cap b { color: #e0553b; }
.l-calm .frame { background: linear-gradient(170deg, #5a5148, #2b2621); padding-bottom: 12%; }
.l-calm .chapter { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 0.52rem; color: rgb(255 255 255 / 0.75); }
.frame .cap.small { font: 500 0.66rem var(--sans); background: rgb(0 0 0 / 0.35); padding: 3px 7px; border-radius: 3px; }

/* control room */
.control { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.points { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.points div { border-top: 1px solid var(--line); padding-top: 16px; }
.points dt { font-weight: 600; margin-bottom: 6px; }
.points dd { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0d0d0c; padding: 11px; box-shadow: 0 0 0 1px #2c2a26, 0 40px 70px -40px rgb(20 15 5 / 0.55); }
.screen { height: 100%; border-radius: 34px; background: #121211; color: #ecE9e1; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; }
.ph-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ph-title { font: 600 1.35rem var(--sans); letter-spacing: -0.01em; }
.ph-day { color: #8f8a7f; }
.slot { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 12px; border-radius: 12px; background: #1d1c1a; }
.slot .t { grid-row: span 2; color: #8f8a7f; font-size: 0.66rem; padding-top: 2px; }
.slot .s { font-size: 0.82rem; line-height: 1.3; font-weight: 500; }
.slot .p { font-size: 0.68rem; color: #8f8a7f; margin-top: 2px; }
.slot .p.ig::before, .slot .p.yt::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: #8f8a7f; }
.slot .p.ig::before { background: #e0553b; }
.slot.hi { background: #2a201c; box-shadow: inset 0 0 0 1px #4a2b22; }
.ph-more { color: #6d695f; font-size: 0.62rem; text-align: center; margin-top: 6px; }
.ph-tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 12px; border-top: 1px solid #262420; }
.ph-tabs i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #4a4740; }
.ph-tabs i.on { border-color: #ecE9e1; }

/* ground rules */
.terms-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.terms div { border-top: 1px solid var(--ink); padding-top: 20px; }
.terms h3 { font: 400 1.5rem/1.2 var(--serif); margin-bottom: 12px; }
.terms p { color: var(--ink-2); font-size: 0.97rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 40em; }

/* access */
.access-band { background: var(--dark); color: var(--dark-ink); }
.access-band .label { color: #e0553b; }
.access-band .aside { color: var(--dark-muted); margin-top: 22px; }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.incl { list-style: none; margin: 36px 0 0; padding: 0; }
.incl li { padding: 14px 0 14px 28px; border-top: 1px solid var(--dark-line); position: relative; font-size: 0.97rem; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1.5px; background: #e0553b; }
.form { background: #1f1e1b; border: 1px solid var(--dark-line); border-radius: 8px; padding: clamp(22px, 3vw, 34px); }
.form label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 18px; color: var(--dark-ink); }
.form .opt { font-weight: 400; color: var(--dark-muted); margin-left: 4px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 4px; border: 1px solid #3c3932; background: #151412; color: var(--dark-ink); font: 400 1rem var(--sans); appearance: none; -webkit-appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, #a29d90 50%), linear-gradient(135deg, #a29d90 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: #6d695f; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #e0553b; }
.form textarea { resize: vertical; min-height: 84px; }
.form .btn { background: var(--dark-ink); color: #171614; border-color: var(--dark-ink); margin-top: 6px; }
.form .btn:hover { background: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; margin-top: 14px; font-size: 0.9rem; color: var(--dark-muted); }
.msg.bad { color: #f08a74; }
.done h3 { font: 400 1.8rem/1.15 var(--serif); margin-bottom: 12px; }
.done p { color: var(--dark-muted); }

/* footer */
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 0.88rem; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.logo.small { font-size: 0.94rem; }
.logo.small .mark { width: 18px; height: 18px; }
.logo.small .mark::after { inset: 5px; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .control, .access, .faq-grid { grid-template-columns: 1fr; }
  .looks { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head.split { grid-template-columns: 1fr; gap: 20px; }
  .faq-grid { gap: 0; }
  .control .phone { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .reels { gap: 7px; }
  .reel { padding: 7px; }
  .reel p { font-size: 0.6rem; }
  .r2 p { font-size: 0.72rem; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr { display: block; }
  .ledger tr { display: grid; grid-template-columns: 1fr auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .ledger tbody th, .ledger td { padding: 0; border: 0; width: auto; }
  .ledger td.n { grid-row: 1; grid-column: 2; }
  .ledger td:last-child { grid-column: 1 / -1; margin-top: 10px; font-size: 0.95rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .step-n { margin-bottom: 14px; }
  .looks { grid-template-columns: 1fr 1fr; gap: 14px; }
  .points, .terms { grid-template-columns: 1fr; }
  .terms { gap: 28px; }
  .cta { gap: 22px; }
  .links .signin { display: none; }
}
