/* MECabinCrewJobs — design tokens + components
   Palette: strong red, dusty pink, beige, black.
   Red is the accent, not a slab: it lands on buttons, figures and the mark.
   Type: Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (data) */

:root {
  /* the band behind the header and hero — beige, a shade deeper than the page */
  --head-bg:   #E5D2C9;      /* the sticky bar — sand pulled towards rose */
  --head-line: #D6BFB5;
  --top-bg:    #EBE1D0;
  --top-bg-2:  #DFD2BC;
  --top-fg:    #14100F;
  --top-fg-2:  #4A4039;
  --top-acc:   #C0182B;
  --top-line:  #D8CBB4;

  /* the black band at the foot of the page */
  --deep:      #14100F;
  --deep-2:    #221C1A;
  --deep-fg:   #F4EDE3;
  --deep-fg-2: #B8ABA1;
  --deep-acc:  #E8B4B8;
  --deep-line: rgba(244,237,227,.16);

  /* light palette — complete set defined here */
  --paper:      #F1EADE;
  --surface:    #FBF7EF;
  --surface-2:  #E6DCC9;
  --ink:        #14100F;
  --ink-2:      #3D352C;
  --muted:      #7A6E5F;
  --line:       #DACFBA;
  --line-soft:  #E8E0D1;
  --accent:     #C0182B;
  --accent-ink: #FFFFFF;
  --accent-wash:#FAE3E4;
  --rose:       #E8B4B8;
  --signal:     #9A560D;
  --signal-wash:#F7EAD6;
  --good:       #266543;
  --good-wash:  #E2ECE2;
  --bad:        #A3212A;
  --bad-wash:   #F8E2E2;
  --mark-ink:   var(--accent-ink);
  --rose-wash:  #F8E5E4;
  --rose-faint: #FDF5F3;
  --rose-band:  #F9EAE8;
  --rose-line:  #EFD5D3;
  --art-wall:   #E4D6C2;
  --art-wall-2: #EFE4D4;
  --art-frame:  #F7F0E4;
  --art-hole:   #C9B79E;
  --shadow:     0 1px 2px rgba(20,16,15,.05), 0 8px 24px -14px rgba(20,16,15,.3);
  --shadow-lg:  0 24px 70px -30px rgba(20,16,15,.58);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --head-bg:   #1F1716;
    --head-line: rgba(244,237,227,.14);
    --top-bg:    #1A1513;
    --top-bg-2:  #251E1B;
    --top-fg:    #F4EDE3;
    --top-fg-2:  #B8ABA1;
    --top-acc:   #E8B4B8;
    --top-line:  rgba(244,237,227,.15);

    --paper:      #100D0C;
    --surface:    #191514;
    --surface-2:  #241E1B;
    --ink:        #F4EDE3;
    --ink-2:      #CBBFB4;
    --muted:      #928679;
    --line:       #322A26;
    --line-soft:  #221D1A;
    --accent:     #E8B4B8;
    --accent-ink: #1A0F10;
    --accent-wash:#2E1D1E;
    --rose:       #E8B4B8;
    --signal:     #DFA35C;
    --signal-wash:#2F2210;
    --good:       #63BE8C;
    --good-wash:  #15291E;
    --bad:        #EC8F8F;
    --bad-wash:   #301616;
    --rose-wash:  #2A1B1B;
    --rose-faint: #1D1615;
    --rose-band:  #1F1617;
    --rose-line:  #352626;
    --art-wall:   #241D1A;
    --art-wall-2: #191413;
    --art-frame:  #332A26;
    --art-hole:   #4A3B35;
    --shadow:     0 1px 2px rgba(0,0,0,.5), 0 8px 24px -14px rgba(0,0,0,.8);
    --shadow-lg:  0 24px 70px -30px rgba(0,0,0,.9);
  }
}

:root[data-theme="dark"] {
  --head-bg:   #1F1716;
  --head-line: rgba(244,237,227,.14);
  --top-bg:    #1A1513;
  --top-bg-2:  #251E1B;
  --top-fg:    #F4EDE3;
  --top-fg-2:  #B8ABA1;
  --top-acc:   #E8B4B8;
  --top-line:  rgba(244,237,227,.15);

  --paper:      #100D0C;
  --surface:    #191514;
  --surface-2:  #241E1B;
  --ink:        #F4EDE3;
  --ink-2:      #CBBFB4;
  --muted:      #928679;
  --line:       #322A26;
  --line-soft:  #221D1A;
  --accent:     #E8B4B8;
  --accent-ink: #1A0F10;
  --accent-wash:#2E1D1E;
  --rose:       #E8B4B8;
  --signal:     #DFA35C;
  --signal-wash:#2F2210;
  --good:       #63BE8C;
  --good-wash:  #15291E;
  --bad:        #EC8F8F;
  --bad-wash:   #301616;
  --rose-wash:  #2A1B1B;
  --rose-faint: #1D1615;
  --rose-band:  #1F1617;
  --rose-line:  #352626;
  --art-wall:   #241D1A;
  --art-wall-2: #191413;
  --art-frame:  #332A26;
  --art-hole:   #4A3B35;
  --shadow:     0 1px 2px rgba(0,0,0,.5), 0 8px 24px -14px rgba(0,0,0,.8);
  --shadow-lg:  0 24px 70px -30px rgba(0,0,0,.9);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.topband :focus-visible { outline-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 10px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; }

/* ---------- header + hero ---------- */

.topband { background: var(--top-bg); color: var(--top-fg); }

/* the photograph band — the same picture on every page of the site */
.topband.photo {
  position: relative;
  isolation: isolate;
  background-color: #241511;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: 62% 38%;
  background-repeat: no-repeat;
  /* the hero tokens flip to their on-photograph values */
  --top-fg:   #FCF5EE;
  --top-fg-2: #E6D2C8;
  --top-acc:  #F3BDB5;
  --top-line: rgba(252,245,238,.3);
}
.topband.photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(97deg, rgba(28,14,11,.93) 0%, rgba(28,14,11,.86) 36%, rgba(28,14,11,.52) 58%, rgba(28,14,11,.14) 84%, rgba(28,14,11,0) 100%);
}
.topband.photo .eyebrow { background: rgba(252,245,238,.16); }
.topband.photo .hero { padding-block: 92px 78px; }
.topband.photo .hero.compact { padding-block: 62px 56px; }
.topband.photo .btn.ghost { backdrop-filter: blur(3px); background: rgba(252,245,238,.08); }


@media (max-width: 760px) {
  .topband.photo { background-position: 68% 38%; }
  .topband.photo::before {
    background: linear-gradient(180deg, rgba(30,16,13,.76) 0%, rgba(30,16,13,.86) 55%, rgba(30,16,13,.94) 100%);
  }
  .topband.photo .hero { padding-block: 56px 48px; }
}

.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: color-mix(in srgb, var(--head-bg) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--head-line);
  color: var(--top-fg);
}

.head-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.mark { color: var(--accent); --mark-ink: var(--accent-ink); flex: none; display: block; }

.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--top-fg);
  margin-right: auto;
}
.topband .mark { color: var(--top-acc); --mark-ink: var(--top-bg); }
.wm { display: grid; line-height: 1.05; text-align: center; }
.wm-sm {
  font-family: var(--f-mono); font-weight: 600; font-size: 11.5px;
  letter-spacing: .17em; text-indent: .17em; text-transform: uppercase;
  color: var(--top-fg-2); margin-bottom: 4px;
}
.wm-lg { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.032em; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--top-fg-2); padding: 7px 11px; border-radius: var(--r-sm); }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(192,24,43,.09); color: var(--ink); }

@media (max-width: 760px) {
  .nav a.opt { display: none; }
  .wm-lg { font-size: 17.5px; }
  .wm-sm { font-size: 10px; letter-spacing: .15em; text-indent: .15em; }
  .nav a { padding: 7px 8px; font-size: 13.5px; }
  .head-row { gap: 10px; min-height: 62px; }
}
@media (max-width: 520px) {
  .brand { gap: 8px; }
  .wm-lg { font-size: 15.5px; }
  .wm-sm { font-size: 9px; letter-spacing: .12em; text-indent: .12em; }
  .nav a { padding: 6px 5px; font-size: 12px; white-space: nowrap; }
  .head-row { gap: 6px; min-height: 58px; }
}

/* footer lockup */
.lockup { display: grid; justify-items: center; text-align: center; gap: 8px; width: max-content; text-decoration: none; color: var(--ink); margin-bottom: 14px; }
.lk-sm { font-family: var(--f-mono); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: var(--muted); }
.lk-lg { font-family: var(--f-display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: -.034em; }
.lk3 { display: flex; align-items: center; gap: 9px; font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.lk3 i { width: 22px; height: 1px; background: var(--accent); opacity: .5; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 5px;
  border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--surface-2); filter: none; }
.btn.sm { padding: 8px 15px; font-size: 14px; }

.topband .btn { background: var(--accent); color: var(--accent-ink); }
.topband .btn.ghost { background: transparent; border-color: var(--top-line); color: var(--top-fg); }
.topband .btn.ghost:hover { background: var(--top-bg-2); }
.topband .btn.ghost:hover { background: var(--top-bg-2); filter: none; }

.clr .btn { background: var(--accent); color: var(--accent-ink); }
.clr .btn.ghost { background: transparent; border-color: var(--rose-line); color: var(--ink); }
.clr .btn.ghost:hover { background: var(--rose-wash); }

/* ---------- hero ---------- */

.hero { padding-block: 60px 48px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-grid.solo { grid-template-columns: 1fr; }
.hero-art { justify-self: end; width: 100%; max-width: 330px; }
.hero-art.photo { max-width: 400px; }
.hero-art img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 26px 50px -24px rgba(20,16,15,.45);
}
.art { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(20,16,15,.22)); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { justify-self: start; max-width: 230px; }
}
.hero.compact { padding-block: 44px 36px; }

.eyebrow {
  display: inline-block; background: var(--rose-wash); padding: 5px 11px; border-radius: 4px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--top-acc); margin: 0 0 18px;
}
.eyebrow a { color: inherit; text-decoration: none; opacity: .85; }
.eyebrow a:hover { text-decoration: underline; }

.hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 15ch; color: var(--top-fg); letter-spacing: -.03em; }
.hero.compact h1 { font-size: clamp(28px, 4.6vw, 42px); max-width: 24ch; }
.hero p.lede { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 21.5px); color: var(--top-fg-2); max-width: 46ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.statband { background: var(--paper); border-bottom: 1px solid var(--line); }
.statline { display: flex; flex-wrap: wrap; }
.statband .statline { padding-block: 4px 18px; }
.stat { flex: 1 1 160px; padding: 18px 20px 4px 0; }
.stat b {
  display: block; font-family: var(--f-mono); font-size: 32px; font-weight: 600;
  letter-spacing: -0.03em; color: var(--top-acc); font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13.5px; color: var(--top-fg-2); }

/* ---------- sections ---------- */

section { scroll-margin-top: 84px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(27px, 3.8vw, 38px); letter-spacing: -.028em; }
.sec-head { position: relative; }
.sec-head p { margin: 11px 0 0; color: var(--ink-2); font-size: 17.5px; max-width: 56ch; }

.band { padding-block: 56px; }
.band.alt   { background: var(--surface-2); border-block: 1px solid var(--line); }
.band.white { background: var(--surface);   border-block: 1px solid var(--line-soft); }
/* no pure white is used anywhere on the site: --surface is a lighter beige */
.band.white .card, .band.white .quiz, .band.white .verdict, .band.white .alertbox { background: var(--paper); }


/* ---------- filters ---------- */

.filters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 18px;
  padding: 0 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .qlabel {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .qfield input, .qfield select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: #FFFFFF; font-size: 16px;
}
/* dark mode gets the dark surface back */
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select,
:root[data-theme="dark"] .qfield input, :root[data-theme="dark"] .qfield select { background: var(--paper); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field input, :root:not([data-theme="light"]) .field select,
  :root:not([data-theme="light"]) .qfield input, :root:not([data-theme="light"]) .qfield select { background: var(--paper); }
}
.quiz .qfield input:focus, .quiz .qfield select:focus { background: var(--surface); }

.check { display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--ink-2); align-self: end; padding-bottom: 9px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }

.result-count { font-family: var(--f-mono); font-size: 12.5px; color: var(--accent); margin: 0 0 16px; }

/* ---------- airline cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 14px; }

.card {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  text-align: left; cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.band.alt .card { background: var(--surface); }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }

.card.feature { border-color: var(--accent); background: var(--accent-wash); position: relative; }
.card.feature .specs { border-top-color: var(--accent-wash); }
.band.alt .card.feature { background: var(--accent-wash); }
.card.feature { box-shadow: inset 0 0 0 1px var(--accent); }
.feat {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); align-self: flex-start;
}
@media (min-width: 920px) { .card.feature { grid-column: span 2; } }

.card-top { display: flex; align-items: flex-start; gap: 12px; }

.iata {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-sm); font-family: var(--f-mono); font-weight: 600;
  font-size: 15px; letter-spacing: .02em; color: #fff;
}

.card h3 { font-size: 21px; letter-spacing: -0.028em; }
.card .base { font-size: 14.5px; color: var(--muted); margin-top: 3px; }

.pill {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px;
  flex: 0 0 auto; align-self: flex-start; width: max-content; max-width: 100%;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .07em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.pill.live  { background: var(--good-wash);   color: var(--good); }
.pill.evt   { background: var(--signal-wash); color: var(--signal); }
.pill.shut  { background: var(--surface-2);   color: var(--muted); }
.pill.limit { background: var(--surface-2);   color: var(--ink-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.spec span { display: block; font-size: 10.5px; font-family: var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.spec b { font-family: var(--f-mono); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; padding: 4px 9px; border-radius: 4px; background: rgba(192,24,43,.08); color: var(--ink-2); }

/* ---------- drawer ---------- */

.scrim { position: fixed; inset: 0; background: rgba(12,11,10,.62); backdrop-filter: blur(3px); z-index: 60; display: flex; justify-content: flex-end; }
.drawer { width: min(620px, 100%); height: 100%; overflow-y: auto; background: var(--paper); box-shadow: var(--shadow-lg); padding: 0 0 48px; animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(28px); opacity: 0; } }

.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 23px; }
.xbtn { flex: none; margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 17px; line-height: 1; }
.drawer-body { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 26px; }

.blocktitle { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

.reqs { display: flex; flex-direction: column; }
.req { display: grid; grid-template-columns: 148px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 16.5px; }
.req > div:first-child, .req > dt { color: var(--muted); font-size: 15.5px; }
.req .val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.req .val strong { font-weight: 600; }
.req .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.req dd { margin: 0; }
@media (max-width: 520px) { .req { grid-template-columns: 1fr; gap: 2px; } }

.src { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.src.official { background: var(--accent-wash); color: var(--accent); }
.pill.live .dot, .feat { letter-spacing: .12em; }
.src.reported { background: var(--surface-2);   color: var(--muted); }

.steps { counter-reset: s; display: flex; flex-direction: column; }
.step { counter-increment: s; position: relative; padding: 0 0 22px 40px; font-size: 16.5px; }
.step:before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent);
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
}
.step:after { content: ""; position: absolute; left: 11.5px; top: 28px; bottom: 4px; width: 1px; background: var(--line); }
.step:last-child { padding-bottom: 0; }
.step:last-child:after { display: none; }
.step b { display: block; font-weight: 600; }
.step span { color: var(--muted); font-size: 15.5px; }

.callout { padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-wash); border-left: 3px solid var(--accent); font-size: 16.5px; }
.callout.plain { background: var(--surface-2); border-left-color: var(--muted); }
.callout h4 { font-size: 17px; margin-bottom: 5px; font-family: var(--f-body); letter-spacing: 0; }
.callout p { margin: 0 0 12px; color: var(--ink-2); }

.warnbox { padding: 15px 17px; border-radius: var(--r-md); background: var(--signal-wash); color: var(--signal); font-size: 15.5px; border-left: 3px solid var(--signal); }

/* ---------- events ---------- */

.events { display: flex; flex-direction: column; gap: 10px; }
.events { gap: 0; }
.event { display: grid; grid-template-columns: 82px 1fr auto; gap: 18px; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.event:first-child { border-top: 1px solid var(--line); }
.when { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.3; color: var(--ink-2); text-align: center; padding: 7px 4px; border-radius: var(--r-sm); background: var(--surface-2); }
.when.k-open { background: var(--accent-wash); color: var(--accent); }
.when.k-campaign { background: var(--signal-wash); color: var(--signal); }
.when .by { display: block; font-size: 8.5px; letter-spacing: .08em; opacity: .8; margin-top: 2px; }
.when b { display: block; font-size: 15px; letter-spacing: -.02em; }
.event h4 { font-family: var(--f-body); font-size: 17.5px; font-weight: 600; letter-spacing: 0; }
.event .meta { font-size: 14px; color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: baseline; }
.event .meta .kind { color: var(--accent); font-weight: 500; }
.event .venue { margin: 7px 0 0; font-size: 14.5px; color: var(--ink-2); }
.event .edetail { margin: 5px 0 0; font-size: 14px; color: var(--muted); }
.event[hidden] { display: none !important; }
.morewrap { display: flex; justify-content: center; margin-top: 22px; }
.morewrap[hidden] { display: none; }
@media (max-width: 620px) {
  .event { grid-template-columns: 62px 1fr; }
  .event > a.btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- quiz ---------- */

.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.band.alt .quiz { background: var(--surface); }
.qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.qfield { display: flex; flex-direction: column; gap: 6px; }
.hint { font-size: 13.5px; color: var(--muted); }
.hint b { font-family: var(--f-mono); font-weight: 600; color: var(--ink-2); }
.qfoot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

.verdicts { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.verdict { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 16px 18px; }
.band.alt .verdict { background: var(--surface); }
.verdict.yes   { border-left-color: var(--good); }
.verdict.maybe { border-left-color: var(--signal); }
.verdict.no    { border-left-color: var(--bad); }
.vhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vhead h4 { font-family: var(--f-display); font-size: 17px; }

.checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; }
.checks li { display: flex; gap: 10px; font-size: 16px; align-items: flex-start; }
.checks .mark { font-family: var(--f-mono); font-weight: 600; flex: none; width: 15px; }
.checks .ok   .mark { color: var(--good); }
.checks .warn .mark { color: var(--signal); }
.checks .fail .mark { color: var(--bad); }
.checks .fail, .checks .warn { color: var(--ink); }
.checks .ok { color: var(--muted); }

/* ---------- alerts ---------- */

.alertbox { display: grid; grid-template-columns: auto 1.1fr 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.alert-shot { width: 172px; flex: none; align-self: center; }
.alert-shot img { display: block; width: 172px; height: 228px; object-fit: cover; object-position: 40% 35%; border-radius: 12px; }
@media (max-width: 980px) { .alertbox { grid-template-columns: 1fr 1fr; } .alert-shot { display: none; } }
.band.alt .alertbox { background: var(--surface); }
@media (max-width: 760px) { .alertbox { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }

.pillrow { display: flex; flex-wrap: wrap; gap: 7px; }
.toggle { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.toggle[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.notice { margin-top: 14px; padding: 11px 14px; border-radius: var(--r-sm); background: var(--good-wash); color: var(--good); font-size: 13.5px; }

/* ---------- clr band ---------- */

.clr .mark { color: var(--accent); --mark-ink: var(--accent-ink); }
.clr { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px 34px; border-radius: 14px; background: var(--rose-faint); color: var(--ink); border: 1px solid var(--rose-line); border-left: 4px solid var(--accent); }
.clr h3 { font-size: 24px; color: var(--ink); }
.clr p { margin: 9px 0 0; font-size: 16.5px; color: var(--ink-2); max-width: 52ch; }
.clr .kicker { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.clr-logo { width: 116px; flex: none; }
.clr-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 800px) { .clr-logo { width: 96px; } }
@media (max-width: 800px) { .clr { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- article pages ---------- */

.article { max-width: 720px; }
.article h2 { font-size: clamp(21px, 3vw, 27px); margin-top: 44px; }
.article h3 { font-size: 18px; margin-top: 28px; }
.article p { font-size: 18.5px; color: var(--ink-2); margin: 14px 0 0; }
.article ul { font-size: 18px; color: var(--ink-2); padding-left: 20px; display: grid; gap: 6px; margin: 14px 0 0; }
.article a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.article a.btn { color: var(--accent-ink); text-decoration: none; }
.article a.btn.ghost { color: var(--ink); }
.article .crosslinks a { color: var(--ink); }
.article .reqs, .article .steps, .article .callout, .article .warnbox { margin-top: 18px; }

.faq { margin-top: 18px; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-family: var(--f-mono); color: var(--accent); flex: none; }
.faq details[open] summary:after { content: "\2212"; }
.faq p { margin: 10px 0 0; font-size: 17px; }

.crosslinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.crosslinks a { text-decoration: none; font-size: 13.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.crosslinks a:hover { border-color: var(--accent); }

/* ---------- footer ---------- */

.site-foot { padding-block: 44px 60px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot-brand { display: flex; justify-content: center; padding-bottom: 32px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 30px 40px; justify-content: space-between; }
.foot-row > div { flex: 1 1 320px; }
.site-foot p { margin: 0 0 8px; max-width: 62ch; }
.site-foot a { color: var(--ink-2); }

.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); background: var(--signal-wash); color: var(--signal); font-size: 13.5px; margin-bottom: 18px; }
.banner b { font-weight: 600; }
