/* ============================================================
   BSD MGMT LTD — bsdmgmt.agency
   Rail layout · black / white / blue
   ============================================================ */

:root {
  --void: #000000;
  --ink-2: #07070a;
  --panel: #0b0b10;

  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.22);

  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.56);
  --dim: rgba(255, 255, 255, 0.32);

  --blue: #1d3bff;
  --blue-lite: #8098ff;
  --blue-deep: #0c1fb0;
  --blue-soft: rgba(29, 59, 255, 0.14);

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, sans-serif;
  --mono: "Azeret Mono", ui-monospace, Menlo, monospace;

  --rail: 214px;
  --gutter: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: var(--rail);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-lite); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ============================================================
   Opening sequence — the mark splits
   ============================================================ */

.opener {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.opener__bars { position: relative; width: 46vw; max-width: 620px; }
.opener__bars i {
  display: block;
  height: 8vw;
  max-height: 108px;
  background: var(--blue);
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
  animation-delay: 0.35s;
  animation-fill-mode: forwards;
  transform-origin: center;
}
.opener__bars i:first-child { margin-bottom: 2.4vw; animation-name: barUp; }
.opener__bars i:last-child { animation-name: barDown; }
@keyframes barUp { to { transform: translateY(-62vh); opacity: 0; } }
@keyframes barDown { to { transform: translateY(62vh); opacity: 0; } }
.opener { animation: openerOut 0.5s var(--ease) 0.85s forwards; }
@keyframes openerOut { to { opacity: 0; visibility: hidden; } }

/* ============================================================
   Rail
   ============================================================ */

.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail);
  border-right: 1px solid var(--line);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 70;
  background: var(--void);
}

.rail__progress {
  position: absolute;
  top: 0; right: -1px;
  width: 1px;
  height: 0;
  background: var(--blue);
}

.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand__mark { display: inline-flex; flex-direction: column; gap: 2.5px; flex: none; }
.brand__mark i { display: block; width: 13px; height: 5px; background: var(--blue); transition: background 0.3s; }
.brand:hover .brand__mark i { background: var(--white); }
.brand__name { font-family: var(--mono); font-size: 12px; letter-spacing: -0.02em; font-weight: 500; }

.rail__nav { display: flex; flex-direction: column; gap: 2px; }
.rail__nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--dim);
  padding-block: 7px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: color 0.25s;
}
.rail__nav a b { font-weight: 400; color: rgba(255,255,255,0.18); font-size: 9px; transition: color 0.25s; }
.rail__nav a:hover, .rail__nav a[aria-current="page"] { color: var(--white); }
.rail__nav a:hover b, .rail__nav a[aria-current="page"] b { color: var(--blue-lite); }

.rail__foot { font-family: var(--mono); font-size: 9px; line-height: 2.1; color: rgba(255,255,255,0.24); letter-spacing: 0.02em; }
.rail__foot a { color: var(--muted); }
.rail__foot a:hover { color: var(--blue-lite); }

.topbar { display: none; }

/* ============================================================
   Atoms
   ============================================================ */

.tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-lite);
  display: block;
  margin-bottom: 24px;
}
.tag--muted { color: var(--dim); }

.section { padding-block: 112px; position: relative; }
.section--tight { padding-block: 74px; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-bottom: 22px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 540px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
  position: relative;
}
.btn::after { content: "\2192"; transition: transform 0.35s var(--ease); }
.btn:hover::after { transform: translateX(6px); }
.btn--solid { color: var(--blue-lite); border-bottom-color: var(--blue); }
.btn--solid:hover { color: var(--white); border-bottom-color: var(--white); }
.btn--line:hover { color: var(--blue-lite); border-bottom-color: var(--blue-lite); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.chip + .chip { margin-left: 4px; }
.chip::before { content: ""; width: 14px; height: 1px; background: var(--line-2); }

.live { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-lite); box-shadow: 0 0 8px var(--blue); flex: none; animation: blip 2.2s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.eq { display: inline-flex; flex-direction: column; gap: 6px; }
.eq i { display: block; width: 34px; height: 6px; background: var(--blue); }
.eq--lg i { width: 62px; height: 11px; }
.eq--lg { gap: 9px; }

/* ============================================================
   Split text
   ============================================================ */

.split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-word > span { display: inline-block; transform: translateY(108%); transition: transform 0.9s var(--ease); }
.split.in .split-word > span { transform: none; }

/* ============================================================
   Hero
   ============================================================ */

.hero { padding-block: 118px 84px; position: relative; }
.hero__rule { height: 6px; background: var(--blue); width: 62px; margin-bottom: 34px; transform-origin: left; animation: ruleIn 0.8s var(--ease) 1.0s both; }
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero h1 { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -0.05em; margin-bottom: 36px; max-width: 15ch; }
.hero h1 .blue { color: var(--blue-lite); }

.hero__meta { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; padding-top: 34px; border-top: 1px solid var(--line); }
.hero__lead { font-size: 16.5px; color: var(--muted); margin: 0; max-width: 460px; }
.hero__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ============================================================
   Live operations feed
   ============================================================ */

.feed { border: 1px solid var(--line); }

.feed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.feed__title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.feed__clock { font-family: var(--mono); font-size: 11px; color: var(--white); letter-spacing: 0.04em; }

.feed__stream {
  height: 396px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.feed__row {
  display: grid;
  grid-template-columns: 62px 168px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 11px;
  animation: feedIn 0.5s var(--ease) both;
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

.feed__t { color: rgba(255, 255, 255, 0.24); }
.feed__acct { color: var(--muted); }
.feed__act { color: var(--white); display: flex; align-items: center; gap: 11px; }
.feed__act::before { content: ""; width: 6px; height: 6px; flex: none; background: rgba(255,255,255,0.22); }
.feed__row[data-t="deal"] .feed__act::before,
.feed__row[data-t="revenue"] .feed__act::before { background: var(--blue); }
.feed__row[data-t="publish"] .feed__act::before { background: var(--white); }

.feed__meta { color: var(--dim); text-align: right; white-space: nowrap; }
.feed__row[data-t="deal"] .feed__meta,
.feed__row[data-t="revenue"] .feed__meta { color: var(--blue-lite); }

.feed__foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feed__stat { padding: 22px 22px 24px; border-right: 1px solid var(--line); }
.feed__stat:last-child { border-right: 0; }
.feed__stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: 9px;
}
.feed__stat span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.feed__note { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: rgba(255,255,255,0.24); margin: 20px 0 0; }

/* ============================================================
   Ticker — two lanes, rightward
   ============================================================ */

.ticker {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__lane {
  display: flex;
  width: max-content;
  animation: tickRight 34s linear infinite;
  will-change: transform;
}
.ticker__lane--slow { animation-duration: 52s; border-top: 1px solid var(--line); }
.ticker:hover .ticker__lane { animation-play-state: paused; }

@keyframes tickRight {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.ticker__set { display: flex; align-items: center; flex: none; }

.tk {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
  padding: 18px 32px 18px 0;
  transition: color 0.35s;
}
.tk::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--blue);
  flex: none;
  margin-left: 16px;
}
.tk:hover { color: var(--white); }

/* ============================================================
   Counters
   ============================================================ */

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.counter b { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -0.055em; margin-bottom: 12px; }
.counter b .unit { font-size: 0.44em; color: var(--blue-lite); margin-left: 3px; letter-spacing: -0.02em; }
.counter > span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); display: block; padding-top: 12px; border-top: 1px solid var(--line); }

/* ============================================================
   Revenue shift — two vertical columns
   ============================================================ */

.shift { display: grid; grid-template-columns: 1fr 96px 1fr; gap: 0; align-items: stretch; }
.shift__col { display: flex; flex-direction: column; }
.shift__cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.shift__cap b { color: var(--white); font-weight: 400; }
.shift__bar { display: flex; flex-direction: column; height: 380px; border: 1px solid var(--line); }
.shift__seg { display: flex; align-items: center; justify-content: space-between; padding-inline: 14px; height: 0; overflow: hidden; transition: height 1.05s var(--ease); font-family: var(--mono); font-size: 10px; }
.shift__seg em { font-style: normal; opacity: 0.8; }
.s1 { background: var(--blue); color: var(--white); }
.s2 { background: var(--blue-deep); color: var(--white); }
.s3 { background: var(--white); color: var(--void); }
.s4 { background: rgba(255,255,255,0.26); color: var(--white); }

.shift__mid { display: flex; align-items: center; justify-content: center; }
.shift__arrow { width: 100%; height: 1px; background: var(--line-2); position: relative; }
.shift__arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg); }

.owned { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.owned span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); }
.owned b { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -0.05em; color: var(--blue-lite); }
.owned b i { font-style: normal; color: var(--dim); font-size: 0.5em; margin-right: 12px; }

/* ============================================================
   Service index (hover reveal)
   ============================================================ */

.index { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.index__list { border-top: 1px solid var(--line); }
.index__item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.035em;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.index__item b { font-family: var(--mono); font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.2); transition: color 0.3s; }
.index__item:hover, .index__item[aria-selected="true"] { color: var(--white); padding-left: 16px; }
.index__item[aria-selected="true"] b { color: var(--blue-lite); }

.index__panel { position: sticky; top: 90px; border-left: 1px solid var(--line); padding-left: 34px; min-height: 300px; }
.index__body { opacity: 0; transition: opacity 0.35s var(--ease); }
.index__body.on { opacity: 1; }
.index__panel h3 { font-size: 21px; margin-bottom: 14px; }
.index__panel p { color: var(--muted); font-size: 15px; }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { font-size: 14px; color: var(--dim); padding-left: 20px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--blue-lite); }

/* ============================================================
   Cards (used by sub-pages)
   ============================================================ */

.grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.cell { padding: 34px 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.35s; }
.grid--3 .cell:nth-child(3n) { border-right: 0; }
.grid--2 .cell:nth-child(2n) { border-right: 0; }
.cell:hover { background: var(--blue-soft); }
.cell__key { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-lite); display: block; margin-bottom: 20px; }
.cell h3 { font-size: 20px; margin-bottom: 12px; }
.cell p { color: var(--muted); font-size: 14.5px; margin: 0; }
.cell a { color: var(--blue-lite); }

/* ============================================================
   Stages — horizontal
   ============================================================ */

.stages { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stage { padding: 30px 26px 34px; border-right: 1px solid var(--line); position: relative; }
.stage:last-child { border-right: 0; }
.stage::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.stage.seen::before { transform: scaleX(1); }
.stage:nth-child(2)::before { transition-delay: 0.12s; }
.stage:nth-child(3)::before { transition-delay: 0.24s; }
.stage:nth-child(4)::before { transition-delay: 0.36s; }
.stage__n { font-family: var(--mono); font-size: 10px; color: var(--blue-lite); display: block; margin-bottom: 20px; }
.stage h3 { font-size: 22px; margin-bottom: 8px; }
.stage__when { font-family: var(--mono); font-size: 9px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.stage p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============================================================
   Band
   ============================================================ */

.band { padding-block: 118px; border-block: 1px solid var(--line); background: radial-gradient(700px 340px at 78% 20%, rgba(29,59,255,0.20), transparent 66%); }
.band h2 { font-size: clamp(32px, 5vw, 64px); max-width: 16ch; }
.band h2 .accent { color: var(--blue-lite); }
.band p { color: var(--muted); max-width: 560px; margin: 30px 0 0; font-size: 16.5px; }

/* ============================================================
   FAQ
   ============================================================ */

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding-block: 26px; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; display: flex; justify-content: space-between; gap: 24px; align-items: center; transition: color 0.3s, padding-left 0.4s var(--ease); }
.qa summary:hover { color: var(--blue-lite); padding-left: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); font-size: 17px; color: var(--blue-lite); flex: none; transition: transform 0.35s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); font-size: 14.5px; max-width: 800px; padding-bottom: 26px; margin: 0; }
.qa a { color: var(--blue-lite); }

/* ============================================================
   Call
   ============================================================ */

.call { border-top: 1px solid var(--line); padding-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.call h2 { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 16px; }
.call p { color: var(--muted); margin: 0; max-width: 440px; }
.call__actions { display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }

/* ============================================================
   Contact
   ============================================================ */

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 11px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px;
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--blue); outline: none; }
.field select option { background: var(--panel); color: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.consent input { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-lite); text-decoration: underline; text-underline-offset: 3px; }

.panel { border-top: 1px solid var(--line); padding: 22px 0 24px; }
.panel h3 { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.panel p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.panel strong { color: var(--white); }
.panel a { color: var(--blue-lite); }

.form-note { font-size: 12px; color: var(--dim); margin-top: 18px; }

/* ============================================================
   Legal documents
   ============================================================ */

.doc-head { padding-block: 96px 40px; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(34px, 5vw, 62px); margin-bottom: 18px; }
.doc-head p { margin: 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--dim); }

.doc { padding-block: 56px 100px; max-width: 780px; }
.doc h2 { font-size: 21px; margin: 48px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc h3 { font-size: 16px; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 20px; margin-bottom: 1em; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--blue-lite); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--white); font-weight: 600; }

.toc { border: 1px solid var(--line); padding: 26px 30px; margin-bottom: 48px; }
.toc h2 { font-family: var(--mono) !important; font-size: 9px !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px !important; border: 0 !important; padding: 0 !important; }
.toc ol { columns: 2; column-gap: 34px; margin: 0; padding-left: 18px; }
.toc li { font-size: 13px; break-inside: avoid; }

.tbl { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 13px 14px; border: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.tbl th { color: var(--white); font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; }

.note { border-left: 3px solid var(--blue); background: var(--blue-soft); padding: 20px 24px; margin-bottom: 1.5em; }
.note p:last-child { margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */

.foot { border-top: 1px solid var(--line); padding-block: 56px 34px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.foot__blurb { color: var(--dim); font-size: 13.5px; max-width: 280px; margin: 18px 0 0; }
.foot__col h4 { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.24); margin-bottom: 18px; font-weight: 400; }
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin-bottom: 11px; }
.foot__col a { font-size: 13.5px; color: var(--muted); transition: color 0.25s; }
.foot__col a:hover { color: var(--blue-lite); }
.foot__base { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.foot__entity { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: rgba(255,255,255,0.26); line-height: 2.2; margin: 0; }
.foot__entity strong { color: var(--muted); font-weight: 400; }

/* ============================================================
   Cookie bar
   ============================================================ */

.cookiebar {
  position: fixed;
  left: calc(var(--rail) + 24px); right: 24px; bottom: 24px;
  z-index: 90;
  max-width: 520px;
  border: 1px solid var(--line-2);
  background: var(--void);
  padding: 26px;
  transform: translateY(180%);
  transition: transform 0.6s var(--ease);
}
.cookiebar[data-open="true"] { transform: none; }
.cookiebar h4 { font-family: var(--display); font-size: 16px; margin-bottom: 10px; }
.cookiebar p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.cookiebar p a { color: var(--blue-lite); text-decoration: underline; text-underline-offset: 3px; }
.cookiebar__row { display: flex; gap: 26px; flex-wrap: wrap; }

/* ============================================================
   Reveal
   ============================================================ */

.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.seen { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  .index { grid-template-columns: 1fr; gap: 34px; }
  .index__panel { position: static; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; min-height: 0; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stage:nth-child(2n) { border-right: 0; }
  .stage:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1000px) {
  :root { --gutter: 24px; }
  body { padding-left: 0; }
  .rail { display: none; }
  .topbar {
    display: flex;
    position: sticky;
    top: 0; z-index: 70;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding-inline: 24px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar__menu {
    position: absolute;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    padding: 4px 24px 18px;
    display: none;
  }
  .topbar__menu[data-open="true"] { display: flex; }
  .topbar__menu a { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-block: 14px; width: 100%; border-bottom: 1px solid var(--line); }
  .burger { background: none; border: 1px solid var(--line-2); padding: 9px 11px; color: var(--white); cursor: pointer; }
  .cookiebar { left: 20px; right: 20px; }
  .feed__row { grid-template-columns: 54px 1fr auto; gap: 12px; }
  .feed__acct { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .call { grid-template-columns: 1fr; }
  .call__actions { justify-content: flex-start; }
  .hero__meta { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .section { padding-block: 74px; }
  .hero { padding-block: 66px 60px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--3 .cell, .grid--2 .cell { border-right: 0; }
  .stages { grid-template-columns: 1fr; }
  .stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .counters { grid-template-columns: 1fr; gap: 26px; }
  .shift { grid-template-columns: 1fr; gap: 26px; }
  .shift__mid { display: none; }
  .shift__bar { height: 260px; }
  .feed__foot { grid-template-columns: repeat(2, 1fr); }
  .feed__stat:nth-child(2n) { border-right: 0; }
  .feed__stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feed__stream { height: 320px; }
  .feed__row { padding: 12px 18px; font-size: 10px; }
  .toc ol { columns: 1; }
  .band { padding-block: 76px; }
  .plats span { flex: 1 1 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .opener { display: none; }
  .hero__rule { animation: none; }
}
