/* ==========================================================================
   Build Secure Partners — Security by design (light theme)
   ========================================================================== */

:root {
  --bg: #f4f5f7;
  --bg-1: #ffffff;
  --bg-2: #eaecf0;
  --surface: rgba(255, 255, 255, 0.92);
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(14, 23, 38, 0.09);
  --line-2: rgba(14, 23, 38, 0.15);
  --line-3: rgba(14, 23, 38, 0.26);
  --text: #0e1726;
  --text-2: #465065;
  --muted: #5d6678;
  --accent: #1d4ed8;
  --accent-deep: #1a3fae;
  --accent-soft: #eaf0ff;
  --accent-dim: rgba(29, 78, 216, 0.12);
  --warn: #c2410c;
  --warn-dim: rgba(194, 65, 12, 0.12);
  --shadow: 0 1px 2px rgba(14, 23, 38, 0.04), 0 18px 48px -24px rgba(14, 23, 38, 0.18);

  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --nav-h: 76px;
  --mx: 50vw;
  --my: 40vh;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px;
  font: 500 13px var(--mono); transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* --- Background layers ---------------------------------------------------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(29, 78, 216, 0.07), transparent 62%);
}
.bg-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 85% -10%, rgba(29, 78, 216, 0.06), transparent 60%),
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(222, 226, 233, 0.75) 100%);
}
.bg-grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
body > :not(#field):not(.bg-glow):not(.bg-vignette):not(.bg-grain):not(.nav):not(.rail):not(.scroller):not(.skip):not(script) { position: relative; z-index: 2; }

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 245, 247, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mark { width: 24px; height: 24px; transition: transform .8s var(--ease); }
.brand:hover .mark { transform: rotate(60deg); }
.mark-line { fill: none; stroke: var(--text); stroke-width: 1.2; stroke-linejoin: round; }
.mark-fill { fill: var(--accent); }
.brand-name { font-weight: 580; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name .bn-p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.24em; letter-spacing: -0.005em; color: var(--accent); line-height: 1; }
.brand-tag {
  font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line-2);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  display: inline-flex; gap: 8px; align-items: baseline;
  font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  transition: color .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* --- Buttons -------------------------------------------------------------- */
/* Layers: cursor spotlight (::before) · travelling border beam (::after) · sheen sweep ·
   per-letter roll · looping arrow · click ripple · halo pulse (primary). JS adds .hot on hover/focus. */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn {
  --h: 52px; --bx: 50%; --by: 50%; --beam: rgba(29, 78, 216, 0.95); --spot: rgba(29, 78, 216, 0.14);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 500 14px var(--sans); letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.65); color: var(--text);
  cursor: pointer; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 2px rgba(14, 23, 38, 0.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background-color .4s, color .4s;
}
.btn > svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(150px circle at var(--bx) var(--by), var(--spot), transparent 65%);
  opacity: 0; transition: opacity .45s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 230deg, var(--beam) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s; animation: beam 2.4s linear infinite;
}
@keyframes beam { to { --ang: 360deg; } }
.bt-shine {
  position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(29, 78, 216, 0.10) 45%, rgba(255, 255, 255, 0.7) 50%, rgba(29, 78, 216, 0.10) 55%, transparent 70%);
  transform: translateX(-130%);
}
.bt-roll { position: relative; display: inline-flex; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.bt-c { display: inline-block; text-shadow: 0 1.3em currentColor; transition: transform .6s cubic-bezier(0.7, 0, 0.2, 1); transition-delay: calc(var(--i) * 14ms); }
.bt-ico { position: relative; flex: none; display: inline-block; width: 14px; height: 14px; overflow: hidden; }
.bt-ico svg { position: absolute; inset: 0; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s cubic-bezier(0.7, 0, 0.2, 1) .08s; }
.bt-ico svg + svg { transform: translateX(-170%); }
.btn-ghost .bt-ico svg + svg { transform: translateY(-170%); }
.bt-ripple {
  position: absolute; z-index: -1; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--beam); opacity: .3; pointer-events: none; animation: ripple .8s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
}
@keyframes ripple { to { transform: scale(30); opacity: 0; } }

.btn.hot { border-color: transparent; background: #fff; box-shadow: 0 14px 32px -16px rgba(29, 78, 216, 0.5); }
.btn.hot::before, .btn.hot::after { opacity: 1; }
.btn.hot .bt-shine { transform: translateX(130%); transition: transform 1s cubic-bezier(0.2, 0.7, 0.1, 1); }
.btn.hot .bt-c { transform: translateY(-1.3em); }
.btn.hot .bt-ico svg:first-child { transform: translateX(170%); }
.btn.hot .bt-ico svg + svg { transform: none; }
.btn-ghost.hot .bt-ico svg:first-child { transform: translateY(170%); }
.btn:active { transform: scale(0.97) !important; }

.btn-sm { --h: 40px; padding: 0 18px; font-size: 13px; gap: 10px; }
.btn-ghost, .btn-ghost-r { background: transparent; }

.btn-primary {
  --beam: rgba(255, 255, 255, 0.95); --spot: rgba(255, 255, 255, 0.38);
  color: #fff; border-color: transparent;
  background: linear-gradient(180deg, #2b5de8 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 24px -12px rgba(29, 78, 216, 0.65);
}
.btn-primary::after { opacity: .28; }
.btn-primary .bt-shine { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.12) 44%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.12) 56%, transparent 70%); }
.btn-primary.hot {
  background: linear-gradient(180deg, #3366f2 0%, #1a44c6 100%);
  animation: halo 1.8s cubic-bezier(0.2, 0.7, 0.1, 1) infinite;
}
@keyframes halo {
  0%   { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 40px -14px rgba(29, 78, 216, 0.75), 0 0 0 0 rgba(29, 78, 216, 0.38); }
  100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 40px -14px rgba(29, 78, 216, 0.75), 0 0 0 16px rgba(29, 78, 216, 0); }
}

/* --- Shared type ---------------------------------------------------------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 1px; box-shadow: 0 0 0 4px var(--accent-dim); animation: blink 2.4s var(--ease-io) infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(29, 78, 216, 0); } }
.kicker span { color: var(--accent); }
.kicker::after { content: ""; width: 48px; height: 1px; background: var(--line-2); }

.section h2, .section .page-title {
  font-weight: 460; font-size: clamp(34px, 4.7vw, 72px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 17ch; margin-top: 28px; text-wrap: balance;
}
.section h2 em, .section .page-title em { color: var(--accent); font-size: 1.06em; }
.section .page-title { font-size: clamp(40px, 5.4vw, 84px); max-width: 15ch; }
.sec-lead { color: var(--text-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; max-width: 46ch; margin-top: 28px; text-wrap: pretty; }
.section { padding: clamp(110px, 16vh, 200px) 0; position: relative; }
.sec-head { margin-bottom: clamp(56px, 8vh, 96px); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.sec-head-row .sec-lead { margin-top: 0; }

/* --- Reveal --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 72px) 0 40px; }
.hero-title {
  margin: 36px 0 0; font-weight: 460;
  font-size: clamp(46px, 8.6vw, 140px); line-height: 0.95; letter-spacing: -0.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(2deg); transform-origin: 0 100%; transition: transform 1.4s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.hero-title em { color: var(--accent); font-size: 1.08em; letter-spacing: -0.02em; padding-right: .04em; }
.hero-title .line-rot { height: 1.27em; padding-bottom: .24em; margin-bottom: -.24em; }
.rot { display: inline-block; white-space: nowrap; }
.rot .rc { display: inline-block; will-change: transform, opacity; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.loaded .hero-title .line > span { transform: none; }

.hero-in { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 80ms + 200ms); }
.loaded .hero-in { opacity: 1; transform: none; }

.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-top: 48px; }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--text-2); max-width: 44ch; line-height: 1.55; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0;
  border-top: 1px solid var(--line-2);
}
.hero-meta > div { padding: 20px 24px 0 0; }
.hero-meta > div + div { padding-left: 24px; border-left: 1px solid var(--line-2); }
.hero-meta dt { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-meta dd { margin: 8px 0 0; font-size: 15px; color: var(--text); }

.hero-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.cue-line { width: 1px; height: 28px; background: var(--line-2); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.readout b { font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* --- Strip ---------------------------------------------------------------- */
.strip {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip ul { display: flex; list-style: none; margin: 0; padding: 0; }
.strip li {
  display: flex; align-items: center; gap: 40px; padding: 22px 40px 22px 0;
  font: 400 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
}
.strip li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Practice cards ------------------------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
/* Each card spans four rows of the parent grid (icon · title · text · tags) via subgrid,
   so titles, paragraphs and tags line up across every card in a row. */
.card {
  --x: 50%; --y: 50%;
  position: relative; padding: clamp(28px, 2.8vw, 44px);
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  background: var(--surface); isolation: isolate;
}
.card > * { align-self: start; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(460px circle at var(--x) var(--y), rgba(29, 78, 216, 0.07), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background-image: radial-gradient(rgba(29, 78, 216, 0.28) 1px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(180px circle at var(--x) var(--y), #000, transparent 70%);
  mask-image: radial-gradient(180px circle at var(--x) var(--y), #000, transparent 70%);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: clamp(40px, 4vw, 64px); }
.card-n { font: 400 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.glyph { width: 44px; height: 44px; fill: none; stroke: var(--text-2); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .8s var(--ease); }
.card:hover .glyph { stroke: var(--accent); transform: rotate(-8deg) scale(1.04); }
.card h3 { font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1.15; max-width: 20ch; }
.card p { color: var(--text-2); margin-top: 16px; max-width: 46ch; }
.tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
@supports not (grid-template-rows: subgrid) {
  .card { display: flex; flex-direction: column; }
  .card .tags { margin-top: auto; padding-top: 28px; }
}
.tags li { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.6); }

/* --- Method --------------------------------------------------------------- */
.method-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); }
.method-sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.section.method h2 { font-size: clamp(34px, 4vw, 62px); }
.method-counter { display: flex; align-items: flex-start; gap: 10px; margin-top: 56px; }
.counter-window { height: 1em; overflow: hidden; font-family: var(--serif); font-size: clamp(110px, 13vw, 200px); line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.counter-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--i, 0) * -1em)); transition: transform 1s var(--ease); }
.counter-strip span { height: 1em; display: block; }
.counter-of { font: 400 13px var(--mono); color: var(--muted); margin-top: 18px; }
.method-bar { height: 1px; background: var(--line-2); margin-top: 32px; max-width: 320px; position: relative; overflow: hidden; }
.method-bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 12vh 0; border-top: 1px solid var(--line-2); opacity: .32; transition: opacity .8s var(--ease); }
.step:first-child { padding-top: 0; border-top: 0; }
.step:last-child { padding-bottom: 4vh; }
.step.active { opacity: 1; }
.step-label { font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.step h3 { font-weight: 460; font-size: clamp(28px, 3.1vw, 46px); letter-spacing: -0.032em; line-height: 1.08; margin-top: 18px; max-width: 18ch; }
.step > p:not(.step-label) { color: var(--text-2); font-size: clamp(16px, 1.2vw, 18px); margin-top: 20px; max-width: 50ch; }
.deliv { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.deliv li { display: flex; align-items: center; gap: 12px; font: 400 13px var(--mono); color: var(--text-2); }
.deliv li::before { content: ""; width: 14px; height: 1px; background: var(--accent); }

/* --- Review --------------------------------------------------------------- */
/* Semantics: open findings use --warn (orange); resolved state uses the brand blue. */
.review { border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; box-shadow: var(--shadow); }
.review-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.seg { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.7); }
.seg-btn { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .4s; }
.seg-btn[aria-pressed="true"] { color: #fff; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--w, 50%); transform: translateX(var(--l, 0)); background: var(--warn); border-radius: 999px; transition: transform .6s var(--ease), width .6s var(--ease), background-color .6s; }
.review[data-state="reviewed"] .seg-pill { background: var(--accent); }
.review-status { display: inline-flex; align-items: center; gap: 10px; font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-dim); transition: background .6s, box-shadow .6s; }
.review[data-state="reviewed"] .st-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }

.review-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.diagram-wrap { padding: clamp(12px, 2vw, 28px); border-right: 1px solid var(--line); overflow-x: auto; display: flex; align-items: center; }
.diagram { width: 100%; min-width: 620px; height: auto; font-family: var(--sans); }
.zone { fill: rgba(14, 23, 38, 0.018); stroke: var(--line-3); stroke-dasharray: 3 6; }
.zone-label { font: 500 10px var(--mono); letter-spacing: .14em; fill: var(--muted); }
.node rect { fill: #fff; stroke: var(--line-3); stroke-width: 1; }
.n-t { font-size: 13px; font-weight: 500; fill: var(--text); letter-spacing: -0.01em; }
.n-s { font: 400 10px var(--mono); fill: var(--muted); letter-spacing: .03em; }
.edge { fill: none; stroke: rgba(14, 23, 38, 0.38); stroke-width: 1.2; stroke-dasharray: 3 5; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.rv { opacity: 0; transition: opacity .8s var(--ease); }
.bl { transition: opacity .8s var(--ease); }
.review[data-state="reviewed"] .rv { opacity: 1; }
.review[data-state="reviewed"] .bl { opacity: 0.1; }
.review[data-state="reviewed"] .edge.rv { stroke: var(--accent); }
.review[data-state="reviewed"] .node.rv rect { stroke: var(--accent); fill: var(--accent-soft); }
.tags-svg text { font: 500 10px var(--mono); fill: var(--accent); letter-spacing: .04em; text-anchor: middle; }
.tags-svg .vert { text-anchor: start; }

.mk { cursor: pointer; outline: none; }
.mk-i { transition: transform .5s var(--ease), opacity .4s; transform-box: fill-box; transform-origin: center; }
.mk .disc { fill: #fff; stroke: var(--warn); stroke-width: 1.5; transition: fill .6s, stroke .6s; }
.mk text { font: 500 11px var(--mono); fill: var(--warn); text-anchor: middle; transition: opacity .4s; }
.mk .ck { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s .1s; }
.mk .pulse { fill: none; stroke: var(--warn); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
.review[data-state="reviewed"] .mk .disc { fill: var(--accent-soft); stroke: var(--accent); }
.review[data-state="reviewed"] .mk text { opacity: 0; }
.review[data-state="reviewed"] .mk .ck { opacity: 1; }
.review[data-state="reviewed"] .mk .pulse { animation: none; opacity: 0; }
.review.focusing .mk:not(.on) .mk-i { opacity: .3; }
.mk.on .mk-i, .mk:focus-visible .mk-i { transform: scale(1.3); }

.findings { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; }
.findings li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 16px 14px; border-radius: 12px; cursor: default; transition: background .4s, opacity .4s; outline: none; }
.findings li.on, .findings li:focus-visible { background: rgba(14, 23, 38, 0.04); }
.review.focusing .findings li:not(.on) { opacity: .4; }
.f-n { font: 500 11px var(--mono); color: var(--warn); padding-top: 3px; transition: color .6s; }
.review[data-state="reviewed"] .f-n { color: var(--accent); }
.findings h4 { font-weight: 550; font-size: 15px; letter-spacing: -0.01em; }
.findings p { font-size: 13.5px; line-height: 1.5; color: var(--text-2); margin-top: 6px; }
.f-b { display: none; }
.review[data-state="reviewed"] .f-a { display: none; }
.review[data-state="reviewed"] .f-b { display: block; animation: fadeUp .6s var(--ease); }
.review[data-state="baseline"] .f-a { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* --- Outcomes ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line-2); }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-2); }
.stat-v { font-family: var(--serif); font-size: clamp(64px, 7.4vw, 120px); line-height: 1; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-v small { font-family: var(--mono); font-size: 14px; letter-spacing: .04em; color: var(--accent); margin-left: 8px; vertical-align: top; position: relative; top: .6em; }
.stat-l { color: var(--text-2); font-size: 14.5px; margin-top: 18px; max-width: 28ch; }
.statement { margin: clamp(100px, 16vh, 180px) 0 0; padding: 0; }
.statement p { font-weight: 460; font-size: clamp(32px, 4.8vw, 76px); line-height: 1.04; letter-spacing: -0.04em; max-width: 20ch; text-wrap: balance; }
.statement em { color: var(--accent); }

/* --- Blog (home list) --- */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.link-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.posts li { border-bottom: 1px solid var(--line-2); }
.posts a { position: relative; display: grid; grid-template-columns: 200px 1fr 48px; align-items: center; gap: 24px; padding: 34px 0; isolation: isolate; }
.posts a::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -0.5); z-index: -1; background: linear-gradient(90deg, rgba(29, 78, 216, 0.07), transparent 70%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); border-radius: 12px; }
.posts a:hover::before { transform: scaleY(1); }
.p-date { font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-title { font-weight: 460; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.15; transition: transform .6s var(--ease), color .3s; }
.posts a:hover .p-title { transform: translateX(10px); color: var(--accent); }
.p-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.7); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.p-go svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 1.5; transition: stroke .3s; }
.posts a:hover .p-go { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.posts a:hover .p-go svg { stroke: #fff; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.facts { margin: 48px 0 0; border-top: 1px solid var(--line-2); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-size: 15px; text-align: right; }

.form { position: relative; padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; gap: 8px; box-shadow: var(--shadow); }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(400px circle at var(--x, 80%) var(--y, 0%), rgba(29, 78, 216, 0.55), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 0 0; }
.field > span { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.field:focus-within > span { color: var(--accent); }
.field input, .field textarea, .field select {
  appearance: none; -webkit-appearance: none; width: 100%; border: 0; border-bottom: 1px solid var(--line-3); border-radius: 0;
  background: transparent; color: var(--text); font: 400 17px var(--sans); padding: 10px 0 12px; outline: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { cursor: pointer; padding-right: 28px; }
.field select option { background: #fff; color: var(--text); }
.field-select::after { content: ""; position: absolute; right: 4px; bottom: 22px; width: 7px; height: 7px; border-right: 1.4px solid var(--text-2); border-bottom: 1.4px solid var(--text-2); transform: rotate(45deg); pointer-events: none; }
.field::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.field:focus-within::before { transform: scaleX(1); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px #fff inset; caret-color: var(--text); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); max-width: 30ch; }

/* --- Contact CTA band (home) & contact page ------------------------------ */
.cta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-top: 28px; }
.cta-row .sec-lead { margin-top: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-contact, .page-top { padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 112px)); }
.next { padding-top: 0; }
.next-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.next-steps li { padding: 32px 32px 0 0; }
.next-steps li + li { padding-left: 32px; border-left: 1px solid var(--line-2); }
.ns-n { font: 400 12px var(--mono); letter-spacing: .1em; color: var(--accent); }
.next-steps h3 { font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; margin-top: 14px; }
.next-steps p { color: var(--text-2); margin-top: 12px; max-width: 40ch; }

/* --- Footer --------------------------------------------------------------- */
.footer { padding: clamp(80px, 12vh, 140px) 0 32px; border-top: 1px solid var(--line-2); background: linear-gradient(to bottom, rgba(234, 236, 240, 0.5), var(--bg-2) 70%); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-claim { font-weight: 460; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.035em; }
.foot-claim em { color: var(--accent); }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 96px); }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols p { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-cols a { color: var(--text-2); font-size: 15px; transition: color .3s; }
.foot-cols a:hover { color: var(--accent); }
.wordmark span { display: block; }
.wordmark .wm-p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -0.035em; line-height: .86; padding: 0 .06em 0 .07em; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.wordmark {
  font-weight: 500; font-size: clamp(54px, 12.5vw, 210px); line-height: .88; letter-spacing: -0.055em; padding-bottom: .06em;
  margin: clamp(60px, 10vh, 120px) 0 0 -0.04em; user-select: none;
  background: radial-gradient(420px circle at var(--wx, 50%) var(--wy, 50%), rgba(29, 78, 216, 0.7), rgba(14, 23, 38, 0.08) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); font: 400 12px var(--mono); letter-spacing: .04em; color: var(--muted); }

/* --- Section rail & scroll controls --------------------------------------- */
.rail { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 40; }
.rail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rail button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--muted); }
.rail .r-l { font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease), color .3s; }
.rail .r-t { width: 14px; height: 1.5px; background: var(--line-3); transition: width .5s var(--ease), background .3s; }
.rail:hover .r-l, .rail button:focus-visible .r-l { opacity: 1; transform: none; }
.rail button:hover .r-l, .rail button.active .r-l { color: var(--text); }
.rail button.active .r-t { width: 30px; background: var(--accent); }
.rail button:hover .r-t { width: 24px; background: var(--text); }

.scroller { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); transition: opacity .5s, transform .5s var(--ease); }
.sc-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s, opacity .3s; }
.sc-btn svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-btn:hover:not(:disabled) { background: rgba(14, 23, 38, 0.06); }
.sc-btn:disabled { opacity: .25; cursor: default; }
.sc-ring { position: relative; width: 36px; height: 36px; display: grid; place-items: center; }
.sc-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sc-ring circle { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.sc-ring .sc-prog { stroke: var(--accent); stroke-dasharray: 106.8; stroke-dashoffset: 106.8; stroke-linecap: round; }
.sc-ring span { font: 500 9px var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1240px) {
  .brand-tag { display: none; }
  .nav-inner { gap: 24px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 1180px) {
  .rail { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .brand-tag { display: none; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; }
  .method-grid, .contact-grid { grid-template-columns: 1fr; }
  .method-sticky { position: relative; top: 0; }
  .method-counter { display: none; }
  .method-bar { display: none; }
  .step { padding: 56px 0; opacity: 1; }
  .step:first-child { padding-top: 56px; border-top: 1px solid var(--line-2); }
  .review-body { grid-template-columns: 1fr; }
  .diagram-wrap { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 40px; }
}
@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .cards { grid-template-columns: 1fr; }
  .card-top { padding-bottom: 32px; }
  .hero-meta { grid-template-columns: 1fr; margin-top: 48px; }
  .hero-meta > div, .hero-meta > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .hero-foot .readout { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .posts a { grid-template-columns: 1fr 44px; gap: 8px 16px; padding: 26px 0; }
  .p-date { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { margin-top: 36px; }
  .scroller { right: 12px; bottom: 12px; padding: 4px; gap: 2px; }
  .sc-ring { display: none; }
  .sc-btn { width: 34px; height: 34px; }
  .nav .btn-sm { display: none; }
  .nav-links { gap: 22px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .next-steps { grid-template-columns: 1fr; }
  .next-steps li, .next-steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
}

/* --- Blog: list page + article layout (99helpers templates) ---------------- */
.post-head { padding-bottom: clamp(40px, 6vh, 72px); }
.posts-full { margin-top: clamp(56px, 8vh, 96px); }
.posts-full a { align-items: start; padding: 40px 0; }
.posts-full .p-date { padding-top: 14px; }
.posts-full .p-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform .6s var(--ease); }
.posts-full a:hover .p-title { transform: none; }
.posts-full a:hover .p-main { transform: translateX(10px); }
.p-excerpt { color: var(--text-2); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; max-width: 62ch; text-wrap: pretty; }
.p-read { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.posts-full .p-go { margin-top: 2px; }
.p-empty { padding: 34px 0; color: var(--muted); }
.pager:not(:empty) { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pager a { color: var(--text); padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.7); transition: color .3s, border-color .3s; }
.pager a:hover { color: var(--accent); border-color: var(--accent); }

.kicker-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; transition: color .3s; }
.kicker-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.kicker-link:hover { color: var(--accent); }
.kicker-link:hover svg { transform: translateX(-4px); }

.section .post-title { font-size: clamp(36px, 4.6vw, 68px); max-width: 20ch; }
.post-facts { display: flex; flex-wrap: wrap; column-gap: clamp(32px, 4vw, 64px); max-width: 68ch; margin-top: 40px; border-bottom: 1px solid var(--line-2); }
.post-facts > div { flex-direction: column; justify-content: flex-start; gap: 6px; border-bottom: 0; }
.post-facts dd { text-align: left; }

.post-main { padding-top: 0; }
.post-body { max-width: 68ch; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.post-body > :first-child { margin-top: 0; }
.post-body :is(p, ul, ol, blockquote, pre, figure, table) { margin: 0 0 1.25em; }
.section .post-body h2 { font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.025em; line-height: 1.2; max-width: none; margin: 2em 0 .6em; }
.post-body h3 { font-weight: 500; font-size: 1.2em; letter-spacing: -0.015em; line-height: 1.3; margin: 1.7em 0 .5em; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body ul { list-style: disc; padding-left: 1.3em; }
.post-body ol { list-style: decimal; padding-left: 1.3em; }
.post-body li { margin: .4em 0; padding-left: .2em; }
.post-body li::marker { color: var(--accent); }
.post-body strong { font-weight: 600; }
.post-body blockquote { margin-left: 0; padding: .2em 0 .2em 1.2em; border-left: 2px solid var(--accent); color: var(--text-2); font-style: normal; opacity: 1; }
.post-body code { font-family: var(--mono); font-size: .86em; padding: .12em .36em; border-radius: 5px; background: var(--accent-soft); color: var(--accent-deep); }
.post-body pre { overflow-x: auto; padding: 1.1em 1.25em; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.8); font-size: .86em; line-height: 1.6; }
.post-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.post-body hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.5em 0; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 2em 0; }
.post-tags { max-width: 760px; margin-top: 40px; font-size: 0; line-height: 0; color: transparent; }
.post-tags a { display: inline-block; margin: 0 8px 8px 0; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; transition: color .3s, border-color .3s; }
.post-tags a:hover { color: var(--accent); border-color: var(--accent); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(56px, 8vh, 96px); padding-top: 32px; border-top: 1px solid var(--line-2); }
.pn { display: block; color: var(--text); font-weight: 460; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; line-height: 1.25; transition: color .3s; }
.pn:hover { color: var(--accent); }
.pn::before { display: block; margin-bottom: 10px; font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pn-prev::before { content: "\2190  Previous"; }
.pn-next::before { content: "Next  \2192"; }
.pn-next { grid-column: 2; text-align: right; }
.pn:empty, .pn:not([href]) { display: none; }
@media (max-width: 680px) {
  .posts-full a { padding: 28px 0; }
  .posts-full .p-date { padding-top: 0; }
  .post-facts { flex-direction: column; border-bottom: 0; }
  .post-facts > div { flex-direction: row; justify-content: space-between; border-bottom: 1px solid var(--line-2); }
  .post-facts dd { text-align: right; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
