/* Analog Atlas: shared dark editorial surfaces and accessible controls. */
:root { --bg:#161316; --surface:#221d22; --text:#eee2d1; --muted:#b9a694; --line:#4a3b35; --lime:#d99c75; --accent-fill:#d99c75; color-scheme:dark; }
body { background:var(--bg); color:var(--text); }
h1,h2,h3,.serif { letter-spacing:-.04em; text-wrap:balance; }
p { text-wrap:pretty; }
.wrap { max-width:1328px; }
.header { height:94px; }
.header nav { font-size:12px; gap:28px; }
.header nav a { padding-block:14px; }
.wordmark { font-size:12px; }
.header-controls button { min-height:44px; }
.motion { width:44px; height:44px; }
.section { padding-block:80px; }
.section-heading { margin-bottom:34px; }
.section-heading h2,.about h2 { font-size:clamp(36px,3.4vw,54px); }
.muted { color:var(--muted); }
.primary { background:var(--accent-fill); color:#101213; border-radius:0; }
.primary:hover { background:var(--accent-fill); transform:translateY(-2px); box-shadow:0 3px 0 var(--text); }
:focus-visible { outline:2px solid var(--text); outline-offset:5px; }
::selection { color:var(--bg); background:var(--text); }
.hero-avatar .portrait-scene { filter:none; }
.hero-avatar .portrait-shade { display:none; }
.hero-avatar h1 { text-shadow:none; }
.hero-avatar .hero-eyebrow,.hero-avatar .hero-description,.hero-avatar .hero-bottom,.hero-discover { color:var(--muted); text-shadow:none; }
.hero-avatar .hero-description { font-size:14px; }
.hero-discover { color:var(--text); }
.hero-discover:hover { color:var(--lime); }
.hero-actions { gap:20px; }
.hero-avatar .hero-bottom .mono { font-size:9px; letter-spacing:.04em; }
.hero-coordinate { display:none; }
.discover { padding-block:50px 65px; }
.discover-heading .eyebrow { color:var(--muted); }
.discover-heading h2 { font-size:clamp(30px,3vw,42px); letter-spacing:-.04em; }
.discover-grid { gap:26px; }
.bottle-card { background:var(--surface); border-color:var(--line); color:var(--text); }
.bottle-card .discovery-number,.bottle-original,.bottle-waiting>p:last-child,.bottle-footer>span { color:var(--muted); }
.bottle-waiting>.serif,.bottle-letter blockquote { color:var(--text); }
.bottle-source,.bottle-invitation { color:var(--lime); }
.bottle-source:hover { color:var(--text); }
.bottle-footer { border-color:var(--line); }
.bottle-horizon { background:linear-gradient(90deg,transparent,var(--line),transparent); }
.bottle-ripple { border-color:var(--line); }
.bottle-ripple:after { border-color:var(--line); opacity:.45; }
.thought-bottle { filter:drop-shadow(0 8px 6px #28231e20); }
.thought-bottle:hover { filter:drop-shadow(0 8px 6px #28231e20); }
.sky-card { color:#f4eee8; background:#111c28; --lime:#e6ad8a; color-scheme:dark; }
.sky-card .discovery-card-heading { color:#f4eee8; }
.sky-card :focus-visible { outline-color:#f4eee8; }
.ticker { background:transparent; height:54px; }
.ticker span { color:var(--muted); font-size:11px; letter-spacing:.08em; }
.ticker i { font-size:24px; }
.project { background:var(--surface); border-color:var(--line); border-radius:0; gap:18px; padding:18px; }
.project-art { border-color:var(--line); border-radius:0; }
.project h3 { font-size:20px; }
.project h3 button:hover,.writing-pick:hover h3 { color:var(--lime); }
.store-link { color:var(--text); }
.store-link:hover { color:var(--lime); }
.writing-archive-count>span:first-child { color:var(--lime); font-size:72px; }
.writing-quote blockquote { letter-spacing:-.03em; }
.writing-pick:hover { background:var(--surface); }
.writing-pick h3 { font-size:24px; }
.text-link { border-color:var(--line); }
.memories-intro .eyebrow,.memories-intro>p,.memory-hint,.memory-album-note,.memory-card figcaption,.memory-number { color:var(--muted); }
.memories-intro h2 { letter-spacing:-.04em; }
.memory-grid { scrollbar-color:var(--muted) var(--surface); }
.memory-print { box-shadow:0 10px 24px #28231e20; }
.memory-print:hover { box-shadow:0 20px 30px #28231e30; }
.memory-shelf-controls button { background:var(--surface); border-color:var(--line); }
.memory-shelf-controls button:hover:enabled { border-color:var(--text); color:var(--text); }
.playground { padding-top:0; }
.play-badge { color:var(--muted); }
.runner { --lime:#e6ad8a; --text:#f4eee8; --muted:#a3adbb; color:#f4eee8; color-scheme:dark; }
.runner :focus-visible { outline-color:#f4eee8; }
.about { padding-top:0; }
.about p { color:var(--muted); }
.footer-name { color:var(--text); font-size:14px; }
dialog { --lime:#e6ad8a; --text:#f4eee8; color:#f4eee8; color-scheme:dark; overscroll-behavior:contain; }
dialog :focus-visible { outline-color:#f4eee8; }
@media(max-width:1100px) { .header nav { gap:15px; font-size:11px; } }
@media(max-width:760px) {
  .header { height:80px; gap:12px; }
  .section { padding-block:52px; }
  .section-heading h2,.about h2 { font-size:36px; }
  .hero-avatar .hero-eyebrow { font-size:8px; }
  .discover { padding-block:36px 44px; }
  .discover-heading h2 { font-size:29px; }
  .discover-switch { border-color:var(--line); }
  .discover-switch button { color:var(--muted); }
  .discover-switch button[aria-pressed=true] { background:var(--accent-fill); color:#101213; }
  .writing-archive-count>span:first-child { font-size:46px; }
  .writing-quote blockquote { font-size:34px; }
  .writing-pick h3 { font-size:23px; }
  .project { grid-template-columns:80px minmax(0,1fr); padding:16px; }
  .project h3 { font-size:19px; }
  .playground { padding-top:0; }
  .playground h2 { font-size:36px; }
  .about { padding-top:0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Analog Atlas layout. Component behavior is preserved. */
body[data-theme="atlas"] {
  --bg: #161316;
  --surface: #221d22;
  --text: #eee2d1;
  --muted: #b9a694;
  --line: #4a3b35;
  --lime: #d99c75;
  --atlas-ink: #eee2d1;
  --atlas-wine: #cca3a4;
  --atlas-paper: #221d22;
  --atlas-serif: Georgia, 'Times New Roman', serif;
  color-scheme: dark;
  background: linear-gradient(110deg, #19151b 0%, #161316 63%, #241a20 100%);
}
body[data-theme="atlas"] .wrap { width: calc(100% - 112px); max-width: 1440px; }
body[data-theme="atlas"] .header { height: 100px; border-bottom: 3px double #75604f; }
body[data-theme="atlas"] .wordmark { font-size: 11px; letter-spacing: .18em; gap: 18px; }
body[data-theme="atlas"] .logo-mark { color: var(--atlas-wine); }
body[data-theme="atlas"] .logo-mark span,
body[data-theme="atlas"] .logo-mark i { color: #d99c75; }
body[data-theme="atlas"] .logo-mark i { background: #d99c75; }
body[data-theme="atlas"] .header nav { gap: 26px; font-size: 12px; }
body[data-theme="atlas"] .header nav a { border-bottom: 1px solid transparent; padding-block: 7px; }
body[data-theme="atlas"] .header nav a:hover { color: var(--atlas-wine); border-color: var(--atlas-wine); }
body[data-theme="atlas"] .header .channel-link { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:var(--atlas-wine); white-space:nowrap; flex-shrink:0; }
body[data-theme="atlas"] .channel-link:hover { color:var(--text); }
body[data-theme="atlas"] .channel-link svg { flex-shrink:0; }
@media (max-width:1200px) {
  body[data-theme="atlas"] .header.site-header { display:grid; grid-template-columns:minmax(0,1fr) auto; height:auto; gap:6px 18px; padding-top:18px; }
  body[data-theme="atlas"] .site-header .header-controls { grid-column:2; grid-row:1; }
  body[data-theme="atlas"] .site-header nav { display:flex; grid-column:1 / -1; grid-row:2; justify-content:space-between; gap:18px; padding-bottom:8px; }
  body[data-theme="atlas"] .site-header nav a { white-space:nowrap; min-height:44px; display:inline-flex; align-items:center; }
}
@media (max-width:600px) {
  body[data-theme="atlas"] .header.site-header { padding-top:13px; gap:5px 12px; }
  body[data-theme="atlas"] .site-header nav { display:grid; grid-template-columns:auto auto auto; gap:0 12px; font-size:11px; padding-bottom:8px; }
  body[data-theme="atlas"] .site-header nav a { min-height:38px; }
  body[data-theme="atlas"] .site-header .header-controls { gap:12px; }
}
body[data-theme="atlas"] .eyebrow { font-size: 10px; letter-spacing: .14em; color: #b9a694; }
body[data-theme="atlas"] .muted { color: #b9a694; }
body[data-theme="atlas"] .hero-avatar {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: minmax(380px, auto) auto;
  column-gap: clamp(40px, 5.5vw, 84px);
  row-gap: 18px;
  align-items: center;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 620px;
  padding: 64px max(72px, calc((100% - 1408px) / 2)) 24px max(56px, calc((100% - 1440px) / 2));
  overflow: hidden;
}
body[data-theme="atlas"] .hero-avatar .hero-content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 18px;
}
body[data-theme="atlas"] .hero-avatar .hero-eyebrow { max-width: none; color: #b9a694; margin-bottom: 27px; font-size: 9px; }
body[data-theme="atlas"] .tiny-cross { font-family: var(--atlas-serif); color: #d99c75; }
body[data-theme="atlas"] .hero-avatar h1 {
  max-width: 100%;
  font-family: var(--atlas-serif);
  font-size: clamp(56px, 5.65vw, 86px);
  line-height: 1.01;
  letter-spacing: -.066em;
  font-weight: 400;
  text-wrap: balance;
  text-shadow: none;
  color: var(--atlas-ink);
}
body[data-theme="atlas"] .hero-avatar h1 .serif { color: var(--atlas-wine); letter-spacing: -.06em; }
body[data-theme="atlas"] .title-dot { font-size: .6em; color: #d99c75; margin-left: 7px; }
body[data-theme="atlas"] .hero-avatar .hero-description { max-width: 385px; color: #b9a694; font-size: 14px; line-height: 1.95; margin-top: 27px; }
body[data-theme="atlas"] .hero-actions { gap: 19px; }
body[data-theme="atlas"] .button { border-radius: 0; font-size: 12px; font-weight: 500; min-height: 49px; padding: 16px 20px; gap: 28px; }
body[data-theme="atlas"] .primary { background: #5c3443; color: #eee2d1; border: 1px solid #83515f; }
body[data-theme="atlas"] .primary:hover { background: #704355; transform: translateY(-2px); }
body[data-theme="atlas"] .hero .button { margin-top: 28px; }
body[data-theme="atlas"] .hero-discover { color: #d3b596; font-size: 11px; text-shadow: none; margin-top: 28px; }
body[data-theme="atlas"] .hero-discover:hover { color: var(--atlas-wine); }
body[data-theme="atlas"] .hero-avatar #portrait-scene {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 380px;
  align-self: center;
  border: 0;
  border-radius: 1px;
  outline: 1px solid #75604f;
  outline-offset: 12px;
  box-shadow: 0 0 0 12px var(--atlas-paper), 7px 15px 0 12px #00000055;
  filter: none;
  background: #161316;
}
body[data-theme="atlas"] #portrait-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-theme="atlas"] .portrait-shade { display: none; }
body[data-theme="atlas"] .hero-avatar .hero-bottom {
  position: static;
  inset: auto;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin: 13px 0 0;
  padding: 18px 0 0;
  color: #b9a694;
  border-top: 1px solid #4a3b35;
}
body[data-theme="atlas"] .hero-bottom .mono,
body[data-theme="atlas"] .hero-avatar .hero-bottom .hero-coordinate { font-size: 8px; letter-spacing: .13em; }
body[data-theme="atlas"] .hero-coordinate { padding-left: 0; }
body[data-theme="atlas"] .scroll-link { font-size: 8px; }
body[data-theme="atlas"] .discover { padding-block: 56px 54px; }
body[data-theme="atlas"] .discover-heading h2,
body[data-theme="atlas"] .section-heading h2,
body[data-theme="atlas"] .playground h2,
body[data-theme="atlas"] .about h2 { font-family: var(--atlas-serif); font-weight: 400; letter-spacing: -.045em; }
body[data-theme="atlas"] .discover-heading h2 { font-size: clamp(31px, 3.4vw, 48px); }
body[data-theme="atlas"] .discover-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 30px; }
body[data-theme="atlas"] .bottle-card,
body[data-theme="atlas"] .world-card { border-radius: 1px; border-color: #4a3b35; }
body[data-theme="atlas"] .bottle-card { background: radial-gradient(ellipse at 50% 20%, #3a2927 0%, #221d22 72%); }
body[data-theme="atlas"] .discovery-card-heading { border-bottom: 1px solid #4a3b35; padding: 20px 24px; }
body[data-theme="atlas"] .discovery-card-heading h3 { font-family: var(--atlas-serif); font-size: 21px; letter-spacing: -.025em; }
body[data-theme="atlas"] .bottle-card .discovery-number { color: #c7a385; }
body[data-theme="atlas"] .bottle-horizon { background: linear-gradient(90deg, transparent, #c7a38555, transparent); }
body[data-theme="atlas"] .bottle-ripple { border-color: #c7a38544; box-shadow: 0 0 30px #d99c7515; }
body[data-theme="atlas"] .bottle-ripple:after { border-color: #c7a38533; }
body[data-theme="atlas"] .bottle-invitation { color: var(--atlas-wine); }
body[data-theme="atlas"] .bottle-waiting > .serif,
body[data-theme="atlas"] .bottle-letter blockquote { color: #e4cbbb; }
body[data-theme="atlas"] .bottle-waiting > p:last-child,
body[data-theme="atlas"] .bottle-original { color: #b9a694; }
body[data-theme="atlas"] .bottle-source { color: #d99c75; }
body[data-theme="atlas"] .bottle-source:hover { color: var(--atlas-wine); }
body[data-theme="atlas"] .bottle-footer { border-color: #4a3b35; }
body[data-theme="atlas"] .bottle-footer > span { color: #b9a694; }
body[data-theme="atlas"] .sky-card { --text: #eee2d1; --muted: #b9a694; --lime: #d99c75; --line: #4a3b35; background: #18151a; color: #eee2d1; }
body[data-theme="atlas"] .sky-card .discovery-card-heading { border-color: #4a3b35; }
body[data-theme="atlas"] .ticker { height: 53px; background: #221a20; border-block: 1px solid #4a3b35; }
body[data-theme="atlas"] .ticker span { color: #b9a694; font-size: 10px; letter-spacing: .16em; }
body[data-theme="atlas"] .ticker i { color: #d99c75; font-size: 26px; }
body[data-theme="atlas"] .work { padding-block: 62px 70px; }
body[data-theme="atlas"] .work .section-heading { margin-bottom: 26px; }
body[data-theme="atlas"] .work .section-heading h2 { font-size: clamp(34px, 3.4vw, 47px); line-height: 1.1; }
body[data-theme="atlas"] .project-grid { gap: 22px; }
body[data-theme="atlas"] .project { grid-template-columns: 78px minmax(0, 1fr); gap: 18px; border: 0; border-block: 1px solid #4a3b35; border-radius: 0; background: transparent; padding: 21px 0; }
body[data-theme="atlas"] .project-art { width: 78px; height: 110px; border-radius: 1px; border-color: #75604f; box-shadow: 4px 5px 0 #00000044; }
body[data-theme="atlas"] .castique-art { background: linear-gradient(145deg, #35282d, #19151b); }
body[data-theme="atlas"] .castique-screen { width: 55px; top: 10px; border-radius: 9px; }
body[data-theme="atlas"] .project-meta .eyebrow { font-size: 8px; letter-spacing: .055em; }
body[data-theme="atlas"] .project h3 { font-family: var(--atlas-serif); font-size: 22px; font-weight: 400; letter-spacing: -.027em; }
body[data-theme="atlas"] .project h3 button { align-items: flex-start; }
body[data-theme="atlas"] .project p { font-size: 12px; }
body[data-theme="atlas"] .store-link { font-size: 10px; color: #d99c75; }
body[data-theme="atlas"] .writings-home .section-heading h2 { font-size: clamp(37px, 4.2vw, 60px); }
body[data-theme="atlas"] .writing-selection { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-block: 3px double #4a3b35; }
body[data-theme="atlas"] .writing-quote { padding: 32px 48px 32px 0; }
body[data-theme="atlas"] .writing-quote blockquote { margin-top: 28px; font-size: clamp(35px, 3.65vw, 54px); color: #e5c3ab; }
body[data-theme="atlas"] .writing-quote blockquote em { color: var(--atlas-wine); }
body[data-theme="atlas"] .writing-archive-count { padding-top: 32px; }
body[data-theme="atlas"] .writing-archive-count > span:first-child { font-family: var(--atlas-serif); font-size: 83px; color: #d99c75; }
body[data-theme="atlas"] .writing-pick { padding: 25px 0 25px 36px; }
body[data-theme="atlas"] .writing-pick h3 { font-family: var(--atlas-serif); font-size: 27px; font-weight: 400; letter-spacing: -.025em; }
body[data-theme="atlas"] .writing-pick p { font-size: 13px; }
body[data-theme="atlas"] .writing-pick:hover { background: #d99c7510; }
body[data-theme="atlas"] .writing-section-bottom > span { font-size: 11px; }
body[data-theme="atlas"] .memories { border-top: 3px double #4a3b35; padding-block: 61px 70px; }
body[data-theme="atlas"] .memories-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.4fr); gap: 57px; }
body[data-theme="atlas"] .memories-intro h2 { color: var(--atlas-wine); font-size: clamp(51px, 5.2vw, 76px); }
body[data-theme="atlas"] .memory-shelf { padding: 8px 8px 14px; background: #221d22; border: 1px solid #4a3b35; }
body[data-theme="atlas"] .memory-grid { grid-auto-columns: clamp(210px, 45%, 270px); padding: 28px 17px; scroll-padding-inline: 17px; gap: 31px; scrollbar-color: #8f6951 #30252a; }
body[data-theme="atlas"] .memory-print { box-shadow: 0 9px 20px #00000055, 0 1px 4px #00000044; }
body[data-theme="atlas"] .memory-print:hover { box-shadow: 0 15px 26px #00000066; }
body[data-theme="atlas"] .memory-card figcaption { font-family: var(--atlas-serif); color: #d3b596; font-size: 14px; margin-top: 21px; }
body[data-theme="atlas"] .memory-number { color: #b9a694; }
body[data-theme="atlas"] .memory-shelf-controls { padding-right: 9px; }
body[data-theme="atlas"] .memory-shelf-controls button { border-radius: 1px; border-color: #75604f; background: #30252a; color: var(--atlas-wine); }
body[data-theme="atlas"] .playground-layout { padding-block: 46px; border-block: 3px double #4a3b35; }
body[data-theme="atlas"] .playground h2 { font-size: clamp(38px, 3.9vw, 55px); }
body[data-theme="atlas"] .playground-copy p { font-size: 14px; color: #b9a694; }
body[data-theme="atlas"] .play-badge { color: #b9a694; font-size: 9px; }
body[data-theme="atlas"] .about h2 { font-size: clamp(35px, 3.3vw, 47px); }
body[data-theme="atlas"] .about p { color: #b9a694; font-size: 14px; }
body[data-theme="atlas"] .text-link { color: var(--atlas-wine); border-color: #9e7d67; font-size: 12px; }
body[data-theme="atlas"] .footer { border-top: 3px double #75604f; }
body[data-theme="atlas"] .footer-name { color: var(--atlas-wine); font-size: 13px; }
body[data-theme="atlas"] .footer-bottom { color: #b9a694; font-size: 9px; }
body[data-theme="atlas"] #project-dialog,
body[data-theme="atlas"] .memory-dialog { background: #161316; color: #eee2d1; border-radius: 1px; border-color: #75604f; }
body[data-theme="atlas"] .dialog-content h2 { font-family: var(--atlas-serif); }
body[data-theme="atlas"] .dialog-content p { color: #b9a694; }
body[data-theme="atlas"] .dialog-content li { color: #e5c3ab; background: #35282d; }
body[data-theme="atlas"] .memory-close,
body[data-theme="atlas"] .memory-dialog-controls button { background: #221d22; border-color: #75604f; color: var(--atlas-wine); border-radius: 1px; }
body[data-theme="atlas"] #memory-counter { color: #b9a694; }
@media (min-width: 1200px) {
  body[data-theme="atlas"] .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-theme="atlas"] .project:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  body[data-theme="atlas"] .wrap { width: calc(100% - 64px); }
  body[data-theme="atlas"] .header nav { gap: 14px; font-size: 11px; }
  body[data-theme="atlas"] .hero-avatar { padding-inline: 32px 48px; column-gap: 34px; }
  body[data-theme="atlas"] .hero-avatar h1 { font-size: clamp(49px, 6.3vw, 68px); }
  body[data-theme="atlas"] .hero-avatar #portrait-scene { height: 365px; }
  body[data-theme="atlas"] .hero-avatar .hero-description { max-width: 100%; font-size: 13px; }
  body[data-theme="atlas"] .hero-actions { gap: 4px 15px; }
  body[data-theme="atlas"] .memories-layout { gap: 30px; }
}
@media (max-width: 760px) {
  body[data-theme="atlas"] .wrap { width: calc(100% - 40px); }
  body[data-theme="atlas"] .header { height: 82px; }
  body[data-theme="atlas"] .wordmark { gap: 12px; font-size: 10px; }
  body[data-theme="atlas"] .hero-avatar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
    height: auto;
    min-height: 0;
    padding: 36px 32px 25px;
  }
  body[data-theme="atlas"] .hero-avatar .hero-content { grid-column: 1; grid-row: 1; width: 100%; padding: 0 0 38px; }
  body[data-theme="atlas"] .hero-avatar .hero-eyebrow { font-size: 8px; margin-bottom: 22px; }
  body[data-theme="atlas"] .hero-avatar h1 { font-size: clamp(45px, 11.7vw, 77px); line-height: 1.01; }
  body[data-theme="atlas"] .hero-avatar .hero-description { font-size: 13px; margin-top: 23px; max-width: 420px; }
  body[data-theme="atlas"] .hero-actions { gap: 9px 15px; }
  body[data-theme="atlas"] .hero .button { margin-top: 23px; }
  body[data-theme="atlas"] .hero-discover { font-size: 10px; margin-top: 23px; }
  body[data-theme="atlas"] .hero-avatar #portrait-scene { grid-column: 1; grid-row: 2; height: clamp(275px, 78vw, 410px); width: 100%; box-shadow: 0 0 0 10px var(--atlas-paper), 5px 9px 0 10px #00000055; outline-offset: 10px; }
  body[data-theme="atlas"] #portrait-scene > img { object-position: center; }
  body[data-theme="atlas"] .hero-avatar .hero-bottom { grid-column: 1; grid-row: 3; margin-top: 24px; padding-top: 17px; padding-bottom: 0; gap: 14px; align-items: start; }
  body[data-theme="atlas"] .hero-bottom > .mono { font-size: 7px; max-width: 145px; }
  body[data-theme="atlas"] .scroll-link { font-size: 7px; gap: 6px; }
  body[data-theme="atlas"] .discover { padding-block: 35px 40px; }
  body[data-theme="atlas"] .discover-heading h2 { font-size: 35px; }
  body[data-theme="atlas"] .discover-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body[data-theme="atlas"] .discovery-card-heading h3 { font-size: 20px; }
  body[data-theme="atlas"] .discover-switch { border-radius: 0; border-color: #4a3b35; }
  body[data-theme="atlas"] .discover-switch button { border-radius: 0; color: #b9a694; }
  body[data-theme="atlas"] .discover-switch button[aria-pressed="true"] { background: #5c3443; color: #eee2d1; }
  body[data-theme="atlas"] .work { padding-block: 45px 55px; }
  body[data-theme="atlas"] .work .section-heading h2 { font-size: 37px; }
  body[data-theme="atlas"] .project-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body[data-theme="atlas"] .project { padding-block: 20px; gap: 20px; border-top: 0; }
  body[data-theme="atlas"] .project:first-child { border-top: 1px solid #4a3b35; }
  body[data-theme="atlas"] .project h3 { font-size: 25px; }
  body[data-theme="atlas"] .project-art { width: 78px; height: 108px; }
  body[data-theme="atlas"] .writing-selection { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="atlas"] .writing-quote { border-right: 0; padding: 30px 0; }
  body[data-theme="atlas"] .writing-quote blockquote { font-size: 38px; margin-top: 25px; }
  body[data-theme="atlas"] .writing-archive-count { padding: 0; }
  body[data-theme="atlas"] .writing-archive-count > span:first-child { font-size: 53px; }
  body[data-theme="atlas"] .writing-pick { padding: 25px 0; }
  body[data-theme="atlas"] .writing-pick h3 { font-size: 27px; }
  body[data-theme="atlas"] .memories { padding-block: 43px 52px; }
  body[data-theme="atlas"] .memories-layout { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  body[data-theme="atlas"] .memories-intro h2 { font-size: 57px; }
  body[data-theme="atlas"] .memory-grid { grid-auto-columns: clamp(210px, 80%, 270px); padding: 22px 13px 25px; scroll-padding-inline: 13px; }
  body[data-theme="atlas"] .playground-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-block: 39px; }
  body[data-theme="atlas"] .playground h2 { font-size: 42px; }
  body[data-theme="atlas"] .about-content { gap: 25px; }
  body[data-theme="atlas"] .about h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-theme="atlas"] .primary:hover { transform: none; }
}
.motion-paused body[data-theme="atlas"] .primary:hover { transform: none; }

body[data-theme="atlas"].game-page h1 { font-family:var(--atlas-serif); font-weight:400; }
body[data-theme="atlas"] .not-found h1 { font-family:var(--atlas-serif); font-weight:400; }
