/* ==========================================================
   The Unbecoming · Ilyan Veyr
   ========================================================== */
:root {
  --bg: #0d0b09;
  --surface: #15120e;
  --surface-2: #1e1913;
  --text: #ece3d3;
  --muted: #9a8f7e;
  --accent: #c9a25e;
  --accent-rgb: 201, 162, 94;
  --accent-2: #7d3a2c;
  --line: #2e2820;
  --font: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-head: "Cinzel", "Trajan Pro", Georgia, serif;
  --tshadow: 0 1px 2px rgba(5,5,10,.9), 0 3px 12px rgba(5,5,10,.7), 0 10px 44px rgba(5,5,10,.7);
  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(18px, 1.05vw + 13px, 21px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: rgba(var(--accent-rgb), .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.file-no {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px; display: flex; align-items: center; gap: .6em; flex-wrap: wrap;
}
.file-no::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.file-no span { opacity: .6; }
.h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: .02em; margin-bottom: .55em; }
.lede { color: var(--muted); font-size: 1.12em; max-width: 46ch; }
.micro { font-size: .86rem; color: var(--muted); letter-spacing: .02em; margin-top: 14px; }
.link-gold { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb), .4); font-style: italic; }
.link-gold:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 14px 26px; min-height: 48px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
  text-shadow: none; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #d9b673, var(--accent) 55%, #a9813f);
  color: #140f08; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .35), 0 10px 40px rgba(var(--accent-rgb), .18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .6), 0 14px 50px rgba(var(--accent-rgb), .32); }
.btn--ghost { color: var(--text); border-color: rgba(236,227,211,.25); background: rgba(13,11,9,.35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 17px 34px; font-size: .86rem; }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: .72rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(13,11,9,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { width: min(100% - 32px, var(--wrap)); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .34em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .3s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13,11,9,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--text); }
  .nav__links .btn { margin-top: 16px; min-height: 48px; }
  .nav.menu-open { background: rgba(13,11,9,.97); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 70px; text-align: center; isolation: isolate; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 58%, rgba(var(--accent-rgb), .13), transparent 70%),
    radial-gradient(90% 60% at 50% 0%, rgba(125,58,44,.12), transparent 70%);
  animation: breathe 9s ease-in-out infinite; animation-delay: -3s;
}
@keyframes breathe { 0%,100% { opacity: .75; } 50% { opacity: 1; } }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero .file-no::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.hero__title { font-family: var(--font-head); font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: .01em; max-width: 18ch; text-shadow: var(--tshadow); }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { margin: 24px auto 40px; max-width: 54ch; color: #cfc5b4; font-size: 1.1em; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* VSL */
.vsl { width: min(100%, 940px); }
.vsl__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .28), 0 40px 120px rgba(0,0,0,.7), 0 0 90px rgba(var(--accent-rgb), .08);
}
.vsl__frame::before, .vsl__frame::after { /* gold corner ticks */
  content: ""; position: absolute; z-index: 3; width: 26px; height: 26px; pointer-events: none; border: 1px solid rgba(var(--accent-rgb), .7);
}
.vsl__frame::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.vsl__frame::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.vsl__poster, .vsl video, .vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vsl__poster { object-position: 72% 50%; transition: transform 8s var(--ease); }
.vsl__frame:hover .vsl__poster { transform: scale(1.03); }
.vsl__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,9,.15), rgba(13,11,9,.55) 100%), radial-gradient(70% 70% at 50% 50%, transparent, rgba(0,0,0,.45)); }
.vsl__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%; cursor: pointer;
  background: rgba(13,11,9,.45); border: 1px solid rgba(var(--accent-rgb), .8);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .4s;
}
.vsl__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .35); animation: ring 3.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.vsl__play svg { width: 30px; height: 30px; fill: var(--accent); margin-left: 4px; }
.vsl__play:hover { transform: scale(1.06); background: rgba(var(--accent-rgb), .18); }
.vsl__meta {
  position: absolute; left: 22px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 12px;
  font-size: .95rem; text-align: left; text-shadow: var(--tshadow);
}
.chip { font-family: var(--font-head); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(8,8,15,.55); backdrop-filter: blur(10px); border: 1px solid rgba(var(--accent-rgb), .35); color: var(--accent); text-shadow: none; }
.vsl__pending {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
  background: rgba(10,8,6,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-align: center;
}
.vsl__pending[hidden] { display: none; }
.vsl__pending p:not(.file-no) { max-width: 40ch; }
.vsl__pending .file-no::before, .hero .vsl__pending .file-no::after { display: none; }
.vsl.is-playing .vsl__play, .vsl.is-playing .vsl__meta, .vsl.is-playing .vsl__shade, .vsl.is-playing .vsl__poster { display: none; }

/* ---------- trust line ---------- */
.trust {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 42px;
  padding: 26px 16px; border-block: 1px solid var(--line); background: var(--surface);
  font-size: .95rem; color: #d6ccbb;
}
.trust__item { display: inline-flex; align-items: center; gap: 10px; }
.trust svg, .badges svg, .guarantee svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); }

/* file / timeline */
.file__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.file__photo { margin: 0; position: sticky; top: 110px; }
.frame { position: relative; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); rotate: -1.2deg; }
.frame::after { /* tape */ content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; translate: -50% 0; rotate: 2deg; background: rgba(236,227,211,.12); border: 1px solid rgba(236,227,211,.08); }
.frame img { border-radius: 2px; filter: sepia(.15) contrast(1.05); }
.file__photo figcaption { margin-top: 18px; font-style: italic; color: var(--muted); font-size: .95rem; }
/* exhibits crossfade with the highlighted timeline entry */
.exhibits { display: grid; }
.exhibits .exhibit { grid-area: 1 / 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.exhibits .exhibit.is-shown { opacity: 1; transform: none; }
.exhibit-caption { display: grid; }
.exhibit-caption span { grid-area: 1 / 1; opacity: 0; transition: opacity .6s var(--ease); }
.exhibit-caption span.is-shown { opacity: 1; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0; border-left: 1px solid var(--line); position: relative; --progress: 0px; }
/* gold rail that fills down to the active entry */
.timeline::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: var(--progress); background: linear-gradient(var(--accent), rgba(var(--accent-rgb), .6)); box-shadow: 0 0 8px rgba(var(--accent-rgb), .5); transition: height .6s var(--ease); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 0 0 34px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); z-index: 1; transition: background .5s, box-shadow .5s, transform .5s var(--ease); }
/* scroll focus: upcoming entries sit in shadow, the active one lights up, read ones stay softly lit */
.timeline.is-tracking li > * { opacity: .28; filter: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.timeline.is-tracking li.is-past > * { opacity: .6; }
.timeline.is-tracking li.is-active > * { opacity: 1; }
.timeline.is-tracking li.is-active > div { transform: translateX(6px); }
.timeline li.is-active::before { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .15), 0 0 18px rgba(var(--accent-rgb), .7); }
.timeline li.is-past::before { background: rgba(var(--accent-rgb), .55); }
.timeline li.is-active h3 { color: var(--accent); transition: color .5s; }
.timeline__when { font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-top: 6px; }
.timeline h3 { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .06em; margin-bottom: 6px; }
.timeline p { color: #d3c9b8; margin: 0; }
.file__end { font-style: italic; font-size: 1.35em; margin: 14px 0 26px; }

/* redaction: the signature element */
.redact { position: relative; white-space: nowrap; }
.redact::after {
  content: ""; position: absolute; inset: -1px -4px; background: var(--accent-2); border-radius: 2px;
  transform-origin: right center; transition: transform .9s var(--ease) .35s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.in .redact::after, .redact:hover::after { transform: scaleX(0); }
/* in the timeline, a redaction lifts only when its entry is reached */
.timeline.is-tracking li:not(.is-active):not(.is-past) .redact::after { transform: scaleX(1); }

/* readers wall */
.readers { background: linear-gradient(180deg, var(--bg), var(--surface) 30%, var(--surface) 70%, var(--bg)); }
.wall { columns: 3 300px; column-gap: 22px; }
.wall > * { break-inside: avoid; margin: 0 0 22px; }
.wall__photo { margin: 0 0 22px; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wall__photo img { transition: transform 1.2s var(--ease); }
.wall__photo:hover img { transform: scale(1.03); }
.wall__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; font-style: italic; background: linear-gradient(transparent, rgba(8,7,5,.9)); text-shadow: var(--tshadow); }
.card {
  position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; font-size: .98rem;
}
.card p { color: #d6ccbb; margin: 10px 0 14px; }
.card footer { display: flex; flex-direction: column; font-size: .88rem; }
.card footer span { color: var(--muted); }
.stars { color: var(--accent); letter-spacing: .18em; font-size: .9rem; }
.card--thread h3 { font-family: var(--font); font-weight: 500; font-size: 1.1rem; margin-top: 10px; }
.thread__top, .social__top { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.thread__top .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--line); }
.thread__foot { flex-direction: row !important; gap: 18px; color: var(--muted); }
.social__top .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--line); }
.social__top div { display: flex; flex-direction: column; line-height: 1.3; }
.social__top strong { color: var(--text); font-weight: 500; }
.ugc__media { aspect-ratio: 9 / 12; border-radius: 10px; margin-top: 10px; background: linear-gradient(160deg, #1b1712, #0f0d0a); display: grid; place-items: center; border: 1px solid var(--line); }
.ugc__media svg { width: 34px; fill: rgba(var(--accent-rgb), .6); }
.is-placeholder { border-style: dashed; border-color: rgba(var(--accent-rgb), .3); }
.ph-chip { display: inline-block; font-family: var(--font-head); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bg); background: rgba(var(--accent-rgb), .75); padding: 4px 9px; border-radius: 999px; margin-bottom: 10px; }

/* question */
.question { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.question__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -2; animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.question__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,11,9,.96) 0%, rgba(13,11,9,.75) 45%, rgba(13,11,9,.15) 80%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.question__inner { padding: 120px 0; }
.question__inner > * { max-width: 34ch; }
.question__inner p:not(.file-no) { max-width: 46ch; color: #d6ccbb; text-shadow: var(--tshadow); }
.question__title { font-family: var(--font); font-style: italic; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.15; margin-bottom: 34px; text-shadow: var(--tshadow); }

/* inside */
.inside__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.inside__photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.inside__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 75% 60%, rgba(var(--accent-rgb), .12), transparent 70%); animation: breathe 7s ease-in-out infinite; animation-delay: -2s; }
.inside__photo img { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 70% 50%; }
.files { list-style: none; margin: 0; padding: 0; }
.files li { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.files li:last-child { border-bottom: 1px solid var(--line); }
.files__no { grid-row: span 2; font-family: var(--font-head); color: var(--accent); font-size: .9rem; letter-spacing: .1em; padding-top: 4px; }
.files h3 { font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .05em; margin-bottom: 4px; }
.files p { color: #cfc5b4; margin: 0; }

/* offer */
.offer { background: radial-gradient(50% 60% at 30% 50%, rgba(var(--accent-rgb), .08), transparent 70%), var(--surface); border-block: 1px solid var(--line); }
.offer__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.offer__book { justify-self: center; width: min(100%, 400px); position: relative; }
.offer__book::before { content: ""; position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .3), transparent); filter: blur(30px); z-index: 0; animation: breathe 8s ease-in-out infinite; }
.offer__book img { position: relative; border-radius: 3px 8px 8px 3px; box-shadow: -6px 0 0 #050403, 0 40px 90px rgba(0,0,0,.7); transform: perspective(1200px) rotateY(8deg); transition: transform 1s var(--ease); }
.offer__book:hover img { transform: perspective(1200px) rotateY(2deg); }
.offer__sub { font-style: italic; color: var(--muted); font-size: 1.2em; margin-top: -.4em; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.price__amt { font-family: var(--font-head); font-size: 2.6rem; color: var(--text); line-height: 1; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); rotate: -45deg; }

/* faq */
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 1.15em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-family: var(--font-head); color: var(--accent); font-size: 1.4rem; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: #cfc5b4; padding: 0 0 22px; margin: 0; max-width: 62ch; }
.faq a { color: var(--accent); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: #0a0807; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; align-items: flex-start; }
.footer .muted { font-size: .85rem; margin-top: 8px; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 6px; }
.footer a:not(.wordmark) { text-decoration: none; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.footer a:not(.wordmark):hover { color: var(--accent); }
.footer__copy { margin-top: 40px; font-size: .8rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--surface-2); border: 1px solid rgba(var(--accent-rgb), .45); color: var(--text); padding: 12px 20px; border-radius: 12px;
  font-size: .95rem; box-shadow: 0 20px 60px rgba(0,0,0,.6); transition: opacity .3s, translate .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ==========================================================
   PRODUCT PAGE
   ========================================================== */
.page-book main { padding-top: 110px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; padding-bottom: 40px; }
.product__media { position: sticky; top: 100px; }
.product__stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); background: radial-gradient(70% 60% at 50% 50%, #1d1812, var(--bg)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.product__halo { position: absolute; inset: 15%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .28), transparent); filter: blur(40px); animation: breathe 8s ease-in-out infinite; animation-delay: -4s; }
.product__stage img { position: relative; width: min(80%, 420px); border-radius: 3px 8px 8px 3px; box-shadow: -5px 0 0 #050403, 0 40px 90px rgba(0,0,0,.75); transition: opacity .35s; }
.product__stage img.is-wide { width: 100%; border-radius: 10px; box-shadow: none; }
.product__stage:has(img.is-wide) { padding: 0; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb { width: 74px; height: 74px; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--accent); }

.product__title { font-family: var(--font-head); font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: .02em; }
.product__sub { font-style: italic; color: #d6ccbb; font-size: 1.3em; margin: 8px 0 6px; }
.product__by { color: var(--muted); }
.product__by strong { color: var(--text); font-weight: 500; letter-spacing: .04em; }
.product__desc { color: #d3c9b8; }
.buy { margin: 28px 0 30px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(var(--accent-rgb), .25); }
.buy .micro { text-align: center; margin-bottom: 0; }
.badges { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badges li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(21,18,14,.6); }
.badges svg { width: 24px; height: 24px; margin-top: 2px; }
.badges div { display: flex; flex-direction: column; line-height: 1.35; }
.badges strong { font-weight: 500; font-size: .98rem; }
.badges span { color: var(--muted); font-size: .86rem; }
.proof { display: grid; gap: 14px; }
.proof .file-no { margin-bottom: 4px; }

.details__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.files--compact li { padding: 18px 0; }
.guarantee { position: sticky; top: 110px; padding: 32px; border-radius: 18px; background: radial-gradient(80% 60% at 50% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--surface); border: 1px solid rgba(var(--accent-rgb), .3); }
.guarantee svg { width: 38px; height: 38px; margin-bottom: 16px; }
.guarantee h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 10px; }
.guarantee p { color: #d3c9b8; }
.guarantee a:not(.btn) { color: var(--accent); }

.buybar { display: none; }

/* ---------- entrances ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .file__grid, .inside__grid, .offer__grid, .product, .details__grid { grid-template-columns: 1fr; }
  .product__media, .guarantee { position: static; }
  /* stacked layout: the exhibit sticks under the menu so it swaps in view while the timeline scrolls */
  .file__photo { top: 72px; z-index: 5; margin-inline: -16px; padding: 14px 16px 12px; background: var(--bg); }
  .file__photo::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 36px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .file__photo .frame { rotate: 0deg; max-width: min(440px, 52vh); margin-inline: auto; padding: 6px; }
  .file__photo .frame::after { display: none; }
  .file__photo figcaption { margin-top: 10px; font-size: .85rem; text-align: center; }
  .offer__book { width: min(70%, 320px); }
  .product__stage img { width: min(70%, 340px); }
  .product__stage img.is-wide { width: 100%; }
}
@media (max-width: 768px) {
  .thumbs { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 108px 0 56px; }
  .hero__sub { margin-bottom: 30px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .vsl__frame { border-radius: 12px; }
  .vsl__play { width: 70px; height: 70px; }
  .vsl__meta { left: 14px; bottom: 12px; font-size: .82rem; }
  .vsl__pending { font-size: .9rem; }
  .trust { flex-direction: column; align-items: flex-start; padding-inline: 24px; gap: 12px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .question { min-height: auto; }
  .question__bg { object-position: 80% 50%; }
  .question__scrim { background: linear-gradient(180deg, var(--bg), rgba(13,11,9,.82) 25%, rgba(13,11,9,.82) 75%, var(--bg)); }
  .badges { grid-template-columns: 1fr; }
  .offer .btn--lg { width: 100%; }
  .page-book { padding-bottom: 84px; }
  .buybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(13,11,9,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .buybar.is-on { transform: none; }
  .buybar div { display: flex; flex-direction: column; line-height: 1.25; font-size: .95rem; }
  .buybar .btn { padding: 12px 18px; font-size: .72rem; }
}

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