/* ════════════════════════════════════════════════════════════════
   ReadySetWeb — V10 STUDIO EDITION
   Apple-product-page aesthetic: light studio backdrop · ink type ·
   one chrome sculpture orbited by scroll · editorial sharpness.
   ════════════════════════════════════════════════════════════════ */
:root {
  --bg: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #101014;
  --mut: #565b66;
  --dim: #8a8f99;
  --line: rgba(16,16,20,.16);
  --line-strong: rgba(16,16,20,.45);
  --acc: #2440ff;
  --acc2: #ff4d1c;
  --r: 0px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.65 "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: inline-block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--acc); color: #fff; }

/* ── studio backdrop: warm paper with faint top light ── */
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 68% 12%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(36,64,255,.05), transparent 60%);
}

/* film grain → paper tooth */
.grain { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"); }

/* ── the sculpture stage ── */
#hero3d { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; display: block; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
#hero3d.on { opacity: 1; }

/* ── scroll progress ── */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ── nav ───────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  padding: 18px clamp(18px, 4vw, 44px);
  transition: padding .3s ease, background .3s ease, border-color .3s; border-bottom: 1px solid transparent; }
nav.scrolled { padding-top: 12px; padding-bottom: 12px;
  background: rgba(244,242,237,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); }
.brand { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink);
  display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { height: 22px; }
.brand .dot { color: var(--acc); }
nav .links { margin-left: auto; display: flex; gap: clamp(16px, 2.6vw, 34px); align-items: center; }
nav .links a:not(.cta) { color: var(--mut); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; padding: 8px 0; position: relative; }
nav .links a:not(.cta)::after { content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 2px; background: var(--ink); transform: scaleX(0);
  transform-origin: right; transition: transform .3s cubic-bezier(.19,.76,.22,1); }
nav .links a:not(.cta):hover { color: var(--ink); }
nav .links a:not(.cta):hover::after { transform: scaleX(1); transform-origin: left; }
nav .cta { background: var(--ink); color: var(--bg); padding: 11px 22px;
  border-radius: 999px; font-weight: 700; font-size: 13.5px; text-transform: uppercase;
  letter-spacing: .06em; transition: transform .2s ease, background .25s ease;
  min-height: 41px; display: inline-flex; align-items: center; }
nav .cta:hover { background: var(--acc); color: #fff; transform: translateY(-1px); }

/* ── hero: split editorial ─────────────────────── */
header { min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: clamp(110px, 15vh, 170px) clamp(18px, 5vw, 44px) 88px;
  position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--ink); color: var(--ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  padding: 9px 16px; border-radius: 999px; margin-bottom: clamp(26px, 4vh, 40px);
  background: var(--paper); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--acc2);
  box-shadow: 0 0 0 0 rgba(255,77,28,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,77,28,0) } }

h1.cinematic { font-size: clamp(46px, 9.4vw, 138px); line-height: .94;
  letter-spacing: -.045em; font-weight: 800; max-width: 1160px;
  margin-bottom: clamp(26px, 4vh, 40px); }
h1 .w { display: block; opacity: 0; transform: translateY(46px); filter: blur(10px); }
h1 .w.in { animation: wordReveal .95s cubic-bezier(.19,.76,.22,1) both; }
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(46px); filter: blur(10px) }
  to { opacity: 1; transform: none; filter: blur(0) } }
.grad, .acc-serif {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--acc); letter-spacing: -.02em; padding-right: .08em; }

.sub { color: var(--mut); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7;
  max-width: 520px; margin: 0 0 clamp(30px, 4.6vh, 44px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(44px, 6.4vh, 66px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 17px 32px; min-height: 54px; border-radius: 999px; border: 1.5px solid var(--ink);
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .2s; }
.btn i { font-style: normal; transition: transform .2s; }
.btn:hover { background: var(--acc); border-color: var(--acc); color: #fff;
  transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:hover i { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--acc); }
.btn.wide { width: 100%; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0;
  width: 100%; max-width: 900px; border: 1.5px solid var(--ink); background: var(--paper); }
.stats div { padding: 18px 16px; font-size: 12px; line-height: 1.45; text-transform: uppercase;
  letter-spacing: .08em; color: var(--mut); border-right: 1.5px solid var(--ink); }
.stats div:last-child { border-right: none; }
.stats strong { display: block; font-size: clamp(26px, 2.8vw, 34px); font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }

.scroll-cue { position: absolute; bottom: 30px; left: clamp(18px, 5vw, 44px);
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .34em; z-index: 2; }
.scroll-cue i { width: 56px; height: 1.5px; position: relative; background: var(--line-strong); }
.scroll-cue i::after { content: ""; position: absolute; left: -6px; top: -2.5px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--acc2);
  animation: cueRun 2.1s ease-in-out infinite; }
@keyframes cueRun { 0% { left: -6px; opacity: 0 } 25% { opacity: 1 }
  80% { opacity: 1 } 100% { left: 52px; opacity: 0 } }

/* ── marquee: solid ink band ───────────────────── */
.marquee { background: var(--ink); overflow: hidden; white-space: nowrap;
  padding: 18px 0; position: relative; z-index: 1; }
.marquee .track { display: inline-flex; gap: 44px; align-items: center; will-change: transform; }
.marquee span { font-size: clamp(16px, 2vw, 24px); letter-spacing: .14em;
  color: var(--bg); font-weight: 700; text-transform: uppercase; }
.marquee i { color: var(--acc2); font-style: normal; font-size: 12px; }

/* ── sections: editorial chapters with rules ───── */
main { position: relative; z-index: 1; }
section { max-width: 1280px; margin: 0 auto;
  padding: clamp(88px, 13vh, 150px) clamp(18px, 5vw, 44px);
  scroll-margin-top: 70px; position: relative; }
.sec-head { margin-bottom: clamp(40px, 7vh, 60px); max-width: 820px; }
.sec-num { font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-size: 15px; color: var(--acc2); display: inline-block; margin-bottom: 16px;
  letter-spacing: .04em; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02;
  font-weight: 800; letter-spacing: -.035em; }
h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--acc); letter-spacing: -.01em; }
.lede { color: var(--mut); font-size: clamp(15px, 1.4vw, 17.5px); margin-top: 18px;
  max-width: 600px; }

/* ghost numerals — serif italic ink wash */
section::before { position: absolute; top: clamp(8px, 4vh, 30px); right: 0;
  font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(160px, 26vw, 400px); line-height: 1;
  color: rgba(16,16,20,.05); pointer-events: none; user-select: none; z-index: -1; }
#offers::before { content: "01" } #pricing::before { content: "02" }
#how::before { content: "03" } #book::before { content: "04" }

/* cards: white paper, ink border, HARD offset shadow on hover */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 0; padding: 30px 26px;
  display: flex; flex-direction: column; gap: 11px; min-width: 0;
  transition: transform .2s cubic-bezier(.19,.76,.22,1), box-shadow .2s cubic-bezier(.19,.76,.22,1); }
.card:hover { transform: translate(-4px,-4px); box-shadow: 7px 7px 0 var(--ink); }
.card h3 { font-size: 19px; font-weight: 750; letter-spacing: -.015em; }
.card .tag { align-self: flex-start; font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--acc); color: #fff; border-radius: 999px; padding: 5px 12px; }
.card .niche { font-size: 11px; color: var(--dim); text-transform: uppercase;
  letter-spacing: .12em; }
.card .price { font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.card .price small { font-size: 12.5px; color: var(--dim); font-weight: 500; }
.card p { font-size: 14px; color: var(--mut); line-height: 1.65; flex: 1; }

/* pricing table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--paper); border: 1.5px solid var(--ink); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px;
  border-bottom: 1px solid var(--line); font-size: 14.5px; }
th { background: var(--ink); color: var(--bg); font-size: 11px; text-transform: uppercase;
  letter-spacing: .16em; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(36,64,255,.05); }
.note { color: var(--mut); font-size: 13px; margin-top: 16px; max-width: 700px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr)); gap: 16px; }
.step { padding: 30px 26px; background: var(--paper); border: 1.5px solid var(--ink);
  transition: transform .2s cubic-bezier(.19,.76,.22,1), box-shadow .2s; }
.step:hover { transform: translate(-4px,-4px); box-shadow: 7px 7px 0 var(--acc2); }
.step-num { display: inline-flex; width: 44px; height: 44px; align-items: center;
  justify-content: center; font-weight: 800; font-size: 15px; color: var(--bg);
  margin-bottom: 15px; background: var(--ink); }
.step h3 { margin-bottom: 8px; font-size: 18.5px; font-weight: 750; letter-spacing: -.015em; }
.step p { color: var(--mut); font-size: 14.5px; }

/* form */
form { max-width: 660px; margin: 0 auto; padding: clamp(26px, 5vw, 38px);
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border: 1.5px solid var(--ink); }
.row { display: flex; gap: 14px; }
input, select { flex: 1; width: 100%; min-width: 0;
  background: #fff; border: 1.5px solid var(--line-strong);
  color: var(--ink); border-radius: 0; padding: 14px 16px;
  font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; min-height: 52px; }
input::placeholder { color: var(--dim); }
input:focus, select:focus { outline: none; border-color: var(--acc);
  box-shadow: 4px 4px 0 rgba(36,64,255,.25); }
select { -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23101014' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.form-msg { text-align: center; color: #0d8a45; font-size: 14px;
  margin: 4px 0 0; min-height: 20px; font-weight: 600; }
.form-msg.err { color: #d92c2c; }

/* footer */
footer { border-top: 1.5px solid var(--ink); padding: 44px clamp(18px,4vw,44px);
  text-align: center; display: flex; flex-direction: column; gap: 13px;
  align-items: center; position: relative; z-index: 1; background: var(--paper); }
.f-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.f-brand img { height: 20px; }
.f-links { display: flex; gap: 26px; }
.f-links a { color: var(--mut); font-size: 13.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; min-height: 44px; display: inline-flex; align-items: center; }
.f-links a:hover { color: var(--acc); }
.f-meta { color: var(--dim); font-size: 12px; }

.loading { color: var(--dim); padding: 28px; }

/* ── reveals ───────────────────────────────────── */
.rv { opacity: 0; transform: translateY(34px);
  transition: opacity .85s cubic-bezier(.19,.76,.22,1),
              transform .85s cubic-bezier(.19,.76,.22,1); }
.rv.in { opacity: 1; transform: none; }
.magnetic { will-change: transform; }

/* ── cursor ────────────────────────────────────── */
#cur, #curR { position: fixed; top: 0; left: 0; z-index: 200;
  pointer-events: none; border-radius: 50%; opacity: 0; }
#cur { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--acc); }
#curR { width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(16,16,20,.4);
  transition: width .22s ease, height .22s ease, margin .22s ease, border-color .22s ease; }
#curR.big { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-color: var(--acc); }
body.cur-on #cur, body.cur-on #curR { opacity: 1; }
@media (hover: none), (pointer: coarse) { #cur, #curR { display: none } }

/* ── rail dots ─────────────────────────────────── */
#rail { position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 18px; }
#rail a { width: 9px; height: 9px; border-radius: 50%; position: relative;
  border: 1.5px solid var(--line-strong); background: transparent; transition: all .3s; }
#rail a.on { background: var(--acc2); border-color: var(--acc2); }
#rail a span { position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 10px; letter-spacing: .22em;
  font-weight: 700; color: var(--mut); white-space: nowrap;
  opacity: 0; transition: opacity .2s; }
#rail a:hover span { opacity: 1; }
@media (max-width: 1080px) { #rail { display: none } }

/* ── mobile ────────────────────────────────────── */
@media (max-width: 720px) {
  nav { padding-left: 18px; padding-right: 18px; }
  nav .links a:not(.cta) { display: none; }
  header { padding-left: 18px; padding-right: 18px; padding-top: 104px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-cta .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats div:nth-child(2) { border-right: none; }
  .stats div:nth-child(-n+2) { border-bottom: 1.5px solid var(--ink); }
  .row { flex-direction: column; gap: 14px; }
  .badge { font-size: 10px; letter-spacing: .12em; }
  .scroll-cue { display: none; }
  h1.cinematic { font-size: clamp(40px, 12.5vw, 62px); }
  section::before { font-size: 150px; }
}
@media (max-width: 380px) {
  .brand { font-size: 15px; }
}

@media (hover: none) {
  .card, .step { transform: none !important; }
  .magnetic { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  h1 .w { opacity: 1; transform: none; filter: none; }
}
