/* Landing: hero with the exodus sticker, the departures board, the bail scale, how it works, Arrivals (builders band). */
.hero{position:relative;padding:24px 0 0;overflow-x:clip;border-bottom:2px solid var(--line)}
/* The exodus walks out of its column to the left, on the line under the hero (the "ground").
   The copy keeps a tall bottom padding so the walkers pass below the text, never over it. */
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:0 24px}
.hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:26px;padding-bottom:clamp(170px,17vw,250px)}
.hero-copy .eyebrow{margin:0}
.hero-title{font:800 clamp(50px,6.2vw,90px)/.94 var(--display);letter-spacing:-.045em;margin:0}
.hot{color:var(--ember-fill)}
.hero-lead{font-size:20px;line-height:1.5;color:var(--ink-2);max-width:40ch;margin:0}
.hero-search{display:flex;flex-direction:column;gap:12px;max-width:620px}
.hero-search label{font:500 12px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.hero-search-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:8px;
  border-radius:20px;
  background:var(--bg-2);
  border:1px solid var(--line-2);
  box-shadow:0 1px 0 var(--line);
}
.hero-search-row:focus-within{border-color:var(--accent)}
.hero-search input {
  flex:1 1 240px;
  min-height:56px;
  padding:0 16px;
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:19px;
  box-shadow:none;
}
.hero-search input:focus-visible{outline:none}
.hero-search .btn{min-height:56px;padding-inline:28px;font-size:17px}
.hero-hint{font-size:14px;color:var(--ink-3);margin:0}
.hero-hint a{color:var(--link)}
/* Three promises: what a first-time visitor gets, before any scrolling. */
.hero-points{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:17px;color:var(--ink-2)}
.hero-points li{position:relative;padding-left:28px}
.hero-points li::before{content:"";position:absolute;left:2px;top:.42em;width:14px;height:8px;border:solid var(--ember);
  border-width:0 0 3px 3px;transform:rotate(-45deg)}
.hero-points b{color:var(--ink);font-weight:700}
.hero-paths{margin:0;display:flex;flex-wrap:wrap;gap:4px 28px;font-size:15px;font-weight:700}
.hero-paths a{display:inline-flex;align-items:center;gap:6px;min-height:44px;text-decoration:none;color:var(--link)}
.hero-paths a:hover{text-decoration:underline}
.hero-art{position:relative;z-index:1;align-self:end;min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:28px}
/* "Right now": live proof above the fold. Dark like the departures board in both themes. */
.now-card{width:min(100%,500px);padding:22px 24px 18px;border-radius:22px;background:#0b0907;color:#f4efe6;
  border:1px solid #2a251f;box-shadow:0 18px 40px #0005}
.now-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.now-head .num{font-size:12px;color:#a99d88;letter-spacing:.06em;text-transform:uppercase}
.now-title{display:flex;align-items:center;gap:10px;margin:0;font:600 13px var(--mono);letter-spacing:.14em;
  text-transform:uppercase;color:#ffbf47}
.now-dot{width:8px;height:8px;border-radius:50%;background:#ff6a2b;box-shadow:0 0 0 4px #ff6a2b33}
.now-list{list-style:none;margin:0;padding:0}
.now-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid #2a251f;
  text-decoration:none;color:inherit}
.now-row:hover b{color:#ffbf47}
.now-what{display:flex;flex-direction:column;gap:3px;min-width:0}
.now-what b{font-size:18px;font-weight:700;line-height:1.25}
.now-what .num{font-size:13px;color:#a99d88}
.now-word{flex:none;font:800 22px var(--display);letter-spacing:-.01em}
.now-row.tone-bail .now-word{color:#ff6a2b}
.now-row.tone-ready .now-word{color:#f2a33a}
.now-row.tone-stay .now-word{color:#8fa3b0}
.now-all{display:inline-flex;min-height:40px;align-items:flex-end;font-size:14px;font-weight:700;color:#ffbf47;text-decoration:none}
.now-all:hover{text-decoration:underline}
.hero-img{display:block;width:134%;max-width:860px;height:auto;margin:0 0 -3px -34%;flex:none}
/* DEPARTURES: a split-flap board. Dark in both themes, like a real airport board; amber mono caps on single tiles.
   --tw is the tile width; each column is a fixed number of tiles, so rows line up. flap.js only animates. */
.departures{position:relative;z-index:3;padding-top:56px}
.board {
  --bd-bg:#070605;
  --bd-tile:#2a2620;
  --bd-tile-2:#211d18;
  --bd-ink:#ffbf47;
  --bd-dim:#a99d88;
  --tw:clamp(16px,2.2vw,30px);
  --g:3px;
  --cg:clamp(16px,2vw,28px);
  position:relative;
  padding:26px clamp(18px,2.6vw,36px) 14px;
  border-radius:24px;
  background:linear-gradient(#ffffff0a,#0000 120px),var(--bd-bg);
  color:var(--bd-ink);
  border:1px solid #000;
  box-shadow:inset 0 1px 0 #ffffff14,0 0 0 7px #1d1a16,0 0 0 8px #34302a,0 34px 70px -24px #000d;
}
.board-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px;padding-bottom:18px}
.board-title{display:flex;align-items:center;gap:14px;margin:0;font:800 clamp(30px,3.4vw,46px)/1 var(--display);letter-spacing:-.03em;color:#fff4de}
.board-glyph{width:.8em;height:.8em;color:#ff6a2b}
.board-meta{font:500 12px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--bd-dim)}
.board-empty{padding:24px 0;color:var(--bd-dim)}
.bd-row {
  position:relative;
  display:grid;
  grid-template-columns:calc(11*var(--tw) + 10*var(--g)) calc(7*var(--tw) + 6*var(--g)) calc(3*var(--tw) + 2*var(--g)) calc(9*var(--tw) + 8*var(--g));
  grid-template-areas:"tool gate days status" "q q q q";
  justify-content:space-between;
  column-gap:var(--cg);
  row-gap:8px;
  padding:14px 0 12px;
  border-top:1px solid #ffffff12;
}
.bd-tool{grid-area:tool}
.bd-gate{grid-area:gate}
.bd-days{grid-area:days}
.bd-status{grid-area:status}
.bd-q{grid-area:q;display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;min-width:0}
.bd-labels{padding:0 0 10px;border:0;font:500 11px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--bd-dim)}
.bd-link{font:500 15px/1.35 var(--sans);color:#e6dac4;text-decoration:none}
.bd-link::after{content:'';position:absolute;inset:0;border-radius:6px}
.bd-row:hover .bd-link{color:#fff;text-decoration:underline;text-decoration-color:var(--bd-ink)}
.bd-row:hover .flap i{background:linear-gradient(#332e27 50%,#28241e 50%)}
.bd-link:focus-visible{outline:none}
.bd-row:has(.bd-link:focus-visible){outline:3px solid var(--bd-ink);outline-offset:4px;border-radius:6px}
.flap{display:flex;gap:var(--g)}
.flap i {
  position:relative;
  display:grid;
  place-items:center;
  width:var(--tw);
  height:calc(var(--tw)*1.42);
  overflow:hidden;
  border-radius:3px;
  background:linear-gradient(var(--bd-tile) 50%,var(--bd-tile-2) 50%);
  box-shadow:inset 0 1px 0 #ffffff12,0 1px 1px #000;
  font:500 calc(var(--tw)*.88)/1 var(--mono);
  font-style:normal;
  white-space:pre;
}
.flap i::after{content:'';position:absolute;left:0;right:0;top:calc(50% - .5px);height:1px;background:#000c}
/* One flip: the top half falls away and shows the new letter. Two names so each change restarts the animation. */
.flap i::before {
  content:'';
  position:absolute;
  inset:0 0 50%;
  z-index:1;
  background:linear-gradient(#3a342c,var(--bd-tile));
  transform-origin:50% 100%;
  transform:perspective(160px) rotateX(-90deg);
}
.flap i.fa::before{animation:flap-a .085s linear}
.flap i.fb::before{animation:flap-b .085s linear}
@keyframes flap-a{from{transform:perspective(160px) rotateX(0)}to{transform:perspective(160px) rotateX(-90deg)}}
@keyframes flap-b{from{transform:perspective(160px) rotateX(0)}to{transform:perspective(160px) rotateX(-90deg)}}
.bd-status .flap{color:var(--st,var(--bd-ink))}
.bd-row.tone-bail{--st:#ff6b3d}
.bd-row.tone-ready{--st:#ffbf47}
.bd-row.tone-stay{--st:#a8d8ec}
.bd-row.tone-gone{--st:#a39a8c}
.bd-row.tone-gone .flap{color:#a39a8c}
.bd-row.tone-gone .bd-link{color:#b9ae9c}
.is-final .bd-days .flap{color:#ff7a3d}
.bd-final{display:inline-flex;align-items:center;gap:8px;font:500 11px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#ff7a3d}
/* Final call: the dot pulses five times, then stays lit (no endless blinking). */
.bd-dot{width:8px;height:8px;border-radius:50%;background:#ff5a1f;box-shadow:0 0 10px #ff5a1f;animation:bd-blink 1s ease-in-out 5}
@keyframes bd-blink{50%{opacity:.15;box-shadow:none}}
.board-links{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:14px}
/* How sure are we? Three stickers on the page itself, no cards. */
.scale{padding-top:88px}
/* Stack-watch band (L3-02): one compact row after the departures board. */
.stack-band {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 32px;
  margin-top:40px;
  padding:24px 28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--bg-2);
}
.stack-band h2{margin:0 0 6px}
.stack-band p{margin:0;color:var(--ink-2)}
.stack-band .eyebrow{margin-bottom:8px;color:var(--ink-3)}
.stack-band .btn{flex:none}
@media(max-width:700px) {
  .stack-band{flex-direction:column;align-items:flex-start;padding:20px}
}
.scale .lead{margin-bottom:24px}
.scale-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.scale-item{display:flex;flex-direction:column;gap:12px}
.scale-art{width:auto;height:200px;max-width:100%;object-fit:contain;object-position:left bottom;margin-bottom:12px}
.scale-art-bail{height:150px;margin-top:50px}
.scale-word{font:800 40px/1 var(--display);letter-spacing:-.03em;margin:4px 0 0}
.scale-item p{color:var(--ink-2);max-width:30ch}
.scale-note{margin-top:28px;color:var(--ink-3);font-size:15px}
.scale-note b{color:var(--steel)}
/* How a verdict is made: three numbered columns, top rule only. */
.how{padding-top:88px}
.how-list{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.how-list li{border-top:2px solid var(--ink);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.how-n{font-size:14px;color:var(--link)}
.how-list h3{font:600 23px/1.25 var(--sans);letter-spacing:-.01em}
.how-list p{color:var(--ink-3)}
/* Builders band: the illustration breaks out of the band's top edge. */
.builders-wrap{padding-top:96px}
.builders-band {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  align-items:end;
  gap:24px;
  padding:56px;
  border-radius:32px;
  background:var(--band-bg);
  color:var(--band-ink);
  border:1px solid var(--band-line);
}
.builders-copy{display:flex;flex-direction:column;gap:16px}
.builders-copy .eyebrow{color:var(--accent);margin:0}
.builders-title{font:800 clamp(38px,4.4vw,56px)/1 var(--display);letter-spacing:-.04em}
.builders-copy>p:not(.eyebrow){font-size:19px;line-height:1.5;color:var(--band-ink-2);max-width:44ch}
.builders-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:8px}
.builders-band .btn-primary{background:var(--accent);color:#1a1206}
.builders-band .btn-ghost{color:var(--band-ink);border-color:var(--band-line)}
.builders-band .btn-ghost:hover{border-color:var(--band-ink-2)}
.builders-copy .builders-small{font-size:14px;color:var(--band-ink-2)}
.builders-small a{color:var(--accent)}
.builders-art {
  width:118%;
  max-width:none;
  margin:-40px -6% -24px -10%;
  filter:drop-shadow(2.5px 0 0 #f6f1e8) drop-shadow(-2.5px 0 0 #f6f1e8) drop-shadow(0 2.5px 0 #f6f1e8) drop-shadow(0 -2.5px 0 #f6f1e8)
    drop-shadow(1px 1px 0 #f6f1e8) drop-shadow(-1px -1px 0 #f6f1e8) drop-shadow(0 14px 20px #000a);
}
@media(max-width:1100px) {
  .builders-band{padding:44px}
}
@media(max-width:820px) {
  .hero{padding-top:8px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{gap:20px;padding-bottom:28px}
  .hero-art{align-items:center}
  .now-card{width:100%}
  .hero-img{width:100%;max-width:520px;margin:0 auto -3px}
  .scale-list,.how-list{grid-template-columns:1fr;gap:36px}
  .scale-item{display:grid;grid-template-columns:140px 1fr;column-gap:20px;align-items:center}
  .scale-art{grid-row:1/span 3;height:auto;width:140px;margin:0}
  .scale-art-bail{margin:0}
  .scale-word{font-size:34px}
  .scale-item p{grid-column:2}
  .scale,.how{padding-top:64px}
  .builders-wrap{padding-top:120px}
  .builders-band{grid-template-columns:1fr;padding:32px 24px 0}
  .builders-art{order:-1;width:100%;margin:-110px 0 0}
}
@media(max-width:560px) {
  .hero-title{font-size:clamp(46px,13vw,60px)}
  .hero-lead{font-size:18px}
  .hero-search input{font-size:17px;min-height:50px;flex-basis:100%}
  .hero-search .btn{width:100%;min-height:50px}
  .scale-item{grid-template-columns:104px 1fr;column-gap:16px}
  .scale-art{width:104px}
  .scale-word{font-size:28px}
  .builders-band{border-radius:24px}
  .builders-art{margin-top:-80px}
}
/* Board on phones: two lines of tiles per row (tool + days, gate + status), the question between them. No sideways scroll. */
@media(max-width:700px) {
  .departures{padding-top:40px}
  .board{--g:2px;--cg:10px;--tw:clamp(14px,calc((100vw - 2*var(--gut) - 84px)/16),26px);padding:20px 14px 6px;border-radius:18px}
  .board-head{padding-bottom:12px}
  .bd-labels{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .bd-row{display:flex;flex-wrap:wrap;align-items:flex-end;row-gap:10px;padding:14px 0}
  .bd-tool{order:1}
  .bd-days{order:2;margin-left:auto;display:flex;align-items:flex-end;gap:6px}
  .bd-days::after{content:'days' / '';font:500 10px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--bd-dim)}
  .bd-days.is-none::after{content:''}
  .bd-gate{order:3}
  .bd-status{order:4;margin-left:auto}
  .bd-q{order:5;flex:1 0 100%}
  .bd-link{font-size:14px}
}
