:root {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --ink: #f4f1ea;
  --ink-dim: #9a988f;
  --ink-faint: #8a877c;
  --accent: #e8a13c;
  --accent-soft: #f0c98a;
  --line: rgba(244, 241, 234, 0.1);
  --line-soft: rgba(244, 241, 234, 0.06);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* canvas + texture overlays */
#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__inner { width: min(320px, 70vw); text-align: center; }
.loader__mark {
  font-family: var(--mono); letter-spacing: 0.5em;
  font-size: 0.8rem; color: var(--ink-dim);
}
.loader__bar {
  margin: 1.2rem 0 0.7rem; height: 1px; width: 100%;
  background: var(--line); overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--accent); transition: width 0.2s linear;
}
.loader__pct { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  padding-top: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em;
}
.nav__logo { color: var(--accent); margin-right: 0.15em; }
.nav__ai { color: var(--accent); font-style: italic; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  color: var(--ink-dim); text-decoration: none; font-size: 0.85rem;
  letter-spacing: 0.02em; transition: color 0.25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: 0.82rem; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.55rem 1.1rem; transition: all 0.3s var(--ease);
}
.nav__cta:hover { background: var(--accent); color: #1a1206; border-color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 1.5rem; }
.nav__login {
  font-size: 0.85rem; color: var(--ink-dim); text-decoration: none;
  letter-spacing: 0.02em; transition: color 0.25s;
}
.nav__login:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; letter-spacing: 0.01em; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 100px;
  transition: all 0.35s var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #1a1206; font-weight: 500; }
.btn--primary:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(244, 241, 234, 0.03); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(232, 161, 60, 0.06); transform: translateY(-2px); }
.btn--wide { width: 100%; justify-content: center; padding: 1rem; font-size: 0.95rem; }

/* ---------- Sections shared ---------- */
section { padding: clamp(5rem, 11vw, 11rem) clamp(1.2rem, 6vw, 7rem); }
.section-tag {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; max-width: 16ch;
  letter-spacing: -0.01em;
}
.section-lead {
  margin-top: 1.5rem; max-width: 52ch; color: var(--ink-dim);
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 8rem; position: relative;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase; margin-bottom: 2rem;
  border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1rem;
  width: fit-content;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 11vw, 9rem); line-height: 0.96;
  letter-spacing: -0.02em; margin-bottom: 2rem;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.15em; }
.hero__title .line > span { display: block; transform: translateY(125%); }
.hero__sub { max-width: 50ch; color: var(--ink-dim); font-size: 1.15rem; }
.hero__actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; padding-block: clamp(6rem, 16vw, 14rem); }
.manifesto__text {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 5rem); line-height: 1.12;
  max-width: 18ch; margin: 0 auto; letter-spacing: -0.01em;
}
.manifesto__text .word { display: inline-block; opacity: 0.12; transition: opacity 0.3s; }
.manifesto__text .word.accent { color: var(--accent); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.stat { display: flex; flex-direction: column; gap: 0.6rem; }
.stat__num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1; color: var(--ink);
}
.stat__label { font-size: 0.85rem; color: var(--ink-dim); max-width: 22ch; }

/* ---------- Services / Pillars ---------- */
.services__head { margin-bottom: 5rem; }
.pillar {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line);
}
.pillar__index {
  font-family: var(--serif); font-size: 2.5rem; color: var(--accent);
  font-style: italic;
}
.pillar__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.pillar__soon { display: inline-block; vertical-align: middle; margin-left: 0.7rem; transform: translateY(-0.15em); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 0.65rem; }
.pillar__desc { max-width: 56ch; color: var(--ink-dim); font-size: 1.08rem; margin-bottom: 2.2rem; }
.pillar__list { list-style: none; display: grid; gap: 0; }
.pillar__list li {
  padding: 1.1rem 0; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 0.5fr 1fr; gap: 1.5rem; align-items: baseline;
  color: var(--ink-dim); font-size: 0.95rem;
}
.pillar__list li span { color: var(--ink); font-weight: 400; }
.pillar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.pillar__grid > div {
  padding-top: 1.2rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.pillar__grid b { font-weight: 500; font-size: 1rem; }
.pillar__grid span { color: var(--ink-dim); font-size: 0.88rem; }
.pillar__link {
  display: inline-block; margin-top: 2.5rem; color: var(--accent);
  text-decoration: none; font-size: 0.95rem; letter-spacing: 0.01em;
  border-bottom: 1px solid transparent; transition: border-color 0.3s; padding-bottom: 2px;
}
.pillar__link:hover { border-color: var(--accent); }
/* Platform capability cards — label + description with the screenshot beneath. */
.platform-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.2rem; margin: 2.5rem 0 0.5rem; }
.pcard { margin: 0; display: flex; flex-direction: column; gap: 0.9rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.pcard__head { display: flex; flex-direction: column; gap: 0.4rem; }
.pcard__head b { font-weight: 500; font-size: 1rem; }
.pcard__head span { color: var(--ink-dim); font-size: 0.88rem; }
/* push visuals to the bottom so screenshots align across a row of uneven text */
.pcard img { margin-top: auto; width: 100%; display: block; cursor: zoom-in; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); transition: transform 0.3s var(--ease); }
.pcard:hover img { transform: translateY(-3px); }
.pcard img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .platform-cards { grid-template-columns: 1fr; } }

/* ---------- Lightbox (click a platform screenshot to spin it open) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 7, 9, 0.88); backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 94vw; max-height: 88vh; width: auto; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(16, 18, 22, 0.7); color: var(--ink);
  cursor: pointer; transition: all 0.3s var(--ease);
}
.lightbox__close:hover { background: var(--accent); color: #1a1206; border-color: var(--accent); transform: rotate(90deg); }
.lightbox__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lightbox.is-open { animation: lbFade 0.35s ease both; }
.lightbox.is-open .lightbox__img { animation: lbSpinIn 0.6s cubic-bezier(0.34, 1.3, 0.5, 1) both; transform-origin: 50% 50%; }
.lightbox.is-closing { animation: lbFade 0.3s ease reverse both; }
.lightbox.is-closing .lightbox__img { animation: lbSpinOut 0.3s var(--ease) both; }

@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbSpinIn {
  0%   { opacity: 0; transform: scale(0.28) rotate(-14deg); filter: blur(6px); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}
@keyframes lbSpinOut {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.4) rotate(10deg); filter: blur(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.is-open, .lightbox.is-open .lightbox__img,
  .lightbox.is-closing, .lightbox.is-closing .lightbox__img { animation: none; }
}

/* ---------- Approach ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; margin-top: 4rem; }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step__no { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); }
.step h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0.8rem 0 0.6rem; }
.step p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta { display: grid; place-items: center; }
.cta__inner { width: min(640px, 100%); text-align: center; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; margin-top: 1rem; }
.cta__lead { color: var(--ink-dim); margin: 1.2rem auto 3rem; max-width: 46ch; font-size: 1.08rem; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; text-align: left; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: var(--sans); font-size: 1rem; padding: 1.4rem 0 0.6rem;
  resize: none; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field label {
  position: absolute; left: 0; top: 1.4rem; color: var(--ink-faint);
  font-size: 1rem; pointer-events: none; transition: all 0.25s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.05em;
}
.cta__form .btn { grid-column: 1 / -1; margin-top: 1rem; }
.cta__note { grid-column: 1/-1; text-align: center; font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }
.cta__alt { text-align: center; margin-top: 1.4rem; color: var(--ink-dim); font-size: 0.95rem; }
.cta__alt a { color: var(--accent); text-decoration: none; }
.cta__alt a:hover { text-decoration: underline; }

/* ---------- Booking (Google Calendar embed, framed) ---------- */
.book { display: grid; place-items: center; }
.book__inner { width: min(1080px, 100%); }
.book__head { text-align: center; max-width: 640px; margin: 0 auto; }

.book__switch {
  display: inline-flex; gap: 0.3rem; margin-top: 2.4rem;
  border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem; background: var(--bg-soft);
}
.book__tab {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-dim); background: none; border: none; cursor: pointer;
  padding: 0.6rem 1.3rem; border-radius: 100px; transition: all 0.3s var(--ease);
}
.book__tab:hover { color: var(--ink); }
.book__tab.is-active { background: var(--accent); color: #1a1206; font-weight: 500; }
.book__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.book__panel { margin-top: 3rem; }
.book__panel[hidden] { display: none; }
.book__panel--message {
  width: min(640px, 100%); margin-left: auto; margin-right: auto;
  background: rgba(16, 18, 22, 0.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
/* one field per line — side-by-side "Name / Work email" was misread as
   first name / last name, and people typed an email where a name was expected. */
.book__panel--message .cta__form { text-align: left; grid-template-columns: 1fr; }
/* lift resting label + input contrast off the busy starfield background */
.book__panel--message .field label { color: var(--ink-dim); }
.book__panel--message .field input,
.book__panel--message .field textarea { color: var(--ink); }
.book__panel--message .field input::placeholder,
.book__panel--message .field textarea::placeholder { color: transparent; }
/* honeypot — off-screen for humans, present in the DOM for bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.book__grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.book__context { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(0.5rem, 2vw, 1.5rem); }
.book__ctx-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: 1.2rem; }
.book__ctx-lead { color: var(--ink-dim); font-size: 1rem; line-height: 1.55; margin-bottom: 2rem; max-width: 34ch; }
.book__facts { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.book__facts li { display: flex; gap: 0.9rem; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line-soft); color: var(--ink-dim); font-size: 0.95rem; }
.book__facts li span { color: var(--accent); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; min-width: 3.4rem; }
.book__facts li b { color: var(--ink); font-weight: 400; }

/* The frame around Google's (unstyleable, white) appointment embed —
   we make the bright panel read as a deliberate surface on the dark ground. */
.cal-frame {
  position: relative; border-radius: 16px; padding: 0.55rem;
  background: linear-gradient(180deg, rgba(232, 161, 60, 0.35), rgba(232, 161, 60, 0.05));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}
.cal-frame__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.8rem 0.7rem; }
.cal-frame__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s infinite; }
.cal-frame__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); }
.cal-frame__spacer { flex: 1; }
.cal-frame__secure { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; color: var(--ink-faint); }
.cal-frame__embed { display: block; width: 100%; border: 0; border-radius: 11px; background: #fff; }

/* ---- Minimized launcher → swirl-open scheduler ---- */
.cal-stage { position: relative; min-height: 340px; }

.cal-launch {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; text-align: center; cursor: pointer; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(232, 161, 60, 0.14), transparent 60%),
    var(--bg-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), opacity 0.3s var(--ease);
}
.cal-launch:hover { transform: translateY(-3px); border-color: rgba(232, 161, 60, 0.5); box-shadow: 0 32px 74px rgba(0, 0, 0, 0.55); }
.cal-launch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* static calendar tile — reads as a button, not a loading spinner */
.cal-launch__icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 1.4rem; color: var(--accent);
  background: rgba(232, 161, 60, 0.12); border: 1px solid rgba(232, 161, 60, 0.32);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.cal-launch:hover .cal-launch__icon { background: rgba(232, 161, 60, 0.22); transform: translateY(-2px); }
.cal-launch__text { display: flex; flex-direction: column; gap: 0.4rem; }
.cal-launch__label { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.cal-launch__sub { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.cal-launch__cta {
  margin-top: 1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: #1a1206; background: var(--accent); border-radius: 100px; padding: 0.55rem 1.25rem;
  transition: background 0.3s var(--ease);
}
.cal-launch:hover .cal-launch__cta { background: var(--accent-soft); }
.cal-launch.is-hiding { opacity: 0; transform: scale(0.9); pointer-events: none; }

/* close / minimize control on the open frame */
.cal-frame__close {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10, 11, 13, 0.4); color: var(--accent-soft);
  cursor: pointer; transition: all 0.3s var(--ease); flex: none;
}
.cal-frame__close:hover { background: var(--accent); color: #1a1206; border-color: var(--accent); }
.cal-frame__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* one-shot light sheen sweeping across the frame as it blooms open */
.cal-frame__sheen {
  position: absolute; top: -25%; left: -25%; width: 150%; height: 150%;
  border-radius: 16px; pointer-events: none; opacity: 0; z-index: 3; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(240, 201, 138, 0.5) 30deg, transparent 80deg, transparent 360deg);
}

/* the swirl: rotate + scale + circular clip-path unfurl */
.cal-frame.is-open { animation: swirlIn 0.95s cubic-bezier(0.34, 1.28, 0.5, 1) both; transform-origin: 50% 45%; }
.cal-frame.is-open .cal-frame__sheen { animation: sheenSweep 1.05s ease-out 0.05s 1 both; }
.cal-frame.is-closing { animation: swirlOut 0.5s var(--ease) both; transform-origin: 50% 45%; }

@keyframes swirlIn {
  0%   { opacity: 0; transform: scale(0.42) rotate(-16deg); filter: blur(7px); clip-path: circle(14% at 50% 45%); }
  45%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); clip-path: circle(150% at 50% 50%); }
}
@keyframes swirlOut {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); clip-path: circle(150% at 50% 50%); }
  100% { opacity: 0; transform: scale(0.5) rotate(12deg); filter: blur(6px); clip-path: circle(12% at 50% 45%); }
}
@keyframes sheenSweep {
  0%   { opacity: 0; transform: rotate(-50deg); }
  25%  { opacity: 0.85; }
  100% { opacity: 0; transform: rotate(300deg); }
}

@media (max-width: 820px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__context { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cal-frame.is-open, .cal-frame.is-closing { animation: none; }
  .cal-frame.is-open .cal-frame__sheen { animation: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; margin-top: 3.5rem; }
.about__block h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.about__block p { color: var(--ink-dim); font-size: 1.08rem; max-width: 54ch; }
.about__block a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.about__block a:hover { border-color: var(--accent); }
.about__block em { font-style: italic; color: var(--accent); }
.about__q { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin: 1.9rem 0 0.2rem; }
.about__creds { list-style: none; }
.about__creds li { padding: 0.85rem 0; border-top: 1px solid var(--line-soft); color: var(--ink-dim); font-size: 0.98rem; }
.about__creds b { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Pricing page ---------- */
.pricing-hero { text-align: center; padding-bottom: 2rem; }
.pricing-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.01em; }
.pricing-hero__title em { font-style: italic; color: var(--accent); }
.pricing-hero__lead { max-width: 62ch; margin: 1.6rem auto 0; color: var(--ink-dim); font-size: 1.12rem; }
.pricing-hero__lead b { color: var(--ink); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding-top: 1rem; align-items: start; }
.tiers--duo { grid-template-columns: repeat(2, 1fr); max-width: 840px; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.8rem; display: flex; flex-direction: column; background: rgba(16, 18, 22, 0.5); }
.tier--featured { border-color: var(--accent); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.tier__flag { position: absolute; top: -0.7rem; left: 1.8rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: #1a1206; background: var(--accent); border-radius: 100px; padding: 0.3rem 0.7rem; }
.tier__name { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: 0.3rem; }
.tier__for { color: var(--ink-dim); font-size: 0.9rem; min-height: 3.4em; margin-bottom: 1.2rem; }
/* min-height keeps the row a constant 3rem so Enterprise's smaller "Let's talk"
   price doesn't raise its note/button out of line with Pro & Team. */
.tier__price { font-family: var(--serif); font-size: 3rem; line-height: 1; min-height: 3rem; color: var(--ink); }
.tier__price span { font-family: var(--sans); font-size: 1rem; color: var(--ink-dim); }
/* "locked for life" tag sits to the right of the price so the note stays one line.
   Kept compact so it fits on one line even in the narrowest 3-column card. */
.tier__price .tier__price-tag {
  display: inline-block; vertical-align: middle; margin-left: 0.5rem;
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 100px;
  padding: 0.28rem 0.5rem; white-space: nowrap;
}
.tier__price--custom { font-size: 2.2rem; }
.tier__price-note { color: var(--ink-dim); font-size: 0.82rem; margin: 0.4rem 0 1.4rem; }
.tier .btn { margin-bottom: 1.6rem; }
.tier__feats { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.tier__feats li { position: relative; padding-left: 1.5rem; color: var(--ink-dim); font-size: 0.92rem; line-height: 1.45; }
.tier__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-size: 0.85rem; }
.tier__feats b { color: var(--ink); font-weight: 500; }
.tiers__notes { text-align: center; color: var(--ink-dim); font-size: 0.85rem; margin: 2rem auto 0; max-width: 62ch; }
.tiers__notes b { color: var(--ink-dim); }
.tiers__notes > p { margin: 0; }
.tiers__fine { margin-top: 0.7rem !important; font-size: 0.78rem; line-height: 1.55; opacity: 0.85; }

/* ---------- Founding Member launch offer ---------- */
.founder-banner {
  display: flex; align-items: center; gap: 1rem;
  max-width: 1100px; margin: 0.5rem auto 2rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(232, 161, 60, 0.10), rgba(232, 161, 60, 0.02));
}
.founder-banner__tag {
  flex-shrink: 0;
  font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a1206; background: var(--accent); border-radius: 100px; padding: 0.38rem 0.85rem;
}
.founder-banner p { margin: 0; color: var(--ink-dim); font-size: 0.92rem; line-height: 1.5; }
.founder-banner b { color: var(--ink); font-weight: 500; }

.tier--founder .tier__price-note s { color: var(--ink-dim); }
.tier--founder .tier__price-note b { color: var(--accent); }
.tier__subcta { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--ink-dim); }
.tier__subcta a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.tier__subcta a:hover { border-color: var(--accent); }
.pricing-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding-top: 4rem; }
.pricing-extra__card { border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.8rem; }
.pricing-extra__card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 0.8rem; }
.pricing-extra__card p { color: var(--ink-dim); font-size: 0.98rem; margin-bottom: 1.4rem; }
.pricing-extra__link { color: var(--accent); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid transparent; transition: border-color 0.3s; padding-bottom: 2px; }
.pricing-extra__link:hover { border-color: var(--accent); }
.pricing-cta { text-align: center; }
.pricing-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.pricing-cta p { color: var(--ink-dim); max-width: 48ch; margin: 0 auto 2rem; font-size: 1.05rem; }
@media (max-width: 960px) {
  /* stack before the 3-col cards get too narrow for the price + "locked for life" tag */
  .tiers { grid-template-columns: 1fr; max-width: 460px; }
  .pricing-extra { grid-template-columns: 1fr; }
  .founder-banner { flex-direction: column; align-items: flex-start; border-radius: 16px; max-width: 460px; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 6vw, 7rem) 2rem; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 3rem; }
.footer__brand { font-family: var(--serif); font-size: 1.6rem; }
.footer__brand b { color: var(--accent); font-weight: 400; font-style: italic; }
.footer__top p { color: var(--ink-dim); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-soft); }
.footer__cols h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint); margin-bottom: 1rem; font-weight: 500; }
.footer__cols a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 0.92rem; padding: 0.3rem 0; transition: color 0.25s; }
.footer__cols a:hover { color: var(--accent); }
.footer__base { display: flex; justify-content: space-between; padding-top: 1.5rem; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- Reveal anim base ---------- */
.reveal { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pillar__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-template-columns: 1fr; gap: 1rem; }
  .pillar__list li { grid-template-columns: 1fr; gap: 0.3rem; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
  .steps, .pillar__grid { grid-template-columns: 1fr; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
