/* Trident ocean theme. Visual layer only: colors, waves, type, and spacing. */

:root {
  --paper: #04151d;
  --surface: #0b2834;
  --surface2: #123845;
  --ink: #f4f8f7;
  --muted: #c5d5db;
  --line: rgba(150, 210, 206, 0.22);
  --navy: #031018;
  --navy2: #0c4552;
  --coral: #f0c56a;
  --coral2: #ffe3a6;
  --teal: #8ee8df;
  --gold: #f0c56a;
  --ok: #8ee0b8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --ring: 0 0 0 1px rgba(180, 230, 224, 0.12);
  --ocean-deep: #031018;
  --ocean-mid: #0a4552;
  --wave: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path fill='%230a4552' d='M0 34c180 22 360-22 540 0s360 22 540 0 360-22 360 0v30H0z'/></svg>");
  --wave-line: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'><path d='M0 16c120 10 240-10 360 0s240 10 360 0 240-10 360 0 240 10 360 0' fill='none' stroke='%237ed8cf' stroke-width='2' stroke-linecap='round' opacity='0.85'/></svg>");
  --wave-gold: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 12'><path d='M2 7c10 4 18-4 28 0s18 4 28 0 18-4 28 0' fill='none' stroke='%23f0c56a' stroke-width='1.7' stroke-linecap='round'/></svg>");
  --mark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'><path fill='%23f0c56a' d='M20 1.4 36.2 7.1v12.6c0 10.2-6.7 17.4-16.2 21.6C10.5 37.1 3.8 29.9 3.8 19.7V7.1L20 1.4z'/><path fill='%230c2430' d='M18.3 12.2h3.4v16.2h-3.4zM11.2 15.4h3v8.6h-3zM25.8 15.4h3v8.6h-3zM11.2 17.6h17.6v2.5H11.2z'/><circle cx='12.7' cy='14.2' r='1.7' fill='%230c2430'/><circle cx='20' cy='11.2' r='1.7' fill='%230c2430'/><circle cx='27.3' cy='14.2' r='1.7' fill='%230c2430'/></svg>");
}

body {
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(28, 130, 140, 0.28), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(240, 197, 106, 0.08), transparent 55%),
    linear-gradient(180deg, #03141c 0%, #062632 42%, #041820 100%);
  color: var(--ink);
  font: 17.5px/1.72 "DM Sans", sans-serif;
  letter-spacing: -0.011em;
}

body::before {
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(140, 220, 210, 0.16), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(240, 197, 106, 0.08), transparent 24%),
    radial-gradient(circle at 60% 70%, rgba(20, 90, 110, 0.2), transparent 30%);
  background-size: auto;
  mask-image: none;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

header {
  background: rgba(3, 16, 24, 0.82);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(150, 210, 206, 0.16);
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 216, 207, 0.2) 18%, var(--gold) 50%, rgba(126, 216, 207, 0.2) 82%, transparent);
  pointer-events: none;
}

.nav {
  min-height: 72px;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 18px;
}

.nav-home::before {
  content: "";
  width: 26px;
  height: 29px;
  margin-right: 10px;
  background: var(--mark) center / contain no-repeat;
  flex: 0 0 auto;
}

.nav-home span {
  margin: 0;
  padding: 0;
  color: var(--gold);
}

.nav-links a,
.nav-links button {
  color: #d5e4e8;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links button:hover {
  color: #fff;
  background: rgba(142, 232, 223, 0.08);
}

.search-btn {
  border-color: rgba(142, 232, 223, 0.45) !important;
  background: rgba(142, 232, 223, 0.08) !important;
  color: #f4f8f7 !important;
}

.menu-btn {
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(180, 220, 216, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* Homepage hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.72fr);
  gap: 40px 48px;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 8px calc(50% - 50vw);
  min-height: 620px;
  padding: 78px max(24px, calc((100vw - 1140px) / 2)) 128px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(520px 320px at 78% 18%, rgba(64, 176, 176, 0.28), transparent 70%),
    radial-gradient(420px 280px at 12% 80%, rgba(240, 197, 106, 0.1), transparent 70%),
    linear-gradient(165deg, #021018 0%, #063542 46%, #0b5964 100%);
  background-image:
    radial-gradient(520px 320px at 78% 18%, rgba(64, 176, 176, 0.28), transparent 70%),
    radial-gradient(420px 280px at 12% 80%, rgba(240, 197, 106, 0.1), transparent 70%),
    linear-gradient(165deg, #021018 0%, #063542 46%, #0b5964 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 36%, rgba(190, 255, 246, 0.2), transparent 16%),
    radial-gradient(circle at 48% 58%, rgba(120, 210, 204, 0.16), transparent 14%),
    radial-gradient(circle at 70% 28%, rgba(240, 197, 106, 0.12), transparent 12%),
    radial-gradient(circle at 84% 66%, rgba(90, 190, 196, 0.18), transparent 18%);
  background-size: 130% 130%;
  animation: caustic 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.hero-sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 108px;
  pointer-events: none;
  overflow: hidden;
}

.hero-sea svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
}

.sea-back {
  fill: rgba(170, 236, 228, 0.28);
  animation: tide 22s linear infinite;
}

.sea-front {
  fill: rgba(3, 22, 32, 0.72);
  height: 78%;
  animation: tide 14s linear infinite;
}

.hero-main,
.hero aside {
  position: relative;
  z-index: 2;
}

.edition {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(170, 230, 224, 0.35);
  border-radius: 999px;
  background: rgba(3, 24, 32, 0.35);
  color: #d5f6f1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11em;
  margin: 0 0 16px;
  color: #fff;
  font: 700 clamp(40px, 4.5vw, 68px) / 0.98 var(--serif);
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
}

.hero-copy {
  max-width: 38rem;
  margin: 0 0 26px;
  color: #e5f2f3;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.hero-copy a,
.hero aside a {
  color: #f4fffd;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe1a4 0%, #e4b453 100%);
  color: #142018 !important;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(228, 180, 83, 0.28);
}

.hero-cta:hover {
  background: #ffe7b8;
  color: #142018 !important;
  transform: translateY(-2px);
}

.hero-cta-secondary {
  background: transparent;
  color: #f7fbfb !important;
  border: 1.5px solid rgba(190, 240, 234, 0.7);
  box-shadow: none;
}

.hero-cta-secondary:hover {
  background: rgba(190, 240, 234, 0.12);
  color: #fff !important;
}

.hero aside {
  padding: 26px 24px 24px;
  border: 1px solid rgba(240, 197, 106, 0.38);
  border-top: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(240, 197, 106, 0.95), rgba(240, 197, 106, 0.95)) top / 100% 4px no-repeat,
    rgba(4, 22, 32, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-stat-label {
  margin: 0 0 8px;
  color: #d7f3ee;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero aside strong {
  display: block;
  margin: 0 0 10px;
  color: var(--gold);
  font: 700 clamp(36px, 4vw, 54px) / 0.95 var(--serif);
  letter-spacing: -0.04em;
}

.hero aside p:not(.hero-stat-label) {
  margin: 0;
  color: #e4eef0;
  font-size: 15.5px;
  line-height: 1.5;
}

.trustbar {
  margin: 28px 0 0;
  border: 1px solid rgba(160, 214, 210, 0.18);
  border-radius: 18px;
  background: rgba(8, 32, 42, 0.82);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.trustbar div {
  padding: 22px 26px;
}

.trustbar b {
  color: #fff;
  font-size: 15px;
}

.trustbar span {
  color: var(--muted);
}

.section {
  padding: 84px 0 72px;
}

.section h2,
.method h2,
.article-head h1,
.static-page h1 {
  color: #fff;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head {
  margin-bottom: 32px;
}

.section-head p,
.method span {
  color: var(--muted);
}

.section-head h2::after,
.method h2::after,
.article-head h1::after,
.static-page > h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 12px;
  margin-top: 12px;
  background: var(--wave-gold) left center / 88px 12px no-repeat;
}

.lead-grid {
  gap: 26px;
}

.lead,
.story,
.link-item {
  border: 1px solid rgba(168, 220, 214, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 50, 62, 0.96), rgba(7, 26, 36, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lead {
  overflow: hidden;
}

.lead img {
  aspect-ratio: 16 / 10;
}

.lead-body {
  padding: 26px 26px 24px;
}

.lead-body::before {
  width: 56px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 197, 106, 0));
}

.lead h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.lead h3 a,
.story h3 a {
  color: #fff;
}

.lead p,
.story p,
.meta,
.lead .meta,
.story .meta {
  color: var(--muted);
}

.tag {
  color: var(--gold);
  letter-spacing: 0.11em;
}

.lead:hover,
.story:hover,
.link-item:hover {
  border-color: rgba(142, 232, 223, 0.45);
}

.browse {
  position: relative;
  margin-top: 36px;
  padding: 78px 0 68px;
  background: linear-gradient(180deg, #0a4552 0%, #0c3e4a 42%, #062833 100%);
  border: 0;
}

.browse::before,
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  pointer-events: none;
  background: var(--wave) center / 100% 56px no-repeat;
}

.browse::before {
  top: -54px;
}

.browse .section-head h2,
.browse .section-head p {
  color: #f4fbfb;
}

.browse .section-head p {
  color: #d5e7ea;
}

.filter {
  min-height: 44px;
  padding: 8px 16px;
  border-color: rgba(214, 244, 240, 0.35);
}

.filter:hover {
  border-color: #fff;
  color: #fff;
}

.filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #142018;
}

.article-list {
  gap: 14px;
}

.story {
  min-height: 176px;
  padding: 24px;
  background: rgba(4, 24, 32, 0.45);
}

.story:hover {
  background: rgba(8, 40, 50, 0.72);
  transform: translateY(-3px);
}

.method {
  gap: 48px;
  padding: 28px 0 80px;
}

.method::before {
  content: "";
  height: 28px;
  grid-column: 1 / -1;
  background: var(--wave-line) center / 100% 28px no-repeat;
}

.method h2 {
  top: 96px;
}

.method li {
  padding-top: 20px;
  padding-bottom: 20px;
}

.method li::before {
  color: var(--gold);
}

footer {
  position: relative;
  margin-top: 12px;
  padding: 48px 0 44px;
  border-top: 0;
  background: linear-gradient(180deg, #0a4552 0%, #03141c 72%);
  color: #d5e4e8;
}

footer::before {
  top: -54px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path fill='%230a4552' d='M0 30c160 24 320-20 480 0s320 24 480 0 320-20 480 0v34H0z'/></svg>");
}

.foot strong {
  color: #fff;
}

.footnav a {
  color: #d5e4e8;
  text-decoration: none;
}

.footnav a:hover {
  color: var(--gold);
}

body:not(:has(.hero)) main::before {
  content: "";
  display: block;
  height: 34px;
  margin-top: 8px;
  background: var(--wave-line) center / 100% 28px no-repeat;
}

.article-page,
.static-page {
  margin-top: 8px;
  margin-bottom: 64px;
  padding: 42px 40px 56px;
  border: 1px solid rgba(168, 220, 214, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 42, 54, 0.94), rgba(6, 24, 34, 0.96));
  box-shadow: var(--shadow), var(--ring);
}

.article-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.article-head h1,
.static-page h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.article-head p,
.breadcrumbs,
.byline,
.last-updated {
  color: var(--muted);
}

.article-body {
  font-size: 17.5px;
  line-height: 1.75;
}

.article-body h2,
.static-page h2,
.link-section h2 {
  color: #fff;
  letter-spacing: -0.03em;
  margin-top: 1.7em;
}

.article-body p,
.static-page p,
.link-lede {
  color: #e7eef0;
}

.disclosure,
.affiliate-disclosure,
.article-body > p:nth-child(3):has(a[href="/affiliate-disclosure/"]),
.article-body > p:nth-child(3):has(a[href="#/affiliate-disclosure"]) {
  background: rgba(240, 197, 106, 0.1);
  border: 1px solid rgba(240, 197, 106, 0.28);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 16px 18px;
  color: #f4f7f6;
}

.link-page .disclosure a,
.disclosure a {
  color: #fff;
}

.cta-button,
.link-btn {
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe1a4, #e4b453);
  color: #142018 !important;
  box-shadow: 0 10px 24px rgba(228, 180, 83, 0.22);
}

.cta-button:hover,
.link-btn:hover {
  background: #ffe7b8;
  color: #142018 !important;
}

.cta-button.pending {
  background: var(--surface2);
  color: var(--muted) !important;
  box-shadow: none;
}

.link-btn.secondary {
  background: transparent;
  color: #f4f8f7 !important;
  border: 1.5px solid rgba(142, 232, 223, 0.6);
  box-shadow: none;
}

.link-btn.secondary:hover {
  background: rgba(142, 232, 223, 0.12);
  color: #fff !important;
}

.link-page {
  max-width: 720px;
}

.link-page h1 {
  letter-spacing: -0.04em;
}

.link-search,
.link-filters button {
  min-height: 44px;
}

.link-search {
  border-color: rgba(168, 220, 214, 0.28);
  background: rgba(3, 18, 26, 0.35);
}

.link-filters button[aria-pressed="true"] {
  background: var(--gold);
  color: #142018;
  border-color: var(--gold);
}

.link-item {
  padding: 16px 16px 14px;
  background: rgba(4, 22, 32, 0.35);
}

.link-item h3 {
  color: #fff;
}

.link-item p {
  color: var(--muted);
}

.table-wrap {
  border-color: rgba(168, 220, 214, 0.2);
  border-radius: 14px;
}

th {
  background: #0c4a56;
}

.article-body thead th {
  color: #d5e7ea;
}

.notice {
  border-color: rgba(168, 220, 214, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.search-panel {
  background: rgba(2, 12, 18, 0.94);
}

.search-inner {
  border: 1px solid rgba(168, 220, 214, 0.2);
  background: rgba(8, 36, 46, 0.9);
}

@keyframes tide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes caustic {
  from { background-position: 0% 30%; }
  to { background-position: 80% 70%; }
}

@media (max-width: 820px) {
  .nav-links.open {
    padding: 8px 0 12px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: 0;
    padding: 36px 20px 136px;
    border-radius: 0;
    background-image:
      radial-gradient(320px 220px at 80% 0%, rgba(64, 176, 176, 0.3), transparent 70%),
      linear-gradient(180deg, #021018 0%, #084554 100%);
    background-position: center;
  }

  .hero h1 {
    max-width: none;
    font-size: 42px;
  }

  .home-hero {
    gap: 48px;
  }

  .home-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 5.4vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.038em;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    max-width: 16em;
  }

  .section-head p {
    max-width: 36rem;
  }

  .hero aside {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .trustbar {
    margin: 18px 0 0;
  }

  .trustbar div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 48px 0 36px;
  }

  .article-page,
  .static-page {
    margin: 8px 0 40px;
    padding: 28px 18px 36px;
    border-radius: 18px;
  }

  .method {
    padding-bottom: 48px;
  }

  .method h2 {
    position: static;
  }

  footer {
    padding-top: 36px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 28px 16px 124px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .home-hero {
    gap: 44px;
    padding: 40px 20px 120px;
  }

  .home-hero .edition {
    margin-bottom: 22px;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .home-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(44px, 12.2vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .home-hero .hero-line,
  .home-hero .hero-keep {
    display: block;
  }

  .home-hero .hero-keep {
    white-space: nowrap;
  }

  .home-hero h1 em {
    margin-top: 0.22em;
  }

  .home-hero .hero-copy {
    margin-bottom: 28px;
    font-size: clamp(17px, 4.5vw, 18.5px);
    line-height: 1.6;
  }

  .home-hero .hero-actions {
    gap: 14px;
  }

  .home-hero aside {
    padding: 26px 22px 24px;
  }

  .home-hero .hero-stat-label {
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .home-hero aside strong {
    margin-bottom: 14px;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.98;
  }

  .home-hero aside p:not(.hero-stat-label) {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-sea {
    height: 92px;
  }

  .lead {
    border-radius: 16px;
  }

  .lead h3 {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.28;
  }

  .story {
    min-height: 0;
    padding: 22px 20px;
  }

  .method h2 {
    font-size: clamp(32px, 8.6vw, 40px);
    line-height: 1.16;
  }

  .method li {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 29px;
  }

  .home-hero h1 {
    font-size: clamp(44px, 12.2vw, 54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .sea-back,
  .sea-front,
  .hero-sea svg {
    animation: none !important;
  }

  .lead,
  .story,
  .hero-cta,
  .cta-button,
  .link-btn,
  .section-tile,
  .hub-card {
    transition: none !important;
  }

  .section-tile:hover,
  .hub-card:hover {
    transform: none;
  }
}

/* Shared header, section hubs, homepage tiles, related guides.
   The five primary links stay in the nav. Search sits beside it. */

header .nav {
  flex-wrap: nowrap;
  gap: 10px 12px;
}

header .nav-links a {
  white-space: nowrap;
}

header .nav-links a[aria-current="page"],
header .nav-links a[aria-current="true"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold);
}

header .search-btn,
header .menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 700;
}

header .menu-btn {
  display: none;
}

@media (min-width: 1041px) {
  header .nav-home { order: 0; }
  header .nav-links { order: 1; display: flex; margin-left: auto; }
  header .search-btn { order: 2; margin-left: 8px; }
  header .menu-btn { display: none; }
}

@media (max-width: 1040px) {
  header .nav {
    flex-wrap: wrap;
    align-items: center;
  }

  header .nav-home { order: 0; }

  header .search-btn {
    order: 1;
    margin-left: auto;
    min-width: 48px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
  }

  header .menu-btn {
    order: 2;
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    margin-left: 8px;
    padding: 12px 16px;
    font-size: 16px;
  }

  header .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin: 4px 0 0;
  }

  header .nav-links.open {
    display: flex;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  header .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 17px;
  }
}

footer .footnav {
  justify-content: flex-end;
  gap: 8px 16px;
  max-width: 720px;
}

footer .footnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 0.45em;
  align-items: baseline;
}

.breadcrumbs [aria-current="page"] {
  color: #fff;
}

.section-tiles {
  margin: 28px 0 8px;
}

.tile-grid,
.hub-grid {
  display: grid;
  gap: 16px;
}

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

.section-tile,
.hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 196px;
  padding: 22px 22px 18px;
  color: #f6f4ec;
  text-decoration: none;
  border: 1px solid rgba(168, 220, 214, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(180deg, var(--gold) 0 3px, rgba(8, 32, 42, 0.96) 3px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.section-tile:hover,
.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 232, 223, 0.5);
  color: #fff;
}

.tile-kicker,
.hub-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-tile strong,
.hub-card strong,
.hub-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font: 700 clamp(26px, 2.4vw, 32px) / 1.15 var(--serif);
  letter-spacing: -0.03em;
}

.section-tile span:last-child,
.hub-card p {
  margin: 0;
  color: #d5e4e8;
  font-size: 16px;
  line-height: 1.5;
}

.hub-card p {
  flex: 1;
  margin-bottom: 14px;
}

.hub-go,
.tile-go {
  margin-top: auto;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.section-tile.tile-meals {
  background:
    linear-gradient(180deg, #e7a15a 0 3px, rgba(42, 24, 14, 0.55) 3px, rgba(8, 28, 36, 0.96) 42%);
}

.section-hub .hero {
  min-height: 0;
  height: auto;
}

.section-hub .hero h1 {
  max-width: 12em;
}

.section-hub .disclosure {
  max-width: 40rem;
  margin: 0;
  padding: 14px 16px;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 16px 16px;
  background: rgba(4, 22, 32, 0.72);
  color: #f4f8f7;
  font-size: 14.5px;
  line-height: 1.5;
}

.section-hub .disclosure a {
  color: #fff;
  font-weight: 700;
}

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

.hub-card-start {
  grid-column: 1 / -1;
  min-height: 0;
}

.related {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.related h2 {
  margin: 0 0 14px;
  color: #fff;
  font: 700 32px/1.15 var(--serif);
  letter-spacing: -0.03em;
}

.related ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.related li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  color: #f4f8f7;
  text-decoration: none;
  border: 1px solid rgba(168, 220, 214, 0.22);
  border-radius: 14px;
  background: rgba(8, 32, 42, 0.72);
}

.related li a:hover {
  border-color: rgba(240, 197, 106, 0.55);
  color: #fff;
}

.related-all {
  margin: 0;
}

@media (max-width: 820px) {
  .tile-grid,
  .hub-grid,
  .related ul {
    grid-template-columns: 1fr;
  }

  .hub-card-start {
    grid-column: auto;
  }

  .section-tile,
  .hub-card {
    min-height: 0;
  }

  .related {
    padding: 0 18px;
  }
}
