/* ==========================================================================
   DorviBrennBlitz — main page
   Figma: "№40020 Copy Copy" / Main page (2058:59494)
   ========================================================================== */

:root {
  /* palette */
  --blue:        #1f3fae;
  --blue-deep:   #0f2263;
  --blue-footer: #152f86;
  --ink:         #121838;
  --ink-soft:    #465072;
  --red:         #c42b1d;
  --yellow:      #ffd21e;
  --page:        #f3f6fc;
  --band:        #e6ecf8;
  --row-alt:     #f3f6fc;

  /* type */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  /* layout */
  --frame: 1368px;   /* design frame width */
  --content: 1200px; /* frame minus 2 x 84px gutters */
  --gutter: 84px;
  --dock-h: 64px;

  /* elevation */
  --shadow-strap: 6px 8px 0 rgba(8, 13, 46, 0.18);
  --shadow-card:  0 6px 7px rgba(8, 13, 46, 0.12);
  --shadow-table: 0 6px 16px rgba(8, 13, 46, 0.1);
  --shadow-bug:   3px 4px 3px rgba(8, 13, 46, 0.25);
  --shadow-station: 6px 9px 7px rgba(8, 13, 46, 0.4);
}

/* --------------------------------------------------------------- reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: var(--dock-h);
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- helpers --- */

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; }

/* code badge — red pill used on cards and stations */
.code-badge {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: 1.25;
  white-space: nowrap;
}

/* underlined action link */
.inline-link,
.game-card__link {
  color: var(--blue);
  font-weight: 600;
  line-height: normal;
  text-decoration: underline;
}

/* channel bug (brand lockup) */
.bug {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  filter: drop-shadow(var(--shadow-bug));
  text-decoration: none;
}
.bug__mark { width: 18px; height: 24px; }
.bug__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.22px;
  color: var(--blue);
}

/* ============================================================== HERO ===== */

.hero {
  position: relative;
  height: 768px;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
}

.hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the 1368px design frame, centred; everything inside is placed against it,
   so its own gutter stays at the design's 84px however narrow the page gets */
.hero__stage {
  --hero-gutter: 84px;
  position: absolute;
  inset: 0;
  left: 50%;
  width: var(--frame);
  transform: translateX(-50%);
}

.hero .bug {
  position: absolute;
  left: var(--hero-gutter);
  top: 28px;
}

.on-air {
  position: absolute;
  left: 1082px;
  top: 36px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.51px;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__title {
  position: absolute;
  left: var(--hero-gutter);
  top: 100px;
  width: 760px;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: -0.96px;
  text-shadow: 4px 5px 0 rgba(8, 13, 46, 0.45);
}

.hero__lead {
  position: absolute;
  left: var(--hero-gutter);
  top: 386px;
  width: 520px;
  font-size: 19px;
  line-height: 1.5;
}

.hero__links {
  position: absolute;
  left: var(--hero-gutter);
  top: 493px;
  display: flex;
  gap: 26px;
  font-size: 19px;
  line-height: normal;
  white-space: nowrap;
}
.hero__links a { font-weight: 700; text-decoration: underline; }
.hero__links a.is-medium { font-weight: 500; }

/* oversized decorative bolt */
.hero__bolt {
  position: absolute;
  left: 619.09px;
  top: 250px;
  width: 170.084px;
  height: 214.584px;
  display: grid;
  place-items: center;
}
.hero__bolt img {
  width: 150px;
  height: 200px;
  transform: rotate(6deg);
  filter: drop-shadow(4px 6px 4px rgba(8, 13, 46, 0.35));
}

/* ------------------------------------------------- scattered "stations" --- */

.station-slot {
  position: absolute;
  display: grid;
  place-items: center;
}
.station-slot--tds       { left: 780px;    top: 57.72px;  width: 193.15px; height: 263.663px; }
.station-slot--blockpost { left: 1077.81px; top: 118px;   width: 187.953px; height: 241.892px; }
.station-slot--gph       { left: 962px;    top: 365.86px; width: 184.024px; height: 239px; }
.station-slot--tank      { left: 1139.75px; top: 404px;   width: 191.825px; height: 244.71px; }
.station-slot--doc       { left: 606px;    top: 428.79px; width: 188.947px; height: 260.866px; }
.station-slot--vectaria  { left: 777.87px; top: 446px;    width: 184.024px; height: 239px; }

.station-slot--tds .station       { transform: rotate(-4deg); }
.station-slot--blockpost .station { transform: rotate(3deg); }
.station-slot--gph .station       { transform: rotate(-2deg); }
.station-slot--tank .station      { transform: rotate(4deg); }
.station-slot--doc .station       { transform: rotate(-3deg); }
.station-slot--vectaria .station  { transform: rotate(2deg); }

.station {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 176px;
  padding: 8px 8px 10px;
  border-radius: 10px;
  background: #fff;
  filter: drop-shadow(var(--shadow-station));
}
.station__cover {
  width: 160px;
  height: 160px;
  border-radius: 6px;
  object-fit: cover;
}
.station__name {
  width: 160px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  line-height: 1.05;
}
.station__symbol {
  position: absolute;
  left: 134px;
  top: -30px;
}
.station__symbol--bolt      { width: 70px; height: 93.33px; }
.station__symbol--bolt.is-sm{ width: 54px; height: 72px; }
.station__symbol--wind      { width: 54px; height: 34.875px; }
.station__symbol--cloud     { width: 54px; height: 34.875px; }
.station__symbol--pressure,
.station__symbol--sun       { width: 54px; height: 54px; }
.station__symbol { filter: drop-shadow(3px 4px 3px rgba(8, 13, 46, 0.3)); }

/* fallback stack used below the desktop breakpoint */
.stations { display: contents; }

/* ============================================================== DOCK ===== */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  height: var(--dock-h);
  background: var(--blue-deep);
  filter: drop-shadow(0 -6px 9px rgba(0, 0, 26, 0.35));
}

.dock__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding-inline: 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.66px;
  text-decoration: none;
  white-space: nowrap;
}
.dock__brand img { width: 18px; height: 24px; }

.dock__nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 34px;
  min-width: 0;
  height: 100%;
  padding-inline: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dock__nav::-webkit-scrollbar { display: none; }

.dock__nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0.63px;
  text-decoration: none;
  white-space: nowrap;
}
.dock__nav a::after {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: transparent;
}
.dock__nav a.is-active::after,
.dock__nav a:hover::after { background: var(--yellow); }

.dock__stamp {
  display: flex;
  align-items: center;
  height: 100%;
  padding-inline: 22px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.54px;
  white-space: nowrap;
}

/* ====================================================== SECTION HEADS ==== */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.strap {
  display: flex;
  align-items: center;
  align-self: flex-start;
  filter: drop-shadow(var(--shadow-strap));
}

.strap__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px;
  height: 72px;
}
.strap__icon--navy   { background: var(--blue-deep); }
.strap__icon--yellow { background: var(--yellow); }
.strap__icon img     { width: 38px; height: 38px; }
.strap__icon img.icon-wind  { height: 24.54px; }
.strap__icon img.icon-cloud { height: 24.54px; }

.strap__icon--glyph {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 36px;
  line-height: 1;
}

.strap__label {
  display: flex;
  align-items: center;
  height: 72px;
  padding-inline: 26px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 44px;
  letter-spacing: 0.44px;
  line-height: 1;
  white-space: nowrap;
}
.strap__label--navy { background: var(--blue-deep); }
.strap__label--sm   { font-size: 38px; letter-spacing: 0.38px; }

.section-head__lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}
.section-head__lead--light { color: #fff; }

/* ======================================================= THE OUTLOOK ===== */

.section--outlook {
  padding-block: 96px 72px;
}

.section--outlook .section-head { margin-bottom: 36px; }

.outlook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
}

.game-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.game-card__cover {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
}
.game-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.game-card__title {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 25px;
  line-height: 1;
}
.game-card__strap {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}
.game-card__text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}
.game-card__link { font-size: 15px; line-height: normal; }

.game-card__symbol {
  position: absolute;
  left: 350px;
  top: -14px;
  width: 40px;
  filter: drop-shadow(2px 3px 2px rgba(8, 13, 46, 0.25));
}
.game-card__symbol--bolt     { height: 53.33px; }
.game-card__symbol--wind,
.game-card__symbol--cloud    { height: 25.83px; }
.game-card__symbol--pressure,
.game-card__symbol--sun      { height: 40px; }

/* ============================================= CONDITIONS AT A GLANCE ==== */

.section--conditions {
  padding-block: 72px 88px;
  background: var(--band);
}
.section--conditions .section-head { margin-bottom: 32px; }

.table-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-table);
  overflow: hidden;
}

.conditions {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.conditions thead th {
  padding: 14px 0;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.51px;
  text-align: left;
}
.conditions thead th:first-child { padding-left: 20px; }
.conditions thead th:last-child  { padding-right: 20px; }

.conditions tbody th,
.conditions tbody td {
  padding: 12px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  vertical-align: middle;
}
.conditions tbody th:first-child { padding-left: 20px; }
.conditions tbody td:last-child  { padding-right: 20px; }

.conditions tbody tr:nth-child(even) { background: var(--row-alt); }

/* column widths, from the design: 300 / 160 / 200 / 240 / 150 / rest of 1200 */
.conditions th:nth-child(1), .conditions td:nth-child(1) { width: 26.67%; }
.conditions th:nth-child(2), .conditions td:nth-child(2) { width: 13.33%; }
.conditions th:nth-child(3), .conditions td:nth-child(3) { width: 16.67%; }
.conditions th:nth-child(4), .conditions td:nth-child(4) { width: 20%; }
.conditions th:nth-child(5), .conditions td:nth-child(5) { width: 12.5%; }
.conditions th:nth-child(6), .conditions td:nth-child(6) { width: 10.83%; }

.cell-game {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}
.cell-game img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
}
.cell-game span {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  line-height: 1.1;
}

.cell-class {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
}
.cell-class img {
  flex: none;
  width: 26px;
  height: 34.67px;
}
.cell-class img.icon-wind { height: 16.79px; }
.cell-class span { font-weight: 600; }

/* only shown once the table collapses into cards */
.cell-game__symbol { display: none; }

.conditions tbody td.cell-pace { color: var(--blue); font-weight: 600; }

/* ================================================ READING THE SYMBOLS ==== */

.section--symbols {
  padding-block: 88px 96px;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.section--symbols__isobars {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--frame);
  height: 700px;
  transform: translateX(-50%);
  pointer-events: none;
}
.section--symbols .wrap { position: relative; }
.section--symbols .section-head { margin-bottom: 32px; }

.symbol-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.symbol-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 12px;
  background: var(--blue-deep);
}
.symbol-tile__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 4px;
}
.symbol-tile__icon--bolt { height: 80px; }
.symbol-tile__icon--wide { height: 38.75px; }

.symbol-tile h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  line-height: 1.1;
}
.symbol-tile p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.45;
}
.symbol-tile__code {
  color: var(--yellow) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.48px;
}
/* ==================================================== ABOUT / CONTACT ==== */

.section--about   { padding-block: 88px 56px; }
.section--contact { padding-block: 16px 150px; }

.about,
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 900px;
}
.contact { gap: 14px; max-width: 760px; }

.about__text {
  font-size: 20px;
  line-height: 1.6;
}
.about .inline-link,
.contact .inline-link { font-size: 17px; }

.contact__text {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}
.contact__email {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
}

/* =================================================== VIEWER QUESTIONS ==== */

.section--faq { padding-block: 56px 72px; }
.section--faq .strap { margin-bottom: 28px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
}

.faq__item {
  position: relative;
  min-height: 70px;          /* the 34px Q badge plus 2 x 18px padding */
  padding: 18px 72px;
  border-radius: 12px;
  background: #fff;
}
.faq__item[open] { box-shadow: 0 6px 8px rgba(8, 13, 46, 0.12); }

.faq__item summary {
  display: block;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__q {
  position: absolute;
  left: 22px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 20px;
  line-height: 1;
}

.faq__title {
  display: block;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 25px;
  line-height: 1.1;
}

.faq__toggle {
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
}
.faq__toggle::before { content: "+"; }
.faq__item[open] .faq__toggle::before { content: "\2212"; }

.faq__answer {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

/* ============================================================ FOOTER ===== */

.footer {
  padding-block: 56px 40px;
  background: var(--blue-footer);
  color: #fff;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 480px;
  max-width: 100%;
}
.footer__blurb { font-size: 16px; line-height: 1.5; }
.footer__note  { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: 540px;
  max-width: 100%;
}
.footer__links a {
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  text-decoration: underline;
  white-space: nowrap;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.pill {
  padding: 6px 12px;
  line-height: normal;
  border: 1.5px solid #fff;
  border-radius: 99px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28px;
  text-decoration: none;
  white-space: nowrap;
}

.footer__rule {
  height: 1px;
  margin: 0 0 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
}

.footer__legal {
  line-height: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.footer__legal p:first-child { color: rgba(255, 255, 255, 0.85); }
.footer__legal a { text-decoration: underline; }

/* ======================================================= RESPONSIVE ====== */

/* below the design frame: keep the scatter but pull the gutters in */
@media (max-width: 1367px) {
  :root { --gutter: 48px; }
  .hero__stage { width: 1368px; }
}

/* the scattered hero stage no longer fits — stack it instead */
@media (max-width: 1180px) {
  .hero {
    height: auto;
    padding-block: 28px 56px;
  }
  .hero__map { object-fit: cover; }

  .hero__stage {
    --hero-gutter: var(--gutter);
    position: relative;
    inset: auto;
    left: auto;
    width: 100%;
    max-width: calc(var(--content) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--hero-gutter);
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .hero .bug,
  .on-air,
  .hero__title,
  .hero__lead,
  .hero__links {
    position: static;
    left: auto;
    top: auto;
    width: auto;
  }
  .hero__title { font-size: clamp(44px, 7.4vw, 96px); max-width: 760px; }
  .hero__lead  { max-width: 520px; }
  .hero__links { flex-wrap: wrap; }

  .hero__bolt { display: none; }

  .stations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(176px, 100%), 1fr));
    gap: 34px 16px;
    width: 100%;
    margin-top: 14px;
  }
  .station-slot {
    position: static;
    width: auto;
    height: auto;
    place-items: start;
  }
  .station-slot .station { transform: none; width: 100%; }
  .station__cover,
  .station__name { width: 100%; }
  .station__cover { aspect-ratio: 1; height: auto; }
  .station__symbol { left: auto; right: -8px; }
}

@media (max-width: 1100px) {
  .outlook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card__symbol { left: auto; right: -10px; }
  .symbol-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* table becomes a stack of records */
  .conditions,
  .conditions thead,
  .conditions tbody,
  .conditions tr,
  .conditions th,
  .conditions td { display: block; width: auto !important; }

  .conditions thead { display: none; }
  .conditions tbody tr {
    padding: 16px 20px;
    border-bottom: 1px solid var(--band);
  }
  .conditions tbody tr:last-child { border-bottom: 0; }
  .conditions tbody th,
  .conditions tbody td { padding: 4px 0; }
  .conditions tbody td[data-label]::before {
    content: attr(data-label) ": ";
    font-family: var(--font-head);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.51px;
    color: var(--ink-soft);
    text-transform: uppercase;
  }
  .cell-game span { font-size: 22px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .strap { flex-wrap: wrap; }
  .strap__label { font-size: 32px; height: 60px; white-space: normal; line-height: 1.05; }
  .strap__label--sm { font-size: 28px; }
  .strap__icon { width: 60px; height: 60px; }
  .section--outlook   { padding-block: 56px 48px; }
  .section--conditions{ padding-block: 48px 56px; }
  .section--symbols   { padding-block: 56px 64px; }
  .section--about     { padding-block: 56px 40px; }
  .section--faq       { padding-block: 40px 48px; }
  .section--contact   { padding-block: 16px 72px; }

  .outlook-grid  { grid-template-columns: minmax(0, 1fr); }
  .symbol-tiles  { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer__top { flex-direction: column; gap: 28px; }

  .dock__brand span { font-size: 17px; }
  .dock__nav { gap: 22px; padding-inline: 16px; }
  .dock__nav a { font-size: 17px; }
  .dock__stamp { display: none; }
}

@media (max-width: 620px) {
  .hero__title  { font-size: 40px; }
  .stations     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .station      { padding: 6px 6px 8px; gap: 6px; }
  .station__name{ font-size: 16px; }
  .station__symbol { transform: scale(0.72); transform-origin: top right; }
  .game-card    { flex-direction: column; }
  .game-card__symbol { right: 8px; top: -12px; }
  .symbol-tiles { grid-template-columns: minmax(0, 1fr); }
  .about__text  { font-size: 18px; }
  .faq__title   { font-size: 21px; }
  .faq__item    { padding-inline: 62px 40px; }
  .dock__brand  { padding-inline: 14px; }
  .dock__brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   INNER PAGES — shared chrome
   ========================================================================== */

/* ------------------------------------------------------- header band ----- */

.header-band {
  position: relative;
  padding-block: 26px 56px;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
}
.header-band__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.header-band__map {
  position: absolute;
  left: 50%;
  top: -160px;
  width: var(--frame);
  height: 700px;
  transform: translateX(-50%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 14px;
  line-height: normal;
}
.breadcrumb a { text-decoration: underline; }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.7); }
.breadcrumb [aria-current] { font-weight: 600; }

.page-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.page-head h1,
.guide-hero__text h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 64px;
  line-height: 0.94;
  text-shadow: 3px 4px 0 rgba(8, 13, 46, 0.4);
}
.page-head__lead {
  max-width: 780px;
  font-size: 20px;
  line-height: 1.5;
}
.page-head__stamp {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.54px;
  line-height: normal;
}

/* ------------------------------------------------- class group (Games) --- */

.class-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 48px var(--gutter) 8px;
}
.class-group__head {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.class-group .strap__label { font-size: 36px; letter-spacing: 0.36px; }
.class-group__note {
  flex: 1;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

/* --------------------------------------------------- regional report ----- */

.report {
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  padding: 18px 24px;
  border: 3px solid transparent;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 6px rgba(8, 13, 46, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
              background-color 0.18s ease-out, border-color 0.18s ease-out;
}
.report:hover,
.report:focus-visible {
  transform: translateY(-6px);
  border-color: var(--yellow);
  background: #fff7d1;
  box-shadow: 0 14px 12px rgba(8, 13, 46, 0.26);
}
.report:hover .report__title,
.report:focus-visible .report__title { text-decoration: underline; }

.report__cover {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  object-fit: cover;
}
.report__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.report__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 32px;
  line-height: 1;
}
.report__text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}
.report__specs {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 6px;
  width: 320px;
}
.report__specs dt {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.39px;
  line-height: normal;
}
.report__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: normal;
}
.report__cta {
  flex: none;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-decoration: underline;
  white-space: nowrap;
}

.spacer-88 { height: 88px; }

@media (max-width: 1100px) {
  .report { flex-wrap: wrap; gap: 18px; }
  .report__specs { width: 100%; flex-direction: row; gap: 24px; }
  .report__specs > div { flex: 1; }
}

@media (max-width: 860px) {
  .header-band { padding-block: 20px 40px; }
  .page-head h1 { font-size: clamp(34px, 8vw, 64px); }
  .page-head__lead { font-size: 18px; }
  .class-group { padding-top: 36px; }
  .class-group__head { flex-wrap: wrap; gap: 12px; }
  .class-group .strap__label { font-size: 28px; }
  .report { padding: 16px; }
  .report__title { font-size: 26px; }
  .spacer-88 { height: 48px; }
}

@media (max-width: 620px) {
  .report { flex-direction: column; align-items: flex-start; }
  .report__specs { flex-direction: column; gap: 10px; }
}

/* ------------------------------------------------------ cookie notice ---- */

.cookie {
  position: fixed;
  left: 24px;
  bottom: calc(var(--dock-h) + 20px);
  z-index: 70;
  width: 500px;
  max-width: calc(100vw - 48px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 13, 46, 0.35);
  overflow: hidden;
}
.cookie[hidden] { display: none; }

.cookie__bar { display: flex; align-items: stretch; }
.cookie__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 48px;
  background: var(--yellow);
}
.cookie__icon img { width: 34px; height: 21.96px; }
.cookie__kicker {
  display: flex;
  flex: 1;
  align-items: center;
  height: 48px;
  margin: 0;
  padding-inline: 16px;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.72px;
}

.cookie__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 22px 22px;
}
.cookie__title {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
}
.cookie__text { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }

.cookie__actions { display: flex; gap: 10px; }
.cookie__btn {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 2px solid var(--blue);
  border-radius: 99px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.51px;
  line-height: normal;
  cursor: pointer;
}
.cookie__btn:hover { background: var(--blue); color: #fff; }

.cookie__link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: underline;
}

/* a <button> that has to read as a link (footer "Cookie settings") */
.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 620px) {
  .cookie {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: calc(var(--dock-h) + 12px);
  }
  .cookie__actions { flex-direction: column; }
}

/* strap icon keeps each symbol's own aspect ratio at the 38px design width */
.strap__icon img.icon-bolt { height: 50.667px; }

/* ==========================================================================
   GAME GUIDE PAGE
   ========================================================================== */

.guide-hero {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  width: 100%;
}
.guide-hero__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.guide-hero__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-hero__kicker .code-badge {
  padding: 5px 12px;
  font-size: 16px;
  letter-spacing: 0.64px;
}
.guide-hero__class {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.51px;
  line-height: normal;
  white-space: nowrap;
}

/* the tilted polaroid-style cover */
.cover-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 283.761px;
  height: 283.761px;
}
.cover-tile__inner {
  position: relative;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  transform: rotate(-3deg);
  filter: drop-shadow(8px 10px 8px rgba(8, 13, 46, 0.4));
}
.cover-tile__img {
  width: 250px;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
}
.cover-tile__symbol {
  position: absolute;
  left: 206px;
  top: -34px;
  width: 78px;
  filter: drop-shadow(3px 4px 3px rgba(8, 13, 46, 0.3));
}
.cover-tile__symbol--bolt { height: 104px; }
.cover-tile__symbol--wind,
.cover-tile__symbol--cloud { height: 50.375px; }
.cover-tile__symbol--sun,
.cover-tile__symbol--pressure { height: 78px; }

/* ----------------------------------------------------------- body grid --- */

.guide-body {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 64px var(--gutter) 150px;
}
.guide-text {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
  width: 720px;
  max-width: 100%;
}
.guide-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.guide-section .strap__label { font-size: 30px; letter-spacing: 0.3px; }
.guide-section > p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

/* controls table */
.controls-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.controls-table th,
.controls-table td {
  padding: 12px 18px;
  color: var(--ink);
  text-align: left;
  line-height: normal;
  vertical-align: top;
}
.controls-table th {
  width: 300px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.controls-table td { font-size: 16px; font-weight: 400; }
.controls-table tr:nth-child(even) { background: var(--page); }

/* numbered tips */
.tips { display: flex; flex-direction: column; gap: 14px; width: 100%; counter-reset: tip; }
.tips li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}
.tips li::before {
  counter-increment: tip;
  content: counter(tip);
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 17px;
  line-height: 1;
}

/* dashed notes */
.notes { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.notes li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}
.notes li::before {
  content: "\2014";
  flex: none;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
}

/* question cards */
.qa {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
}
.qa dt {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  line-height: normal;
}
.qa dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* ------------------------------------------------------------- sidebar --- */

.sidebar {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.readings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--blue-deep);
}
.readings dl { display: flex; flex-direction: column; gap: 11px; margin: 0; }
.readings__head { display: flex; align-items: center; gap: 10px; }
.readings__head img { width: 28px; height: 37.33px; }
.readings__head span {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.88px;
  line-height: normal;
}
.readings dt {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: normal;
}
.readings dd {
  margin: 1px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.where {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 20px 22px;
  border: 2px solid var(--blue);
  border-radius: 14px;
  background: #fff;
}
.where__kicker {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.6px;
  line-height: normal;
}
.where__host {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  line-height: normal;
}
.where__text { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.where__link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-decoration: underline;
}

.nearby { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.nearby__kicker {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.6px;
  line-height: normal;
}
.nearby__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.nearby__item:hover { transform: translateY(-3px); box-shadow: 0 8px 12px rgba(8, 13, 46, 0.16); }
.nearby__item img.nearby__cover {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}
.nearby__meta { flex: 1; min-width: 0; }
.nearby__code {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.39px;
  line-height: normal;
}
.nearby__name {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 19px;
  line-height: normal;
  text-decoration: underline;
}
.nearby__symbol { flex: none; width: 26px; height: 34.67px; }
.nearby__symbol.icon-wind,
.nearby__symbol.icon-cloud { height: 16.79px; }
.nearby__symbol.icon-square { height: 26px; }

@media (max-width: 1180px) {
  .guide-body { flex-direction: column; gap: 44px; padding-bottom: 96px; }
  .guide-text { width: 100%; }
  .sidebar { width: 100%; }
}

@media (max-width: 860px) {
  .guide-hero { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .cover-tile { width: 200px; height: 200px; }
  .cover-tile__img { width: 170px; height: 170px; }
  .cover-tile__symbol { left: auto; right: -14px; width: 56px; }
  .cover-tile__symbol--bolt { height: 74.6px; }
  .cover-tile__symbol--wind, .cover-tile__symbol--cloud { height: 36.2px; }
  .cover-tile__symbol--sun, .cover-tile__symbol--pressure { height: 56px; }
  .guide-body { padding-block: 40px 72px; gap: 32px; }
  .guide-text { gap: 32px; }
  .guide-section .strap__label { font-size: 24px; }
  .guide-section > p, .tips li, .notes li { font-size: 17px; }
  .controls-table th { width: 40%; font-size: 16px; }
  .controls-table th, .controls-table td { padding: 10px 14px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ==========================================================================
   ABOUT / CONTACT / LEGAL
   ========================================================================== */

.page-head h1.is-xl,
.header-band__wrap > .page-head h1.is-xl { font-size: 80px; }

/* two-column body shared by About and the legal pages */
.doc-body {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 64px var(--gutter) 150px;
}

.side-nav {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 10px;
  width: 280px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--blue-deep);
}
.side-nav__kicker {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: normal;
}
.side-nav a,
.side-nav strong {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  text-decoration: underline;
}
.side-nav strong { font-weight: 600; text-decoration: none; }

.doc-col {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 820px;
  max-width: 100%;
}
.doc-col--legal { gap: 30px; }

.doc-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.doc-section > h2 {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 40px;
  line-height: 1;
}
.doc-section > p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

/* numbered legal section */
.legal-section { gap: 8px; }
.legal-section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
}
.legal-section > h2 .num {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

/* --------------------------------------------------------- About extras --- */

.presenters { display: flex; gap: 16px; width: 100%; }
.presenter {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
}
.presenter__kicker {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: normal;
}
.presenter__name {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  line-height: normal;
}
.presenter__role { color: var(--blue); font-size: 14px; font-weight: 600; line-height: normal; }
.presenter__bio { color: var(--ink-soft); font-size: 15px; line-height: 1.45; }

.criteria {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
}
.criteria li { display: flex; align-items: center; gap: 10px; }
.criteria img { flex: none; width: 20px; height: 20px; }
.criteria span { color: var(--ink); font-size: 16px; line-height: normal; }

/* ------------------------------------------------------- Contact extras --- */

.contact-body {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 64px var(--gutter) 150px;
}

.newsroom {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 14px;
  width: 620px;
  max-width: 100%;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--blue-deep);
}
.newsroom__head { display: flex; align-items: center; gap: 10px; }
.newsroom__head img { width: 24px; height: 32px; }
.newsroom__head span {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.88px;
  line-height: normal;
}
.newsroom dt {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: normal;
}
.newsroom dd {
  margin: 1px 0 0;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: normal;
}
.newsroom dd a { text-decoration: underline; }
.newsroom > dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }

.write-about {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.write-about > h2 {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 40px;
  line-height: normal;
}
.write-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
}
.write-card dt {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  line-height: normal;
}
.write-card dd { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.write-about__note { color: var(--ink-soft); font-size: 15px; font-weight: 500; line-height: 1.5; }

@media (max-width: 1180px) {
  .doc-body, .contact-body { flex-direction: column; gap: 32px; padding-bottom: 96px; }
  .side-nav, .doc-col, .newsroom, .write-about { width: 100%; }
}

@media (max-width: 860px) {
  .page-head h1.is-xl,
  .header-band__wrap > .page-head h1.is-xl { font-size: clamp(38px, 9vw, 80px); }
  .doc-body, .contact-body { padding-block: 40px 72px; }
  .doc-col { gap: 30px; }
  .doc-section > h2, .write-about > h2 { font-size: 30px; }
  .legal-section > h2 { font-size: 23px; }
  .doc-section > p { font-size: 17px; }
  .presenters { flex-direction: column; }
  .newsroom dd { font-size: 22px; }
}

/* ==========================================================================
   MOTION — scroll-driven reveals (design note: "scroll-driven-reveal")
   Classes are added by main.js, so nothing moves when JS is off.
   ========================================================================== */

.reveal {
  opacity: 0;
  transition: opacity 0.5s ease-out var(--reveal-delay, 0ms),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}
.reveal-slide { transform: translateX(-24px); }
.reveal-rise  { transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; }

/* hero stations jump onto the map in turn */
.station-in {
  animation: station-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
}
@keyframes station-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: none; }
}

/* the oversized bolt blinks once on load */
.bolt-flash img { animation: bolt-flash 0.24s ease-in-out 0.9s 1; }
@keyframes bolt-flash {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* hover affordances the design notes call for */
.game-card,
.symbol-tile,
.station {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.game-card:hover,
.symbol-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 14px rgba(8, 13, 46, 0.18);
}
.game-card:hover { outline: 2px solid var(--yellow); }
.game-card:hover .game-card__title { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .station-in, .bolt-flash img {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .game-card, .symbol-tile, .station, .report, .nearby__item { transition: none; }
  .game-card:hover, .symbol-tile:hover, .report:hover, .nearby__item:hover { transform: none; }
}

/* ==========================================================================
   MOBILE — the 360px Figma frame
   Source order puts this last so it wins over the intermediate breakpoints.
   ========================================================================== */

.hero__map--narrow { display: none; }

@media (max-width: 720px) {
  :root { --gutter: 20px; --dock-h: 56px; }

  .hero__map--wide   { display: none; }
  .hero__map--narrow { display: block; }

  /* ------------------------------------------------------- hero (812px) --- */

  .hero { height: 812px; padding: 0; }

  .hero__stage {
    position: absolute;
    inset: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
    transform: none;
  }

  .hero .bug {
    position: absolute;
    left: var(--gutter);
    top: 16px;
    padding: 6px 10px;
  }
  .hero .bug__mark { width: 14px; height: 18.667px; }
  .hero .bug__name { font-size: 18px; letter-spacing: 0.18px; }

  .on-air { display: none; }

  .hero__title {
    position: absolute;
    left: var(--gutter);
    top: 76px;
    width: calc(100% - 2 * var(--gutter));
    max-width: 320px;
    font-size: 46px;
    line-height: 0.92;
    letter-spacing: -0.46px;
  }
  .hero__title br { display: none; }

  .hero__lead {
    position: absolute;
    left: var(--gutter);
    top: 216px;
    width: calc(100% - 2 * var(--gutter));
    max-width: 320px;
    font-size: 15px;
  }

  .hero__links {
    position: absolute;
    left: var(--gutter);
    top: 320px;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
  }

  .hero__bolt {
    display: grid;
    left: 75.3%;
    top: 395px;
    width: 72.569px;
    height: 91.556px;
  }
  .hero__bolt img { width: 64px; height: 85.333px; }

  /* only three stations make the cut on the narrow frame */
  .stations { display: contents; }
  .station-slot { position: absolute; }
  .station-slot--blockpost,
  .station-slot--tank,
  .station-slot--vectaria { display: none; }

  .station-slot--tds  { left: 0.4%;  top: 520px;    width: 124.283px; height: 187.374px; }
  .station-slot--doc  { left: 34.4%; top: 566.14px; width: 121.267px; height: 185.615px; }
  .station-slot--gph  { left: 63.4%; top: 506px;    width: 117.69px;  height: 168.808px; }

  /* paint order follows the mobile frame: Grand Prix sits on top */
  .station-slot--gph { z-index: 2; }

  .station-slot--tds .station { transform: rotate(4deg); }
  .station-slot--doc .station { transform: rotate(-3deg); }
  .station-slot--gph .station { transform: rotate(2deg); }

  .station { width: 112px; padding: 8px 8px 10px; gap: 7px; }
  .station__cover { width: 96px; height: 96px; aspect-ratio: auto; }
  .station__name  { width: 96px; font-size: 14px; }
  .station__symbol { left: 78px; right: auto; top: -20px; transform: none; width: 38px; }
  .station__symbol--bolt,
  .station__symbol--bolt.is-sm { height: 50.667px; }
  .station__symbol--sun,
  .station__symbol--pressure   { height: 38px; }
  .station__symbol--wind,
  .station__symbol--cloud      { height: 24.542px; }

  /* ------------------------------------------------------------- dock ---- */

  .dock__brand,
  .dock__stamp { display: none; }
  .dock__nav { gap: 20px; padding-inline: 12px; }
  .dock__nav a { font-size: 18px; }
  .dock__nav a::after { width: 26px; }

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

  .strap__icon { width: 52px; height: 54px; }
  .strap__label { height: 54px; padding-inline: 14px; font-size: 32px; white-space: normal; }
  .strap__label--sm { font-size: 28px; }
  .strap__icon--glyph { font-size: 28px; }

  .section-head { gap: 12px; }
  .section-head__lead { font-size: 16px; }

  .section--outlook    { padding-block: 48px 40px; }
  .section--outlook .section-head { margin-bottom: 22px; }
  .section--conditions { padding-block: 40px 48px; }
  .section--conditions .section-head { margin-bottom: 20px; }
  .section--symbols    { padding-block: 48px 56px; }
  .section--symbols .section-head { margin-bottom: 20px; }
  .section--about      { padding-block: 48px 28px; }
  .section--faq        { padding-block: 28px 40px; }
  .section--faq .strap { margin-bottom: 18px; }
  .section--contact    { padding-block: 8px 110px; }

  /* outlook cards */
  .outlook-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .game-card { flex-direction: row; padding: 18px; gap: 16px; }
  .game-card__cover { width: 88px; height: 88px; }
  .game-card__symbol { left: auto; right: -6px; top: -14px; }

  /* conditions table becomes one card per game */
  .table-card { border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  .conditions tbody tr {
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #fff;
  }
  .conditions tbody tr + tr { margin-top: 12px; }
  .conditions tbody tr:nth-child(even) { background: #fff; }
  .conditions tbody th,
  .conditions tbody td { padding: 0; }
  .conditions tbody th + td,
  .conditions tbody td + td { margin-top: 8px; }

  .cell-game { gap: 10px; padding-right: 0; }
  .cell-game img { width: 36px; height: 36px; }
  .cell-game span { flex: 1; min-width: 0; font-size: 19px; }
  .cell-game__symbol { display: block; flex: none; width: 24px; height: 32px; }
  .cell-game__symbol.icon-wind,
  .cell-game__symbol.icon-cloud { height: 16px; }

  .conditions tbody td[data-label] {
    display: flex;
    gap: 8px;
    font-size: 14px;
  }
  .conditions tbody td[data-label]::before {
    content: attr(data-label);
    flex: none;
    width: 76px;
    font-family: var(--font-head);
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    letter-spacing: normal;
    color: var(--ink);
  }

  /* CLASS and PLAYERS are dropped on the narrow frame, as in the design */
  .conditions tbody td:nth-child(2),
  .conditions tbody td:nth-child(5) { display: none; }

  /* symbol tiles go horizontal */
  .symbol-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .symbol-tile {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
  }
  .symbol-tile__icon { flex: none; width: 44px; height: 44px; margin: 0; }
  .symbol-tile__icon--bolt { height: 58.67px; }
  .symbol-tile__icon--wide { height: 28.42px; }
  .symbol-tile__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

  /* footer */
  .footer { padding-block: 36px 28px; }
  .footer__top { gap: 24px; margin-bottom: 24px; }
  .footer__social { margin-bottom: 24px; }
  .footer__rule { margin-bottom: 24px; }

  /* --------------------------------------------------- inner pages ---- */

  .header-band { padding-block: 16px 32px; }
  .header-band__wrap { gap: 12px; }
  .header-band__map { top: -80px; width: 100%; min-width: 360px; height: 420px; }

  .header-band .bug { padding: 6px 10px; }
  .header-band .bug__mark { width: 14px; height: 18.667px; }
  .header-band .bug__name { font-size: 18px; letter-spacing: 0.18px; }

  .page-head,
  .guide-hero__text { gap: 16px; }
  .page-head h1,
  .page-head h1.is-xl,
  .header-band__wrap > .page-head h1.is-xl,
  .guide-hero__text h1 { font-size: 40px; }
  .page-head__lead { font-size: 15px; }
  .page-head__stamp { font-size: 15px; }

  /* the cover tile sits below the copy, pushed to the right */
  .guide-hero { flex-direction: column; align-items: stretch; gap: 16px; }
  .guide-hero__kicker .code-badge { font-size: 16px; }
  .guide-hero__class { font-size: 14px; white-space: normal; }
  .cover-tile { align-self: flex-end; width: 176px; height: 176px; }
  .cover-tile__img { width: 150px; height: 150px; }
  .cover-tile__symbol { left: auto; right: -10px; top: -22px; width: 50px; }
  .cover-tile__symbol--bolt { height: 66.7px; }
  .cover-tile__symbol--wind, .cover-tile__symbol--cloud { height: 32.3px; }
  .cover-tile__symbol--sun, .cover-tile__symbol--pressure { height: 50px; }

  .guide-body, .doc-body, .contact-body { padding-block: 28px 110px; gap: 28px; }
  .class-group { padding-block: 28px 4px; gap: 14px; }
  .spacer-88 { height: 48px; }
}

