/* ============================================================
   $BARC — design system
   Tokens lifted from Arc's own brand (arc.io):
   Space Grotesk / DM Sans / Space Mono, protocol navy,
   validator blue, token sand, and the Arc dawn gradient.
   ============================================================ */

:root {
  /* Arc primaries */
  --space:        #000b24;
  --navy:         #1b3158;
  --blue:         #2f578c;
  --violet:       #412c5c;
  --plum:         #664c88;

  /* Arc secondaries */
  --ether:        #d5e0e7;
  --sky:          #acc6e9;
  --teal:         #4197a1;
  --gold:         #e9a13f;
  --sand:         #ffcc6f;
  --cream:        #f5ecda;
  --clay:         #c0827a;
  --burnt:        #702718;

  --white:        #ffffff;
  --black:        #000000;

  /* semantic */
  --bg:           var(--white);
  --bg-deep:      var(--space);
  --ink:          #0a1526;
  --ink-soft:     #4a5a70;
  --line:         rgba(10, 21, 38, .12);
  --line-dark:    rgba(255, 255, 255, .16);

  /* Arc dawn gradient — the signature */
  --dawn: linear-gradient(
    #000b24 0%,  #0b223e 8%,  #143453 18%, #153655 27%,
    #326796 70%, #4197a1 81%, #e2d0aa 92%, #f5ecda 96%, #ffffff 100%
  );

  /* type */
  --f-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2.5rem, 10vw, 6rem);
  --fs-h2: clamp(2rem, 7vw, 4.25rem);
  --fs-h3: clamp(1.75rem, 3.4vw, 3.375rem);
  --fs-h4: clamp(1.5rem, 2.6vw, 2.6875rem);
  --fs-h5: clamp(1.25rem, 2vw, 2rem);
  --fs-h6: 1.5rem;

  /* layout */
  --container: 1216px;
  --pad: 32px;
  --section: clamp(72px, 9vw, 120px);
  --gap: 32px;
  --r: 8px;
  --r-lg: 20px;

  /* Hero fotoğrafının kadrajı. İlk sayı yatay, ikinci dikey.
     Küçült → görsel yukarı kayar (üstten daha az kırpılır).
     Kare görsellerde 8%–25% arası iyi çalışıyor.            */
  --hero-focus: 50% 4%;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
/* class'lardaki display kuralları tarayıcının [hidden]'ını ezmesin */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; overflow-wrap: break-word; }
p { margin: 0; }
::selection { background: var(--sand); color: var(--space); }

/* ---------- primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--space); color: var(--white); }
.section--tint { background: var(--cream); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .875rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.section--dark .eyebrow { color: var(--sand); }

.h1 { font-family: var(--f-display); font-size: var(--fs-h1); text-transform: uppercase; }
.h2 { font-family: var(--f-display); font-size: var(--fs-h2); text-transform: uppercase; }
.h3 { font-family: var(--f-body); font-size: var(--fs-h3); }
.h5 { font-family: var(--f-body); font-size: var(--fs-h5); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
.section--dark .lede { color: var(--sky); }
.section-head { margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r);
  background: var(--space); color: var(--white);
  border: 1px solid var(--space);
  font-size: 1rem; line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: #292929; border-color: #292929; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; opacity: .95; }
.btn--ghost:hover { background: currentColor; border-color: currentColor; transform: translateY(-1px); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--space); }
.btn--sand { background: var(--sand); color: var(--space); border-color: var(--sand); }
.btn--sand:hover { background: var(--gold); border-color: var(--gold); color: var(--space); }
.btn--lg { padding: 17px 32px; font-size: 1.0625rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0, 11, 36, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__group { display: flex; align-items: center; gap: 28px; flex: 1 1 0; }
.nav__group--end { justify-content: flex-end; }
.nav__link {
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white); opacity: .78;
  transition: opacity .16s ease;
}
.nav__link:hover { opacity: 1; }
.nav__cta { padding: 9px 18px; font-size: .875rem; }
.nav__cta--mobile, .nav__link--mobile { display: none; }
.nav__burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--white); }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease;
}
.nav__burger span::before { transform: translateY(-6px); }
.nav__burger span::after { transform: translateY(4.5px); }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-1.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: flex; order: 3; }
  .nav__inner { justify-content: flex-end; }
  .nav__group--end { display: none; }
  .nav__cta--mobile { display: inline-flex; margin-top: 12px; }
  .nav__link--mobile { display: block; }
  .nav__group {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(0, 11, 36, .97);
    backdrop-filter: blur(14px);
    padding: 20px var(--pad) 28px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav__group--end { inset-block-start: auto; }
  .nav.is-open .nav__group { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { font-size: 1rem; padding: 10px 0; }
}

/* ============================================================
   HERO — full-bleed photo, Arc scrim
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 960px);
  background: var(--space);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(120px, 14vw, 170px);
}

/* the photograph */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus);
}
/* fallback while no photo is dropped in */
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--dawn);
}

/* brand wash — ties any photo back to the Arc palette */
.hero__wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, #000b24 0%, #2f578c 46%, #4197a1 72%, #ffcc6f 100%);
  mix-blend-mode: soft-light;
  opacity: .55;
}

/* legibility scrim — dark at the top for the nav, dark at the
   bottom for the headline, clear through the middle for the art */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 78% 42% at 50% 74%, rgba(0, 11, 36, .58) 0%, rgba(0, 11, 36, 0) 72%),
    linear-gradient(
      to bottom,
      rgba(0, 11, 36, .74) 0%,
      rgba(0, 11, 36, .30) 18%,
      rgba(0, 11, 36, .10) 34%,
      rgba(0, 11, 36, .48) 58%,
      rgba(0, 11, 36, .84) 78%,
      rgba(0, 11, 36, .97) 92%,
      #000b24 100%
    );
}

.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(transparent 0%, #000 55%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 55%, #000 88%, transparent 100%);
}

.hero__inner { position: relative; z-index: 2; text-align: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  background: rgba(0, 11, 36, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sand); flex: none;
  box-shadow: 0 0 0 0 rgba(255,204,111,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,204,111,.65); }
  70%  { box-shadow: 0 0 0 9px rgba(255,204,111,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,204,111,0); }
}

.hero h1 {
  font-family: var(--f-display); font-weight: 300;
  font-size: var(--fs-h1); text-transform: uppercase;
  letter-spacing: -.035em; margin: 0;
  text-shadow: 0 2px 40px rgba(0, 11, 36, .55);
}
.hero h1 em { font-style: normal; font-weight: 500; }
.hero h1 .accent { color: var(--sand); }
.hero__sub {
  margin: 24px auto 0; max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.1875rem); color: rgba(255,255,255,.86);
  text-shadow: 0 1px 20px rgba(0, 11, 36, .6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

.hero__chain {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-block: clamp(30px, 5vw, 52px) clamp(34px, 5vw, 56px);
  color: var(--white);
}
.hero__chain span {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6;
}
.hero__chain strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }

@media (max-width: 700px) {
  .hero { min-height: 92svh; }
  .hero__bg img { object-position: 50% 8%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--space); color: var(--sand);
  border-block: 1px solid var(--line-dark);
  padding: 15px 0; overflow: hidden; display: flex; user-select: none;
}
.marquee__track { display: flex; flex: none; gap: 0; animation: scroll 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--f-mono); font-size: .875rem; letter-spacing: .16em; text-transform: uppercase;
  padding-inline: 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px;
}
.marquee__item::after { content: "◆"; font-size: .6rem; opacity: .55; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PROOF — the point of the whole site
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--gap); }
.proof {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.proof:hover { transform: translateY(-4px); border-color: rgba(255,204,111,.5); background: rgba(255,255,255,.07); }
.proof__tag {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand);
}
.proof__tag .num { color: rgba(255,255,255,.4); }
.proof__shot { background: rgba(0,0,0,.25); }
.proof__shot img { width: 100%; height: auto; }
.proof__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proof__body p { font-size: .9375rem; color: var(--sky); }
.proof__link {
  margin-top: auto; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--white); display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.3); align-self: flex-start; padding-bottom: 3px;
  transition: color .16s ease, border-color .16s ease;
}
.proof__link:hover { color: var(--sand); border-color: var(--sand); }

.proof--wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .proof--wide { flex-direction: row; }
  .proof--wide .proof__shot { flex: 1 1 52%; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .proof--wide .proof__col { flex: 1 1 48%; display: flex; flex-direction: column; }
  .proof--wide .proof__body { justify-content: center; padding: 32px; gap: 16px; }
  .proof--wide .proof__body p { font-size: 1.0625rem; }
}

/* placeholder art until real screenshots land */
.shot-placeholder {
  aspect-ratio: 16 / 10; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    rgba(0,0,0,.25);
  border: 1px dashed rgba(255,255,255,.22);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em;
  color: rgba(255,255,255,.42); text-align: center; padding: 20px;
}

/* ============================================================
   CONTRACT / BUY
   ============================================================ */
.ca {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.ca__label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .18em; color: var(--sand); flex: none; }
.ca__value {
  font-family: var(--f-mono); font-size: clamp(.75rem, 1.55vw, 1rem);
  word-break: break-all; flex: 1 1 260px; color: var(--white);
}
.ca__copy {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--sand); color: var(--sand); border-radius: var(--r); padding: 10px 16px;
  transition: background .18s ease, color .18s ease;
}
.ca__copy:hover, .ca__copy.is-copied { background: var(--sand); color: var(--space); }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.link-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); border-color: rgba(255,204,111,.5); }
.link-card__name { font-family: var(--f-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.link-card__meta { display: block; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-top: 4px; }
.link-card__arrow { flex: none; opacity: .5; transition: transform .2s ease, opacity .2s ease; }
.link-card:hover .link-card__arrow { transform: translate(3px, -3px); opacity: 1; }

/* light variant */
.section--tint .link-card, .section:not(.section--dark) .link-card { border-color: var(--line); background: var(--white); }
.section--tint .link-card:hover { border-color: var(--blue); }
.section--tint .link-card__meta, .section:not(.section--dark) .link-card__meta { color: var(--blue); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.section--dark .step { border-top-color: var(--line-dark); }
.step__n {
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .2em;
  color: var(--blue); margin-bottom: 14px;
}
.section--dark .step__n { color: var(--sand); }
.step h3 { font-family: var(--f-body); font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .9375rem; }
.section--dark .step p { color: var(--sky); }
.step a { border-bottom: 1px solid currentColor; }

/* ============================================================
   NUMBERS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat { background: var(--white); padding: 32px 28px; }
.section--dark .stat { background: var(--space); }
.stat__v { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.stat__k { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }
.section--dark .stat__k { color: var(--sky); }

/* ============================================================
   MEMES
   ============================================================ */
.memes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.meme {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--cream); position: relative;
}
.section--dark .meme { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.meme { display: block; }
.meme img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.meme:hover img { transform: scale(1.05); }
.meme--empty {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  border-style: dashed; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em;
  color: rgba(255,255,255,.38);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.section--dark .faq { border-top-color: var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item { border-bottom-color: var(--line-dark); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--f-body); font-size: clamp(1.0625rem, 1.8vw, 1.375rem); font-weight: 500; letter-spacing: -.01em;
}
.faq__icon { flex: none; width: 18px; height: 18px; position: relative; opacity: .55; transition: opacity .2s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { opacity: 1; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; height: 0; transition: height .3s ease; }
.faq__a p { padding-bottom: 26px; color: var(--ink-soft); max-width: 68ch; }
.faq__a code { font-family: var(--f-mono); font-size: .8125em; word-break: break-all; }
.section--dark .faq__a p { color: var(--sky); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--space); color: var(--white); padding-top: var(--section); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.footer__mark {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--f-display); font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300; letter-spacing: -.04em; text-transform: uppercase; line-height: .9;
}
.footer__mark img {
  width: clamp(60px, 8.5vw, 92px); height: auto; flex: none;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer__links a { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; transition: opacity .16s ease; }
.footer__links a:hover { opacity: 1; color: var(--sand); }
.footer__bar { border-top: 1px solid var(--line-dark); padding: 26px 0 40px; }
.disclaimer { font-family: var(--f-mono); font-size: .6875rem; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.42); max-width: 90ch; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   CHAIN OF CUSTODY — horizontal timeline
   ============================================================ */
.tl { position: relative; padding-inline: var(--pad); }
.tl__viewport { position: relative; }

.tl__track { position: relative; }
.tl__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none; margin: 0; padding: 0;
}

/* the axis runs first node centre → last node centre */
.tl__axis {
  position: absolute; z-index: 0;
  left: 10%; right: 10%; bottom: 12px; height: 1px; margin-bottom: -.5px;
  background: var(--line-dark);
}
.tl__fill {
  position: absolute; inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(to right, rgba(255,204,111,.4), var(--sand));
}
.tl__fill::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 7px; height: 7px; margin: -3.5px -3.5px 0 0;
  border-radius: 50%; background: var(--sand);
  box-shadow: 0 0 14px 3px rgba(255, 204, 111, .55);
  opacity: 0; transition: opacity .3s ease;
}
.tl.is-running .tl__fill::after { opacity: 1; }

.tl__step {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 1fr 24px;
  justify-items: center; padding-inline: 12px;
}

.tl__node {
  grid-row: 2; align-self: center;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--space); border: 1px solid rgba(255,255,255,.3);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.tl__step.is-live .tl__node {
  background: var(--sand); border-color: var(--sand);
  box-shadow: 0 0 0 4px rgba(255, 204, 111, .14);
}
.tl__step--end .tl__node { width: 15px; height: 15px; }
.tl__step--end.is-live .tl__node {
  box-shadow: 0 0 0 6px rgba(255, 204, 111, .16), 0 0 18px 4px rgba(255, 204, 111, .35);
}

.tl__stem {
  position: absolute; left: 50%; width: 1px; background: var(--line-dark);
  bottom: 20px; height: 24px;
}

.tl__card {
  grid-row: 1; align-self: end; margin-bottom: 20px;
  text-align: center; max-width: 250px;
}

/* steps sit back until the line reaches them — JS-gated so a
   no-JS visitor still gets everything at full strength */
.tl.is-scripted .tl__card {
  opacity: .28; transform: translateY(4px);
  transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1);
}
.tl.is-scripted .tl__step.is-live .tl__card { opacity: 1; transform: none; }

.tl__role {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky); opacity: .75; margin-bottom: 10px;
}
.tl__role .n { color: var(--sand); opacity: 1; }
.tl__what { color: var(--sky); font-size: .875rem; line-height: 1.5; margin-top: 10px; }
.tl__what strong { color: var(--white); font-weight: 500; }

/* truncated address — the full one lives in the VERIFY dossier */
.tl__addr {
  display: inline-block;
  font-family: var(--f-mono); font-size: .875rem; color: var(--white);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.tl__addr:hover { color: var(--sand); text-decoration-color: var(--sand); }
.tl__addr .ext { opacity: .45; font-size: .75em; margin-left: 6px; }

/* swipeable on small screens; the fill follows the swipe */
@media (max-width: 900px) {
  .tl__viewport {
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
  }
  .tl__viewport::-webkit-scrollbar { display: none; }
  .tl__track { width: max-content; }
  .tl__steps { grid-template-columns: repeat(5, 68vw); }
  .tl__step { scroll-snap-align: center; }
  .tl__card { max-width: none; }
}

.tl { margin-top: 8px; }
.tl__hint {
  display: none;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky); opacity: .55;
  margin-top: 28px; text-align: center;
}
@media (max-width: 900px) { .tl__hint { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .tl.is-scripted .tl__card { opacity: 1; transform: none; }
  .tl__fill::after { display: none; }
}

/* monospace address chip (evidence + dossier) */
.addr {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--f-mono); font-size: clamp(.75rem, 1.5vw, .9375rem);
  color: var(--white); word-break: break-all;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.addr:hover { color: var(--sand); text-decoration-color: var(--sand); }
.addr .ext { flex: none; opacity: .45; font-size: .75em; transition: opacity .18s ease; }
.addr:hover .ext { opacity: 1; }

/* callout */
.callout {
  margin-top: 56px; padding: 28px 32px;
  border: 1px solid var(--line-dark); border-left: 2px solid var(--sand);
  border-radius: var(--r-lg); background: rgba(255,255,255,.04);
}
.callout p { color: var(--sky); max-width: 76ch; }
.callout p + p { margin-top: 14px; }
.callout strong { color: var(--white); font-weight: 500; }

/* ============================================================
   EVIDENCE
   ============================================================ */
.ev { display: grid; grid-template-columns: 1fr; gap: 20px; padding-block: 52px; border-top: 1px solid var(--line-dark); }
.ev:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 940px) {
  .ev { grid-template-columns: 340px 1fr; gap: 56px; }
}
.ev__n {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 12px;
}
.ev__t { font-family: var(--f-body); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; }
.ev__body { min-width: 0; }
.ev__body p { color: var(--sky); max-width: 70ch; }
.ev__body p + p { margin-top: 16px; }
.ev__body strong { color: var(--white); font-weight: 500; }

.facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.facts li {
  position: relative; padding-left: 34px;
  color: var(--sky); font-size: .9375rem; line-height: 1.6;
}
.facts li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  font-family: var(--f-mono); color: var(--sand); opacity: .8;
}
/* addresses inside prose get their own line */
.facts .addr, .ev__body > .addr { display: flex; margin-top: 10px; }
.ev__body > .addr + p { margin-top: 18px; }
.facts strong { color: var(--white); font-weight: 500; }

/* runtime bytecode */
.code {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--r);
  background: rgba(0,0,0,.4); border: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: .8125rem; line-height: 1.7;
  color: var(--ether); word-break: break-all;
}
.code .hl { color: var(--sand); }
.code__label {
  display: block; font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky); opacity: .7; margin-bottom: 8px;
}

/* small data table */
.dtable { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: .875rem; }
.dtable th, .dtable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-dark); }
.dtable thead th {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky); font-weight: 400;
}
.dtable tbody td { color: var(--sky); }
.dtable tbody td:first-child { color: var(--white); }
.dtable td.num { font-family: var(--f-mono); white-space: nowrap; }
.dtable-wrap { overflow-x: auto; }

/* ============================================================
   PRECEDENT
   ============================================================ */
.precedent { list-style: none; margin: 0; padding: 0; }
.precedent li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px;
  padding: 24px 0; border-bottom: 1px solid var(--line-dark);
}
.precedent .amt {
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300;
  letter-spacing: -.03em; color: var(--sand); flex: none; min-width: 9ch;
}
.precedent .who { color: var(--sky); font-size: 1rem; flex: 1 1 20ch; }
.precedent .who strong { color: var(--white); font-weight: 500; }

/* ============================================================
   VERIFY — address dossier
   ============================================================ */
.dossier { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.dossier__row {
  background: var(--space); padding: 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .18s ease;
}
.dossier__row:hover { background: rgba(255,255,255,.05); }
.dossier__role {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sand);
}

/* ============================================================
   VENUES — where to buy / bridge
   ============================================================ */
.buy-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 40px; margin-bottom: 8px;
}
.buy-head .ca { flex: 1 1 440px; max-width: 660px; }

.group-label {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sky); opacity: .8;
  margin: 52px 0 18px;
}

/* auto-fill, not auto-fit: a short row keeps card-sized cards
   instead of stretching them across the grid */
.venues {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}

.venue {
  position: relative; aspect-ratio: 5 / 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center;
  border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.venue:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 204, 111, .5);
}
.venue__logo { max-height: 42px; width: auto; }
.venue__mark {
  font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 500; letter-spacing: -.02em; color: var(--white);
}
.venue.has-logo .venue__mark {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.venue__kind {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky); opacity: .7;
}
.venue__ext {
  position: absolute; top: 15px; right: 18px; font-size: .8125rem; opacity: .3;
  transition: opacity .2s ease, transform .2s ease;
}
.venue:hover .venue__ext { opacity: 1; transform: translate(2px, -2px); }

@media (max-width: 520px) {
  .venue { aspect-ratio: 2 / 1; }
}

/* ---------- bridge: venue card + how it works ---------- */
.bridge { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .bridge { grid-template-columns: 1fr; gap: 24px; } }

.bridge__lead { color: var(--white); font-size: 1.0625rem; max-width: 54ch; }

.bridge__steps {
  counter-reset: b; list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.bridge__steps li {
  position: relative; padding-left: 36px;
  color: var(--sky); font-size: .9375rem; line-height: 1.55; max-width: 62ch;
}
.bridge__steps li::before {
  counter-increment: b;
  content: counter(b, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; color: var(--sand);
}
.bridge__steps strong { color: var(--white); font-weight: 500; }

.bridge__note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark);
  font-size: .8125rem; color: var(--sky); opacity: .75; max-width: 62ch;
}

/* ============================================================
   NETWORK
   ============================================================ */
.net { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .net { grid-template-columns: 1fr; gap: 32px; } }

.net__table-wrap { overflow-x: auto; }
.net__table { width: 100%; border-collapse: collapse; }
.net__table tr { border-bottom: 1px solid var(--line-dark); }
.net__table tr:first-child { border-top: 1px solid var(--line-dark); }
.net__table th {
  text-align: left; font-weight: 400; white-space: nowrap;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky); opacity: .75;
  padding: 16px 20px 16px 0; vertical-align: middle;
}
.net__table td { padding: 16px 0; vertical-align: middle; }
.net__v {
  font-family: var(--f-mono); font-size: .875rem; color: var(--white);
  word-break: break-all;
}
.net__v.is-empty { color: var(--sky); opacity: .45; font-style: italic; }
.net__act { width: 1%; padding-left: 16px !important; text-align: right; }
.net__copy {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky);
  border: 1px solid var(--line-dark); border-radius: var(--r);
  padding: 7px 12px; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.net__copy:hover, .net__copy.is-copied {
  background: var(--sand); border-color: var(--sand); color: var(--space);
}

.net__side { display: flex; flex-direction: column; gap: 24px; }
.net__add { align-self: flex-start; }
.net__pending {
  font-size: .875rem; line-height: 1.6; color: var(--sky);
  padding: 16px 18px; border-radius: var(--r-lg);
  border: 1px solid var(--line-dark); border-left: 2px solid var(--sand);
  background: rgba(255, 255, 255, .04);
}
.net__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.net__facts li {
  position: relative; padding-left: 22px;
  color: var(--sky); font-size: .9375rem; line-height: 1.55;
}
.net__facts li::before {
  content: "·"; position: absolute; left: 4px; top: -2px;
  color: var(--sand); font-size: 1.25rem; line-height: 1;
}
.net__facts strong { color: var(--white); font-weight: 500; }
.net__facts a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.net__note {
  font-family: var(--f-mono); font-size: .6875rem; line-height: 1.7;
  color: var(--sky); opacity: .6; word-break: break-all;
}
.net__note:empty { display: none; }

/* ============================================================
   BLOCK-BY-BLOCK TIMELINE
   ============================================================ */
.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.tline__wrap { overflow-x: auto; }
.tline__table { width: 100%; border-collapse: collapse; min-width: 620px; }
.tline__table thead th {
  text-align: left; font-weight: 400;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky); opacity: .7;
  padding: 0 20px 14px 0; border-bottom: 1px solid var(--line-dark);
}
.tline__table td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line-dark); vertical-align: middle; }
.tline__table tr:last-child td { border-bottom: 0; }

.tline__n {
  width: 1%; white-space: nowrap;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; color: var(--sand);
}
.tline__e { color: var(--white); font-size: .9375rem; }
.tline__b, .tline__t {
  font-family: var(--f-mono); font-size: .8125rem; color: var(--sky);
  white-space: nowrap; width: 1%;
}
.tline__b { text-align: right; }

.tline__r--soft .tline__n { color: var(--sky); opacity: .5; }
.tline__r--soft .tline__e { color: var(--sky); }
.tline__r--key .tline__e { color: var(--sand); font-weight: 500; }
.tline__r--key .tline__b, .tline__r--key .tline__t { color: var(--sand); }

.tline__ref {
  margin-top: 28px; padding: 18px 20px;
  border: 1px solid var(--line-dark); border-left: 2px solid var(--sand);
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .04);
  font-size: .875rem; line-height: 1.6; color: var(--sky); max-width: 78ch;
}
.tline__ref strong { color: var(--white); font-weight: 500; font-family: var(--f-mono); font-size: .9em; }
