:root {
  --ink: #17201e;
  --ink-soft: #28332f;
  --cream: #f4f0e8;
  --paper: #fbf8f2;
  --copper: #bd7d50;
  --copper-dark: #8d5635;
  --sage: #83968a;
  --line: rgba(23, 32, 30, .15);
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --shadow: 0 22px 70px rgba(23, 32, 30, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 9999; padding: 12px 18px;
  background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 76px); color: var(--white);
  transition: .35s ease;
}
.site-header.scrolled {
  padding-top: 13px; padding-bottom: 13px;
  background: rgba(23, 32, 30, .94); backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 11px; line-height: 1.05; letter-spacing: .13em; }
.brand b { font-size: 13px; }
.brand-mark { position: relative; width: 31px; height: 31px; display: inline-block; transform: rotate(45deg); }
.brand-mark i { position: absolute; border: 1px solid currentColor; inset: 4px; }
.brand-mark i:nth-child(2) { inset: 9px; }
.brand-mark i:nth-child(3) { inset: 14px; background: currentColor; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); font: 500 13px var(--sans); }
.main-nav a { opacity: .84; transition: .2s; }
.main-nav a:hover { opacity: 1; color: #e9be96; }
.nav-app {
  border: 1px solid rgba(255,255,255,.42); color: var(--white); background: transparent;
  padding: 10px 16px; border-radius: 99px;
}
.nav-app:hover { background: var(--white); color: var(--ink); }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px; background: currentColor; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("assets/carlos-hero.png") center / cover no-repeat; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,19,.85) 0%, rgba(14,20,19,.58) 43%, rgba(14,20,19,.03) 73%), linear-gradient(0deg, rgba(14,20,19,.5), transparent 40%); }
.hero-content { position: relative; z-index: 2; max-width: 810px; padding: 150px clamp(24px, 8vw, 130px) 100px; }
.eyebrow { margin: 0 0 22px; color: var(--copper); font: 700 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.hero .eyebrow { color: #e5b184; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 27px; font: 600 clamp(48px, 6vw, 88px)/1.04 var(--serif); letter-spacing: -.035em; }
h1 em { color: #e9b587; font-weight: 500; }
.hero-lead { max-width: 680px; margin-bottom: 35px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.4vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 24px; border: 1px solid transparent; border-radius: 3px;
  font: 700 12px var(--sans); letter-spacing: .04em; transition: .25s ease;
}
.button-primary { background: var(--copper); color: var(--white); border-color: var(--copper); }
.button-primary:hover { background: #cf8e60; border-color: #cf8e60; transform: translateY(-2px); }
.button-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 42px; color: rgba(255,255,255,.55); font: 600 10px var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.trust-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--copper); }
.scroll-cue { position: absolute; z-index: 2; right: clamp(24px, 5vw, 74px); bottom: 42px; display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.65); font: 500 10px var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 16px; }

.section { padding: clamp(85px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.section-intro { max-width: 740px; margin-bottom: 62px; }
.section-intro.wide { max-width: 880px; }
h2 { margin-bottom: 24px; font: 600 clamp(38px, 4.5vw, 65px)/1.08 var(--serif); letter-spacing: -.025em; }
.section-intro > p:last-child, .method-copy > p, .enneagram-copy > p, .about-copy > p, .app-copy > p, .final-cta p {
  color: #5b635f; font-size: 16px; max-width: 700px;
}
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.signal-card { min-height: 310px; padding: 42px; background: var(--paper); }
.signal-card > span { color: var(--copper); font: 700 11px var(--sans); }
.signal-card h3 { margin: 72px 0 17px; font: 600 25px/1.25 var(--serif); }
.signal-card p { margin: 0; color: #666e69; font-size: 14px; }
.manifesto-quote { margin: clamp(80px, 9vw, 140px) 0 0; text-align: center; }
.manifesto-quote p { margin: 0; font: italic 500 clamp(34px, 4.2vw, 62px)/1.25 var(--serif); }

.section-dark { background: var(--ink); color: var(--white); }
.method { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(60px, 8vw, 130px); }
.method-copy > p { color: rgba(255,255,255,.64); }
.method-principles { margin-top: 45px; border-top: 1px solid rgba(255,255,255,.14); }
.method-principles div { display: grid; grid-template-columns: 52px 1fr; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.method-principles b { color: var(--copper); font: 600 11px var(--sans); }
.method-principles span { font-size: 14px; }
.method-orbit { position: relative; width: min(470px, 82vw); aspect-ratio: 1; margin: auto; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; inset: 4%; }
.orbit-two { inset: 20%; }
.orbit-three { inset: 35%; border-color: rgba(189,125,80,.5); }
.orbit-one::before, .orbit-two::before, .orbit-three::before {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); top: 10%; left: 23%;
  box-shadow: 0 0 0 7px rgba(189,125,80,.12);
}
.orbit-two::before { top: auto; left: auto; right: 9%; bottom: 30%; }
.orbit-three::before { top: 50%; left: -4px; }
.orbit-core { position: absolute; inset: 39%; display: grid; place-content: center; text-align: center; background: #202d29; border-radius: 50%; box-shadow: 0 0 70px rgba(189,125,80,.13); }
.orbit-core span { font: 600 37px var(--serif); color: #e7b184; }
.orbit-core small { font: 500 8px var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.orbit-label { position: absolute; padding: 7px 12px; border: 1px solid rgba(255,255,255,.15); background: var(--ink); font: 600 9px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.label-a { left: 3%; top: 20%; }.label-b { right: 2%; top: 15%; }.label-c { right: -2%; top: 50%; }
.label-d { right: 12%; bottom: 9%; }.label-e { left: 10%; bottom: 8%; }.label-f { left: -4%; top: 54%; }

.portals { background: #ede8df; }
.portal-stage { display: grid; grid-template-columns: minmax(400px, .9fr) minmax(340px, .8fr); align-items: center; gap: clamp(60px, 10vw, 160px); }
.portal-wheel { position: relative; width: min(580px, 82vw); aspect-ratio: 1; margin: 20px auto; border: 1px solid rgba(23,32,30,.18); border-radius: 50%; }
.portal-wheel::before, .portal-wheel::after { content:""; position:absolute; inset: 14%; border: 1px solid rgba(23,32,30,.1); border-radius: 50%; }
.portal-wheel::after { inset: 28%; }
.wheel-center { position: absolute; inset: 37%; display: grid; place-content: center; text-align: center; background: var(--ink); color: var(--white); border-radius: 50%; font: 500 9px/1.2 var(--sans); letter-spacing: .16em; z-index: 2; }
.wheel-center b { color: #dfa67c; font-size: 11px; }
.portal-wheel button {
  --angle: calc(var(--i) * 40deg - 90deg);
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 55px; height: 55px; margin: -27px;
  transform: rotate(var(--angle)) translate(calc(min(290px, 41vw))) rotate(calc(-1 * var(--angle)));
  border: 1px solid rgba(23,32,30,.27); border-radius: 50%; background: #ede8df; color: var(--ink);
  font: 600 18px var(--serif); transition: .25s;
}
.portal-wheel button:hover, .portal-wheel button.active { background: var(--copper); color: var(--white); border-color: var(--copper); transform: rotate(var(--angle)) translate(calc(min(290px, 41vw))) rotate(calc(-1 * var(--angle))) scale(1.13); }
.portal-detail { max-width: 520px; }
.portal-number { color: var(--copper); font: 700 10px var(--sans); letter-spacing: .18em; }
.portal-verb { margin: 26px 0 4px; color: #8c918f; font: 600 11px var(--sans); letter-spacing: .15em; }
.portal-detail h3 { margin-bottom: 22px; font: 600 clamp(35px, 3.5vw, 53px)/1.1 var(--serif); }
.portal-description { color: #5c6460; }
.portal-question { margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: italic 500 20px/1.45 var(--serif); }
.text-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font: 700 11px var(--sans); letter-spacing: .04em; }
.text-link span { color: var(--copper); margin-left: 6px; }

.enneagram { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(70px, 10vw, 160px); }
.enneagram-visual { display: grid; place-items: center; }
.ennea-circle { position: relative; width: min(440px, 80vw); aspect-ratio: 1; }
.ennea-circle svg { width: 100%; height: 100%; overflow: visible; }
.ennea-ring, .ennea-triangle, .ennea-hexad { fill: none; stroke-linejoin: round; }
.ennea-ring { stroke: rgba(23,32,30,.32); stroke-width: 1.5; }
.ennea-triangle { stroke: rgba(23,32,30,.72); stroke-width: 2.2; }
.ennea-hexad { stroke: var(--copper); stroke-width: 2.2; }
.ennea-points circle { fill: var(--paper); stroke: var(--copper-dark); stroke-width: 2; }
.ennea-numbers text { fill: var(--ink); font: 600 18px var(--serif); text-anchor: middle; dominant-baseline: middle; }
.enneagram-copy .button { margin-top: 20px; }

.section-warm { background: #d9c3ad; }
.offers .section-intro > p:last-child { color: rgba(23,32,30,.67); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.offer-card { display: flex; flex-direction: column; min-height: 520px; padding: 35px 30px; background: rgba(251,248,242,.73); border: 1px solid rgba(23,32,30,.12); }
.offer-featured { background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: translateY(-14px); }
.offer-kicker { color: var(--copper-dark); font: 700 9px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.offer-featured .offer-kicker { color: #e2aa80; }
.offer-card h3 { margin: 30px 0 20px; font: 600 30px/1.13 var(--serif); }
.offer-card p { color: #626a66; font-size: 13px; }
.offer-featured p { color: rgba(255,255,255,.65); }
.offer-card ul { flex: 1; margin: 25px 0; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; }
.offer-featured ul { border-color: rgba(255,255,255,.14); }
.offer-card li { position: relative; margin: 10px 0; padding-left: 18px; font-size: 12px; }
.offer-card li::before { content: "·"; position: absolute; left: 2px; color: var(--copper); font-weight: 900; }
.offer-card .text-link { align-self: flex-start; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 10vw, 150px); }
.about-portrait { position: relative; overflow: hidden; background: var(--ink); }
.about-portrait img { width: 100%; min-height: 580px; max-height: 680px; object-fit: cover; object-position: 72% center; filter: saturate(.9); }
.about-quote { margin: 32px 0 0; padding: 24px 28px; border-left: 3px solid var(--copper); background: #eee8de; color: var(--ink); font: italic 500 21px/1.45 var(--serif); }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.credentials span { padding: 8px 12px; border: 1px solid var(--line); font: 600 9px var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.app-preview { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; overflow: hidden; }
.app-copy > p { color: rgba(255,255,255,.62); }
.app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 37px 0; }
.app-features span { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }
.app-features b { color: var(--copper); margin-right: 12px; font-size: 9px; }
.phone-wrap { display: flex; justify-content: center; align-items: flex-end; margin-bottom: -235px; }
.phone { width: 320px; min-height: 655px; padding: 11px; border: 2px solid #626b67; border-radius: 46px; background: #0c1210; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.phone-top { position: absolute; width: 95px; height: 23px; margin: 8px 0 0 100px; border-radius: 14px; background: #0c1210; z-index: 2; }
.phone-screen { min-height: 630px; padding: 48px 24px 30px; overflow: hidden; border-radius: 36px; background: #f2ede5; color: var(--ink); }
.phone-brand { font: 500 8px var(--sans); letter-spacing: .15em; }
.phone-brand b { color: var(--copper); }
.phone-screen > p { margin: 70px 0 4px; font-size: 10px; color: #7c817e; }
.phone-screen > h3 { font: 600 31px/1.08 var(--serif); }
.mood-row { display: flex; justify-content: space-between; margin: 30px 0; }
.mood-row i { width: 15px; height: 15px; border: 1px solid #a9afa9; border-radius: 50%; }
.mood-row i.active { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 6px rgba(189,125,80,.14); }
.today-card { padding: 22px; background: var(--ink); color: var(--white); }
.today-card small { font: 600 7px var(--sans); letter-spacing: .15em; color: #c0c7c3; }
.today-card b { display: block; margin: 12px 0 3px; font: 600 55px var(--serif); color: var(--copper); }
.today-card span { display: block; font: 600 17px var(--serif); }
.today-card button { margin-top: 25px; padding: 0; border: 0; background: none; color: var(--white); font-size: 9px; }
.mini-progress { height: 3px; margin-top: 20px; background: #d4d0c8; }
.mini-progress span { display: block; height: 100%; background: var(--copper); }

.final-cta { text-align: center; background: var(--cream); }
.final-cta > div { max-width: 850px; margin: auto; }
.final-cta p { margin: 0 auto 34px; }
.ethics-note { padding: 28px clamp(24px, 8vw, 130px); background: #e7e2d8; }
.ethics-note p { max-width: 1100px; margin: auto; color: #686e6a; font-size: 11px; }
.site-footer { display: grid; grid-template-columns: .7fr 1.3fr .8fr; align-items: start; gap: 45px; padding: 65px clamp(24px, 8vw, 130px) 30px; background: #111816; color: var(--white); }
.site-footer > p { max-width: 430px; color: rgba(255,255,255,.5); font: italic 500 22px/1.4 var(--serif); }
.site-footer nav { display: grid; gap: 8px; font-size: 12px; }
.site-footer nav button { padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.site-footer small { grid-column: 1/-1; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 9px; }

.modal {
  width: min(900px, calc(100vw - 32px)); padding: 0; border: 0; background: var(--paper);
  box-shadow: 0 30px 120px rgba(0,0,0,.35);
}
.modal::backdrop, .app-shell::backdrop { background: rgba(10,15,14,.82); backdrop-filter: blur(8px); }
.modal[open] { display: grid; grid-template-columns: .85fr 1.15fr; animation: modal-in .28s ease; }
.modal-small[open], .modal-assessment[open] { display: block; max-width: 620px; }
.modal-close { position: absolute; z-index: 3; right: 16px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(23,32,30,.08); font-size: 22px; }
.ebook-cover { min-height: 570px; display: flex; flex-direction: column; padding: 55px 40px; background: var(--ink); color: var(--white); }
.ebook-cover small { font: 600 8px var(--sans); letter-spacing: .19em; }
.ebook-cover span { margin-top: 105px; font: 600 48px/1 var(--serif); }
.ebook-cover b { color: var(--copper); font: 600 48px/1 var(--serif); }
.ebook-cover i { width: 52px; height: 1px; margin: 35px 0; background: var(--copper); }
.ebook-cover p { margin-top: auto; color: rgba(255,255,255,.55); font: italic 500 16px/1.5 var(--serif); }
.modal-form { padding: 58px; }
.modal-form h2 { font-size: 43px; }
.modal-form > p:not(.eyebrow) { color: #686e6a; font-size: 13px; }
.modal-form label { display: grid; gap: 6px; margin: 18px 0; color: #5e6561; font: 700 9px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.modal-form input { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #bfc1bc; outline: 0; background: transparent; color: var(--ink); font: 400 14px var(--body); }
.modal-form input:focus { border-color: var(--copper); }
.modal-form .checkbox { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.4; }
.checkbox input { width: 16px; margin-top: 2px; }
.modal-form .button { width: 100%; margin: 10px 0; }
.modal-form > small { display: block; text-align: center; color: #8b8f8c; font-size: 9px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.assessment { padding: 48px; }
.assessment h2 { font-size: 43px; }
.assessment fieldset { margin: 28px 0; padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--line); }
.assessment legend { margin-bottom: 14px; font-weight: 700; }
.assessment label { display: block; margin: 11px 0; padding: 12px; background: #f1ece3; font-size: 13px; cursor: pointer; }
.assessment-contact { margin: 25px 0; padding: 22px; background: #ece6dc; }
.assessment-contact > p { margin-bottom: 12px; }
.assessment-contact label:not(.checkbox) { display: grid; gap: 6px; padding: 0; background: transparent; font: 700 9px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.assessment-contact input[type="text"], .assessment-contact input[type="email"], .assessment-contact input:not([type]) { padding: 11px 0; border: 0; border-bottom: 1px solid #aaa; background: transparent; }
.assessment-result { padding: 25px; background: var(--ink); color: var(--white); }
.assessment-result h3 { font: 600 30px var(--serif); color: #e0a779; }

.app-shell {
  width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0;
  background: #ece7de; color: var(--ink);
}
.app-shell[open] { display: grid; grid-template-columns: 250px 1fr; animation: modal-in .25s ease; }
.app-sidebar { display: flex; flex-direction: column; padding: 32px 26px; background: var(--ink); color: var(--white); }
.app-brand { margin-bottom: 70px; }
.app-sidebar nav { display: grid; gap: 7px; }
.app-sidebar nav button { padding: 13px 15px; border: 0; border-radius: 4px; background: transparent; color: rgba(255,255,255,.58); text-align: left; font: 600 12px var(--sans); }
.app-sidebar nav button:hover, .app-sidebar nav button.active { background: rgba(255,255,255,.08); color: var(--white); }
.app-ethics { margin-top: auto; padding: 15px; border: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.42); font-size: 9px; }
.app-exit { margin-top: 18px; padding: 10px 0; border: 0; background: none; color: rgba(255,255,255,.66); text-align: left; font-size: 11px; }
.app-main { overflow: auto; padding: 45px clamp(25px, 5vw, 75px) 80px; }
.app-mobile-close { position: fixed; right: 18px; top: 15px; z-index: 10; display: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 20px; }
.app-view { display: none; max-width: 1200px; margin: auto; }
.app-view.active { display: block; }
.app-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.app-heading small { color: var(--copper-dark); font: 700 9px var(--sans); letter-spacing: .17em; }
.app-heading h2 { margin: 4px 0 0; font-size: 45px; }
.app-heading > span { color: #777d79; font-size: 11px; }
.app-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkin-card, .current-portal-card { min-height: 330px; padding: 32px; background: var(--paper); border: 1px solid var(--line); }
.checkin-card small, .current-portal-card small { color: var(--copper-dark); font: 700 8px var(--sans); letter-spacing: .16em; }
.checkin-card h3, .current-portal-card h3 { margin: 22px 0; font: 600 28px/1.25 var(--serif); }
.checkin-options { display: flex; gap: 12px; margin: 28px 0 17px; }
.checkin-options button { width: 31px; height: 31px; border: 1px solid #a9aea9; border-radius: 50%; background: none; color: transparent; }
.checkin-options button.selected { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 5px rgba(189,125,80,.13); }
.checkin-card textarea { width: 100%; min-height: 67px; resize: vertical; padding: 10px; border: 1px solid var(--line); background: #f3efe8; }
.mini-button { margin-top: 12px; padding: 8px 13px; border: 0; background: var(--ink); color: var(--white); font: 600 9px var(--sans); }
.current-portal-card { background: var(--ink); color: var(--white); }
.current-portal-card > div { display: flex; justify-content: space-between; align-items: start; }
.current-portal-card b { font: 600 60px var(--serif); color: var(--copper); }
.current-portal-card p { color: rgba(255,255,255,.6); font: italic 500 15px/1.5 var(--serif); }
.portal-progress, .founder-progress { height: 4px; background: rgba(255,255,255,.12); }
.portal-progress span, .founder-progress span { display: block; width: 0; height: 100%; background: var(--copper); transition: .35s; }
.mini-button.light { background: var(--cream); color: var(--ink); }
.app-section-title { margin: 45px 0 20px; font: 600 23px var(--serif); }
.app-portal-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-portal-item { position: relative; min-height: 135px; padding: 20px; border: 1px solid var(--line); background: rgba(251,248,242,.55); }
.app-portal-item.completed { background: #dfe6df; }
.app-portal-item.current { border: 1px solid var(--copper); background: var(--paper); }
.app-portal-item span { color: var(--copper-dark); font: 700 9px var(--sans); }
.app-portal-item h4 { margin: 23px 0 0; font: 600 16px var(--serif); }
.app-portal-item i { position: absolute; right: 14px; top: 12px; color: #5e765f; font-style: normal; font-size: 13px; }

.journal-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.journal-editor { padding: 35px; background: var(--paper); }
.journal-editor label { color: var(--copper-dark); font: 700 9px var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.journal-editor h3 { margin: 18px 0 25px; font: italic 500 28px/1.35 var(--serif); }
.journal-editor textarea { width: 100%; min-height: 300px; padding: 20px; resize: vertical; border: 1px solid var(--line); background: #f0ece4; }
.journal-entries { display: grid; gap: 10px; }
.journal-entry { padding: 18px; background: rgba(251,248,242,.65); border: 1px solid var(--line); }
.journal-entry small { color: #777; }
.journal-entry p { margin: 8px 0 0; font-size: 12px; white-space: pre-wrap; }
.empty-state { padding: 25px; border: 1px dashed #aaa; color: #7a807c; font-size: 12px; }

.founder-progress { margin: -20px 0 30px; background: #d2cec6; }
.founder-lead { max-width: 760px; color: #686e6a; }
.founder-roadmap { display: grid; gap: 18px; margin-top: 35px; }
.roadmap-phase { background: var(--paper); border: 1px solid var(--line); }
.roadmap-phase-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 25px; border-bottom: 1px solid var(--line); }
.roadmap-phase-header small { color: var(--copper-dark); font: 700 8px var(--sans); letter-spacing: .15em; }
.roadmap-phase-header h3 { margin: 5px 0 0; font: 600 22px var(--serif); }
.roadmap-phase-header span { font-size: 10px; color: #777; }
.roadmap-tasks { display: grid; grid-template-columns: 1fr 1fr; }
.roadmap-task { display: flex; align-items: start; gap: 12px; padding: 15px 25px; border-bottom: 1px solid var(--line); font-size: 12px; cursor: pointer; }
.roadmap-task:nth-child(odd) { border-right: 1px solid var(--line); }
.roadmap-task input { margin-top: 3px; accent-color: var(--copper); }
.roadmap-task:has(input:checked) span { color: #8c918e; text-decoration: line-through; }
.library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.library-grid article { min-height: 240px; padding: 30px; background: var(--paper); border: 1px solid var(--line); }
.library-grid article span { color: var(--copper-dark); font: 700 8px var(--sans); letter-spacing: .14em; }
.library-grid article h3 { margin: 34px 0 10px; font: 600 24px var(--serif); }
.library-grid article p { color: #6b716d; font-size: 12px; }
.library-grid article button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; font: 700 9px var(--sans); }
.toast { position: fixed; z-index: 1000; left: 50%; bottom: -100px; transform: translateX(-50%); max-width: calc(100vw - 30px); padding: 13px 20px; border-radius: 3px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); font-size: 12px; transition: .35s; }
.toast.show { bottom: 24px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }

@media (max-width: 1050px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-featured { transform: none; }
  .portal-stage { grid-template-columns: 1fr; }
  .portal-detail { margin: auto; text-align: center; }
  .app-portal-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .site-header { padding: 15px 22px; }
  .menu-button { display: block; color: var(--white); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 22px; background: var(--ink); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(14,20,19,.9), rgba(14,20,19,.48)), linear-gradient(0deg, rgba(14,20,19,.75), transparent); }
  .hero-image { background-position: 66% center; opacity: .8; }
  .hero-content { padding-top: 130px; }
  .scroll-cue { display: none; }
  .signal-grid, .method, .enneagram, .about, .app-preview { grid-template-columns: 1fr; }
  .signal-card { min-height: auto; }
  .signal-card h3 { margin-top: 35px; }
  .method-orbit { margin-top: 40px; }
  .enneagram-copy { order: -1; }
  .about-portrait img { min-height: 500px; }
  .phone-wrap { margin: 30px 0 -300px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1/-1; }
  .app-shell[open] { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-mobile-close { display: block; }
  .app-main { padding-top: 70px; }
  .app-dashboard, .journal-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding-left: 22px; padding-right: 22px; }
  .hero { min-height: 100svh; align-items: start; }
  h1 { margin-bottom: 20px; font-size: 42px; line-height: 1.01; }
  h2 { font-size: 38px; }
  .hero-content { padding: 115px 22px 50px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-lead { margin-bottom: 25px; font-size: 14px; line-height: 1.55; }
  .hero-actions .button { width: 100%; }
  .trust-line { gap: 8px; margin-top: 25px; }
  .offer-grid, .app-features, .library-grid, .roadmap-tasks, .app-portal-list { grid-template-columns: 1fr; }
  .roadmap-task:nth-child(odd) { border-right: 0; }
  .portal-wheel button {
    width: 43px; height: 43px; margin: -21px;
    transform: rotate(var(--angle)) translate(calc(min(290px, 41vw))) rotate(calc(-1 * var(--angle)));
  }
  .portal-wheel button:hover, .portal-wheel button.active {
    transform: rotate(var(--angle)) translate(calc(min(290px, 41vw))) rotate(calc(-1 * var(--angle))) scale(1.08);
  }
  .modal[open] { grid-template-columns: 1fr; }
  .ebook-cover { display: none; }
  .modal-form, .assessment { padding: 42px 24px 28px; }
  .app-heading { align-items: start; flex-direction: column; gap: 5px; }
  .app-heading h2 { font-size: 37px; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
