/* ThiRU Labs — shared site styles (WordPress theme + Next.js fallback)
   Dark enterprise SOC look: shield black + crimson, amber for urgency.
   Class names are identical in both builds. Colour/type tokens mirror theme.json. */

:root {
  --t-ink: #050505;
  --t-panel: #0e0c0d;
  --t-panel-2: #161213;
  --t-line: #2a2224;
  --t-fg: #f1ecec;
  --t-muted: #a3989a;
  --t-faint: #8f8486;            /* lifted from #6E6466 for WCAG AA (≈5.6:1 on --t-ink) */
  --t-red: #e5223f;              /* accent, legible on black */
  --t-crimson: #9f051d;          /* logo crimson, fills */
  --t-amber: #f2a93b;
  --t-green: #3dd68c;
  --t-blue: #8fb4e8;
  --t-f-display: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --t-f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-radius: 6px;
  --t-wrap: 1200px;
  --t-gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--t-ink); color: var(--t-fg); font-family: var(--t-f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--t-red); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--t-red); outline-offset: 2px; }
h1, h2, h3, h4, .t-h { font-family: var(--t-f-display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: .005em; color: var(--t-fg); }
h1 { font-size: clamp(34px, 5.2vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 17px; }
p { margin: 0; }
.screen-reader-text, .t-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.t-skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--t-crimson); color: #fff; padding: 10px 14px; border-radius: var(--t-radius); }
.t-skip:focus { top: 8px; }

/* ---------- layout ---------- */
.t-wrap { max-width: var(--t-wrap); margin-inline: auto; padding-left: var(--t-gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.t-band { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--t-line); }
.t-band.t-alt { background: var(--t-panel); }
.t-band.t-flush { padding-top: 0; border-top: none; }
.t-stack { display: flex; flex-direction: column; gap: 16px; }
.t-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 780px; }
.t-head-row { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.t-head-row .t-head { margin-bottom: 0; }
.t-grid { display: grid; gap: 20px; }
.t-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .t-g4, .t-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .t-g2, .t-g3, .t-g4 { grid-template-columns: minmax(0, 1fr); } }
.t-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .t-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- type helpers ---------- */
.t-eyebrow { font-family: var(--t-f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-red); }
.t-eyebrow::before { content: "// "; }
.t-eyebrow.t-amber { color: var(--t-amber); }
.t-lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--t-muted); max-width: 64ch; }
.t-accent { color: var(--t-red); }
.t-note { font-size: 13px; color: var(--t-faint); }
.t-mono { font-family: var(--t-f-mono); }

/* ---------- buttons (WP core/button styles + Next .t-btn) ---------- */
.wp-block-buttons, .t-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-button .wp-block-button__link, .t-btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--t-f-display); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  padding: 12px 20px; border-radius: var(--t-radius); border: 1px solid var(--t-line); background: transparent; color: var(--t-fg); text-decoration: none; cursor: pointer; line-height: 1.2;
}
.wp-block-button .wp-block-button__link:hover, .t-btn:hover { border-color: var(--t-red); text-decoration: none; }
.wp-block-button.is-style-primary .wp-block-button__link, .t-btn--primary { background: var(--t-crimson); border-color: var(--t-red); color: #fff; }
.wp-block-button.is-style-primary .wp-block-button__link:hover, .t-btn--primary:hover { filter: brightness(1.12); }
.wp-block-button.is-style-urgent .wp-block-button__link, .t-btn--urgent { background: var(--t-amber); border-color: var(--t-amber); color: #1b1203; }
.wp-block-button.is-style-outline .wp-block-button__link, .t-btn--outline { background: transparent; color: var(--t-fg); border-color: var(--t-line); }
.t-btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- header ---------- */
.t-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(5, 5, 5, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--t-line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--t-ink); }
.t-header-row { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.t-brand { display: flex; align-items: center; gap: 10px; color: var(--t-fg); text-decoration: none; flex: none; white-space: nowrap; }
.t-brand:hover { text-decoration: none; }
.t-brand img, .t-brand .custom-logo { width: auto; height: 40px; filter: drop-shadow(0 0 1px rgba(255,255,255,.55)); }
.t-brand-name { font-family: var(--t-f-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; line-height: 1; }
.t-brand-name small { display: block; font-family: var(--t-f-mono); font-weight: 400; font-size: 10px; letter-spacing: .18em; color: var(--t-muted); margin-top: 4px; }
.t-header .wp-block-site-logo { flex: none; }
.t-header .wp-block-site-title { margin: 0; font-family: var(--t-f-display); font-weight: 700; font-size: 21px; }
.t-header .wp-block-site-title a { color: var(--t-fg); }
.t-nav { flex: 1; display: flex; justify-content: center; }
.t-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.t-nav-list > li { position: relative; }
.t-nav a, .t-header .wp-block-navigation-item__content { color: var(--t-muted); font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: var(--t-radius); white-space: nowrap; display: inline-block; }
.t-nav a:hover, .t-header .wp-block-navigation-item__content:hover { color: var(--t-fg); background: var(--t-panel); text-decoration: none; }
.t-nav a[aria-current="page"], .t-header .current-menu-item > .wp-block-navigation-item__content { color: var(--t-fg); box-shadow: inset 0 -2px 0 var(--t-red); }
.t-nav .t-live > a, .t-header .t-live .wp-block-navigation-item__content { color: var(--t-red); }
.t-nav .t-live > a::before, .t-header .t-live .wp-block-navigation-item__content::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--t-red); margin-right: 7px; vertical-align: 1px; animation: t-pulse 1.6s infinite; }
.t-nav .t-dc > a, .t-header .t-dc .wp-block-navigation-item__content { color: var(--t-amber); }
.t-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.t-nav-list > li:hover > .t-sub, .t-nav-list > li:focus-within > .t-sub { display: block; }
.t-sub a { display: block; }
.t-header .wp-block-navigation__submenu-container { background: var(--t-panel) !important; border: 1px solid var(--t-line) !important; border-radius: var(--t-radius); padding: 8px; min-width: 260px !important; }
.t-header .wp-block-navigation .wp-block-navigation-item { font-size: 14px; }
.t-header .wp-block-navigation { gap: 0; }
.t-header .wp-block-navigation .wp-block-navigation-item__content { padding: 8px 8px; }
.t-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--t-gutter); }
.t-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 17px; padding: 8px 0; }
@media (max-width: 1560px) { .t-header .t-store { display: none; } }
@media (max-width: 1280px) {
  .t-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .t-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .t-header .t-mainnav { margin-left: auto; }
}
@media (max-width: 520px) { .t-header .wp-block-buttons.t-header-cta { display: none; } }
.t-header-cta { display: flex; gap: 10px; flex: none; margin-left: auto; }
.t-header-cta .t-btn, .t-header-cta .wp-block-button__link { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.t-menu-btn { display: none; background: none; border: 1px solid var(--t-line); color: var(--t-fg); border-radius: var(--t-radius); padding: 8px 12px; font-family: var(--t-f-mono); font-size: 13px; cursor: pointer; }
@media (max-width: 1280px) {
  .t-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--t-panel); border-bottom: 1px solid var(--t-line); padding: 10px var(--t-gutter) 16px; justify-content: flex-start; }
  .t-nav.is-open { display: block; }
  .t-nav-list { flex-direction: column; align-items: stretch; }
  .t-sub { display: block; position: static; border: none; box-shadow: none; padding: 0 0 0 14px; background: none; min-width: 0; }
  .t-menu-btn { display: block; }
  .t-header-cta .t-store { display: none; }
}
@media (max-width: 520px) { .t-header-cta { display: none; } .t-menu-btn { margin-left: auto; } }

/* ---------- threat ticker (real advisories) ---------- */
.t-ticker { display: flex; align-items: stretch; border-top: 1px solid var(--t-line); background: #0b0809; font-family: var(--t-f-mono); font-size: 12.5px; }
.t-ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--t-crimson); color: #fff; letter-spacing: .1em; font-weight: 500; text-decoration: none; }
.t-ticker-label:hover { text-decoration: none; filter: brightness(1.1); }
.t-ticker-view { flex: 1; overflow: hidden; position: relative; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.t-ticker-track { display: inline-flex; gap: 40px; white-space: nowrap; padding: 8px 0 8px 24px; animation: t-tick 120s linear infinite; will-change: transform; }
.t-ticker:hover .t-ticker-track, .t-ticker.is-paused .t-ticker-track { animation-play-state: paused; }
@keyframes t-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-ticker-track a { color: var(--t-fg); }
.t-ticker-track .t-src { color: var(--t-muted); margin-right: 8px; }
.t-ticker-pause { flex: none; border: none; border-left: 1px solid var(--t-line); background: none; color: var(--t-muted); font-family: var(--t-f-mono); font-size: 11.5px; padding: 0 14px; cursor: pointer; }
.t-ticker-pause:hover { color: var(--t-fg); }
@media (max-width: 560px) { .t-ticker-label { padding: 8px 10px; font-size: 11px; } .t-ticker-pause { display: none; } }
.t-pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; animation: t-pulse 1.6s infinite; }
@keyframes t-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,34,63,.55); } 70% { box-shadow: 0 0 0 8px rgba(229,34,63,0); } 100% { box-shadow: 0 0 0 0 rgba(229,34,63,0); } }

/* ---------- hero ---------- */
.t-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.t-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(600px 300px at 85% 10%, rgba(159,5,29,.32), transparent 70%),
    linear-gradient(var(--t-line) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, var(--t-line) 1px, transparent 1px) 0 0/48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent); }
.t-hero > .t-wrap { position: relative; z-index: 1; }
.t-hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 22px; }
.t-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.t-hero .t-lead { color: #d4cbcc; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.t-hero--photo { min-height: clamp(520px, 60vw, 680px); display: flex; align-items: center; }
.t-hero--photo > .t-wrap { width: 100%; }
.t-hero-photo { position: absolute !important; top: 0; right: 0; bottom: 0; width: min(62%, 900px); margin: 0 !important; z-index: 0; }
.t-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.t-hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--t-ink) 0%, rgba(5,5,5,.86) 18%, rgba(5,5,5,.35) 48%, rgba(5,5,5,.05) 75%),
    linear-gradient(0deg, var(--t-ink) 0%, rgba(5,5,5,0) 22%), linear-gradient(180deg, rgba(159,5,29,.18), rgba(159,5,29,0) 40%); }
@media (max-width: 900px) {
  .t-hero--photo { min-height: 0; display: block; padding-top: 0; }
  .t-hero-photo { position: relative !important; width: 100%; height: clamp(220px, 58vw, 380px); margin-bottom: -60px !important; }
  .t-hero-photo::after { background: linear-gradient(0deg, var(--t-ink) 0%, rgba(5,5,5,.2) 45%, rgba(5,5,5,0) 100%); }
}
.t-subhero { padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.t-subhero .t-wrap { display: flex; flex-direction: column; gap: 16px; }

/* ---------- pillars ---------- */
.t-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; background: rgba(14,12,13,.92); }
.t-pillars li { padding: 12px 14px; border-right: 1px solid var(--t-line); display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0; }
.t-pillars li:last-child { border-right: none; }
.t-pillars strong { font-family: var(--t-f-display); font-size: 16px; color: var(--t-fg); display: flex; align-items: flex-start; gap: 7px; font-weight: 600; line-height: 1.3; }
.t-pillars strong::before { content: ""; width: 6px; height: 6px; background: var(--t-red); flex: none; margin-top: .5em; }
.t-pillars span { font-size: 12.5px; color: var(--t-muted); line-height: 1.4; }
@media (max-width: 700px) { .t-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-pillars li:nth-child(2) { border-right: none; } .t-pillars li:nth-child(-n+2) { border-bottom: 1px solid var(--t-line); } }

/* ---------- stats ---------- */
.t-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--t-line); border-radius: var(--t-radius); background: var(--t-panel); }
.t-stats > div { padding: 24px; border-right: 1px solid var(--t-line); }
.t-stats > div:last-child { border-right: none; }
.t-stats strong { display: block; font-family: var(--t-f-display); font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-stats span { color: var(--t-muted); font-size: 14px; }
@media (max-width: 760px) { .t-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-stats > div:nth-child(2) { border-right: none; } .t-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--t-line); } }

/* ---------- cards ---------- */
.t-card { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.t-alt .t-card { background: var(--t-panel-2); }
.t-card p { color: var(--t-muted); font-size: 15px; }
.t-card .t-tag { font-family: var(--t-f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-red); }
.t-card .t-tag.t-amber { color: var(--t-amber); }
.t-card .t-more { margin-top: auto; font-size: 14px; }
.t-card.t-featured { border-color: var(--t-red); box-shadow: 0 0 0 1px var(--t-red) inset; position: relative; }
.t-badge { position: absolute; top: -11px; left: 24px; background: var(--t-crimson); color: #fff; font-family: var(--t-f-mono); font-size: 11px; padding: 3px 9px; border-radius: 3px; }
.t-ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.t-ticks li { position: relative; padding-left: 24px; color: var(--t-fg); font-size: 15px; margin: 0; }
.t-ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--t-red); border-bottom: 2px solid var(--t-red); transform: rotate(-45deg); }
.t-for { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-amber); }
.t-price { font-family: var(--t-f-display); font-size: 28px; font-weight: 600; }

/* ---------- figures / banners ---------- */
.t-figure { margin: 0; border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(159,5,29,.45); }
.t-figure img { display: block; width: 100%; height: auto; }
.t-figure figcaption { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-faint); padding: 10px 14px; background: var(--t-panel); border-top: 1px solid var(--t-line); margin: 0; text-align: left; }
.t-after { margin-top: 20px; }

/* ---------- compare: built, not bolted ---------- */
.t-versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .t-versus { grid-template-columns: minmax(0, 1fr); } }
.t-vs { border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--t-panel); min-width: 0; }
.t-vs.t-us { border-color: var(--t-crimson); background: linear-gradient(180deg, rgba(159,5,29,.14), rgba(159,5,29,0) 60%), var(--t-panel); }
.t-vs-label { font-family: var(--t-f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-faint); }
.t-us .t-vs-label { color: var(--t-red); }
.t-patch { display: flex; flex-direction: column; gap: 6px; font-family: var(--t-f-mono); font-size: 12px; }
.t-patch .t-skin { border: 1px dashed var(--t-faint); color: var(--t-muted); text-align: center; padding: 9px; border-radius: 4px; }
.t-patch .t-vendors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.t-patch .t-vendors li { border: 1px solid var(--t-line); background: var(--t-panel-2); color: var(--t-muted); padding: 9px 6px; text-align: center; border-radius: 4px; margin: 0; }
.t-patch .t-vendors li:nth-child(2) { transform: translateY(5px); } .t-patch .t-vendors li:nth-child(4) { transform: translateY(-3px); } .t-patch .t-vendors li:nth-child(6) { transform: translateY(4px); }
.t-patch .t-gap { color: var(--t-amber); font-size: 11.5px; }
.t-solid { list-style: none; margin: 0; padding: 0; border: 1px solid var(--t-red); border-radius: 4px; overflow: hidden; font-family: var(--t-f-mono); font-size: 12px; }
.t-solid li { padding: 9px 12px; border-bottom: 1px solid rgba(229,34,63,.25); color: var(--t-fg); display: flex; justify-content: space-between; gap: 10px; margin: 0; }
.t-solid li:last-child { border-bottom: none; }
.t-solid li::after { content: "ThiRU"; color: var(--t-red); }
.t-x { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.t-x li { padding-left: 22px; position: relative; color: var(--t-muted); margin: 0; }
.t-x li::before { content: "×"; position: absolute; left: 3px; top: -1px; color: var(--t-amber); font-weight: 600; }

/* ---------- loop / steps ---------- */
.t-loop, .t-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; list-style: none; margin: 24px 0 0; padding: 0; counter-reset: step; }
.t-steps { margin-top: 0; }
.t-loop > li, .t-steps > li { padding: 22px; border-right: 1px solid var(--t-line); display: flex; flex-direction: column; gap: 6px; background: var(--t-panel); position: relative; margin: 0; }
.t-loop > li:last-child, .t-steps > li:last-child { border-right: none; }
.t-loop .t-k, .t-steps .t-k { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-red); letter-spacing: .06em; text-transform: uppercase; }
.t-loop p, .t-steps p { color: var(--t-muted); font-size: 14.5px; }
.t-steps .t-when { font-family: var(--t-f-mono); font-size: 11.5px; color: var(--t-amber); margin-top: auto; }
.t-loop > li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); background: var(--t-ink); color: var(--t-red); font-family: var(--t-f-mono); font-size: 13px; width: 18px; text-align: center; z-index: 1; }
.t-loop-back { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-muted); text-align: right; margin-top: 8px; }
@media (max-width: 900px) { .t-loop, .t-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-loop > li:nth-child(2), .t-steps > li:nth-child(2) { border-right: none; } .t-loop > li:nth-child(-n+2), .t-steps > li:nth-child(-n+2) { border-bottom: 1px solid var(--t-line); } .t-loop > li::after { display: none; } }
@media (max-width: 560px) { .t-loop, .t-steps { grid-template-columns: minmax(0, 1fr); } .t-loop > li, .t-steps > li { border-right: none; border-bottom: 1px solid var(--t-line); } }

/* ---------- chips / quote / cta ---------- */
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.t-chips li { font-family: var(--t-f-mono); font-size: 12.5px; padding: 7px 12px; border: 1px solid var(--t-line); border-radius: 999px; color: var(--t-muted); background: var(--t-panel); margin: 0; }
.t-quote { margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--t-red); }
.t-quote p { font-family: var(--t-f-display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; font-weight: 500; color: var(--t-fg); }
.t-quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--t-muted); font-size: 15px; }
.t-cta { border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: clamp(28px, 5vw, 56px); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: radial-gradient(500px 220px at 100% 0, rgba(159,5,29,.22), transparent 70%), var(--t-panel); }
.t-cta.t-cta--amber { background: radial-gradient(500px 220px at 100% 0, rgba(242,169,59,.14), transparent 70%), var(--t-panel); }
.t-cta-copy { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- spotlights ---------- */
.t-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; background: var(--t-panel); }
.t-spot + .t-spot { margin-top: 24px; }
.t-spot-txt { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.t-spot-for { font-family: var(--t-f-display); font-size: 19px; font-weight: 600; color: var(--t-fg); }
.t-spot-for em { font-style: normal; color: var(--t-red); }
.t-spot-pic { position: relative; min-height: 320px; margin: 0 !important; }
.t-spot-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-spot-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--t-panel) 0%, rgba(14,12,13,0) 28%); }
.t-spot.t-flip .t-spot-pic { order: -1; }
.t-spot.t-flip .t-spot-pic::after { background: linear-gradient(270deg, var(--t-panel) 0%, rgba(14,12,13,0) 28%); }
.t-spot-pic--status { display: flex; align-items: center; justify-content: center; background: radial-gradient(400px 260px at 60% 40%, rgba(159,5,29,.22), transparent 70%), var(--t-panel-2); padding: 24px; }
.t-spot-pic--status::after { display: none; }
.t-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.t-feat li { padding-left: 18px; position: relative; color: var(--t-muted); margin: 0; }
.t-feat li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--t-red); }
.t-feat strong { color: var(--t-fg); font-weight: 600; }
@media (max-width: 860px) { .t-spot { grid-template-columns: minmax(0, 1fr); } .t-spot-pic, .t-spot.t-flip .t-spot-pic { order: -1; min-height: 240px; } .t-spot-pic::after, .t-spot.t-flip .t-spot-pic::after { background: linear-gradient(0deg, var(--t-panel) 0%, rgba(14,12,13,0) 35%); } }

/* ---------- terminal panel ---------- */
.t-term { background: #090708; border: 1px solid var(--t-line); border-radius: var(--t-radius); font-family: var(--t-f-mono); font-size: 13px; overflow: hidden; min-width: 0; width: 100%; max-width: 440px; }
.t-term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--t-line); color: var(--t-muted); font-size: 11.5px; letter-spacing: .05em; }
.t-term-bar .t-ok { margin-left: auto; color: var(--t-green); }
.t-term-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- threat feed ---------- */
.t-feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; background: #090708; }
.t-feed li { display: grid; grid-template-columns: 96px 88px minmax(0, 1fr); gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--t-line); font-family: var(--t-f-mono); font-size: 12.5px; align-items: start; margin: 0; }
.t-feed li:last-child { border-bottom: none; }
.t-feed time { color: var(--t-faint); }
.t-feed .t-feed-title { color: var(--t-fg); font-family: var(--t-f-body); font-size: 15px; line-height: 1.45; }
.t-feed .t-feed-title a { color: var(--t-fg); }
.t-feed .t-feed-title a:hover { color: var(--t-red); }
.t-feed small { display: block; color: var(--t-muted); font-size: 12px; margin-top: 2px; font-family: var(--t-f-mono); }
.t-sev { display: inline-block; font-size: 10.5px; padding: 2px 7px; border-radius: 3px; font-weight: 500; white-space: nowrap; }
.t-sev--alert { background: rgba(229,34,63,.16); color: var(--t-red); }
.t-sev--kev { background: rgba(242,169,59,.16); color: var(--t-amber); }
.t-sev--advisory { background: rgba(143,180,232,.14); color: var(--t-blue); }
@media (max-width: 640px) { .t-feed li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.t-feed-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-family: var(--t-f-mono); font-size: 12px; color: var(--t-faint); }
.t-feed-empty { padding: 24px; color: var(--t-muted); }

/* ---------- data-centre tiers ---------- */
.t-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; }
.t-ladder button { all: unset; cursor: pointer; padding: 16px; border-right: 1px solid var(--t-line); background: var(--t-panel); display: flex; flex-direction: column; gap: 6px; }
.t-ladder button:last-child { border-right: none; }
.t-ladder button:hover { background: var(--t-panel-2); }
.t-ladder button[aria-selected="true"] { background: var(--t-panel-2); box-shadow: inset 0 3px 0 var(--t-amber); }
.t-ladder button:focus-visible { outline: 2px solid var(--t-red); outline-offset: -2px; }
.t-ladder b { font-family: var(--t-f-display); font-size: 16px; }
.t-ladder span { font-family: var(--t-f-mono); font-size: 11.5px; color: var(--t-muted); }
.t-ladder i { font-style: normal; font-family: var(--t-f-mono); font-size: 12px; color: var(--t-amber); }
@media (max-width: 900px) { .t-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-ladder button { border-bottom: 1px solid var(--t-line); } }
@media (max-width: 480px) { .t-ladder { grid-template-columns: minmax(0, 1fr); } .t-ladder button { border-right: none; } }
.t-tier { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.t-tier[hidden] { display: none; }
@media (max-width: 900px) { .t-tier { grid-template-columns: minmax(0, 1fr); } }
.t-specs { display: grid; grid-template-columns: auto minmax(0, 1fr); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; font-size: 14px; margin: 0; }
.t-specs dt, .t-specs dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--t-line); }
.t-specs dt { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-muted); background: var(--t-panel-2); }
.t-specs dd { background: var(--t-panel); }

/* ---------- forms ---------- */
.t-form { display: grid; gap: 18px; max-width: 980px; }
.t-form fieldset { border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 20px; margin: 0; display: grid; gap: 14px; background: var(--t-panel); min-width: 0; }
.t-form legend { font-family: var(--t-f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--t-red); padding: 0 8px; }
.t-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--t-muted); font-family: var(--t-f-mono); letter-spacing: .03em; }
.t-form input, .t-form select, .t-form textarea { font: inherit; font-family: var(--t-f-body); font-size: 15px; color: var(--t-fg); background: var(--t-ink); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 11px 12px; width: 100%; }
.t-form input:focus, .t-form select:focus, .t-form textarea:focus { outline: none; border-color: var(--t-red); }
.t-form .is-invalid { border-color: var(--t-amber); }
.t-form .t-check { flex-direction: row; align-items: flex-start; gap: 10px; font-family: var(--t-f-body); font-size: 14.5px; color: var(--t-fg); letter-spacing: 0; }
.t-form .t-check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--t-crimson); }
.t-form .t-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t-agree { max-height: 140px; overflow: auto; border: 1px solid var(--t-line); border-radius: 4px; padding: 12px 14px; background: var(--t-ink); font-size: 14px; color: var(--t-muted); }
.t-msg { border: 1px solid var(--t-green); background: rgba(61,214,140,.08); color: var(--t-fg); border-radius: var(--t-radius); padding: 14px; font-size: 14.5px; }
.t-msg.is-error { border-color: var(--t-amber); background: rgba(242,169,59,.08); }
.t-form-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .t-form-wrap { grid-template-columns: minmax(0, 1fr); } }
.t-details { display: flex; flex-direction: column; gap: 16px; }
.t-details address { font-style: normal; color: var(--t-fg); line-height: 1.7; }
.t-details dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 15px; }
.t-details dt { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-muted); padding-top: 3px; }
.t-details dd { margin: 0; }

/* ---------- team / posts ---------- */
.t-person { display: flex; flex-direction: column; gap: 8px; }
.t-person img, .t-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--t-line); }
.t-avatar--initials { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(229,34,63,.35), transparent 60%), var(--t-panel-2); border-color: var(--t-crimson); font-family: var(--t-f-display); font-size: 28px; font-weight: 600; color: var(--t-fg); letter-spacing: .04em; }
.t-person .t-cred { font-family: var(--t-f-mono); font-size: 11.5px; color: var(--t-faint); line-height: 1.5; }
.t-person .t-role { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-red); }
.t-post-meta { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-faint); }
.t-prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; color: var(--t-fg); }
.t-prose p { color: #d9d1d2; }
.t-prose a { text-decoration: underline; }
.t-migrate { border: 1px dashed var(--t-amber); color: var(--t-amber) !important; padding: 10px 12px; border-radius: 4px; font-family: var(--t-f-mono); font-size: 13px; }

/* ---------- footer ---------- */
.t-footer { border-top: 1px solid var(--t-line); background: var(--t-panel); padding-block: 56px 28px; color: var(--t-muted); font-size: 14px; }
.t-footer-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .t-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .t-footer-cols { grid-template-columns: minmax(0, 1fr); } }
.t-footer h2, .t-footer .t-fh { font-family: var(--t-f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t-fg); margin: 0 0 12px; font-weight: 500; }
.t-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.t-footer li { margin: 0; }
.t-footer a { color: var(--t-muted); }
.t-footer a:hover { color: var(--t-fg); }
.t-footer address { font-style: normal; line-height: 1.7; }
.t-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--t-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--t-faint); }
.t-legal a { color: var(--t-faint); }

/* ---------- consent banner ---------- */
.t-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--t-panel-2); border-top: 1px solid var(--t-line); box-shadow: 0 -20px 40px rgba(0,0,0,.5);
  padding: 16px var(--t-gutter) max(16px, env(safe-area-inset-bottom, 0px)); }
.t-consent[hidden] { display: none; }
.t-consent .t-wrap { display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0; }
.t-consent p { max-width: 760px; font-size: 14px; color: var(--t-muted); }
.t-consent-reopen { background: none; border: none; color: var(--t-faint); font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- WordPress block spacing reset inside designed components ---------- */
.t-grid > *, .t-stats > *, .t-versus > *, .t-split > *, .t-spot > *, .t-head-row > *, .t-cta > *, .t-form-wrap > *, .t-head > *, .t-stack > *,
.t-hero-copy > *, .t-cta-copy > *, .t-spot-txt > *, .t-card > *, .t-vs > *, .t-patch > *, .t-subhero .t-wrap > *, .t-term-body > *, .t-prose > *, .t-term > *,
.t-header-row > *, .t-footer-cols > *, .t-footer-cols > * > *, .t-hero > * { margin-block: 0; }
.t-stats p { margin: 0; }
.t-loop strong, .t-steps strong { font-family: var(--t-f-display); font-size: 17px; font-weight: 600; color: var(--t-fg); line-height: 1.25; }
.t-loop li > span:not(.t-k):not(.t-when), .t-steps li > span:not(.t-k):not(.t-when) { color: var(--t-muted); font-size: 14.5px; }
.t-card p.t-badge { color: #fff; font-size: 11px; }
.t-figure.wp-block-image, .t-spot-pic.wp-block-image { margin: 0; }
.t-latest.wp-block-latest-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.t-latest.wp-block-latest-posts li { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 22px; margin: 0; }
.t-latest .wp-block-latest-posts__post-title { font-family: var(--t-f-display); font-size: 19px; font-weight: 600; color: var(--t-fg); display: block; }
.t-latest .wp-block-latest-posts__post-date { font-family: var(--t-f-mono); font-size: 12px; color: var(--t-faint); display: block; margin: 6px 0; }
.t-latest .wp-block-latest-posts__post-excerpt { color: var(--t-muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .t-latest.wp-block-latest-posts { grid-template-columns: minmax(0, 1fr); } }
.t-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.t-posts .wp-block-post { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.t-posts .wp-block-post > * { margin: 0; }
@media (max-width: 900px) { .t-posts .wp-block-post-template { grid-template-columns: minmax(0, 1fr); } }
.wp-block-query-pagination { margin-top: 28px; gap: 12px; font-family: var(--t-f-mono); font-size: 13px; }
.t-article { max-width: 760px; }
.t-article .wp-block-post-content > * + * { margin-top: 1.1em; }
.t-article .wp-block-post-content p, .t-article .wp-block-post-content li { color: #d9d1d2; }
.t-article .wp-block-post-featured-image img { border-radius: var(--t-radius); border: 1px solid var(--t-line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .t-ticker-track { white-space: normal; flex-wrap: wrap; }
}
