/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodonimoda-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodonimoda-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodonimoda-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodonimoda-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Highframe Creative Agency -- site styles. Dark primary, champagne gold accent. */

/* Highframe Creative Agency. One theme: the frame. Dark throughout, chapters flow into each other. */

:root {
  --bg: #121212;
  --ink: #f6f3ee;
  --ink-dim: #a29c92;
  --gold: #c9a46a;
  --gold-deep: #b08d57;
  --line: rgba(201, 164, 106, 0.3);
  --line-soft: rgba(246, 243, 238, 0.12);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --wrap: 1180px;
  --gutter: clamp(22px, 5vw, 48px);
  --chap: clamp(80px, 11vw, 168px);
}

@property --gx { syntax: '<percentage>'; inherits: true; initial-value: 82%; }
@property --gy { syntax: '<percentage>'; inherits: true; initial-value: 6%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.012em; font-variation-settings: 'opsz' 28; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--gold); font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: #121212; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #121212; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ambient light: one soft glow that drifts from chapter to chapter */
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52vmax 52vmax at var(--gx) var(--gy), rgba(201, 164, 106, 0.115), transparent 62%),
    radial-gradient(40vmax 40vmax at calc(100% - var(--gx)) calc(100% - var(--gy)), rgba(201, 164, 106, 0.045), transparent 65%);
  transition: --gx 2.2s var(--ease), --gy 2.2s var(--ease);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); flex: none; }
.eyebrow i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0.04em; text-transform: none; font-size: 1.05rem; margin-right: -4px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-dim); max-width: 36em; line-height: 1.7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.1em 2.1em; border: 1px solid var(--gold); color: var(--ink); background: transparent;
  cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: var(--gold); color: #121212; }
.btn-solid { background: var(--gold); color: #121212; }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 0.8em 1.5em; font-size: 0.72rem; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-arrow { color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.3s; }
.link-arrow:hover { border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- announcement bar + header ---------- */
.announce { background: var(--gold); color: #121212; font-size: 0.86rem; text-align: center; padding: 9px var(--gutter); line-height: 1.45; }
.announce p { margin: 0; }
.announce a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; font-weight: 500; }

.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: linear-gradient(rgba(18, 18, 18, 0.92), rgba(18, 18, 18, 0.7)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-soft) 20%, var(--line-soft) 80%, transparent); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand img { height: 80px; width: auto; margin-block: 6px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav a:not(.btn) { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); padding: 6px 0; position: relative; transition: color 0.3s; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right 0.4s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current='page'] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current='page']::after { right: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font: 500 0.72rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; padding: 0.8em 1.3em; cursor: pointer; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 1; }

/* ---------- static frame corners (inner pages) ---------- */
[data-focus] { position: relative; --fo: 28px; --fs: 44px; }
[data-focus]::before, [data-focus]::after { content: ''; position: absolute; width: var(--fs); height: var(--fs); border: 1px solid var(--gold); pointer-events: none; }
[data-focus]::before { top: calc(var(--fo) * -1); left: calc(var(--fo) * -1); border-right: 0; border-bottom: 0; }
[data-focus]::after { bottom: calc(var(--fo) * -1); right: calc(var(--fo) * -1); border-left: 0; border-top: 0; }

/* the rail: a thin gold line that runs down the page and links the chapters */
.rail { display: none; position: fixed; left: clamp(20px, 3vw, 48px); top: 120px; bottom: 56px; width: 1px; z-index: 3; background: var(--line-soft); pointer-events: none; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--gold)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail-head { position: absolute; left: -3px; top: calc(var(--p, 0) * 100%); width: 7px; height: 7px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.rail-label { position: absolute; left: 18px; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap; transition: opacity 0.5s; }
.rail-label b { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: 0.08em; text-transform: none; font-size: 0.95rem; margin-bottom: 10px; }
@media (min-width: 1360px) { .rail { display: block; } .progress { display: none; } }

/* ---------- chapters ---------- */
.chap { position: relative; padding-block: var(--chap); }
.chap-head { max-width: 50rem; margin-bottom: clamp(44px, 6vw, 84px); }
.chap-head h2 { margin-bottom: 0.45em; }
.chap-head.center { text-align: center; margin-inline: auto; }
.chap-head.center .eyebrow { justify-content: center; }
.chap-head.center .eyebrow::before { display: none; }
.chap-head.center .lead { margin-inline: auto; }
.chap + .chap { padding-top: 0; }

/* soft hairline that fades out, used instead of box borders */
.fade-top, .rows li, .lines li, .figures li, .track, .pcol, .faq details, .incl li, .promo { position: relative; }
.fade-top::before, .rows li::before, .lines li::before, .figures li::before, .pcol::before, .faq details::before, .incl li::before, .promo::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--line), rgba(201, 164, 106, 0.04));
}

/* hero */
.hero { position: relative; padding-block: clamp(64px, 10vw, 140px) clamp(72px, 9vw, 130px); overflow: clip; }
.hero .copy { position: relative; max-width: 46rem; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 2.4rem; }
.hero .mark { position: absolute; right: -2vw; top: 50%; transform: translateY(-52%); font-family: var(--serif); font-style: italic; font-size: clamp(22rem, 46vw, 44rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, 0.22); pointer-events: none; user-select: none; letter-spacing: 0; }
.facts { position: relative; display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 5vw, 64px); margin-top: clamp(44px, 6vw, 80px); padding-top: 26px; }
.facts li { display: flex; align-items: baseline; gap: 12px; }
.facts b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--ink); }
.facts span { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }

/* chapter I: statements */
.lines li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 40px; align-items: baseline; padding: clamp(18px, 2.4vw, 30px) 0; }
.lines .t { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; font-variation-settings: 'opsz' 28; }
.lines .c { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }

/* chapters II and IV: numbered rows, no boxes */
.rows li { display: grid; grid-template-columns: minmax(64px, 0.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(26px, 3.2vw, 44px) 0; }
.rows .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.5rem; }
.rows h3 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.rows p { margin: 0; color: var(--ink-dim); }

/* process: one line, four points */
.track { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; padding-top: 40px; }
.track::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 164, 106, 0.08)); }
.track li { position: relative; }
.track li::before { content: ''; position: absolute; top: -40px; left: 0; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--gold); transform: rotate(45deg); }
.track h4 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.track p { font-size: 0.96rem; color: var(--ink-dim); margin: 0; }
.track .when { display: block; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: clamp(40px, 5vw, 64px); }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-dim); }
.ticks li::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; }

/* chapter III: proof as typography */
.proof { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.proof h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.proof p { color: var(--ink-dim); max-width: 32rem; }
.figures li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; }
.figures b { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; order: 2; text-align: right; }
.figures span { font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }

/* final chapter */
.closing { text-align: center; padding-bottom: clamp(96px, 12vw, 180px); }
.closing .chap-head { margin-bottom: 0; }
.closing .actions { justify-content: center; margin-top: 2.4rem; }
.priceline { margin-top: 2.6rem; font-size: 0.95rem; color: var(--ink-dim); }
.priceline b { font-family: var(--serif); font-weight: 400; font-size: 1.3em; color: var(--ink); margin-inline: 4px; }
.priceline .sep { color: var(--gold); margin-inline: 12px; }

/* ---------- inner pages ---------- */
.page-head { padding-block: calc(96px + clamp(48px, 7vw, 96px)) clamp(24px, 4vw, 48px); }
.page-head .copy { max-width: 48rem; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); }
.pcol { padding-top: 28px; }
.pcol .tag { font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.pcol .amount { font-family: var(--serif); font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1; margin: 20px 0 8px; }
.pcol .amount small { font-size: 0.32em; color: var(--ink-dim); font-family: var(--sans); font-weight: 300; letter-spacing: 0.04em; margin-left: 10px; }
.pcol .amount.is-text { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.01em; }
.pcol-cta { margin-top: clamp(32px, 4vw, 52px); }
.pcol .sub { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 26px; }
.pcol ul { display: grid; gap: 11px; padding-top: 6px; }
.pcol li { display: flex; gap: 14px; align-items: baseline; }
.pcol li::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; translate: 0 -2px; }

.promo { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center; padding: 34px 0; }
.promo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--line), rgba(201, 164, 106, 0.04)); }
.promo .big { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.promo h3 { margin: 0 0 4px; font-size: 1.45rem; }
.promo p { margin: 0; color: var(--ink-dim); }

.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); }
.incl h3 { font-size: 1.5rem; display: flex; align-items: baseline; gap: 14px; margin-bottom: 1.2rem; }
.incl h3 span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.incl li { padding: 14px 0; color: var(--ink-dim); display: flex; gap: 14px; }
.incl .yes li::before { content: ''; }
.incl .yes li::after { content: '+'; order: -1; color: var(--gold); font-weight: 500; }
.incl .no li::after { content: '\2013'; order: -1; color: var(--ink-dim); opacity: 0.7; }

.faq { max-width: 52rem; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform 0.4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-dim); padding: 0 3rem 26px 0; margin: 0; max-width: 42rem; }

.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.info dl { margin: 2rem 0 0; display: grid; gap: 22px; }
.info dt { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.info dd { margin: 0; color: var(--ink-dim); }
.info dd a { color: var(--ink); border-bottom: 1px solid var(--line); }
.mailbox { display: grid; gap: 22px; align-content: start; padding-top: 6px; }
.mailbox .mb-lead { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 0; }
.mailbox .mb-addr { font-family: var(--serif); font-size: clamp(1.7rem, 4.2vw, 3.2rem); line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; border-bottom: 1px solid var(--line); padding-bottom: 14px; width: fit-content; max-width: 100%; transition: border-color 0.3s; }
.mailbox .mb-addr:hover { border-color: var(--gold); }
.mailbox .mb-hint { margin: 0; color: var(--ink-dim); max-width: 34rem; }
.mailbox .mb-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mailbox .mb-status { margin: 0; min-height: 1.6em; font-size: 0.98rem; }
.mailbox .mb-status[data-state='ok'] { color: var(--gold); }
.mailbox .mb-status[data-state='error'] { color: #e59a8a; }
[data-copy][hidden] { display: none; }
.contact-form { display: grid; gap: 26px; }
.fieldrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.contact-form label { display: grid; gap: 8px; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.contact-form label .opt { text-transform: none; letter-spacing: 0.02em; opacity: 0.7; }
.contact-form input[type='text'], .contact-form input[type='email'], .contact-form input[type='tel'], .contact-form textarea {
  width: 100%; font: 300 1.05rem var(--sans); color: var(--ink); background: transparent; letter-spacing: 0;
  border: 0; border-bottom: 1px solid rgba(246, 243, 238, 0.28); border-radius: 0; padding: 10px 0 12px; text-transform: none; transition: border-color 0.3s;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--gold); }
.contact-form .consent { display: flex; align-items: flex-start; gap: 14px; text-transform: none; letter-spacing: 0; font-size: 0.92rem; line-height: 1.55; }
.contact-form .consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--gold); background: transparent; cursor: pointer; display: grid; place-items: center; }
.contact-form .consent input:checked::after { content: ''; width: 10px; height: 10px; background: var(--gold); }
.contact-form .consent a { color: var(--ink); border-bottom: 1px solid var(--line); }
.form-status { margin: 0; min-height: 1.6em; font-size: 0.98rem; }
.form-status[data-state='ok'] { color: var(--gold); }
.form-status[data-state='error'] { color: #e59a8a; }

.legal { max-width: 46rem; }
.legal h2 { font-size: 1.7rem; margin-top: 2.4em; }
.legal p, .legal li { color: var(--ink-dim); }
.legal ul { margin: 0 0 1em; display: grid; gap: 6px; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--gold); }
.legal .todo { color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { position: relative; padding-block: clamp(56px, 7vw, 96px) 28px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { height: 72px; width: auto; margin: -8px 0 14px -6px; }
.foot p { color: var(--ink-dim); max-width: 26rem; font-size: 0.98rem; }
.foot h4 { margin: 0 0 16px; font-family: var(--sans); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.foot ul { display: grid; gap: 10px; }
.foot li a { color: var(--ink-dim); transition: color 0.3s; }
.foot li a:hover { color: var(--ink); }
.legalbar { margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 0.82rem; color: var(--ink-dim); position: relative; }
.legalbar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-soft); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .proof, .contact { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; }
  .track::before { display: none; }
  .track li::before { top: -22px; }
  .track li::after { content: ''; position: absolute; top: -18px; left: 12px; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 164, 106, 0.1)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .hero .mark { opacity: 0.6; }
}
@media (max-width: 820px) {
  .rows li { grid-template-columns: 48px minmax(0, 1fr); }
  .rows p { grid-column: 2; }
  .lines li { grid-template-columns: minmax(0, 1fr); }
  .pricing, .incl { grid-template-columns: minmax(0, 1fr); }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: rgba(18, 18, 18, 0.98); border-bottom: 1px solid var(--line); }
  .js .nav.open { display: flex; }
  .js .nav a:not(.btn) { padding: 16px 0; border-top: 1px solid var(--line-soft); }
  .js .nav .btn { margin-top: 18px; }
  .nav { flex-wrap: wrap; gap: 4px 20px; }
  .site-header .bar { min-height: 76px; }
  .brand img { height: 60px; margin-block: 4px; }
  [data-focus] { --fo: 12px; --fs: 30px; }
}
@media (max-width: 560px) {
  .track, .fieldrow, .foot { grid-template-columns: minmax(0, 1fr); }
  .track li::after { display: none; }
  .track { gap: 40px; }
  .actions .btn { width: 100%; }
  .priceline .sep { display: none; }
  .priceline span.item { display: block; margin-top: 6px; }
}
/* Highframe cinema layer: the page as a film. Everything here has a readable static default;
 * html.cine (JS + motion allowed) switches the scenes to their pinned, scrubbed form,
 * html.pinmode (wide screens) additionally pins the statement scenes. */

:root { --bar: 96px; --inset: 5vw; }
@media (min-width: 1360px) { :root { --inset: 120px; } }
@media (max-width: 820px) { :root { --bar: 76px; } }

body { --gold-rgb: 201, 164, 106; }
.btn-lg { padding: 1.3em 2.8em; font-size: 0.86rem; }

/* ---------- film grain, always on top, never in the way ---------- */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; opacity: 0.09; mix-blend-mode: screen; }
.grain::before {
  content: ''; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
@media (prefers-reduced-motion: no-preference) {
  .grain::before { animation: grain 0.8s steps(1) infinite; }
  @keyframes grain {
    0% { transform: translate(0, 0); } 12% { transform: translate(-6%, 4%); } 25% { transform: translate(5%, -7%); } 37% { transform: translate(-3%, 8%); }
    50% { transform: translate(7%, 3%); } 62% { transform: translate(-8%, -4%); } 75% { transform: translate(4%, 6%); } 87% { transform: translate(-5%, -8%); }
  }
}

/* ---------- header over the film ---------- */
html.cine .site-header { transition: background 0.5s var(--ease), backdrop-filter 0.5s; }
html.cine .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.cine .site-header:not(.scrolled)::after { opacity: 0; }
.site-header::after { transition: opacity 0.5s; }
.has-announce .announce { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.has-announce .site-header { top: 38px; }

/* ---------- cursor: a small viewfinder that focuses on what you point at ---------- */
.cur { display: none; }
html.has-cursor .cur { display: block; position: fixed; left: 0; top: 0; width: 34px; height: 34px; z-index: 200; pointer-events: none; opacity: 0; transition: opacity 0.3s; will-change: transform, width, height; }
html.has-cursor .cur.on { opacity: 1; }
html.has-cursor .cur i { position: absolute; width: 10px; height: 10px; border: 0 solid var(--gold); }
.cur i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cur i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cur i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.cur i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cur .dot { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--gold); border-radius: 50%; transition: opacity 0.25s; }
.cur.lock .dot { opacity: 0; }
.cur .lbl { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%); font: 500 0.62rem var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); white-space: nowrap; opacity: 0; transition: opacity 0.25s; }
.cur.lbl-on .lbl { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor .ba-range { cursor: none; }
html.has-cursor input[type='text'], html.has-cursor input[type='email'], html.has-cursor input[type='tel'], html.has-cursor textarea { cursor: text; }
.btn { will-change: transform; }
.btn .arr { display: inline-block; }

/* ---------- chapter title card ---------- */
.tcard { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.tc-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(10, 10, 10, 0.78), rgba(5, 5, 5, 0.93)); opacity: 0; }
.tc-bar { position: absolute; left: 0; right: 0; height: 15vh; background: #050505; transform: scaleY(0); }
.tc-top { top: 0; transform-origin: top; }
.tc-bot { bottom: 0; transform-origin: bottom; }
.tc-text { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.15em; text-align: center; }
.tc-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1; }
.tc-title { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); line-height: 1.02; letter-spacing: -0.015em; padding-inline: var(--gutter); }

/* ---------- opening scene: the camera's viewfinder ---------- */
.opening {
  position: relative; height: 100svh; min-height: 560px; display: grid; grid-template-rows: var(--bar) minmax(0, 1fr) var(--bar);
  background: var(--bg); overflow: clip; isolation: isolate;
}
.op-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 50% 48%, #1c1a17 0%, #121212 60%, #0a0a0a 100%); }
.op-glow { position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; margin: -40vmin 0 0 -40vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.22), transparent); opacity: 0.55; }
.lb { position: absolute; left: 0; right: 0; height: var(--bar); background: #050505; z-index: 3; }
.lb-top { top: 0; transform-origin: top; }
.lb-bot { bottom: 0; transform-origin: bottom; }
.vf-frame { position: absolute; z-index: 2; left: var(--inset); right: var(--inset); top: calc(var(--bar) + 3.5%); bottom: calc(var(--bar) + 3.5%); pointer-events: none; }
.vf-frame i { position: absolute; width: clamp(34px, 4.4vw, 62px); height: clamp(34px, 4.4vw, 62px); border: 0 solid var(--gold); opacity: 0.85; }
.vf-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf-frame i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.vf-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }

.hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; font: 500 0.7rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.hud > div { position: absolute; display: flex; align-items: center; gap: 22px; }
.hud-tl { left: calc(var(--inset) + 22px); top: calc(var(--bar) + 3.5% + 20px); }
.hud-tr { right: calc(var(--inset) + 22px); top: calc(var(--bar) + 3.5% + 20px); }
.hud-bl { left: calc(var(--inset) + 22px); bottom: calc(var(--bar) + 3.5% + 20px); }
.hud-br { right: calc(var(--inset) + 22px); bottom: calc(var(--bar) + 3.5% + 20px); }
.rec { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.9); }
.batt { width: 26px; height: 11px; border: 1px solid var(--ink-dim); position: relative; padding: 1px; }
.batt::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 3px; background: var(--ink-dim); }
.batt i { display: block; height: 100%; width: 70%; background: var(--ink-dim); }
.af-state { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .rec i { animation: rec 1.6s steps(1) infinite; } @keyframes rec { 50% { opacity: 0.12; } } }

.af-box { position: absolute; z-index: 4; left: 50%; top: 50%; width: clamp(96px, 11vw, 150px); height: clamp(96px, 11vw, 150px); margin: calc(clamp(96px, 11vw, 150px) / -2) 0 0 calc(clamp(96px, 11vw, 150px) / -2); pointer-events: none; opacity: 0; }
.af-box i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); }
.af-box i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.af-box i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.af-box i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.af-box i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }

.op-copy { grid-row: 2; position: relative; z-index: 5; align-self: center; justify-self: center; text-align: center; max-width: 62rem; padding-inline: var(--gutter); transform-origin: 50% 50%; will-change: transform, filter, opacity; }
.op-copy .eyebrow { justify-content: center; margin-bottom: 1.4rem; }
.op-copy .eyebrow::before { display: none; }
.focus-title { font-size: clamp(2.5rem, 6.3vw, 5.9rem); line-height: 1.03; margin: 0 auto 0.42em; max-width: 14em; }
.op-copy .lead { margin: 0 auto 2.2rem; max-width: 33em; }
.op-copy .actions { justify-content: center; }
.opening .facts { grid-row: 2; position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(var(--bar) + 3.5% + 18px); margin: 0; padding: 0; justify-content: center; }
.cue { position: absolute; z-index: 5; left: 50%; bottom: 0; height: var(--bar); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font: 500 0.66rem var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); }
.cue i { width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); }
@media (prefers-reduced-motion: no-preference) { .cue i { animation: cue 2.2s var(--ease) infinite; transform-origin: top; } @keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } } }

/* the page's own intro, pure CSS so it runs before any script arrives */
@media (prefers-reduced-motion: no-preference) {
  .opening::after { content: ''; position: absolute; inset: 0; background: #050505; z-index: 6; pointer-events: none; animation: fade-from-black 1.4s 0.1s ease-out both; }
  @keyframes fade-from-black { to { opacity: 0; visibility: hidden; } }
  .lb { animation: bars 2s 0.2s var(--ease) backwards; }
  @keyframes bars { from { height: 50%; } to { height: var(--bar); } }
  .vf-frame, .hud { animation: appear 1.2s 1.5s ease backwards; }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
  .focus-title { animation: focus-pull 3.4s 0.9s var(--ease) backwards; }
  @keyframes focus-pull {
    0% { opacity: 0; filter: blur(28px); transform: scale(1.07); letter-spacing: 0.04em; }
    30% { opacity: 0.7; filter: blur(8px); }
    52% { opacity: 0.8; filter: blur(14px); }
    76% { opacity: 1; filter: blur(2.5px); }
    100% { opacity: 1; filter: blur(0); transform: none; letter-spacing: -0.012em; }
  }
  .op-copy .eyebrow, .op-copy .lead, .op-copy .actions, .cue { animation: appear 1.4s 3.3s ease backwards; }
  .af-box { animation: af 3.6s 1.4s ease backwards; }
  @keyframes af {
    0% { opacity: 0; transform: translate(-16vw, -8vh) scale(1.7); }
    14% { opacity: 1; }
    34% { transform: translate(15vw, 5vh) scale(1.25); }
    56% { transform: translate(-7vw, 2vh) scale(0.95); }
    78% { opacity: 1; transform: translate(0, 0) scale(1); }
    86% { opacity: 1; transform: scale(0.88); }
    100% { opacity: 0; transform: scale(0.82); }
  }
  .af-box i { animation: af-lock 3.6s 1.4s steps(1) backwards; }
  @keyframes af-lock { 0% { border-color: var(--ink); } 76% { border-color: var(--gold); } }
}

/* ---------- scene base ---------- */
.scene { position: relative; padding-block: var(--chap); }
.s-head { max-width: 50rem; margin-bottom: clamp(44px, 6vw, 84px); }
.s-head h2 { margin-bottom: 0.45em; }

/* scene I: statements, lit by a travelling frame */
.s-out .shots { display: grid; gap: clamp(8px, 2vw, 24px); }
.shot { padding: clamp(16px, 2.4vw, 30px) 0; position: relative; }
.shot .t { position: relative; display: inline-block; margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: 1.06; letter-spacing: -0.012em; font-variation-settings: 'opsz' 28; }
.shot .c { margin: 0.5em 0 0; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); }
.t-lit, .spot { display: none; }
html.cine .t-dim { color: rgba(246, 243, 238, 0.22); filter: blur(2.4px); display: block; }
html.cine .t-dim em { color: rgba(var(--gold-rgb), 0.3); }
html.cine .t-lit { display: block; position: absolute; left: 0; top: 0; white-space: nowrap; clip-path: inset(-0.2em calc(100% - var(--fr, 0%)) -0.2em var(--fl, 0%)); }
html.cine .spot { display: block; position: absolute; top: -0.12em; bottom: -0.12em; left: var(--fl, 0%); right: calc(100% - var(--fr, 0%)); pointer-events: none; }
.spot::before, .spot::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); }
.spot::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.spot::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
html.pinmode .s-out { height: 100svh; padding: 0; overflow: clip; }
html.pinmode .s-out .wrap { position: relative; height: 100%; }
html.pinmode .s-out .s-head { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; max-width: 50rem; }
html.pinmode .s-out .shots { position: absolute; inset: 0; display: block; }
html.pinmode .s-out .shot { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0; }
html.pinmode .s-out .shot .t { font-size: clamp(3rem, 9vw, 9rem); }

/* scene II: the page builds itself */
.build-grid { width: 100%; max-width: 1320px; margin-inline: auto; padding: calc(96px + 24px) var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.b-left h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); }
.b-left .lead { font-size: 1rem; margin-bottom: 1.4rem; }
.b-steps { display: grid; gap: 0; margin: 0 0 1.4rem; }
.b-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 10px; align-items: baseline; padding: 9px 0; position: relative; transition: opacity 0.5s var(--ease); }
.b-steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--line-soft), transparent); }
.b-steps .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.b-steps .l { font-family: var(--serif); font-size: 1.22rem; line-height: 1.2; }
.b-steps .h { grid-column: 2; font-size: 0.86rem; color: var(--ink-dim); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease); }
html.cine .b-steps li { opacity: 0.34; }
html.cine .b-steps li.on { opacity: 1; }
html.cine .b-steps li.on .h { max-height: 3em; opacity: 1; }
html:not(.cine) .b-steps .h { max-height: none; opacity: 1; }
.b-clock { display: flex; align-items: baseline; gap: 12px; margin: 0; padding-top: 6px; }
.b-clock .clk { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 3.6ch; }
.b-clock .clk-l, .b-clock .clk-u { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); }
.b-stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 14px; min-width: 0; }
.ex-badge { margin: 0; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.ex-badge::before, .ex-badge::after { content: ''; width: 24px; height: 1px; background: var(--line); }

.device { position: relative; width: 100%; max-width: 760px; border: 1px solid rgba(var(--gold-rgb), 0.32); border-radius: 12px; background: #0c0b0a; overflow: hidden; box-shadow: 0 50px 130px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(var(--gold-rgb), 0.04); }
.dev-chrome { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1b1917; border-bottom: 1px solid rgba(var(--gold-rgb), 0.18); overflow: hidden; }
.dev-chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(246, 243, 238, 0.2); flex: none; }
.dev-url { margin-left: 12px; flex: 1; max-width: 300px; text-align: center; font-size: 0.64rem; letter-spacing: 0.1em; color: var(--ink-dim); background: rgba(246, 243, 238, 0.06); border-radius: 20px; padding: 3px 10px; white-space: nowrap; overflow: hidden; }
.dev-screen { position: relative; height: clamp(300px, 54svh, 500px); overflow: hidden; background: #161412; }
.dev-notch { position: absolute; left: 50%; top: 8px; width: 64px; height: 6px; border-radius: 6px; background: #000; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.d-empty, .d-stamp { display: none; }
html.cine .d-empty { display: grid; position: absolute; inset: 0; place-items: center; z-index: 3; pointer-events: none; color: rgba(var(--gold-rgb), 0.9); }
html.cine .d-empty span { font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase; }
.d-empty i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--gold); }
.d-empty i:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.d-empty i:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.d-empty i:nth-child(3) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.d-empty i:nth-child(4) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
html.cine .d-stamp { display: block; position: absolute; z-index: 4; right: 6%; bottom: 8%; padding: 0.35em 0.9em 0.4em; border: 1.5px solid var(--gold); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.6rem); background: rgba(18, 18, 18, 0.88); transform: rotate(-7deg); opacity: 0; pointer-events: none; }

/* the made-up bakery site. Sized in container units so the same markup is a desktop page or a phone page. */
.demo {
  --wire: 0; --paint: 1; --copy: 1; --pic: 1;
  --d-ink: #3b2a1d; --d-cream: #f5ead8; --d-card: #fbf4e6; --d-accent: #b5532a; --d-green: #2f4a3a; --d-base: #161412;
  position: absolute; inset: 0; overflow: hidden; container-type: inline-size; container-name: dev;
  background: color-mix(in srgb, var(--d-cream) calc(var(--paint) * 100%), var(--d-base));
}
.demo .site { position: absolute; left: 0; top: 0; width: 100%; font-family: var(--sans); font-size: max(2cqw, 12px); line-height: 1.45; font-weight: 400; color: var(--d-ink); }
.demo .tx { --tc: var(--d-ink); color: color-mix(in srgb, var(--tc) calc(var(--copy) * 100%), transparent); background: rgba(var(--gold-rgb), calc(0.34 * (1 - var(--copy)))); border-radius: 0.2em; }
.demo .d-blk { position: relative; outline: 1px dashed rgba(var(--gold-rgb), var(--wire)); outline-offset: -1px; }
.demo .d-blk::before { content: attr(data-t); position: absolute; z-index: 2; top: 0.35em; left: 0.5em; font-size: 0.56em; letter-spacing: 0.18em; color: var(--gold); opacity: var(--wire); pointer-events: none; }
.demo .d-nav { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.05em 1.6em; }
.demo .d-logo { display: inline-flex; align-items: center; gap: 0.5em; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3em; font-weight: 700; }
.demo .d-mk { width: 1.5em; height: 1.5em; color: color-mix(in srgb, var(--d-accent) calc(var(--paint) * 100%), rgba(var(--gold-rgb), 0.5)); }
.demo .d-links { display: flex; gap: 1.7em; font-size: 0.92em; }
.demo .d-links .on { --tc: var(--d-accent); }
.demo .d-burger { display: none; width: 1.7em; flex-direction: column; gap: 0.28em; }
.demo .d-burger i { height: 2px; background: color-mix(in srgb, var(--d-ink) calc(var(--paint) * 100%), rgba(var(--gold-rgb), 0.5)); }
.demo .d-btn { display: inline-block; padding: 0.62em 1.35em; border-radius: 2em; font-size: 0.9em; font-weight: 500; letter-spacing: 0.02em; color: color-mix(in srgb, #fff8ec calc(var(--copy) * 100%), transparent); background: color-mix(in srgb, var(--d-accent) calc(var(--paint) * 100%), rgba(var(--gold-rgb), 0.3)); }
.demo .d-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.8em; align-items: center; padding: 1.4em 1.6em 2.6em; }
.demo .d-copy { padding: 0.6em 0; }
.demo .d-kicker { display: inline-block; margin: 0 0 0.9em; font-size: 0.78em; letter-spacing: 0.18em; text-transform: uppercase; --tc: var(--d-green); }
.demo .d-h { margin: 0 0 0.45em; font-family: Georgia, 'Times New Roman', serif; font-size: 3.2em; line-height: 1.04; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: normal; }
.demo .d-h em { color: inherit; font-style: italic; }
.demo .d-h .tx em { color: color-mix(in srgb, var(--d-accent) calc(var(--copy) * 100%), transparent); }
.demo .d-p { display: block; margin: 0 0 1.5em; max-width: 26em; }
.demo .d-media { aspect-ratio: 5 / 4; border-radius: 1.3em; overflow: hidden; background: color-mix(in srgb, #e6c79a calc(var(--paint) * 100%), transparent); }
.demo .d-media svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--pic); filter: blur(calc((1 - var(--pic)) * 14px)) brightness(calc(0.45 + var(--pic) * 0.55)); }
.demo .d-media::after { content: ''; position: absolute; inset: 0; opacity: calc(var(--wire) * (1 - var(--pic))); background:
  linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(var(--gold-rgb), 0.8) 50%, transparent calc(50% + 0.5px)),
  linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(var(--gold-rgb), 0.8) 50%, transparent calc(50% + 0.5px)); }
.demo .d-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; padding: 0 1.6em 2.4em; }
.demo .d-card { border-radius: 1.1em; padding: 1.3em 1.2em 1.4em; background: color-mix(in srgb, var(--d-card) calc(var(--paint) * 100%), transparent); box-shadow: 0 0.6em 1.6em rgba(80, 50, 20, calc(0.1 * var(--paint))); }
.demo .d-ic { width: 2.6em; height: 2.6em; color: color-mix(in srgb, var(--d-accent) calc(var(--pic) * 100%), rgba(var(--gold-rgb), 0.6)); opacity: calc(0.35 + var(--pic) * 0.65); }
.demo .d-card h4 { display: inline-block; margin: 0.7em 0 0.25em; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2em; line-height: 1.2; }
.demo .d-card p { display: block; margin: 0; font-size: 0.88em; line-height: 1.5; }
.demo .d-contact { padding: 2.4em 1.6em 2.6em; background: color-mix(in srgb, var(--d-green) calc(var(--paint) * 100%), transparent); display: grid; justify-items: start; gap: 0.5em; }
.demo .d-contact h4 { display: inline-block; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.6em; --tc: #f5ead8; }
.demo .d-contact p { margin: 0 0 0.8em; max-width: 30em; --tc: #e8dcc6; }
.demo .d-foot { padding: 1em 1.6em; font-size: 0.8em; background: color-mix(in srgb, #1f2f26 calc(var(--paint) * 100%), transparent); }
.demo .d-foot .tx { --tc: #bfb49f; }
@container dev (max-width: 560px) {
  .demo .d-links, .demo .d-cta { display: none; }
  .demo .d-burger { display: flex; }
  .demo .d-nav { padding: 0.9em 1.1em; }
  .demo .d-hero { grid-template-columns: minmax(0, 1fr); gap: 1.2em; padding: 0.8em 1.1em 1.8em; }
  .demo .d-h { font-size: 2.35em; }
  .demo .d-media { order: -1; aspect-ratio: 16 / 11; }
  .demo .d-cards { grid-template-columns: minmax(0, 1fr); padding: 0 1.1em 1.8em; }
  .demo .d-contact { padding: 1.8em 1.1em; }
}
/* the build scene starts from nothing; JS sets the variables and the block visibility */

/* phone variant of the device (scene II, last step) */
.device.phone { border-radius: 34px; border-width: 8px; border-color: #26231f; }
.device.phone .dev-notch { opacity: 1; }

/* the closing of scene II: what is in the package */
.afterbuild { padding-block: 0 var(--chap); position: relative; }

/* scene III: before / after */
.ba { margin-bottom: clamp(64px, 8vw, 120px); }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 16 / 9.4; max-height: 74svh; width: 100%; border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6); touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; container-type: inline-size; container-name: bal; overflow: hidden; }
.ba-layer .demo { container-type: inline-size; }
.ba-layer .demo .site { font-size: max(1.3cqw, 12px); }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #d8d2b8; z-index: 2; }
.ba-tag { position: absolute; z-index: 5; top: 14px; padding: 6px 12px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; background: rgba(12, 12, 12, 0.82); color: var(--ink); border: 1px solid rgba(var(--gold-rgb), 0.4); pointer-events: none; }
.ba-tag-l { left: 14px; }
.ba-tag-r { right: 14px; color: var(--gold); }
.ba-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--gold); box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.6); }
.ba-handle i { position: absolute; top: 50%; left: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border: 1px solid var(--gold); background: rgba(14, 14, 14, 0.9); display: grid; place-items: center; transform: rotate(45deg); }
.ba-handle i::before, .ba-handle i::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; border: 1.5px solid var(--gold); border-left: 0; border-bottom: 0; }
.ba-handle i::before { right: 10px; transform: translateY(-50%) rotate(0deg) translate(0, 0); margin-top: -4px; transform: rotate(0deg); }
.ba-handle i::after { left: 10px; margin-top: 4px; transform: rotate(180deg); }
.ba-range { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; appearance: none; -webkit-appearance: none; background: transparent; touch-action: pan-y; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 54px; height: 100%; }
.ba-range::-moz-range-thumb { width: 54px; height: 1000px; border: 0; background: transparent; }
.ba-frame:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }
.ba-note { margin: 16px 0 0; font-size: 0.82rem; color: var(--ink-dim); letter-spacing: 0.04em; }

/* the old site: deliberately bad */
.old { position: absolute; inset: 0; font-family: 'Times New Roman', Times, serif; font-size: max(1.7cqw, 11px); line-height: 1.25; color: #000; background-color: #e9e2c0; background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 6px, transparent 6px 12px); }
.old .o-top { background: linear-gradient(#0000cc, #000088); color: #ff0; text-align: center; padding: 0.5em; font-weight: 700; font-size: 1.5em; letter-spacing: 0; text-shadow: 2px 2px #f00; }
.old .o-top b { color: #0f0; }
.old .o-body { display: grid; grid-template-columns: 22% minmax(0, 1fr); gap: 0.6em; padding: 0.6em; }
.old .o-links { background: #c0c0c0; border: 2px outset #fff; padding: 0.6em 0.8em; }
.old .o-links li { color: #00e; text-decoration: underline; margin: 0.35em 0; font-size: 1.05em; }
.old .o-links li:nth-child(3) { color: #551a8b; }
.old .o-main { background: #fffff0; border: 2px inset #aaa; padding: 0.6em 0.8em; }
.old p { margin: 0 0 0.6em; }
.old .o-marq { background: #000; color: #0f0; font-family: 'Courier New', monospace; padding: 0.2em 0.4em; white-space: nowrap; overflow: hidden; }
.old .o-row { display: grid; grid-template-columns: 26% minmax(0, 1fr); gap: 0.8em; align-items: start; }
.old .o-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; border: 3px ridge #999; image-rendering: pixelated; }
.old .o-warn { background: repeating-linear-gradient(45deg, #fc0 0 0.6em, #000 0.6em 1.2em); color: #000; text-align: center; font-weight: 700; padding: 0.35em; font-family: Arial, sans-serif; letter-spacing: 0.1em; }
.old .o-warn { text-shadow: 0 0 0.3em #fc0, 0 0 0.3em #fc0; }
.old .o-count { color: #f00; font-weight: 700; text-align: center; font-family: 'Courier New', monospace; }
.old .o-small { font-size: 0.78em; color: #666; margin: 0; }

.proof { margin-top: 0; }
.proof, .proof .figures { position: relative; }

/* scene IV: what comes next */
.n-items { display: grid; }
.n-item { display: grid; grid-template-columns: minmax(80px, 0.22fr) minmax(0, 1fr); gap: 8px clamp(16px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.2vw, 44px) 0; position: relative; }
.n-item::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--line), rgba(var(--gold-rgb), 0.04)); }
.n-ltr { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 8rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.6); }
.n-item h3 { margin: 0 0 0.3em; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.n-item p { margin: 0; color: var(--ink-dim); max-width: 34em; }
.n-dots { display: none; }
html.pinmode .s-next { height: 100svh; padding: 0; overflow: clip; }
html.pinmode .s-next .wrap { position: relative; height: 100%; }
html.pinmode .s-next .s-head { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; max-width: 52rem; }
html.pinmode .s-next .n-items { position: absolute; inset: 0; display: block; }
html.pinmode .s-next .n-item { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; padding: 0; grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr); align-content: center; }
html.pinmode .s-next .n-item::before { display: none; }
html.pinmode .s-next .n-ltr { font-size: clamp(9rem, 26vw, 22rem); }
html.pinmode .s-next .n-item h3 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
html.pinmode .s-next .n-item p { font-size: 1.15rem; }
html.pinmode .n-dots { display: flex; gap: 14px; position: absolute; left: var(--gutter); bottom: 9vh; }
.n-dots i { width: 28px; height: 1px; background: var(--line-soft); position: relative; }
.n-dots i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--k, 0)); transform-origin: left; }

/* scene V: the shutter */
.finale { min-height: 100svh; display: grid; align-content: center; padding-block: calc(96px + 40px) clamp(64px, 8vw, 110px); overflow: clip; }
.cl-frame { position: absolute; inset: calc(96px + 3%) 4vw 4vh; pointer-events: none; }
.cl-frame i { position: absolute; width: clamp(34px, 5vw, 70px); height: clamp(34px, 5vw, 70px); border: 0 solid var(--gold); opacity: 0.8; }
.cl-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cl-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cl-frame i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.cl-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cl-flash { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(246, 243, 238, 0.5), rgba(var(--gold-rgb), 0.18) 60%, transparent); opacity: 0; pointer-events: none; }
.finale { text-align: center; }
.finale .actions { justify-content: center; margin-top: 2.4rem; }
.finale .priceline { margin-top: 2.6rem; }
.finale h2 { font-size: clamp(3rem, 9vw, 8.4rem); line-height: 1; }
.finale .chap-head { margin-bottom: 0; }
.finale .wrap { position: relative; }

/* ---------- build scene sizing (cine) ---------- */
html.cine .s-build { height: 100svh; min-height: 640px; padding: 0; overflow: clip; display: grid; align-items: center; }
html.cine .build-grid { padding-top: calc(96px + 8px); padding-bottom: 28px; }
html:not(.cine) .s-build { padding-block: var(--chap) 0; }
html:not(.cine) .build-grid { padding-top: 0; }
@media (max-height: 800px) { .b-left .lead { display: none; } .b-steps li { padding: 6px 0; } }

/* ---------- hover: elements sharpen when pointed at ---------- */
@media (hover: hover) and (pointer: fine) {
  .afterbuild .rows:hover li:not(:hover), .figures:hover li:not(:hover), .track:hover li:not(:hover), .lines:hover li:not(:hover), .n-items:hover .n-item:not(:hover) { opacity: 0.4; filter: blur(1.2px); }
  .afterbuild .rows li, .figures li, .track li, .lines li, .n-item { transition: opacity 0.45s var(--ease), filter 0.45s var(--ease); }
  html.pinmode .n-items:hover .n-item:not(:hover) { opacity: inherit; filter: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .build-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 820px) {
  .hud-tr, .hud-bl span:not(.fstop) { display: none; }
  .hud-tl, .hud-bl, .hud-br { left: calc(var(--inset) + 14px); }
  .hud-br { left: auto; right: calc(var(--inset) + 14px); }
  .vf-frame { left: 4vw; right: 4vw; }
  .opening .facts { gap: 10px 26px; }
  .ba-frame { aspect-ratio: 4 / 3.6; max-height: none; }
  .ba-layer .demo .site { font-size: max(2cqw, 11px); }
  .old { font-size: max(2.6cqw, 10px); }
  .old .o-body { grid-template-columns: 30% minmax(0, 1fr); }
  html.cine .s-build { min-height: 600px; }
  html.cine .build-grid { padding-top: calc(76px + 2px); gap: 10px; align-content: start; }
  html.cine .b-left .lead, html.cine .b-left .b-clock .clk-l { display: none; }
  html.cine .b-left h2 { font-size: 1.7rem; margin-bottom: 0.3em; }
  html.cine .b-left .eyebrow { margin-bottom: 0.8rem; }
  html.cine .b-steps { display: block; margin: 0 0 0.6rem; position: relative; height: 3.4em; }
  html.cine .b-steps li { position: absolute; left: 0; right: 0; top: 0; padding: 6px 0 0; opacity: 0; pointer-events: none; }
  html.cine .b-steps li.on { opacity: 1; }
  html.cine .b-steps li::before { display: none; }
  html.cine .b-steps .h { max-height: 3em; opacity: 1; }
  .dev-screen { height: clamp(280px, 50svh, 420px); }
  .device { max-width: 330px; }
  .n-item { grid-template-columns: 56px minmax(0, 1fr); }
  .n-ltr { font-size: 3.4rem; }
  .finale h2 { font-size: clamp(2.8rem, 15vw, 5rem); }
}

/* ---------- static / reduced-motion: everything readable, nothing pinned ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain::before { animation: none; }
  .opening { height: auto; min-height: 100svh; padding-bottom: 28px; }
  .opening .facts { position: relative; grid-row: 3; bottom: auto; }
  .cue { display: none; }
  .af-box, .lb { display: none; }
  .opening { grid-template-rows: var(--bar) minmax(0, 1fr) auto; }
}
