/* The Living Atlas homepage hero. Ported from the prototype (D:/site-home/atlas-v2/src/atlas.css, 12 Oct 2026).
   EVERY selector is scoped under .atlas-hero, so nothing leaks into other pages (the floating homepage header's styles
   live in client/src/components/marketing-chrome.css, [data-atlas-header]). This file is served twice, byte-identical (a test holds them together): imported by AtlasHero.tsx, and as
   /atlas/atlas-hero.css for the server's phone first paint. Self-hosted fonts only (no third-party font request). */
@font-face { font-family: "Atlas Display"; src: url("/atlas/fonts/libre-caslon-display-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atlas Sans"; src: url("/atlas/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atlas Sans"; src: url("/atlas/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Atlas Sans"; src: url("/atlas/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

.atlas-hero {
  --ink: #f3ece0; --ink-2: rgba(243, 236, 224, .80); --ink-3: rgba(243, 236, 224, .68);
  --night: #050c1c; --copper: #d9a873; --copper-2: #f0c58d;
  --serif: "Atlas Display", "Libre Caslon Display", Georgia, serif;
  --sans: "Atlas Sans", Manrope, ui-sans-serif, system-ui, sans-serif;
  /* the homepage header floats over the hero (MarketingHeader [data-atlas-header]); the seasonal ribbon sits under it */
  --head: 80px; --rib: 0px;
  /* the painted stage: one screen tall, whatever the hero's content grows to */
  --stage-h: max(100svh, 560px);
  position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; text-align: left;
}
.atlas-hero:has(> .hrcs-ribbon) { --rib: 44px; }
html[data-rcs-ribbon="off"] .atlas-hero { --rib: 0px; }
.atlas-hero *, .atlas-hero *::before, .atlas-hero *::after { box-sizing: border-box; }
.atlas-hero a { color: inherit; }
.atlas-hero .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the painted, living world ---------- */
.atlas-hero .plate { position: absolute; left: 0; right: 0; top: 0; height: var(--stage-h); z-index: 0; overflow: hidden; }
.atlas-hero .plate-img, .atlas-hero .plate-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--plate-x, 72%) 50%; }
.atlas-hero .plate-video { opacity: 0; transition: opacity 1.4s ease; }
.atlas-hero .plate-video.is-live { opacity: 1; }
.atlas-hero .plate-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--night) 0%, rgba(5, 12, 28, 0) 5%),
    linear-gradient(90deg, rgba(4, 9, 22, .86) 0%, rgba(4, 9, 22, .62) 26%, rgba(4, 9, 22, .18) 48%, rgba(4, 9, 22, 0) 60%),
    linear-gradient(0deg, rgba(4, 9, 22, .78) 0%, rgba(4, 9, 22, .2) 22%, rgba(4, 9, 22, 0) 36%),
    linear-gradient(180deg, rgba(4, 9, 22, .55) 0%, rgba(4, 9, 22, 0) 14%),
    radial-gradient(60% 34% at 78% 0%, rgba(4, 9, 22, .55), rgba(4, 9, 22, 0) 70%),
    radial-gradient(70% 30% at 70% 100%, rgba(4, 9, 22, .62), rgba(4, 9, 22, 0) 75%); }

.atlas-hero .globe-host { position: absolute; z-index: 1; left: 0; top: 0; width: 10px; height: 10px; }
.atlas-hero .globe-host canvas { display: block; cursor: grab; }

/* ---------- the seasonal ribbon, under the floating header ---------- */
.atlas-hero > .hrcs-ribbon { position: relative; z-index: 5; margin-top: var(--head); height: 44px; min-height: 44px; flex-wrap: nowrap;
  background: rgba(5, 12, 28, .46); border-top: 1px solid rgba(240, 197, 141, .14); border-bottom: 1px solid rgba(240, 197, 141, .26);
  backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); }
.atlas-hero > .hrcs-ribbon .hrcs-ribbon__text { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
@media (max-width: 380px) {
  .atlas-hero > .hrcs-ribbon { font-size: 13px; padding-left: 14px; }
  /* the link names the offer on its own; the question is dropped where both cannot fit on one line */
  .atlas-hero > .hrcs-ribbon .hrcs-ribbon__dot, .atlas-hero > .hrcs-ribbon .hrcs-ribbon__text > span:not(.hrcs-ribbon__dot) { display: none; }
}
html[data-rcs-ribbon="off"] .atlas-hero > .hrcs-ribbon { display: none; }

/* ---------- hero ---------- */
.atlas-hero .hero { position: relative; z-index: 3; min-height: calc(var(--stage-h) - var(--head) - var(--rib)); padding: 0 clamp(20px, 4.2vw, 64px); display: grid; grid-template-rows: 1fr auto auto; }
.atlas-hero > .plate + .hero { margin-top: var(--head); }
.atlas-hero .hero-copy { align-self: center; max-width: 600px; padding-top: 16px; }
.atlas-hero .eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--copper); }
.atlas-hero .atlas-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.1vw, 92px); line-height: .98; letter-spacing: -.012em; color: #fbf6ec; text-wrap: balance; }
.atlas-hero .atlas-title span { display: block; }
.atlas-hero .lede { margin: 26px 0 34px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); }

.atlas-hero .ask { position: relative; display: flex; align-items: center; max-width: 520px; height: 60px; border-radius: 30px; margin: 0;
  background: linear-gradient(180deg, rgba(250, 246, 238, .14), rgba(250, 246, 238, .07)); border: 1px solid rgba(240, 220, 190, .28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 18px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); transition: border-color .3s, box-shadow .3s; }
.atlas-hero .ask:focus-within { border-color: rgba(240, 197, 141, .7); box-shadow: 0 0 0 4px rgba(217, 168, 115, .16), 0 18px 50px rgba(0, 0, 0, .35); }
.atlas-hero .ask input { flex: 1; min-width: 0; height: 100%; padding: 0 22px 0 24px; border: 0; background: transparent; color: var(--ink); font: 500 17px/1 var(--sans); outline: none; -webkit-appearance: none; appearance: none; }
.atlas-hero .ask input::placeholder { color: var(--ink-3); opacity: 1; }
.atlas-hero .ask input::-webkit-search-cancel-button { filter: invert(.9) sepia(.4); }
.atlas-hero .ask button { flex: none; width: 46px; height: 46px; margin-right: 7px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #1a1208;
  background: radial-gradient(circle at 35% 30%, #f6d3a2, #d39a5e 62%, #a8703c); box-shadow: 0 6px 18px rgba(217, 168, 115, .35); transition: transform .25s; }
.atlas-hero .ask button:hover { transform: translateX(2px); }
.atlas-hero .ask button:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
.atlas-hero .ask-try { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.atlas-hero .ask-try button { font: 500 13px var(--sans); color: var(--ink-2); background: rgba(250, 246, 238, .06); border: 1px solid rgba(240, 220, 190, .16); border-radius: 999px; padding: 6px 12px; min-height: 32px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.atlas-hero .ask-try button:hover, .atlas-hero .ask-try button:focus-visible { color: var(--ink); background: rgba(217, 168, 115, .16); border-color: rgba(240, 197, 141, .5); outline: none; }

.atlas-hero .route { list-style: none; margin: 18px 0 0; padding: 0; max-width: 520px; display: grid; gap: 6px; }
.atlas-hero .route:empty { display: none; }
.atlas-hero .route li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(8, 16, 36, .62); border: 1px solid rgba(240, 220, 190, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px); animation: atlasRouteIn .5s ease forwards; }
.atlas-hero .route li:nth-child(2) { animation-delay: .12s; } .atlas-hero .route li:nth-child(3) { animation-delay: .24s; } .atlas-hero .route li:nth-child(4) { animation-delay: .36s; }
@keyframes atlasRouteIn { to { opacity: 1; transform: none; } }
.atlas-hero .route li > div { min-width: 0; }
.atlas-hero .route .r-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--sans); color: #1a1208; background: var(--copper); }
.atlas-hero .route .r-step { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); }
.atlas-hero .route a { display: block; margin-top: 1px; font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 4px; }
.atlas-hero .route a:hover, .atlas-hero .route a:focus-visible { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.atlas-hero .route a:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
.atlas-hero .route .r-why { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- portals on the copper thread ---------- */
.atlas-hero .portals { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 34px); padding: 34px 0 14px; }
.atlas-hero .portal-thread { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.atlas-hero .portal-thread path { fill: none; stroke: rgba(217, 168, 115, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.atlas-hero .portal { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px 4px 6px 0; text-decoration: none; color: var(--ink); outline: none; border-radius: 6px; }
.atlas-hero .portal::before { content: ""; position: absolute; left: 0; top: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(217, 168, 115, .14), 0 0 18px rgba(240, 197, 141, .55); transition: transform .35s, box-shadow .35s; }
.atlas-hero .p-word { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-top: 8px; }
.atlas-hero .p-title { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 27px); line-height: 1.12; }
.atlas-hero .p-line { font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 30ch; transition: color .3s; }
.atlas-hero .p-go { position: absolute; right: 6px; top: 26px; font-size: 18px; color: var(--copper); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.atlas-hero .portal:hover .p-line, .atlas-hero .portal:focus-visible .p-line { color: var(--ink-2); }
.atlas-hero .portal:hover .p-go, .atlas-hero .portal:focus-visible .p-go { opacity: 1; transform: none; }
.atlas-hero .portal:hover::before, .atlas-hero .portal:focus-visible::before { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(217, 168, 115, .22), 0 0 30px rgba(240, 197, 141, .9); }
.atlas-hero .portal:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 6px; }
.atlas-hero .portal:focus-visible .p-title { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }
.atlas-hero .portal--season .p-word::after { content: "In season"; display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .14em; color: #1a1208; background: var(--copper-2); white-space: nowrap; vertical-align: 1px; }
.atlas-hero .trust { margin: 6px 0 22px; font-size: 13px; color: var(--ink-3); }
.atlas-hero .trust span + span::before { content: "·"; margin: 0 .7em; color: var(--copper); opacity: .7; }

/* ---------- place tooltip ---------- */
.atlas-hero .place-tip { position: fixed; z-index: 60; left: 0; top: 0; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: rgba(8, 16, 36, .86); border: 1px solid rgba(240, 197, 141, .35); backdrop-filter: blur(10px);
  font-size: 14px; color: var(--ink); opacity: 0; transform: translate(14px, -50%); transition: opacity .2s; white-space: nowrap; }
.atlas-hero .place-tip.is-on { opacity: 1; }
.atlas-hero .place-tip b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; margin-bottom: 2px; }
.atlas-hero .place-tip span { color: var(--copper-2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- route pins on the globe ---------- */
.atlas-hero .route-pins { position: absolute; left: 0; top: 0; width: 100%; height: var(--stage-h); z-index: 2; pointer-events: none; }
.atlas-hero .route-pin { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font: 600 12px var(--sans); color: #1a1208; background: radial-gradient(circle at 35% 30%, #fbe0b4, #e0a868 60%, #b07a44);
  box-shadow: 0 0 0 3px rgba(240, 197, 141, .22), 0 0 22px rgba(255, 210, 150, .75); opacity: 0; transition: opacity .35s; will-change: transform; }
.atlas-hero .route-pin.is-on { opacity: 1; }

.atlas-hero .route-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; max-width: 520px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.atlas-hero .route-msg:empty { display: none; }
.atlas-hero .route-msg .ra-k { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--ink-3); margin-right: 4px; }
.atlas-hero .route-msg b { font-weight: 500; color: var(--ink); padding: 4px 10px; border-radius: 999px; background: rgba(217, 168, 115, .12); border: 1px solid rgba(240, 197, 141, .28); }
.atlas-hero .route-msg em { font-style: normal; color: var(--ink-3); margin-left: 4px; }
.atlas-hero .route-msg .ra-m { flex-basis: 100%; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.atlas-hero .r-suggest { display: flex !important; flex-wrap: wrap; gap: 8px; grid-template-columns: none !important; }
.atlas-hero .r-suggest button, .atlas-hero .r-suggest a { font: 500 13px var(--sans); color: var(--ink-2); background: rgba(250, 246, 238, .06); border: 1px solid rgba(240, 220, 190, .16); border-radius: 999px; padding: 6px 12px; cursor: pointer; text-decoration: none; }
.atlas-hero .r-suggest button:focus-visible, .atlas-hero .r-suggest a:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 2px; }

/* ---------- answer mode: the hero gives way to the route ---------- */
.atlas-hero .atlas-title, .atlas-hero .lede, .atlas-hero .eyebrow { transition: font-size .55s cubic-bezier(.2,.7,.2,1), margin .55s cubic-bezier(.2,.7,.2,1), opacity .4s, max-height .55s; }
.atlas-hero .lede { max-height: 200px; overflow: hidden; }
.atlas-hero .hero.is-answering .atlas-title { font-size: clamp(30px, 3.1vw, 46px); }
.atlas-hero .hero.is-answering .lede { max-height: 0; opacity: 0; margin: 10px 0 18px; }
.atlas-hero .hero.is-answering .ask-try { display: none; }

/* ---------- the product artifacts around the globe, threaded to their nodes ---------- */
.atlas-hero .threads { position: absolute; left: 0; top: 0; width: 100%; height: var(--stage-h); z-index: 2; pointer-events: none; overflow: visible; }
.atlas-hero .threads path { fill: none; stroke: url(#atlas-thread-g); stroke-width: 1.1; opacity: .75; transition: opacity .5s, stroke-width .3s; }
.atlas-hero .threads path.spark { stroke: #ffe6bd; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 140; opacity: .9; animation: atlasSpark 3.6s linear infinite; filter: drop-shadow(0 0 3px rgba(255, 214, 160, .9)); }
.atlas-hero .threads path.is-far { opacity: .12; }
.atlas-hero .threads path.is-hot { opacity: 1; stroke-width: 1.6; }
@keyframes atlasSpark { from { stroke-dashoffset: 142; } to { stroke-dashoffset: 0; } }
.atlas-hero .artifacts { position: absolute; left: 0; top: 0; width: 100%; height: var(--stage-h); z-index: 4; pointer-events: none; }
.atlas-hero .artifact { position: absolute; left: 0; top: 0; width: var(--s, 120px); pointer-events: none; visibility: hidden; text-decoration: none; color: var(--ink); outline: none; z-index: 4;
  transform: translate(calc(var(--x, -999px) - 50%), calc(var(--y, -999px) - 50%)); opacity: 0; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.atlas-hero .artifacts.is-on .artifact { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 1.2s ease, visibility 0s; }
.atlas-hero .artifact img { position: relative; display: block; width: 100%; height: auto; transform-origin: 50% 60%;
  animation: atlasFloat var(--dur, 7s) ease-in-out infinite alternate; animation-delay: var(--del, 0s);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
/* The cast shadow and the halo are their own layers, not a filter on the image: a filter on the image (or an ancestor)
   inflates its painted rect, which made a decorative artifact the page's Largest Contentful Paint once the stage arrived. */
.atlas-hero .artifact::before, .atlas-hero .artifact::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; transition: opacity .5s, transform .5s; }
.atlas-hero .artifact::before { left: 10%; right: 10%; top: 62%; height: 44%; transform: translateY(16px); opacity: .9;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .58), rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, 0)); }
.atlas-hero .artifact::after { inset: -14%; opacity: .55; background: radial-gradient(closest-side, rgba(120, 160, 255, .12), rgba(120, 160, 255, 0)); }
@keyframes atlasFloat { from { translate: 0 -5px; rotate: -1.2deg; } to { translate: 0 5px; rotate: 1.2deg; } }
.atlas-hero .artifact:hover img, .atlas-hero .artifact:focus-visible img, .atlas-hero .artifact.is-route img { transform: scale(1.08); }
.atlas-hero .artifact:hover::before, .atlas-hero .artifact:focus-visible::before, .atlas-hero .artifact.is-route::before { opacity: 1; transform: translateY(20px) scale(1.06); }
.atlas-hero .artifact:hover::after, .atlas-hero .artifact:focus-visible::after, .atlas-hero .artifact.is-route::after { opacity: 1; background: radial-gradient(closest-side, rgba(255, 205, 140, .30), rgba(255, 205, 140, 0)); }
.atlas-hero .artifact:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 4px; border-radius: 12px; }
.atlas-hero .art-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); white-space: nowrap; text-align: center; opacity: 0; transition: opacity .35s, transform .35s; pointer-events: none;
  padding: 7px 12px; border-radius: 12px; background: rgba(8, 16, 36, .82); border: 1px solid rgba(240, 197, 141, .3); backdrop-filter: blur(10px); }
.atlas-hero .art-label b { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; }
.atlas-hero .art-label span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-2); }
.atlas-hero .artifact:hover .art-label, .atlas-hero .artifact:focus-visible .art-label { opacity: 1; transform: translate(-50%, 10px); }
.atlas-hero .artifact:hover, .atlas-hero .artifact:focus-visible { z-index: 6; }
.atlas-hero .art-n { position: absolute; right: 6%; top: 4%; width: 24px; height: 24px; border-radius: 50%; display: none; place-items: center; font: 600 12px var(--sans); font-style: normal; color: #1a1208;
  background: radial-gradient(circle at 35% 30%, #fbe0b4, #e0a868 60%, #b07a44); box-shadow: 0 0 0 3px rgba(240, 197, 141, .22), 0 0 18px rgba(255, 210, 150, .7); }
.atlas-hero .artifact.is-route .art-n { display: grid; }

/* the demo question the page asks itself on a first visit */
.atlas-hero .demo-note { display: none; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-2); }
.atlas-hero .demo-note button { font: 500 12px var(--sans); letter-spacing: .04em; text-transform: none; color: var(--ink-2); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }
.atlas-hero .demo-note button:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 2px; }
.atlas-hero .hero.is-demo .demo-note { display: flex; }
.atlas-hero .ask input.is-typing { caret-color: var(--copper-2); }

/* ---------- busy: the Ask while a careful reading runs (the deterministic answer stays on screen) ---------- */
.atlas-hero .ask.is-busy button { position: relative; }
.atlas-hero .ask.is-busy button::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(240, 197, 141, .22); border-top-color: var(--copper-2); animation: atlasBusy .8s linear infinite; }
@keyframes atlasBusy { to { transform: rotate(360deg); } }

/* ---------- motion control (WCAG 2.2.2): pause the video plate, the globe and the floating artifacts ---------- */
.atlas-hero .motion-toggle { position: absolute; z-index: 7; right: clamp(20px, 4.2vw, 64px); bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px;
  border-radius: 17px; border: 1px solid rgba(240, 197, 141, .42); background: linear-gradient(180deg, rgba(250, 244, 232, .14), rgba(250, 244, 232, .06)); color: var(--ink);
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 240, 215, .14); transition: border-color .25s, background .25s; }
.atlas-hero .motion-toggle svg { color: var(--copper-2); flex: none; }
.atlas-hero .motion-toggle:hover { border-color: var(--copper-2); background: linear-gradient(180deg, rgba(250, 244, 232, .2), rgba(250, 244, 232, .09)); }
.atlas-hero .motion-toggle:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
/* the trust line leaves the control its corner */
.atlas-hero .trust { padding-right: 170px; }
.atlas-hero.is-paused .artifact img, .atlas-hero.is-paused .threads path.spark { animation-play-state: paused; }

/* ---------- proof: a real Studio comment under the route ---------- */
.atlas-hero .route-proof { max-width: 520px; margin-top: 10px; padding: 14px 18px 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(250, 244, 232, .10), rgba(250, 244, 232, .05));
  border: 1px solid rgba(240, 197, 141, .30); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(6px); transition: opacity .6s ease .5s, transform .6s ease .5s; }
.atlas-hero .route-proof:empty { display: none; }
.atlas-hero .route-proof.is-on { opacity: 1; transform: none; }
.atlas-hero .route-proof .pf-k { margin: 0 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); }
.atlas-hero .route-proof blockquote { margin: 0; padding: 0; border: 0; font-family: var(--serif); font-size: 18px; line-height: 1.4; color: #fbf6ec; }
.atlas-hero .route-proof .tok { color: var(--copper-2); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: rgba(217, 168, 115, .16); }
.atlas-hero .route-proof .pf-f { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }

/* ---------- stacked: phones, and portrait tablets (the globe on its pedestal in the top half, copy + Ask below) ----------
   The plate is placed by CSS alone (no script), so the server first paint and the React hero agree to the pixel:
   globe radius r = max(min(34vw, 17svh), min(29.5vw, 24svh)); centre x = 50%; centre y = max(r + 70px, 29svh) + ribbon; plate scale = r / 469. */
@media (max-width: 760px), (max-width: 1024px) and (orientation: portrait) {
  /* r never drops below ~29.5vw (portrait tablets), so the painting always covers the width with the pedestal centred */
  .atlas-hero { --r: max(min(34vw, 17svh), min(29.5vw, 24svh)); --cy: calc(max(calc(var(--r) + 70px), 29svh) + var(--rib)); --copy-top: calc(var(--cy) + var(--r) * 1.52); --stage-h: calc(var(--copy-top) + 40px); }
  .atlas-hero .plate { height: var(--stage-h); }
  .atlas-hero .plate-img, .atlas-hero .plate-video { inset: auto; left: calc(50% - var(--r) * 6.48614); top: calc(var(--cy) - var(--r) * 2.11301); width: calc(var(--r) * 8.18763); height: calc(var(--r) * 4.60554); max-width: none; object-fit: fill; }
  .atlas-hero .plate-shade { background: linear-gradient(180deg, rgba(4, 9, 22, .35) 0%, rgba(4, 9, 22, 0) 16%, rgba(4, 9, 22, 0) calc(var(--copy-top) - 90px), rgba(5, 12, 28, .92) calc(var(--copy-top) + 10px), #050c1c calc(var(--copy-top) + 40px)); }
  .atlas-hero .hero { min-height: 0; grid-template-rows: auto auto auto; }
  .atlas-hero .hero-copy { align-self: start; padding-top: calc(var(--copy-top) - var(--head) - var(--rib) - 8px); }
  .atlas-hero .eyebrow { margin-bottom: 14px; }
  .atlas-hero .lede { margin: 14px 0 20px; font-size: 16px; }
  .atlas-hero .portals { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .atlas-hero .portal-thread { display: none; }
  .atlas-hero .p-line { font-size: 13px; }
  /* stacked: the control sits under the trust line, in space reserved by CSS so its late arrival moves nothing */
  .atlas-hero .trust { padding-right: 0; margin-bottom: 64px; }
}
@media (max-width: 760px) {
  .atlas-hero .atlas-title { font-size: clamp(38px, 11vw, 48px); }
  .atlas-hero .artifacts, .atlas-hero .threads { display: none; }
}
/* portrait tablets: the copy column is centred under the globe; the artifacts orbit the globe's open side */
@media (min-width: 761px) and (max-width: 1024px) and (orientation: portrait) {
  .atlas-hero .hero-copy { max-width: 600px; }
  .atlas-hero .atlas-title { font-size: clamp(52px, 7.4vw, 72px); }
  .atlas-hero .portals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* compact landscape (small laptops, landscape tablets): keep the copy column clear of the artifacts */
@media (min-width: 761px) and (max-width: 1279px) and (orientation: landscape) {
  .atlas-hero .hero-copy { max-width: min(600px, 46vw); }
  .atlas-hero .atlas-title { font-size: clamp(42px, 5.4vw, 72px); }
  .atlas-hero .portals { gap: 18px; }
  .atlas-hero .p-title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-hero .route li { animation: none; opacity: 1; transform: none; }
  .atlas-hero .plate-video { display: none; }
  .atlas-hero .artifact img { animation: none; }
  .atlas-hero .threads path.spark { animation: none; display: none; }
  .atlas-hero .ask.is-busy button::after { animation-duration: 2.4s; }
  .atlas-hero .atlas-title, .atlas-hero .lede, .atlas-hero .eyebrow, .atlas-hero .route-proof { transition: none; }
}
