/* ---------- Tokens ---------- */
:root {
  --bg: #F6F4EF;
  --bg-tint: #EFECE5;
  --surface: #FFFFFF;
  --ink: #141414;
  --ink-2: #4A4A48;
  --ink-3: #8A8984;
  --line: #E2DED5;
  --accent: #B5482A;
  --accent-ink: #FFFFFF;
  --dark: #141414;
  --dark-ink: #F6F4EF;
  --live: #16A34A;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -12px rgba(20,20,20,.12);
  --shadow-lg: 0 2px 4px rgba(20,20,20,.04), 0 24px 48px -20px rgba(20,20,20,.22);
  --radius: 18px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F11; --bg-tint: #141518; --surface: #17181C;
    --ink: #F2F1EC; --ink-2: #B4B3AD; --ink-3: #7C7B76; --line: #26272C;
    --accent: #F0805C; --dark: #F2F1EC; --dark-ink: #0E0F11; --live: #22C55E;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F11; --bg-tint: #141518; --surface: #17181C;
  --ink: #F2F1EC; --ink-2: #B4B3AD; --ink-3: #7C7B76; --line: #26272C;
  --accent: #F0805C; --dark: #F2F1EC; --dark-ink: #0E0F11; --live: #22C55E;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.01em; }
h2 { font: 400 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--serif); }
h3 { font: 600 1.08rem/1.35 var(--sans); letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--dark); color: var(--dark-ink); padding: 10px 14px; border-radius: 10px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
@media (max-width: 600px) { .nav__inner { padding: 12px 16px; } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  --s: 36px;
  width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #FFFFFF;
  font: 600 calc(var(--s) * .36)/1 var(--sans); letter-spacing: .04em; padding-left: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 4px 12px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
:root[data-theme="dark"] .brand__mark { background: #C4532F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__mark { background: #C4532F; } }
.brand__name { font-weight: 600; letter-spacing: -.01em; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); font-size: .94rem; font-weight: 500; transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-tint); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.nav__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s;
}
.icon-btn:hover { border-color: var(--ink-3); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none !important; }
:root[data-theme="dark"] .i-sun { display: none !important; }
:root[data-theme="dark"] .i-moon { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none !important; }
  :root:not([data-theme="light"]) .i-moon { display: block !important; }
}

.menu-btn { display: none; }
.menu-btn { position: relative; }
.menu-btn span { position: absolute; left: 11px; top: 19px; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn span:first-child { transform: translateY(-3px); }
.menu-btn span:last-child { transform: translateY(3px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav .nav__cta { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav__links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav__links a.is-active::after { left: auto; right: 16px; top: 50%; bottom: auto; margin: -2px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font: 500 .98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .li { width: 16px; height: 16px; fill: currentColor; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 18px 28px; font-size: 1.05rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--accent:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--dark { background: var(--dark); color: var(--dark-ink); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn--light { background: #F6F4EF; color: #141414; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 12vw, 140px) 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  filter: blur(10px); pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: .88rem; color: var(--ink-2); box-shadow: var(--shadow);
}
.pill strong { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); position: relative; }
.dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--live);
  opacity: 0; animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.hero__title {
  margin-top: 28px; max-width: 15ch;
  font: 400 clamp(2.9rem, 8vw, 6rem)/1.0 var(--serif); letter-spacing: -.02em;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lede { margin-top: 28px; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  list-style: none; margin: 72px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts__k { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.facts__v { font-weight: 500; }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { padding-top: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.section__head--center { text-align: center; align-items: center; }
.section__sub { color: var(--ink-3); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: color-mix(in srgb, var(--dark-ink) 60%, transparent); }

.grid-2 { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.grid-2 .section__head { position: sticky; top: 110px; margin-bottom: 0; }
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .grid-2 .section__head { position: static; margin-bottom: 36px; }
}

.prose { display: flex; flex-direction: column; gap: 20px; color: var(--ink-2); max-width: 62ch; }
.prose .lead { font: 400 clamp(1.4rem, 2.4vw, 1.75rem)/1.35 var(--serif); color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; position: relative; }
.tl__line { position: absolute; top: 8px; bottom: 8px; left: 180px; width: 2px; background: var(--line); border-radius: 2px; }
.tl__line span { display: block; width: 100%; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: top; transform: scaleY(0); }
.tl__item { display: grid; grid-template-columns: 180px 1fr; gap: 0 44px; position: relative; padding-bottom: 28px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: ""; position: absolute; left: 180px; top: 26px; width: 14px; height: 14px; margin-left: -6px;
  border-radius: 50%; background: var(--bg-tint); border: 2px solid var(--ink-3);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.tl__item.is-passed::before { border-color: var(--accent); background: var(--accent); transform: scale(1.1); }
.tl__when { padding-top: 20px; text-align: right; padding-right: 28px; font-size: .9rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card > p:not(.card__org) { color: var(--ink-2); font-size: .98rem; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__org { font: italic 400 1.25rem/1.2 var(--serif); color: var(--ink); margin-top: -4px; }

.tag {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); white-space: nowrap;
}
.tag--live { background: color-mix(in srgb, var(--live) 14%, transparent); color: var(--live); }

.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

@media (max-width: 720px) {
  .tl__line { left: 7px; }
  .tl__item { grid-template-columns: 1fr; padding-left: 32px; }
  .tl__item::before { left: 7px; top: 3px; }
  .tl__when { text-align: left; padding: 0 0 10px; }
}

/* ---------- Lessons ---------- */
.lessons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lesson { background: var(--bg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; transition: background-color .3s var(--ease); }
.lesson:hover { background: var(--surface); }
.lesson__n { font: italic 400 2.4rem/1 var(--serif); color: var(--accent); }
.lesson h3 { font: 400 1.6rem/1.2 var(--serif); letter-spacing: -.01em; }
.lesson p { color: var(--ink-2); }
@media (max-width: 720px) { .lessons { grid-template-columns: 1fr; } }

/* ---------- About extras: skills + recognition ---------- */
.about-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-extra h3 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.chips--lg li { font-size: .9rem; padding: 6px 14px; background: var(--surface); color: var(--ink); }
.awards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.awards li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.awards li span { color: var(--accent); }
.awards small { display: block; color: var(--ink-3); font-size: .88rem; }
@media (max-width: 600px) { .about-extra { grid-template-columns: 1fr; } }

/* ---------- Writing ---------- */
.section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.section__head--split > div { display: flex; flex-direction: column; gap: 14px; }
.link-arrow {
  font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .2s, color .2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

.writings { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
@media (max-width: 860px) { .writings { grid-template-columns: 1fr; gap: 24px; } }

.feature {
  display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-3); }
.feature h3 { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.12 var(--serif); letter-spacing: -.01em; }
.feature p { color: var(--ink-2); }
.feature__cta { margin-top: auto; padding-top: 12px; font-weight: 500; color: var(--accent); }
.feature__cta span { display: inline-block; transition: transform .2s var(--ease); }
.feature:hover .feature__cta span { transform: translateX(4px); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list a {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.post-list li:last-child a { border-bottom: 1px solid var(--line); }
.post-list time { font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-list h3 { font: 400 1.5rem/1.25 var(--serif); transition: color .2s; }
.post-list p { color: var(--ink-2); font-size: .96rem; margin-top: 4px; }
.post-list .go { color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.post-list a:hover h3, .post-list a:hover .go { color: var(--accent); }
.post-list a:hover .go { transform: translateX(4px); }
@media (max-width: 520px) {
  .post-list a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .post-list time { grid-column: 1 / -1; }
}

/* ---------- Blog index page ---------- */
.page-hero { padding: clamp(56px, 10vw, 112px) 0 40px; }
.page-hero h1 { font: 400 clamp(2.8rem, 7vw, 5rem)/1.02 var(--serif); letter-spacing: -.02em; margin-top: 14px; }
.page-hero p { margin-top: 18px; max-width: 56ch; color: var(--ink-2); font-size: 1.1rem; }
.page-list { padding-bottom: clamp(72px, 10vw, 120px); }

/* ---------- Article page ---------- */
.article { max-width: 720px; margin: 0 auto; padding: clamp(40px, 8vw, 88px) 24px clamp(72px, 10vw, 120px); }
@media (max-width: 600px) { .article { padding-left: 16px; padding-right: 16px; } }
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: color .2s; }
.back:hover { color: var(--accent); }
.back span { transition: transform .2s var(--ease); }
.back:hover span { transform: translateX(-3px); }
.article__head { margin: 36px 0 40px; display: flex; flex-direction: column; gap: 18px; }
.article__head h1 { font: 400 clamp(2.5rem, 6vw, 4rem)/1.05 var(--serif); letter-spacing: -.02em; }
.article__lede { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.45 var(--serif); color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; padding-top: 6px; font-size: .92rem; color: var(--ink-3); }
.byline .brand__mark { --s: 40px; }
.byline strong { color: var(--ink); font-weight: 600; display: block; }

.article__body { font-size: 1.12rem; line-height: 1.8; color: var(--ink); border-top: 1px solid var(--line); padding-top: 40px; }
.article__body > * + * { margin-top: 1.3em; }
.article__body h2 { font: 400 clamp(1.7rem, 3vw, 2.1rem)/1.2 var(--serif); margin-top: 2em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li + li { margin-top: .5em; }
.article__body li::marker { color: var(--accent); }
.article__body strong { font-weight: 600; }
.article__body a { color: var(--accent); text-underline-offset: 3px; }
.article__body blockquote {
  margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font: italic 400 1.5rem/1.4 var(--serif); color: var(--ink);
}

.article__foot { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; }
.author {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.author .brand__mark { --s: 56px; }
.author__txt { flex: 1 1 240px; }
.author__txt strong { display: block; font-weight: 600; }
.author__txt span { color: var(--ink-2); font-size: .95rem; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next a {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease);
}
.next a:hover { border-color: var(--accent); transform: translateY(-2px); }
.next small { color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.next span { font: 400 1.25rem/1.25 var(--serif); }
.next a:last-child { text-align: right; }
.next a:only-child { grid-column: 1 / -1; }
@media (max-width: 600px) { .next { grid-template-columns: 1fr; } .next a:last-child { text-align: left; } }

/* ---------- Now ---------- */
.now { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.now li { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1.05rem; }
.now li:last-child { border-bottom: 1px solid var(--line); }
.now strong { color: var(--ink); font-weight: 600; }
.now__icon { color: var(--accent); font-weight: 600; transition: transform .25s var(--ease); }
.now li:hover .now__icon { transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: var(--dark-ink); border-radius: 28px;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.contact::after {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -160px; bottom: -280px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
}
.contact h2 { font-size: clamp(2.8rem, 7vw, 5rem); }
.contact p:not(.eyebrow) { max-width: 52ch; color: color-mix(in srgb, var(--dark-ink) 72%, transparent); font-size: 1.08rem; margin-bottom: 12px; }
:root[data-theme="dark"] .contact .btn--light { background: #0E0F11; color: #F2F1EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact .btn--light { background: #0E0F11; color: #F2F1EC; } }

/* ---------- Footer ---------- */
.footer { padding: 32px 0 48px; color: var(--ink-3); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
