:root {
  --ink: #172832;
  --muted: #4d6168;
  --surface: #fffdf7;
  --desk-night: #101c27;
  --desk-blue: #172e3e;
  --desk-mint: #bdf1d9;
  --desk-gold: #f3d092;
  --desk-line: #d3dedb;
}
body { background: #f4f5ed; color: var(--ink); }
.mast {
  background: #111d26;
  border-color: #2d454b;
  box-shadow: 0 5px 24px #1421272b;
}
.mast .brand b, .mast .nav-wide a:hover { color: var(--desk-mint); }
.mast .btn-lime, .forum-hero .btn-lime { background: var(--desk-gold); color: #15202a; }
.mast .btn-lime:hover, .forum-hero .btn-lime:hover { background: #ffe5b8; }
.forum-hero {
  color: #fffdf7;
  background: radial-gradient(ellipse at 92% 12%, #1e5753 0, transparent 53%),
              radial-gradient(ellipse at 24% 97%, #342e4e 0, transparent 57%),
              #101c27;
  border-color: #304953;
}
.forum-hero-grid { gap: clamp(1.3rem, 5vw, 5.8rem); padding-block: clamp(2.1rem, 6vw, 6.8rem); }
.home .forum-hero h1 { color: #fffaf0; font-size: clamp(3rem, 7.4vw, 8.1rem); line-height: .94; letter-spacing: -.055em; }
.home .forum-hero h1 em { color: var(--desk-gold); }
.forum-hero .forum-lede { color: #e4eeea; font-size: clamp(1.07rem, 2vw, 1.4rem); line-height: 1.55; max-width: 28rem; }
.forum-hero .btn-quiet { border-color: #83a29e; color: #f6fbf6; }
.forum-hero .hero-search input:not([type=checkbox]) { background: #101d25; border-color: #7e9c9c; color: #fff; }
.forum-hero .hero-search button { background: #294b50; color: #fff; }
.forum-hero-photo {
  border: 1px solid #86b5a265;
  border-radius: clamp(1rem, 2vw, 2rem);
  box-shadow: 0 24px 75px #040c1870;
}
.forum-hero-photo .desk-figure::after { background: linear-gradient(0deg,#08111bf2, #131e2680 30%,transparent 65%); }
.hero-links { display: flex; flex-wrap: wrap; gap: .52rem 1.05rem; margin-top: 1.12rem; }
.hero-links a { color: var(--desk-mint); font-size: .86rem; text-decoration-thickness: 1px; text-underline-offset: .19em; }
.home-topics { background: #e6eddf; border-color: #cbd9ce; }
.home-topics a { border-color: #8ca49a; }
.provider-strip { background: #f8f9f0; border-color: #d5dfd7; }
.provider-strip-grid>a { background: #fffff8; border-color: #d3ddd7; border-radius: .7rem; }
.provider-strip-grid>a>span { background: #172a38; border-radius: .35rem; }
.provider-showcase {
  background: radial-gradient(ellipse at 75% 12%,#245a5a,transparent 51%), linear-gradient(155deg,#111c29,#182334 64%,#283747);
  border-color: #2d4b53;
}
.provider-showcase .section-head h2 { color: #fffdf4; }
.provider-showcase .section-head p { color: #e0eeeb; }
.provider-showcase .section-head>a { color: var(--desk-gold); }
.atlas-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.85rem,2.25vw,1.75rem); }
.atlas-card {
  background: #fffdf6;
  border: 1px solid #cad8d1;
  border-radius: 1.15rem;
  box-shadow: 0 .75rem 1.5rem #101b2621;
  overflow: hidden;
}
.atlas-card:hover { border-color: #6a958a; }
.atlas-card .card-link { display: flex; flex-direction: column; height: 100%; }
.atlas-card .atlas-photo { background: #152536; border-bottom: 1px solid #2f4d52; }
.atlas-card .atlas-photo img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.atlas-card .atlas-copy { display: flex; flex-direction: column; flex: 1; gap: .8rem; padding: clamp(.85rem,1.6vw,1.35rem); }
.atlas-card-head { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.atlas-card-head>div:last-child { min-width: 0; }
.atlas-card .atlas-mark {
  display: grid;
  position: static;
  margin: 0;
  flex: 0 0 3.3rem;
  height: 2.65rem;
  place-items: center;
  background: #152534;
  border: 1px solid #263d49;
  border-radius: .52rem;
  padding: .18rem;
}
.atlas-card .atlas-mark.atlas-light { background: #f3f5ed; border-color: #cbdad0; }
.atlas-card .atlas-mark picture { display: grid; align-items: center; width: 100%; height: 100%; }
.atlas-card .atlas-mark img { width: 100%; height: 2rem; object-fit: contain; }
.atlas-card .atlas-copy h3 { margin: 0 0 .16rem; font-size: clamp(1.04rem,1.65vw,1.47rem); color: #162631; }
.atlas-card .atlas-domain { margin: 0; font-size: .78rem; color: #4d645f; }
.atlas-card .atlas-summary { margin: 0; color: #334a4d; font-size: .92rem; line-height: 1.45; }
.atlas-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .55rem;
  margin-top: auto;
  border-top: 1px solid #d6e0db;
  padding-top: .7rem;
}
.atlas-source { color: #4a6157; font-size: .75rem; }
.atlas-action { color: #214f48; font-size: .8rem; font-weight: 750; }
.atlas-card .card-link:hover .atlas-action, .atlas-card .card-link:focus-visible .atlas-action { text-decoration: underline; }
.story-card, .pricing-card, .desk-forum-tiles a { border-radius: .95rem; border-color: #cbd8d1; }
.story-card .story-art { background: #172d3a; }
.panel.field-note {
  background: #e9f0e5;
  border: 1px solid #c6d7c8;
  border-inline-start: .28rem solid #337363;
  margin-block: 1.2rem 1.8rem;
}
.reading .field-note h2 { margin-top: .4rem; }
.desk-section-mast.tone-dark, .page-intro.tone-dark { background: #183141; border-color: #37505b; }
.reading a, .long-read a { color: #225d53; text-underline-offset: .18em; }
.watch-rows { background: #e8efe6; border-color: #ccd9d3; }
.station-original { margin-block-start: 1.4rem; }
:focus-visible { outline: 3px solid #5275aa; outline-offset: 5px; }
.provider-showcase :focus-visible, .forum-hero :focus-visible, .mast :focus-visible { outline-color: #f0cd8d; }
@media (max-width: 900px) {
  .atlas-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .forum-hero-grid { padding-block: clamp(1.55rem,5vw,3.5rem); }
}
@media (max-width: 550px) {
  .atlas-grid { grid-template-columns: minmax(0,1fr); }
  .atlas-card .atlas-copy { padding: 1rem; }
  .hero-links { gap: .5rem .8rem; }
  .forum-hero-photo { border-radius: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-card *, .story-card * { transition: none; }
}

/* Put usable provider artwork alongside the homepage's first actions. */
.forum-hero .forum-hero-grid { align-items: center; gap: clamp(1.2rem,4vw,4rem); padding-block: clamp(1.9rem,4.25vw,4.75rem); }
.home-art-preview { min-width: 0; }
.home-art-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem .8rem; margin-bottom: .9rem; }
.home-art-title h2 { font-size: clamp(1.13rem,2.1vw,1.65rem); color: #fffaf0; }
.home-art-title>a { color: #c6f3df; font-size: .86rem; text-underline-offset: .2em; }
.home-art-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.homepage-mini {
  background: #142735;
  color: #fafff8;
  border: 1px solid #89b9a778;
  border-radius: .85rem;
  overflow: hidden;
  min-width: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.homepage-mini:first-child { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); }
.homepage-mini:hover { border-color: #f3d092; background: #203d46; }
.homepage-mini>picture, .homepage-mini>picture img { display: block; width: 100%; }
.homepage-mini>picture img { aspect-ratio: 16/9; height: 100%; object-fit: contain; background: #101a24; }
.homepage-mini-copy { padding: .65rem; display: flex; gap: .55rem; align-items: center; min-width: 0; }
.homepage-mini-copy picture { flex: 0 0 2.7rem; }
.homepage-mini-copy picture img { width: 100%; height: 2rem; object-fit: contain; }
.homepage-mini-copy strong, .homepage-mini-copy span { display: block; overflow-wrap: anywhere; }
.homepage-mini-copy strong { font-size: .91rem; line-height: 1.2; }
.homepage-mini-copy span { font-size: .74rem; color: #d2e6de; margin-top: .24rem; }
.provider-showcase .section { padding-top: clamp(1.5rem,4vw,3rem); }
@media (min-width: 901px) {
  .home .forum-hero h1 { font-size: clamp(3.4rem,6.6vw,7.1rem); }
}
@media (max-width: 480px) {
  .homepage-mini-copy { flex-wrap: wrap; }
  .homepage-mini-copy picture { flex-basis: 2.4rem; }
}
.forum-category-card {
  overflow: hidden;
  border: 1px solid #cad8d1;
  border-radius: .9rem;
  background: #fffdf6;
}
.category.forum-category-card { display: block; padding: 0; }
.category.forum-category-card>div { padding: .95rem; }
.forum-category-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #152536;
}
