/* Terpene Atlas design system. Hand-written component CSS (not Tailwind utilities), so
   no build/rebuild is needed and it loads as a same-origin stylesheet under the strict
   CSP (style-src 'self'). Per-terpene accents ride CSS custom properties set with an
   inline style= on .atlas (CSP allows 'unsafe-inline' for styles). Dark, cinematic,
   editorial · built on the site's own tokens (slate-950 canvas, Space Grotesk display,
   Inter body) plus a tabular-mono numeric voice. */

.atlas {
  --bg: #050406;
  --accent: #10b981;
  --accent2: #34d399;
  --accent3: #10b981;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --faint: #64748b;
  --line: #1e293b;
  --panel: #0b1120;
  --card: #0f172a;
  --num: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --display: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}

/* Break a section out of base.html's max-w-6xl <main> to true viewport width, so scenes
   can go edge-to-edge and still live inside the shared chrome. */
.atlas-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Content band: fills its section edge-to-edge with a ~10% gutter each side — no fixed
   max-width cap — so every scene reads wide and full-bleed per the owner's art direction.
   The 100vw breakout lives on .scene / .atlas-bleed; this class only sets the side gutter.
   Long-form text keeps its own readable measure via .lede/.tagline max-widths. */
.atlas-wrap { box-sizing: border-box; padding-inline: 10vw; }
.atlas-wrap-narrow { box-sizing: border-box; padding-inline: 15vw; }

/* ---- scene rhythm --------------------------------------------------------------- */
/* Every scene bleeds to true viewport width (like .atlas-bleed) so its background and the
   full-width divider span edge-to-edge, escaping base.html's max-w-6xl <main>. Horizontal
   inset is owned by the inner .atlas-wrap (10vw gutter); scenes only carry vertical rhythm.
   Redundant with .atlas-bleed on the hero/final scenes — identical values, so it composes. */
.scene { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
  padding: clamp(3.5rem, 8vw, 7rem) 0; }
.scene + .scene { border-top: 1px solid rgba(255,255,255,.04); }
.scene-dark { background:
  radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
  var(--bg); }
.scene-panel { background: linear-gradient(180deg, #060810, var(--bg)); }

/* a bright "research card" surface · the light counterpoint to the dark scenes */
.scene-light { background: #f6f4ef; color: #14110c; }
.scene-light .eyebrow { color: #7c6f57; }
.scene-light .scene-title { color: #14110c; }
.scene-light .lede { color: #3f3a30; }
.scene-light .lede em { color: #14110c; }
.scene-light .material { background: #ddd6c6; border-color: #ddd6c6; }
.scene-light .material .cell { background: #fbfaf5; }
.scene-light .material .cell .k { color: #8a7d63; }
.scene-light .material .cell .v { color: #1c1913; }
.scene-light .source-chip { background: #fbfaf5; border-color: #ddd6c6; color: #2a2620; }
.scene-light .scope { color: #8a7d63; border-color: #cfc6b2; }

.eyebrow {
  font-family: var(--num);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent2); margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }

.scene-title {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.lede { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 42rem; }

/* ---- hero ----------------------------------------------------------------------- */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: center;
  padding: clamp(2.5rem, 5vh, 4.5rem) 0 clamp(2rem, 4vh, 3.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(2rem, 5vh, 3rem); }
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: .92;
  /* Owner note: hero font must be much brighter/more legible than the reference. */
  font-size: clamp(3.2rem, 12vw, 7rem); margin: .4rem 0 .6rem;
  color: #ffffff;
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent);
}
.hero .pronounce { font-family: var(--num); color: var(--muted); font-size: .95rem; letter-spacing: .04em; }
.hero .tagline { color: #cbd5e1; font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 34rem; margin: 1rem 0 1.6rem; }

.aroma-rota { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; }
.aroma-rota .chip {
  font-size: .82rem; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  color: #e2e8f0; background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* at-a-glance data rail */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 640px) { .rail { grid-template-columns: repeat(2, 1fr); } }
.rail .cell { background: var(--card); padding: .9rem 1rem; }
.rail .cell .k { font-family: var(--num); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.rail .cell .v { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.02rem; margin-top: .25rem; }

.hero-visual { display: grid; place-items: center; min-width: 0; }
.hero-stage { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 480px; margin: 0; }
.hero-stage canvas { width: 100%; height: 100%; display: block; }
.hero-stage .poster { position: absolute; inset: 0; display: grid; place-items: center; }

/* Owner render hero: a black-ground clip. object-fit cover crops the black side margins to the
   square; mix-blend screen turns the remaining black transparent, so only the subject glows over
   the scene. Poster (the transparent master still) holds the frame with no JS or reduced motion. */
.hero-stage-media { overflow: hidden; }
.hero-video, .hero-stage-media img { width: 100%; height: 100%; display: block; object-fit: cover;
  mix-blend-mode: screen; }

/* Full-bleed macro interlude: an extreme close-up of the resin between scenes. */
.macro-band { position: relative; height: clamp(200px, 34vw, 380px); overflow: hidden; }
.macro-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.macro-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,4,6,.85), transparent 26%, transparent 74%, rgba(5,4,6,.9)); }
.macro-band-cap { position: absolute; left: clamp(1rem, 4vw, 3rem); bottom: .9rem; z-index: 1;
  color: var(--ink); text-shadow: 0 1px 14px rgba(0,0,0,.85); }

/* Botanical sources collage (transparent render): the specimens the terpene occurs in. */
.sources-figure { margin: 1.5rem 0 .25rem; text-align: center; }
.sources-collage { width: 100%; max-width: 760px; height: auto; display: inline-block;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,.5)); }

.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  font-family: var(--num); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.scroll-hint .dot { width: 2px; height: 26px; border-radius: 2px;
  background: linear-gradient(var(--accent), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { opacity: .3; transform: translateY(0);} 50% { opacity: 1; transform: translateY(4px);} }

/* ---- giant number --------------------------------------------------------------- */
.bignum { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: .9;
  font-size: clamp(4rem, 20vw, 15rem);
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent) 75%, #fff));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; }
.bignum-unit { font-family: var(--num); color: var(--muted); font-size: clamp(1rem,2vw,1.4rem); letter-spacing: .1em; }
.bignum-fact { display: grid; justify-items: center; gap: .85rem; }
.bignum-context { display: inline-flex; align-items: center; justify-content: center; margin: 0;
  padding: .45rem .85rem; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--card));
  color: #f8fafc; font-family: var(--num); font-size: clamp(.72rem, 1.2vw, .88rem);
  font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }

/* ---- evidence chips ------------------------------------------------------------- */
.ev { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--num);
  font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem;
  border-radius: 999px; border: 1px solid; white-space: nowrap; }
.ev::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: currentColor; }
.ev-emerald { color: #34d399; border-color: #34d39955; }
.ev-teal { color: #2dd4bf; border-color: #2dd4bf55; }
.ev-sky { color: #38bdf8; border-color: #38bdf855; }
.ev-violet { color: #a78bfa; border-color: #a78bfa55; }
.ev-indigo { color: #818cf8; border-color: #818cf855; }
.ev-amber { color: #fbbf24; border-color: #fbbf2455; }
.ev-fuchsia { color: #e879f9; border-color: #e879f955; }
.ev-slate { color: #94a3b8; border-color: #94a3b855; }
.ev-rose { color: #fb7185; border-color: #fb718555; }

/* ---- claim cards ---------------------------------------------------------------- */
.claim { border: 1px solid var(--line); background: var(--card); border-radius: 12px;
  padding: 1rem 1.1rem; display: grid; gap: .55rem; }
.claim p { margin: 0; color: #dbe2ea; font-size: .95rem; }
.claim .meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.claim .scope { font-family: var(--num); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); border: 1px dashed var(--line); border-radius: 6px; padding: .1rem .4rem; }
.claim .lim { color: var(--faint); font-size: .8rem; }
.cite { font-family: var(--num); font-size: .68rem; color: var(--accent2); text-decoration: none;
  border-bottom: 1px dotted currentColor; }
.cite:hover { color: #6ee7b7; }

/* evidence ladder */
.ladder { display: grid; gap: .5rem; }
.rung { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: start;
  border-left: 2px solid var(--line); padding: .6rem 0 .6rem 1rem; }
@media (max-width: 640px) { .rung { grid-template-columns: 1fr; gap: .35rem; } }
.rung .tier { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.rung .tier small { display: block; color: var(--faint); font-family: var(--num); font-size: .62rem;
  letter-spacing: .08em; text-transform: uppercase; margin-top: .15rem; }
.rung ul { margin: 0; padding-left: 1.1rem; color: #cbd5e1; font-size: .9rem; display: grid; gap: .35rem; }

/* ---- aroma spectrum ------------------------------------------------------------- */
.spectrum { display: grid; gap: .5rem; }
.spectrum .bar { display: flex; height: 3.4rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.spectrum .seg { position: relative; display: flex; align-items: flex-end; padding: .5rem .6rem;
  min-width: 0; color: #0b1120; font-weight: 600; font-size: .78rem; }
.spectrum .seg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spectrum .legend { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .78rem; color: var(--muted); }
.spectrum .legend .k { display: inline-flex; align-items: center; gap: .35rem; }
.spectrum .legend .sw { width: .7rem; height: .7rem; border-radius: 3px; }

/* ---- material card -------------------------------------------------------------- */
.material { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 640px) { .material { grid-template-columns: 1fr; } }
.material .cell { background: var(--card); padding: 1.1rem 1.2rem; }
.material .cell .k { font-family: var(--num); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.material .cell .v { color: var(--ink); margin-top: .3rem; }

/* ---- source constellation / neighborhood chips ---------------------------------- */
.sources-grid, .neigh { display: flex; flex-wrap: wrap; gap: .6rem; }
.source-chip, .neigh a, .neigh span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: #dbe2ea; font-size: .9rem; text-decoration: none; }
.neigh a:hover { border-color: var(--accent); color: #fff; box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.source-chip .em { font-size: 1.1rem; }

/* ---- "where it sits" comparison tracks ------------------------------------------ */
/* Each axis is a low→high track; every authored terpene is a dot, THIS one lit + named,
   the rest faint. Same lit-on-dark language as the retired attribute grid, but the data
   is objective chemistry/occurrence, not evidence coverage. */
.compare { display: grid; gap: 1.7rem; }
.crow { border-left: 2px solid var(--line); padding: .1rem 0 .1rem 1rem; }
.chead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.chead .clabel { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.chead .ctrack-meta { display: inline-flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.chead .cvalue { font-family: var(--num); color: var(--accent2); font-size: .82rem; letter-spacing: .04em;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctrack-static { color: #cbd5e1; font-family: var(--num); font-size: .58rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ctrack-static::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem;
  border: 1px solid currentColor; border-radius: 50%; vertical-align: .02rem; }
.ccap { color: var(--muted); font-size: .8rem; margin: .15rem 0 0; }
.ctrack { position: relative; height: 3.6rem; margin-top: 1.6rem; }
.ctrack .cline { position: absolute; left: 4%; right: 4%; top: 2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 5%, var(--line)),
    color-mix(in srgb, var(--accent) 55%, var(--line))); }
.ctrack .cend { position: absolute; top: 2.55rem; font-family: var(--num); font-size: .56rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint); max-width: 45%; }
.ctrack .cend-lo { left: 0; }
.ctrack .cend-hi { right: 0; text-align: right; }
.cmark { position: absolute; top: 2rem; transform: translate(-50%, -50%); }
.cmark .cdot { display: block; width: .5rem; height: .5rem; border-radius: 999px;
  background: var(--faint); opacity: .45; box-shadow: 0 0 0 3px color-mix(in srgb, var(--bg) 70%, transparent); }
.cmark.this { z-index: 4; }
.cmark.this .cdot { width: .95rem; height: .95rem; opacity: 1; background: var(--accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 65%, transparent),
    0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.cmark .cname { position: absolute; left: 50%; bottom: calc(100% + .45rem); transform: translateX(-50%);
  font-family: var(--num); font-size: .64rem; letter-spacing: .03em; color: var(--ink); white-space: nowrap;
  padding: .12rem .45rem; border-radius: 7px; background: color-mix(in srgb, var(--accent) 15%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); }
/* JS-armed staggered plot-in (mirrors the retired grid light-up). Only added by JS when
   motion is allowed, so no-JS and reduced-motion keep every dot at its final position. */
.compare.is-armed .cmark { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
.compare.is-armed .cmark { transition: opacity .5s ease, transform .55s cubic-bezier(.2,.9,.3,1.2); }
.compare.is-armed .cmark.is-plotted { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* text/table equivalent of the tracks */
.compare-table { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 32rem; }
.compare-table th, .compare-table td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums; }
.compare-table thead th { font-family: var(--num); font-size: .6rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--faint); font-weight: 600; }
.compare-table tbody th { font-family: var(--display); font-weight: 600; color: var(--ink); }
.compare-table td { color: var(--muted); }
.compare-table tr.this { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.compare-table tr.this th, .compare-table tr.this td { color: var(--ink); }

/* ---- myth / caveat split -------------------------------------------------------- */
.myth { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .myth { grid-template-columns: 1fr; } }
.myth .side { border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.35rem; }
.myth .myth-side { background: linear-gradient(180deg, rgba(251,113,133,.06), transparent); }
.myth .fact-side { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent); }
.myth h3 { font-family: var(--display); margin: 0 0 .5rem; font-size: 1.15rem; }
.myth .tag { font-family: var(--num); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---- caveat banner (mandatory cross-page) --------------------------------------- */
.caveats { display: grid; gap: .55rem; }
.caveat { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; align-items: start;
  color: #cbd5e1; font-size: .9rem; }
.caveat .m { color: var(--accent2); }

/* ---- CTA rail ------------------------------------------------------------------- */
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
.cta { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .1s; }
.cta:hover { border-color: var(--accent); transform: translateY(-2px); }
.cta .t { font-family: var(--display); font-weight: 600; }
.cta .d { color: var(--muted); font-size: .82rem; }
.cta-primary { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); }

.atlas-modes { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 1rem;
  padding: .35rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(2,6,23,.45); }
.atlas-mode { min-height: 2.75rem; padding: .5rem .95rem; border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--muted); font-family: var(--display); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition:background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.atlas-mode:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--ink); }
.atlas-mode[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #07110d;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent), 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent); }

.prevnext { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.prevnext a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.prevnext a:hover { color: var(--ink); }
.prevnext .dir { font-family: var(--num); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

.reviewed { font-family: var(--num); font-size: .72rem; color: var(--faint); }

/* ---- index ---------------------------------------------------------------------- */
.atlas-index-hero { text-align: center; width: 100vw; margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%); padding: clamp(3rem,8vh,6rem) 10vw 2rem; }
.atlas-index-hero h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 8vw, 5rem); color: #fff; margin: .5rem 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.tcard { position: relative; display: block; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.25rem; background: var(--card); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .1s; }
.tcard:hover { transform: translateY(-3px); border-color: var(--tc, #10b981); }
.tcard .glow { position: absolute; inset: -40% 40% 60% -10%; background: radial-gradient(closest-side, var(--tc,#10b981), transparent);
  opacity: .18; pointer-events: none; }
.tcard .num { font-family: var(--num); font-size: .68rem; color: var(--faint); letter-spacing: .1em; }
.tcard h2 { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.5rem; margin: .4rem 0 .2rem; position: relative; }
.tcard .cls { font-family: var(--num); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tc,#94a3b8); }
.tcard .aroma { color: var(--muted); font-size: .85rem; margin-top: .6rem; position: relative; }
.tcard .swatch { display: flex; gap: 4px; margin-top: .8rem; }
.tcard .swatch i { width: 1.1rem; height: .4rem; border-radius: 2px; }
.tcard.soon { opacity: .62; }
.tcard.soon .tag { position: absolute; top: .8rem; right: .8rem; font-family: var(--num); font-size: .55rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: .12rem .45rem; }

/* ---- disclaimer strip ----------------------------------------------------------- */
.atlas-disclaimer { border: 1px solid var(--line); border-radius: 12px; background: rgba(2,6,23,.4);
  padding: 1rem 1.15rem; color: var(--faint); font-size: .78rem; line-height: 1.5; }
.atlas-disclaimer a { color: var(--muted); text-decoration: underline; }

/* ---- reveal-on-scroll (progressive enhancement; JS adds .is-in) ------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-hint .dot { animation: none; }
}
