/* zasseev.uz — neon cyberpunk, v3. Orange is the brand neon (fox, headline, primary action);
   lime is the system colour (labels, status, steps, icons). Effects live in the hero; the rest stays calm. */

:root {
  --void: #0a0a0c;
  --deep: #111214;
  --panel: #15171a;
  --line: #24272d;
  --line-hi: #353a42;
  --text: #f2f1ec;
  --muted: #a3a69e;
  --orange: #ff7a1a;
  --orange-hot: #ffd9b8;
  --lime: #b8ff3c;

  --glow-orange: 0 0 4px rgba(255, 122, 26, 0.9), 0 0 20px rgba(255, 122, 26, 0.5), 0 0 52px rgba(255, 122, 26, 0.25);
  --glow-lime: 0 0 4px rgba(184, 255, 60, 0.75), 0 0 16px rgba(184, 255, 60, 0.35);

  --display: "Tektur", "Onest", system-ui, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 10vw, 140px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cut corners: top-right and bottom-left, size --c. */
.btn,
.cards,
.topic,
.panel {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background:
    radial-gradient(60vw 60vh at -10% -10%, rgba(255, 122, 26, 0.1), transparent 70%),
    radial-gradient(50vw 60vh at 110% 15%, rgba(184, 255, 60, 0.06), transparent 70%),
    var(--void);
  background-repeat: no-repeat;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.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;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--lime); color: var(--void);
  padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.eyebrow,
.kicker,
.label,
.tags,
.year,
.cert-year,
.panel-count,
.hud,
.log time,
.log-head,
.log-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); }
.caret {
  width: 9px;
  height: 15px;
  background: var(--lime);
  box-shadow: var(--glow-lime);
  animation: blink 1.1s steps(1) infinite;
}

.kicker { color: var(--lime); margin-bottom: 14px; }
.kicker::before { content: "// "; color: var(--orange); }
.label { color: var(--muted); display: block; }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h2 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.04;
}
h2 em { font-style: normal; color: var(--lime); text-shadow: var(--glow-lime); }

h3 {
  font-weight: 700;
  font-size: clamp(1.2rem, 1.6vw, 1.375rem);
  line-height: 1.25;
}

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}

/* Neon tube: hot core and halo, ignites with a flicker, one short glitch. */
.neon {
  position: relative;
  color: var(--orange-hot);
  text-shadow: var(--neon-glow, var(--glow-orange));
}
.js .neon { animation: ignite 1.3s steps(1) 0.35s both; }
.neon::before,
.neon::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  text-shadow: none;
}
.neon::before { color: var(--lime); transform: translateX(-3px); }
.neon::after { color: var(--orange); transform: translateX(3px); }
.js .neon::before { animation: glitch 0.45s steps(2) 1.7s 1; }
.js .neon::after { animation: glitch 0.45s steps(2) 1.75s 1 reverse; }

@keyframes ignite {
  0% { opacity: 0.08; text-shadow: none; }
  10% { opacity: 1; text-shadow: var(--neon-glow, var(--glow-orange)); }
  14% { opacity: 0.2; text-shadow: none; }
  22% { opacity: 1; text-shadow: var(--neon-glow, var(--glow-orange)); }
  30% { opacity: 0.45; text-shadow: none; }
  38%, 100% { opacity: 1; text-shadow: var(--neon-glow, var(--glow-orange)); }
}
@keyframes glitch {
  0% { opacity: 0.85; clip-path: inset(8% 0 62% 0); }
  25% { opacity: 0.85; clip-path: inset(56% 0 18% 0); }
  50% { opacity: 0.85; clip-path: inset(30% 0 46% 0); }
  75% { opacity: 0.85; clip-path: inset(74% 0 4% 0); }
  100% { opacity: 0; clip-path: inset(0 0 100% 0); }
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Buttons ---------- */

.btn {
  --c: 12px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--orange);
  color: var(--void);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--orange-hot); }
/* a light sweep across the button on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:focus-visible { clip-path: none; outline-color: var(--text); }

.btn-ghost { background: var(--lime); color: var(--text); }
.btn-ghost::before {
  --c: 11px;
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: var(--void);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: background-color 0.2s var(--ease);
}
.btn-ghost:hover { background: var(--lime); }
.btn-ghost:hover::before { background: #14180c; }

.btn-small { --c: 9px; min-height: 40px; padding: 0 18px; font-size: 0.8125rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--lime) 70%, transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 10, 12, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled::after,
.site-header.is-open::after { opacity: 0.6; }

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(255, 122, 26, 0.45));
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9375rem;
}
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--lime); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* pages without the section nav (privacy): actions go to the right edge */
.brand + .header-actions { margin-left: auto; }

.lang {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 6px 4px;
}
.lang:hover { color: var(--orange); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-hi);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-bars { position: relative; }
.menu-bars::before,
.menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.is-open .menu-bars { background: transparent; }
.is-open .menu-bars::before { transform: translateY(6px) rotate(45deg); background: var(--lime); }
.is-open .menu-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--lime); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
/* city grid, only behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(53, 58, 66, 0.35) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(53, 58, 66, 0.35) 1px, transparent 1px) 0 0 / 72px 100%;
  -webkit-mask-image: radial-gradient(90% 80% at 60% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(90% 80% at 60% 30%, #000 10%, transparent 75%);
  animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift { to { background-position: 0 72px, 72px 0; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-weight: 900;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.02;
  /* calmer neon in the hero: thinner halo than the off-the-clock sign */
  --neon-glow: 0 0 2px rgba(255, 122, 26, 0.85), 0 0 16px rgba(255, 122, 26, 0.35);
}
.hero-line { display: block; }
.hero-line:not(.neon) { white-space: nowrap; }
/* the keyword line sits inside the h1 for search engines, styled as the eyebrow */
.hero-title .eyebrow { margin-bottom: 22px; line-height: 1.5; letter-spacing: 0.1em; }

.hero .lede { margin-top: 28px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Credentials strip */
.creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.creds > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px 20px 0;
}
.creds > div:first-child { padding-left: 0; }
.creds > div + div { border-left: 1px solid var(--line); }
.creds dd {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--text);
}
.creds > div:first-child dd { color: var(--orange); }
.creds dt { font-size: 0.875rem; line-height: 1.4; color: var(--muted); }

.hero-visual { position: relative; padding-top: 44px; }

/* soft two-colour light behind the person */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 2% 4%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 48% at 30% 46%, rgba(255, 122, 26, 0.24), transparent 70%),
    radial-gradient(38% 48% at 74% 52%, rgba(184, 255, 60, 0.14), transparent 70%);
}

/* the logo's hexagon as a frame behind the cutout; it draws itself once */
.hero-hex {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 54%;
  width: 96%;
  max-width: 480px;
  transform: translate(-50%, -50%);
  overflow: visible;
  fill: none;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.35));
}
.hero-hex .hex-inner { stroke-width: 1; opacity: 0.35; }
.js .hero-hex path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: hex-draw 2.4s var(--ease) 0.3s forwards; }
.js.boot .hero-hex path { animation-delay: 1.5s; }
@keyframes hex-draw { to { stroke-dashoffset: 0; } }

.portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  max-width: 470px;
  margin: 0 0 0 auto;
  /* the photo ends at the waist: fade it into the page instead of a hard edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}
.portrait picture { display: block; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }

.hud {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line-hi);
  background: rgba(10, 10, 12, 0.72);
  font-size: 0.6875rem;
  line-height: 1;
  color: var(--text);
}
.hud-id { color: var(--lime); padding-right: 10px; border-right: 1px solid var(--line-hi); }
.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: var(--glow-lime);
  animation: blink 2s steps(1) infinite;
}

/* Signature: the assistant log as a terminal */

.log {
  position: absolute;
  left: -28px;
  bottom: 3%;
  z-index: 3;
  width: min(300px, 64%);
  padding: 12px 16px 4px;
  border: 1px solid var(--line-hi);
  background: rgba(13, 14, 16, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 40px -12px rgba(255, 122, 26, 0.25);
}
.log::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--lime));
}

.log-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.6875rem;
  color: var(--text);
}
.log-file::before { content: "> "; color: var(--lime); }
.log-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--orange);
  white-space: nowrap;
}
.log-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: var(--glow-orange);
  animation: blink 1.4s steps(1) infinite;
}
.log-sub {
  margin-top: 6px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-hi);
  font-size: 0.625rem;
  color: var(--muted);
}
.log-sub::before { content: "// "; }

.log-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.log-list li + li { border-top: 1px solid var(--line); }
.log time { color: var(--lime); font-size: 0.6875rem; padding-top: 3px; }
/* "done" mark: a check in a box (the mono "OK" read as "0к") */
.ok {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--lime);
  color: var(--lime);
}
.ok svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.log-list li:nth-child(1) { --i: 0; }
.log-list li:nth-child(2) { --i: 1; }
.log-list li:nth-child(3) { --i: 2; }
.log-list li:nth-child(4) { --i: 3; }
.log-list li:nth-child(5) { --i: 4; }

/* The log plays once it is on screen (site.js adds .is-live). */
.js .log-list li { opacity: 0; transform: translateX(-8px); }
.js .log-list .ok { opacity: 0; }
.js .log.is-live .log-list li {
  animation: log-in 0.45s var(--ease) forwards;
  animation-delay: calc(0.6s + var(--i) * 0.5s);
}
.js .log.is-live .ok {
  animation: ok-in 0.3s steps(2) forwards;
  animation-delay: calc(0.95s + var(--i) * 0.5s);
}
@keyframes log-in { to { opacity: 1; transform: none; } }
@keyframes ok-in { 50% { opacity: 0.3; } to { opacity: 1; box-shadow: var(--glow-lime); } }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section); }
.section-alt { background: var(--deep); border-block: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > p { color: var(--muted); max-width: 30em; }
/* rule under every section head: a lime segment on a hairline */
.section-head::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--lime) 0 72px, var(--line) 72px);
}

/* Panels: certificates, contact channels */
.panel {
  --c: 18px;
  position: relative;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 { font-size: 1.0625rem; }
.panel-count {
  padding: 3px 8px;
  border: 1px solid var(--lime);
  color: var(--lime);
  line-height: 1.3;
}

/* Services: one bento grid, cells divided by hairlines */

.cards {
  --c: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 30px 28px;
  /* spotlight follows the cursor (site.js sets --mx/--my) */
  background-color: var(--void);
  background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgba(184, 255, 60, 0.09), transparent 65%);
  transition: background-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  box-shadow: var(--glow-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { background-color: #0f110d; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border: 1px solid var(--line-hi);
  color: var(--lime);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-icon { border-color: var(--lime); box-shadow: 0 0 18px -4px rgba(184, 255, 60, 0.5); }
.card > p:not(.tags) { color: var(--muted); }
.tags {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-hi);
  color: var(--orange);
  font-size: 0.6875rem;
  line-height: 1.7;
}

/* Approach: each step carries its share of a progress bar */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--void);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step::before,
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
}
.step::before { right: 0; background: var(--line-hi); }
.step::after { width: calc(var(--n) * 25%); background: linear-gradient(90deg, var(--orange), var(--lime)); }
.step:nth-child(1) { --n: 1; }
.step:nth-child(2) { --n: 2; }
.step:nth-child(3) { --n: 3; }
.step:nth-child(4) { --n: 4; }
.step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 18px;
}
.step p { margin-top: 10px; color: var(--muted); }
.step .step-result {
  margin-top: auto;
  padding-top: 18px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.step-result .label { margin-bottom: 6px; color: var(--lime); }
.step > p:not(.step-result) { margin-bottom: 20px; }

/* Path */

.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--lime));
}
.timeline li { position: relative; padding: 0 0 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: var(--void);
  border: 2px solid var(--lime);
  transform: rotate(45deg);
}
.timeline li:last-child::before { background: var(--lime); box-shadow: var(--glow-lime); }
.year { display: block; color: var(--orange); margin-bottom: 6px; }
.timeline p { margin-top: 8px; color: var(--muted); }

.certs { position: static; }
.certs ul { padding: 6px 0; }
.certs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 24px;
  font-size: 0.9375rem;
  transition: background-color 0.2s;
}
.certs li:hover { background: rgba(184, 255, 60, 0.05); }
.cert-year { color: var(--lime); }

/* certificates: one wide panel under the path, a column per source */
.certs { margin-top: clamp(40px, 5vw, 64px); }
.cert-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; }
.cert-col { padding-bottom: 10px; }
.cert-col + .cert-col { border-left: 1px solid var(--line); }
.cert-num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 24px 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.cert-num b { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: 0; color: var(--text); }
.cert-more summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 24px 10px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.cert-more summary::-webkit-details-marker { display: none; }
.cert-more summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--lime);
  line-height: 1;
}
.cert-more[open] summary::before { content: "\2212"; }
.cert-more summary:hover { text-shadow: var(--glow-lime); }
.cert-more ul { padding-top: 0; }
.certs .cert-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 24px 20px; }
.certs .cert-chips li {
  display: block;
  padding: 5px 9px;
  border: 1px solid var(--line-hi);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.certs .cert-chips li:hover { border-color: var(--lime); background: rgba(184, 255, 60, 0.05); }

.community-list li { padding: 16px 24px; }
.community-list li + li { border-top: 1px solid var(--line); }
.community-list .label { margin-bottom: 6px; color: var(--lime); }
.community-list a,
.community-list p { font-size: 0.9375rem; line-height: 1.5; }
.community-list a {
  text-decoration: underline;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.community-list a:hover { text-decoration-color: var(--orange); }

/* Speaking */

.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.topic {
  --c: 20px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--void);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.topic:hover { box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.7), inset 0 0 40px rgba(255, 122, 26, 0.07); }
.topic h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.topic h3::before { content: "› "; color: var(--orange); }
.topic p { margin-top: 12px; color: var(--muted); }

/* where the talks were given: a lineup strip above the topics */
.venues { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.venues .label { color: var(--lime); }
.venues ul { display: flex; flex-wrap: wrap; gap: 10px; }
.venues li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--void);
  box-shadow: inset 0 0 0 1px var(--line-hi);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.venues li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.7);
  transform: rotate(45deg);
}

.speaking-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.formats .label { margin-bottom: 6px; }

/* Off the clock: a neon sign */

.offclock { padding-block: clamp(72px, 9vw, 120px); }
.offclock-card {
  --c: 26px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(60% 120% at 12% 50%, rgba(255, 122, 26, 0.16), transparent 70%),
    linear-gradient(rgba(53, 58, 66, 0.22) 1px, transparent 1px) 0 0 / 100% 36px,
    var(--deep);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}

/* the sign: a neon coffee cup next to the line */
.offclock-sign { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.cup {
  flex: none;
  width: clamp(84px, 11vw, 132px);
  height: auto;
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cup-body { stroke: var(--orange); filter: drop-shadow(0 0 6px rgba(255, 122, 26, 0.75)); }
.steam { stroke: var(--lime); stroke-width: 4; filter: drop-shadow(0 0 5px rgba(184, 255, 60, 0.7)); }
.steam path { animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 0.6s; }
.steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(8px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

.offclock-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
}
.js .offclock-quote.neon { animation: none; }
.js .is-in .offclock-quote.neon { animation: idle-flicker 7s steps(1) 1s infinite; }
@keyframes idle-flicker {
  0%, 91%, 93%, 96%, 100% { opacity: 1; text-shadow: var(--glow-orange); }
  92%, 95% { opacity: 0.35; text-shadow: none; }
}

.offclock-info { color: var(--muted); }
.offclock-info .kicker { margin-bottom: 12px; }
.hobbies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hobbies li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-hi);
  background: rgba(10, 10, 12, 0.6);
  color: var(--text);
  font-size: 0.9375rem;
}
.hobbies svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offclock-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--text); }
.offclock-info h2 + p { margin-top: 12px; }
.offclock-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.offclock-link::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform 0.2s var(--ease); }
.offclock-link:hover { color: var(--orange-hot); text-shadow: var(--glow-orange); }
.offclock-link:hover::after { transform: translateX(4px); }

/* Contact */

.contact { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}
.contact h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.contact h2 em { display: block; }
.contact .lede { margin-top: 22px; }

/* what happens after someone writes */
.next-title {
  margin-top: 40px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.next-steps { counter-reset: next; margin-top: 14px; border-left: 1px solid var(--line-hi); }
.next-steps li {
  position: relative;
  padding: 10px 0 10px 44px;
  counter-increment: next;
}
.next-steps li::before {
  content: counter(next, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--orange);
}
.next-steps li::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--void);
  border: 1px solid var(--orange);
  transform: rotate(45deg);
}

/* the contact panel */
address { font-style: normal; }
.reach { display: grid; gap: 12px; }

.reach-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--deep);
  font-size: 0.9375rem;
  color: var(--muted);
}
.clock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.clock.is-open .clock-dot { background: var(--lime); box-shadow: var(--glow-lime); animation: blink 2s steps(1) infinite; }
.clock-time {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}
.clock-status { margin-left: auto; }
.no-js .clock { display: none; }

.reach-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-hi);
  color: var(--lime);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.reach-icon svg,
.reach-more svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reach .label { color: var(--muted); }
.reach-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.reach-sub { color: var(--muted); font-size: 0.9375rem; }

/* main channel: Telegram, with a QR for desktop visitors */
.reach-main {
  --c: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 26px 26px 24px;
  background: linear-gradient(120deg, rgba(255, 122, 26, 0.16), rgba(255, 122, 26, 0.02) 60%), var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.55);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: box-shadow 0.3s var(--ease);
}
.reach-main .reach-icon { width: 56px; height: 56px; border-color: var(--orange); color: var(--orange); }
.reach-main .reach-icon svg { width: 28px; height: 28px; }
.reach-body { display: grid; gap: 6px; }
.reach-main .reach-value { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.reach-cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.reach-cta span { display: inline-block; transition: transform 0.25s var(--ease); }
.reach-main:hover { box-shadow: inset 0 0 0 1px var(--orange), inset 0 0 50px rgba(255, 122, 26, 0.12); }
.reach-main:hover .reach-cta span { transform: translateX(5px); }
.reach-main:focus-visible { clip-path: none; }

.reach-qr { display: grid; justify-items: center; gap: 8px; }
.reach-qr .qr {
  display: block;
  width: 104px;
  height: 104px;
  padding: 8px;
  background: var(--text);
}
.reach-qr > span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* WhatsApp and phone */
.reach-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reach-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s;
}
.reach-card .reach-icon { margin-bottom: 8px; }
.reach-card:hover { box-shadow: inset 0 0 0 1px var(--lime); background-color: #121410; }
.reach-card:hover .reach-icon { border-color: var(--lime); box-shadow: 0 0 16px -4px rgba(184, 255, 60, 0.5); }

/* email and socials */
.reach-more { display: flex; flex-wrap: wrap; gap: 10px; }
.reach-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.2s, color 0.2s;
}
.reach-more svg { width: 18px; height: 18px; color: var(--lime); }
.reach-more a:hover { border-color: var(--lime); color: var(--lime); }

/* Footer: about, sections, contact, company; then the legal note and a bottom bar */

.site-footer {
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.035), transparent 50%), var(--deep);
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
}
.footer-about p { max-width: 30em; margin-top: 14px; line-height: 1.6; }
.footer-col .label { margin-bottom: 14px; color: var(--lime); }
.footer-col ul { display: grid; gap: 9px; }
.footer-company { line-height: 1.6; }
.footer-company + ul { margin-top: 12px; }
.site-footer a { color: var(--text); transition: color 0.2s; }
.site-footer a:hover { color: var(--lime); }
.footer-note {
  max-width: 62em;
  margin-top: 44px;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: 20px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.footer-build { opacity: 0.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Legal pages: one readable column under the fixed header */
.legal { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 72px)) clamp(56px, 8vw, 96px); }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.legal-date {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.legal h2 { margin-top: 40px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.legal p,
.legal li { margin-top: 12px; color: var(--muted); line-height: 1.7; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--orange);
  transform: rotate(45deg);
}
.legal strong { font-weight: 600; color: var(--text); }
.legal a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 3px;
}
.legal a:hover { text-decoration-color: var(--orange); }

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  background: var(--deep);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.ticker li:nth-child(3n + 2) { color: var(--text); }
.ticker li::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.6);
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Pains: a self-check, before / after ---------- */

.leaks { border: 1px solid var(--line); background: var(--void); }
.leaks-head,
.leak {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
}
.leaks-head { padding: 14px 28px; border-bottom: 1px solid var(--line); }
.leaks-head .label:first-child { color: var(--orange); }
.leaks-head .label:last-child { grid-column: 3; color: var(--lime); }
.leak + .leak { border-top: 1px solid var(--line); }

.leak-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* the "today" half of a row is one big tick box */
.leak-now {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  align-self: stretch;
  align-content: center;
  padding: 22px 0 22px 28px;
  cursor: pointer;
  transition: background-color 0.25s;
}
.leak-now::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.leak-now:hover { background: rgba(255, 122, 26, 0.04); }
.leak-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.leak-box {
  position: relative;
  grid-row: span 2;
  align-self: start;
  width: 22px;
  height: 22px;
  /* muted, not line-hi: an empty box must stay visible (3:1 against the panel) */
  border: 1.5px solid var(--muted);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.leak-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--void);
  border-bottom: 2px solid var(--void);
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
}
.leak-now:hover .leak-box { border-color: var(--orange); }
.leak-input:focus-visible + .leak-box { outline: 2px solid var(--text); outline-offset: 3px; }
.leak-input:checked + .leak-box { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 14px rgba(255, 122, 26, 0.55); }
.leak-input:checked + .leak-box::after { transform: rotate(45deg) scale(1); }
.leak-text { color: var(--muted); transition: color 0.25s; }

/* the link between problem and fix; it lights up and carries a pulse once ticked */
.leak-link {
  position: relative;
  justify-self: center;
  width: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-hi) 0 4px, transparent 4px 8px);
}
.leak-link::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left: 7px solid var(--line-hi);
  border-right: 0;
}
.leak-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: var(--glow-lime);
  opacity: 0;
}

.leak-fix {
  display: grid;
  row-gap: 6px;
  padding: 22px 28px 22px 0;
  opacity: 0.82;
  transition: opacity 0.25s;
}
.leak-fix .leak-tag { display: flex; align-items: center; gap: 8px; color: var(--lime); }
.leak-fix .leak-tag::before {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

.leak:has(.leak-input:checked) .leak-now { background: rgba(255, 122, 26, 0.06); }
.leak:has(.leak-input:checked) .leak-now::before { transform: scaleY(1); }
.leak:has(.leak-input:checked) .leak-text { color: var(--text); }
.leak:has(.leak-input:checked) .leak-link { background: linear-gradient(90deg, var(--orange), var(--lime)); }
.leak:has(.leak-input:checked) .leak-link::after { border-left-color: var(--lime); }
.leak:has(.leak-input:checked) .leak-link::before { animation: leak-pulse 1.6s var(--ease) infinite; }
.leak:has(.leak-input:checked) .leak-fix { opacity: 1; }
.leak:has(.leak-input:checked) .leak-fix .leak-tag { text-shadow: var(--glow-lime); }
@keyframes leak-pulse {
  0% { opacity: 0; transform: translateX(0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(40px); }
}

/* the diagnosis bar: counts the ticks (it needs JS, so it is hidden without it) */
.leaks-result { border-top: 1px solid var(--line-hi); }
.no-js .leaks-result { display: none; }
.leaks-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 18px 28px;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.07), transparent 60%), var(--panel);
}
.leaks-bar .label { color: var(--orange); }
.leak-meter { display: flex; gap: 4px; }
.leak-meter i {
  width: 22px;
  height: 8px;
  background: var(--line-hi);
  transform: skewX(-20deg);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.leak-meter i.is-on { background: var(--orange); box-shadow: 0 0 10px rgba(255, 122, 26, 0.6); }
.leak-count { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--muted); }
.leak-count b { font-weight: 700; color: var(--text); }
.leak-msg { flex: 1 1 260px; color: var(--muted); transition: color 0.25s; }
.leaks-result.is-hit .leak-msg { color: var(--text); }

/* the breakdown: opens with the first tick; the plan on the left, the ready message on the right */
.leak-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  background: var(--deep);
}
.leak-report[hidden] { display: none; }
.leak-report > div { padding: 22px 28px 26px; }
.leak-report > div + div { border-left: 1px solid var(--line); }
.leak-report .label { margin-bottom: 16px; color: var(--lime); }
.leak-plan { display: grid; gap: 14px; }
.leak-plan li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  animation: plan-in 0.35s var(--ease) both;
}
.leak-plan li:nth-child(2) { animation-delay: 0.06s; }
.leak-plan li:nth-child(3) { animation-delay: 0.12s; }
.leak-plan li:nth-child(4) { animation-delay: 0.18s; }
.leak-plan li:nth-child(5) { animation-delay: 0.24s; }
@keyframes plan-in { from { opacity: 0; transform: translateY(6px); } }
.plan-step {
  padding-top: 6px;
  border-top: 2px solid var(--orange);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--orange);
}
.plan-body b {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.plan-body span { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; }
.leak-message {
  display: block;
  width: 100%;
  min-height: 200px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid var(--line-hi);
  border-radius: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.leak-message:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.leak-report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.leak-report-note { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--lime); }

/* ---------- Proof numbers ---------- */

.proof {
  padding-block: clamp(72px, 9vw, 120px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 122, 26, 0.08), transparent 70%);
}
/* one headline number with a segment meter, four supporting numbers around it; cells split by hairlines */
.metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--void);
  transition: background-color 0.3s;
}
.metric:hover { background: #101114; }
.metric-main {
  grid-row: span 2;
  justify-content: center;
  background: radial-gradient(70% 60% at 22% 38%, rgba(255, 122, 26, 0.12), transparent 70%), var(--void);
}
.metric-main:hover { background: radial-gradient(70% 60% at 22% 38%, rgba(255, 122, 26, 0.16), transparent 70%), #101114; }
.metric-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.metric-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--orange-hot);
  text-shadow: var(--glow-orange);
}
.metric-main .metric-value { font-size: clamp(4.5rem, 10vw, 8.5rem); }
.metric-label { max-width: 26em; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.metric-main .metric-label { max-width: 22em; color: var(--text); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.metric-link {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.metric-link::after { content: " \2192"; transition: margin-left 0.2s var(--ease); }
.metric-link:hover { text-shadow: var(--glow-lime); }
.metric-link:hover::after { margin-left: 4px; }

/* the meter: twelve segments, one per ten projects; it fills step by step when the cell appears */
.metric-bar {
  --s: calc((100% - 44px) / 12);
  position: relative;
  display: block;
  height: 10px;
  max-width: 420px;
  margin-top: 14px;
}
.metric-bar::before,
.metric-bar::after {
  content: "";
  position: absolute;
  inset: 0;
}
.metric-bar::before { background: repeating-linear-gradient(90deg, var(--line-hi) 0 var(--s), transparent var(--s) calc(var(--s) + 4px)); }
.metric-bar::after {
  background: repeating-linear-gradient(90deg, var(--orange) 0 var(--s), transparent var(--s) calc(var(--s) + 4px));
  filter: drop-shadow(0 0 6px rgba(255, 122, 26, 0.6));
}
.js .metric-bar::after { clip-path: inset(0 100% 0 0); }
.js .metric-main.is-in .metric-bar::after { animation: bar-fill 1.2s steps(12, end) 0.35s forwards; }
@keyframes bar-fill { to { clip-path: inset(0 0 0 0); } }
.metric-note { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */

/* two columns of question cards; opening one never stretches its neighbour */
.faq-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.faq-item {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s;
}
.faq-item:hover { box-shadow: inset 0 0 0 1px var(--line-hi); }
.faq-item[open] {
  background: linear-gradient(135deg, rgba(184, 255, 60, 0.05), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 60, 0.45);
}
.faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-hi);
  font-family: var(--display);
  font-weight: 700;
  color: var(--orange);
  transition: border-color 0.25s, color 0.25s;
}
.faq-item[open] .faq-mark { border-color: var(--lime); color: var(--lime); }
.faq-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.3;
}
.faq-toggle {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--lime), var(--lime)) center / 100% 2px no-repeat,
    linear-gradient(var(--lime), var(--lime)) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 22px 70px; color: var(--muted); }
.faq-item[open] p { animation: faq-in 0.35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.faq-ask {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px dashed var(--line-hi);
  color: var(--muted);
  transition: border-color 0.25s;
}
.faq-ask-cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
.faq-ask-cta span { display: inline-block; transition: transform 0.25s var(--ease); }
.faq-ask:hover { border-color: var(--lime); }
.faq-ask:hover .faq-ask-cta span { transform: translateX(5px); }

/* ---------- Final call to action ---------- */

.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-inner {
  --c: 30px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(50% 90% at 85% 50%, rgba(184, 255, 60, 0.1), transparent 70%),
    linear-gradient(120deg, rgba(255, 122, 26, 0.2), transparent 55%),
    linear-gradient(90deg, rgba(53, 58, 66, 0.25) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(rgba(53, 58, 66, 0.25) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-hi);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.cta-inner h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.cta-text { max-width: 34em; margin-top: 14px; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 0.9375rem;
  color: var(--text);
}
.cta-trust li { display: inline-flex; align-items: center; gap: 8px; }
.cta-trust li::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg) translateY(-2px);
}

/* the logo as an emblem, slowly breathing */
.cta-emblem { justify-self: center; }
.cta-emblem img {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  animation: emblem 6s ease-in-out infinite;
}
@keyframes emblem {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 18px rgba(255, 122, 26, 0.25)); }
  50% { transform: translateY(-8px); filter: drop-shadow(0 0 34px rgba(184, 255, 60, 0.3)); }
}

/* ---------- Sticky call button (phones) ---------- */

.sticky-cta { display: none; }

/* ---------- Scroll-driven effects ---------- */

/* step progress bars fill in, the timeline draws itself */
.js .step::after { width: 0; transition: width 1s var(--ease) 0.25s; }
.js .step.is-in::after { width: calc(var(--n) * 25%); }
.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
.js .timeline.is-drawn::before { transform: none; }

/* ---------- Corporate layer: sector markings, ID badge, warning tape, boot screen ---------- */

/* stencilled service marking in the corner of every section */
[data-sector] { position: relative; }
[data-sector]::before {
  content: attr(data-sector);
  content: attr(data-sector) / ""; /* decoration: screen readers skip it where the syntax is supported */
  position: absolute;
  top: 24px;
  right: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
  max-width: calc(100% - 2 * var(--gutter));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
}

/* corporate ID badge */
.path-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.badge {
  --c: 18px;
  position: relative;
  overflow: hidden;
  padding: 16px 18px 14px 22px;
  background: linear-gradient(160deg, #1c1e23, #111214 65%);
  box-shadow: inset 0 0 0 1px var(--line-hi);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--orange), var(--lime));
}
.badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-hi);
}
.badge-corp { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.14em; }
.badge-chip {
  margin-left: auto;
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, 0.35) 30% 34%, transparent 34% 66%, rgba(0, 0, 0, 0.35) 66% 70%, transparent 70%),
    linear-gradient(transparent 45%, rgba(0, 0, 0, 0.35) 45% 55%, transparent 55%),
    linear-gradient(135deg, #ffe2bf, #c98a3e 55%, #ffd9b8);
}
.badge-body { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.badge-photo {
  --c: 10px;
  width: 96px;
  height: 120px;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.badge-data { display: grid; gap: 7px; align-content: start; }
.badge-data div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.badge-data dt { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; color: var(--muted); }
.badge-data dd { font-family: var(--display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em; }
.badge-access { color: var(--lime); text-shadow: var(--glow-lime); }
.badge-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-hi);
}
.barcode svg { display: block; width: 150px; height: 26px; fill: var(--text); opacity: 0.85; }
.badge-valid { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; color: var(--orange); }
.badge-holo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 122, 26, 0.1) 44%, rgba(184, 255, 60, 0.14) 50%, rgba(120, 200, 255, 0.1) 56%, transparent 65%);
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: holo 7s linear infinite;
}
.badge:hover .badge-holo { animation-duration: 2.2s; }
@keyframes holo { from { background-position: 100% 0; } to { background-position: -160% 0; } }

/* warning tape across the page before the call to action */
.tape-wrap { overflow: hidden; padding-block: 30px 6px; }
.tape {
  position: relative;
  width: 104%;
  margin-left: -2%;
  padding-block: 13px;
  background: var(--orange);
  box-shadow: 0 0 34px rgba(255, 122, 26, 0.35);
  transform: rotate(-1.4deg);
}
.tape::before,
.tape::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(-45deg, var(--void) 0 9px, transparent 9px 18px);
}
.tape::before { top: 0; }
.tape::after { bottom: 0; }
.tape-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.tape-track > div { display: flex; flex: none; }
.tape-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--void);
}
.tape-track span::after { content: "\25C6"; font-size: 0.75rem; }

/* one-second boot screen, first page of a tab session only (the class comes from the inline script) */
.boot-screen { display: none; }
.boot .boot-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.25) 2px 3px),
    radial-gradient(40% 40% at 50% 45%, rgba(255, 122, 26, 0.12), transparent 70%),
    var(--void);
  animation: boot-out 0.45s var(--ease) 1.15s forwards;
}
.boot-screen img { filter: drop-shadow(0 0 16px rgba(255, 122, 26, 0.45)); }
.boot-title { font-family: var(--display); font-weight: 900; font-size: 1.75rem; letter-spacing: 0.22em; }
.boot-bar { width: 220px; height: 3px; overflow: hidden; background: var(--line-hi); }
.boot-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  animation: boot-fill 0.9s steps(12) 0.1s forwards;
}
.boot-line {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.boot-line b { font-weight: 500; color: var(--lime); opacity: 0; animation: boot-ok 0.1s 0.95s forwards; }
@keyframes boot-fill { to { transform: scaleX(1); } }
@keyframes boot-ok { to { opacity: 1; } }
@keyframes boot-out { to { opacity: 0; visibility: hidden; } }
.boot.boot-done .boot-screen { display: none; }

/* while the boot screen is up, hold the hero's own entrance until it is gone */
.js.boot .neon { animation-delay: 1.5s; }
.js.boot .neon::before { animation-delay: 2.95s; }
.js.boot .neon::after { animation-delay: 3s; }
.js.boot .log.is-live .log-list li { animation-delay: calc(1.7s + var(--i) * 0.5s); }
.js.boot .log.is-live .ok { animation-delay: calc(2.05s + var(--i) * 0.5s); }

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* below 1200 px the portrait gets too small for the log to sit on it without reaching the face */
@media (max-width: 1200px) {
  .log { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -48px; }
}

@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 0.875rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reach-qr .qr { width: 84px; height: 84px; padding: 6px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-emblem { display: none; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-main { grid-column: 1 / -1; grid-row: auto; }
  .cert-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-col:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-small { display: none; }

  .js .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--void);
    border-bottom: 1px solid var(--line-hi);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.125rem;
    color: var(--text);
  }
  .js .is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .no-js .nav { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 460px; width: 100%; margin: 8px auto 0; }
  .portrait { margin: 0 auto; max-width: 380px; }
  .log {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -64px;
  }

  .section-head { grid-template-columns: minmax(0, 1fr); }
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .path-side { position: static; }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .offclock-card { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-cards { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }

  .sticky-cta {
    display: flex;
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    transform: translateY(160%);
    transition: transform 0.35s var(--ease);
  }
  .sticky-cta.is-shown { transform: none; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 0.9375rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 14px 0; }
  .creds > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .creds dd { min-width: 64px; font-size: 1.5rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 28px 22px 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .panel-head,
  .certs li,
  .cert-num,
  .cert-more summary,
  .certs .cert-chips,
  .community-list li { padding-inline: 18px; }

  .reach-main { grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px 18px; }
  .reach-main .reach-icon { width: 48px; height: 48px; }
  .reach-qr { display: none; }
  .reach-pair { grid-template-columns: minmax(0, 1fr); }
  .reach-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; }
  .reach-card .reach-icon { grid-row: span 3; margin-bottom: 0; }
  .clock-status { margin-left: 0; flex-basis: 100%; }
  .speaking-foot .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .metric { padding: 20px 16px; }
  .metric-value { font-size: 2.2rem; }
  .metric-main .metric-value { font-size: 4.5rem; }
  .cert-cols { grid-template-columns: minmax(0, 1fr); }
  .cert-col + .cert-col { border-left: 0; border-top: 1px solid var(--line); }
  .leaks-head { display: none; }
  .leak { grid-template-columns: minmax(0, 1fr); }
  .leak-now { padding: 18px 18px 10px; }
  .leak-link { display: none; }
  /* the fix lines up under the problem text: gutter + box + gap */
  .leak-fix { padding: 0 18px 18px 56px; }
  .leaks-bar { padding: 16px 18px; }
  .leak-report { grid-template-columns: minmax(0, 1fr); }
  .leak-report > div { padding: 18px; }
  .leak-report > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .leak-report-actions .btn { flex: 1 1 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  [data-sector]::before { top: 16px; font-size: 0.5625rem; letter-spacing: 0.16em; }
  .badge-body { grid-template-columns: 84px minmax(0, 1fr); }
  .badge-photo { width: 84px; height: 105px; }
  .tape-track span { font-size: 0.875rem; }
  .faq-item summary { padding: 18px; gap: 12px; }
  .faq-item p { padding: 0 18px 18px; }
  .offclock-sign { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .neon::before,
  .neon::after,
  .leak-link::before,
  .btn::after { display: none; }
  /* the ticker stops and becomes a scrollable row */
  .ticker { overflow-x: auto; }
  .ticker-track ul[aria-hidden] { display: none; }
}
