:root {
  --bg: #111418;
  --panel: #1B2027;
  --slot: #1F252D;
  --line: #2A3038;
  --footer: #0B0D10;
  --text: #F2F0EA;
  --soft: #C4C9CF;
  --muted: #A7ADB5;
  --dim: #7D848D;
  /* Logo red. --red-text is the lighter tint for small text on dark (contrast). */
  --red: #E0080E;
  --red-text: #FF3B40;
  --red-hover: #FF7A7D;
  --gutter: clamp(20px, 5.5vw, 80px);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--red-text); text-decoration: none; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--text); color: var(--bg); padding: 10px 14px; z-index: 30; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--display); font-size: 17px; letter-spacing: 0.22em; color: var(--red-text); text-transform: uppercase; }
.mono { font-family: var(--mono); font-size: 14px; }
.accent { color: var(--red-text); }
.display-xl, .display-md, .display-sm { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.display-xl { font-size: clamp(48px, 5.6vw, 84px); line-height: 1.16; }
.display-xl span { display: block; margin-top: 0.08em; color: var(--muted); }
.display-md { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.16; }
.display-sm { font-size: 34px; line-height: 1.18; }
.lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--soft); max-width: 640px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 16px 28px; font-weight: 600; font-size: 17px; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--red); color: #FFFFFF; }
.btn-primary:hover { background: #F21A20; color: #FFFFFF; }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-light { background: #FFFFFF; color: #080606; }
.btn-light:hover { background: var(--text); color: #080606; }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 48px; height: 48px; background: #FFFFFF; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; line-height: 1.1; }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; }
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 16px; font-weight: 500; }
.site-nav a { color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--red-hover); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.header-cta { padding: 14px 22px; font-size: 15px; white-space: nowrap; }
.mobile-bar { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font: 600 15px var(--body); padding: 10px 16px; cursor: pointer; }
@media (min-width: 761px) {
  html { scroll-padding-top: 110px; }
  .site-header { position: sticky; top: 0; z-index: 15; background: var(--bg); }
}

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 88px var(--gutter); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.photo-slot { background: var(--slot); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 18px; color: var(--muted); }
.photo-slot .mono { font-size: 12px; }
.photo-slot-hero { height: 600px; padding: 24px; }
.photo-slot-wide { aspect-ratio: 16 / 7; }
.photo-slot-card { aspect-ratio: 4 / 3; }
.card-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); background: var(--slot); }
.hero-photo { height: 600px; width: 100%; object-fit: cover; border: 1px solid var(--line); background: var(--slot); }
.hero-gallery { position: relative; min-width: 0; }
.hero-slide { margin: 0; position: relative; }
.hero-slide img { display: block; }
.hero-slide figcaption { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 190px); padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; }
.hero-controls { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 6px; background: var(--bg); border: 1px solid var(--line); }
.hero-controls button { width: 44px; height: 44px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: 20px; cursor: pointer; }
@media (hover: hover) { .hero-controls button:hover { background: var(--red); border-color: var(--red); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:first-child { padding-left: var(--gutter); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--display); font-size: 72px; font-weight: 700; color: var(--red); line-height: 1; }
.stat-label { font-size: 16px; color: var(--muted); }

.section { padding: 104px var(--gutter); display: flex; flex-direction: column; gap: 48px; }
.section + .section, .hero + script + .section, .article + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.section-link { font-size: 17px; font-weight: 600; }

.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.tile { --pad: 36px; background: var(--panel); padding: var(--pad); min-height: 250px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.tile:hover { background: #222932; color: var(--text); }
.tile .mono { color: var(--red-text); }
.tile p { color: var(--muted); }
.tile-photo { width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 10px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--slot); }
.tile-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-static, .tile-static:hover { background: var(--panel); min-height: 0; }
.tile-accent { background: var(--red); color: #FFFFFF; }
.tile-accent:hover { background: #F21A20; color: #FFFFFF; }
.tile-accent .mono, .tile-accent p { color: #FFFFFF; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 16px; color: var(--text); }
.card:hover { color: var(--red-hover); }
.card-title { font-family: var(--display); font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.card-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card p { color: var(--muted); font-size: 16px; }

/* ---------- inner pages ---------- */
.page-head { padding: 72px var(--gutter) 56px; display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--line); }
.page-body { padding: 72px var(--gutter) 104px; display: flex; flex-direction: column; gap: 48px; }

.post-list { display: flex; flex-direction: column; }
.post-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.post-row:first-child { border-top: 1px solid var(--line); }
.post-row:hover { color: var(--red-hover); }
.post-row h2 { font-family: var(--display); font-size: 30px; font-weight: 600; text-transform: uppercase; line-height: 1.1; margin-top: 8px; }
.post-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); background: var(--slot); padding: 0; }
.post-row p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.post-row .arrow { color: var(--red-text); font-size: 22px; }

.article { padding: 56px var(--gutter) 104px; display: flex; flex-direction: column; gap: 40px; }
.article-head { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.back { font-weight: 600; font-size: 15px; }
.article-cover { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); background: var(--slot); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); text-transform: uppercase; color: var(--text); line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 26px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border: 1px solid var(--line); background: var(--slot); }
.prose em { color: var(--muted); font-size: 16px; }
.video { aspect-ratio: 16 / 9; background: var(--slot); border: 1px solid var(--line); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }.prose blockquote { margin-left: 0; margin-right: 0; padding-left: 20px; border-left: 3px solid var(--red); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
.prose th { color: var(--text); background: var(--panel); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.office { background: var(--panel); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.office h2 { font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.office dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 16px; }
.office dt { color: var(--muted); }
.office dd { margin: 0; color: var(--soft); overflow-wrap: anywhere; }

/* ---------- CTA + footer ---------- */
.cta-band { background: var(--red); color: #FFFFFF; padding: 56px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.cta-band .btn-outline { border-color: #FFFFFF; color: #FFFFFF; }
.cta-band .btn-outline:hover { background: #FFFFFF; color: #080606; }

.site-footer { background: var(--footer); padding: 64px var(--gutter) 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--soft); }
.footer-col a { color: var(--soft); }
.footer-col a:hover { color: var(--red-hover); }
.footer-title { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--text); }
.footer-title-accent { color: var(--red-text); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .photo-slot-hero, .hero-photo { height: 380px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 32px var(--gutter); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .tile-grid, .card-grid, .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; gap: 0; width: 100%; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { color: var(--red-text); border-bottom-color: var(--line); }
  .section { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .page-head { padding-top: 48px; padding-bottom: 40px; }
  .page-body { padding-top: 48px; padding-bottom: 64px; }
  .tile-grid, .card-grid, .office-grid, .footer-grid { grid-template-columns: 1fr; }
  .tile { --pad: 28px; min-height: 0; }
  .stat-value { font-size: 52px; }
  .post-row { grid-template-columns: 104px 1fr; gap: 16px; align-items: start; padding: 20px 0; }
  .post-row h2 { font-size: 22px; margin-top: 4px; }
  .post-row p { display: none; }
  .post-row .arrow { display: none; }
  .photo-slot-hero, .hero-photo { height: 260px; }
  .tile-grid-2 { grid-template-columns: 1fr; }
  .photo-slot-wide, .article-cover { aspect-ratio: 4 / 3; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-slide figcaption { position: static; max-width: none; border-top: 0; }
  .hero-controls { position: static; justify-content: space-between; border-top: 0; }
  .section-link, .footer-col a { display: inline-block; padding: 9px 0; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 14px 8px; font-size: 15px; white-space: nowrap; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
