:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --paper: #f8f6f7;
  --muted: #bab5b8;
  --faint: #948e92;
  --accent: #ff7197;
  --line: #ffffff1c;
  --radius: 23px;
  background: #0d0d0e;
  color: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; isolation: isolate; -webkit-font-smoothing: antialiased; }
::selection { background: #a52d50; color: white; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h2, h3 { text-wrap: balance; }
p, dd { overflow-wrap: break-word; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 12px 16px; border-radius: 12px; background: #181719; }
.atmosphere { position: fixed; z-index: -1; inset: 0; overflow: hidden; background: #0a0a0b; pointer-events: none; }
.atmosphere::before, .atmosphere::after { content: ""; position: absolute; inset: -25%; }
.atmosphere::before {
  background:
    radial-gradient(ellipse 59% 47% at 13% 15%, #ffffff37 0%, #e1e1e113 46%, transparent 79%),
    radial-gradient(ellipse 52% 40% at 86% 86%, #f4f4f42b 0%, #b6b6b610 54%, transparent 90%),
    linear-gradient(127deg, #1b1b1c 3%, #111112 44%, #09090a 75%);
  animation: ambient-drift 44s ease-in-out infinite alternate;
}
.atmosphere::after {
  background: radial-gradient(ellipse 52% 39% at 65% 33%, #000b, transparent 84%), radial-gradient(ellipse 53% 36% at 25% 92%, #0007, transparent 78%);
  animation: ambient-shade 56s ease-in-out infinite alternate;
}
@keyframes ambient-drift { from { transform: translate3d(-4%, -3%, 0) scale(1.02) rotate(-3deg); } to { transform: translate3d(5%, 5%, 0) scale(1.08) rotate(5deg); } }
@keyframes ambient-shade { from { transform: translate3d(6%, 3%, 0); } to { transform: translate3d(-7%, -4%, 0); } }
.hero { min-height: clamp(560px, 82vh, 910px); min-height: clamp(560px, 82svh, 910px); position: relative; display: grid; place-items: center; text-align: center; }
.hero h1 { width: min(76vw, clamp(340px, 44vw, 790px)); margin-top: -1%; line-height: 0; }
.hero h1 img { display: block; width: 100%; height: auto; }
.hero-cue { position: absolute; bottom: clamp(24px, 5vh, 52px); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; padding: 8px 2px; color: #e6e0e3; font-size: .83rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.hero-cue span { color: var(--accent); font-size: 1.2rem; transition: transform .2s ease; }
.hero-cue:hover span { transform: translateY(3px); }
.wrap { width: min(1160px, 92%); margin-inline: auto; }
.opening { border-top: 1px solid var(--line); padding-block: clamp(42px, 6vw, 86px) clamp(24px, 3vw, 42px); display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(28px, 6vw, 90px); }
.opening h2, .chapter h2 { font-size: clamp(2.15rem, 4.8vw, 4.4rem); line-height: .99; letter-spacing: -.062em; font-weight: 680; }
.opening h2 { max-width: 11ch; }
.opening-copy { max-width: 66ch; }
.opening-copy p, .chapter-heading p, .name-details p, .help-card p, .plan-card dd, .widget-card p, figcaption p { color: var(--muted); line-height: 1.66; font-size: clamp(.98rem, 1.15vw, 1.075rem); }
.opening-copy .lead { color: #f2eff1; font-size: clamp(1.18rem, 1.73vw, 1.55rem); line-height: 1.45; letter-spacing: -.022em; }
.opening-copy p + p, figcaption p + p, .help-card p + p { margin-top: .85em; }
.contents { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: clamp(28px, 4vw, 54px); border-bottom: 1px solid var(--line); }
.contents a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #dfd9dc; font-size: .82rem; font-weight: 550; text-decoration: none; transition: background-color .16s, border-color .16s; }
.contents a:hover { background: #ffffff0a; border-color: #ffffff58; }
.chapter { margin-block: clamp(68px, 8.3vw, 122px); scroll-margin-top: 28px; }
.chapter-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(22px, 5vw, 70px); margin-bottom: clamp(24px, 3.4vw, 40px); }
.chapter-heading p { max-width: 56ch; }
.surface { position: relative; isolation: isolate; border-radius: var(--radius); }
.surface::before, .surface::after { content: ""; position: absolute; pointer-events: none; }
.surface::before {
  z-index: -2; inset: 0 -3px -3px; border-radius: inherit;
  background: radial-gradient(ellipse at 18% 70%, #e7225c8c, transparent 58%), radial-gradient(ellipse at 90% 20%, #f84d7540, transparent 50%);
  filter: blur(15px); opacity: .47; animation: card-glow 17s ease-in-out infinite alternate paused;
}
.surface:nth-child(even)::before { animation-delay: -9s; animation-direction: alternate-reverse; }
.surface.in-view::before { animation-play-state: running; }
.surface::after { z-index: -1; inset: 0; border: 1px solid #ffffff1e; border-radius: inherit; background: linear-gradient(125deg, #202022 0%, #19191b 45%, #171719 100%); }
@keyframes card-glow { from { transform: translate(-2px, 1px) scale(.995); opacity: .35; } to { transform: translate(3px, 4px) scale(1.003); opacity: .58; } }
.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; }
.view-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; min-width: 0; }
.view-tabs a, .gallery-name { padding: 8px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.gallery-name { padding-left: 4px; color: var(--paper); }
.view-tabs a:hover { color: var(--paper); background: #ffffff0c; }
.view-tabs a[aria-selected=true] { color: #ffccdc; background: #ff709624; }
.enlarge, .close { border: 0; background: transparent; }
.enlarge { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-height: 34px; padding: 5px 10px; border-radius: 10px; font-size: .83rem; color: #ded9dc; }
.enlarge:hover, .close:hover { background: #ffffff0d; color: #fff; }
.expand-glyph { font: 1.15rem/1 "Segoe UI Symbol", sans-serif; }
.gallery-panel { scroll-margin: 20px; }
.compare-stage { --split: 50%; position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #100f11; }
.image-layer { position: absolute; inset: 0; }
.image-layer img { display: block; width: 100%; height: 100%; object-fit: contain; }
.before-image { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.image-label { position: absolute; top: clamp(8px, 1.3vw, 17px); padding: 5px 10px; color: #fff; background: #151416ed; border: 1px solid #ffffff40; border-radius: 999px; font-size: clamp(.66rem, 1.1vw, .77rem); line-height: 1.2; font-weight: 650; user-select: none; }
.label-before { left: clamp(8px, 1.3vw, 17px); }
.label-after { right: clamp(8px, 1.3vw, 17px); border-color: #ff789d88; }
.divider { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--split); width: 2px; transform: translateX(-50%); background: #fff5f8; box-shadow: 0 0 7px #21030bbe; pointer-events: none; }
.grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 5px; width: 39px; height: 39px; border: 1px solid #ffffffc9; border-radius: 50%; background: #eee7ea; box-shadow: 0 2px 13px #0008; }
.grip::before, .grip::after { content: ""; width: 6px; height: 6px; border-color: #3c292f; border-style: solid; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.grip::after { transform: rotate(225deg); }
.split-control { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; appearance: none; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.split-control::-webkit-slider-runnable-track { width: 100%; height: 100%; }
.split-control::-moz-range-track { width: 100%; height: 100%; }
.split-control::-webkit-slider-thumb { appearance: none; width: 1px; height: 100%; }
.split-control::-moz-range-thumb { width: 1px; height: 100%; border: 0; }
.compare-stage:has(.split-control:focus-visible) { outline: 3px solid var(--accent); outline-offset: -4px; z-index: 1; }
.compare-stage:has(.split-control:focus-visible) .grip { outline: 3px solid #ba2756; }
figcaption { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(16px, 4vw, 58px); padding: clamp(23px, 3.6vw, 45px); border-top: 1px solid var(--line); }
figcaption h3, .widget-card h3, .plan-card h3 { font-size: clamp(1.35rem, 2.25vw, 2.05rem); font-weight: 640; line-height: 1.12; letter-spacing: -.043em; }
figcaption p, .widget-card p, .name-details p, .plan-card dd { font-size: 1rem; }
.image-links { padding: 0 24px 20px; }
.names-card { padding: clamp(22px, 4.3vw, 56px); }
.names-card table { width: 100%; border-collapse: collapse; }
.names-card th, .names-card td { text-align: left; }
.names-card thead th { width: 50%; border-bottom: 1px solid var(--line); padding-bottom: 15px; color: var(--muted); font-size: .84rem; font-weight: 550; }
.names-card tbody th, .names-card td { border-bottom: 1px solid var(--line); padding: clamp(13px, 2.3vw, 28px) 0; font-size: clamp(1.55rem, 4.2vw, 3.45rem); font-weight: 550; letter-spacing: -.055em; }
.names-card tbody th { color: #beb8bc; }
.names-card td { position: relative; }
.names-card td strong { font-weight: 660; }
.map-arrow { position: absolute; right: calc(100% + 6%); top: 50%; transform: translateY(-52%); font-size: .57em; color: var(--accent); }
.name-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 76px); margin-top: 30px; }
.name-details h3 { margin-bottom: 8px; font-size: 1.14rem; letter-spacing: -.025em; }
.capture-note { margin: 13px 5px 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.widget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.widget-card, .plan-card { padding: clamp(23px, 2.8vw, 35px); }
.widget-card h3 { margin: 14px 0 10px; font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.widget-symbol { display: inline-grid; place-items: center; position: relative; width: 30px; height: 30px; color: var(--accent); }
.eye::before { content: ""; width: 23px; height: 16px; border: 2px solid currentColor; border-radius: 70% 22%; transform: rotate(29deg); }
.eye::after { content: ""; position: absolute; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.people::before, .people::after { content: ""; position: absolute; border: 2px solid currentColor; }
.people::before { width: 10px; height: 10px; border-radius: 50%; top: 2px; }
.people::after { width: 22px; height: 11px; border-radius: 12px 12px 3px 3px; bottom: 4px; }
.heart { font-size: 1.55rem; }
.help-card { padding: clamp(27px, 5vw, 65px); display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 4vw, 60px); }
.help-card > div { max-width: 67ch; }
.help-card h2 { font-size: clamp(2rem, 3.9vw, 3.55rem); margin-bottom: 20px; }
.action-link { display: inline-flex; flex: none; align-items: center; gap: 12px; padding: 13px 19px; color: #201219; background: #f5d4de; border-radius: 999px; font-weight: 660; font-size: .9rem; text-decoration: none; }
.action-link:hover { background: #ffe6ee; }
.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan-card h3 { margin-bottom: 21px; }
.plan-card dt { margin: 16px 0 4px; color: #f3ecef; font-weight: 650; font-size: 1.02rem; }
.plan-card dd { line-height: 1.52; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer > span { font-weight: 650; color: #e6dfe3; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.music-toggle { position: fixed; z-index: 5; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 15px; border: 1px solid #51494e; border-radius: 999px; background: #161417f5; color: #f6f0f3; box-shadow: 0 4px 18px #0004; font-size: .82rem; font-weight: 570; }
.music-toggle:hover { border-color: var(--accent); }
.equalizer { display: flex; align-items: center; gap: 2px; height: 16px; color: var(--accent); }
.equalizer i { width: 2px; height: 7px; border-radius: 2px; background: currentColor; }
.equalizer i:nth-child(2) { height: 14px; animation-delay: -.3s; }
.equalizer i:nth-child(3) { height: 10px; animation-delay: -.55s; }
.equalizer i:nth-child(4) { height: 5px; animation-delay: -.1s; }
.music-toggle.is-playing .equalizer i { animation-name: equalize; animation-duration: .85s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
@keyframes equalize { from { transform: scaleY(.45); } to { transform: scaleY(1.12); } }
#lightbox { width: min(96vw, 1740px, calc((100dvh - 118px) * 16 / 9)); max-width: 96vw; max-height: 94dvh; margin: auto; padding: 0; border: 1px solid #55474e; border-radius: 16px; background: #181719; color: var(--paper); overflow: auto; }
#lightbox::backdrop { background: #050405eb; }
body:has(#lightbox[open]) { overflow: hidden; }
.lightbox-bar, .lightbox-links { display: flex; align-items: center; gap: 12px; padding: 9px 15px; }
.lightbox-bar { justify-content: space-between; }
.lightbox-bar h2 { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.close { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; font-size: 1.55rem; line-height: 1; }
.lightbox-links { flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: .8rem; color: #e9dce2; }
.lightbox-links a { padding-block: 5px; }
@media (max-width: 760px) {
  .hero { min-height: clamp(470px, 76svh, 730px); }
  .hero h1 { width: min(76vw, 490px); }
  .opening, .chapter-heading { grid-template-columns: 1fr; gap: 19px; }
  .opening h2 { max-width: 18ch; }
  .widget-grid { grid-template-columns: 1fr; gap: 12px; }
  .widget-card { display: grid; grid-template-columns: 31px 1fr; column-gap: 12px; align-items: center; }
  .widget-card h3 { margin: 0; }
  .widget-card p { grid-column: 2; margin-top: 6px; }
  .help-card { flex-direction: column; align-items: flex-start; }
  .roadmap-grid { gap: 14px; }
}
@media (max-width: 600px) {
  :root { --radius: 17px; }
  .wrap { width: calc(100% - 32px); }
  .contents { gap: 6px; }
  .contents a { padding: 7px 11px; font-size: .78rem; }
  .gallery-bar { gap: 5px; padding: 8px 9px; min-height: 52px; align-items: flex-start; }
  .view-tabs { gap: 1px; }
  .view-tabs a { padding: 8px 10px; font-size: .8rem; }
  .enlarge { min-height: 32px; gap: 4px; padding: 4px; font-size: .76rem; }
  .gallery-name { padding: 8px 5px; }
  .grip { width: 32px; height: 32px; }
  figcaption, .roadmap-grid, .name-details { grid-template-columns: 1fr; }
  figcaption { gap: 12px; padding: 20px; }
  .name-details { gap: 19px; margin-top: 22px; }
  .plan-card h3 { margin-bottom: 15px; }
  .music-toggle { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
