:root {
  --ink: #07182f;
  --navy: #061b39;
  --navy-2: #0b2d58;
  --blue: #178ddd;
  --sky: #73d4ff;
  --pink: #ed3488;
  --lime: #8cca24;
  --gold: #ffb629;
  --cream: #fffaf0;
  --paper: #ffffff;
  --muted: #60728b;
  --line: rgba(9, 44, 85, 0.13);
  --shadow: 0 28px 80px rgba(4, 24, 53, 0.16);
  --radius: 1.6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f5f9ff;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 58, 107, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 58, 107, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  color: white;
  background: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.portal-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(100% - 2rem, 76rem);
  min-height: 5.4rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-brand img {
  width: 7.4rem;
  max-height: 3rem;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.header-link,
.header-highlight {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-link {
  border: 1px solid var(--line);
  color: #52677f;
  background: rgba(255, 255, 255, 0.72);
}

.header-highlight {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  background: linear-gradient(135deg, #0c315e, #0b76b9);
  box-shadow: 0 10px 28px rgba(5, 59, 108, 0.22);
}

.header-link:hover,
.header-link:focus-visible,
.header-highlight:hover,
.header-highlight:focus-visible {
  transform: translateY(-1px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: #087dbb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  width: 1.8rem;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #087ac2, #174f9a);
  box-shadow: 0 14px 34px rgba(8, 91, 163, 0.25);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.button-pink {
  color: white;
  background: linear-gradient(135deg, #e72e82, #ff6c63);
  box-shadow: 0 14px 34px rgba(215, 42, 114, 0.24);
}

.arrow {
  font-size: 1rem;
}

/* Choice page */
.hub-page {
  min-height: 100svh;
  color: white;
  background:
    radial-gradient(circle at 14% 22%, rgba(237, 52, 136, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 74%, rgba(119, 213, 255, 0.16), transparent 28rem),
    linear-gradient(145deg, #031126 0%, #07254d 58%, #06162e 100%);
}

.hub-page::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
}

.hub-page .portal-brand,
.hub-page .header-link {
  color: #e9f4ff;
}

.hub-page .header-link {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(4, 23, 48, 0.48);
}

.hub-main {
  position: relative;
  min-height: calc(100svh - 5.4rem);
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 7.5rem) 1rem 5rem;
}

.hub-main::before,
.hub-main::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.hub-main::before {
  top: -16rem;
  left: -13rem;
  width: 42rem;
  height: 42rem;
}

.hub-main::after {
  right: -22rem;
  bottom: -24rem;
  width: 54rem;
  height: 54rem;
}

.hub-intro {
  width: min(100%, 68rem);
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.hub-intro .kicker {
  color: #89dfff;
}

.hub-intro h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

.hub-intro h1 em {
  color: #86d8ff;
  font-weight: 500;
}

.hub-intro > p:last-child {
  max-width: 45rem;
  margin: 1.5rem auto 0;
  color: #bdd0e6;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.branch-grid {
  display: grid;
  width: min(100%, 76rem);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}

.branch-card {
  position: relative;
  display: grid;
  min-height: 37rem;
  overflow: hidden;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2rem;
  color: white;
  background: rgba(5, 28, 58, 0.7);
  box-shadow: 0 32px 90px rgba(0, 6, 20, 0.34);
  text-decoration: none;
  isolation: isolate;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.branch-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  transition: opacity 240ms ease;
}

.branch-card--everyday::before {
  background: radial-gradient(circle at 50% 34%, rgba(255, 165, 195, 0.22), transparent 52%);
}

.branch-card--hybrid::before {
  background: radial-gradient(circle at 50% 34%, rgba(53, 170, 255, 0.24), transparent 54%);
}

.branch-card:hover,
.branch-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 38px 100px rgba(0, 6, 20, 0.48);
  transform: translateY(-7px);
}

.branch-card:hover::before,
.branch-card:focus-visible::before {
  opacity: 1;
}

.branch-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #bcd2ea;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.branch-number {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: white;
}

.branch-art {
  display: grid;
  min-height: 20rem;
  place-items: center;
  padding: 1rem;
}

.branch-card--everyday .branch-art img {
  width: min(100%, 24rem);
  filter: drop-shadow(0 28px 28px rgba(0, 3, 12, 0.34));
}

.branch-card--hybrid .branch-art img {
  width: min(100%, 18rem);
  max-height: 21rem;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 3, 12, 0.38));
}

.branch-copy {
  align-self: end;
}

.branch-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.branch-copy p {
  max-width: 32rem;
  margin: 0.9rem 0 1.2rem;
  color: #b9cde2;
  line-height: 1.6;
}

.branch-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.branch-action span:last-child {
  font-size: 1.35rem;
  transition: transform 200ms ease;
}

.branch-card:hover .branch-action span:last-child,
.branch-card:focus-visible .branch-action span:last-child {
  transform: translate(0.2rem, -0.2rem);
}

.hub-note {
  width: min(100%, 48rem);
  margin: 2.2rem auto 0;
  color: #9eb6d0;
  font-size: 0.79rem;
  line-height: 1.6;
  text-align: center;
}

/* Everyday Practice */
.everyday-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 218, 233, 0.7), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(168, 229, 255, 0.64), transparent 25rem),
    linear-gradient(#fffdf8, #f3f8ff 38%, #fffaf2);
}

.everyday-hero {
  display: grid;
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3.8rem, 8vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.everyday-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-wrap: balance;
}

.everyday-hero h1 em {
  color: var(--pink);
  font-weight: 500;
}

.everyday-hero-copy > p:not(.kicker) {
  max-width: 39rem;
  margin: 1.5rem 0;
  color: #5c7089;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.everyday-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.everyday-hero-art {
  position: relative;
  display: grid;
  min-height: 30rem;
  place-items: center;
}

.everyday-hero-art::before,
.everyday-hero-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.everyday-hero-art::before {
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(15, 99, 161, 0.12);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.everyday-hero-art::after {
  width: 61%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 139, 181, 0.26), transparent 70%);
  filter: blur(20px);
}

.everyday-hero-art img {
  position: relative;
  z-index: 2;
  width: min(115%, 34rem);
  filter: drop-shadow(0 25px 30px rgba(34, 68, 100, 0.18));
}

.practice-main {
  overflow: hidden;
}

.practice-section {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: clamp(3.6rem, 7vw, 6rem) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  max-width: 15ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-head > p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.weather-feature {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.18fr 0.82fr;
  border: 1px solid rgba(8, 83, 143, 0.12);
  border-radius: 2rem;
  color: white;
  background: linear-gradient(140deg, #083463, #0a78ba 62%, #22a6c8);
  box-shadow: 0 34px 90px rgba(7, 71, 126, 0.24);
}

.weather-media {
  display: block;
  min-height: 31rem;
  overflow: hidden;
  background: #dff5ff;
}

.weather-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.weather-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.weather-copy::before {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.weather-label {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.weather-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.weather-copy p {
  margin: 1.2rem 0 1.7rem;
  color: #d9effe;
  line-height: 1.65;
}

.weather-copy .button {
  align-self: flex-start;
  color: #08325d;
  background: white;
}

.sequence-strip {
  display: flex;
  margin: 1.2rem 0 0;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.5rem;
  scrollbar-width: thin;
}

.sequence-strip span {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #617188;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.game-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(8, 42, 78, 0.09);
  transition: transform 210ms ease, box-shadow 210ms ease;
}

.game-card:hover {
  box-shadow: 0 26px 65px rgba(8, 42, 78, 0.16);
  transform: translateY(-5px);
}

.game-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dbe8f4;
}

.preview-launch {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  cursor: pointer;
}

.preview-launch::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: white;
  background: rgba(4, 39, 77, 0.78);
  box-shadow: 0 8px 24px rgba(4, 32, 68, 0.24);
  content: "↗";
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.preview-launch:hover::after,
.preview-launch:focus-visible::after {
  background: #0878bd;
  transform: translate(2px, -2px);
}

.preview-launch:focus-visible {
  outline: 4px solid #ffc83d;
  outline-offset: -4px;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.game-card:hover .game-card-media img {
  transform: scale(1.025);
}

.card-order,
.card-badge {
  position: absolute;
  top: 0.75rem;
  z-index: 2;
  display: grid;
  min-height: 2rem;
  place-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 7px 20px rgba(4, 22, 50, 0.12);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.card-order {
  left: 0.75rem;
  min-width: 2rem;
}

.card-badge {
  right: 0.75rem;
}

.game-card-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.35rem;
}

.game-card-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.game-card-copy p {
  margin: 0.7rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.game-card-actions {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.game-card-actions a {
  color: #075d9f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.game-card-actions a:hover,
.game-card-actions a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.flashcard-card {
  grid-column: span 2;
}

.flashcard-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: auto;
}

.flashcard-options a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: #075d9f;
  background: #f8fbff;
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
}

.tools-band {
  border-block: 1px solid rgba(5, 56, 103, 0.1);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 177, 31, 0.15), transparent 21rem),
    linear-gradient(145deg, #f0f8ff, #fffaf1);
}

.bomb-history {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 6% 10%, rgba(39, 177, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 94% 90%, rgba(255, 79, 94, 0.18), transparent 26rem),
    linear-gradient(145deg, #071a37, #092b55 58%, #071d3e);
}

.bomb-history::before {
  position: absolute;
  top: -10rem;
  left: 50%;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.bomb-history-inner {
  position: relative;
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.bomb-history-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}

.bomb-history .kicker {
  color: #ffca4d;
}

.bomb-history-head h2 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.bomb-history-story {
  display: grid;
  gap: 1rem;
  color: #d7e8f8;
  font-size: 0.94rem;
  line-height: 1.72;
}

.bomb-history-story p {
  margin: 0;
}

.bomb-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.bomb-era {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 25rem;
  overflow: hidden;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--era);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 55px rgba(0, 7, 27, 0.2);
  backdrop-filter: blur(12px);
}

.bomb-era::after {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--era) 18%, transparent);
  content: "";
  filter: blur(4px);
}

.bomb-era--current {
  background:
    linear-gradient(145deg, rgba(255, 100, 118, 0.14), rgba(255, 255, 255, 0.075));
}

.bomb-era-meta {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.bomb-era-number {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  color: #06172f;
  background: var(--era);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.bomb-era-ai {
  color: var(--era);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.bomb-era time {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.4rem;
  color: #8faac4;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bomb-era h3 {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.bomb-era p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 1.5rem;
  color: #c5d8e9;
  font-size: 0.78rem;
  line-height: 1.6;
}

.bomb-era a {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.bomb-era a span {
  color: var(--era);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.bomb-era a:hover span,
.bomb-era a:focus-visible span {
  transform: translate(2px, -2px);
}

.bomb-era a:focus-visible {
  outline: 2px solid var(--era);
  outline-offset: 0.45rem;
}

.bomb-history-note {
  max-width: 58rem;
  margin: 2rem auto 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  color: #b9cee2;
  background: rgba(3, 16, 35, 0.32);
  font-size: 0.76rem;
  line-height: 1.65;
  text-align: center;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.more-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 11rem 1fr;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: white;
  box-shadow: 0 16px 45px rgba(8, 42, 78, 0.08);
}

.more-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-card-media {
  min-height: 100%;
  overflow: hidden;
}

.more-card div {
  padding: 1.2rem;
}

.more-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.more-card p {
  margin: 0.5rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.more-card a {
  color: #075d9f;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hybrid-crossover {
  position: relative;
  width: min(100% - 2rem, 76rem);
  margin: clamp(2rem, 5vw, 4rem) auto;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2.2rem;
  color: white;
  background:
    radial-gradient(circle at 92% 20%, rgba(54, 166, 245, 0.35), transparent 24rem),
    linear-gradient(145deg, #061a36, #0a315e);
  box-shadow: 0 34px 90px rgba(4, 28, 58, 0.28);
}

.crossover-head {
  display: grid;
  margin-bottom: 2rem;
  grid-template-columns: 1fr minmax(11rem, 17rem);
  gap: 2rem;
  align-items: center;
}

.crossover-head h2 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.crossover-head p {
  max-width: 38rem;
  margin: 1rem 0 1.4rem;
  color: #bdd0e6;
  line-height: 1.65;
}

.crossover-logo {
  display: grid;
  place-items: center;
}

.crossover-logo img {
  width: min(100%, 15rem);
  max-height: 16rem;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.28));
}

.hybrid-crossover .game-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.page-closing {
  padding: 4.5rem 1rem 6rem;
  text-align: center;
}

.page-closing img {
  width: min(65vw, 14rem);
  max-height: 6rem;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.page-closing h2 {
  max-width: 17ch;
  margin: 0 auto 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.portal-footer {
  display: flex;
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: #728298;
  font-size: 0.72rem;
}

.portal-footer a {
  font-weight: 800;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .branch-grid,
  .everyday-hero,
  .weather-feature,
  .crossover-head {
    grid-template-columns: 1fr;
  }

  .branch-card {
    min-height: 32rem;
  }

  .branch-art {
    min-height: 17rem;
  }

  .everyday-hero {
    text-align: center;
  }

  .everyday-hero-copy {
    display: grid;
    justify-items: center;
  }

  .everyday-hero h1 {
    max-width: 12ch;
  }

  .everyday-hero-art {
    min-height: 22rem;
  }

  .weather-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .flashcard-card {
    grid-column: span 1;
  }

  .bomb-history-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .bomb-history-head h2 {
    max-width: 16ch;
  }

  .bomb-history-story {
    max-width: 42rem;
  }

  .bomb-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bomb-era {
    min-height: 21rem;
  }

  .crossover-logo {
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .portal-header {
    min-height: 4.7rem;
  }

  .portal-brand span {
    display: none;
  }

  .portal-brand img {
    width: 6.1rem;
  }

  .header-link {
    display: none;
  }

  .header-highlight {
    min-height: 2.4rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.65rem;
  }

  .hub-main {
    padding-top: 2.4rem;
  }

  .hub-intro h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .branch-card {
    min-height: 29rem;
  }

  .branch-art {
    min-height: 14rem;
  }

  .branch-card--hybrid .branch-art img {
    max-height: 15rem;
  }

  .everyday-hero {
    padding-top: 3rem;
  }

  .everyday-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .everyday-hero-art {
    min-height: 17rem;
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    margin-top: 1rem;
  }

  .game-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .flashcard-options {
    grid-template-columns: 1fr;
  }

  .bomb-timeline {
    grid-template-columns: 1fr;
  }

  .bomb-era {
    min-height: auto;
  }

  .more-card {
    grid-template-columns: 7.5rem 1fr;
  }

  .hybrid-crossover {
    padding: 1.25rem;
  }

  .crossover-head {
    padding: 0.75rem;
  }

  .portal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
