/* =========================================================================
   Tales From The Ticket Queue
   Navy-dominant brand styles. Translated faithfully from the approved design
   comp. Navy and orange, Bebas display, Space Grotesk subheads, Inter body,
   JetBrains Mono for operator-journal meta and code.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --navy:       #0E1520;
  --navy-700:   #1A2433;  /* raised cards */
  --navy-800:   #141C28;  /* thumb gradient */
  --slate:      #475569;
  --orange:     #FF8A00;
  --orange-600: #E67C00;  /* hover */
  --light:      #F2F4F7;
  --white:      #FFFFFF;
  --green:      #22C55E;

  --line:        #E2E6EC;            /* hairline on light */
  --line-strong: #CBD2DC;            /* button / input borders */
  --line-dark:   rgba(255,255,255,.12);

  --body-ink:  #2A323C;              /* long-form reading text */
  --mute-ink:  #94A3B8;              /* mono meta on light */
  --link-ink:  #B45309;              /* readable inline link on white */

  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-logo:    "Anton", Impact, sans-serif;
  --f-sub:     "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw:    1200px;
  --pad:     32px;
  --header-h: 96px;
}

/* ---- Reset and base ----------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--orange); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Sections that sit under the sticky header keep their headings clear of it */
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--f-sub);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---- Layout containers -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--mid     { max-width: 1100px; }
.container--narrow  { max-width: 840px; }
.container--reading { max-width: 760px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn--sm { font-size: 15px; padding: 12px 20px; border-radius: 8px; }

.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-600); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.btn--outline-light:hover { border-color: rgba(255,255,255,.5); }

.btn--outline-dark { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline-dark:hover { border-color: var(--navy); }

/* ---- Site header / nav -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,21,32,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.site-header__brand { display: flex; align-items: center; }
.brand-mark { height: 54px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a {
  font-family: var(--f-sub);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}
.site-nav > a:hover { color: #fff; }
.site-nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar { width: 20px; height: 2px; background: #fff; margin: 0 auto; border-radius: 2px; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 110px var(--pad) 116px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
}
.hero__icon { height: clamp(108px, 17vw, 238px); width: auto; flex-shrink: 0; }
.hero__title {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 140px);
  line-height: .86;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-align: left;
}
.hero__lead {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.74);
  max-width: 560px;
  margin: 34px auto 0;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  justify-content: center;
}

/* ---- Stats strip -------------------------------------------------------- */
.stats { background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.09); }
.stat:last-child { border-right: none; }
.stat__n { font-family: var(--f-display); font-size: 46px; line-height: 1; color: var(--orange); }
.stat__label { font-family: var(--f-body); font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.66); margin-top: 6px; }

/* ---- Orange band -------------------------------------------------------- */
.band { background: var(--orange); color: var(--navy); }
.band__inner {
  padding: 30px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.band__text {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ---- Generic section shells -------------------------------------------- */
.section { padding: 100px 0; }
.section--light { background: var(--white); }
.section--muted { background: var(--light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark  { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.1); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: .96;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--navy);
}
.section__title--sm { font-size: clamp(28px, 3.4vw, 42px); }
.section--dark .section__title { color: #fff; }
.section__sub {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 16px;
}

/* ---- Articles: featured + list ----------------------------------------- */
.articles__layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; }

.featured {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease;
}
.featured:hover { transform: translateY(-4px); }
.featured__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.featured__art { position: relative; height: 88px; opacity: .92; }
.featured__pill {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--f-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy);
  background: var(--orange);
  padding: 5px 12px;
  border-radius: 100px;
}
.featured__body { padding: 30px 32px 34px; }
.featured__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--orange); margin-bottom: 12px; }
.featured__title { font-family: var(--f-sub); font-weight: 600; font-size: 26px; line-height: 1.2; color: #fff; margin-bottom: 12px; }
.featured__excerpt { font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); }

.artlist { display: flex; flex-direction: column; gap: 18px; }
.artlist__item {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.artlist__item:hover { border-color: var(--navy); transform: translateY(-2px); }
.artlist__icon {
  flex-shrink: 0;
  width: 96px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.artlist__text { display: flex; flex-direction: column; justify-content: center; }
.artlist__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: var(--orange); margin-bottom: 7px; }
.artlist__title { font-family: var(--f-sub); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--navy); margin-bottom: 5px; }
.artlist__excerpt { font-family: var(--f-body); font-size: 14px; line-height: 1.5; color: var(--slate); }

/* ---- Content themes ----------------------------------------------------- */
.themes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.theme:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(14,21,32,.45);
  border-color: var(--line-strong);
}
.theme__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.theme__title { font-family: var(--f-sub); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.theme__body { font-family: var(--f-body); font-size: 15px; line-height: 1.6; color: var(--slate); }

/* ---- Videos ------------------------------------------------------------- */
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video {
  display: block;
  background: var(--navy-700);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.video:hover { transform: translateY(-4px); border-color: rgba(255,138,0,.45); }
.video__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-800), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.video__play {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: #fff;
  background: rgba(14,21,32,.82);
  padding: 3px 8px;
  border-radius: 5px;
}
.video__body { padding: 20px 22px 24px; }
.video__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: var(--orange); margin-bottom: 9px; }
.video__title { font-family: var(--f-sub); font-weight: 600; font-size: 17px; line-height: 1.3; color: #fff; }

/* ---- About -------------------------------------------------------------- */
.about { background: var(--navy); color: #fff; padding: 108px 0; }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle at 50% 40%, rgba(255,138,0,.18), transparent 65%);
  pointer-events: none;
}
.about__avatar { position: relative; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.about__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.about__p { font-family: var(--f-body); font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.78); margin-bottom: 20px; }
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,138,0,.1);
  border: 1px solid rgba(255,138,0,.28);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 6px;
}
.callout__icon { flex-shrink: 0; margin-top: 1px; }
.callout__text { font-family: var(--f-body); font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.74); }
.callout__text strong { color: #fff; }
.about__quote {
  font-family: var(--f-sub);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 22px;
  margin-top: 30px;
}

/* ---- Approach: is / isn't ---------------------------------------------- */
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 18px; padding: 38px; }
.panel--light { background: var(--light); border: 1px solid var(--line); }
.panel--dark { background: var(--navy); }
.panel__title { font-family: var(--f-sub); font-weight: 700; font-size: 18px; letter-spacing: .02em; margin-bottom: 24px; }
.panel--light .panel__title { color: var(--navy); }
.panel--dark .panel__title { color: #fff; }
.checklist__item { display: flex; align-items: flex-start; gap: 13px; padding: 11px 0; }
.checklist__item svg { flex-shrink: 0; margin-top: 1px; }
.checklist__item span { font-family: var(--f-body); font-size: 16px; }
.panel--light .checklist__item { border-bottom: 1px solid var(--line); }
.panel--light .checklist__item span { color: var(--navy); }
.panel--dark .checklist__item { border-bottom: 1px solid rgba(255,255,255,.12); }
.panel--dark .checklist__item span { color: rgba(255,255,255,.82); }

/* ---- Subscribe ---------------------------------------------------------- */
.subscribe { text-align: center; }
.subscribe__lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 30px);
  margin-bottom: 8px;
}
.subscribe__icon { height: clamp(82px, 11vw, 128px); width: auto; flex-shrink: 0; }
.subscribe__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left;
}
.subscribe__sub { font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--slate); margin: 18px auto 32px; max-width: 480px; }
.subscribe__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.subscribe__input {
  flex: 1;
  min-width: 220px;
  font-family: var(--f-body);
  font-size: 16px;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  outline: none;
}
.subscribe__input:focus { border-color: var(--orange); }
.subscribe__btn { padding: 15px 30px; border-radius: 10px; }
.subscribe__done { font-family: var(--f-sub); font-weight: 500; font-size: 15px; color: #15803D; margin-top: 14px; }
.subscribe__note { font-family: var(--f-mono); font-size: 13px; color: var(--mute-ink); margin-top: 18px; }

/* ---- Cards (macro: /articles, /category, related) ---------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(14,21,32,.45);
  border-color: var(--line-strong);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.card__icon { position: relative; color: var(--orange); display: flex; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: var(--orange); margin-bottom: 10px; }
.card__title { font-family: var(--f-sub); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.card__excerpt { font-family: var(--f-body); font-size: 15px; line-height: 1.6; color: var(--slate); margin-bottom: 16px; }
.card__date { margin-top: auto; font-family: var(--f-mono); font-size: 12px; color: var(--mute-ink); }

/* ---- Pagination --------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.pagination__link {
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  padding: 11px 18px;
  border-radius: 9px;
  transition: border-color .2s ease;
}
.pagination__link:hover { border-color: var(--navy); }
.pagination__link.is-disabled { color: var(--mute-ink); border-color: var(--line); pointer-events: none; }
.pagination__status { font-family: var(--f-mono); font-size: 13px; color: var(--slate); }

/* ---- Page hero (category / articles / 404) ----------------------------- */
.page-hero { background: var(--navy); color: #fff; padding: 88px 0 64px; position: relative; }
.page-hero--tall { padding: 128px 0 120px; }
.page-hero__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-dark);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.page-hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.page-hero__title--xl { font-size: clamp(90px, 18vw, 200px); line-height: .9; }
.page-hero__sub { font-family: var(--f-body); font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.72); margin-top: 16px; max-width: 620px; }

.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.center-x { margin-left: auto; margin-right: auto; }
.hero__ctas--left { justify-content: center; }

/* ---- Article (post) ----------------------------------------------------- */
.post-hero { background: var(--navy); color: #fff; padding: 80px 0 56px; }
.post-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  transition: color .2s ease;
}
.post-hero__eyebrow:hover { color: #fff; }
.post-hero__title { font-family: var(--f-sub); font-weight: 700; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; color: #fff; max-width: 780px; }
.post-hero__subtitle { font-family: var(--f-body); font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.74); margin-top: 16px; max-width: 720px; }
.post-hero__meta { font-family: var(--f-mono); font-size: 13px; color: rgba(255,255,255,.6); margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-hero__author { color: #fff; }
.mid { color: rgba(255,255,255,.35); }

.post-body { padding: 64px 0 88px; }
.post-body__img { width: 100%; border-radius: 14px; margin-bottom: 36px; }

.prose { font-family: var(--f-body); font-size: 18px; line-height: 1.75; color: var(--body-ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--f-sub); font-weight: 700; font-size: 1.55em; line-height: 1.25; color: var(--navy); margin-top: 1.8em; }
.prose h3 { font-family: var(--f-sub); font-weight: 600; font-size: 1.25em; line-height: 1.3; color: var(--navy); margin-top: 1.6em; }
.prose a { color: var(--link-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--navy); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { border-left: 3px solid var(--orange); padding-left: 20px; color: var(--slate); margin-left: 0; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--light); border: 1px solid var(--line); border-radius: 6px; padding: .12em .4em; }
.prose pre { background: var(--navy); color: #E6EAF0; border-radius: 12px; padding: 20px 22px; overflow-x: auto; }
.prose pre code { background: none; border: none; padding: 0; color: inherit; font-size: 14px; line-height: 1.6; }
.prose img { border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--light); font-family: var(--f-sub); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--line); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 40px; }
.tag { font-family: var(--f-mono); font-size: 12px; color: var(--slate); background: var(--light); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; }

.author-card { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.author-card__avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-card__name { font-family: var(--f-sub); font-weight: 600; font-size: 16px; color: var(--navy); }
.author-card__bio { font-family: var(--f-body); font-size: 15px; line-height: 1.6; color: var(--slate); margin-top: 4px; }

/* ---- Empty state -------------------------------------------------------- */
.empty { font-family: var(--f-body); font-size: 17px; color: var(--slate); text-align: center; padding: 40px 0; }
.empty a { color: var(--link-ink); text-decoration: underline; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 40px; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 62px; width: auto; margin-bottom: 18px; }
.site-footer__tagline { font-family: var(--f-body); font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.6); max-width: 340px; }
.site-footer__heading {
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 11px; }
.site-footer__links a { font-family: var(--f-body); font-size: 15px; color: rgba(255,255,255,.78); transition: color .2s ease; }
.site-footer__links a:hover { color: var(--orange); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.site-footer__copy { font-family: var(--f-mono); font-size: 13px; color: rgba(255,255,255,.45); }
.site-footer__motto { font-family: var(--f-sub); font-size: 14px; color: var(--orange); }
.site-footer__legal { font-family: var(--f-body); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.4); max-width: 760px; margin-top: 22px; }

/* Discreet admin entrance, tucked into the bottom-right of the footer. */
.site-footer__admin { margin-top: 18px; text-align: right; }
.site-footer__admin a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .15s ease;
}
.site-footer__admin a:hover,
.site-footer__admin a:focus-visible { color: var(--orange); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .articles__layout { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about__quote { display: inline-block; text-align: left; }
  .themes__grid,
  .videos__grid,
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: rgba(14,21,32,.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 14px var(--pad); }
  .site-nav__cta { margin: 12px var(--pad) 0; }

  .hero__inner { padding: 76px var(--pad) 80px; }
  .hero__lockup { flex-direction: column; gap: 20px; }
  .hero__title { text-align: center; }

  .section { padding: 64px 0; }
  .about { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }

  .approach__grid { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); }

  .subscribe__lockup { flex-direction: column; gap: 16px; }
  .subscribe__title { text-align: center; }

  .panel { padding: 28px; }
  .featured__body { padding: 24px 22px 26px; }
}

@media (max-width: 620px) {
  .themes__grid,
  .videos__grid,
  .card-grid { grid-template-columns: 1fr; }

  .artlist__item { flex-direction: column; }
  .artlist__icon { width: 100%; height: 92px; }

  .pagination { justify-content: center; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Series (article type) cues ---------------------------------------- */
.card__media { position: relative; }
.card__series {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 21, 32, .82);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 4px 9px;
  border-radius: 100px;
}
.page-hero__badge img { display: block; border-radius: 50%; }
.post-hero__eyebrows { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.post-hero__series-ic { border-radius: 50%; vertical-align: middle; margin-right: 5px; }
