@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,800&family=Jost:wght@400;500;600;700&family=Spline+Sans+Mono:wght@500;700&display=swap');

:root {
  --paper: #f5f0ff;
  --paper-2: #ebe2fb;
  --card: #fffaff;
  --ink: #30204b;
  --ink-2: #655779;
  --line: #493365;
  --soft-line: rgba(73, 51, 101, .2);
  --orange: #6741b8;
  --blue: #583caf;
  --yellow: #d8c4ff;
  --good: #11875d;
  --bad: #c9250a;
  --on-accent: #fffaff;
  --shadow: 5px 5px 0 var(--ink);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Jost', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --r: 18px;
  --wrap: 1200px;
  color-scheme: light;
}
[data-theme='dark'] {
  --paper: #191323;
  --paper-2: #241b34;
  --card: #2b2140;
  --ink: #f7efff;
  --ink-2: #c9badb;
  --line: #c2a8ec;
  --soft-line: rgba(230, 213, 255, .2);
  --orange: #563784;
  --blue: #c5aaff;
  --yellow: #a486d3;
  --on-accent: #241b34;
  --good: #66d6a7;
  --bad: #ff8a79;
  --shadow: 5px 5px 0 #100c17;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.1rem/1.65 var(--body); -webkit-font-smoothing: antialiased;
  transition: background .35s, color .35s;
}
body::before { /* paper grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #9068e4; outline-offset: 4px; border-radius: 6px; box-shadow: 0 0 0 2px var(--paper); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #1d1410; padding: .6rem 1rem; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.eyebrow { font: 700 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; display: inline-flex; gap: .6rem; align-items: center; margin-bottom: 1.2rem; }
.eyebrow b { background: var(--ink); color: var(--paper); padding: .35rem .5rem; border-radius: 6px; }
.h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 900; max-width: 18ch; }
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 62ch; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58% 94%, transparent 94%); color: inherit; padding: 0 .1em; }
[data-theme='dark'] .hl { color: var(--ink); background: linear-gradient(transparent 58%, rgba(197, 170, 255, .4) 58% 94%, transparent 94%); }
.note { font: 500 .8rem/1.4 var(--mono); color: var(--ink-2); }
.tag-demo { display: inline-block; font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; border: 2px dashed var(--ink); padding: .35rem .5rem; border-radius: 6px; }

/* buttons */
.btn {
  --bg: var(--blue); font: 700 1rem/1 var(--body); color: var(--on-accent); background: var(--bg);
  border: 2px solid var(--line); border-radius: 999px; padding: .95rem 1.5rem; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; box-shadow: 3px 3px 0 var(--line);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--line); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--line); }
.btn.alt { --bg: var(--card); color: var(--ink); }
.btn.blue { --bg: var(--blue); }
.btn.yellow { --bg: var(--yellow); color: #1d1410; }
.btn.sm { padding: .6rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 2px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 900 1.15rem/1 var(--display); }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.nav ul { display: flex; gap: .1rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .65rem; border-radius: 8px; }
.nav ul a:hover, .nav ul a.on { background: var(--yellow); color: #1d1410; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; font: 700 1rem var(--body); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.sun { display: none; } [data-theme='dark'] .sun { display: block; } [data-theme='dark'] .moon { display: none; }
.progress-bar { position: absolute; left: 0; bottom: -2px; height: 4px; background: var(--orange); width: 100%; transform: scaleX(0); transform-origin: left; }
@media (max-width: 1080px) {
  .burger { display: grid; margin-left: auto; }
  .nav ul { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 2px solid var(--line); padding: .8rem 1.25rem 1.2rem; display: none; margin: 0; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; font-size: 1.1rem; }
}

/* hero */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 8.2rem); font-weight: 900; letter-spacing: -.045em; line-height: .9; }
.hero h1 em { font-style: italic; color: var(--orange); font-weight: 800; }
.hero h1 .strike { position: relative; display: inline-block; color: var(--ink-2); }
.hero h1 .strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--orange); transform: rotate(-2deg) scaleX(0); transform-origin: left; animation: strike .8s .9s forwards cubic-bezier(.7, 0, .2, 1); }
@keyframes strike { to { transform: rotate(-2deg) scaleX(1); } }
.hero .cols { columns: 2; column-gap: 2rem; margin: 2rem 0; color: var(--ink-2); }
.hero .cols p { break-inside: avoid; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-card { background: var(--blue); color: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 1.6rem; box-shadow: 10px 10px 0 var(--line); transform: rotate(2deg); }
.hero-card .big { font: 900 clamp(3.5rem, 7vw, 5.5rem)/1 var(--display); }
.hero-card .row { display: flex; justify-content: space-between; border-top: 2px solid rgba(255, 255, 255, .5); padding: .7rem 0; font-weight: 600; }
.hero-card .row span:last-child { font-family: var(--mono); }
.hero-card .tag-demo { border-color: #fff; margin-bottom: 1rem; }
.hero-logo { width: 110px; margin: 0 0 -2.5rem auto; position: relative; z-index: 2; border-radius: 50%; border: 2px solid var(--line); background: #fff; transform: rotate(-8deg); }
.ticker { margin-top: 4rem; border-block: 2px solid var(--line); background: var(--yellow); color: #1d1410; overflow: hidden; white-space: nowrap; font: 800 1.3rem/1 var(--display); padding: .9rem 0; }
.ticker div { display: inline-block; animation: tick 38s linear infinite; }
.ticker span { margin: 0 1.2rem; } .ticker i { font-style: normal; color: var(--orange); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero .cols { columns: 1; } .hero-card { transform: none; } }

/* panels */
.panel { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 2rem); }
.sec-head { display: grid; gap: 1rem; margin-bottom: 3rem; }
.band { background: var(--paper-2); border-block: 2px solid var(--line); }
.dark-band { background: #302349; color: #f7efff; border-block: 2px solid var(--line); --ink: #f7efff; --ink-2: #d1c1e5; --line: #c8afea; --card: #392c52; --soft-line: rgba(247, 239, 255, .22); --shadow: 5px 5px 0 var(--orange); }
.dark-band .eyebrow b { background: var(--yellow); color: #1d1410; }

/* sandbox */
.sandbox { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
textarea { width: 100%; min-height: 340px; resize: vertical; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 1.02rem/1.6 var(--body); padding: 1rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; align-items: center; }
.quiz-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-2); }
.quiz-empty .glyph { font: 900 5rem/1 var(--display); color: var(--orange); }
.scorebar { display: flex; justify-content: space-between; align-items: center; font: 700 .9rem var(--mono); margin-bottom: 1rem; }
.meter { height: 10px; border: 2px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--paper); }
.meter > i { display: block; height: 100%; background: var(--orange); width: 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.q { border-top: 2px solid var(--soft-line); padding: 1.1rem 0; animation: pop .4s both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.q h4 { font: 600 1.15rem/1.4 var(--body); letter-spacing: 0; margin-bottom: .8rem; }
.q h4 u { text-decoration: none; background: var(--yellow); color: #1d1410; padding: 0 .5rem; border-radius: 4px; font-family: var(--mono); }
.opt { display: flex; gap: .7rem; align-items: center; padding: .65rem .8rem; border: 2px solid var(--soft-line); border-radius: 10px; margin-bottom: .5rem; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line); }
.opt input { accent-color: var(--orange); width: 18px; height: 18px; }
.opt.right { border-color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.opt.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.q.done .opt { cursor: default; }
.expl { font-size: .98rem; color: var(--ink-2); border-left: 4px solid var(--blue); padding: .2rem 0 .2rem .8rem; margin-top: .6rem; }
.expl.bad { border-color: var(--orange); }
@media (max-width: 900px) { .sandbox { grid-template-columns: 1fr; } }

/* pomodoro */
.pomo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.pomo-face { text-align: center; }
.modes { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.modes button { font: 600 .92rem var(--body); background: transparent; color: var(--ink); border: 2px solid var(--line); border-radius: 99px; padding: .55rem 1rem; cursor: pointer; }
.modes button[aria-pressed='true'] { background: var(--yellow); color: #1d1410; }
.dial { position: relative; width: min(100%, 360px); margin: 0 auto 1.5rem; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 12; }
.dial .trk { stroke: var(--soft-line); } .dial .prg { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset .4s linear; }
.dial .time { position: absolute; inset: 0; display: grid; place-content: center; font: 700 clamp(3rem, 9vw, 4.6rem)/1 var(--mono); letter-spacing: -.04em; text-align: center; }
.dial .time small { display: block; font: 600 .9rem var(--body); letter-spacing: 0; color: var(--ink-2); margin-top: .5rem; }
.pomo .toolbar { justify-content: center; }
.blocks { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; min-height: 44px; }
.blocks i { width: 38px; height: 38px; border-radius: 10px; background: var(--orange); border: 2px solid var(--line); animation: pop .4s both; }
.count { font: 900 5rem/1 var(--display); color: var(--orange); }
.pomo-side ul { padding-left: 1.2rem; color: var(--ink-2); }
@media (max-width: 900px) { .pomo { grid-template-columns: 1fr; } }

/* flashcards */
.recall { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.card3d { perspective: 1200px; }
.flip { position: relative; width: 100%; min-height: 380px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .8, .2, 1); cursor: pointer; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; display: block; }
.flip.on { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; border: 2px solid var(--line); border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.face.front { background: var(--orange); color: #fff; }
.face.back { background: var(--card); color: var(--ink); transform: rotateY(180deg); overflow: auto; }
.face .num { font: 700 .8rem var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.face .term { font: 900 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); }
.face .hint { font-weight: 600; opacity: .85; }
.face.back p { font-size: 1.02rem; margin-bottom: .6rem; }
.rate { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.rate .btn { flex: 1; justify-content: center; }
.rate .btn[disabled] { opacity: .35; }
.ret-num { font: 900 clamp(4rem, 9vw, 7rem)/1 var(--display); }
.ret-bar { height: 28px; border: 2px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--paper); margin: 1rem 0; }
.ret-bar i { display: block; height: 100%; width: 50%; background: repeating-linear-gradient(-45deg, var(--blue) 0 12px, #2c9cff 12px 24px); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.dots { display: flex; gap: .5rem; margin-bottom: 1rem; }
.dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: transparent; cursor: pointer; padding: 0; }
.dots button.on { background: var(--yellow); transform: scale(1.3); }
.log { font: 500 .85rem/1.6 var(--mono); color: var(--ink-2); list-style: none; padding: 0; margin: 1rem 0 0; }
@media (max-width: 900px) { .recall { grid-template-columns: 1fr; } .flip { min-height: 440px; } }

/* tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tool { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tool:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--line); }
.tool:nth-child(1) { border-top: 14px solid var(--orange); } .tool:nth-child(2) { border-top: 14px solid var(--blue); } .tool:nth-child(3) { border-top: 14px solid var(--yellow); }
.tool .n { font: 900 4rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); }
.tool h3 { font-size: 1.9rem; }
.tool h4 { font: 700 .8rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin: 1.2rem 0 .4rem; }
.tool p, .tool li { font-size: 1rem; color: var(--ink-2); }
.tool ul { padding-left: 1.1rem; margin: 0; }
@media (max-width: 980px) { .tools { grid-template-columns: 1fr; } }

/* science */
.sci-nav { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sci-nav a { text-decoration: none; border: 2px solid var(--line); border-radius: 99px; padding: .45rem 1rem; font-weight: 600; }
.sci-nav a:hover { background: var(--yellow); color: #1d1410; }
.theory { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; padding: 3rem 0; border-top: 2px solid var(--line); }
.theory .side { position: sticky; top: 100px; align-self: start; }
.theory .side .roman { font: 900 7rem/.9 var(--display); color: var(--orange); }
.theory .body p:first-of-type::first-letter { font: 900 4.2rem/.8 var(--display); float: left; padding: .35rem .6rem 0 0; color: var(--orange); }
.pull { font: italic 500 1.6rem/1.3 var(--display); border-left: 6px solid var(--blue); padding-left: 1.2rem; margin: 1.6rem 0; }
.curve { width: 100%; height: auto; margin-top: 1rem; }
.curve path { fill: none; stroke-width: 4; stroke-linecap: round; }
.leitner { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: 1rem; align-items: end; }
.leitner div { border: 2px solid var(--line); border-radius: 8px 8px 0 0; background: var(--yellow); color: #1d1410; padding: .5rem; font: 600 .78rem/1.3 var(--mono); }
.leitner div:nth-child(1) { height: 70px; } .leitner div:nth-child(2) { height: 90px; } .leitner div:nth-child(3) { height: 110px; } .leitner div:nth-child(4) { height: 130px; } .leitner div:nth-child(5) { height: 150px; background: var(--orange); color: #fff; }
.note-box { background: var(--paper-2); border: 2px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; font-size: .98rem; }
@media (max-width: 900px) { .theory { grid-template-columns: 1fr; gap: 1rem; } .theory .side { position: static; } .theory .side .roman { font-size: 4rem; } }

/* analytics */
.dash { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.dash .full { grid-column: 1 / -1; }
.panel h3 { font-size: 1.4rem; }
.panel canvas { width: 100%; height: 280px; display: block; }
.slider-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.slider-row output { font: 900 3rem/1 var(--display); color: var(--orange); }
input[type='range'] { width: 100%; height: 28px; background: transparent; accent-color: var(--orange); cursor: pointer; }
.gauge { width: 100%; max-width: 340px; margin: 0 auto; display: block; }
.gauge .bg { stroke: var(--soft-line); } .gauge .fg { stroke: var(--orange); transition: stroke-dashoffset .5s cubic-bezier(.2, .8, .2, 1); }
.gauge path { fill: none; stroke-width: 22; stroke-linecap: round; }
.gauge text { fill: var(--ink); font-family: var(--display); font-weight: 900; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: center; }
.compare div { border: 2px solid var(--line); border-radius: 12px; padding: .8rem; }
.compare b { display: block; font: 900 2rem/1.1 var(--display); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; align-items: end; height: 220px; }
.bars div { display: grid; gap: .3rem; justify-items: center; align-content: end; height: 100%; font: 600 .8rem var(--mono); }
.bars i { display: block; width: 100%; background: var(--blue); border: 2px solid var(--line); border-radius: 8px 8px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.bars div:nth-child(even) i { background: var(--yellow); }
.in .bars i { transform: scaleY(1); }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }

/* stories */
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.story { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; }
.story:nth-child(1), .story:nth-child(4) { box-shadow: var(--shadow); }
.story header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.avatar { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font: 900 1.3rem var(--display); background: var(--yellow); color: #1d1410; flex: none; }
.story:nth-child(2) .avatar { background: var(--blue); color: #fff; } .story:nth-child(3) .avatar { background: var(--orange); color: #fff; }
.story h3 { font-size: 1.35rem; margin: 0; }
.story header span { font-size: .92rem; color: var(--ink-2); }
.story p { font-size: 1rem; color: var(--ink-2); }
.shift { margin-top: auto; display: flex; gap: 1rem; align-items: center; font: 700 .95rem var(--mono); border-top: 2px dashed var(--soft-line); padding-top: 1rem; flex-wrap: wrap; }
.shift b { font: 900 1.7rem var(--display); color: var(--orange); }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }

/* pricing */
.toggle-row { display: flex; align-items: center; gap: 1rem; font-weight: 700; margin-bottom: 2.4rem; flex-wrap: wrap; }
.switch { width: 74px; height: 40px; border: 2px solid var(--line); border-radius: 99px; background: var(--card); position: relative; cursor: pointer; padding: 0; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); border: 2px solid var(--line); transition: transform .3s cubic-bezier(.5, 1.6, .4, 1); }
.switch[aria-checked='true']::after { transform: translateX(34px); background: var(--blue); }
.save { background: var(--yellow); color: #1d1410; font: 700 .75rem var(--mono); padding: .3rem .6rem; border-radius: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; }
.plan.pro { background: var(--orange); color: #fff; box-shadow: 10px 10px 0 var(--line); --ink-2: #fff; position: relative; }
.plan.pro .ribbon { position: absolute; top: -16px; right: 24px; background: var(--yellow); color: #1d1410; border: 2px solid var(--line); border-radius: 99px; padding: .3rem .9rem; font: 700 .75rem var(--mono); text-transform: uppercase; }
.plan h3 { font-size: 2.2rem; }
.price { font: 900 clamp(3.4rem, 7vw, 5.2rem)/1 var(--display); display: flex; align-items: baseline; gap: .4rem; min-height: 1em; }
.price span { transition: opacity .25s, transform .25s; display: inline-block; }
.price span.sw { opacity: 0; transform: translateY(-12px); }
.price small { font: 600 1rem var(--body); }
.billed { font: 500 .85rem var(--mono); min-height: 1.4em; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .7rem; font-size: 1rem; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; border: 2px solid currentColor; background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.5L10 3' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.pro .btn { --bg: var(--ink); color: var(--paper); }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 880px; }
.faq-item { border-top: 2px solid var(--line); }
.faq-item:last-child { border-bottom: 2px solid var(--line); }
.faq-item h3 { margin: 0; font: inherit; }
.faq-q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; font: 700 1.3rem/1.3 var(--display); padding: 1.3rem 0; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; }
.faq-q .pm { flex: none; width: 34px; height: 34px; border: 2px solid var(--line); border-radius: 50%; position: relative; transition: transform .3s, background .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; left: 7px; right: 7px; top: 14px; height: 2px; background: var(--ink); }
.faq-q .pm::after { transform: rotate(90deg); transition: transform .3s; }
.faq-q[aria-expanded='true'] .pm { background: var(--yellow); transform: rotate(180deg); }
.faq-q[aria-expanded='true'] .pm::after { transform: rotate(0); }
.faq-q[aria-expanded='true'] .pm::before, .faq-q[aria-expanded='true'] .pm::after { background: #1d1410; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.3, .8, .2, 1); }
.faq-a > div { padding: 0 3rem 1.4rem 0; color: var(--ink-2); }

/* resources */
.res { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.res a { text-decoration: none; background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 1.3rem; min-height: 280px; display: flex; flex-direction: column; transition: transform .25s, background .25s; }
.res a:hover { transform: translateY(-6px) rotate(-1deg); background: var(--yellow); color: #1d1410; }
.res a:hover p { color: #1d1410; }
.res .k { font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.res h3 { font-size: 1.5rem; margin-top: auto; }
.res p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.res .more { margin-top: 1rem; font-weight: 700; }
@media (max-width: 1000px) { .res { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .res { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #261d38; color: #f7efff; padding: 5rem 0 2rem; border-top: 2px solid var(--line); --card: #342849; --line: #c8afea; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
.site-footer h3 { font: 700 .8rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; opacity: .85; } .site-footer a:hover { opacity: 1; color: var(--yellow); }
.news { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.news input { flex: 1 1 220px; border: 2px solid #fff4e2; border-radius: 99px; padding: .9rem 1.2rem; background: transparent; color: #fff4e2; font: 500 1rem var(--body); }
.news input::placeholder { color: #bba992; }
.err { color: #ff9b85; font-size: .9rem; min-height: 1.4em; margin: .4rem 0 0; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 42px; height: 42px; border: 2px solid #fff4e2; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem var(--mono); }
.disclaimer { border-top: 1px solid rgba(255, 244, 226, .25); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; color: #bba992; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); background: var(--yellow); color: #1d1410; border: 2px solid #1d1410; border-radius: 14px; padding: 1rem 1.3rem; font-weight: 700; box-shadow: 5px 5px 0 #1d1410; z-index: 150; transition: transform .5s cubic-bezier(.3, 1.4, .4, 1); max-width: calc(100% - 2rem); display: flex; gap: .7rem; align-items: center; }
.toast.show { transform: translate(-50%, 0); }
.toast::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid #1d1410; flex: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .strike::after { transform: rotate(-2deg) scaleX(1); }
  .ticker div { animation: none; }
}

/* blog */
.page-head { padding: clamp(3rem, 7vw, 6rem) 0 2rem; }
.page-head h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 900; letter-spacing: -.04em; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; padding-bottom: 6rem; }
.post { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 1.5rem; min-height: 320px; display: flex; flex-direction: column; text-decoration: none; position: relative; }
.post.live { background: var(--orange); color: #fff; box-shadow: var(--shadow); grid-column: span 2; transition: transform .2s; }
.post.live:hover { transform: translate(-3px, -3px); }
.post.live h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-top: auto; font-weight: 900; }
.post .k { font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; display: flex; justify-content: space-between; }
.post.soon { border-style: dashed; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--soft-line) 14px 15px); }
.post.soon h2 { font-size: 1.6rem; margin-top: auto; color: var(--ink-2); }
.post.soon .num { font: 900 5rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: .35; }
.post p { margin-bottom: 0; }
.badge { background: var(--yellow); color: #1d1410; padding: .25rem .5rem; border-radius: 6px; }
@media (max-width: 680px) { .post.live { grid-column: auto; } }
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; padding: 3rem 0 6rem; }
.crumbs { font: 600 .85rem var(--mono); margin-bottom: 2rem; }
.crumbs a { text-decoration: none; border-bottom: 2px solid var(--orange); }
.article h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 900; letter-spacing: -.035em; }
.byline { display: flex; gap: 1rem; align-items: center; font-weight: 600; margin: 1.5rem 0; padding: 1rem 0; border-block: 2px solid var(--line); flex-wrap: wrap; }
.summary { font: italic 500 1.5rem/1.4 var(--display); color: var(--ink-2); }
.article h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 2.8rem 0 1rem; font-weight: 800; padding-top: 1rem; border-top: 2px solid var(--soft-line); }
.article h2 span { color: var(--orange); font: 700 .9rem var(--mono); display: block; margin-bottom: .5rem; }
.article p { font-size: 1.2rem; line-height: 1.75; }
.toc { background: var(--paper-2); border: 2px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 2rem 0; }
.toc ol { margin: .5rem 0 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; font-size: .98rem; }
.toc a { text-decoration: none; } .toc a:hover { color: var(--orange); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* editorial photography + current article features */
.editorial { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.editorial-stack { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.photo-story { min-height: clamp(480px, 58vw, 700px); position: relative; display: flex; align-items: flex-end; overflow: hidden; margin: 0; isolation: isolate; border: 2px solid var(--line); border-radius: 30px; background: #302349; color: #fffaff; box-shadow: 12px 12px 0 color-mix(in srgb, var(--blue) 30%, transparent); }
.photo-story > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.photo-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(31, 20, 49, .94) 0%, rgba(31, 20, 49, .76) 45%, rgba(31, 20, 49, .08) 100%), linear-gradient(0deg, rgba(28, 17, 42, .35), transparent 50%); }
.photo-copy { width: min(690px, 72%); padding: clamp(1.5rem, 5vw, 4.5rem); }
.photo-copy .eyebrow { color: #f7efff; }
.photo-copy .eyebrow b { background: var(--yellow); color: #30204b; }
.photo-copy blockquote { margin: .8rem 0 .4rem; font: 800 clamp(2.25rem, 5vw, 4.6rem)/1.04 var(--display); letter-spacing: -.035em; max-width: 14ch; }
.photo-copy .attribution { font: 600 .88rem var(--mono); color: #e4d7f7; margin: 0 0 1.4rem; }
.photo-copy > p:last-child { font-size: 1.08rem; line-height: 1.65; color: #f4ecff; max-width: 58ch; margin: 0; }
.photo-label { position: absolute; right: 1.2rem; top: 1.2rem; padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.65); border-radius: 99px; font: 600 .72rem var(--mono); letter-spacing: .04em; color: #fffaff; background: rgba(40, 28, 59, .45); backdrop-filter: blur(8px); }
.method-feature { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: stretch; overflow: hidden; border: 2px solid var(--line); border-radius: 28px; background: var(--paper-2); box-shadow: var(--shadow); }
.method-image { min-height: 560px; position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.method-image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(33, 21, 51, .74)); pointer-events: none; }
.method-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.method-image figcaption { position: absolute; z-index: 1; bottom: 1.2rem; left: 1.4rem; right: 1.4rem; color: #fffaff; font-size: .9rem; text-shadow: 0 1px 8px rgba(24,14,37,.6); }
.method-copy { padding: clamp(1.5rem, 4vw, 3.4rem); }
.method-copy .h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 16ch; }
.method-copy .lede { font-size: 1.08rem; margin-bottom: 1.8rem; }
.method-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid var(--soft-line); padding-top: 1.4rem; }
.method-columns section + section { border-left: 1px solid var(--soft-line); padding-left: 1.5rem; }
.method-index { display: block; font: 700 .7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: .8rem; }
.method-columns h3 { font-size: 1.55rem; line-height: 1.12; }
.method-columns p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.method-columns p:last-child { margin-bottom: 0; }

.res { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.35rem; }
.res a.resource-card { padding: 0; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 45%, transparent); border-radius: 20px; box-shadow: 0 4px 14px rgba(54, 34, 82, .07); background: var(--card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.resource-card > img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; background: var(--paper-2); transition: transform .45s ease; }
.resource-copy { display: flex; flex-direction: column; align-items: flex-start; min-height: 245px; padding: 1.2rem 1.25rem 1.25rem; }
.resource-card .k { display: flex; justify-content: space-between; gap: .6rem; width: 100%; color: var(--blue); font-size: .68rem; line-height: 1.3; }
.resource-card .k span { color: var(--ink-2); white-space: nowrap; }
.resource-card h3 { font-size: clamp(1.27rem, 1.7vw, 1.62rem); line-height: 1.1; margin: 1rem 0 .7rem; }
.resource-card p { color: var(--ink-2); font-size: .94rem; line-height: 1.5; margin-bottom: 1rem; }
.resource-card .more { margin-top: auto; color: var(--blue); font-size: .9rem; font-weight: 700; }
.res a.resource-card:hover { transform: translateY(-5px); background: var(--card); color: var(--ink); border-color: var(--blue); box-shadow: 0 13px 28px rgba(54, 34, 82, .14); }
.res a.resource-card:hover p { color: var(--ink-2); }
.res a.resource-card:hover img { transform: scale(1.035); }
.resource-index { text-align: center; margin: 2rem 0 0; color: var(--ink-2); font-size: 1rem; }
.resource-index a { color: var(--blue); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 1000px) { .res { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .method-feature { grid-template-columns: 1fr; }
  .method-image { min-height: 390px; }
  .photo-copy { width: min(680px, 88%); }
}
@media (max-width: 560px) {
  .photo-story { min-height: 590px; border-radius: 20px; }
  .photo-story > img { object-position: 58% center; }
  .photo-shade { background: linear-gradient(0deg, rgba(31,20,49,.97) 0%, rgba(31,20,49,.82) 57%, rgba(31,20,49,.12) 100%); }
  .photo-copy { width: 100%; padding: 1.4rem; }
  .photo-copy blockquote { font-size: clamp(2rem, 10vw, 3rem); }
  .method-image { min-height: 300px; }
  .method-columns { grid-template-columns: 1fr; }
  .method-columns section + section { border-left: 0; border-top: 1px solid var(--soft-line); padding: 1.3rem 0 0; }
  .res { grid-template-columns: 1fr; }
  .resource-copy { min-height: 0; }
}

/* Article template hooks: shared static article pages can use these without homepage markup changes. */
.article-hero { padding: clamp(3rem, 8vw, 6.5rem) 0 2.5rem; background: linear-gradient(135deg, var(--paper-2), var(--paper)); }
.article-hero .wrap { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.article-hero .crumbs { grid-column: 1 / -1; margin: 0; font: 500 .76rem/1.5 var(--mono); color: var(--ink-2); }
.article-hero .crumbs a { text-underline-offset: 3px; }
.article-hero-copy { min-width: 0; }
.article-hero h1 { max-width: 19ch; font-size: clamp(2.7rem, 5.4vw, 4.9rem); line-height: .99; }
.article-hero .lede, .article-summary { max-width: 68ch; font: 500 clamp(1.2rem, 2.4vw, 1.6rem)/1.55 var(--display); color: var(--ink-2); }
.article-cover { width: min(1080px, calc(100% - 2.5rem)); margin: 1.5rem auto 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--soft-line); box-shadow: 0 18px 45px rgba(50, 32, 75, .15); }
.article-hero .article-cover { width: 100%; margin: 0; aspect-ratio: 1.15 / 1; }
.article-cover img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.article-byline { margin: 1.2rem 0 0; font: 500 .77rem/1.5 var(--mono); color: var(--ink-2); }
.article-layout { width: min(1200px, calc(100% - 2.5rem)); display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 740px); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin: 3.5rem auto 7rem; }
.article-layout.no-toc { display: block; width: min(820px, calc(100% - 2.5rem)); }
.article-toc { position: sticky; top: 100px; padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 16px; background: var(--paper-2); }
.article-toc h2 { font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.article-toc ol { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--ink-2); }
.article-toc li { padding: .28rem 0; }
.article-toc a { text-decoration-color: color-mix(in srgb, var(--blue) 48%, transparent); text-underline-offset: 3px; }
.article-toc a:hover { color: var(--blue); }
.article-content { min-width: 0; max-width: 74ch; }
.article-content > * { max-width: 100%; }
.article-content p, .article-content li { font-size: clamp(1.04rem, 1.2vw, 1.18rem); line-height: 1.82; color: var(--ink-2); }
.article-content h2 { margin: 2.8rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--soft-line); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.12; }
.article-content h3 { margin: 2rem 0 .7rem; font-size: 1.5rem; }
.article-content a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.3rem; border-left: 5px solid var(--orange); font: italic 600 1.45rem/1.5 var(--display); }
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-figure { margin: 2.5rem 0; overflow: hidden; border-radius: 18px; background: var(--paper-2); }
.article-figure img { width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.article-figure figcaption { padding: .8rem 1rem; font: 500 .82rem/1.5 var(--mono); color: var(--ink-2); }
.post.blog-card { padding: 0; min-height: 0; overflow: hidden; border-radius: 20px; background: var(--card); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.post.blog-card:hover, .post.blog-card:focus-within { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 12px 30px rgba(54, 34, 82, .14); }
.post.blog-card .post-main-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.post.blog-card .post-main-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; border-radius: 18px; }
.post.blog-card .post-image { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; background: var(--paper-2); }
.blog-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.3rem .6rem; }
.blog-card-copy > .k { width: 100%; margin: 0 0 .95rem; align-items: center; gap: .6rem; }
.post.blog-card .badge { background: var(--yellow); color: var(--ink); padding: .28rem .45rem; border-radius: 6px; }
.blog-card-copy > h2 { margin: 0 0 .65rem; font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.12; }
.blog-card-copy > p { margin: 0 0 .9rem; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.post-read-link { margin-top: auto; padding: .6rem 0 .75rem; color: var(--blue); font-size: .9rem; font-weight: 750; }
.post.blog-card > .post-byline { margin: 0; padding: .15rem 1.3rem 1.1rem; color: var(--ink-2); font-size: .84rem; }
.post-byline a, .article-byline a { color: var(--blue); font-weight: 750; text-underline-offset: 3px; }
.post.blog-card.live { grid-column: span 2; background: var(--orange); color: #fffaff; box-shadow: 8px 8px 0 var(--line); }
.post.blog-card.live .post-image { aspect-ratio: 1.8 / 1; }
.post.blog-card.live .blog-card-copy > h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.post.blog-card.live .blog-card-copy > p { color: #fffaff; }
.post.blog-card.live .post-read-link, .post.blog-card.live .post-byline a { color: #fffaff; }
[data-theme='dark'] .post.blog-card.live { color: var(--ink); }
[data-theme='dark'] .post.blog-card.live .blog-card-copy > p { color: var(--ink-2); }
[data-theme='dark'] .post.blog-card.live .post-byline a { color: var(--blue); }
@media (max-width: 800px) {
  .article-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .article-hero .crumbs { grid-column: auto; }
  .article-hero h1 { font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .article-layout { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .article-toc { position: static; }
  .article-toc ol { columns: 2; column-gap: 2rem; }
}
@media (max-width: 540px) {
  .post.blog-card.live { grid-column: auto; }
  .post.blog-card.live .post-image { aspect-ratio: 1.6 / 1; }
  .article-layout { width: min(100% - 2rem, 740px); }
  .article-toc ol { columns: 1; }
  .article-cover { width: calc(100% - 2rem); border-radius: 16px; }
}
[data-theme='dark'] .article-hero { background: linear-gradient(135deg, #302449, var(--paper)); }
[data-theme='dark'] .article-cover { box-shadow: 0 18px 45px rgba(0, 0, 0, .26); }
[data-theme='dark'] .photo-story { box-shadow: 10px 10px 0 rgba(118, 84, 189, .36); }
[data-theme='dark'] .resource-card { box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }

/* Author profile */
.author-hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: linear-gradient(135deg, var(--paper-2), var(--paper)); }
.author-hero-grid { max-width: 1200px; display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(270px, 390px); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.author-hero .crumbs { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font: 600 .78rem/1.5 var(--mono); }
.author-hero .crumbs a { text-underline-offset: 3px; }
.author-monogram { width: 104px; aspect-ratio: 1; display: grid; place-items: center; border: 5px solid color-mix(in srgb, var(--blue) 20%, transparent); border-radius: 50%; background: linear-gradient(145deg, var(--blue), #a58be0); color: #fff; box-shadow: 0 14px 32px rgba(89, 61, 142, .22); font: 900 2.4rem/1 var(--display); letter-spacing: -.06em; }
.author-intro { min-width: 0; }
.author-intro .eyebrow { margin-bottom: 1rem; }
.author-intro h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.author-lede { max-width: 60ch; margin: 1.1rem 0 1.35rem; color: var(--ink-2); font: 500 clamp(1.1rem, 2vw, 1.4rem)/1.55 var(--display); }
.author-intro .btn { display: inline-flex; align-items: center; gap: .6rem; }
.author-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 22px; background: var(--paper-2); box-shadow: 0 14px 34px rgba(54, 34, 82, .14); }
.author-photo img { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; }
.author-photo figcaption { padding: .7rem .85rem; color: var(--ink-2); font: 500 .72rem/1.5 var(--mono); }
.author-profile-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.author-profile-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.author-bio h2, .author-focus h2 { margin: .55rem 0 1rem; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; }
.author-bio > p:not(.eyebrow) { max-width: 70ch; color: var(--ink-2); font-size: 1.04rem; line-height: 1.78; }
.author-sources { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--soft-line); }
.author-sources h3 { margin: 0 0 .8rem; font: 700 .78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.author-sources ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.author-sources a { display: inline-flex; gap: .4rem; align-items: center; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--card); font-size: .86rem; font-weight: 650; text-decoration: none; }
.author-sources a:hover { border-color: var(--blue); color: var(--blue); }
.author-focus { padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: var(--paper-2); box-shadow: 7px 7px 0 color-mix(in srgb, var(--blue) 18%, transparent); }
.author-focus h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.author-focus ul { display: grid; gap: .7rem; margin: 1rem 0 1.25rem; padding-left: 1.2rem; color: var(--ink-2); line-height: 1.55; }
.author-focus > a { color: var(--blue); font-weight: 750; text-underline-offset: 3px; }
.author-articles { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 7rem); background: var(--paper-2); }
.author-articles-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.7rem; }
.author-articles-heading h2 { margin: .6rem 0 .55rem; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.02; }
.author-articles-heading p:not(.eyebrow) { margin: 0; max-width: 62ch; color: var(--ink-2); }
.author-articles-heading .btn { flex: 0 0 auto; }
.author-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.author-article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 4px 14px rgba(54, 34, 82, .06); transition: transform .2s, box-shadow .2s, border-color .2s; }
.author-article-card:hover, .author-article-card:focus-within { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 26px rgba(54, 34, 82, .13); }
.author-article-card > a { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.author-article-card > a:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; border-radius: 18px; }
.author-article-card img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; background: var(--paper); }
.author-article-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.15rem; }
.author-article-meta { color: var(--blue); font: 700 .7rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.author-article-copy h3 { margin: .75rem 0 .55rem; font-size: 1.24rem; line-height: 1.17; }
.author-article-copy p { margin: 0 0 1rem; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.author-article-more { margin-top: auto; padding-top: .35rem; color: var(--blue); font-size: .9rem; font-weight: 750; }
@media (max-width: 980px) { .author-hero-grid { grid-template-columns: 96px minmax(0, 1fr) minmax(230px, 310px); } .author-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .author-hero-grid { grid-template-columns: 88px minmax(0, 1fr); } .author-photo { grid-column: 1 / -1; max-width: 620px; } .author-photo img { aspect-ratio: 1.7 / 1; } .author-profile-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .author-hero-grid { grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; } .author-monogram { width: 68px; font-size: 1.8rem; } .author-intro h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); } .author-intro .eyebrow { font-size: .65rem; } .author-lede { font-size: 1.04rem; } .author-photo img { aspect-ratio: 1.25 / 1; } .author-article-grid { grid-template-columns: 1fr; } .author-articles-heading { flex-direction: column; align-items: flex-start; } }
[data-theme='dark'] .author-hero { background: linear-gradient(135deg, #302449, var(--paper)); }
[data-theme='dark'] .author-focus { background: color-mix(in srgb, var(--paper-2) 76%, #4b356c); }
