/* Throwaway iteration 07: selected Orbital direction + story collection studies. */
#atlas-next{padding-bottom:64px}
#atlas-next .ax-demo-dock{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;margin:12px auto 0;color:var(--ax-muted);font-size:8px;letter-spacing:.13em;flex-wrap:wrap}
#atlas-next .ax-demo-dock strong{font-weight:500;color:var(--ax-ink)}
#atlas-next #ax-state{color:var(--ax-muted);font-size:8px}
#atlas-next[data-level=country] h1{font-size:clamp(72px,7.2vw,108px)}
#atlas-next[data-level=country] .ax-layout{min-height:850px;align-items:start}
#atlas-next[data-level=country] .ax-intro{padding-top:32px;max-width:360px}
#atlas-next[data-level=country] .ax-visual{left:38%;top:0;bottom:0}
#atlas-next[data-level=country] .ax-description{max-width:295px}
#atlas-next[data-level=country] .ax-intro-foot{margin-top:20px}
#atlas-next[data-level=country] .ax-intro>.ax-eyebrow{margin-bottom:22px!important}
.ax-region-picker{margin-top:30px;max-width:335px;border-top:1px solid var(--ax-line)}
#atlas-next .ax-region-choice,#atlas-next .ax-story-choice{display:flex;align-items:center;width:100%;min-height:76px;text-align:left;border:0;border-bottom:1px solid var(--ax-line);gap:18px;padding:16px 0}
.ax-region-choice strong{display:block;font:25px/1.2 var(--ax-display);letter-spacing:-.025em}
.ax-region-choice small{display:block;font-size:8px;color:var(--ax-muted);letter-spacing:.12em;text-transform:uppercase;margin-top:4px}
.ax-region-choice>span:last-child,.ax-story-choice>span:last-child{margin-left:auto;color:var(--ax-accent);font-size:20px}
.ax-row-number{flex:none;font-size:9px;color:var(--ax-muted);font-variant-numeric:tabular-nums;min-width:20px;letter-spacing:.04em}
#atlas-next .ax-region-choice:hover strong,#atlas-next .ax-story-choice:hover strong{text-decoration:underline;text-underline-offset:5px}
#atlas-next[data-level=region] .ax-layout{min-height:760px;grid-template-columns:300px 1fr;align-items:start}
#atlas-next[data-level=region] .ax-intro{max-width:300px;padding-top:42px}
#atlas-next[data-level=region] h1{font-size:clamp(54px,5.5vw,80px);max-width:300px;overflow-wrap:normal}
#atlas-next[data-level=region] .ax-description{max-width:270px;font-size:15px;margin-top:22px!important}
#atlas-next[data-level=region] .ax-intro-foot{margin-top:22px;color:var(--ax-accent);font-size:10px;letter-spacing:.06em}
#atlas-next[data-level=region] .ax-visual{left:320px;right:-20px;top:0;bottom:0}
#atlas-next[data-level=region][data-story=true] .ax-visual{left:310px;right:310px}
#atlas-next[data-story=true] .ax-intro{max-width:280px}
.ax-story-picker{margin-top:34px;border-top:1px solid var(--ax-line);max-width:280px}
#atlas-next .ax-story-choice{min-height:100px;gap:12px;padding:18px 10px 18px 0}
.ax-story-choice strong{display:block;font:23px/1.15 var(--ax-display);letter-spacing:-.02em}
.ax-story-choice small{display:block;font-size:10px;line-height:1.6;margin-top:6px;color:var(--ax-muted);max-width:208px}
#atlas-next .ax-story-choice[aria-pressed=true]{border-bottom-color:var(--ax-accent)}
.ax-story-choice[aria-pressed=true] strong,.ax-story-choice[aria-pressed=true] .ax-row-number{color:var(--ax-accent)}
#atlas-next .ax-marker-layer,#atlas-next .ax-marker-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#atlas-next .ax-marker-lines{z-index:1;overflow:hidden}
#atlas-next .ax-map-pin{pointer-events:auto;position:absolute;display:flex;gap:12px;align-items:center;min-height:50px;max-width:205px;min-width:168px;padding:9px 13px;text-align:left;border:1px solid #627f77;background:#12252aed!important;box-shadow:0 6px 18px #0002}
#atlas-next .ax-map-pin>span:last-child{margin-left:auto;color:var(--ax-accent);font-size:15px}
.ax-map-pin strong{display:block;font:18px/1.2 var(--ax-display);font-weight:400;letter-spacing:-.015em}
.ax-map-pin small{display:none;font-size:7px;color:var(--ax-muted);letter-spacing:.1em;margin-top:4px;text-transform:uppercase}
#atlas-next[data-level=country] .ax-map-pin small{display:block}
#atlas-next .ax-map-pin .ax-row-number{font-size:8px;min-width:12px;color:var(--ax-accent)}
#atlas-next .ax-map-pin:hover,#atlas-next .ax-map-pin[aria-pressed=true]{background:#314b3eed!important;border-color:var(--ax-accent)}
#atlas-next .ax-map-surface{background:var(--ax-map-water)}
.ax-pin-leader{fill:none;stroke:var(--ax-accent);stroke-width:1;opacity:.65}
.ax-pin-anchor{fill:var(--ax-accent);stroke:var(--ax-bg);stroke-width:2}
.ax-region-outline{fill:none;stroke:var(--ax-accent);stroke-width:.9;vector-effect:non-scaling-stroke;opacity:.8}
#atlas-next .ax-story-panel{top:30px;width:290px;padding:18px}
#atlas-next .ax-story-art{margin-inline:-18px;height:190px}
#atlas-next .ax-story-art svg{object-fit:cover}
#atlas-next .ax-story-panel h2{font-size:37px;overflow-wrap:break-word}
#atlas-next .ax-story-top .ax-eyebrow{font-size:8px!important}
#atlas-next .ax-map-caption{bottom:10px}
#atlas-next .ax-gesture{max-width:180px;font-size:9px}
#ax-list-stories>h3{font:28px var(--ax-display);margin-top:32px}
#atlas-next .ax-list-story{display:block;padding:13px 0;margin:0;border-top:0;min-height:60px}
#atlas-next .ax-list-story strong{font:19px var(--ax-display)}
#atlas-next .ax-list-story small{font-size:11px;letter-spacing:0;margin-top:3px;text-transform:none}

/* Story remains a reading destination, with optional collection discovery below. */
#view-story{--serif:Atlas Serif,Georgia,serif;--sans:Atlas Sans,system-ui,sans-serif;--ink:#203c32;--muted:#5a6b5e;--green:#244a3d;--blue:#315746;--paper:#f1f1e9;--line:#c7cec0;background:#f1f1e9;color:var(--ink);font-family:var(--sans);padding-bottom:0}
#view-story .story-top{padding-top:40px;max-width:980px;padding-bottom:48px}
.fn-back-atlas{display:flex;width:fit-content;align-items:center;min-height:44px;font-size:11px;letter-spacing:.025em;text-decoration:none;margin-bottom:22px;color:#586b5b}
.fn-back-atlas:hover{text-decoration:underline}
#view-story .story-top>.eyebrow{font-size:10px;letter-spacing:.15em;margin-bottom:18px;color:#50684f}
#view-story .story-top h1{font:clamp(46px,6.3vw,88px)/1.04 var(--serif);letter-spacing:-.045em;max-width:900px}
#view-story .story-deck{font:16px/1.8 var(--sans);max-width:590px;margin-top:24px}
#view-story .story-meta{gap:10px;align-items:center;margin-top:22px}
#view-story .story-meta .tag{border-radius:0;font-size:10px;border-color:#b6c2ad;padding:6px 10px}
#view-story .story-meta .text-link{font-size:11px;margin-left:10px}
#view-story .story-layout{grid-template-columns:minmax(0,760px) minmax(250px,1fr);gap:9%;border-top:1px solid var(--line);padding-top:42px;padding-bottom:72px}
#view-story .story-prose{font:19px/1.8 var(--serif)}
#view-story .story-prose h2{font:34px/1.18 var(--serif);letter-spacing:-.025em;margin:16px 0 24px}
#view-story .story-prose p{color:#3e5144}
#view-story .story-prose .story-caption{font:11px/1.7 var(--sans);color:#5a6b5e}
.fn-story-quote{border:0;border-block:1px solid #c7cec0;padding:30px 4px;margin:36px 0}
#view-story .fn-story-quote p{font:34px/1.25 var(--serif);letter-spacing:-.02em;max-width:600px;color:#325a46}
.fn-story-quote cite{display:block;margin-top:18px;font:10px/1.5 var(--sans);color:#61705f;font-style:normal}
#view-story .story-visual{border-radius:0;aspect-ratio:5/3;margin-top:36px}
#view-story .story-sources{margin-top:34px;padding-top:24px}
#view-story .story-sources .eyebrow{font:10px/1.5 var(--sans);letter-spacing:.12em}
#view-story .source-slot{padding:20px 0;border-radius:0;border-top:1px solid var(--line);background:transparent}
#view-story .source-slot strong{font-weight:500}
#view-story .media-card{border-radius:0;background:#193c32;color:#e5ead8;padding:26px;--green:#cbe2ae;--muted:#b9cbb3}
#view-story .media-card .eyebrow{font-size:9px;letter-spacing:.14em;color:#bed0b7}
#view-story .media-card h3{font-size:27px;margin-top:20px}
#view-story .media-card .small{color:#b9cbb3;font-size:12px}
#view-story .media-card .btn{border-radius:0;background:#cbe2ae;color:#1b392c;border:0;font-size:12px}
#view-story .media-card .media-controls button{color:#d2dfc7;border-color:#547460;border-radius:0;font-size:11px}
#view-story .media-card .media-controls button:disabled{opacity:.5}
#view-story .media-card .volume{font-size:11px}
#view-story .media-card .media-alternative{font-size:11px;margin-top:18px}
#view-story .media-card .media-alternative summary{font-size:12px}
#view-story .story-shop h3{font:10px/1.5 var(--sans);letter-spacing:.13em}
#view-story .story-shop p{font-size:13px;line-height:1.8}
#view-story .story-shop a{font-size:12px}
#view-story .fn-designs{padding:66px 0 52px;background:#e2e7db;border-top:1px solid #c6cfbd;overflow:hidden;scroll-margin-top:20px}
.fn-design-heading{display:flex;align-items:end;justify-content:space-between;gap:64px;margin-bottom:36px}
#view-story .fn-design-heading .eyebrow{font-size:9px;letter-spacing:.16em;margin-bottom:22px;color:#52684b}
#view-story .fn-design-heading h2{font:clamp(40px,4.6vw,64px)/1.05 var(--serif);letter-spacing:-.04em}
.fn-design-heading h2 em{font-weight:400;color:#4c6b45;font-style:italic}
.fn-design-intro{max-width:370px;font-size:13px;line-height:1.8;color:#52624f;padding-bottom:4px}
.fn-design-controls{display:flex;gap:8px;align-items:center;justify-content:end;margin-top:26px}
.fn-design-count{font-size:9px;letter-spacing:.12em;margin-right:15px}
#view-story .fn-design-controls button{border:1px solid #86987c;color:#284732;background:none;border-radius:50%;width:44px;height:44px;font-size:22px;line-height:1}
#view-story .fn-design-controls button:hover:not(:disabled){background:#cdd7c0}
#view-story .fn-design-controls button:disabled{opacity:.35}
.fn-design-rail{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:6px 4px 24px;margin:-6px -4px 0;scrollbar-width:thin;scrollbar-color:#9caa8d #d4ddca;scroll-padding-inline:4px;max-width:100%}
.fn-design-rail:focus-visible{outline:2px solid #335d43;outline-offset:5px}
.fn-design-card{flex:0 0 300px;min-width:0;scroll-snap-align:start}
#view-story .fn-design-art{position:relative;width:100%;aspect-ratio:500/540;display:block;padding:0;border:0;overflow:hidden;cursor:pointer;background:#dce3d2}
.fn-design-art>svg{transition:transform .35s ease;display:block;width:100%;height:100%}
.fn-design-art:hover>svg{transform:scale(1.035)}
.fn-concept-label{position:absolute;left:14px;bottom:14px;padding:5px 7px;font:8px/1.2 var(--sans);letter-spacing:.13em;color:#294d3a;background:#eef0e7cb;border:1px solid #c1ccba}
.fn-design-meta{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding:17px 0 0}
#view-story .fn-design-meta h3{font:25px/1.2 var(--serif);letter-spacing:-.02em;grid-column:1}
.fn-design-meta p{font-size:10px;letter-spacing:.02em;color:#586d51;grid-column:1}
#view-story .fn-design-link{grid-column:2;grid-row:1/3;align-self:center;min-height:44px;padding:0;border:0;background:none;color:#325c3e;font-size:10px;text-decoration:underline;text-underline-offset:5px}
.fn-design-note{margin-top:22px;font-size:10px;line-height:1.7;letter-spacing:.02em;color:#586b50}
#view-story .fn-design-dialog{padding:0;border:1px solid #aab69f;background:#f1f1e9;color:#203c32;max-width:920px;width:calc(100% - 40px);max-height:calc(100svh - 48px);overflow:auto;grid-template-columns:1fr 1fr;gap:0;font-family:var(--sans)}
#view-story .fn-design-dialog[open]{display:grid}
.fn-design-dialog::backdrop{background:#081b17cf;backdrop-filter:blur(7px)}
#view-story .fn-design-close{position:absolute;top:10px;right:10px;width:44px;height:44px;background:#f1f1e9;border:1px solid #aab69f;color:#284d39;font-size:25px;z-index:2}
.fn-design-detail-art{align-self:stretch;min-height:480px;background:#dce3d2}
.fn-design-detail-art svg{height:100%;width:100%;object-fit:cover}
.fn-design-detail-copy{padding:70px 36px 40px;align-self:center}
.fn-design-detail-copy .eyebrow{font-size:8px;letter-spacing:.14em}
#view-story .fn-design-detail-copy h2{font:46px/1.1 var(--serif);letter-spacing:-.035em;margin:22px 0}
.fn-design-detail-copy p:not(.eyebrow){font-size:13px;line-height:1.9;color:#4a5f4c}
.fn-design-detail-copy .fn-design-notice{margin-top:24px;padding-top:20px;border-top:1px solid #c5cebe;font-size:11px!important}
#view-story .fn-design-detail-copy .btn{border-radius:0;background:#244a3d;border:0;font-size:12px;min-height:48px;margin-top:28px}
#view-story :focus-visible{outline:2px solid #365b3e;outline-offset:5px;box-shadow:none}
#view-story .media-card :focus-visible{outline-color:#d5e7be}
@media(min-width:1600px){#atlas-next[data-level=country] .ax-layout{min-height:850px}}
@media(min-width:768px) and (max-width:1100px){
  #atlas-next[data-level=region] .ax-layout{min-height:830px;grid-template-columns:250px 1fr}
  #atlas-next[data-level=region] .ax-intro{max-width:240px}
  #atlas-next[data-level=region] h1{font-size:60px}
  #atlas-next[data-level=region] .ax-visual{left:250px;right:-20px}
  #atlas-next[data-level=region][data-story=true] .ax-visual{left:235px;right:200px}
  #atlas-next .ax-story-panel{width:260px;top:340px;right:0}
  #atlas-next .ax-map-pin{min-width:132px;max-width:170px;padding:8px;gap:7px}
  .ax-map-pin strong{font-size:16px}
  #atlas-next[data-story=true] .ax-layout{grid-template-columns:240px minmax(0,1fr);gap:18px 24px;min-height:0}
  #atlas-next[data-story=true] .ax-intro{grid-column:1;grid-row:1 / span 2}
  #atlas-next[data-level=region][data-story=true] .ax-visual{position:relative;inset:auto;left:auto;right:auto;grid-column:2;grid-row:1;height:600px;width:100%}
  #atlas-next[data-story=true] .ax-story-panel{position:relative;inset:auto;grid-column:2;grid-row:2;width:100%;max-width:440px;margin-top:0}
  #view-story .story-layout{gap:6%;grid-template-columns:minmax(0,1fr) 270px}
  .fn-design-card{flex-basis:270px}
}
@media(max-width:767px){
  #atlas-next{padding-bottom:36px}
  #atlas-next[data-level=country] .ax-layout,#atlas-next[data-level=region] .ax-layout{min-height:0}
  #atlas-next[data-level=country] .ax-intro,#atlas-next[data-level=region] .ax-intro{padding-top:20px;max-width:none}
  #atlas-next[data-level=country] h1{font-size:64px;max-width:400px}
  #atlas-next[data-level=country] .ax-description{max-width:330px}
  #atlas-next[data-level=country] .ax-visual{height:590px;margin-top:22px}
  .ax-region-picker{max-width:none;margin-top:28px;display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
  #atlas-next .ax-region-choice{min-height:86px;gap:9px;padding-block:16px}
  .ax-region-choice strong{font-size:22px}
  .ax-region-choice small{font-size:7px;letter-spacing:.06em}
  .ax-region-choice>span:last-child{font-size:15px}
  .ax-row-number{min-width:14px;font-size:8px}
  #atlas-next[data-level=region][data-story=true] .ax-intro{max-width:none;width:100%}
  #atlas-next[data-level=region] h1{font-size:64px;max-width:370px}
  #atlas-next[data-level=region] .ax-description{max-width:320px}
  #atlas-next[data-level=region] .ax-intro-foot{font-size:9px}
  .ax-story-picker{max-width:none;margin-top:24px}
  #atlas-next .ax-story-choice{min-height:76px;gap:14px;padding:14px 4px}
  .ax-story-choice strong{font-size:25px}
  .ax-story-choice small{font-size:11px;max-width:none;margin-top:3px}
  #atlas-next[data-level=region] .ax-visual{height:520px;margin-top:18px}
  #atlas-next .ax-map-pin{min-width:150px;max-width:195px;min-height:48px;padding:9px 11px;gap:10px}
  .ax-map-pin strong{font-size:18px}
  #atlas-next .ax-story-panel{width:100%;margin-top:8px}
  #atlas-next .ax-story-art{height:230px}
  #atlas-next .ax-story-panel h2{font-size:40px}
  #atlas-next .ax-demo-dock{font-size:7px;gap:10px}
  #atlas-next #ax-state{font-size:7px;text-align:center}
  #atlas-next .ax-gesture{font-size:8px;max-width:170px}
  #view-story .story-top{padding:24px 0 32px}
  .fn-back-atlas{font-size:10px;margin-bottom:16px}
  #view-story .story-top>.eyebrow{font-size:8px}
  #view-story .story-top h1{font-size:clamp(42px,11.7vw,66px)}
  #view-story .story-deck{font-size:14px;line-height:1.8;margin-top:22px}
  #view-story .story-meta .text-link{margin-left:0;font-size:12px;flex-basis:100%}
  #view-story .story-layout{display:block;padding:28px 0 44px}
  #view-story .story-prose{font-size:18px}
  #view-story .story-prose h2{font-size:29px}
  #view-story .fn-story-quote p{font-size:31px}
  #view-story .story-aside{margin-top:36px}
  #view-story .story-visual{aspect-ratio:4/3}
  #view-story .fn-designs{padding:44px 0 36px}
  .fn-design-heading{display:block;margin-bottom:24px}
  #view-story .fn-design-heading .eyebrow{font-size:8px;margin-bottom:17px}
  #view-story .fn-design-heading h2{font-size:44px;max-width:360px}
  .fn-design-intro{margin-top:22px;max-width:370px;font-size:12px}
  .fn-design-controls{margin-top:22px}
  .fn-design-rail{gap:18px}
  .fn-design-card{flex-basis:min(280px,82vw)}
  #view-story .fn-design-meta h3{font-size:24px}
  #view-story .fn-design-link{font-size:10px}
  .fn-design-note{font-size:10px}
  #view-story .fn-design-dialog[open]{display:block;width:calc(100% - 24px);max-height:calc(100svh - 24px)}
  .fn-design-detail-art{height:350px;min-height:0}
  .fn-design-detail-copy{padding:30px 26px}
  #view-story .fn-design-detail-copy h2{font-size:39px;margin-top:18px}
  #view-story .fn-design-close{background:#f1f1e9eb}
}
@media(max-width:360px){
  #atlas-next[data-level=region] h1{font-size:56px}
  .ax-region-picker{column-gap:12px}
  .ax-region-choice strong{font-size:19px}
  #atlas-next .ax-region-choice{gap:5px}
  #atlas-next .ax-region-choice .ax-row-number{display:none}
  #view-story .fn-design-heading h2{font-size:39px}
}
@media(prefers-reduced-motion:reduce){#view-story *,#view-story *::before,#view-story *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.ax-demo-dock,.fn-design-controls,.fn-design-dialog{display:none!important}.fn-design-rail{overflow:visible;flex-wrap:wrap}}
