/* The public site and forum share the editorial edition. */
:root {
  --ink: #172823;
  --muted: #465a54;
  --deep: #101b24;
  --night: #14242b;
  --paper: #f5f5ee;
  --rule: #d7dfd5;
  --link: #24554a;
  --blue: #26584d;
  --teal: #26584d;
  --mint: #c4f37e;
  --sun: #f4b96b;
  --accent: #83bd65;
  --shadow: 0 16px 40px #1c392c10;
}
.site-header { background: #101b24; border-color: #3c4a4b; }
.header-grid { min-height: 70px; }
.brand-dot, .site-nav a[aria-current] { color: #c4f37e; }
.nav-actions .nav-account { color: #fff; }
.site-nav a { color: #e8eeee; }
.site-nav a:hover { color: #c4f37e; }
.hero {
  color: #fbfcf7;
  background: radial-gradient(ellipse 47% 88% at 80% 30%, #344f3e 0, transparent 86%),
              radial-gradient(ellipse 58% 80% at 12% 105%, #283a48 0, transparent 88%), #101b24;
}
.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding-block: clamp(2.8rem, 5vw, 5rem) 2.4rem; align-items: start; }
.hero-grid > div:first-child { padding-top: clamp(.4rem, 2vw, 2rem); }
.hero h1 { font-size: clamp(3rem, 5.25vw, 5.65rem); letter-spacing: -.062em; line-height: .99; max-width: 13ch; }
.hero .kicker { color: #d7ecad; font-size: .76rem; margin-bottom: 1rem; }
.hero h1 span { color: #c4f37e; }
.hero .lead { color: #d7e5dd; max-width: 49ch; }
.hero .search-form { max-width: 520px; border: 1px solid #e0e7d3; border-radius: .82rem; }
.hero .search-form .button, .hero .inline-actions .button:not(.secondary) { background: #c4f37e; color: #14231a; border-color: #c4f37e; }
.hero .button.secondary { color: #effcf5; border-color: #6b8376; }
.hero-media { display: grid; gap: .66rem; min-width: 0; }
.hero .device-photo { aspect-ratio: 2.03; margin: 0; border: 1px solid #688170; border-radius: 16px; }
.hero .device-photo::after { background: linear-gradient(0deg,#0b1519a0,transparent 55%); }
.hero .device-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 94% 49%; }
.hero-art figcaption { padding: .48rem .1rem 0; font-size: .8rem; color:#d0e0d6; }
.hero-inset {
  display: grid; grid-template-columns: minmax(90px, .36fr) minmax(0, 1fr); gap: .95rem;
  align-items: center; padding: .52rem; color: #f8fff6; text-decoration: none;
  background: #22342fe6; border: 1px solid #5f7767; border-radius: 12px;
}
.hero-inset img { width: 100%; max-height: 100px; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.hero-inset small { display: block; font-size: .8rem; color: #cbd9cf; }
.hero-inset:hover strong { color: #d8ffaa; }
.metrics { background: #1b2a30; border-color: #465a51; }
.metrics .wrap { padding-block: .82rem; gap: .7rem; }
.metric { position: relative; padding: .72rem 1.75rem .65rem .83rem; border: 1px solid #4b6054; border-radius: 9px; text-decoration: none; color: #d7e7dd; background: #223630; }
.metric strong { font-size: .97rem; }
.metric span {
  position: absolute; right: .82rem; top: .96rem; width: .44rem; height: .44rem;
  border-top: 1.5px solid #c4f37e; border-right: 1.5px solid #c4f37e; transform: rotate(45deg);
  font-size: 0;
}
.metric:hover { background: #2d483c; }
.media-band { background: #ebeee4; border-color: #d4dfd1; }
.rail-caption h2 { color: #233b2b; }
.rail-tile:not(.poster) { border-color: #d7e0d4; }
.page-hero {
  background: radial-gradient(ellipse 46% 110% at 100% 10%,#dcebdb,transparent 92%),
              radial-gradient(ellipse 60% 90% at 0% 58%,#fff3d8, transparent 95%), #f6f8ef;
  border-bottom-color: #d7dfd3;
}
.page-hero h1 { max-width: 23ch; }
.page-hero .lead { max-width: 69ch; }
.section.dark, .site-footer { background: #14252c; color: #f7fbf7; }
.section.dark .card { background: #213630; border-color: #536c5c; }
.section.dark .card a, .site-footer a { color: #e9f7ec; }
.site-footer h2 { color: #c9ec9b; }
.card, .editorial-index { border-color: #dbe3d8; }
.card h3 a:hover, .editorial-index a { color: #24554a; }
.card:hover { border-color: #8eaa99; }
.provider-section { background: #edf0e5; }
.provider-section-actions { margin: 0 0 1rem; scroll-margin-top: 96px; }
.provider-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.provider-card { border-radius: 15px; background: #fffffc; }
.provider-card-visual { position: relative; display: flex; min-height: 125px; }
.provider-card-visual > .provider-art { min-width: 0; width: 100%; height: auto; flex: 1; min-height: 130px; }
.provider-card-visual > .collection-cover { inset: 0; width: 100%; }
.collection-cover { overflow: hidden; background: #192629; }
.collection-cover img { width: 100%; min-height: 118px; aspect-ratio: 16/9; object-fit: contain; }
.provider-card-visual:has(.collection-cover) > .provider-art {
  position: absolute; inset: auto auto .54rem .54rem; height: 46px; width: 96px;
  min-height: 0; border: 1px solid #65766b; border-radius: 7px; padding: .24rem .33rem; box-shadow: 0 3px 9px #131e2b58;
}
.provider-card-visual:has(.collection-cover) > .provider-art img { height: 34px; width: 100%; object-fit: contain; }
.provider-art.light { background: #fffdf1; }
.provider-art.deep { background: radial-gradient(ellipse at 24% 18%,#3b5145,transparent 90%),#182424; }
.provider-card .domain { color: #4a6257; }
.provider-card .provider-copy { gap: .4rem; }
.provider-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .42rem; }
.provider-card-links .chip { font-size: .7rem; }
.provider-gallery-link { color: #24554a; font-size: .82rem; font-weight: 750; }
.provider-photo { background: #1b2b30; border-color: #516860; }
.provider-photo img { background: #19282c; }
.provider-photo figcaption, .editorial-photo figcaption { background: #eef3eb; color: #3f574b; }
.collection-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.collection-lead { max-width: 76ch; margin-bottom: 1.35rem; }
.case-note { margin-block: 1.4rem; padding: clamp(.95rem,2.6vw,1.75rem); border: 1px solid #a3bbab; border-radius: 14px; background: #eef3e5; }
.case-note p { max-width: 78ch; }
.case-note h2 { margin-bottom: .7rem; font-size: clamp(1.45rem,2.5vw,2rem); }
.profile-gallery { border-block: 1px solid var(--rule); margin-block: 1.55rem; padding-block: 1.45rem; }
.gallery-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .72rem; margin-bottom: .9rem; }
.gallery-intro h2 { font-size: clamp(1.4rem, 2.65vw, 2rem); }
.gallery-intro p { color: #4a6057; margin-top: .35rem; }
.gallery-grid, .collection-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gallery-item { min-width: 0; border-radius: 13px; border: 1px solid #d2dfd4; background: #fff; overflow: hidden; scroll-margin-top: 105px; }
.gallery-image { display: flex; flex-direction: column; justify-content: center; min-height: 0; background: #e3ebe3; }
.gallery-image img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.gallery-item figcaption { padding: .74rem .86rem .86rem; }
.gallery-item h3 { overflow-wrap: anywhere; }
.media-category { color: #3c6351; font-size: .73rem; font-weight: 770; margin-bottom: .3rem; }
.asset-size { color: #4f6258; font-size: .8rem; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.asset-links { display: flex; flex-wrap: wrap; gap: .25rem .78rem; margin-top: .55rem; font-size: .78rem; }
.photo-preview { display: grid; gap: .5rem; background: white; border: 1px solid #d6e0d7; border-radius: 10px; overflow: hidden; text-decoration: none; }
.photo-preview img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #243534; }
.photo-preview span { padding: .12rem .72rem .63rem; font-weight: 700; font-size: .86rem; }
.collection-index .card .collection-cover { margin: -.1rem -.1rem .7rem; border-radius: 8px; }
.forum-paths { margin: 1.8rem 0; }
.forum-paths > p { margin: .4rem 0 .82rem; color: var(--muted); }
.forum-paths .card { background: #eef4e9; }
.forum-boards { margin-bottom: 1.7rem; }
.forum-boards article:nth-child(3n+1) { border-top: 3px solid #6c9d69; }
.forum-boards article:nth-child(3n+2) { border-top: 3px solid #7099a7; }
.forum-boards article:nth-child(3n) { border-top: 3px solid #b78545; }
.editorial-index { background: #f9fbf5; }
.editorial-guide pre { background: #192820; }
@media(max-width:1090px) {
  .provider-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:830px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.9rem,9vw,5rem); }
  .hero-grid > div:first-child { padding-top: 0; }
  .hero .device-photo { aspect-ratio: 1.8; }
  .hero-inset { max-width: 540px; }
  .gallery-grid, .collection-index, .provider-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .hero-grid { padding-block: 2rem 1.5rem; }
  .hero .device-photo { aspect-ratio: 1.62; }
  .hero-inset { grid-template-columns: minmax(85px, .33fr) minmax(0,1fr); padding: .4rem; gap: .66rem; }
  .hero-inset strong { font-size: .88rem; }
  .metrics .wrap { gap: .52rem; }
  .metric { padding: .55rem 1.35rem .55rem .57rem; line-height: 1.45; }
  .metric strong { font-size: .9rem; }
  .metric span { right: .47rem; }
  .provider-card-visual { min-height: 100px; }
  .provider-card .provider-copy { padding: .61rem .65rem .72rem; }
  .provider-card-visual:has(.collection-cover) > .provider-art { width: 72px; height: 33px; inset: auto auto .38rem .38rem; padding: .16rem .21rem; }
  .provider-card-visual:has(.collection-cover) > .provider-art img { height: 25px; }
  .gallery-item figcaption { padding: .58rem .55rem .66rem; }
  .gallery-item h3 { font-size: 1rem; }
  .gallery-preview { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@font-face {
  font-family: Inter;
  src: url("type/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("type/bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif; }
.handbook-links { margin-top: 1.2rem; }
