/* cs2skinroulette.com — "CS2 UI on a bright Dust 2". Light theme only. */
:root {
  color-scheme: light;
  --sand-50: #FBF5E6;
  --sand-100: #F4E8C9;
  --sand-200: #EAD7A8;
  --sand-300: #DCC38A;
  --sandstone: #C9A96A;
  --clay: #B8734A;
  --door-blue: #2F6F9F;
  --door-blue-dark: #1F4E73;
  --ct-blue: #3E73A8;
  --sky: #A9CFE8;
  --sky-soft: #DCEBF5;
  --t-gold: #D99A2B;
  --ink: #2A2216;
  --ink-soft: #5B4F3A;
  --ok: #4C8A4A;
  --ok-ink: #2F6B2D;
  --bad: #B5472B;
  --card: #FFFDF6;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-stencil: "Stardos Stencil", Impact, "Arial Black", sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px;
  --w: 1160px;
  --stucco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--sand-50); overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--door-blue); text-underline-offset: 3px; }
a:hover { color: var(--door-blue-dark); }
:focus-visible { outline: 3px solid var(--ct-blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin: 0 0 var(--s2); color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0 0 var(--s2); padding-left: 1.3em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--s2); }
.skip { position: absolute; left: var(--s2); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: var(--s1); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stencil { font-family: var(--font-stencil); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.nv { color: var(--ink-soft); font-style: italic; }

/* texture */
.stucco { position: relative; isolation: isolate; }
.stucco::before { content: ""; position: absolute; inset: 0; background-image: var(--stucco); opacity: .05; pointer-events: none; z-index: -1; }

/* buttons */
.btn {
  --chamfer: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--door-blue); border: 0; border-bottom: 2px solid var(--door-blue-dark); cursor: pointer;
  clip-path: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer));
}
.btn:hover { background: var(--door-blue-dark); color: #fff; }
.btn:focus-visible { outline-offset: -5px; outline-color: var(--sand-50); box-shadow: inset 0 0 0 3px var(--ct-blue); }
.btn--ghost { background: transparent; color: var(--door-blue-dark); border: 2px solid var(--door-blue); clip-path: none; border-radius: 4px; }
.btn--ghost:hover { background: var(--sky-soft); color: var(--door-blue-dark); }
.btn--ghost:focus-visible { box-shadow: none; outline-offset: 2px; outline-color: var(--ct-blue); }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: .98rem; }
.ext::after { content: " ↗"; font-weight: 400; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sand-50); border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand small { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .18em; color: var(--ink-soft); margin-top: 3px; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 6px 12px; background: var(--card); border: 2px solid var(--ink); border-radius: 4px; font: 700 .95rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.nav-toggle__bars { width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 7px, transparent 7px 10px, var(--ink) 10px 12px); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sand-100); border-bottom: 2px solid var(--ink); padding: var(--s1) var(--s2) var(--s2); max-height: calc(100vh - 66px); overflow-y: auto; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--sand-300); }
.site-nav a:hover { color: var(--door-blue-dark); }
.site-nav a[aria-current="page"] { color: var(--door-blue-dark); box-shadow: inset 4px 0 0 var(--t-gold); padding-left: 12px; }
.nav-group-label { display: block; margin-top: var(--s2); }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; padding: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: 1.02rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--t-gold); padding-left: 10px; }
  .nav-sep { width: 2px; height: 22px; background: var(--sand-300); margin: 0 6px; }
  .nav-group-label { display: none; }
}
@media (max-width: 1099px) { .nav-sep { display: none; } }

/* hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 38%, var(--sand-100) 100%); border-bottom: 2px solid var(--ink); overflow: hidden; position: relative; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: var(--s4); padding-top: var(--s4); padding-bottom: calc(clamp(96px, 15vw, 180px) - 12px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); padding-top: var(--s5); } }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--card); border: 2px solid var(--ink); border-radius: 4px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
a.chip:hover { background: var(--sand-100); color: var(--ink); }
.chip--age { background: var(--bad); color: #fff; border-color: var(--bad); }
.hero h1 { max-width: 20ch; }
.hero__answer { font-size: 1.1rem; max-width: 62ch; }
.hero__answer strong { background: linear-gradient(transparent 60%, rgba(217, 154, 43, .45) 60%); }
.hero .plaque--compact { margin-top: var(--s2); }

/* round strip */
.round-strip { background: var(--ink); color: var(--sand-50); border-bottom: 3px solid var(--t-gold); }
.round-strip ul { list-style: none; margin: 0 auto; padding: 0 var(--s2); max-width: var(--w); display: grid; grid-template-columns: 1fr; }
.round-strip li { padding: 8px 0; border-bottom: 1px solid rgba(251, 245, 230, .2); font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; }
.round-strip li:last-child { border-bottom: 0; }
.round-strip li span { color: var(--sandstone); margin-right: 8px; }
.round-strip a { color: var(--sand-50); text-decoration-color: var(--t-gold); }
.round-strip a:hover { color: #fff; }
@media (min-width: 640px) { .round-strip ul { grid-template-columns: repeat(3, 1fr); } .round-strip li { border: 0; border-left: 1px solid rgba(251, 245, 230, .25); padding: 10px var(--s2); } .round-strip li:first-child { border-left: 0; padding-left: 0; } }

/* sections */
.section { padding: var(--s6) 0; }
.section--alt { background: var(--sand-100); border-top: 2px solid var(--sand-300); border-bottom: 2px solid var(--sand-300); }
@media (min-width: 960px) { .section { padding: var(--s8) 0; } }
.section__head { max-width: 760px; margin-bottom: var(--s4); }
.section__head .stencil { display: block; margin-bottom: 6px; }
.lead { font-size: 1.12rem; }
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s3); }
.disclosure { max-width: 860px; padding: 12px 16px; background: var(--sky-soft); border-left: 6px solid var(--door-blue); margin: 0 0 var(--s3); font-size: .98rem; }
.how-score { margin: var(--s2) 0 0; font-size: .98rem; }

/* corner brackets container */
.bracket { position: relative; padding: var(--s1); }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--ink); pointer-events: none; }
.bracket::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.bracket::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.bracket > .bracket__tr, .bracket > .bracket__bl { position: absolute; width: 22px; height: 22px; border: 3px solid var(--ink); pointer-events: none; }
.bracket > .bracket__tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.bracket > .bracket__bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }

/* tables */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; }
.scoreboard { background: var(--card); border: 1px solid var(--sand-300); }
.scoreboard th { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: #fff; background: var(--ink); padding: 10px 12px; }
.scoreboard td { padding: 12px; border-bottom: 1px solid var(--sand-300); vertical-align: middle; }
.scoreboard tbody tr:nth-child(even) { background: var(--sand-200); }
.scoreboard tbody tr:nth-child(odd) { background: var(--card); }
.rank { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; width: 3.2ch; }
.rank span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border: 2px solid var(--ink); background: var(--t-gold); border-radius: 4px; color: var(--ink); }
.op-logo { display: block; width: 48px; height: 48px; }
.op-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.tag { display: inline-block; margin-top: 4px; padding: 2px 10px; background: var(--sky-soft); border: 1px solid var(--door-blue); border-radius: 3px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.score { font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.score small { font-size: .95rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .06em; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { font-size: .96rem; max-width: 34ch; }
.asof { font-size: .86rem; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 859px) {
  .scoreboard thead, .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .scoreboard, .scoreboard tbody, .scoreboard tr, .scoreboard td, .cmp, .cmp tbody, .cmp tr, .cmp td, .cmp th[scope="row"] { display: block; width: 100%; }
  .scoreboard tr { padding: 12px; border-bottom: 3px solid var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
  .scoreboard td { border: 0; padding: 0; }
  .scoreboard td.c-rank { display: none; }
  .scoreboard td.c-name { grid-column: 1; grid-row: 1; }
  .scoreboard td.c-score { grid-column: 2; grid-row: 1; text-align: right; }
  .scoreboard td.c-fact, .scoreboard td.c-acts { grid-column: 1 / -1; }
  .scoreboard td.c-fact { margin-top: 8px; }
  .scoreboard td.c-acts { margin-top: 8px; }
  .scoreboard .rank-inline { display: inline-block; }
}
@media (min-width: 860px) { .scoreboard .rank-inline { display: none; } }
.rank-inline { font-family: var(--font-head); font-weight: 700; color: var(--ink); background: var(--t-gold); border: 2px solid var(--ink); border-radius: 4px; padding: 0 8px; margin-right: 8px; font-size: 1.05rem; vertical-align: middle; }

.cmp-wrap { margin-top: var(--s5); }
.cmp { background: var(--card); border: 1px solid var(--sand-300); font-size: .94rem; }
.cmp caption { text-align: left; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.4rem; padding-bottom: var(--s1); }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--sand-300); }
.cmp thead th { background: var(--ink); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; }
.cmp tbody th { font-family: var(--font-head); font-size: 1.1rem; text-transform: uppercase; background: var(--sand-100); }
.cmp tbody tr:nth-child(even) td { background: #FAF1D8; }
@media (min-width: 860px) { .cmp td, .cmp th { min-width: 108px; } .cmp-scroll { overflow-x: auto; } }
@media (max-width: 859px) {
  .cmp tr { border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
  .cmp tbody th { padding: 10px 12px; }
  .cmp td { display: grid; grid-template-columns: 9.5em 1fr; gap: 8px; padding: 6px 12px; border: 0; }
  .cmp td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
  .cmp tbody tr:nth-child(even) td { background: none; }
}

/* loadout cards */
.cards { display: grid; gap: var(--s3); margin-top: var(--s4); }
@media (min-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 4px; display: flex; flex-direction: column; box-shadow: 0 4px 0 var(--sand-300); }
.card__head { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 2px solid var(--ink); background: var(--sand-200); }
.card__head .op-logo { width: 64px; height: 64px; padding: 5px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; object-fit: contain; }
.card__head h3 { margin: 0; font-size: 1.5rem; }
.card__rank { font-family: var(--font-stencil); font-size: .74rem; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.card__body { padding: 16px; display: grid; gap: var(--s2); flex: 1; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bars li { display: grid; grid-template-columns: 9.6em 1fr 2.6em; gap: 8px; align-items: center; font-size: .92rem; }
.bars .bar { height: 12px; background: var(--sand-100); border: 1px solid var(--ink); position: relative; border-radius: 2px; overflow: hidden; }
.bars .bar > i { position: absolute; inset: 0 auto 0 0; background: var(--door-blue); }
.bars b { font-family: var(--font-head); font-size: 1.1rem; text-align: right; }
.bars .nvmark { font-size: .72rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }
.proscons { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons h4 { margin-bottom: 6px; }
.proscons ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.proscons li { padding-left: 1.7em; position: relative; margin-bottom: 4px; }
.pros h4 { color: var(--ok-ink); }
.cons h4 { color: var(--bad); }
.pros li::before { content: "+"; position: absolute; left: 0; top: 0; width: 1.3em; text-align: center; font-weight: 700; color: #fff; background: var(--ok-ink); border-radius: 3px; line-height: 1.35; }
.cons li::before { content: "–"; position: absolute; left: 0; top: 0; width: 1.3em; text-align: center; font-weight: 700; color: #fff; background: var(--bad); border-radius: 3px; line-height: 1.35; }
.facts { margin: 0; display: grid; gap: 4px; font-size: .92rem; }
.facts div { display: grid; grid-template-columns: 8.6em 1fr; gap: 8px; padding: 4px 0; border-top: 1px dashed var(--sand-300); }
.facts dt { font-weight: 700; color: var(--ink-soft); }
.facts dd { margin: 0; }
.card__foot { padding: 12px 16px 16px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; background: var(--sand-100); }
.card__foot .src { font-size: .82rem; color: var(--ink-soft); flex: 1 1 100%; margin: 0; }
.backlink { font-size: .95rem; }

/* two-column layout (odds) */
.split { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 340px 1fr; } }
.wheel { display: block; width: 100%; max-width: 320px; margin-inline: auto; }
.odds { background: var(--card); border: 1px solid var(--sand-300); }
.odds caption { text-align: left; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; padding-bottom: 6px; }
.odds th, .odds td { padding: 10px 12px; border-bottom: 1px solid var(--sand-300); }
.odds thead th { background: var(--ink); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }
.odds tbody th { font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; }
.swatch { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink); margin-right: 8px; vertical-align: -1px; border-radius: 2px; }
.swatch--red { background: var(--bad); } .swatch--black { background: var(--ink); } .swatch--green { background: var(--ok); }
.odds tfoot td, .odds tfoot th { background: var(--sand-100); font-weight: 700; }

/* calculator */
.calc { margin-top: var(--s4); background: var(--sky-soft); border: 2px solid var(--door-blue); padding: var(--s3); border-radius: 4px; }
.calc h3 { margin-bottom: 4px; }
.calc__grid { display: grid; gap: var(--s2); margin: var(--s2) 0; }
@media (min-width: 640px) { .calc__grid { grid-template-columns: repeat(3, 1fr); } }
.calc label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.calc input { width: 100%; min-height: 44px; padding: 8px 12px; font: 500 1.1rem var(--font-body); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 4px; }
.calc output { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1.1; color: var(--bad); }
.calc__out { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .calc__out { grid-template-columns: 1fr 1fr; } }
.calc__out > div { background: var(--card); border: 1px solid var(--door-blue); padding: 12px 16px; border-radius: 4px; }
.calc__out .lbl { font-size: .86rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.calc__note { font-size: .9rem; margin: var(--s2) 0 0; color: var(--ink-soft); }
.no-js-note { font-size: .92rem; }
.js .no-js-note { display: none; }
.exp-table { margin-top: var(--s3); background: var(--card); border: 1px solid var(--sand-300); }
.exp-table caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.exp-table th, .exp-table td { padding: 8px 12px; border-bottom: 1px solid var(--sand-300); }
.exp-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; }

/* callouts */
.callout { border: 2px solid var(--ink); background: var(--card); padding: var(--s2) var(--s3); margin: var(--s3) 0; border-left-width: 8px; border-radius: 4px; }
.callout h3, .callout h4 { margin-bottom: 8px; }
.callout--info { border-left-color: var(--door-blue); background: var(--sky-soft); }
.callout--warn { border-left-color: var(--clay); background: #FBEBDD; }
.callout--note { border-left-color: var(--t-gold); }
.callout > :last-child { margin-bottom: 0; }

/* route */
.route { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: var(--s3); counter-reset: step; position: relative; }
.route::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 4px; background: repeating-linear-gradient(var(--sandstone) 0 8px, transparent 8px 14px); }
.route li { position: relative; padding-left: 64px; counter-increment: step; }
.route li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center; background: var(--t-gold); border: 3px solid var(--ink); border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.route li > * { position: relative; }
.route h3 { font-size: 1.25rem; margin-bottom: 4px; }
.route p { font-size: .96rem; margin: 0; }
.route-ends { display: flex; justify-content: space-between; margin-top: var(--s3); }
@media (min-width: 960px) {
  .route { grid-template-columns: repeat(6, 1fr); gap: var(--s2); }
  .route::before { left: 24px; right: 24px; top: 21px; bottom: auto; width: auto; height: 4px; background: repeating-linear-gradient(90deg, var(--sandstone) 0 8px, transparent 8px 14px); }
  .route li { padding: 60px 0 0; }
  .route li::before { left: 0; }
}
.route-wrap .route-ends { margin-bottom: 0; }
.mini { font-size: .94rem; }

/* checklist */
.checks { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: var(--s2); counter-reset: chk; }
@media (min-width: 860px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { counter-increment: chk; background: var(--card); border: 2px solid var(--ink); border-radius: 4px; padding: var(--s2) var(--s2) var(--s2) 64px; position: relative; box-shadow: 0 3px 0 var(--sand-300); }
.checks li::before { content: counter(chk); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--door-blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; border-radius: 4px; }
.checks h3 { font-size: 1.2rem; margin-bottom: 4px; }
.checks p { margin: 0; font-size: .96rem; }

/* generic tables in content */
.data-table { background: var(--card); border: 1px solid var(--sand-300); font-size: .95rem; margin: var(--s3) 0; }
.data-table caption { text-align: left; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; padding-bottom: 6px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--sand-300); }
.data-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }
.data-table tbody th { font-family: var(--font-head); text-transform: uppercase; font-size: 1.05rem; background: var(--sand-100); }
.table-scroll { overflow-x: auto; }
@media (max-width: 859px) {
  .data-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table.stack, .data-table.stack tbody, .data-table.stack tr, .data-table.stack td, .data-table.stack th { display: block; width: 100%; }
  .data-table.stack tr { border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
  .data-table.stack td { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px; border: 0; padding: 6px 12px; }
  .data-table.stack td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
}

/* FAQ */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 2px solid var(--ink); border-radius: 4px; }
.faq summary { cursor: pointer; padding: 14px 52px 14px 16px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; line-height: 1.2; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--door-blue); color: #fff; font-size: 1.3rem; border-radius: 4px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 16px 16px; }
.faq .ans > :last-child { margin-bottom: 0; }

/* plaque */
.plaque { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s3); align-items: start; background: var(--card); border: 3px solid var(--bad); border-radius: 6px; padding: var(--s3); }
.plaque__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--bad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--card); }
.plaque p { margin: 0; font-size: .98rem; }
.plaque ul { margin: var(--s2) 0 0; font-size: .96rem; }
.plaque--compact { padding: 10px 14px; gap: 12px; border-width: 2px; }
.plaque--compact .plaque__badge { width: 44px; height: 44px; font-size: 1.15rem; border-width: 2px; box-shadow: none; }
.plaque--compact p { font-size: .88rem; line-height: 1.4; }
.plaque__full { grid-column: 1 / -1; }
.helplines { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .helplines { grid-template-columns: 1fr 1fr; } }
.helplines li { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: 4px; padding: 8px 12px; }

/* footer */
.site-footer { background: var(--sand-200); border-top: 3px solid var(--ink); padding: var(--s6) 0 var(--s4); font-size: .96rem; }
.footer-cols { display: grid; gap: var(--s4); margin-bottom: var(--s4); }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.footer-line { margin-top: var(--s2); }
.copyright { margin: var(--s2) 0 0; font-size: .86rem; color: var(--ink-soft); }

/* subpages */
.page-hero { background: linear-gradient(180deg, var(--sky-soft), var(--sand-100)); border-bottom: 2px solid var(--ink); padding: var(--s5) 0 var(--s4); }
.crumbs { font-size: .9rem; margin-bottom: var(--s2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.page-body { padding: var(--s5) 0 var(--s6); }
.closing { margin-top: var(--s5); padding: var(--s3); background: var(--sky-soft); border: 2px solid var(--door-blue); border-radius: 4px; max-width: 760px; }
.closing p { margin: 0 0 10px; }
.closing p:last-child { margin: 0; }
.placeholder { display: inline-block; background: #FBEBDD; border: 1px dashed var(--clay); padding: 2px 8px; border-radius: 3px; font-size: .92rem; }
.toc { background: var(--card); border: 2px solid var(--ink); border-radius: 4px; padding: var(--s2) var(--s3); margin-bottom: var(--s4); max-width: 760px; }
.toc h2 { font-size: 1.2rem; margin-bottom: 8px; }
.toc ul { margin: 0; columns: 2; column-gap: var(--s4); list-style: none; padding: 0; }
.toc a[aria-current="true"] { font-weight: 700; color: var(--ink); }
@media (max-width: 559px) { .toc ul { columns: 1; } }
.err404 { text-align: center; padding: var(--s8) 0; }
.err404 .code { font-family: var(--font-stencil); font-size: clamp(4rem, 18vw, 9rem); line-height: 1; color: var(--clay); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .nav-toggle { display: none; } }
.nw { white-space: nowrap; }

/* ===== Dust 2 scenes: transparent skylines that grow out of the page ===== */
:root { --scene-h: clamp(92px, 11vw, 150px); --scene-fade: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%); }
.hero__scene, .loc__img { pointer-events: none; opacity: .85; }
.loc__img { display: block; width: 100%; height: var(--scene-h); object-fit: cover; object-position: center bottom; margin-bottom: var(--s2); -webkit-mask-image: var(--scene-fade); mask-image: var(--scene-fade); }
.loc { padding-top: 0; }
.loc.section--alt { border-top: 0; }
.tex-wood { background-image: repeating-linear-gradient(90deg, rgba(143, 85, 50, .035) 0 2px, transparent 2px 64px); }
.tex-brick { background-image: linear-gradient(rgba(91, 79, 58, .05) 2px, transparent 2px), repeating-linear-gradient(90deg, rgba(91, 79, 58, .05) 0 2px, transparent 2px 96px); background-size: 100% 44px, auto; }

/* hero: everything fits the first screen; text is wide */
.hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: var(--s3); padding-bottom: calc(var(--scene-h) + 8px); }
.hero .wrap > div { max-width: none; }
.hero__chips { margin-bottom: 12px; }
.hero h1 { max-width: none; font-size: clamp(2rem, 3.9vw, 3.3rem); margin-bottom: 14px; }
.hero__answer { max-width: 1080px; font-size: 1.08rem; line-height: 1.55; margin-bottom: var(--s2); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.hero__row .btn { flex: none; }
.hero .plaque--compact { margin: 0; max-width: 560px; }
.hero__scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--scene-h); object-fit: cover; object-position: center bottom; z-index: 0; }
@media (min-width: 960px) {
  .hero .wrap { padding-bottom: var(--s4); }
  .hero__scene { left: auto; width: 44%; height: 138px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
}
.page-hero { position: relative; overflow: hidden; padding-bottom: calc(var(--scene-h) + 8px); }
.page-hero .wrap { position: relative; z-index: 1; }
@media (min-width: 960px) { .page-hero { padding-bottom: var(--s4); } }
@media (max-width: 559px) { :root { --scene-h: 84px; } }

/* keep prose columns left-aligned */
.wrap.prose { max-width: var(--w); }
.wrap.prose > * { max-width: 760px; }
.wrap.prose > .table-scroll, .wrap.prose > .data-table { max-width: 860px; }

/* ===== Mobile fixes ===== */
.cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card, .card__body, .card__head > div { min-width: 0; }
.data-table th, .data-table td, .cmp th, .cmp td, .facts dd { overflow-wrap: break-word; }
.data-table tbody th, .cmp tbody th { word-break: keep-all; hyphens: none; }
@media (max-width: 859px) { .cmp caption, .data-table.stack caption { display: block; width: 100%; } }
@media (max-width: 959px) { .route-ends { display: none; } }
@media (max-width: 559px) {
  .brand { font-size: 1.3rem; white-space: nowrap; }
  .brand small { font-size: .7rem; letter-spacing: .14em; }
  .plaque:not(.plaque--compact) { grid-template-columns: 1fr; padding: var(--s2); }
  .bars li { grid-template-columns: 7.4em 1fr 2.2em; }
  .facts div { grid-template-columns: 7.4em 1fr; }
  .cmp td, .data-table.stack td { grid-template-columns: 7.6em 1fr; }
  .crumbs a, .backlink, .toc a { display: inline-flex; align-items: center; min-height: 36px; }
  .round-strip a { display: inline-block; padding: 8px 0; }
}
@media (max-width: 359px) {
  .brand { font-size: 1.12rem; gap: 8px; }
  .brand__mark { width: 32px; height: 32px; }
  .nav-toggle { padding: 6px 10px; }
  .nav-toggle span:last-child { display: none; }
}

/* Mobile tables: heading above, one card per row (no boxed caption) */
@media (max-width: 859px) {
  .cmp, .data-table.stack { background: transparent; border: 0; }
  .cmp caption, .data-table.stack caption { padding: 0 0 14px; margin: 0; font-size: 1.3rem; line-height: 1.15; text-align: left; background: transparent; }
  .cmp tbody tr, .data-table.stack tbody tr { background: var(--card); border: 2px solid var(--ink); border-radius: 4px; box-shadow: 0 3px 0 var(--sand-300); margin: 0 0 16px; padding: 0 0 6px; overflow: hidden; }
  .cmp tbody tr:last-child, .data-table.stack tbody tr:last-child { margin-bottom: 0; }
  .cmp tbody th, .data-table.stack tbody th { background: var(--sand-200); border-bottom: 2px solid var(--ink); margin: 0 0 6px; padding: 10px 12px; font-size: 1.2rem; }
  .cmp tbody tr:nth-child(even) td { background: transparent; }
  .cmp-wrap { margin-top: var(--s4); }
}
@media (min-width: 860px) { .data-table tbody th { min-width: 8.5em; white-space: nowrap; } }
