/* Ahmed Khurshid — Notion-style pages with sunset covers. */
:root {
  --ink: #191919; --ink-2: #37352f; --muted: #787774; --faint: #9b9a97; --line: #ededeb; --line-2: #e3e2e0;
  --soft: #f7f6f3; --chip: #f1f1ef; --bg: #ffffff; --sheet: #ffffff; --mark: #ffcf86; --mark-ink: #191919;
  --dusk: #2b2361; --focus: #2383e2;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --glass: rgba(255,255,255,.9);
  /* aliases used inside framework diagrams */
  --font-body: var(--font); --font-mono: var(--mono); --font-display: var(--font);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: #ffe2b3; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .25s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-in { padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.crumbs { display: flex; align-items: center; gap: 4px; font-size: 14px; min-width: 0; overflow: hidden; white-space: nowrap; }
.crumbs a, .crumbs span { padding: 4px 6px; border-radius: 6px; }
.crumbs a:hover { background: var(--chip); }
.crumbs .sep { color: #c7c7c5; padding: 0; }
.crumbs .here { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.mono { width: 20px; height: 20px; border-radius: 5px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 600; flex: none; letter-spacing: 0; }
.top-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.tlink { font-size: 14px; color: #5f5e5b; padding: 5px 10px; border-radius: 6px; }
.tlink:hover, .tlink[aria-current="page"] { background: var(--chip); color: var(--ink); }
.searchbtn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; color: var(--faint); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px 5px 10px; cursor: pointer; margin-right: 4px; }
.searchbtn:hover { color: var(--ink); border-color: #d3d2cf; }
.kbd { font-size: 11px; border: 1px solid var(--line-2); border-radius: 4px; padding: 0 5px; color: var(--faint); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: #cfcecb; }
.btn-sm { font-size: 14px; padding: 7px 13px; border-radius: 8px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 14px 40px -14px rgba(20,10,40,.6); }

/* cover + page head */
.cover { position: relative; height: 300px; overflow: hidden; background: var(--dusk); }
.cover img { position: absolute; inset: -8% 0 0 0; width: 100%; height: 108%; object-fit: cover; object-position: center 70%; }
.cover.home { height: 340px; }
.cover.home img { inset: 0; height: 100%; object-position: center 72%; }
.page { max-width: 960px; margin: 0 auto; padding: 0 48px 120px; }
.page.narrow { max-width: 820px; }
.pico { width: 104px; height: 104px; border-radius: 24px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; margin-top: -56px; position: relative; box-shadow: 0 0 0 6px #fff, 0 20px 40px -20px rgba(30,15,60,.6); }
.pico svg { width: 44px; height: 44px; }
.ptitle { margin: 28px 0 12px; font-size: clamp(34px, 2.6vw + 16px, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.plede { margin: 0 0 26px; font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.5; color: var(--ink-2); max-width: 720px; letter-spacing: -0.015em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.props { display: grid; grid-template-columns: 150px minmax(0,1fr); margin: 0; font-size: 14px; }
.props dt { display: flex; align-items: center; gap: 8px; color: var(--faint); padding: 7px 0; }
.props dd { margin: 0; padding: 5px 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; min-height: 34px; }
.chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 5px; background: var(--chip); color: var(--ink-2); font-size: 13px; line-height: 1.5; white-space: nowrap; }
a.chip:hover { background: #e7e6e3; }
.c-orange { background: #fbecdd; color: #8a4b1f; } .c-green { background: #dbeddb; color: #2d6a3a; } .c-purple { background: #e8deee; color: #5a3a73; }
.c-blue { background: #ddebf1; color: #285573; } .c-pink { background: #f4dfeb; color: #7a3359; } .c-yellow { background: #fbf3db; color: #7a5b17; }

/* blocks */
.sec { padding-top: 88px; }
.h2 { margin: 0 0 6px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.sub { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.label { margin: 0 0 18px; font-size: 13px; font-weight: 500; color: var(--faint); }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--soft); margin: 22px 0; }
.callout > svg { flex: none; margin-top: 3px; }
.callout p:last-child { margin-bottom: 0; }
.callout.lit { background: #fbf3db; }
.stats { margin: 34px 0 0; padding: 6px; border-radius: 12px; background: var(--soft); display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { padding: 20px; }
.stat b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.statement { margin: 0; font-size: clamp(22px, 1vw + 16px, 30px); line-height: 1.32; font-weight: 500; letter-spacing: -0.025em; text-wrap: pretty; }
.dbbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; font-size: 13px; flex-wrap: wrap; }
.views { display: flex; gap: 2px; }
.view { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; color: var(--faint); background: none; border: 0; font: inherit; font-size: 13px; cursor: pointer; }
.view[aria-pressed="true"] { background: var(--chip); color: var(--ink); font-weight: 500; }
.view:hover { color: var(--ink); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 0; font: inherit; font-size: 13px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }

/* gallery cards with scene + product screen */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }
.gcard { display: flex; flex-direction: column; border: 1px solid #e9e9e7; border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s, border-color .3s; }
.gcard:hover { box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -22px rgba(30,15,60,.35); transform: translateY(-2px); border-color: #dcdbd8; }
.scene { position: relative; display: block; height: 380px; overflow: hidden; background: var(--dusk); }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gcard:hover .scene > img { transform: scale(1.04); }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.6); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -28px rgba(30,15,60,.7); color: var(--ink); }
.scene .glass { position: absolute; left: 28px; right: 28px; bottom: 24px; max-width: 264px; margin: 0 auto; display: block; padding: 14px; }
.gbody { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.gbody .t { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.gbody .d { font-size: 14px; line-height: 1.55; color: #5f5e5b; }
.gbody .p { margin-top: auto; font-size: 12px; color: var(--faint); padding-top: 8px; border-top: 1px solid #f1f1ef; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #e9e9e7; border-radius: 14px; background: #fff; transition: box-shadow .3s, border-color .3s, transform .3s; }
.tcard:hover { box-shadow: 0 14px 32px -22px rgba(30,15,60,.35); border-color: #dcdbd8; transform: translateY(-2px); }
.tcard .t { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.tcard .d { font-size: 14px; color: #5f5e5b; line-height: 1.55; }
.thumb { height: 150px; border-radius: 10px; overflow: hidden; background: var(--dusk); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tcard:hover .thumb img { transform: scale(1.05); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }

/* card UI bits */
.ui-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ui-h > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.ui-tag { font-size: 11px; color: #8a8a8a; background: #f4f4f4; padding: 2px 7px; border-radius: 999px; }
.ui-big { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.ui-row { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: #525252; }
.ui-row b { font-weight: 600; color: var(--ink); }

/* lists, toggles, tables */
.row { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; transition: background .2s; }
.row:hover { background: var(--soft); }
.row .lk { font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-2); line-height: 1.3; }
.row .m { margin-left: auto; font-size: 13px; color: var(--faint); white-space: nowrap; }
details.tg summary { display: flex; align-items: center; gap: 10px; padding: 9px 8px; cursor: pointer; list-style: none; border-radius: 8px; }
details.tg summary::-webkit-details-marker { display: none; }
details.tg summary:hover { background: var(--soft); }
details.tg .tri { flex: none; transition: transform .2s; }
details.tg[open] .tri { transform: rotate(90deg); }
details.tg .tgb { padding: 2px 8px 14px 30px; font-size: 15px; line-height: 1.65; color: #5f5e5b; max-width: 680px; }
details.tg .tgb p { margin: 0 0 10px; }
.tablew { overflow-x: auto; border-top: 1px solid var(--line); }
table.db { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
table.db th { text-align: left; font-weight: 400; color: var(--faint); padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.db td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.db tr:hover td { background: var(--soft); }
.ul { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; transition: background-size .3s; font-weight: 500; }
.ul:hover { background-size: 0% 1px; background-position: 100% 100%; }
.steps { list-style: none; margin: 18px 0 26px; padding: 0; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--soft); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--ink); padding-top: 2px; font-variant-numeric: tabular-nums; }
.steps li b { display: block; color: var(--ink); margin-bottom: 2px; }
.steps li p { margin: 0; color: #5f5e5b; }

/* long-form prose (frameworks and essays) */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * { max-width: 720px; }
.prose h2 { margin: 52px 0 12px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.prose h3 { margin: 32px 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.prose h4 { margin: 22px 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { border-bottom: 1px solid var(--line-2); color: var(--ink); }
.prose a:hover { border-bottom-color: var(--ink); }
.prose ul, .prose ol:not(.steps) { padding-left: 1.3em; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ink); font-size: 20px; line-height: 1.45; color: var(--ink); letter-spacing: -0.015em; }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--chip); padding: .1em .35em; border-radius: 5px; }
.prose .anchor { opacity: 0; margin-left: 8px; color: var(--faint); border: 0; font-weight: 400; transition: opacity .15s; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; color: var(--faint); font-size: 13px; }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { margin: 0; }
.eq { font: 500 15px/1.6 var(--mono); padding: 14px 16px; border-radius: 10px; background: var(--soft); overflow-x: auto; white-space: nowrap; margin: 18px 0; color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 18px 0; }
.tile { border-radius: 12px; padding: 18px; background: var(--soft); }
.tile > :first-child { margin-top: 0; }
.tile p:last-child { margin-bottom: 0; }
.tile .n { display: block; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.tile h3, .tile h4 { margin-top: 0; }
.diagram { margin: 26px 0; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 13px; color: var(--faint); margin-top: 8px; }
.tldr { padding: 18px 20px; border-radius: 12px; background: #fbf3db; margin: 30px 0 8px; max-width: 720px; }
.tldr .label { margin: 0 0 6px; color: #7a5b17; }
.tldr p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding: 18px 20px; border-radius: 12px; background: var(--soft); max-width: 720px; }
.byline .pm { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 600; flex: none; }
.byline p { margin: 0; font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); }
.pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; max-width: 720px; }
.pn a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.pn a:hover { border-color: var(--ink); }
.pn small { display: block; font-size: 12px; color: var(--faint); margin-bottom: 3px; }

/* video */
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--dusk); }
.vframe > img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 0 0 10px rgba(255,255,255,.16), 0 24px 60px -20px rgba(30,15,60,.8); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.play:hover { transform: scale(1.07); }
.vbar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 13px; color: #525252; }
.vnote { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17,12,30,.62); color: #fff; font-size: 17px; text-align: center; padding: 24px; }

/* sunset call to action */
.cta { margin-top: 88px; position: relative; border-radius: 18px; overflow: hidden; padding: 72px 40px 84px; color: #fff; background: linear-gradient(180deg, #151a46 0%, #33296b 36%, #743f84 62%, #c85f7f 82%, #f08d62 100%); }
.cta .stars { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.85), transparent), radial-gradient(1px 1px at 28% 30%, rgba(255,255,255,.6), transparent), radial-gradient(1.4px 1.4px at 46% 12%, rgba(255,255,255,.85), transparent), radial-gradient(1px 1px at 63% 24%, rgba(255,255,255,.55), transparent), radial-gradient(1.2px 1.2px at 81% 14%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 91% 34%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 6% 40%, rgba(255,255,255,.5), transparent); }
.cta .glow { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: radial-gradient(60% 80% at 50% 100%, rgba(255,207,134,.55), rgba(255,207,134,0)); }
.cta .sun { position: absolute; left: 50%; bottom: -150px; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0%, #ffd79a 38%, rgba(255,183,104,.5) 56%, rgba(255,183,104,0) 72%); }
.cta-in { position: relative; max-width: 560px; margin: 0 auto; text-align: center; }
.cta h2 { margin: 0 0 14px; font-size: clamp(32px, 2vw + 18px, 44px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.cta p { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.86); }
.cta small { display: block; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.78); }

/* form */
.form { display: grid; gap: 14px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--faint); }
.field input, .field textarea, .field select { font: inherit; font-size: 15px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #cfcecb; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 400; cursor: pointer; }
.radios input { accent-color: var(--ink); width: auto; }
.radios label:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.hp { position: absolute; left: -5000px; }
.formmsg { font-size: 14px; padding: 12px 14px; border-radius: 10px; }
.formmsg.ok { background: #dbeddb; color: #1f4d2a; }
.formmsg.err { background: #fbe4e4; color: #7a2323; }

/* footer, outline, palette */
.foot { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; font-size: 13px; color: var(--faint); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: #5f5e5b; }
.foot nav a:hover { color: var(--ink); }
.foot .copy { grid-column: 1 / -1; padding-top: 12px; }
.outline { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 12px; transition: background .2s, box-shadow .2s; }
.outline a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 4px 2px; font-size: 12px; color: var(--faint); }
.outline .oll { opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; }
.outline .olb { display: block; width: 14px; height: 2px; border-radius: 1px; background: #d6d5d2; transition: width .25s, background .25s; }
.outline:hover { background: rgba(255,255,255,.94); box-shadow: 0 8px 30px -12px rgba(0,0,0,.18); }
.outline:hover .oll { opacity: 1; transform: none; }
.outline a.on { color: var(--ink); }
.outline a.on .olb { width: 22px; background: var(--ink); }
.pal { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(15,15,15,.32); }
.pal.open { display: flex; }
.pal-box { width: min(600px, 100%); background: #fff; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: hidden; }
.pal-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: 17px; padding: 16px 18px; outline: none; }
.pal-list { list-style: none; margin: 0; padding: 6px; max-height: 52vh; overflow-y: auto; }
.pal-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); }
.pal-list a small { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.pal-list a.sel { background: var(--soft); color: var(--ink); }
.pal-empty { padding: 16px; color: var(--faint); font-size: 14px; }

@media (max-width: 1240px) { .outline { display: none !important; } }
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .page { padding: 0 20px 80px; }
  .cover, .cover.home { height: 220px; }
  .gal { grid-template-columns: minmax(0, 1fr); }
  .scene { height: 320px; }
  .cta { padding: 56px 22px 64px; }
  .props { grid-template-columns: 110px minmax(0, 1fr); }
  .topbar-in { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .gcard, .scene > img, .play, .tcard, .thumb img { transition: none; } }
.pico { overflow: hidden; background: #2b2b2b; }
.pico img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.byline .pm { overflow: hidden; padding: 0; }
.byline .pm img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- v2: app mockups on scenes ---------- */
.scene .glass.app { left: 26px; right: auto; bottom: 26px; width: 300px; max-width: calc(100% - 52px); margin: 0; padding: 0; overflow: hidden; }
.scene .toast { position: absolute; right: 22px; top: 22px; left: auto; bottom: auto; margin: 0; width: 228px; max-width: calc(100% - 44px); padding: 10px 12px; display: flex; gap: 10px; align-items: center; border-radius: 14px; font-size: 12px; line-height: 1.35; }
.toast .ti { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; font-size: 12px; font-weight: 600; }
.toast b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.toast span { color: #6b6a67; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 12px; font-weight: 600; }
.app-bar .an { display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-bar .an i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; flex: none; }
.app-bar .an em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-in { display: block; padding: 12px; }
.app-k { display: block; }
.app-k { font-size: 11px; color: #8a8a87; font-weight: 500; letter-spacing: .01em; }
.app-big { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.pill.g { color: #15803d; background: #e7f6ec; } .pill.o { color: #b4540a; background: #fdf0e4; } .pill.b { color: #1d5fbf; background: #e8f0fc; } .pill.n { color: #57564f; background: #f1f1ef; }
.vrow { display: grid; grid-template-columns: 54px 1fr 46px; align-items: center; gap: 8px; font-size: 11.5px; margin-top: 8px; }
.vrow .bar { height: 8px; border-radius: 4px; background: #efefed; overflow: hidden; }
.vrow .bar i { display: block; height: 100%; border-radius: 4px; background: #c9c8c4; }
.vrow.win .bar i { background: #191919; }
.vrow b { text-align: right; font-variant-numeric: tabular-nums; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 9px; line-height: 1; font-weight: 700; flex: none; border: 2px solid #fff; }
.avs { display: flex; } .avs .av + .av { margin-left: -7px; }
.lrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; border-top: 1px solid rgba(0,0,0,.05); }
.lrow:first-child { border-top: 0; }
.lrow .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dots i { height: 22px; border-radius: 6px; background: #efefed; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 600; color: #a3a3a3; }
.dots i.d { background: #191919; color: #fff; } .dots i.t { background: #f08d62; color: #fff; }
.task { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #f6f6f4; font-size: 12px; }
.task .cb { width: 15px; height: 15px; border-radius: 4px; background: #191919; display: grid; place-items: center; flex: none; }
.eqrow { display: flex; align-items: baseline; justify-content: space-between; padding: 5px 0; font-size: 12px; border-bottom: 1px dashed rgba(0,0,0,.08); }
.eqrow b { font-variant-numeric: tabular-nums; }
.eqrow .up { color: #15803d; font-weight: 600; font-size: 11px; margin-left: 6px; }
.scene.tall { height: 440px; }
@media (max-width: 720px) { .scene .toast { display: none; } .scene .glass.app { left: 16px; right: 16px; width: auto; max-width: none; bottom: 16px; } .scene.tall { height: 400px; } }

/* ---------- v2: celebrity home ---------- */
.cover.home { height: 420px; }
.pico.xl { width: 148px; height: 148px; border-radius: 34px; margin-top: -84px; box-shadow: 0 0 0 7px #fff, 0 30px 60px -24px rgba(30,15,60,.7); }
.kicker { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; }
.kicker span { font-size: 12.5px; font-weight: 500; color: #5f5e5b; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.ptitle.xl { font-size: clamp(44px, 5vw + 12px, 76px); letter-spacing: -0.045em; line-height: 1; margin-top: 16px; }
.marquee { position: relative; overflow: hidden; margin: 56px -48px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-t { display: flex; gap: 46px; width: max-content; animation: mq 60s linear infinite; }
.marquee:hover .marquee-t { animation-play-state: paused; }
.marquee-t span { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #b3b2ae; white-space: nowrap; }
.marquee-t span:nth-child(3n+1) { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.marquee-t span:nth-child(3n+2) { font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
.marquee-cap { text-align: center; font-size: 12px; color: var(--faint); margin: 14px 0 0; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-t { animation: none; } }
.known { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.known a { background: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; transition: background .2s; }
.known a:hover { background: var(--soft); }
.known small { font-size: 12px; color: var(--faint); font-weight: 500; }
.known b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.known span { font-size: 13.5px; color: #5f5e5b; line-height: 1.5; }
.bigquote { margin: 0; padding: 44px 0 0; }
.bigquote p { margin: 0; font-size: clamp(26px, 2vw + 14px, 38px); line-height: 1.22; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.bigquote p::before { content: "“"; color: #f08d62; margin-left: -.42em; }
.bigquote footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.bigquote footer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.bigquote footer b { color: var(--ink); font-weight: 600; display: block; }
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lines > * { position: relative; padding: 22px 20px 20px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 10px; min-height: 170px; transition: background .2s, transform .3s; }
.lines a:hover { background: #f1efe9; transform: translateY(-2px); }
.lines q { quotes: none; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.lines span { margin-top: auto; font-size: 13px; color: var(--muted); }
.follow { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; margin-top: 18px; }
.follow img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.follow div { flex: 1; } .follow b { display: block; font-weight: 600; } .follow span { font-size: 14px; color: var(--muted); }
.portrait { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; margin-top: 44px; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(30,15,60,.55); }
.portrait p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.bio { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.bio small { display: block; font-size: 12px; color: var(--faint); font-weight: 500; margin-bottom: 6px; }
.bio p { margin: 0; font-size: 15px; line-height: 1.6; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--soft); }
@media (max-width: 720px) {
  .pico.xl { width: 116px; height: 116px; border-radius: 28px; margin-top: -64px; }
  .cover.home { height: 300px; }
  .marquee { margin: 40px -20px 0; }
  .known, .lines { grid-template-columns: 1fr; }
  .portrait { grid-template-columns: 1fr; }
  .portrait img { max-width: 260px; }
}

/* ---------- v2: frameworks ---------- */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.glance div { padding: 18px; border-radius: 12px; background: var(--soft); }
.glance b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.glance span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.feature { margin-top: 36px; border-radius: 16px; overflow: hidden; border: 1px solid #e9e9e7; }
.tool { margin: 22px 0 0; padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #fff, #fbfaf8); }
.tool-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.tool label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tool label output { float: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.tool input[type=range] { width: 100%; margin: 10px 0 0; accent-color: #191919; }
.tool input[type=number] { width: 100%; margin-top: 6px; font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.tool-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.tool-out div { padding: 14px; border-radius: 12px; background: var(--soft); }
.tool-out div.hl { background: #191919; color: #fff; }
.tool-out small { display: block; font-size: 12px; opacity: .7; }
.tool-out b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.tool-note { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
.checks { display: grid; gap: 8px; }
.checks label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s; }
.checks label:hover { border-color: #cfcdc8; }
.checks input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #191919; flex: none; }
.checks small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.verdict { margin-top: 14px; padding: 16px 18px; border-radius: 12px; background: var(--soft); font-size: 15px; transition: background .3s; }
.verdict b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.verdict.go { background: #191919; color: #fff; }
.mistakes .tg summary span { font-weight: 500; }
@media (max-width: 720px) { .glance, .tool-g, .tool-out { grid-template-columns: 1fr; } }
.stat b span { display: inline; font-size: inherit; color: inherit; margin: 0; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { padding: 16px; } .stat b { font-size: 30px; } }
.lines .face-card { padding-top: 0; overflow: hidden; }
.lines .face { display: block; margin: 0 -20px 8px; height: 168px; overflow: hidden; }
.lines .face svg { display: block; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.lines .face-card:hover .face svg { transform: scale(1.04); }
.lines .face-card > span:last-child { margin-top: 0; }

/* ---------- v3: transparent header over the cover ---------- */
body.oncover .topbar { position: fixed; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; transition: background .35s, border-color .35s, backdrop-filter .35s, box-shadow .35s; }
body.oncover .topbar:not(.solid) .brand, body.oncover .topbar:not(.solid) .crumbs a, body.oncover .topbar:not(.solid) .crumbs .here { color: #fff; }
body.oncover .topbar:not(.solid) .crumbs .sep { color: rgba(255,255,255,.5); }
body.oncover .topbar:not(.solid) .crumbs a:hover, body.oncover .topbar:not(.solid) .tlink:hover, body.oncover .topbar:not(.solid) .tlink[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
body.oncover .topbar:not(.solid) .tlink { color: rgba(255,255,255,.88); }
body.oncover .topbar:not(.solid) .searchbtn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.9); }
body.oncover .topbar:not(.solid) .kbd { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); }
body.oncover .topbar:not(.solid) .btn-dark { background: #fff; color: #191919; }
body.oncover .topbar:not(.solid) .avatar { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
body.oncover .topbar.solid { background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.cover { height: 380px; }
.cover::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(rgba(18,10,40,.42), rgba(18,10,40,0)); z-index: 9; pointer-events: none; }

/* ---------- v3: the living home banner ---------- */
.cover.home { height: clamp(560px, 84vh, 880px); }
.cover.home > img { position: absolute; inset: -4% -2% 0 -2%; width: 104%; height: 104%; object-fit: cover; object-position: center 78%; will-change: transform; }
.cover.home .l-sky { z-index: 0; } .c-stars { z-index: 1; } .c-glow { z-index: 1; } .c-clouds { z-index: 2; } .cover.home .l-far { z-index: 3; } .c-birds { z-index: 4; } .cover.home .l-mid { z-index: 5; } .cover.home .l-near { z-index: 6; } .c-motes { z-index: 7; } .c-scrim { z-index: 8; }
.c-scrim { position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(rgba(36,25,61,0), rgba(36,25,61,.35)); pointer-events: none; }
.c-stars { position: absolute; inset: 0; pointer-events: none; }
.c-stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff6dc; box-shadow: 0 0 6px 1px rgba(255,240,210,.7); animation: tw 3.6s ease-in-out var(--d) infinite; opacity: .2; }
@keyframes tw { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.c-glow { position: absolute; left: 50%; top: 58%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,150,.55), rgba(255,170,110,.18) 55%, rgba(255,150,110,0)); mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.c-clouds { position: absolute; inset: 0; pointer-events: none; }
.c-clouds i { position: absolute; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,205,190,.55), rgba(255,180,170,0)); filter: blur(2px); animation: drift linear infinite; }
.c-clouds i:nth-child(1) { top: 16%; width: 46%; animation-duration: 95s; animation-delay: -20s; }
.c-clouds i:nth-child(2) { top: 27%; width: 34%; height: 18px; animation-duration: 120s; animation-delay: -70s; opacity: .8; }
.c-clouds i:nth-child(3) { top: 9%; width: 28%; height: 14px; animation-duration: 140s; animation-delay: -40s; opacity: .6; }
.c-clouds i:nth-child(4) { top: 36%; width: 52%; height: 30px; animation-duration: 110s; animation-delay: -95s; opacity: .55; }
@keyframes drift { from { transform: translateX(-60vw); } to { transform: translateX(160vw); } }
.c-birds { position: absolute; top: 22%; left: 0; width: 120px; height: 32px; fill: none; stroke: #2a1d45; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: fly 32s linear 2s infinite; opacity: 0; }
.c-birds .bird path { animation: flap .9s ease-in-out var(--d) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes fly { 0% { transform: translate(-15vw, 40px) scale(.8); opacity: 0; } 6% { opacity: .9; } 50% { transform: translate(50vw, -10px) scale(.9); } 92% { opacity: .9; } 100% { transform: translate(115vw, 20px) scale(.75); opacity: 0; } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.55); } }
.c-motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.c-motes i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffd9a0; box-shadow: 0 0 10px 2px rgba(255,200,130,.65); opacity: 0; animation: rise var(--t) linear var(--d) infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 70% { opacity: .6; } 100% { transform: translate(var(--x), -78vh); opacity: 0; } }
.tagline { margin: 26px 0 0; font-size: clamp(15px, .35vw + 13px, 17px); line-height: 1.5; color: #5f5e5b; max-width: 640px; letter-spacing: -0.01em; }
.tagline b { font-weight: 600; background: linear-gradient(90deg, #d35f74, #f08d62); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 720px) { .cover { height: 260px; } .cover.home { height: 72vh; min-height: 460px; } .c-birds { display: none; } .cover.home > img { object-position: 58% 80%; } }
@media (prefers-reduced-motion: reduce) { .c-stars i, .c-glow, .c-clouds i, .c-birds, .c-birds path, .c-motes i { animation: none !important; } .c-motes, .c-birds { display: none; } }

/* ---------- v4: simpler, smaller gallery ---------- */
.scene { height: 270px; }
.scene.tall { height: 330px; }
.scene .glass.app.mini { width: 232px; left: 22px; bottom: 22px; }
.app-line { display: block; font-size: 11.5px; color: #6b6a67; margin-top: 4px; line-height: 1.4; }
.app.mini .app-big { font-size: 26px; }
.dots i { height: 10px; border-radius: 3px; }
.cover { z-index: 0; isolation: isolate; }
.cover.home > img { max-width: none; }
.pico { z-index: 3; }
@media (max-width: 720px) { .scene { height: 240px; } .scene.tall { height: 280px; } .scene .glass.app.mini { right: auto; width: 220px; } }

/* ---------- v4: known for ---------- */
.known2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.known2 a { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 20px; border-radius: 18px; color: #fff; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.known2 a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.known2 a::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -80px; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255,222,170,.55), rgba(255,222,170,0)); transition: transform .6s var(--ease); }
.known2 a:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -26px rgba(43,35,97,.7); }
.known2 a:hover::after { transform: scale(1.25); }
.known2 .kb { display: flex; justify-content: space-between; align-items: center; }
.known2 .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.known2 small { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16); }
.known2 b { margin-top: auto; font-size: 20px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; }
.known2 span.d { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
@media (max-width: 720px) { .known2 { grid-template-columns: 1fr; } .known2 a { min-height: 170px; } }
.lines .face-card { padding-top: 14px; }
.lines .face { margin: 0 0 4px; height: 168px; display: grid; place-items: center; overflow: visible; }
.lines .face svg { width: auto; height: 100%; filter: drop-shadow(0 14px 18px rgba(43,35,97,.12)); transition: transform .5s var(--ease); }
.lines .face-card:hover .face svg { transform: translateY(-4px) rotate(-2deg) scale(1.03); }

/* ---------- v5: living banner ---------- */
.cover.home { height: clamp(380px, 50vh, 500px); background: #1b1640; }
.stage { position: absolute; left: 50%; bottom: 0; width: max(104%, 1520px); aspect-ratio: 3200 / 1100; transform: translateX(-50%); }
.stage > img, .b-fg > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; }
.b-fg { position: absolute; inset: 0; }
.b-stars { position: absolute; inset: 0; }
.b-stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff6dc; box-shadow: 0 0 6px 1px rgba(255,240,210,.7); animation: tw 3.4s ease-in-out var(--d) infinite; }
.b-rays { position: absolute; left: 50%; top: 64%; width: 1700px; height: 1700px; margin: -850px 0 0 -850px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,226,180,0) 0deg 5deg, rgba(255,226,180,.16) 6deg 8deg, rgba(255,226,180,0) 9deg 14deg); -webkit-mask-image: radial-gradient(closest-side, #000 8%, rgba(0,0,0,.5) 35%, transparent 70%); mask-image: radial-gradient(closest-side, #000 8%, rgba(0,0,0,.5) 35%, transparent 70%); mix-blend-mode: screen; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.b-glow { position: absolute; left: 50%; top: 64%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,220,160,.7), rgba(255,180,120,.22) 45%, rgba(255,160,110,0)); mix-blend-mode: screen; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
.b-cl { position: absolute; inset: 0; overflow: hidden; }
.b-drift { position: absolute; top: 0; left: 0; width: 200%; height: 100%; display: flex; animation: slide 150s linear infinite; }
.b-drift img { width: 50%; height: 100%; flex: none; max-width: none; }
.b-clb .b-drift { animation-duration: 95s; }
@keyframes slide { to { transform: translateX(-50%); } }
.b-plane { position: absolute; top: 33%; left: 0; width: 120px; height: 10px; animation: plane 48s linear 3s infinite; opacity: 0; }
.b-plane .blink { animation: blink 1.3s steps(1) infinite; }
@keyframes plane { 0% { transform: translateX(-10vw) translateY(10px); opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } 100% { transform: translateX(110vw) translateY(-24px); opacity: 0; } }
@keyframes blink { 0%, 60% { opacity: 0; } 61%, 100% { opacity: 1; } }
.b-birds { position: absolute; top: 46%; left: 0; width: 150px; height: 28px; fill: none; stroke: #23183f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: birds 22s linear 1s infinite; opacity: 0; }
.b-birds path { animation: flap .8s ease-in-out var(--d) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes birds { 0% { transform: translate(-12vw, 30px) scale(.85); opacity: 0; } 5% { opacity: .95; } 55% { transform: translate(55vw, -16px) scale(1); } 95% { opacity: .95; } 100% { transform: translate(112vw, 6px) scale(.8); opacity: 0; } }
.b-lit { animation: flick 5s ease-in-out infinite alternate; }
.b-lit.l2 { animation-duration: 6.3s; animation-delay: -2s; }
.b-lit.l3 { animation-duration: 7.7s; animation-delay: -4s; }
@keyframes flick { 0% { opacity: 1; } 35% { opacity: .25; } 60% { opacity: .9; } 100% { opacity: .45; } }
.b-road { position: absolute; left: 0; right: 0; top: 95.6%; height: 4.4%; overflow: hidden; }
.b-road i { position: absolute; left: 0; width: 38px; height: 4px; border-radius: 4px; animation: var(--t) linear var(--d) infinite; }
.b-road i.hd { top: 22%; background: linear-gradient(90deg, rgba(255,240,200,0), #fff1c9); box-shadow: 0 0 10px 3px rgba(255,226,160,.55); animation-name: east; }
.b-road i.tl { top: 64%; background: linear-gradient(270deg, rgba(255,80,70,0), #ff5a4a); box-shadow: 0 0 9px 3px rgba(255,70,60,.5); animation-name: west; }
@keyframes east { from { transform: translateX(-60px); } to { transform: translateX(3260px); } }
@keyframes west { from { transform: translateX(3260px); } to { transform: translateX(-60px); } }
.b-motes { position: absolute; inset: 0; overflow: hidden; }
.b-motes i { position: absolute; bottom: 4%; width: 4px; height: 4px; border-radius: 50%; background: #ffd9a0; box-shadow: 0 0 10px 2px rgba(255,200,130,.6); opacity: 0; animation: rise var(--t) linear var(--d) infinite; }
.b-scrim { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(rgba(27,22,64,0), rgba(27,22,64,.25)); pointer-events: none; z-index: 2; }
@media (max-width: 720px) { .cover.home { height: 320px; min-height: 0; } .stage { width: max(100%, 940px); } .b-plane, .b-birds { display: none; } .b-rays { width: 1000px; height: 1000px; margin: -500px 0 0 -500px; } }
@media (prefers-reduced-motion: reduce) { .b-stars i, .b-rays, .b-glow, .b-drift, .b-plane, .b-plane .blink, .b-birds, .b-birds path, .b-lit, .b-road i, .b-motes i { animation: none !important; } .b-plane, .b-birds, .b-motes { display: none; } }
.lines .face svg .head, .lines .face svg .eye { transform-box: fill-box; transform-origin: center; }
.face-card:hover .face svg { animation: bob .7s var(--ease); }
.face-card:hover .eye.coin { animation: coinspin 1.1s ease-in-out infinite; }
.face-card:hover .eye.star { animation: starpop .55s ease-in-out infinite alternate; }
.face-card:hover .eye.flame { animation: flicker .18s ease-in-out infinite alternate; }
.face-card:hover .head { animation: tilt 1.6s ease-in-out infinite; }
@keyframes bob { 0% { transform: translateY(0); } 40% { transform: translateY(-10px) scale(1.04); } 100% { transform: translateY(-4px) scale(1.03); } }
@keyframes coinspin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
@keyframes starpop { from { transform: scale(.9) rotate(-8deg); } to { transform: scale(1.18) rotate(8deg); } }
@keyframes flicker { from { transform: scaleY(.88) skewX(-3deg); } to { transform: scaleY(1.14) skewX(3deg); } }
@keyframes tilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .face-card:hover .face svg, .face-card:hover .eye, .face-card:hover .head { animation: none !important; } }
.b-drift img { position: relative !important; inset: auto !important; top: 0; left: 0; width: 50% !important; height: 100% !important; object-fit: fill; }
/* v6: calmer banner */
.b-drift { animation-duration: 240s; } .b-clb .b-drift { animation-duration: 170s; }
.b-lit { animation: glow-soft 9s ease-in-out infinite alternate; }
.b-lit.l2 { animation-duration: 12s; animation-delay: -4s; } .b-lit.l3 { animation-duration: 15s; animation-delay: -8s; }
@keyframes glow-soft { 0% { opacity: 1; } 100% { opacity: .55; } }
.b-glow { top: 60.5%; animation-duration: 9s; }
.b-birds { top: 40%; animation-duration: 34s; animation-delay: 4s; opacity: 0; }
.b-stars i { box-shadow: 0 0 4px rgba(255,240,210,.6); }

/* ---------- v6: section headings ---------- */
.eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c0577a; }
.display { margin: 0 0 34px; font-size: clamp(30px, 2.4vw + 14px, 46px); line-height: 1.06; font-weight: 700; letter-spacing: -0.04em; max-width: 820px; text-wrap: balance; }
.display span { color: #a5a39e; }

/* ---------- v6: four leaks, tabbed feature ---------- */
.leakx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.lk-list { display: flex; flex-direction: column; }
.lk-tab { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; text-align: left; padding: 18px 4px 18px 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: var(--ink); cursor: pointer; }
.lk-tab:last-child { border-bottom: 1px solid var(--line); }
.lk-n { font-size: 12px; font-weight: 600; color: #b9b7b2; padding-top: 4px; font-variant-numeric: tabular-nums; transition: color .3s; }
.lk-t { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a5a39e; transition: color .3s; }
.lk-h { display: block; margin-top: 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: #b9b7b2; transition: color .3s; }
.lk-d { display: grid; grid-template-rows: 0fr; overflow: hidden; font-size: 14.5px; line-height: 1.6; color: #5f5e5b; transition: grid-template-rows .5s var(--ease), margin .5s var(--ease); }
.lk-d > * { min-height: 0; }
.lk-d a { color: var(--ink); font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.lk-tab[aria-selected="true"] .lk-n, .lk-tab[aria-selected="true"] .lk-h { color: var(--ink); }
.lk-tab[aria-selected="true"] .lk-t { color: #c0577a; }
.lk-tab[aria-selected="true"] .lk-d { grid-template-rows: 1fr; margin-top: 8px; }
.lk-tab:hover .lk-h { color: var(--ink); }
.lk-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.lk-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #c4467a, #f08d62); transform: scaleX(0); transform-origin: left; }
.lk-tab[aria-selected="true"] .lk-bar i { animation: lkfill var(--lk-dur, 6.5s) linear forwards; }
.leakx.paused .lk-tab[aria-selected="true"] .lk-bar i { animation-play-state: paused; }
@keyframes lkfill { to { transform: scaleX(1); } }
.lk-stage { position: relative; min-height: 440px; border-radius: 22px; overflow: hidden; background: #241a45; box-shadow: 0 40px 80px -40px rgba(43,35,97,.55); }
.lk-pane { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.lk-pane.on { opacity: 1; transform: scale(1); }
.lk-pane > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lk-pane .glass.app.mini { position: absolute; left: 26px; bottom: 26px; width: 250px; opacity: 0; transform: translateY(16px); transition: opacity .6s .25s var(--ease), transform .8s .25s var(--ease); }
.lk-pane.on .glass.app.mini { opacity: 1; transform: none; }
.lk-pane figcaption { position: absolute; right: 18px; top: 18px; max-width: 60%; padding: 6px 11px; border-radius: 999px; font-size: 12px; color: #fff; background: rgba(20,14,40,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
@media (max-width: 900px) { .leakx { grid-template-columns: 1fr; } .lk-stage { min-height: 340px; order: -1; } }

/* ---------- v6: known-for index ---------- */
.index { position: relative; border-top: 1px solid var(--ink); }
.ix { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) 28px; align-items: center; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), opacity .3s; }
.ix-k { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #a5a39e; }
.ix-t { font-size: clamp(22px, 1.4vw + 12px, 32px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.ix-d { font-size: 14.5px; line-height: 1.5; color: #6b6a66; }
.ix-a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; transform: translateX(-8px) rotate(-45deg); transition: opacity .3s, transform .4s var(--ease); }
.index:hover .ix { opacity: .38; }
.index .ix:hover { opacity: 1; padding-left: 14px; }
.ix:hover .ix-a { opacity: 1; transform: none; }
.ix-prev { position: absolute; left: 0; top: 0; width: 240px; height: 160px; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -24px rgba(43,35,97,.6); z-index: 5; }
.ix-prev img { width: 100%; height: 100%; object-fit: cover; }
.index.show .ix-prev { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (max-width: 720px) { .ix { grid-template-columns: 1fr 28px; gap: 6px 12px; } .ix-k { grid-column: 1 / -1; } .ix-d { grid-column: 1 / 2; } .ix-a { opacity: 1; transform: none; grid-row: 2; grid-column: 2; } .index:hover .ix { opacity: 1; } .ix-prev { display: none; } }

/* ---------- v6: framework editions ---------- */
.eds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.ed { position: relative; display: block; aspect-ratio: 4 / 5.2; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 24px 50px -30px rgba(30,15,60,.6); }
.ed:hover { box-shadow: 0 40px 80px -34px rgba(30,15,60,.75); }
.ed-img, .ed-shade, .ed-spot { position: absolute; inset: 0; }
.ed-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.ed:hover .ed-img img { transform: scale(1.12); }
.ed-shade { background: linear-gradient(180deg, rgba(20,14,40,.25) 0%, rgba(20,14,40,0) 30%, rgba(20,14,40,.55) 62%, rgba(16,10,34,.94) 100%); }
.ed-spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255,230,190,.22), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: screen; }
.ed:hover .ed-spot { opacity: 1; }
.ed-top { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ed-top span:last-child { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); letter-spacing: .04em; }
.ed-bot { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.ed-bot b { font-size: clamp(22px, 1vw + 14px, 28px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.ed-bot > span:not(.ed-cta) { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.ed-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13.5px; font-weight: 600; opacity: .85; transition: gap .3s var(--ease), opacity .3s; }
.ed:hover .ed-cta { gap: 12px; opacity: 1; }
@media (max-width: 900px) { .eds { grid-template-columns: 1fr; } .ed { aspect-ratio: 4 / 3.4; } }

/* ---------- v6: closing note with signature ---------- */
.cta2 { margin-top: 96px; position: relative; border-radius: 26px; overflow: hidden; padding: 64px 56px; color: #fff; background: linear-gradient(180deg, #151a46 0%, #2c2462 32%, #5f377a 58%, #a9507b 80%, #e57b6c 100%); }
.cta2 .stars, .cta2 .glow, .cta2 .sun { position: absolute; }
.cta2 .stars { inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.85), transparent), radial-gradient(1px 1px at 28% 30%, rgba(255,255,255,.6), transparent), radial-gradient(1.4px 1.4px at 46% 12%, rgba(255,255,255,.85), transparent), radial-gradient(1px 1px at 63% 24%, rgba(255,255,255,.55), transparent), radial-gradient(1.2px 1.2px at 81% 14%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 91% 34%, rgba(255,255,255,.5), transparent); }
.cta2 .glow { left: 0; right: 0; bottom: 0; height: 60%; background: radial-gradient(60% 80% at 70% 100%, rgba(255,207,134,.5), rgba(255,207,134,0)); }
.cta2 .sun { right: 12%; bottom: -170px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0%, #ffd79a 38%, rgba(255,183,104,.5) 56%, rgba(255,183,104,0) 72%); }
.cta2-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: end; }
.cta2-k { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffc9a8; }
.letter h2 { margin: 0 0 18px; font-size: clamp(26px, 1.6vw + 16px, 36px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.letter p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 560px; }
.sig { display: block; width: 260px; max-width: 70%; height: auto; margin: 18px 0 10px -6px; overflow: visible; }
.sig path { fill: #ffe6c7; stroke: #ffe6c7; stroke-width: 6; fill-opacity: 0; }
.sig.drawn path { animation: sigfill .9s ease 2.2s forwards; }
@keyframes sigfill { to { fill-opacity: 1; stroke-width: 0; } }
.cta2-who { display: flex; align-items: center; gap: 12px; margin: 6px 0 0 !important; font-size: 13px !important; }
.cta2-who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.cta2-who b { display: block; color: #fff; font-size: 14px; }
.bookcard { background: rgba(255,255,255,.94); color: var(--ink); border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -36px rgba(10,5,30,.8); backdrop-filter: blur(16px); }
.bk-k { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.bk-p { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.bookcard ul { list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bookcard li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.bookcard li svg { margin-top: 2px; }
.bookcard .btn { width: 100%; justify-content: center; }
.bk-alt { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.bk-alt:hover { color: var(--ink); }
@media (max-width: 900px) { .cta2 { padding: 44px 22px; } .cta2-in { grid-template-columns: 1fr; gap: 28px; } }
.lk-d > span { display: block; overflow: hidden; }
.lk-stage { min-height: 0; height: 500px; align-self: start; position: sticky; top: 90px; }
.ed-top span { white-space: nowrap; }
@media (max-width: 900px) { .lk-stage { height: 340px; position: relative; top: 0; } }
/* v7: what I fix, editorial */
.fixes { border-top: 1px solid var(--ink); }
.fx { display: grid; grid-template-columns: 44px minmax(0, 15fr) minmax(0, 20fr) 130px; align-items: baseline; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.fx-n { font-size: 13px; color: #b5b3ae; font-variant-numeric: tabular-nums; }
.fx-w { font-size: clamp(22px, 1.1vw + 14px, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.fx-s { font-size: 17px; line-height: 1.5; color: #6b6a66; }
.fx-y { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.fx-a { display: inline-flex; transition: transform .35s var(--ease); }
.fx:hover .fx-a { transform: translateX(4px); }
.fx:hover .fx-w { color: #000; }
@media (max-width: 720px) { .fx { grid-template-columns: 32px 1fr; gap: 6px 12px; padding: 24px 0; } .fx-s, .fx-y { grid-column: 2; } .fx-y { margin-top: 6px; } }
.fx-y { justify-content: flex-end; }
@media (max-width: 720px) { .fx-y { justify-content: flex-start; } }
/* v7: hand-drawn signature */
.sig { width: 210px; margin: 14px 0 6px -4px; }
.sig path { fill: none !important; stroke: #ffe6c7; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill-opacity: 0; }
.sig.drawn path { animation: none; }
/* v8: short closing section */
.cta3 { margin-top: 96px; position: relative; border-radius: 24px; overflow: hidden; padding: 56px 56px 52px; color: #fff; background: linear-gradient(165deg, #151a46 0%, #2c2462 40%, #6a3a7e 72%, #c25f78 100%); }
.cta3 .stars { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 62% 18%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 78% 30%, rgba(255,255,255,.55), transparent), radial-gradient(1.3px 1.3px at 88% 12%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 70% 44%, rgba(255,255,255,.45), transparent); }
.cta3 .glow { position: absolute; right: -10%; bottom: -40%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255,200,140,.45), rgba(255,200,140,0)); }
.cta3 .sun { position: absolute; right: 9%; bottom: -120px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0%, #ffd79a 38%, rgba(255,183,104,.45) 58%, rgba(255,183,104,0) 72%); }
.cta3-in { position: relative; max-width: 560px; }
.cta3 h2 { margin: 0 0 14px; font-size: clamp(26px, 1.5vw + 16px, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.cta3 p { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.82); }
.cta3 .sig { display: block; width: 150px; height: auto; margin: 22px 0 22px -4px; overflow: visible; }
.cta3 .sig path { fill: none !important; stroke: #ffe6c7; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cta3-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta3-alt { font-size: 14px; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.3); }
.cta3-alt:hover { color: #fff; }
@media (max-width: 720px) { .cta3 { padding: 40px 24px; } .cta3 .sun { right: -60px; } }
.cta3-in { max-width: 600px; }
.cta3 p + p { margin-top: 12px; }

/* ================= v9: polish pass ================= */
/* 1-2 banner speed */
.stage { background-size: cover; background-position: center; }
.b-glow { mix-blend-mode: normal; background: radial-gradient(closest-side, rgba(255,220,160,.42), rgba(255,180,120,.12) 45%, rgba(255,160,110,0)); }
.b-lit { animation: lightsoft 12s ease-in-out infinite alternate; }
@keyframes lightsoft { from { opacity: 1; } to { opacity: .72; } }
.b-drift { will-change: transform; }
.cover.home { contain: paint; }
.cover.home.off *, .cover.home.off { animation-play-state: paused !important; }
.stage > img { opacity: 0; transition: opacity .6s ease; }
.stage > img.ld, .b-fg > img.ld, .b-drift img.ld { opacity: 1; }
.b-fg > img, .b-drift img { opacity: 0; transition: opacity .6s ease; }
/* 5 stats as an editorial row */
.stats { background: none; padding: 0; border-radius: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 24px 20px 24px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 22px; }
@media (max-width: 720px) { .stat + .stat { border-left: 0; padding-left: 0; } .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
/* 6 photo turns into sticker */
.pico.xl { cursor: pointer; }
.pico-alt { position: absolute; inset: 0; display: grid; place-items: center; background: #f7f6f3; opacity: 0; transform: scale(.85); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.pico-alt svg { width: 92%; height: 92%; }
.pico.xl:hover .pico-alt { opacity: 1; transform: none; }
/* 7 optical sizing */
html { font-optical-sizing: auto; }
/* 8 quieter brand strip */
.marquee-t span, .marquee-t span:nth-child(3n+1), .marquee-t span:nth-child(3n+2) { font-size: 17px; font-weight: 600; font-style: normal; text-transform: none; letter-spacing: -0.015em; color: #bdbbb6; }
.marquee-t { gap: 52px; animation-duration: 90s; }
/* 9 unified headings */
#ideas .display, #coaching .display, #faq .display { margin-bottom: 30px; }
/* 10 scroll progress line */
.topbar { position: sticky; }
body.oncover .topbar { position: fixed; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #c4467a, #f08d62); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .3s; }
.topbar.solid .progress, body:not(.oncover) .topbar.scrolled .progress { opacity: 1; }
/* 11 phone booking bar */
.mbook { display: none; }
@media (max-width: 720px) {
  .mbook { display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; padding: 14px; border-radius: 14px; background: #191919; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 16px 40px -14px rgba(20,10,40,.6); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mbook.on { transform: none; }
}
/* 12 underline on hover */
.fx { position: relative; }
.fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, #c4467a, #f08d62); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.fx:hover::after { transform: scaleX(1); }
/* 13 stickers float */
.lines .face { animation: float 6s ease-in-out infinite; }
.lines .face-card:nth-child(2) .face { animation-delay: -2s; }
.lines .face-card:nth-child(3) .face { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* 14 slim Instagram line */
.ig { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; color: #6b6a66; }
.ig img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ig b { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ig:hover b svg { transform: translateX(3px); } .ig b svg { transition: transform .3s var(--ease); }
@media (max-width: 720px) { .ig span { display: none; } }
/* 16 questions */
.faqx details.tg { border-top: 1px solid var(--line); border-radius: 0; }
.faqx details.tg:last-child { border-bottom: 1px solid var(--line); }
.faqx details.tg summary { padding: 18px 4px; border-radius: 0; }
.faqx details.tg summary:hover { background: none; }
.faqx details.tg summary span { font-size: 17px !important; font-weight: 500 !important; }
.faqx .tgb { padding: 0 4px 20px 26px; }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  details.tg::details-content { height: 0; overflow: hidden; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  details.tg[open]::details-content { height: auto; }
}
.faq-more { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
/* 17 signature first, then the button; a little grain */
.cta3::before { content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
html.js .cta3-act { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .cta3-in.signed .cta3-act { opacity: 1; transform: none; }
/* 18 footer */
.foot .copy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sigmark { width: 64px; height: auto; }
.sigmark path { fill: none; stroke: #b5b3ae; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.totop { margin-left: auto; color: var(--muted); }
.totop:hover { color: var(--ink); }
/* 19 soft page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { .lines .face, .b-lit { animation: none !important; } @view-transition { navigation: none; } }
