/* Health Shift — institutional LP */
:root {
  --ink: #060818;
  --ink-2: #0d1230;
  --ink-soft: #14182f;
  --indigo-deep: #0e0a52;
  --indigo: #1c1aa6;
  --azure: #2563ff;
  --sky: #2da4ec;
  --teal: #46e5d9;
  --mint: #3dd2a4;
  --paper: #f4f1ea;
  --paper-2: #ebe7dd;
  --bone: #e2ddd0;
  --slate: #2c3138;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* typography utilities */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: uppercase; font-size: 11px; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.75;
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 36px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(6,8,24,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.nav.is-light {
  background: rgba(244,241,234,0.78);
  border-bottom-color: rgba(0,0,0,0.06);
  color: var(--ink);
}
.nav-brand { display: flex; align-items: center; }
.nav-brand-img { height: 64px; width: auto; transition: filter .4s; filter: brightness(0) invert(1); }
.nav.is-light .nav-brand-img { filter: none; }
.nav-links { display: flex; gap: 28px; font-size: 13.5px; opacity: 0.92; flex-shrink: 0; }
.nav-links a { transition: opacity .2s; white-space: nowrap; }
.nav-links a:hover { opacity: 0.6; }
.nav-cta {
  font-size: 13px; padding: 8px 16px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  transition: transform .25s ease;
  white-space: nowrap; flex-shrink: 0;
}
.nav.is-light .nav-cta { background: var(--ink); color: var(--paper); }
.nav-cta:hover { transform: translateY(-1px); }

@media (max-width: 960px) {
  .nav-links { gap: 20px; font-size: 12.5px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 12px 20px; }
  .nav-brand-img { height: 48px; }
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; align-items: center;
  padding: 140px 48px 80px;
  overflow: hidden;
}
#shader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 8.8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 14ch;
}
.hero h1 .em { font-style: italic; color: var(--teal); }
.hero h1 .em-soft {
  display: block;
  font-style: italic;
  opacity: 0.55;
  font-size: 0.46em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 24px;
  font-weight: 400;
}
.hero-sub {
  margin-top: 36px;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  opacity: 0.78;
  font-weight: 380;
}
.hero-actions { margin-top: 56px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: transform .25s cubic-bezier(.2,.7,.3,1.2), background .25s, box-shadow .3s;
}
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -12px rgba(244,241,234,0.55); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--paper); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { transition: transform .25s; }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.55; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, var(--paper)); animation: scroll-pulse 2.4s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100%{opacity:.2; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* section chrome */
section { position: relative; padding: 140px 48px; }
.container { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.section-header {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 72px; max-width: 920px;
}
.section-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
}
.section-header h2 .em { font-style: italic; }
@media (max-width: 720px) { section { padding: 80px 24px; } .section-header { margin-bottom: 48px; } }

/* personas */
.personas { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.personas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 90% 0%, rgba(28,26,166,0.06), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(60,210,164,0.08), transparent 50%);
}
.persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.persona-card {
  position: relative;
  padding: 36px 32px 32px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  cursor: default;
  transition: transform .4s cubic-bezier(.2,.7,.3,1.2), box-shadow .4s, border-color .3s;
  overflow: hidden;
  isolation: isolate;
}
.persona-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(60,210,164,0.16), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.persona-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,15,40,0.22); }
.persona-card:hover::before { opacity: 1; }
.persona-glyph { height: 64px; margin-bottom: 24px; display: flex; align-items: center; }
.persona-card h3 {
  font-family: var(--serif); font-size: 30px; line-height: 1.05;
  margin-bottom: 12px; letter-spacing: -0.02em; font-weight: 400;
}
.persona-card p { font-size: 14.5px; line-height: 1.55; opacity: 0.74; max-width: 32ch; }
.persona-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.persona-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  padding: 5px 10px; border-radius: 4px;
  background: rgba(28,26,166,0.06); color: var(--indigo);
}
@media (max-width: 900px) { .persona-grid { grid-template-columns: 1fr; } }

/* showcase — softer dark with aurora */
.showcase {
  background: linear-gradient(180deg, #14182f 0%, #0d1330 60%, #0a1226 100%);
  color: var(--paper); position: relative; overflow: hidden;
}
.showcase-aurora {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px circle at 15% 10%, rgba(46,165,236,0.18), transparent 50%),
    radial-gradient(700px circle at 85% 90%, rgba(70,229,217,0.12), transparent 50%),
    radial-gradient(800px circle at 60% 40%, rgba(28,26,166,0.22), transparent 55%);
  filter: blur(20px);
}
.showcase-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.format-toggle {
  display: inline-flex; padding: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  backdrop-filter: blur(20px);
}
.format-toggle button {
  position: relative; z-index: 1;
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  border-radius: 999px;
  color: rgba(244,241,234,0.65);
  transition: color .35s; white-space: nowrap;
}
.format-toggle button.is-active { color: var(--ink); }
.format-pill {
  position: absolute; top: 4px; bottom: 4px;
  background: var(--paper); border-radius: 999px;
  transition: left .45s cubic-bezier(.65,0,.35,1.4), width .45s cubic-bezier(.65,0,.35,1.4);
  z-index: 0; box-shadow: 0 4px 24px -6px rgba(255,255,255,0.18);
}
.book-counter { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; opacity: 0.5; text-transform: uppercase; }

.book-rail {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1100px) { .book-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .book-rail { grid-template-columns: 1fr; } }

.book-card {
  position: relative;
  padding: 22px 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), border-color .3s, background .4s;
  backdrop-filter: blur(14px);
}
.book-card::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(70,229,217,0.14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.book-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-6px); background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)); }
.book-card:hover::after { opacity: 1; }

.book-cover-wrap {
  position: relative; aspect-ratio: 2 / 2.9;
  margin: 0 auto 22px;
  width: 58%;
  perspective: 1400px;
}
.book-cover {
  position: relative; width: 100%; height: 100%;
  border-radius: 4px; overflow: hidden;
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,0.65),
    0 18px 40px -22px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(0,0,0,0.18) 100%);
  pointer-events: none; mix-blend-mode: overlay;
}
.book-cover::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), transparent);
}
.book-card:hover .book-cover { transform: rotateY(-8deg) rotateX(2deg) translateY(-4px); }

.book-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(70,229,217,0.85); margin-bottom: 10px; text-transform: uppercase;
}
.book-title {
  font-family: var(--serif); font-size: 22px; line-height: 1.05;
  letter-spacing: -0.015em; margin-bottom: 8px; font-weight: 400;
}
.book-desc {
  font-size: 13px; line-height: 1.52; opacity: 0.7;
  margin-bottom: 20px; flex: 1;
}
.book-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.book-price { display: flex; flex-direction: column; gap: 2px; }
.book-price .label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; opacity: 0.55; text-transform: uppercase; }
.book-price .amount {
  font-family: var(--serif); font-size: 26px; line-height: 1;
  letter-spacing: -0.02em;
}
.book-buy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  transition: transform .3s, background .3s;
}
.book-buy:hover { transform: scale(1.08); background: var(--mint); }

/* author section */
.author { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.author::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(28,26,166,0.05), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(60,210,164,0.06), transparent 50%);
}
.author-grid {
  display: grid; grid-template-columns: 0.78fr 1.4fr; gap: 72px;
  align-items: start;
}
.author-portrait { max-width: 360px; }
@media (max-width: 900px) { .author-grid { grid-template-columns: 1fr; gap: 48px; } }

.author-portrait {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 24px; overflow: hidden;
  background: var(--ink-2);
  box-shadow:
    0 40px 80px -30px rgba(10,15,40,0.4),
    0 0 0 1px rgba(0,0,0,0.06);
}
.author-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.02) contrast(1.02); }
.author-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(6,8,24,0.55) 100%);
}
.author-portrait-tag {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: rgba(244,241,234,0.92);
  z-index: 2;
}
.author-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.author-quote em { color: var(--indigo); font-style: italic; }
.author-bio {
  font-size: 16px; line-height: 1.65; opacity: 0.78;
  max-width: 56ch; margin-bottom: 18px;
}
.author-bio + .author-bio { margin-bottom: 32px; }
.author-creds {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 28px;
}
.author-cred .num {
  font-family: var(--serif); font-size: 36px; line-height: 1;
  letter-spacing: -0.02em; color: var(--indigo);
  margin-bottom: 6px;
}
.author-cred .lbl { font-size: 13px; line-height: 1.4; opacity: 0.7; }

/* FAQ */
.faq { background: var(--paper); color: var(--ink); padding-top: 60px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(0,0,0,0.1); }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 28px 0; cursor: pointer;
}
.faq-item-head {
  display: grid; grid-template-columns: 1fr 40px;
  gap: 24px; align-items: baseline;
}
.faq-q {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: -0.015em; font-weight: 400;
}
.faq-toggle { width: 28px; height: 28px; position: relative; justify-self: end; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px; background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .35s;
}
.faq-toggle::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.is-open .faq-toggle::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.3,1);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-top: 14px; font-size: 16px; line-height: 1.6; opacity: 0.74; max-width: 70ch; }

/* contact */
.contact {
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
}
.contact-aurora {
  position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px circle at 30% 20%, rgba(28,26,166,0.4), transparent 50%),
    radial-gradient(700px circle at 80% 80%, rgba(70,229,217,0.16), transparent 50%);
  filter: blur(40px);
}
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1; letter-spacing: -0.03em; font-weight: 400;
  margin-top: 18px; margin-bottom: 28px;
}
.contact h2 em { color: var(--teal); font-style: italic; }
.contact p { font-size: 17px; line-height: 1.55; opacity: 0.78; max-width: 50ch; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.contact-channel {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  transition: background .25s, transform .25s, border-color .25s;
}
.contact-channel:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.contact-channel-icon {
  width: 36px; height: 36px; border-radius: 12px;
  background: rgba(70,229,217,0.12);
  display: grid; place-items: center; color: var(--teal);
}
.contact-channel .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; opacity: 0.55; margin-bottom: 4px; text-transform: uppercase; }
.contact-channel .val { font-size: 15.5px; letter-spacing: -0.005em; }
.contact-channel .arr { opacity: 0.5; transition: transform .25s, opacity .25s; }
.contact-channel:hover .arr { opacity: 1; transform: translateX(3px); }

/* footer */
.footer {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 48px 32px;
  position: relative; z-index: 2;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.footer-mark img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; opacity: 0.4; line-height: 1.8; text-align: right; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

/* reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
