.atlas-main { --atlas-space: clamp(64px, 8vw, 120px); }
.atlas-main .atlas-kicker { display: flex; gap: 12px; align-items: center; font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.atlas-kicker > span:first-child { color: var(--violet); }
.atlas-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 7%; padding-block: 80px 64px; align-items: end; }
.atlas-live-dot { width: 7px; height: 7px; background: var(--violet); border-radius: 50%; flex: none; }
.atlas-intro h1 { font-size: clamp(58px, 7.3vw, 112px); font-weight: 500; line-height: .98; letter-spacing: -.065em; margin-block: 28px; }
.atlas-intro h1 em, .atlas-outro h2 em { color: var(--violet); font-style: normal; }
.atlas-intro-copy { font-size: 17px; line-height: 1.7; max-width: 45ch; }
.atlas-edition { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.atlas-edition > span { font-size: 24px; color: var(--ink); }
.atlas-index { border-top: 1px solid var(--line); }
.atlas-index > a { display: grid; grid-template-columns: 25px 1fr 24px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); min-height: 94px; padding-block: 18px; }
.atlas-index small { align-self: start; padding-top: 4px; font-size: 10px; color: var(--violet); }
.atlas-index a > span:first-of-type { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.3; letter-spacing: -.025em; }
.atlas-index em { display: block; font-size: 10px; font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.atlas-index a > span:last-child { font-size: 24px; transition: transform .2s; }
.atlas-index a:hover > span:last-child { transform: translate(3px, -3px); }
.atlas-controls { position: sticky; top: 112px; z-index: 32; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; box-shadow: 0 6px 24px #00000005; }
.atlas-controls > div { display: flex; gap: 14px; align-items: center; }
.atlas-control-mark { color: var(--violet); font-size: 30px; line-height: 1; }
.atlas-controls strong { display: block; font-size: 12px; font-weight: 600; }
.atlas-controls p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.atlas-controls button { display: flex; gap: 14px; min-height: 44px; align-items: center; border: 0; background: transparent; font-size: 12px; white-space: nowrap; padding: 0; }
.atlas-switch-track { display: flex; width: 42px; height: 24px; border: 1px solid var(--line); padding: 3px; align-items: center; background: var(--line); border-radius: 30px; }
.atlas-switch-track > span { height: 16px; width: 16px; background: var(--panel); border-radius: 50%; transition: transform 180ms; }
.atlas-controls [aria-checked=true] .atlas-switch-track { background: var(--violet); border-color: var(--violet); }
.atlas-controls [aria-checked=true] .atlas-switch-track > span { transform: translateX(18px); background: #fff; }
.atlas-study { padding-top: var(--atlas-space); scroll-margin-top: 225px; }
.atlas-study-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 30px; }
.atlas-study-heading h2 { font-size: clamp(30px, 3.3vw, 49px); font-weight: 500; line-height: 1.15; margin-top: 14px; letter-spacing: -.045em; }
.atlas-gesture { flex: none; font-size: 10px; padding-bottom: 5px; color: var(--muted); }
.atlas-study-notes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10%; padding-block: 32px; border-bottom: 1px solid var(--line); }
.atlas-study-notes h3 { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; margin: 12px 0; }
.atlas-study-notes p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.atlas-text-link { display: flex; align-items: center; gap: 30px; width: fit-content; min-height: 44px; margin-top: 14px; font-size: 12px; color: var(--violet); }
.atlas-text-link span { font-size: 20px; }
.atlas-reference { border-left: 1px solid var(--line); padding-left: 28px; }
.atlas-reference > a { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 15px; min-height: 60px; line-height: 1.5; }
.atlas-reference a > span { font-size: 20px; }
.atlas-reference p { font-size: 11px; max-width: 36ch; }
.atlas-reference a:hover, .atlas-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.atlas-background { position: relative; overflow: hidden; isolation: isolate; min-height: 630px; background: #17131f; color: #fff; padding: 28px 36px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 4px; }
.atlas-backdrops, .atlas-backdrops::after { position: absolute; inset: 0; z-index: -1; }
.atlas-backdrops::after { content: ""; z-index: 1; background: linear-gradient(90deg, #0b0916b8, #0b091629), linear-gradient(0deg, #0b0916a8, transparent 28%); }
.atlas-backdrops img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 650ms, transform 1500ms cubic-bezier(.2,.7,.2,1); }
.atlas-backdrops img[data-selected=true] { opacity: 1; transform: scale(1); }
.atlas-background-top, .atlas-background-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: .07em; }
.atlas-background-top { text-transform: uppercase; }
.atlas-background-menu { padding: 46px 0 44px; max-width: 800px; }
.atlas-background-menu > p { font-size: 15px; line-height: 1.5; margin-bottom: 22px; color: #e6e2ef; }
.atlas-background-menu > button { display: flex; align-items: center; gap: 22px; width: 100%; min-height: 78px; padding: 5px 0; border: 0; background: transparent; color: #fff; text-align: left; }
.atlas-background-menu small { font-size: 10px; width: 16px; flex: none; }
.atlas-background-menu button > span { font-size: clamp(40px, 5.7vw, 82px); font-weight: 400; letter-spacing: -.055em; line-height: 1.13; transition: transform .45s; }
.atlas-background-menu i { font-style: normal; font-size: 34px; margin-left: 10px; opacity: 0; }
.atlas-background-menu button[aria-pressed=true] i { opacity: 1; }
.atlas-background-menu button:is(:hover,[aria-pressed=true]) > span { transform: translateX(12px); }
.atlas-background button:focus-visible { outline-color: #fff; outline-offset: 5px; }
.atlas-background-bottom > span:first-child { font-size: 12px; }
.atlas-image { position: relative; overflow: hidden; isolation: isolate; background: #26212f; }
.atlas-source-images, .atlas-image canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-source-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.atlas-source-images img[data-selected=true] { opacity: 1; }
.atlas-image canvas { opacity: 0; pointer-events: none; }
.atlas-image[data-renderer=webgl] canvas { opacity: 1; }
.atlas-image[data-renderer=webgl] .atlas-source-images { opacity: 0; }
.atlas-renderer-note { display: none; position: absolute; z-index: 2; bottom: 18px; left: 18px; right: 18px; padding: 10px 12px; background: #17131deb; color: #fff; font-size: 11px; line-height: 1.5; }
.atlas-image[data-renderer=fallback] .atlas-renderer-note { display: block; }
.atlas-image[data-renderer=fallback] .atlas-lens-caption { display: none; }
.atlas-image-corner { position: absolute; top: 24px; left: 24px; color: #fff; font-size: 11px; letter-spacing: .1em; mix-blend-mode: difference; }
.atlas-distortion-layout { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 580px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.atlas-distortion-copy { display: flex; flex-direction: column; align-items: start; padding: clamp(28px, 4vw, 64px); }
.atlas-distortion-copy h3 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; line-height: 1.07; margin: 36px 0 24px; }
.atlas-distortion-copy h3 em { font-style: normal; color: var(--violet); }
.atlas-distortion-copy > p:not(.atlas-frame-label) { font-size: 14px; line-height: 1.7; }
.atlas-round-action { display: grid; place-items: center; margin-block: 32px; width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; font-size: 29px; }
.atlas-round-action:hover { color: var(--bg); background: var(--ink); }
.atlas-frame-controls { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; }
.atlas-frame-controls button { border: 0; background: none; padding: 0; min-height: 44px; font-size: 11px; color: var(--muted); border-bottom: 1px solid transparent; }
.atlas-frame-controls [aria-pressed=true] { color: var(--ink); border-color: var(--ink); }
.atlas-distortion-copy .atlas-frame-label { font-size: 10px; margin-top: 14px; color: var(--muted); }
.atlas-lens-layout { display: grid; grid-template-columns: 1fr 300px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.atlas-lens-image { min-height: 570px; --lens-size: 172px; }
.atlas-lens-caption { position: absolute; bottom: 24px; left: 26px; color: #fff; font-size: 10px; letter-spacing: .06em; padding: 6px 10px; background: #1612209e; }
.atlas-lens-marker { position: absolute; top: 50%; left: 50%; width: var(--lens-size); height: var(--lens-size); transform: translate(-50%, -50%); border: 1px solid #ffffffb3; opacity: 0; pointer-events: none; box-shadow: 0 0 0 1px #0002; }
.atlas-lens-marker::before, .atlas-lens-marker::after { content: ""; position: absolute; width: 10px; height: 1px; background: #fff; top: 50%; left: calc(50% - 5px); }
.atlas-lens-marker::after { transform: rotate(90deg); }
.atlas-lens-marker > span { position: absolute; bottom: calc(100% + 8px); left: 0; white-space: nowrap; font-size: 9px; color: #fff; background: #17131db3; padding: 3px 6px; }
.atlas-image[data-lens-active=true][data-renderer=webgl] .atlas-lens-marker { opacity: 1; }
.atlas-lens-aside { display: flex; flex-direction: column; align-items: start; padding: 32px; background: var(--panel); }
.atlas-lens-symbol { font-size: 72px; font-weight: 400; line-height: 1; margin-block: 30px; color: var(--violet); }
.atlas-lens-aside h3 { font-weight: 500; font-size: 35px; line-height: 1.1; margin-bottom: 20px; }
.atlas-lens-aside > p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.atlas-outline-button { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: transparent; padding: 10px 16px; font-size: 12px; margin-top: 28px; }
.atlas-outline-button[aria-pressed=true] { background: var(--soft); border-color: var(--violet); }
.atlas-range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; width: 100%; margin-top: 26px; font-size: 10px; }
.atlas-range output { color: var(--muted); }
.atlas-range input { width: 100%; accent-color: var(--violet); min-height: 28px; }
.atlas-scroll-track { height: max(1100px, 175svh); position: relative; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; }
.atlas-polaroid-stage { position: sticky; top: 130px; height: min(590px, calc(100svh - 170px)); min-height: 450px; overflow: hidden; background: var(--soft); }
.atlas-polaroid-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) .8px, transparent .8px); background-size: 22px 22px; opacity: .6; }
.atlas-polaroid-heading, .atlas-polaroid-bottom { position: absolute; z-index: 2; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 16px; font-size: 10px; letter-spacing: .04em; pointer-events: none; }
.atlas-polaroid-heading { top: 24px; text-transform: uppercase; }
.atlas-polaroid-bottom { bottom: 24px; }
.atlas-polaroid-heading > span, .atlas-polaroid-bottom > span { background: var(--soft); padding: 4px 8px; }
.atlas-polaroid-board { position: absolute; top: 50%; left: 50%; width: 1000px; height: 600px; transform: translate(calc(-50% + var(--board-x, 0px)), calc(-50% + var(--board-y, 0px))) scale(var(--board-scale, .86)) rotate(var(--board-angle, 0deg)); transform-origin: center; }
.atlas-polaroid { position: absolute; width: 258px; top: 50%; left: 50%; background: #fffcf6; color: #25212d; padding: 12px 12px 20px; transform: translate(calc(-50% + var(--card-x)), calc(-50% + var(--card-y))) rotate(var(--card-angle)); box-shadow: 0 10px 26px #1710292e, 0 1px 2px #17102922; }
.atlas-polaroid img { width: 100%; height: 160px; object-fit: cover; }
.atlas-polaroid figcaption { padding: 14px 6px 0; }
.atlas-polaroid small { display: block; font-size: 8px; letter-spacing: .04em; color: #625d6a; }
.atlas-polaroid figcaption > span { display: block; font-size: 17px; letter-spacing: -.025em; padding-top: 6px; }
.atlas-polaroid-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.atlas-polaroid-controls > div { display: flex; gap: 8px; }
.atlas-polaroid-controls button { min-height: 44px; min-width: 44px; background: transparent; border: 1px solid transparent; border-radius: 50%; font-size: 11px; }
.atlas-polaroid-controls [aria-pressed=true] { border-color: var(--violet); color: var(--violet); }
.atlas-polaroid-controls > button { display: flex; align-items: center; gap: 16px; border-radius: 0; }
.atlas-polaroid-controls > button > span { font-size: 24px; }
.atlas-outro { padding-block: var(--atlas-space); }
.atlas-outro h2 { margin-block: 24px 32px; font-size: clamp(35px, 4.6vw, 66px); font-weight: 500; line-height: 1.1; }
.atlas-outro > div { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.atlas-outro > div > p { font-size: 15px; line-height: 1.75; max-width: 60ch; }
.atlas-outro .button { flex: none; }
.atlas-outro .atlas-media-note { font-size: 10px; color: var(--muted); max-width: 90ch; margin-top: 48px; }
.atlas-media-note a { text-decoration: underline; text-underline-offset: 3px; }
.effect-atlas[data-effects=off] .atlas-backdrops img, .effect-atlas[data-effects=off] .atlas-background-menu button > span { transition: none; transform: none; }
.effect-atlas[data-effects=off] .atlas-switch-track > span { transition: none; }
@media (max-width: 1100px) {
  .atlas-intro { padding-top: 48px; }
  .atlas-controls { top: 90px; }
  .atlas-lens-layout { grid-template-columns: 1fr 260px; }
  .atlas-lens-aside { padding: 26px; }
  .atlas-distortion-layout { min-height: 530px; }
  .atlas-lens-image { min-height: 540px; }
}
@media (max-width: 760px) {
  .atlas-intro { grid-template-columns: 1fr; gap: 36px; padding-block: 42px 36px; }
  .atlas-intro h1 { font-size: clamp(48px, 11.5vw, 84px); margin-block: 24px; }
  .atlas-intro-copy { font-size: 15px; }
  .atlas-intro > div > .atlas-kicker { font-size: 8px; gap: 8px; }
  .atlas-edition { margin-top: 24px; max-width: none; }
  .atlas-index > a { min-height: 77px; }
  .atlas-index a > span:first-of-type { font-size: 19px; }
  .atlas-controls { top: 84px; gap: 10px; padding: 10px 14px; }
  .atlas-controls > div { gap: 0; }
  .atlas-control-mark, .atlas-controls strong { display: none; }
  .atlas-controls p { font-size: 9px; max-width: 21ch; margin: 0; }
  .atlas-controls button { gap: 8px; font-size: 10px; }
  .atlas-switch-track { width: 38px; height: 22px; padding: 2px; }
  .atlas-controls [aria-checked=true] .atlas-switch-track > span { transform: translateX(16px); }
  .atlas-study { scroll-margin-top: 175px; }
  .atlas-study-heading { display: block; padding-bottom: 22px; }
  .atlas-study-heading h2 { font-size: 32px; max-width: 15ch; }
  .atlas-gesture { display: block; margin-top: 16px; }
  .atlas-study-notes { grid-template-columns: 1fr; gap: 26px; padding-block: 26px; }
  .atlas-reference { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .atlas-study-notes h3 { font-size: 19px; }
  .atlas-reference > a { min-height: 54px; }
  .atlas-reference p { max-width: 45ch; }
  .atlas-background { min-height: 530px; padding: 22px; }
  .atlas-background-top, .atlas-background-bottom { font-size: 8px; gap: 16px; }
  .atlas-background-top > span:first-child { max-width: 22ch; }
  .atlas-background-menu { padding-block: 30px; }
  .atlas-background-menu > p { font-size: 12px; }
  .atlas-background-menu > button { min-height: 65px; gap: 12px; }
  .atlas-background-menu button > span { font-size: clamp(29px, 7.5vw, 52px); }
  .atlas-background-menu button:is(:hover,[aria-pressed=true]) > span { transform: translateX(4px); }
  .atlas-background-menu i { font-size: 23px; margin-left: 0; }
  .atlas-background-bottom { align-items: end; }
  .atlas-background-bottom > span:first-child { font-size: 11px; max-width: 20ch; }
  .atlas-background-bottom > span:last-child { max-width: 15ch; text-align: right; }
  .atlas-distortion-layout { grid-template-columns: 1fr; }
  .atlas-distortion-image { min-height: 340px; }
  .atlas-distortion-copy { padding: 30px 26px; }
  .atlas-distortion-copy h3 { font-size: 46px; margin-top: 24px; }
  .atlas-round-action { width: 58px; height: 58px; margin-block: 24px; }
  .atlas-lens-layout { grid-template-columns: 1fr; }
  .atlas-lens-image { min-height: 370px; }
  .atlas-lens-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px; align-items: center; }
  .atlas-lens-aside > .atlas-kicker, .atlas-lens-aside > p { grid-column: 1/-1; }
  .atlas-lens-symbol { display: none; }
  .atlas-lens-aside h3 { font-size: 32px; margin: 0; }
  .atlas-lens-aside .atlas-outline-button { margin: 0; }
  .atlas-range { grid-column: 1/-1; margin: 0; }
  .atlas-scroll-track { height: auto; }
  .atlas-polaroid-stage { position: relative; top: auto; height: auto; min-height: 0; padding: 82px 22px 72px; }
  .atlas-polaroid-heading { left: 14px; right: 14px; font-size: 8px; }
  .atlas-polaroid-heading > span:last-child { display: none; }
  .atlas-polaroid-board { position: relative; top: auto; left: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; width: auto; height: auto; transform: none; }
  .atlas-polaroid { position: relative; top: auto; left: auto; width: auto; transform: rotate(calc(var(--card-angle) * .35)); padding: 7px 7px 12px; }
  .atlas-polaroid:nth-child(even) { top: 14px; }
  .atlas-polaroid img { height: auto; aspect-ratio: 1 / 1; }
  .atlas-polaroid figcaption { padding: 8px 2px 0; }
  .atlas-polaroid small { font-size: 7px; }
  .atlas-polaroid figcaption > span { font-size: 13px; }
  .atlas-polaroid-bottom { left: 14px; right: 14px; font-size: 8px; bottom: 18px; }
  .atlas-polaroid-bottom > span:first-child { display: none; }
  .atlas-polaroid-controls { display: none; }
  .atlas-outro > div { display: block; }
  .atlas-outro .button { margin-top: 26px; }
  .atlas-outro h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-main *, .atlas-main *::before, .atlas-main *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
  .atlas-backdrops img, .atlas-background-menu button > span { transform: none !important; }
}
