/* =====================================================================
   TAYWay Sky: design layer loaded after theme.css.
   Light-first sports-academy look: white dot-grid body, inset rounded
   cards for hero / photo band / CTA / footer, a sky-blue duotone hero with
   a giant white Anton headline and a frosted info panel, lettered section
   markers (A, B, C ...) with a hairline rule. Lime is reserved for big
   numerals, decor and lime squares carrying ink arrows.
   Context classes (.tw-on-photo, .tw-on-accent) re-point the colour tokens
   so every component reads on photos and on the sky band in both modes.
   ===================================================================== */

@font-face { font-family: 'Anton'; src: url('../assets/fonts/anton-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

/* Bare :root = dark (tokens.json). :root[data-theme='light'] = light default (tokens.light.json). */
:root {
  --tw-ink: #0b0b0b;
  --tw-lime: #b8e04a;
  --tw-sky: #1f6fd6;
  --tw-ease: cubic-bezier(.2, .7, .2, 1);
  --tw-gut: clamp(8px, 1vw, 14px);
  --tw-r: clamp(16px, 1.8vw, 24px);
  --tw-dot: rgba(242, 245, 250, .075);
  --tw-panel: #111b2c;
  --tw-foot: #0d1729;
  --tw-arrow: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230b0b0b%27 stroke-width=%272.4%27 stroke-linecap=%27square%27%3E%3Cpath d=%27M4 12h15M13 6l6 6-6 6%27/%3E%3C/svg%3E');
  --tw-check: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230b0b0b%27 stroke-width=%273%27 stroke-linecap=%27square%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27/%3E%3C/svg%3E');
}
:root[data-theme='light'] {
  --tw-dot: rgba(11, 11, 11, .13);
  --tw-panel: #0b0d12;
  --tw-foot: #0a1222;
}

body { background: var(--bg); color: var(--fg); font-family: var(--font-body); }
::selection { background: var(--accent); color: var(--accent-fg); }
.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; }
.tw-main a:focus-visible, .tw-header a:focus-visible, .tw-header button:focus-visible, .tw-footer a:focus-visible, .mnav a:focus-visible, .mnav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tw-on-photo a:focus-visible, .tw-on-accent a:focus-visible, .tw-footer a:focus-visible { outline-color: #ffffff; }

/* ---------- colour contexts ---------- */
.tw-on-photo {
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, .82);
  --border: rgba(255, 255, 255, .2);
  --border-strong: rgba(255, 255, 255, .55);
  --accent-text: var(--tw-lime);
  --surface: #111b2c;
  --bg: #0b0d12;
  color: var(--fg);
}
.tw-on-accent {
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, .9);
  --border: rgba(255, 255, 255, .3);
  --border-strong: rgba(255, 255, 255, .75);
  --accent-text: #ffffff;
  background-color: var(--tw-sky);
  color: var(--fg);
}

/* ---------- header: clean bar, ink logo on the light default ---------- */
.tw-header { background: var(--bg); }
:root[data-theme='light'] .tw-header { background: #ffffff; }
.tw-header .nav-row { gap: 28px; }
.tw-brand { display: inline-flex; align-items: center; flex: none; }
.tw-logo { height: 34px; width: auto; display: block; }
.tw-logo--ink { display: none; }
:root[data-theme='light'] .tw-logo--ink { display: block; }
:root[data-theme='light'] .tw-logo--cream { display: none; }
.tw-header .main-nav { gap: 6px; margin-left: auto; }
.tw-header .main-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: .78;
  transition: opacity .2s, background-color .2s;
}
.tw-header .main-nav a:hover { opacity: 1; background: var(--surface); color: var(--fg); }
.tw-header .main-nav a[aria-current='page'] { opacity: 1; color: var(--fg); }
.tw-header .main-nav a[aria-current='page']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); }
.tw-header .nav-actions { gap: 12px; }
@media (max-width: 900px) { .tw-nav-cta { display: none !important; } }
.site-header.nav-compact .tw-nav-cta { display: none !important; }
.mnav-foot .tw-mnav-cta { width: 100%; justify-content: center; margin-bottom: 16px; }
.mnav-body a { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; letter-spacing: .01em; }

/* ---------- buttons: compact, with a lime arrow square ---------- */
.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-fg);
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--tw-ease);
}
.tw-btn:has(> svg) { padding: 5px 5px 5px 22px; }
.tw-btn svg {
  box-sizing: border-box;
  width: 40px; height: 40px; padding: 11px; flex: none;
  background: var(--tw-lime); color: var(--tw-ink);
  border-radius: 3px;
  transition: transform .25s var(--tw-ease);
}
.tw-btn:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.tw-btn:hover svg { transform: translateX(3px); }
.tw-btn:active { transform: translateY(1px); }
.tw-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.tw-btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.tw-btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tw-on-photo .tw-btn:not(.tw-btn--ghost) { background: #ffffff; border-color: #ffffff; color: var(--tw-ink); }
.tw-on-photo .tw-btn:not(.tw-btn--ghost):hover { background: var(--tw-lime); border-color: var(--tw-lime); color: var(--tw-ink); }
.tw-on-photo .tw-btn:not(.tw-btn--ghost):hover svg { background: var(--tw-ink); color: var(--tw-lime); }
.tw-on-photo .tw-btn--ghost { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tw-on-photo .tw-btn--ghost:hover { background: #ffffff; color: var(--tw-ink); border-color: #ffffff; }
.tw-btn--ink, .tw-on-photo .tw-btn--ink { background: #ffffff; color: var(--tw-ink); border-color: #ffffff; }
.tw-btn--ink:hover, .tw-on-photo .tw-btn--ink:hover { background: var(--tw-ink); color: #ffffff; border-color: var(--tw-ink); }
.tw-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.tw-btn--sm:has(> svg) { padding: 4px 4px 4px 16px; }
.tw-btn--sm svg { width: 32px; height: 32px; padding: 8px; }
.tw-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
}
.tw-link svg { box-sizing: border-box; width: 30px; height: 30px; padding: 7px; background: var(--tw-lime); color: var(--tw-ink); border-radius: 3px; transition: transform .2s var(--tw-ease); }
.tw-link:hover svg { transform: translateX(4px); }

/* ---------- layout ---------- */
.tw-main {
  display: block;
  overflow-x: clip;
  counter-reset: twsec;
  background-color: var(--bg);
  background-image: radial-gradient(var(--tw-dot) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
:where(.tw-main) .post-detail-body { max-width: none; font-size: inherit; line-height: inherit; }
:where(.tw-main) .post-detail-body h1,
:where(.tw-main) .post-detail-body h2,
:where(.tw-main) .post-detail-body h3,
:where(.tw-main) .post-detail-body h4,
:where(.tw-main) .post-detail-body p,
:where(.tw-main) .post-detail-body ul,
:where(.tw-main) .post-detail-body ol,
:where(.tw-main) .post-detail-body li,
:where(.tw-main) .post-detail-body img,
:where(.tw-main) .post-detail-body figure { margin: 0; padding: 0; border: 0; border-radius: 0; }
:where(.tw-main) .post-detail-body a { color: inherit; text-decoration: none; border: 0; }
.tw-sec { position: relative; padding-block: clamp(80px, 9.5vw, 136px); }
.tw-sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.tw-sec--surface { background: var(--surface); }
.tw-sec--ink { background: var(--tw-panel); }
/* Inset rounded blocks: hero, surface bands, photo band, CTA band, ticker, footer. */
.tw-sec--surface, .tw-sec--ink, .tw-photo, .tw-sec.tw-on-accent {
  margin: var(--tw-gut);
  border-radius: var(--tw-r);
  overflow: hidden;
}
.tw-in { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- type ---------- */
.tw-main .tw-kicker, .tw-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-label); font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg);
}
/* Lettered section markers: (A) About ----, (B) Training ---- */
.tw-sec .tw-kicker { counter-increment: twsec; }
.tw-sec .tw-kicker::before {
  content: counter(twsec, upper-alpha);
  content: counter(twsec, upper-alpha) / '';
  flex: none;
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border: 1.5px solid currentColor; border-radius: 50%;
  font-family: var(--font-label); font-weight: 800; font-size: 14px; letter-spacing: 0; line-height: 1;
}
.tw-sec .tw-kicker::after { content: ''; flex: 1 1 auto; min-width: 48px; height: 1px; background: var(--border-strong); }
.tw-display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: .9; color: var(--fg); }
.tw-h1 { font-size: clamp(58px, 10vw, 160px); }
.tw-h2 { font-size: clamp(46px, 6.2vw, 96px); }
.tw-h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: .95; }
.tw-accent { color: var(--accent-text); }
.tw-outline { color: var(--fg); }
@supports (-webkit-text-stroke: 1px black) { .tw-outline { color: transparent; -webkit-text-stroke: 2px var(--fg); } }
.tw-main .tw-sub, .tw-sub { margin-top: 24px; font-family: var(--font-body); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.38; font-weight: 500; letter-spacing: -.01em; color: var(--fg); max-width: 38ch; }
.tw-main .tw-body, .tw-body { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 58ch; }
.tw-main .tw-body + .tw-body { margin-top: 14px; }
.tw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 38px; }

/* ---------- hero: sky duotone, giant headline, frosted panel ---------- */
.tw-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: stretch;
  min-height: min(calc(100svh - 70px - var(--tw-gut)), 900px);
  margin: 0 var(--tw-gut);
  border-radius: var(--tw-r);
  overflow: hidden;
  background: var(--tw-sky);
  color: #ffffff;
}
.tw-hero--page { min-height: min(calc(78svh - 70px), 680px); }
.tw-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; background: #0a2a66; }
.tw-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.18); }
/* Duotone: lighten lifts shadows to navy (+ soft cloud light), multiply caps highlights at sky blue. */
.tw-hero__media::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(55% 38% at 82% 6%, rgba(214, 233, 255, .55), rgba(214, 233, 255, 0) 70%),
    radial-gradient(38% 28% at 18% 0%, rgba(214, 233, 255, .4), rgba(214, 233, 255, 0) 70%),
    #0f3a85;
  mix-blend-mode: lighten;
}
.tw-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #5fa9f4 0%, #3b88e4 46%, #1b55ad 100%);
  mix-blend-mode: multiply;
}
.tw-hero .tw-in {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(28px, 1fr) auto auto auto auto;
  padding-block: clamp(32px, 4.5vw, 60px) clamp(20px, 2.6vw, 36px);
}
.tw-hero .tw-in > * { grid-column: 1 / -1; }
.tw-hero .tw-kicker {
  grid-row: 1; justify-self: start; position: relative; z-index: 1;
  display: inline-flex; gap: 10px; margin: 0 0 20px; padding: 9px 16px 9px 12px;
  font-size: 13px; letter-spacing: .2em; color: #ffffff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  counter-increment: none;
}
.tw-hero .tw-kicker::before { content: ''; width: 9px; height: 9px; border: 0; border-radius: 2px; background: var(--tw-lime); }
.tw-hero .tw-kicker::after { display: none; }
.tw-hero .tw-h1 {
  grid-row: 2; position: relative; z-index: 1;
  max-width: none;
  font-size: clamp(56px, 11vw, 150px); line-height: .9;
  color: #ffffff;
}
.tw-hero .tw-accent { color: #ffffff; }
.tw-hero--page .tw-h1 { font-size: clamp(52px, 9.4vw, 136px); }
.tw-hero .tw-in::before {
  content: '';
  grid-column: 1; grid-row: 4 / 8;
  position: relative; z-index: 3;
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1));
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px rgba(5, 20, 50, .18);
}
.tw-hero .tw-in::after { content: ''; grid-column: 1; grid-row: 7; height: 26px; }
.tw-hero .tw-in:not(:has(> .tw-sub, > .tw-actions, > .tw-hero__meta))::before,
.tw-hero .tw-in:not(:has(> .tw-sub, > .tw-actions, > .tw-hero__meta))::after { display: none; }
.tw-main .tw-hero .tw-sub { grid-row: 4; grid-column: 1; position: relative; z-index: 3; margin: 0; padding: 26px 28px 0; max-width: none; font-size: clamp(18px, 1.5vw, 21px); color: #ffffff; }
.tw-hero .tw-actions { grid-row: 5; grid-column: 1; position: relative; z-index: 3; margin: 0; padding: 20px 28px 0; gap: 10px; }
.tw-hero .tw-hero__meta {
  grid-row: 6; grid-column: 1; position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 22px 28px 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3);
  font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .95);
}
.tw-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.tw-hero__meta span::before { content: ''; width: 7px; height: 7px; border-radius: 1px; background: var(--tw-lime); }
/* Future transparent PNG of Tay: <img class='tw-hero__cutout'> as a direct child of section.tw-hero.
   Sits in front of the headline (z 2) and behind the frosted panel (z 3). See NOTICE.md. */
.tw-hero__cutout {
  position: absolute; right: clamp(0px, 5vw, 80px); bottom: 0; z-index: 2;
  width: auto; height: 94%; max-height: 880px; max-width: 56%;
  object-fit: contain; object-position: bottom center;
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 24px 48px rgba(6, 24, 60, .35));
}
@media (max-width: 860px) {
  .tw-hero { min-height: min(calc(100svh - 70px), 820px); }
  .tw-hero .tw-in { grid-template-columns: minmax(0, 1fr); padding-block: 28px 16px; padding-inline: 16px; }
  .tw-hero .tw-h1 { font-size: clamp(52px, 16vw, 110px); }
  .tw-hero--page .tw-h1 { font-size: clamp(48px, 14vw, 96px); }
  .tw-main .tw-hero .tw-sub { padding: 22px 20px 0; }
  .tw-hero .tw-actions { padding: 18px 20px 0; }
  .tw-hero .tw-actions .tw-btn { flex: 1 1 auto; }
  .tw-hero__meta { margin: 18px 20px 0; gap: 8px 16px; font-size: 12px; }
  .tw-hero .tw-in::after { height: 20px; }
  .tw-hero__cutout { height: 56%; max-width: 82%; right: -4%; }
}

/* ---------- ticker ---------- */
.tw-ticker { overflow: hidden; margin: var(--tw-gut) var(--tw-gut) 0; border-radius: 14px; background: var(--tw-panel); color: #ffffff; }
.tw-ticker__track { display: flex; width: max-content; animation: tw-marquee 44s linear infinite; }
.tw-ticker__set { display: flex; flex: none; }
.tw-ticker__set span { display: inline-flex; align-items: center; padding: 20px 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.tw-ticker__set span::after { content: ''; width: 11px; height: 11px; margin-inline: 28px; border-radius: 2px; background: var(--tw-lime); }
@keyframes tw-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tw-ticker__track { animation: none; } }

/* ---------- section head ---------- */
.tw-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.tw-main .tw-head .tw-body { margin-top: 0; }
@media (max-width: 860px) { .tw-head { grid-template-columns: 1fr; } }

/* ---------- stats: dark card, big lime numerals ---------- */
.tw-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: clamp(30px, 3.6vw, 52px) clamp(24px, 3vw, 44px);
  border-radius: var(--tw-r);
  background-color: var(--tw-panel);
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px);
  background-size: 18px 18px;
  border: 1px solid var(--border);
  color: #ffffff;
}
.tw-stat { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tw-stat:first-child { padding-left: 0; border-left: 0; }
.tw-stat__num { font-family: var(--font-display); font-size: clamp(56px, 6.2vw, 100px); line-height: .88; color: var(--tw-lime); }
.tw-stat__num span { color: #ffffff; }
.tw-main .tw-stat__label { margin-top: 14px; font-family: var(--font-body); font-weight: 500; font-size: 15px; line-height: 1.35; letter-spacing: 0; color: rgba(255, 255, 255, .8); max-width: 18ch; }
@media (max-width: 960px) {
  .tw-stats { grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .tw-stat, .tw-stat:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .tw-stat:nth-child(even) { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .tw-stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- service cards: photo + dark translucent chips ---------- */
.tw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tw-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto;
  min-height: 560px; padding: 14px;
  border-radius: 18px;
  background: var(--tw-panel);
}
.tw-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tw-ease); }
.tw-card::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(8, 12, 20, .28) 0%, rgba(8, 12, 20, 0) 28%, rgba(8, 12, 20, .3) 100%); }
.tw-card::before {
  content: ''; display: block; grid-column: 1; grid-row: 2 / 5;
  justify-self: stretch; align-self: stretch; width: auto; min-width: 0;
  position: relative; z-index: -1;
  background: rgba(10, 14, 22, .58);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
.tw-card > h3, .tw-card > p, .tw-card > .tw-card__link { grid-column: 1; }
.tw-card:hover .tw-card__img { transform: scale(1.05); }
.tw-card__num {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(10, 14, 22, .58); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-label); font-weight: 800; font-size: 14px; line-height: 1; letter-spacing: .16em; color: #ffffff;
}
.tw-card__num::before { content: ''; width: 8px; height: 8px; border-radius: 1px; background: var(--tw-lime); }
.tw-main .tw-card h3 { grid-row: 2; padding: 24px 22px 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.1vw, 46px); line-height: .92; color: #ffffff; }
.tw-main .tw-card p { grid-row: 3; margin: 0; padding: 12px 22px 0; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 34ch; }
.tw-card__link {
  grid-row: 4; justify-self: start;
  margin: 18px 22px 22px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #ffffff; text-decoration: none;
}
.tw-card__link::after { content: ''; position: absolute; inset: 0; }
.tw-card__link svg { box-sizing: border-box; width: 32px; height: 32px; padding: 8px; background: var(--tw-lime); color: var(--tw-ink); border-radius: 3px; transition: transform .25s var(--tw-ease); }
.tw-card:hover .tw-card__link svg { transform: translateX(5px); }
.tw-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.tw-card__link:focus-visible { outline: none; }
@media (max-width: 960px) { .tw-cards { grid-template-columns: 1fr; } .tw-card { min-height: 440px; } }

/* ---------- split ---------- */
.tw-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 112px); align-items: center; }
.tw-split + .tw-split { margin-top: clamp(80px, 10vw, 140px); }
.tw-split--rev .tw-split__media { order: 2; }
.tw-split__media { position: relative; isolation: isolate; }
.tw-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.tw-split__media::before { content: ''; position: absolute; top: -14px; right: -14px; z-index: -1; width: 88px; height: 88px; border-radius: 6px; background: var(--tw-lime); }
.tw-split--rev .tw-split__media::before { right: auto; left: -14px; }
.tw-split__badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(10, 14, 22, .6); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #ffffff; font-family: var(--font-display); font-size: 22px; line-height: 1; text-transform: uppercase;
}
.tw-split__badge::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--tw-lime); }
.tw-split--rev .tw-split__badge { left: auto; right: 16px; }
.tw-split__num { display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(72px, 8vw, 120px); line-height: .8; color: var(--accent-text); }
@supports (-webkit-text-stroke: 1px black) { .tw-split__num { color: transparent; -webkit-text-stroke: 2px var(--accent-text); } }
@media (max-width: 860px) {
  .tw-split { grid-template-columns: 1fr; }
  .tw-split--rev .tw-split__media { order: 0; }
  .tw-split__media img { aspect-ratio: 4 / 3; }
  .tw-split__media::before, .tw-split--rev .tw-split__media::before { width: 64px; height: 64px; top: -10px; right: -8px; left: auto; }
}

/* ---------- list ---------- */
.tw-main ul.tw-list { list-style: none; padding: 0; margin-top: 30px; border-top: 1px solid var(--border); max-width: 560px; }
.tw-main ul.tw-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; color: var(--fg); }
.tw-main ul.tw-list li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 3px; background: var(--tw-lime) var(--tw-check) center / 14px no-repeat; }

/* ---------- duo panels ---------- */
.tw-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: twpanel; }
.tw-panel { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); counter-increment: twpanel; }
.tw-sec--surface .tw-panel { background: var(--bg); }
.tw-panel__media { position: relative; overflow: hidden; margin: 10px 10px 0; border-radius: 12px; }
.tw-panel__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--tw-ease); }
.tw-panel__media::after {
  content: '0' counter(twpanel);
  content: '0' counter(twpanel) / '';
  position: absolute; left: 12px; bottom: 12px;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(10, 14, 22, .6); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-label); font-weight: 800; font-size: 14px; line-height: 1; letter-spacing: .16em; color: #ffffff;
}
.tw-panel:hover .tw-panel__media img { transform: scale(1.04); }
.tw-panel__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 40px); }
.tw-main .tw-panel h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.1vw, 46px); line-height: .94; color: var(--fg); }
.tw-main .tw-panel p { margin-top: 14px; margin-bottom: 28px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.tw-panel .tw-btn { margin-top: auto; }
@media (max-width: 860px) { .tw-duo { grid-template-columns: 1fr; } }

/* ---------- photo band: navy duotone ---------- */
.tw-photo { isolation: isolate; background: #0b2150; }
.tw-photo__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; background: #0b2150; }
.tw-photo__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.1); }
.tw-photo__media::before { content: ''; position: absolute; inset: 0; background: #0c2558; mix-blend-mode: lighten; }
.tw-photo__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, #0a1d45 0%, #133b80 55%, #1d56ae 100%); mix-blend-mode: multiply; }

/* ---------- steps ---------- */
.tw-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-strong); }
.tw-step { padding: 34px 34px 0 0; }
.tw-step + .tw-step { padding-left: 34px; border-left: 1px solid var(--border); }
.tw-step__num { display: block; font-family: var(--font-display); font-size: clamp(76px, 8vw, 120px); line-height: .82; color: var(--accent-text); }
.tw-on-photo .tw-step__num, .tw-sec--ink .tw-step__num { color: var(--tw-lime); }
.tw-main .tw-step h3 { margin: 24px 0 12px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 38px); line-height: .95; color: var(--fg); }
.tw-main .tw-step p { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) {
  .tw-steps { grid-template-columns: 1fr; }
  .tw-step, .tw-step + .tw-step { padding: 28px 0; border-left: 0; }
  .tw-step + .tw-step { border-top: 1px solid var(--border); }
}

/* ---------- CTA band: sky with soft clouds ---------- */
.tw-cta {
  background-image:
    radial-gradient(40% 55% at 92% 0%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 70%),
    radial-gradient(30% 45% at 70% 110%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #2a7be0 0%, #1f6fd6 45%, #1a62c4 100%);
}
.tw-cta__row { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 52px); }
.tw-cta .tw-h2 { font-size: clamp(56px, 9.4vw, 150px); max-width: 14ch; color: #ffffff; }
.tw-cta__row > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-strong); }
.tw-main .tw-cta .tw-body { margin-top: 0; font-size: 19px; color: #ffffff; max-width: 52ch; }
.tw-cta .tw-actions { margin-top: 0; }
@media (max-width: 760px) { .tw-cta__row > div { grid-template-columns: 1fr; } }
.tw-sec:not(.tw-sec--surface):not(.tw-photo):not(.tw-on-accent) + .tw-sec--tight:not(.tw-sec--surface) { padding-top: 0; }

/* ---------- FAQ ---------- */
.tw-faq { display: grid; grid-template-columns: 1fr 1.55fr; gap: 48px 88px; align-items: start; }
.tw-faq__list { border-top: 1px solid var(--border-strong); }
.tw-faq .tw-h2 { font-size: clamp(40px, 4.8vw, 76px); }
.tw-faq details { border-bottom: 1px solid var(--border); }
.tw-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; list-style: none; cursor: pointer;
  font-family: var(--font-label); font-weight: 800; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: var(--fg);
  transition: color .2s;
}
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq summary::after {
  content: '+'; flex: none;
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 4px;
  background: var(--surface-2); color: var(--fg);
  font-family: var(--font-body); font-weight: 500; font-size: 22px; line-height: 1;
  transition: background-color .2s, color .2s;
}
.tw-faq details[open] summary::after { content: '\2013'; background: var(--tw-lime); color: var(--tw-ink); }
.tw-faq summary:hover { color: var(--accent-text); }
.tw-faq summary:hover::after { background: var(--tw-lime); color: var(--tw-ink); }
.tw-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tw-main .tw-faq details p { padding: 0 56px 24px 0; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 64ch; }
@media (max-width: 860px) { .tw-faq { grid-template-columns: 1fr; } .tw-main .tw-faq details p { padding-right: 0; } }

/* ---------- Instagram strip ---------- */
.tw-ig-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: 36px; }
.tw-ig-head > div { flex: 1 1 420px; }
.tw-ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tw-ig a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--surface); }
.tw-ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tw-ease); }
.tw-ig a::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 3px; background: var(--tw-lime) var(--tw-arrow) center / 16px no-repeat; transform: translateY(6px); opacity: 0; transition: opacity .25s, transform .25s var(--tw-ease); }
.tw-ig a:hover img { transform: scale(1.05); }
.tw-ig a:hover::after, .tw-ig a:focus-visible::after { opacity: 1; transform: none; }
.tw-ig a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) { .tw-ig { grid-template-columns: 1fr; } }

/* ---------- quote / pillars ---------- */
.tw-quote { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(40px, 5.4vw, 84px); line-height: .95; color: var(--fg); max-width: 18ch; }
.tw-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(44px, 5vw, 72px); }
.tw-pillar { padding: 28px 26px 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.tw-pillar__num { font-family: var(--font-label); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--accent-text); }
.tw-main .tw-pillar h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: .95; color: var(--fg); }
.tw-main .tw-pillar p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) { .tw-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tw-pillars { grid-template-columns: 1fr; } }

/* ---------- contact + form ---------- */
.tw-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(44px, 6vw, 104px); align-items: start; }
.tw-contact__info { position: sticky; top: 110px; }
.tw-contact .tw-h1 { font-size: clamp(56px, 7.6vw, 120px); }
.tw-contact__meta { margin-top: 40px; display: grid; gap: 10px; }
.tw-contact__meta a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 8px 8px 8px 20px; min-height: 56px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-label); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.tw-contact__meta a:hover { border-color: var(--accent); }
.tw-contact__meta svg { box-sizing: border-box; width: 38px; height: 38px; padding: 10px; flex: none; border-radius: 3px; background: var(--tw-lime); color: var(--tw-ink); }
.tw-form { padding: clamp(24px, 3.4vw, 48px); border-radius: var(--tw-r); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px -40px rgba(11, 30, 70, .35); }
.tw-form form { display: grid; gap: 22px; }
.tw-form label, .tw-form legend { display: block; margin-bottom: 8px; font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.tw-form fieldset { border: 0; padding: 0; margin: 0; }
.tw-form input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='hidden']),
.tw-form textarea,
.tw-form select { width: 100%; padding: 14px 16px; background: var(--bg); color: var(--fg); border: 1px solid var(--border-strong); border-radius: 8px; font: 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.tw-form textarea { min-height: 160px; resize: vertical; }
.tw-form input:focus, .tw-form textarea:focus, .tw-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.tw-form input[type='radio'] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.tw-form small, .tw-form .help, .tw-form [id$='-help'] { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; }
.tw-form button, .tw-form input[type='submit'] {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px;
  font-family: var(--font-label); font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-fg); background: var(--accent); border: 1.5px solid var(--accent); border-radius: 6px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tw-form button { padding: 5px 5px 5px 22px; }
.tw-form button::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 3px; background: var(--tw-lime) var(--tw-arrow) center / 18px no-repeat; }
.tw-form button:hover, .tw-form input[type='submit']:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.tw-form button:focus-visible, .tw-form input[type='submit']:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
/* Tovu native form markup: .widget-form-field wrappers, checkbox-group fieldsets, single checkboxes. */
.tw-form form { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.tw-form form > * { grid-column: 1 / -1; }
.tw-form form > .widget-form-field:has([name='first_name']),
.tw-form form > .widget-form-field:has([name='last_name']),
.tw-form form > .widget-form-field:has([name='email']),
.tw-form form > .widget-form-field:has([name='phone']) { grid-column: span 1; }
.tw-form fieldset.widget-form-field { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tw-form fieldset.widget-form-field > legend { margin-bottom: 14px; padding: 0; }
.tw-form fieldset.widget-form-field > :not(label):not(legend) { grid-column: 1 / -1; }
.tw-form fieldset label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); font-family: var(--font-body); font-weight: 400; font-size: 15.5px; letter-spacing: 0; text-transform: none; color: var(--fg); cursor: pointer; transition: border-color .2s; }
.tw-form fieldset label:hover { border-color: var(--border-strong); }
.tw-form fieldset label:has(input:checked) { border-color: var(--accent); }
.tw-form .widget-form-field-checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 6px 14px; align-items: start; padding-top: 18px; border-top: 1px solid var(--border); }
.tw-form .widget-form-field-checkbox > input { grid-column: 1; grid-row: 1; margin-top: 1px; }
.tw-form .widget-form-field-checkbox > label { grid-column: 2; grid-row: 1; margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.4; letter-spacing: 0; text-transform: none; cursor: pointer; }
.tw-form .widget-form-field-checkbox > :not(input):not(label) { grid-column: 2; }
.tw-form input[type='checkbox'] { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; flex: none; width: 22px; height: 22px; margin: 0; background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 4px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.tw-form input[type='checkbox']::before { content: ''; width: 11px; height: 6px; border-left: 2.5px solid var(--accent-fg); border-bottom: 2.5px solid var(--accent-fg); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .15s var(--tw-ease); }
.tw-form input[type='checkbox']:checked { background: var(--accent); border-color: var(--accent); }
.tw-form input[type='checkbox']:checked::before { transform: translateY(-2px) rotate(-45deg) scale(1); }
.tw-form input[type='checkbox']:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tw-form .widget-form-field-error:not([hidden]) { margin-top: 6px; font-size: 13px; color: #c62828; }
:root:not([data-theme='light']) .tw-form .widget-form-field-error:not([hidden]) { color: #ff8a80; }
@media (max-width: 560px) {
  .tw-form form > .widget-form-field:has([name]) { grid-column: 1 / -1; }
  .tw-form fieldset.widget-form-field { grid-template-columns: 1fr; }
}
.tw-form-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.tw-form-note a { color: var(--fg); border-bottom: 1px solid var(--border-strong); }
@media (max-width: 900px) { .tw-contact { grid-template-columns: 1fr; } .tw-contact__info { position: static; } }

/* ---------- footer: inset navy card ---------- */
.tw-footer {
  position: relative; overflow: hidden;
  margin: var(--tw-gut); padding: 0;
  border: 0; border-radius: var(--tw-r);
  background-color: var(--tw-foot);
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.tw-footer__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--border); }
.tw-footer .tw-footer__big { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(48px, 7.4vw, 116px); line-height: .9; color: #ffffff; }
.tw-footer__big span { color: #ffffff; }
@supports (-webkit-text-stroke: 1px black) { .tw-footer__big span { color: transparent; -webkit-text-stroke: 2px #ffffff; } }
.tw-footer__cta { justify-self: end; }
.tw-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-block: 52px; }
.tw-footer h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.tw-footer h4::before { content: ''; width: 8px; height: 8px; border-radius: 1px; background: var(--tw-lime); }
.tw-footer__links a { display: block; padding: 5px 0; font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.tw-footer__links a:hover { color: #ffffff; }
.tw-footer__links ul { list-style: none; margin: 0; padding: 0; }
.tw-footer__logo { height: 52px; width: auto; }
.tw-footer__brand p { margin-top: 20px; font-size: 15px; line-height: 1.6; max-width: 32ch; color: var(--muted); }
.tw-social { display: flex; gap: 10px; margin-top: 24px; }
.tw-social__link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 8px; border: 1px solid var(--border-strong); font-family: var(--font-label); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #ffffff; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.tw-social__link svg { box-sizing: border-box; width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 4px; background: var(--tw-lime); color: var(--tw-ink); }
.tw-social__link:hover { background: #ffffff; border-color: #ffffff; color: var(--tw-ink); }
.tw-social__link:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.tw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .tw-footer__top { grid-template-columns: 1fr; }
  .tw-footer__cta { justify-self: start; }
  .tw-footer__grid { grid-template-columns: 1fr 1fr; }
  .tw-footer__brand { grid-column: 1 / -1; }
}

/* ---------- statement ---------- */
.tw-statement { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 88px; align-items: end; }
.tw-main .tw-statement .tw-sub { margin-top: 0; }
.tw-main .tw-statement > div > .tw-body:first-child { margin-top: 0; }
.tw-main .tw-statement .tw-sub + .tw-body { margin-top: 18px; }
@media (max-width: 860px) { .tw-statement { grid-template-columns: 1fr; } }
.tw-pos-top img { object-position: 50% 18%; }
.tw-page-top { padding-top: clamp(56px, 7vw, 104px); }

/* ---------- prose (legal pages) ---------- */
.tw-prose { max-width: 820px; margin-inline: auto; padding: clamp(64px, 8vw, 116px) clamp(20px, 4vw, 40px); }
.tw-main .tw-prose h1 { margin-bottom: 22px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(54px, 8vw, 108px); line-height: .9; color: var(--fg); }
.tw-main .tw-prose .tw-updated { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.tw-main .tw-prose .tw-updated::before { content: ''; width: 8px; height: 8px; border-radius: 1px; background: var(--tw-lime); }
.tw-main .tw-prose h2 { margin: 48px 0 14px; padding-top: 30px; border-top: 1px solid var(--border); font-family: var(--font-label); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--fg); }
.tw-main .tw-prose h3 { margin: 30px 0 10px; font-family: var(--font-label); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg); }
.tw-main .tw-prose p { margin-bottom: 16px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.tw-main .tw-prose ul { margin: 0 0 20px; padding: 0; list-style: none; }
.tw-main .tw-prose li { position: relative; margin-bottom: 8px; padding-left: 22px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.tw-main .tw-prose li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 1px; background: var(--accent); }
.tw-main .tw-prose a { color: var(--accent-text); border-bottom: 1px solid currentColor; text-decoration: none; }
.tw-main .tw-prose strong { font-weight: 600; color: var(--fg); }

/* ---------- long-form pages through pages-default.html ---------- */
.post-detail-header h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0; font-size: clamp(48px, 7vw, 92px); line-height: .92; }
.post-detail-body h2 { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 26px; }
.post-detail-body a { color: var(--accent-text); }
