:root {
  --cream: #0b1426;
  --cream-2: #0f1a31;
  --gold: #f2c14e;
  --gold-deep: #f0b545;
  --ink: #f3ead6;
  --ink-soft: rgba(243, 234, 214, .74);
  --line: rgba(243, 234, 214, .14);
  --dark: #1a1406;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6.2vw, 88px); }
h2 { font-size: clamp(32px, 4.6vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
em { font-style: italic; color: var(--gold-deep); }
h1 em { background: linear-gradient(transparent 70%, rgba(245, 213, 71, .7) 70%); color: inherit; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 60ch; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 1.2em; }

/* 3D layer */
#orb { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity .6s; }
.formula {
  position: fixed; z-index: 2; left: 0; top: 0; pointer-events: none;
  font: italic 400 clamp(20px, 2.2vw, 34px) var(--serif); color: #4a3608;
  text-shadow: 0 0 18px rgba(255, 250, 230, .95); white-space: nowrap;
  transform: translate(-50%, -50%); will-change: transform, opacity;
}
/* layers: section backgrounds (0) < 3D orb (1) < floats (2) < text (3) */
main { position: relative; }
.foot { position: relative; z-index: 3; }
section > *:not(.bg):not(.float):not(.scroll-cue) { position: relative; z-index: 3; }
#steps > .steps-sticky { position: sticky; z-index: 0; }

/* header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px; padding: 16px var(--gutter);
  background: rgba(8, 14, 30, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand strong { display: block; font: 400 18px/1.1 var(--serif); }
.brand small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.brand-dot { width: 34px; height: 22px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(245, 213, 71, .8); }
.top nav { display: flex; gap: 22px; font-size: 14px; }
.top nav a { text-decoration: none; opacity: .75; }
.top nav a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 26px; border-radius: 999px;
  background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -10px rgba(201, 154, 29, .7); transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(201, 154, 29, .9); }
.btn-small { padding: 10px 18px; font-size: 13px; }
.btn-ghost { background: transparent; border: 1px solid var(--ink); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-deep); }

section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.float { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(120, 90, 20, .25)); will-change: transform; }

/* hero */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8, 14, 30, .92) 0%, rgba(8, 14, 30, .55) 48%, rgba(8, 14, 30, 0) 75%); }
.hero-text { max-width: 760px; padding-top: 60px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 1.6em; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-soft); }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold-deep), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* idea */
.idea { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--cream); }
.idea-img { border-radius: 300px 300px 24px 24px; overflow: hidden; aspect-ratio: 4/5; }
.idea-img img { width: 100%; height: 115%; object-fit: cover; object-position: 78% center; will-change: transform; }
.pull { font: italic 300 clamp(22px, 2.2vw, 30px)/1.3 var(--serif); color: var(--ink); border-left: 3px solid var(--gold); padding-left: 20px; }

/* steps */
.steps { padding: 0; height: 520vh; }
.steps-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.steps-bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 6s ease; }
.steps-bgs img.on { opacity: 1; transform: scale(1); }
.steps-sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 30, .94) 0%, rgba(8, 14, 30, .7) 42%, rgba(8, 14, 30, .05) 72%); }
.steps-inner { position: relative; z-index: 2; height: 100%; padding: 120px var(--gutter) 60px; display: flex; flex-direction: column; justify-content: center; }
.step-cards { position: relative; min-height: 340px; max-width: 560px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.num { display: block; font: 300 clamp(64px, 9vw, 130px)/1 var(--serif); color: var(--gold); -webkit-text-stroke: 1px var(--gold-deep); margin-bottom: 8px; }
.step-objects img { position: absolute; right: 40%; bottom: 10%; width: clamp(90px, 12vw, 190px); opacity: 0; transform: translateY(40px) rotate(-8deg) scale(.8); transition: opacity .8s, transform 1s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 24px 30px rgba(120, 90, 20, .3)); }
.step-objects img.on { opacity: 1; transform: none; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }
.step-dots { position: absolute; left: var(--gutter); bottom: 40px; display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.step-dots li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 14, 30, .7); color: var(--ink-soft); transition: all .4s; }
.step-dots li.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* band */
.band { text-align: center; background: var(--cream-2); display: flex; flex-direction: column; align-items: center; }
.band p { margin-inline: auto; }

/* author */
.author { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.author-photo { aspect-ratio: 4/5; border-radius: 24px; background: radial-gradient(circle at 50% 40%, #fff6cf, var(--cream-2)); display: grid; place-items: center; position: relative; border: 1px dashed var(--gold-deep); }
.author-photo img { width: 45%; animation: bob 6s ease-in-out infinite; }
.author-photo span { position: absolute; bottom: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }

/* work */
.work { background: var(--cream-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: var(--cream); border-radius: 22px; padding: 16px 16px 26px; text-decoration: none; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(120, 90, 20, .5); }
.card > *:not(.card-img) { margin-inline: 10px; }
.card-img { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-obj { background: radial-gradient(circle, #fff3c4, var(--cream-2)); display: grid; place-items: center; }
.card-obj img { width: 46%; height: auto; object-fit: contain; }

/* qa */
.qa { max-width: 900px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font: 400 clamp(19px, 1.8vw, 24px) var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--gold-deep); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 14px; }

/* contact */
.contact { min-height: 90svh; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(270deg, rgba(8, 14, 30, .94) 0%, rgba(8, 14, 30, .6) 50%, rgba(8, 14, 30, .1) 80%); }
.contact-text { max-width: 600px; }
.socials { display: flex; gap: 20px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px var(--gutter); font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); background: var(--cream); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .idea, .author { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 14, 30, .3) 0%, rgba(8, 14, 30, .9) 55%); }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .steps-sticky::after { background: linear-gradient(180deg, rgba(8, 14, 30, .15) 0%, rgba(8, 14, 30, .95) 52%); }
  .steps-inner { justify-content: flex-end; padding-bottom: 90px; }
  .step-cards { min-height: 300px; }
  .step-objects img { left: 8%; right: auto; top: 14%; bottom: auto; width: 100px; }
  .step-dots li { font-size: 0; width: 10px; height: 10px; padding: 0; }
  .contact::after { background: rgba(8, 14, 30, .85); }
  .float { opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* booking page */
.book { min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 140px; overflow: hidden; }
.book::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8, 14, 30, .95) 0%, rgba(8, 14, 30, .85) 45%, rgba(8, 14, 30, .6) 100%); }
.book h1 { font-size: clamp(34px, 4.4vw, 60px); }
.book-orb { width: 84px; margin-bottom: 24px; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(120, 90, 20, .3)); }
.expect { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.expect li { display: flex; gap: 16px; align-items: baseline; color: var(--ink); }
.expect span { font: 300 22px var(--serif); color: var(--gold-deep); min-width: 30px; }
.book-cal { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: 8px; box-shadow: 0 40px 80px -40px rgba(120, 90, 20, .45); }
.calendly-inline-widget { min-width: 280px; height: 700px; }
.cal-fallback { font-size: 13px; text-align: center; margin: 8px auto 6px; }
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; padding-top: 110px; }
  .calendly-inline-widget { height: 1000px; }
}


/* ===== v2: From Night to Dawn ===== */
html { background: #050a18; }
body { background: transparent; }
#sky { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky-top, #050a18), var(--sky-bot, #0e1a33)); }
h1 em { background: none; color: var(--gold); }
.btn { color: var(--dark); }
.btn-ghost { color: var(--ink); border-color: rgba(243, 234, 214, .5); }
.step-dots li { background: rgba(8, 14, 30, .55); }
.step-dots li.on { color: var(--dark); }
.idea, .work, .foot { background: transparent; }
.top { background: rgba(8, 14, 30, .6); }
.brand-dot { box-shadow: 0 0 22px rgba(242, 193, 78, .9); }
.num { color: transparent; -webkit-text-stroke: 1px var(--gold); text-shadow: 0 0 30px rgba(242, 193, 78, .35); }
.pull { color: var(--ink); }
.card { background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(242, 193, 78, .35); }
.float, .step-objects img { filter: drop-shadow(0 0 24px rgba(242, 193, 78, .45)); }
.band { background: transparent; min-height: 80svh; justify-content: center; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, rgba(8, 14, 30, .78), rgba(8, 14, 30, .35)); }
.band-text { display: flex; flex-direction: column; align-items: center; }
.author-photo { background: none; border: 1px solid var(--line); overflow: hidden; }
.author-photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: none; }
.author-photo .ph-obj { position: relative; width: 42%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(242, 193, 78, .6)); }
.author-photo span { z-index: 1; background: rgba(8, 14, 30, .6); padding: 6px 12px; border-radius: 999px; }
.qa-wrap { overflow: hidden; }
.qa-wrap::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(8, 14, 30, .72); }
.contact::after { background: linear-gradient(270deg, rgba(8, 14, 30, .85) 0%, rgba(8, 14, 30, .45) 55%, rgba(8, 14, 30, 0) 85%); }
.book::after { background: linear-gradient(90deg, rgba(8, 14, 30, .92) 0%, rgba(8, 14, 30, .75) 50%, rgba(8, 14, 30, .5) 100%); }
.book-cal { background: #fbf7ec; }
.cal-fallback { color: #5a5446; }
.cal-fallback .link { color: #1f1c15; }
