/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4
 * Hallmark · genre: editorial · macrostructure: Long Document · theme: Atelier · enrichment: real pano imagery · nav: N9 · footer: Ft5
 */
@font-face {
  font-family: "Pixel Operator";
  src: url("/fonts/PixelOperator.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Linux Libertine";
  src: url("/fonts/LinLibertine_R.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TRJN DaVinci";
  src: url("/fonts/TRJNDaVinci-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TRJN DaVinci";
  src: url("/fonts/TRJNDaVinci-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Variable";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-paper: oklch(99.1% 0.004 82);
  --color-paper-soft: oklch(98.4% 0.006 82);
  --color-paper-wash: oklch(97.6% 0.008 82);
  --color-ink: oklch(18.5% 0.01 82);
  --color-ink-soft: oklch(39% 0.012 82);
  --color-muted: oklch(57% 0.014 82);
  --color-rule: oklch(77% 0.018 82);
  --color-rule-strong: oklch(31% 0.012 82);
  --color-accent: oklch(39% 0.07 242);
  --color-focus: oklch(48% 0.11 242);
  --color-scrim: oklch(12% 0.015 82 / 0.52);
  --color-scrim-soft: oklch(12% 0.015 82 / 0.22);
  --atlas-time-ink: oklch(8% 0.006 82 / 0.9);
  --atlas-time-ink-soft: oklch(8% 0.006 82 / 0.62);
  --atlas-time-ink-faint: oklch(8% 0.006 82 / 0.26);
  --atlas-time-band: oklch(100% 0 0);
  --atlas-time-band-rule: oklch(8% 0.006 82 / 0.18);
  --atlas-time-date-ink: oklch(8% 0.006 82 / 0.56);
  --atlas-time-highlight: oklch(100% 0 0 / 0.56);
  --archive-detail-veil: oklch(99.1% 0.004 82 / 0.78);
  --archive-detail-veil-soft: oklch(99.1% 0.004 82 / 0.52);
  --archive-detail-veil-clear: oklch(99.1% 0.004 82 / 0.13);
  --archive-detail-paper-glow: oklch(99.1% 0.004 82 / 0.78);
  --archive-detail-ink-soft: oklch(18.5% 0.01 82 / 0.76);
  --archive-detail-ink-muted: oklch(18.5% 0.01 82 / 0.58);
  --archive-detail-rule: oklch(18.5% 0.01 82 / 0.18);
  --archive-detail-rule-strong: oklch(18.5% 0.01 82 / 0.32);
  --atlas-ruler-attribution-offset: 9.7rem;
  --press-face: #fff;
  --press-face-hover: oklch(98.2% 0.004 82);
  --press-ink: #0d0d0d;
  --press-depth-nav: 0.34rem;
  --press-depth-hero: 0.58rem;
  --home-hero-action-face: oklch(100% 0 0 / 0.92);
  --home-hero-action-face-hover: oklch(98.8% 0.003 250);
  --home-hero-action-face-active: oklch(93.6% 0.008 250);
  --home-hero-action-border: oklch(68% 0.018 250);
  --home-hero-action-focus: oklch(19% 0.012 250 / 0.14);
  --home-hero-action-shadow: oklch(0% 0 0 / 0.12);
  --home-hero-action-shadow-active: oklch(0% 0 0 / 0.1);
  --home-hero-action-highlight: oklch(100% 0 0 / 0.95);
  --nav-action-face: oklch(100% 0 0 / 0.82);
  --nav-action-face-hover: oklch(98.8% 0.003 250 / 0.94);
  --nav-action-face-active: oklch(93.6% 0.008 250 / 0.94);
  --nav-action-rule: oklch(68% 0.018 250);
  --nav-action-rule-strong: oklch(55% 0.018 250);
  --nav-action-shadow: oklch(0% 0 0 / 0.1);
  --nav-action-highlight: oklch(100% 0 0 / 0.94);
  --nav-action-focus: oklch(19% 0.012 250 / 0.16);
  --nav-glass-face: oklch(99.1% 0.004 82 / 0.08);
  --nav-glass-face-strong: oklch(100% 0 0 / 0.13);
  --nav-glass-rule: oklch(18.5% 0.01 82 / 0.14);
  --nav-glass-rule-soft: oklch(18.5% 0.01 82 / 0.08);
  --nav-glass-highlight: oklch(100% 0 0 / 0.7);
  --nav-glass-shadow: oklch(0% 0 0 / 0.05);
  --nav-shell-radius: clamp(1.6rem, 2.4vw, 3rem);
  --nav-control-radius: 999px;
  --panel: rgba(255, 255, 255, 0.94);
  --border: #a2a9b1;
  --paper-bg-soft: rgba(248, 249, 252, 0.96);
  --paper-line: #d8dee8;
  --paper-ink: #202122;
  --paper-muted: #57606a;
  --paper-accent: #3366cc;
  --layout-edge: 2.4rem;
  --layout-edge-mobile: 1.6rem;
  --mode-control-face: oklch(100% 0 0 / 0.9);
  --mode-control-face-hover: oklch(97.4% 0.003 250 / 0.94);
  --mode-control-face-active: oklch(94.8% 0.006 250 / 0.96);
  --mode-control-rule: oklch(78% 0.012 250);
  --mode-control-rule-strong: oklch(60% 0.014 250);
  --mode-control-shadow: oklch(0% 0 0 / 0.045);
  --mode-control-shadow-hover: oklch(0% 0 0 / 0.075);
  --mode-control-highlight: oklch(100% 0 0 / 0.82);
  --mode-control-focus: oklch(19% 0.012 250 / 0.18);
  --mode-icon-face: transparent;
  --mode-icon-rule: oklch(42% 0.008 250 / 0.28);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, ui-serif, serif;
  --font-serif: "Linux Libertine", Georgia, "Times New Roman", Times, serif;
  --font-interface: "Geist Variable", "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-year: "Linux Libertine", Georgia, "Times New Roman", Times, serif;
  --font-body: Charter, "Bitstream Charter", "Sitka Text", ui-serif, serif;
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-pixel: "Pixel Operator", "SFMono-Regular", Consolas, monospace;
  --font-outlier: "SFMono-Regular", Menlo, Monaco, ui-monospace, monospace;

  --space-2xs: 0.4rem;
  --space-xs: 0.8rem;
  --space-sm: 1.2rem;
  --space-md: 1.6rem;
  --space-lg: 2.4rem;
  --space-xl: 3.2rem;
  --space-2xl: 4.8rem;
  --space-3xl: 7.2rem;
  --space-4xl: 10.4rem;

  --text-xs: 1.1rem;
  --text-sm: 1.3rem;
  --text-base: 1.6rem;
  --text-md: 2rem;
  --text-lg: 2.6rem;
  --text-xl: 3.6rem;
  --text-2xl: 5.2rem;
  --text-display: clamp(6.6rem, 13vw, 16rem);

  --page-gutter: clamp(1.6rem, 4.6vw, 7.2rem);
  --page-max: 124rem;
  --site-header-height: 7.6rem;
  --rule-hair: 1px;
  --rule-bold: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 180ms;
  --dur-medium: 360ms;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + var(--space-lg));
}

body.home-page {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background:
    linear-gradient(90deg, oklch(18.5% 0.01 82 / 0.025) var(--rule-hair), transparent var(--rule-hair)) 0 0 / 4rem 4rem,
    var(--color-paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

/* Hallmark · component: header · genre: editorial · theme: existing WenWare
 * states: default · hover · focus · active · responsive fallback
 * contrast: pass
 */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: auto;
  padding: var(--space-sm) var(--page-gutter);
  color: var(--color-ink);
  background: transparent;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  overflow: visible;
  isolation: isolate;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-nav::before {
  display: none;
}

.home-nav::after {
  display: none;
}

.home-nav > * {
  position: relative;
  z-index: 2;
}

.home-brand,
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.home-brand {
  font-size: 2.9rem;
  line-height: 1;
}

.home-brand img {
  width: 3.2rem;
  height: 3.2rem;
  image-rendering: pixelated;
}

.home-nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.62rem;
  font-family: var(--font-year);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.home-nav-icons {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.home-mobile-menu-button {
  display: none;
}

.home-mobile-menu-panel {
  display: contents;
}

.site-auth-slot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  width: auto;
  min-width: 3.8rem;
  gap: 0.62rem;
}

.site-auth-slot[data-auth-state="signed-in"],
html.site-auth-cached:not(.site-auth-ready) .site-auth-slot {
  flex-basis: 3.8rem;
  width: 3.8rem;
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-nav nav a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.28em;
}

.home-nav nav a:hover {
  text-decoration: none;
}

.home-nav nav a[hidden],
.home-auth-link[hidden],
.site-profile-link[hidden] {
  display: none !important;
}

html.site-auth-cached:not(.site-auth-ready) .home-auth-link {
  display: none !important;
}

.home-nav-link,
.home-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0 1.15rem;
  color: var(--color-ink);
  border: 1px solid oklch(18.5% 0.01 82 / 0.18);
  border-radius: var(--nav-control-radius);
  background: #fff;
  font-family: var(--font-interface);
  font-size: 1.38rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: blur(6px);
  transition:
    background 120ms ease,
    border-color 120ms ease,
    transform 70ms linear;
}

.home-nav-link:hover,
.home-nav-link:focus-visible,
.home-auth-link:hover,
.home-auth-link:focus-visible {
  color: var(--color-ink);
  border-color: oklch(18.5% 0.01 82 / 0.42);
  background: #fff;
}

.home-nav-link:focus,
.home-auth-link:focus {
  outline: none;
}

.home-nav-link:focus-visible,
.home-auth-link:focus-visible {
  box-shadow:
    0 0 0 0.2rem var(--nav-action-focus);
}

.home-auth-link--primary {
  background: #fff;
  color: var(--color-ink);
  border-color: oklch(18.5% 0.01 82 / 0.28);
}

.home-auth-link--primary:hover,
.home-auth-link--primary:focus-visible {
  color: var(--color-ink);
  background: #fff;
  border-color: oklch(18.5% 0.01 82 / 0.48);
}

.site-profile-link {
  display: none;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  padding: 0;
  color: var(--color-ink);
  border: 1px solid oklch(18.5% 0.01 82 / 0.18);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  box-shadow: none;
  backdrop-filter: blur(6px);
  transition:
    background 120ms ease,
    border-color 120ms ease,
    transform 70ms linear;
}

.site-auth-ready .site-profile-link:not([hidden]),
html.site-auth-cached:not(.site-auth-ready) .site-profile-link {
  display: inline-grid;
}

.site-profile-link:hover,
.site-profile-link:focus-visible {
  color: var(--color-ink);
  border-color: oklch(18.5% 0.01 82 / 0.42);
  background: #fff;
}

.site-profile-link:focus {
  outline: none;
}

.site-profile-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem var(--nav-action-focus);
}

.home-nav-icon {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  padding: 0;
  color: var(--color-ink);
  border: 1px solid oklch(18.5% 0.01 82 / 0.18);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: none;
  transform: translateY(0);
  transition:
    background var(--dur-short) linear,
    border-color var(--dur-short) linear,
    transform 70ms linear,
    box-shadow var(--dur-short) linear;
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}

.home-nav-icon:hover {
  color: var(--color-ink);
  background: #fff;
  border-color: oklch(18.5% 0.01 82 / 0.42);
  text-decoration: none;
}

.home-nav-icon:focus {
  outline: none;
}

.home-nav-icon:focus-visible {
  outline: none;
  border-color: oklch(18.5% 0.01 82 / 0.42);
  box-shadow:
    0 0 0 0.2rem var(--nav-action-focus);
}

.home-nav-icon:active {
  background: oklch(94.8% 0.006 250 / 0.92);
  box-shadow: none;
  transform: translateY(0.04rem);
}

.home-nav-icon svg,
.site-profile-link svg {
  display: block;
  width: 1.72rem;
  height: 1.72rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.home-nav nav .brand-button-2,
.home-nav nav .brand-button-2:hover {
  text-decoration: none;
}

.home-utility-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.home-utility-modal.hidden {
  display: none;
}

.home-utility-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: oklch(0% 0 0 / 0.16);
  backdrop-filter: blur(6px);
}

.home-utility-card {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100vw - 3.2rem));
  padding: 2.8rem 2.2rem 2.2rem;
  border: var(--rule-hair) solid var(--nav-action-rule);
  border-radius: 2.2rem;
  background: oklch(100% 0 0 / 0.96);
  color: var(--color-ink);
  box-shadow:
    0 1.8rem 4.8rem oklch(0% 0 0 / 0.18),
    inset 0 0.1rem 0 oklch(100% 0 0 / 0.98);
}

.home-utility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.home-utility-header--compact {
  justify-content: flex-end;
  margin-bottom: 0.4rem;
}

.home-utility-header h2 {
  margin: 0;
  font-family: "TRJN DaVinci", var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.home-utility-close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 0;
  border-radius: 999rem;
  background: oklch(0% 0 0 / 0.06);
  color: var(--color-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-utility-close:hover,
.home-utility-close:focus-visible {
  background: oklch(0% 0 0 / 0.06);
  color: var(--color-ink);
  outline: none;
}

.home-utility-close svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-utility-panel.hidden {
  display: none;
}

.home-utility-copy {
  margin: 0 0 1.6rem;
  color: var(--color-ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 2.5rem);
  line-height: 1.28;
}

.home-utility-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

[data-site-auth-required-modal] .home-utility-actions {
  grid-template-columns: 1fr;
  gap: 1rem;
}

[data-site-auth-required-modal] .home-utility-action {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 400;
  box-shadow: none;
}

[data-site-auth-required-modal] .home-utility-copy {
  color: var(--color-ink);
  font-family: "TRJN DaVinci", var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-style: italic;
  line-height: 1.05;
}

.home-language-list {
  display: grid;
  gap: 0.8rem;
}

.home-language-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-language-list .home-utility-action {
  font-family: var(--font-serif);
  font-weight: 400;
  box-shadow: none;
}

.home-utility-action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 0 1.6rem;
  border: var(--rule-hair) solid var(--home-hero-action-border);
  border-radius: 999px;
  background: var(--home-hero-action-face);
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  -webkit-tap-highlight-color: transparent;
}

.home-utility-action:hover,
.home-utility-action:focus-visible {
  background: var(--home-hero-action-face);
  outline: none;
}

.home-utility-action:active {
  background: var(--home-hero-action-face);
}

.home-utility-action.is-selected {
  border-color: var(--color-ink);
  background: var(--home-hero-action-face-active);
}

.home-language-list .home-utility-action.is-selected {
  background: var(--home-hero-action-face-active);
}

.home-utility-action--primary {
  border-color: var(--home-hero-action-border);
  background: var(--home-hero-action-face);
}

.brand-button-2.jsx-1356654497 {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 2px solid var(--press-ink);
  border-radius: var(--nav-control-radius);
  background: var(--press-face);
  color: var(--press-ink);
  font-family: var(--font-pixel);
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 var(--press-depth) 0 0 var(--press-ink);
  cursor: pointer;
  transform: translateY(0);
  transition:
    transform 70ms linear,
    box-shadow 70ms linear;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.brand-button-2.jsx-1356654497:active {
  background: var(--press-face);
  color: var(--press-ink);
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--press-ink);
  transform: translateY(var(--press-depth));
}

.brand-button-2.jsx-1356654497:hover,
.brand-button-2.jsx-1356654497:visited,
.brand-button-2.jsx-1356654497:focus,
.brand-button-2.jsx-1356654497:focus-visible {
  text-decoration: none;
}

.brand-button-2.jsx-1356654497:focus {
  outline: none;
}

.brand-button-2.jsx-1356654497:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: calc(var(--press-depth) + 0.4rem);
}

.brand-button-2--nav.jsx-1356654497 {
  --press-depth: 0rem;
  min-height: 3.55rem;
  padding: 0 1.28rem;
  border: 1px solid oklch(18.5% 0.01 82 / 0.18);
  border-radius: var(--nav-control-radius);
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-interface);
  font-size: 1.38rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.home-nav .brand-button-2--nav.jsx-1356654497:hover {
  border-color: oklch(18.5% 0.01 82 / 0.42);
  background: #fff;
  color: var(--color-ink);
}

.home-nav .brand-button-2--nav.jsx-1356654497:focus-visible {
  outline: none;
  border-color: oklch(18.5% 0.01 82 / 0.42);
  box-shadow:
    0 0 0 0.2rem var(--nav-action-focus);
}

.home-nav .brand-button-2--nav.jsx-1356654497:active {
  background: oklch(94.8% 0.006 250 / 0.92);
  box-shadow: none;
  transform: translateY(0.04rem);
}

.brand-button-2--hero.jsx-1356654497 {
  --press-depth: var(--press-depth-hero);
  width: 100%;
  min-height: 5.4rem;
  padding: 1.25rem 2.8rem;
  font-size: var(--text-md);
}

.photo-hero .brand-button-2--hero.jsx-1356654497,
.archive-detail-action-line .brand-button-2--hero.jsx-1356654497 {
  min-width: 15.2rem;
  min-height: 6.2rem;
  padding: 0 2.4rem;
  border: 1px solid #a2a9b1;
  border-radius: var(--nav-control-radius);
  background: rgba(255, 255, 255, 0.92);
  color: #202122;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow:
    0 0.2rem 1rem rgba(0, 0, 0, 0.12),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition:
    background-color 120ms ease,
    box-shadow 120ms ease,
    transform 70ms linear;
}

.photo-hero .brand-button-2--hero.jsx-1356654497:hover,
.archive-detail-action-line .brand-button-2--hero.jsx-1356654497:hover {
  background: #f8f9fa;
}

.photo-hero .brand-button-2--hero.jsx-1356654497:focus-visible,
.archive-detail-action-line .brand-button-2--hero.jsx-1356654497:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem rgba(32, 33, 34, 0.14),
    0 0.2rem 1rem rgba(0, 0, 0, 0.12),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
}

.photo-hero .brand-button-2--hero.jsx-1356654497:active,
.archive-detail-action-line .brand-button-2--hero.jsx-1356654497:active {
  background: #eaecf0;
  transform: translateY(0.08rem);
}

.photo-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding: 12rem var(--page-gutter) clamp(6.4rem, 9vh, 10rem);
  overflow: hidden;
  color: var(--color-ink);
  background:
    linear-gradient(90deg, oklch(18.5% 0.01 82 / 0.025) var(--rule-hair), transparent var(--rule-hair)) 0 0 / 4rem 4rem,
    var(--color-paper);
  isolation: isolate;
}

.photo-hero::after {
  content: none;
}

.photo-hero-pano {
  --hero-pano-view-width: max(200vw, 147svh);
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 100rem;
  perspective-origin: 50% 50%;
  -webkit-mask-image:
    radial-gradient(ellipse 118% 76% at 50% 50%, #000 0 64%, rgb(0 0 0 / 0.78) 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 118% 76% at 50% 50%, #000 0 64%, rgb(0 0 0 / 0.78) 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.photo-hero-pano::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 84% 50% at 50% 50%, transparent 0 54%, oklch(99.1% 0.004 82 / 0.26) 80%, #fff 100%),
    linear-gradient(90deg, #fff 0%, oklch(99.1% 0.004 82 / 0.62) 8%, transparent 24%, transparent 76%, oklch(99.1% 0.004 82 / 0.62) 92%, #fff 100%),
    linear-gradient(180deg, #fff 0%, transparent 17%, transparent 82%, #fff 100%);
  opacity: 0;
  transition: opacity 360ms var(--ease-in-out);
}

.photo-hero-pano.is-scene-open::after {
  opacity: 1;
}

.photo-hero-pano::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.photo-hero-pano.is-warping::before {
  animation: hero-pano-white-warp var(--hero-pano-warp-ms, 220ms) var(--ease-in-out) both;
}

.photo-hero-pano img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: var(--hero-pano-view-width);
  height: auto;
  max-width: none;
  transform:
    translate3d(-50%, -50%, 0)
    scaleX(1.02)
    scaleY(1.04);
  transform-origin: 50% 50%;
  opacity: 0;
  filter: saturate(0.92) contrast(0.94) brightness(1.04);
  transition:
    opacity 360ms var(--ease-in-out),
    filter 360ms var(--ease-in-out);
  will-change: opacity, filter;
}

.photo-hero-pano img.is-active {
  opacity: 0;
  filter: saturate(0.92) contrast(0.94) brightness(1.04);
}

.photo-hero-pano.is-scene-open img.is-active {
  opacity: 0.58;
}

@keyframes hero-pano-white-warp {
  0% {
    opacity: 0;
  }

  42% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
  }
}

.photo-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  justify-self: center;
  gap: var(--space-lg);
  width: min(112rem, 100%);
  margin-inline: auto;
  text-align: center;
  transform: translateY(clamp(-3.2rem, -4vh, -1.4rem));
}

.home-globe {
  position: relative;
  width: min(32rem, 46vw);
  aspect-ratio: 1;
  margin-bottom: var(--space-xs);
  cursor: grab;
  filter: drop-shadow(0 2rem 4rem oklch(0% 0 0 / 0.32));
  touch-action: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 420ms var(--ease-out),
    transform 520ms var(--ease-out);
}

.home-globe:active {
  cursor: grabbing;
}

.home-globe.is-loading {
  opacity: 0;
  transform: translateY(0.8rem) scale(0.985);
  pointer-events: none;
  will-change: opacity, transform;
}

.home-globe.is-intro-running {
  cursor: default;
}

.home-globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-arch-title {
  position: absolute;
  top: -15%;
  left: 50%;
  z-index: 1;
  width: 162%;
  max-width: none;
  margin: 0;
  color: var(--color-ink);
  font: inherit;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-arch-title svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-arch-title path {
  fill: none;
  stroke: none;
}

.hero-arch-title text {
  fill: currentColor;
  font-family: var(--font-display);
  font-size: 5.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-anchor: middle;
}

.home-globe-pins {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-globe-connector {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
}

.home-globe-connector.is-visible {
  opacity: 1;
}

.home-globe-connector line {
  stroke: var(--color-ink);
  stroke-width: var(--rule-hair);
  stroke-dasharray: 0.18rem 0.38rem;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.home-globe-marker {
  position: absolute;
  top: var(--globe-marker-y, 50%);
  left: var(--globe-marker-x, 50%);
  pointer-events: auto;
  transform: translate(-50%, calc(-100% + var(--home-globe-pin-tip-gap, 0.24rem)));
  transition: opacity var(--dur-short) var(--ease-out);
}

.home-globe.is-intro-running .home-globe-marker {
  pointer-events: none;
}

.home-globe-pin {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 3.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}

.home-globe-pin svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0.45rem 0.65rem oklch(0% 0 0 / 0.24));
}

.home-globe-pin path {
  fill: var(--color-paper);
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-globe-pin circle {
  fill: currentColor;
}

.home-globe-pin:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 0.45rem;
}

.home-globe-marker.is-behind-globe {
  opacity: 0;
  pointer-events: none;
}

.home-globe-scene-card {
  --home-globe-card-transform: translateY(-50%);
  position: absolute;
  top: clamp(7rem, var(--globe-card-y, 50%), calc(100% - 7rem));
  left: calc(100% + 2.2rem);
  z-index: 3;
  display: grid;
  gap: 0.42rem;
  width: 29rem;
  padding: 0.92rem;
  border: var(--rule-hair) solid oklch(70% 0.012 82);
  border-radius: 1.75rem;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: 1.2;
  text-align: left;
  box-shadow:
    0 1.1rem 2.6rem oklch(0% 0 0 / 0.18),
    inset 0 1px 0 oklch(100% 0 0 / 0.92);
  opacity: 0;
  pointer-events: auto;
  clip-path: inset(0 0 8% 0 round 1.75rem);
  transform: var(--home-globe-card-transform) scale(0.86);
  transform-origin: 0 50%;
  will-change: opacity, transform, clip-path;
  transition:
    opacity 260ms var(--ease-out),
    transform 520ms var(--ease-out),
    clip-path 460ms var(--ease-out);
}

.home-globe-scene-card.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 1.75rem);
  transform: var(--home-globe-card-transform) scale(1);
}

.home-globe-scene-card[hidden] {
  display: none;
}

.home-globe-scene-card[data-placement="left"] {
  right: calc(100% + 2.2rem);
  left: auto;
  transform-origin: 100% 50%;
}

.home-globe-scene-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.618 / 1;
  margin-bottom: 0.48rem;
  border: var(--rule-hair) solid oklch(78% 0.012 82);
  border-radius: 1.12rem;
  object-fit: cover;
  object-position: center;
}

.home-globe-scene-card > * {
  opacity: 0;
  transform: translateY(-0.28rem);
  transition:
    opacity 220ms var(--ease-out),
    transform 280ms var(--ease-out);
}

.home-globe-scene-card.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 110ms;
}

.home-globe-scene-card strong {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0;
}

.home-globe-scene-card-action {
  text-decoration: none;
  color: var(--color-ink);
}

.home-globe-scene-card-action:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 0.22rem;
}

.home-globe-marker.is-open .home-globe-pin {
  color: var(--color-focus);
}

@media (prefers-reduced-motion: reduce) {
  .home-globe-scene-card,
  .home-globe-scene-card > * {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
}

.proof-grid span,
.era-tile span {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.photo-hero-copy > p {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(2.1rem, 2.5vw, 3rem);
  line-height: 1.18;
}

.photo-hero-copy > p.home-hero-description {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(64rem, 100%);
  gap: var(--space-sm);
  justify-self: center;
}

.mode-strip,
.proof-section,
.era-gallery,
.atlas-entry,
.atlas-section,
.site-footer {
  width: min(var(--page-max), calc(100vw - var(--page-gutter) * 2));
  margin-inline: auto;
}

.mode-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: clamp(3.8rem, 5.5vw, 6.4rem) 0 clamp(4rem, 5.5vw, 6.4rem);
}

.proof-section h2,
.mode-strip h2,
.era-gallery-heading h2,
.atlas-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 5.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.mode-strip h2 {
  text-align: left;
}

body.home-page .hero-arch-title text,
body.home-page .mode-strip h2,
body.home-page .era-gallery-heading h2,
body.home-page .atlas-entry-lede {
  font-family: "TRJN DaVinci", var(--font-display);
  font-weight: 400;
}

.home-davinci-regular {
  font-style: normal;
}

.home-davinci-italic {
  font-style: italic;
}

.hero-arch-title text.home-davinci-italic,
.hero-arch-title text.home-davinci-italic textPath {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: italic;
}

/* Home game mode controls */
.mode-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  gap: 1.35rem;
}

.mode-strip-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  row-gap: 1rem;
  align-content: start;
  align-items: start;
  min-height: 15.4rem;
  padding: 1.84rem 1.9rem 1.7rem;
  text-align: left;
  border: 1px solid var(--mode-control-rule);
  border-radius: 1.55rem;
  background: var(--mode-control-face);
  color: var(--color-ink);
  box-shadow:
    0 0.16rem 0.85rem var(--mode-control-shadow),
    inset 0 0.1rem 0 var(--mode-control-highlight);
  backdrop-filter: none;
  text-decoration: none;
  transform: translateY(0);
  transition:
    background 120ms linear,
    border-color 120ms linear,
    box-shadow 120ms linear,
    transform 70ms linear;
  -webkit-tap-highlight-color: transparent;
}

.mode-strip-grid a:hover {
  border-color: var(--mode-control-rule-strong);
  background: var(--mode-control-face-hover);
  box-shadow:
    0 0.32rem 1.1rem var(--mode-control-shadow-hover),
    inset 0 0.1rem 0 var(--mode-control-highlight);
  transform: translateY(-0.03rem);
}

.mode-strip-grid a:focus-visible {
  outline: none;
  border-color: var(--mode-control-rule-strong);
  box-shadow:
    0 0 0 0.2rem var(--mode-control-focus),
    0 0.2rem 0.95rem var(--mode-control-shadow),
    inset 0 0.1rem 0 var(--mode-control-highlight);
}

.mode-strip-grid a:active {
  background: var(--mode-control-face-active);
  box-shadow:
    0 0.1rem 0.62rem var(--mode-control-shadow),
    inset 0 0.1rem 0 var(--mode-control-highlight);
  transform: translateY(0.04rem);
}

.mode-card--daily {
  padding-right: 1.9rem;
  padding-bottom: 4.45rem;
}

.mode-icon {
  display: inline-flex;
  position: static;
  width: 5.85rem;
  height: 5.85rem;
  margin: 0;
  padding: 1.18rem;
  border: 1px solid var(--mode-icon-rule);
  border-radius: 1.18rem;
  background: var(--mode-icon-face);
  color: var(--color-ink);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  box-shadow: none;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

.mode-icon * {
  vector-effect: non-scaling-stroke;
}

.mode-strip-grid strong {
  display: block;
  min-width: 0;
  padding-top: 0.1rem;
  font-family: var(--font-year);
  font-size: clamp(2.65rem, 2.4vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.mode-strip-grid a > small {
  display: block;
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 26rem;
  margin-top: 0.1rem;
  color: var(--color-ink-soft);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.daily-reset-badge,
.ranked-beta-badge {
  position: absolute;
  top: 1.34rem;
  right: 1.18rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.8rem;
  min-height: 2.55rem;
  padding: 0.42rem 0.78rem;
  border: var(--rule-hair) solid oklch(82% 0.008 250);
  border-radius: 999rem;
  background: oklch(100% 0 0 / 0.82);
  color: var(--color-ink);
  box-shadow: inset 0 0.1rem 0 oklch(100% 0 0 / 0.86);
  font-family: var(--font-pixel);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px) saturate(1.1);
}

.ranked-beta-badge {
  min-width: 5.2rem;
  text-transform: lowercase;
}

.proof-section {
  display: grid;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
  border-top: var(--rule-hair) solid var(--color-rule);
}

.proof-section h2 {
  max-width: 14ch;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.proof-grid article {
  display: grid;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule-strong);
}

.proof-grid p {
  max-width: 30ch;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: var(--text-md);
  line-height: 1.3;
}

.era-gallery {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.atlas-entry {
  display: grid;
  gap: var(--space-xl);
  padding: 0 0 var(--space-4xl);
}

.atlas-entry .era-gallery-heading {
  margin-bottom: 0;
}

.atlas-entry-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-md);
}

.atlas-entry-lede {
  max-width: 13ch;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.atlas-entry-summary {
  width: 100%;
  max-width: 58ch;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: clamp(var(--text-md), 1.15vw, var(--text-lg));
  line-height: 1.36;
}

.atlas-entry-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: var(--space-xl);
  align-items: start;
}

.atlas-entry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(31rem, 100%);
  min-height: 6.2rem;
  margin-top: var(--space-sm);
  padding: 0 2.4rem;
  border: 1px solid #a2a9b1;
  border-radius: var(--nav-control-radius);
  background: rgba(255, 255, 255, 0.92);
  color: #202122;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 0.2rem 1rem rgba(0, 0, 0, 0.12),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition:
    background-color 120ms ease,
    box-shadow 120ms ease,
    transform 70ms linear;
}

.atlas-entry-cta:hover,
.atlas-entry-cta:focus,
.atlas-entry-cta:visited {
  color: var(--color-ink);
  text-decoration: none;
}

.atlas-entry-cta:hover {
  background: #f8f9fa;
}

.atlas-entry-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem rgba(32, 33, 34, 0.14),
    0 0.2rem 1rem rgba(0, 0, 0, 0.12),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
}

.atlas-entry-cta:active {
  background: #eaecf0;
  transform: translateY(0.08rem);
}

.atlas-entry-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: var(--rule-hair) solid color-mix(in srgb, var(--color-rule-strong) 54%, transparent);
  border-radius: 2.4rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 0.65rem 2rem oklch(0% 0 0 / 0.08),
    inset 0 0.1rem 0 oklch(100% 0 0 / 0.72);
  transition:
    border-color var(--dur-short) linear,
    box-shadow var(--dur-short) linear,
    transform var(--dur-short) var(--ease-out);
}

.atlas-entry-media:hover {
  border-color: color-mix(in srgb, var(--color-rule-strong) 72%, transparent);
  box-shadow:
    0 0.8rem 2.6rem oklch(0% 0 0 / 0.1),
    inset 0 0.1rem 0 oklch(100% 0 0 / 0.72);
}

.atlas-entry-media:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 0.4rem;
}

.atlas-entry-window-bar {
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  background:
    linear-gradient(180deg, oklch(98.5% 0.004 83 / 0.98), oklch(93.5% 0.006 83 / 0.96));
}

.atlas-entry-window-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
}

.atlas-entry-window-dot {
  display: block;
  width: 1.02rem;
  height: 1.02rem;
  border: var(--rule-hair) solid oklch(0% 0 0 / 0.16);
  border-radius: 999px;
  box-shadow: inset 0 0.1rem 0 oklch(100% 0 0 / 0.46);
}

.atlas-entry-window-dot--red {
  background: #ec6a5e;
}

.atlas-entry-window-dot--yellow {
  background: #f4bf4f;
}

.atlas-entry-window-dot--green {
  background: #61c554;
}

.atlas-entry-media video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
  object-fit: contain;
  background: #fff;
}

.era-gallery-heading {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.era-gallery > .era-gallery-heading {
  margin-bottom: var(--space-md);
}

.home-linotype-divider {
  --home-linotype-size: 3.6rem;
  --home-linotype-color: var(--color-ink-soft);
  display: grid;
  grid-template-columns: var(--home-linotype-size) minmax(0, 1fr) var(--home-linotype-size);
  align-items: stretch;
  width: 100%;
  height: var(--home-linotype-size);
  color: var(--home-linotype-color);
  background: transparent;
}

.home-linotype-corner,
.home-linotype-line {
  display: block;
  background-color: currentColor;
}

.home-linotype-corner {
  width: var(--home-linotype-size);
  height: var(--home-linotype-size);
  mask-image: url("/assets/imgs/linotype-no-110-corner-divider.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("/assets/imgs/linotype-no-110-corner-divider.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.home-linotype-corner--right {
  transform: scaleX(-1);
}

.home-linotype-line {
  height: var(--home-linotype-size);
  mask-image: url("/assets/imgs/linotype-no-110-divider.svg");
  mask-position: left center;
  mask-repeat: repeat-x;
  mask-size: auto var(--home-linotype-size);
  -webkit-mask-image: url("/assets/imgs/linotype-no-110-divider.svg");
  -webkit-mask-position: left center;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: auto var(--home-linotype-size);
}

.era-gallery-title-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2xl);
  align-items: end;
  min-width: 0;
}

.era-gallery-title-row h2 {
  margin: 0;
}

.era-gallery-view-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 0 1.15rem;
  color: var(--color-ink);
  border: 1px solid oklch(18.5% 0.01 82 / 0.16);
  border-radius: var(--nav-control-radius);
  background: oklch(100% 0 0 / 0.58);
  font-family: var(--font-interface);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  backdrop-filter: blur(6px);
  transition:
    background var(--dur-short) linear,
    border-color var(--dur-short) linear,
    box-shadow var(--dur-short) linear;
}

.era-gallery-view-all:hover,
.era-gallery-view-all:focus-visible {
  color: var(--color-ink);
  border-color: oklch(18.5% 0.01 82 / 0.38);
  background: oklch(100% 0 0 / 0.88);
  text-decoration: none;
}

.era-gallery-view-all:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem var(--nav-action-focus);
}

.era-gallery-mobile-cta {
  display: none;
}

.era-gallery-title-link {
  color: inherit;
  text-decoration: none;
}

.era-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-sm);
}

.era-tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  aspect-ratio: 2 / 1;
  min-height: 0;
  padding: var(--space-lg);
  overflow: hidden;
  color: #fff;
  background: oklch(0% 0 0);
  border: var(--rule-hair) solid var(--color-rule-strong);
  text-decoration: none;
  isolation: isolate;
}

.era-tile::before,
.era-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.era-tile::before {
  background-image: var(--era-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 190% auto;
  transform: scale(1);
  transition: transform var(--dur-medium) var(--ease-out);
}

.era-tile::after {
  background:
    linear-gradient(180deg, oklch(0% 0 0 / 0.015), oklch(0% 0 0 / 0.1)),
    linear-gradient(90deg, oklch(0% 0 0 / 0.04), transparent 68%);
}

.era-tile:hover::before {
  transform: scale(1.045);
}

.era-tile span {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
  align-self: start;
  padding: 0.42rem 0.58rem 0.35rem;
  background: oklch(0% 0 0 / 0.34);
  border: var(--rule-hair) solid oklch(100% 0 0 / 0.5);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0.14rem 0.45rem oklch(0% 0 0 / 0.55);
  text-transform: uppercase;
}

.era-tile strong {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: min(24ch, 100%);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 2.7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
  text-shadow: 0 0.18rem 0.8rem oklch(0% 0 0 / 0.52);
}

body.home-page .era-tile strong {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: normal;
  font-weight: 400;
}

.atlas-section {
  display: grid;
  gap: var(--space-xl);
  padding: 0 0 var(--space-4xl);
}

.atlas-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2xl);
  align-items: end;
}

.atlas-heading p {
  max-width: 44ch;
  margin: var(--space-xs) 0 0;
  color: var(--color-ink-soft);
  font-size: var(--text-md);
  line-height: 1.24;
}

.atlas-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(42rem, 58rem) auto;
  overflow: hidden;
  border: var(--rule-hair) solid var(--color-rule);
  background: transparent;
}

.atlas-map-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  touch-action: pan-x pan-y;
  user-select: none;
}

.atlas-maplibre {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.atlas-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-ink);
  font-family: "TRJN DaVinci", var(--font-display);
  font-size: clamp(3.2rem, 4.4vw, 5.8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.atlas-loading-dots {
  display: inline-flex;
  width: 0.72em;
  justify-content: flex-start;
}

.atlas-loading-dots span {
  opacity: 0.16;
  animation: atlas-loading-dot 1.1s infinite ease-in-out;
}

.atlas-loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.atlas-loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes atlas-loading-dot {
  0%,
  72%,
  100% {
    opacity: 0.16;
  }

  24%,
  48% {
    opacity: 1;
  }
}

.atlas-panel.is-atlas-ready .atlas-loading {
  opacity: 0;
}

.atlas-loading[hidden] {
  display: none;
}

.atlas-maplibre .maplibregl-ctrl-bottom-left {
  bottom: var(--atlas-ruler-attribution-offset);
}

.atlas-maplibre .maplibregl-canvas {
  cursor: grab;
}

.atlas-map-stage {
  --atlas-floating-control-top: clamp(5.8rem, 7.2vh, 7.2rem);
  --atlas-settings-panel-top: calc(var(--atlas-floating-control-top) + 4.6rem);
}

.atlas-zoom-controls {
  position: absolute;
  top: var(--atlas-floating-control-top);
  right: var(--space-sm);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, 3.6rem);
  gap: var(--space-2xs);
}

.atlas-zoom-controls button {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  height: 3.6rem;
  padding: 0;
  border: var(--rule-hair) solid var(--color-rule);
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-pixel);
  font-size: var(--text-md);
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.atlas-zoom-controls button:disabled {
  color: var(--color-muted);
  cursor: default;
  opacity: 0.48;
}

.atlas-zoom-controls button:not(:disabled):hover {
  border-color: var(--color-ink);
}

.atlas-settings-button {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: var(--atlas-floating-control-top);
  left: var(--space-sm);
  z-index: 4;
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  padding: 0;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.92);
  color: var(--color-ink);
  box-shadow:
    0 0.36rem 1.1rem oklch(0% 0 0 / 0.1),
    inset 0 0.08rem 0 oklch(100% 0 0 / 0.72);
  cursor: pointer;
  -webkit-backdrop-filter: blur(0.72rem);
  backdrop-filter: blur(0.72rem);
}

.atlas-settings-button:hover,
.atlas-settings-button[aria-expanded="true"] {
  border-color: var(--color-ink);
}

.atlas-settings-button svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.atlas-settings-modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  align-items: start;
  justify-items: start;
  padding: var(--atlas-settings-panel-top) var(--space-sm) var(--space-sm);
  background: transparent;
  pointer-events: auto;
}

.atlas-settings-modal[hidden] {
  display: none;
}

/* Atlas settings modal */
.atlas-settings-card {
  width: min(27.5rem, calc(100vw - 2rem));
  overflow: hidden;
  border: var(--rule-hair) solid oklch(18.5% 0.01 82 / 0.18);
  border-radius: 1.35rem;
  background: oklch(100% 0 0 / 0.96);
  color: var(--color-ink);
  box-shadow: 0 0.72rem 1.8rem oklch(0% 0 0 / 0.11);
  -webkit-backdrop-filter: blur(1.2rem) saturate(1.04);
  backdrop-filter: blur(1.2rem) saturate(1.04);
}

.atlas-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0.82rem 0.5rem 1rem;
  border-bottom: 0;
}

.atlas-settings-head h2 {
  margin: 0;
  font-family: var(--font-interface);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.atlas-settings-head button {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  width: 2.72rem;
  height: 2.72rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: oklch(18.5% 0.01 82 / 0.055);
  color: var(--color-ink);
  cursor: pointer;
}

.atlas-settings-head button:hover {
  background: oklch(18.5% 0.01 82 / 0.085);
}

.atlas-settings-head svg {
  width: 1.38rem;
  height: 1.38rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.atlas-settings-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem;
  margin: 0;
  padding: 0.44rem 0.82rem 0.82rem;
  border: 0;
}

.atlas-settings-field label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 0.86rem;
  border: var(--rule-hair) solid oklch(18.5% 0.01 82 / 0.16);
  border-radius: 0.92rem;
  background: oklch(100% 0 0 / 0.74);
  cursor: pointer;
  text-align: center;
}

.atlas-settings-field label:has(input:checked) {
  border-color: oklch(18.5% 0.01 82 / 0.42);
  background: oklch(18.5% 0.01 82 / 0.06);
  box-shadow: inset 0 0 0 var(--rule-hair) oklch(18.5% 0.01 82 / 0.18);
}

.atlas-settings-field input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.atlas-settings-field span {
  display: block;
}

.atlas-settings-field strong {
  font-family: var(--font-interface);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.atlas-marker {
  --atlas-marker-compact-width: 4.8rem;
  --atlas-marker-expanded-width: min(29rem, calc(100vw - 5.6rem));
  --atlas-marker-body-y: -0.38rem;
  --atlas-marker-point-depth: 0.64rem;
  position: relative;
  width: 0;
  height: 0;
  padding: 0;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transition:
    opacity 220ms var(--ease-out);
}

.atlas-marker-panel {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 0;
  bottom: var(--atlas-marker-point-depth);
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  width: var(--atlas-marker-compact-width);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(-50%);
  transform-origin: 50% calc(100% + var(--atlas-marker-point-depth));
  will-change: width, transform;
  transition:
    width 520ms var(--ease-out),
    transform 520ms var(--ease-out);
}

.atlas-marker-panel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 0.54rem solid transparent;
  border-right: 0.54rem solid transparent;
  border-top: var(--atlas-marker-point-depth) solid #fff;
  filter: none;
  transform: translateX(-50%);
}

.atlas-marker-window {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.618 / 1;
  padding: 0.12rem;
  border: var(--rule-hair) solid oklch(100% 0 0 / 0.98);
  border-radius: 1.28rem;
  background:
    linear-gradient(135deg, oklch(91% 0.012 82), oklch(84% 0.012 246)),
    oklch(88% 0.01 82);
  box-shadow:
    0 0 0 var(--rule-hair) oklch(0% 0 0 / 0.14),
    0 0.78rem 1.4rem oklch(0% 0 0 / 0.18);
  overflow: hidden;
  transform: translateZ(0);
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.atlas-marker-window img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 1rem;
  filter: saturate(0.94) contrast(0.98) brightness(1.08);
  opacity: 0;
  transition: opacity 120ms var(--ease-out);
}

.atlas-marker-window.is-image-loaded img {
  opacity: 1;
}

.atlas-marker-panel:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 0.32rem;
}

.atlas-marker[hidden] {
  display: none;
}

.atlas-marker.is-visible {
  opacity: 1;
}

.atlas-marker.is-active {
  z-index: 7;
}

.atlas-marker.is-active .atlas-marker-panel {
  width: var(--atlas-marker-expanded-width);
  transform: translateX(-50%);
}

.atlas-marker-body {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-height: 0;
  gap: 0.48rem;
  padding: 0 0.92rem;
  overflow: hidden;
  border: var(--rule-hair) solid transparent;
  border-top: 0;
  border-radius: 0 0 1.75rem 1.75rem;
  background: #fff;
  clip-path: inset(0 0 100% 0);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: 1.2;
  text-align: left;
  opacity: 0;
  transform: translateY(var(--atlas-marker-body-y));
  transform-origin: 50% 0;
  will-change: max-height, clip-path, opacity, transform;
  transition:
    max-height 420ms var(--ease-out),
    padding 420ms var(--ease-out),
    clip-path 420ms var(--ease-out),
    transform 420ms var(--ease-out),
    border-color 120ms var(--ease-out),
    opacity 180ms var(--ease-out);
}

.atlas-marker-body > * {
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity 220ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.atlas-marker.is-active .atlas-marker-body {
  max-height: 15rem;
  padding: 0.82rem 0.92rem 0.98rem;
  border-color: oklch(70% 0.012 82);
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
  transition-duration: 460ms, 460ms, 460ms, 460ms, 120ms, 180ms;
}

.atlas-marker.is-active .atlas-marker-body > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.atlas-marker.is-active .atlas-marker-window {
  border-color: oklch(70% 0.012 82);
  box-shadow:
    0 0.95rem 2rem oklch(0% 0 0 / 0.16),
    inset 0 1px 0 oklch(100% 0 0 / 0.9);
}

.atlas-marker.is-active.is-preview-loading .atlas-marker-window {
  max-height: 0;
  padding: 0;
  border-width: 0;
  aspect-ratio: auto;
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
}

.atlas-marker.is-active.is-preview-loading .atlas-marker-window img {
  opacity: 0;
}

.atlas-marker.is-active.is-preview-loading .atlas-marker-body {
  border-top: var(--rule-hair) solid oklch(70% 0.012 82);
  border-radius: 1.75rem;
  transform: translateY(0);
}

.atlas-marker-year {
  display: block;
  width: 100%;
  color: var(--color-ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.atlas-marker-title {
  display: block;
  width: 100%;
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.atlas-marker-coordinates {
  display: block;
  width: 100%;
  color: var(--color-ink-soft);
  font-family: var(--font-serif);
  font-style: normal;
  line-height: 1.2;
}

.atlas-marker-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  margin-top: 0.42rem;
  padding: 0.64rem 1rem;
  border: var(--rule-hair) solid oklch(62% 0.012 82);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 0.22rem 0.8rem oklch(0% 0 0 / 0.08),
    inset 0 1px 0 oklch(100% 0 0 / 0.95);
}

.atlas-marker-explore.is-loading {
  cursor: wait;
}

.atlas-marker-explore-dots {
  display: inline-flex;
  gap: 0.08em;
  min-width: 2.2em;
  justify-content: center;
}

.atlas-marker-explore-dots span {
  opacity: 0.22;
  animation: atlasExploreDot 820ms ease-in-out infinite;
}

.atlas-marker-explore-dots span:nth-child(2) {
  animation-delay: 120ms;
}

.atlas-marker-explore-dots span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes atlasExploreDot {
  0%, 100% { opacity: 0.22; transform: translateY(0); }
  45% { opacity: 1; transform: translateY(-0.08rem); }
}

.atlas-pano-overlay {
  --atlas-pano-action-bottom: max(4rem, env(safe-area-inset-bottom));
  --atlas-pano-action-clearance: calc(var(--atlas-pano-action-bottom) + 6.2rem + 1.6rem);
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000;
  isolation: isolate;
}

.atlas-pano-overlay[hidden] {
  display: none;
}

.atlas-pano-overlay.is-preparing {
  opacity: 0;
  pointer-events: none;
}

.atlas-pano-brand {
  position: fixed;
  top: max(var(--layout-edge), env(safe-area-inset-top));
  left: max(var(--layout-edge), env(safe-area-inset-left));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.38),
    0 0 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.atlas-pano-brand .brand-icon {
  display: block;
  width: clamp(3.4rem, 5.2vw, 4.6rem);
  height: clamp(3.4rem, 5.2vw, 4.6rem);
  flex-shrink: 0;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 12px rgba(118, 212, 255, 0.18));
}

.atlas-pano-brand .brand-wordmark {
  display: inline-flex;
  align-items: center;
}

.atlas-pano-brand .brand-letter {
  position: relative;
  display: inline-block;
}

.atlas-pano-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  cursor: grab;
}

.atlas-pano-viewer:active {
  cursor: grabbing;
}

.atlas-pano-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.atlas-pano-meta {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: max(var(--layout-edge), env(safe-area-inset-top)) max(var(--layout-edge), env(safe-area-inset-right)) max(var(--layout-edge), env(safe-area-inset-bottom)) max(var(--layout-edge), env(safe-area-inset-left));
  border: 0;
  background: transparent;
  color: var(--paper-ink);
  font-family: var(--font-ui);
  text-align: left;
  pointer-events: none;
}

.atlas-pano-answer-card {
  position: relative;
  box-sizing: border-box;
  width: min(58rem, calc(100vw - (var(--layout-edge) * 2)));
  max-width: none;
  max-height: calc(100vh - var(--layout-edge) - var(--atlas-pano-action-clearance));
  max-height: calc(100dvh - var(--layout-edge) - var(--atlas-pano-action-clearance));
  border: 1px solid var(--border);
  border-radius: 2.2rem;
  background: var(--panel);
  color: var(--paper-ink);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  overflow: visible;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.atlas-pano-details-toggle {
  position: fixed;
  right: calc(max(var(--layout-edge), env(safe-area-inset-right)) + 7.4rem);
  bottom: max(4rem, env(safe-area-inset-bottom));
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  height: 6.2rem;
  min-width: 6.2rem;
  min-height: 6.2rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--paper-ink);
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
}

.atlas-pano-details-toggle:hover {
  background: #f8f9fa;
}

.atlas-pano-details-toggle:focus,
.atlas-pano-details-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(32, 33, 34, 0.14),
    0 2px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.atlas-pano-details-toggle:active {
  background: #eaecf0;
}

.atlas-pano-details-toggle svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: currentColor;
  stroke: none;
  pointer-events: none;
}

.atlas-pano-overlay .win98-panel-body {
  padding: 2rem;
  background: transparent;
  border-radius: inherit;
  overflow: hidden;
}

.atlas-pano-overlay .result-panel-body {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  max-height: calc(100vh - var(--layout-edge) - var(--atlas-pano-action-clearance));
  max-height: calc(100dvh - var(--layout-edge) - var(--atlas-pano-action-clearance));
  overflow: hidden;
}

.atlas-pano-overlay .result-panel-body > :not(.is-hidden) + :not(.is-hidden) {
  margin-top: 0.8rem;
}

.atlas-pano-overlay .supporting-text {
  margin: 0;
  padding: 1.4rem 1.6rem;
  color: var(--paper-ink);
  line-height: 1.35;
  background: var(--paper-bg-soft);
  border: 1px solid var(--paper-line);
  border-radius: 1.3rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  overflow: hidden;
}

.atlas-pano-answer-summary {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  align-items: baseline;
  gap: 1.2rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--paper-ink);
  white-space: normal;
  padding-right: 1.6rem;
}

.atlas-pano-overlay .answer-summary-name,
.atlas-pano-overlay .answer-summary-date {
  min-width: 0;
  color: var(--paper-ink);
  font-weight: 400;
}

.atlas-pano-overlay .answer-summary-name {
  text-align: left;
  overflow-wrap: anywhere;
}

.atlas-pano-overlay .answer-summary-date {
  text-align: right;
  white-space: nowrap;
}

.atlas-pano-overlay .wiki-summary-card {
  display: grid;
  gap: 1rem;
  min-height: 0;
  max-height: none;
  padding: 1.1rem;
  min-width: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.atlas-pano-overlay .wiki-summary-card::-webkit-scrollbar {
  display: none;
}

.atlas-pano-meta.is-atlas-pano-details-hidden .atlas-pano-answer-card {
  display: none;
}

.atlas-pano-overlay .wiki-summary-card.is-hidden {
  display: none;
}

.atlas-pano-overlay .wiki-summary-extract,
.atlas-pano-overlay .wiki-summary-meta {
  margin: 0;
  color: var(--paper-muted);
  font-size: 1.8rem;
  line-height: 1.45;
  overflow: hidden;
}

.atlas-pano-overlay .wiki-summary-image-link {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--paper-line);
}

.atlas-pano-overlay .wiki-summary-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.atlas-pano-overlay .wiki-summary-content {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  overflow: hidden;
}

.atlas-pano-overlay .wiki-summary-title {
  display: -webkit-box;
  color: var(--paper-ink);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.15;
  text-decoration: none;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.atlas-pano-overlay .wiki-summary-title:hover,
.atlas-pano-overlay .wiki-summary-title:focus-visible,
.atlas-pano-overlay .wiki-summary-links a:hover,
.atlas-pano-overlay .wiki-summary-links a:focus-visible {
  color: var(--paper-accent);
}

.atlas-pano-overlay .wiki-summary-extract {
  display: block;
  overflow: hidden;
  -webkit-line-clamp: unset;
}

.atlas-pano-overlay .wiki-summary-meta {
  color: var(--paper-muted);
  font-size: 1.5rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.atlas-pano-overlay .wiki-summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  min-width: 0;
  overflow: hidden;
}

.atlas-pano-overlay .wiki-summary-links a {
  color: var(--paper-accent);
  font-size: 1.6rem;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.atlas-pano-close {
  position: fixed;
  right: max(var(--layout-edge), env(safe-area-inset-right));
  bottom: max(4rem, env(safe-area-inset-bottom));
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  height: 6.2rem;
  min-width: 6.2rem;
  min-height: 6.2rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #202122;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
}

.atlas-pano-close:hover {
  background: #f8f9fa;
}

.atlas-pano-close:focus,
.atlas-pano-close:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(32, 33, 34, 0.14),
    0 2px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.atlas-pano-close:active {
  background: #eaecf0;
}

.atlas-pano-close svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.is-atlas-pano-open {
  overflow: hidden;
}

.atlas-timeline {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: 2.6rem;
  left: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  pointer-events: none;
  isolation: isolate;
}

.atlas-timeline-strip {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: auto;
  transform: none;
}

.atlas-timeline .timeline-glass {
  position: relative;
  box-sizing: border-box;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.38);
  border-radius: inherit;
  background: transparent;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.14),
    0 0 20px rgba(0, 0, 0, 0.1);
}

.atlas-timeline .timeline-glass-filter,
.atlas-timeline .timeline-glass-overlay,
.atlas-timeline .timeline-glass-specular,
.atlas-timeline .timeline-glass-content {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.atlas-timeline .timeline-glass-filter,
.atlas-timeline .timeline-glass-overlay,
.atlas-timeline .timeline-glass-specular {
  pointer-events: none;
}

.atlas-timeline .timeline-glass-filter {
  z-index: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  filter: url(#timelineLensFilter) saturate(125%) brightness(1.04);
}

.atlas-timeline .timeline-glass-overlay {
  z-index: 1;
  background: rgba(255, 255, 255, 0.16);
}

.atlas-timeline .timeline-glass-specular {
  z-index: 2;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 14px rgba(255, 255, 255, 0.18);
}

.atlas-timeline .timeline-glass-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.atlas-timeline-canvas {
  display: block;
  flex: 0 0 auto;
  min-width: var(--timeline-canvas-min-width, 740px);
  width: max(var(--timeline-canvas-min-width, 740px), calc(100% + 48px));
  height: 62px;
  margin-left: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.atlas-timeline-canvas.is-dragging {
  cursor: ew-resize;
}

.atlas-timeline-canvas:focus-visible {
  outline: var(--rule-bold) solid var(--color-focus);
  outline-offset: -0.72rem;
}

.timeline-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.atlas-timeline-meta {
  position: absolute;
  left: 50%;
  bottom: clamp(9.9rem, 10.4vh, 11.6rem);
  z-index: 4;
  display: grid;
  grid-template-columns: 1.16em auto 1.16em;
  align-items: center;
  justify-content: center;
  column-gap: 0.02em;
  color: var(--atlas-time-ink);
  font-family: var(--font-year);
  font-size: clamp(3.4rem, 5.8vw, 7.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.46);
  transform: translateX(-50%);
}

.atlas-timeline-meta > span,
.atlas-timeline-meta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 1em;
  min-height: 1em;
  color: inherit;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
}

.atlas-timeline-meta > span {
  cursor: text;
}

.atlas-timeline-meta > span.is-editing {
  width: var(--atlas-year-edit-width, auto);
  overflow: visible;
}

.atlas-timeline-meta > span:focus-visible {
  outline: none;
}

.atlas-timeline-meta button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-0.03em);
  opacity: 0.78;
}

.atlas-timeline-meta button:hover {
  opacity: 1;
}

.atlas-timeline-meta button:focus-visible {
  outline: var(--rule-bold) solid var(--color-focus);
  outline-offset: 0.26rem;
}

.atlas-timeline-meta button:disabled {
  cursor: default;
  opacity: 0.34;
}

.atlas-year-input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 1em;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-align: center;
  text-shadow: inherit;
  box-shadow: none;
  transform: translateY(0);
}

.atlas-year-input::-webkit-outer-spin-button,
.atlas-year-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.atlas-year-input:focus {
  outline: none;
  background: transparent;
}

.atlas-year-input::selection {
  background: transparent;
  color: inherit;
}

.atlas-timeline-meta > span.is-invalid .atlas-year-input {
  color: #9e2f24;
  background: transparent;
}

.atlas-timeline-meta > span.is-invalid {
  animation: atlasYearInputReject 180ms ease-out;
}

@keyframes atlasYearInputReject {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-0.05em); }
  65% { transform: translateX(0.05em); }
}

.atlas-year-value,
.atlas-year-era {
  display: inline-block;
  line-height: 1;
}

.atlas-year-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}

.atlas-year-digit {
  display: inline-block;
}

.atlas-year-era {
  font-size: 0.8em;
  transform: translateY(0.03em);
}

.site-footer {
  display: grid;
  gap: var(--space-2xl);
  padding: clamp(4.8rem, 7vw, 7.2rem) 0 var(--space-2xl);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.site-footer-brandline {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  min-width: max-content;
}

.site-brand--footer {
  font-size: var(--text-base);
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xl);
  margin-top: calc(var(--space-lg) * -1);
}

.site-footer-version {
  margin: 0;
  color: var(--color-ink-soft);
  font-family: var(--font-pixel);
  font-size: calc(var(--text-base) * 0.92);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-sm) var(--space-lg);
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav a {
  color: var(--color-ink-soft);
  text-decoration: none;
  text-underline-offset: 0.28em;
}

.site-footer nav a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

.site-footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  justify-self: end;
  margin: 0;
}

.site-footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-ink-soft);
  text-decoration: none;
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  background: transparent;
  color: var(--color-ink);
  text-decoration: none;
  outline: none;
}

.site-footer-social svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer-social a[href="/stats"] svg {
  stroke-width: 2;
}

.site-footer-social path[stroke="none"] {
  fill: currentColor;
  stroke: none;
}

.site-brand--footer .site-brand-icon {
  width: 3.2rem;
  height: 3.2rem;
  image-rendering: pixelated;
}

.content-shell {
  width: min(78rem, calc(100vw - var(--page-gutter) * 2));
  margin-inline: auto;
  padding: calc(var(--site-header-height) + var(--space-3xl)) 0 var(--space-4xl);
}

.content-article {
  max-width: 68ch;
}

.content-kicker {
  margin: 0 0 var(--space-sm);
  color: var(--color-accent);
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-article h1 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.content-article h2 {
  margin: var(--space-xl) 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.content-article p,
.content-article li {
  color: var(--color-ink-soft);
  font-size: var(--text-md);
  line-height: 1.45;
}

.content-article ol,
.content-article ul {
  padding-left: var(--space-lg);
}

.profile-shell {
  width: min(112rem, calc(100vw - (var(--page-gutter) * 2)));
  padding-top: calc(var(--site-header-height) + var(--space-2xl));
}

.profile-panel {
  display: grid;
  gap: var(--space-xl);
  width: 100%;
}

.profile-masthead {
  padding: 0;
}

.profile-identity {
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.profile-copy {
  min-width: 0;
}

.profile-name {
  margin: 0;
  color: var(--color-ink);
  font-family: "TRJN DaVinci", var(--font-serif);
  font-size: clamp(4.2rem, 6.2vw, 7.2rem);
  font-style: italic;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.profile-email {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.profile-dashboard {
  display: grid;
  gap: var(--space-lg);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  width: 100%;
  margin: 0;
}

.profile-stat,
.profile-mode-breakdown,
.profile-ranked-breakdown,
.profile-highscore-breakdown,
.profile-pano-progress,
.profile-route-summary {
  min-width: 0;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 1.4rem;
  background: var(--color-paper-soft);
  box-shadow: inset 0 0.1rem 0 var(--nav-action-highlight);
}

.profile-stat {
  display: grid;
  align-content: space-between;
  min-height: 10.4rem;
  padding: 1.45rem 1.55rem;
}

.profile-stat dt,
.profile-mode-stat dt {
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  line-height: 1.1;
}

.profile-stat dd,
.profile-mode-stat dd {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-year);
  font-size: clamp(2.8rem, 3.8vw, 4rem);
  line-height: 0.95;
  white-space: nowrap;
}

.profile-stat--score {
  min-height: 13.2rem;
  padding: 1.6rem 1.7rem;
}

.profile-stat--score dt {
  font-size: var(--text-md);
}

.profile-stat--score dd {
  font-size: clamp(4.4rem, 7vw, 6.6rem);
}

.profile-mode-breakdown,
.profile-ranked-breakdown,
.profile-highscore-breakdown {
  grid-column: 1 / -1;
  width: 100%;
  padding: 1.55rem;
}

.profile-mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
}

.profile-mode-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  min-width: 0;
  padding: 1.2rem 1.25rem;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 1rem;
  background: var(--color-paper);
}

.profile-mode-stat dt {
  min-width: 0;
  font-size: var(--text-md);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-mode-stat dd {
  font-size: 2.7rem;
  line-height: 1;
}

.profile-pano-progress,
.profile-route-summary {
  width: 100%;
  padding: 1.55rem;
}

.profile-mode-breakdown h2,
.profile-ranked-breakdown h2,
.profile-highscore-breakdown h2,
.profile-pano-progress h2,
.profile-route-summary h2 {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-family: "TRJN DaVinci", var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.08;
}

.profile-pano-progress-list,
.profile-route-list {
  display: grid;
  gap: 0.9rem;
}

.profile-pano-progress-row,
.profile-route-item {
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 1rem;
  background: var(--color-paper);
}

.profile-pano-progress-head,
.profile-route-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
}

.profile-pano-progress-head {
  margin-bottom: 0.85rem;
}

.profile-pano-progress-head span,
.profile-route-item span {
  min-width: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-pano-progress-head strong,
.profile-route-item strong {
  color: var(--color-ink);
  font-family: var(--font-year);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.profile-pano-progress-track {
  position: relative;
  overflow: hidden;
  height: 0.95rem;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 999rem;
  background: oklch(0% 0 0 / 0.08);
}

.profile-pano-progress-track span {
  display: block;
  width: var(--profile-pano-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--color-ink);
  transition: width var(--dur-med) var(--ease-out);
}

.profile-route-summary[hidden] {
  display: none !important;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: calc(-1 * var(--space-xs));
}

.profile-sign-out {
  min-height: 4.8rem;
  padding: 0 1.85rem;
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--home-hero-action-border);
  border-radius: var(--nav-control-radius);
  background: var(--home-hero-action-face);
  font-family: var(--font-year);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  box-shadow:
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  cursor: pointer;
  transition:
    background var(--dur-short) linear,
    box-shadow var(--dur-short) linear,
    transform 70ms linear;
}

.profile-sign-out:hover {
  background: var(--home-hero-action-face-hover);
}

.profile-sign-out:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem var(--home-hero-action-focus),
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
}

.profile-sign-out:active {
  transform: translateY(0.1rem);
}

.profile-status {
  margin: calc(-1 * var(--space-sm)) 0 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  line-height: 1.25;
}

.profile-status[data-profile-status-tone="error"] {
  color: oklch(45% 0.13 32);
}

.site-brand--footer {
  color: var(--color-ink);
}

body.auth-page {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #c7d0dc;
  overflow-x: hidden;
}

body.auth-page::before {
  content: "";
  position: fixed;
  inset: -32px;
  z-index: 0;
  pointer-events: none;
  background-color: inherit;
  background-image: var(--auth-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(5px);
  opacity: 0;
  transform: translateZ(0) scale(1.02);
  transition: opacity 220ms ease;
}

body.auth-page.is-auth-background-ready::before {
  opacity: 1;
}

body.auth-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(0% 0 0 / 0.18), transparent 28%, transparent 72%, oklch(0% 0 0 / 0.2)),
    linear-gradient(180deg, oklch(0% 0 0 / 0.08), oklch(0% 0 0 / 0.34)),
    radial-gradient(circle at 50% 42%, oklch(100% 0 0 / 0.12), transparent 40rem),
    oklch(0% 0 0 / 0.14);
}

.auth-page .auth-shell {
  position: relative;
  z-index: 1;
}

.auth-page .home-nav {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.auth-page .home-brand,
.auth-page .home-nav nav .brand-button-2,
.auth-page .home-nav nav .brand-button-2:hover,
.auth-page .home-nav-link,
.auth-page .home-nav-link:hover,
.auth-page .home-auth-link,
.auth-page .home-auth-link:hover,
.auth-page .site-profile-link,
.auth-page .site-profile-link:hover,
.auth-page .home-nav-icon {
  color: #fff;
}

.auth-page .home-nav-link,
.auth-page .home-auth-link,
.auth-page .site-profile-link,
.auth-page .home-nav-icon,
.auth-page .brand-button-2--nav.jsx-1356654497 {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-shadow: 0 0.18rem 0.75rem oklch(0% 0 0 / 0.34);
}

.auth-page .home-nav-link:hover,
.auth-page .home-auth-link:hover,
.auth-page .site-profile-link:hover,
.auth-page .home-nav-icon:hover,
.auth-page .brand-button-2--nav.jsx-1356654497:hover {
  border-color: transparent;
  background: oklch(100% 0 0 / 0.12);
}

.auth-shell {
  display: grid;
  place-items: center;
  width: min(46rem, calc(100vw - var(--page-gutter) * 2));
  height: 100svh;
  min-height: 0;
  margin-inline: auto;
  padding: 0;
}

.auth-center {
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: min(47rem, calc(100svh - var(--site-header-height) - 3rem));
  align-content: center;
}

.auth-center h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-form {
  display: grid;
  gap: 1rem;
  width: min(37rem, 100%);
}

.auth-field {
  display: grid;
}

.auth-field + .auth-field {
  border-top: 0;
}

.auth-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-field input {
  width: 100%;
  min-height: 5.4rem;
  padding: 0 1.5rem;
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--home-hero-action-border);
  border-radius: 1.6rem;
  background: var(--home-hero-action-face);
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
  box-shadow:
    0 0.25rem 1.2rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  backdrop-filter: blur(10px);
}

.auth-field input::placeholder {
  color: var(--color-muted);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--color-ink);
  background: var(--home-hero-action-face-hover);
  box-shadow:
    0 0 0 0.2rem var(--home-hero-action-focus),
    0 0.25rem 1.2rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
}

.auth-page .auth-submit {
  width: 100%;
  min-height: 5.6rem;
  margin-top: 0;
  padding: 0 2.4rem;
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--home-hero-action-border);
  border-radius: var(--nav-control-radius);
  background: var(--home-hero-action-face);
  font-family: "TRJN DaVinci", var(--font-serif);
  font-size: clamp(2.25rem, 2.1vw, 2.65rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
  box-shadow:
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background var(--dur-short) linear,
    box-shadow var(--dur-short) linear,
    transform 70ms linear,
    color var(--dur-short) linear;
}

.auth-page .auth-submit:hover {
  color: var(--color-ink);
  background: var(--home-hero-action-face-hover);
}

.auth-page .auth-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem var(--home-hero-action-focus),
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
}

.auth-page .auth-submit:active {
  color: var(--color-ink);
  background: var(--home-hero-action-face-active);
  box-shadow:
    0 0.1rem 0.5rem var(--home-hero-action-shadow-active),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  transform: translateY(0.1rem);
}

.auth-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.6rem;
  padding: 0 2rem;
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--home-hero-action-border);
  border-radius: var(--nav-control-radius);
  background: var(--home-hero-action-face);
  font-family: var(--font-year);
  font-size: clamp(2.15rem, 2vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  box-shadow:
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background var(--dur-short) linear,
    box-shadow var(--dur-short) linear,
    transform 70ms linear;
}

.auth-google svg {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
}

.auth-google:hover {
  background: var(--home-hero-action-face-hover);
}

.auth-google:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 0.2rem var(--home-hero-action-focus),
    0 0.2rem 1rem var(--home-hero-action-shadow),
    inset 0 0.1rem 0 var(--home-hero-action-highlight);
}

.auth-google:active {
  background: var(--home-hero-action-face-active);
  transform: translateY(0.1rem);
}

.auth-text-button {
  appearance: none;
  -webkit-appearance: none;
  justify-self: center;
  padding: 0;
  color: #fff;
  border: 0;
  border-bottom: 0.1rem solid oklch(100% 0 0 / 0.72);
  background: transparent;
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0.2rem 1rem oklch(0% 0 0 / 0.42);
  cursor: pointer;
}

.auth-inline-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.58rem;
  margin: 0;
  min-height: 2.6rem;
  color: oklch(100% 0 0 / 0.88);
  font-family: var(--font-serif);
  font-size: 1.72rem;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 0.2rem 1rem oklch(0% 0 0 / 0.42);
  white-space: nowrap;
}

.auth-form .auth-inline-links[hidden],
.auth-form .auth-google[hidden],
.auth-form .auth-field[hidden] {
  display: none !important;
}

.auth-inline-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 0.1rem solid oklch(100% 0 0 / 0.72);
}

.auth-inline-links a:hover,
.auth-inline-links a:focus-visible {
  border-bottom-color: #fff;
  outline: none;
}

.auth-text-button:hover,
.auth-text-button:focus-visible {
  border-bottom-color: #fff;
  outline: none;
}

.auth-submit:disabled,
.auth-google:disabled,
.auth-field input:disabled,
.auth-text-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-status {
  display: block;
  min-height: 4.2rem;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 0.16rem 0.85rem oklch(0% 0 0 / 0.5);
}

.auth-status[hidden] {
  display: block;
  visibility: hidden;
}

.auth-form[data-auth-complete="true"] {
  width: min(43rem, 100%);
  gap: 0;
  transform: translateY(-3.4rem);
}

.auth-form[data-auth-complete="true"] > :not(.auth-status) {
  display: none !important;
}

.auth-form[data-auth-complete="true"] .auth-status {
  visibility: visible;
  min-height: 0;
  color: #fff;
  font-family: "TRJN DaVinci", var(--font-serif);
  font-style: italic;
  font-size: clamp(2.8rem, 4.4vw, 4.15rem);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow:
    0 0.2rem 0.2rem oklch(0% 0 0 / 0.24),
    0 0.9rem 3rem oklch(0% 0 0 / 0.38);
}

.auth-turnstile {
  display: grid;
  place-items: center;
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(32rem, 100vw - 2rem);
  min-height: 0;
  margin: 0;
  overflow: visible;
  transform: translateX(-50%);
  pointer-events: auto;
  z-index: 100;
}

.auth-status[data-auth-status-tone="error"] {
  color: oklch(93% 0.07 35);
}

.auth-status[data-auth-status-tone="success"] {
  color: oklch(96% 0.06 145);
}

.auth-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0 0;
  min-height: 2.4rem;
  color: oklch(100% 0 0 / 0.9);
  font-family: var(--font-serif);
  font-size: 1.72rem;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 0.2rem 1rem oklch(0% 0 0 / 0.42);
  white-space: nowrap;
}

.auth-switch a {
  color: #fff;
  text-decoration: none;
  border-bottom: 0.1rem solid oklch(100% 0 0 / 0.72);
}

.auth-switch a:hover {
  text-decoration: none;
  border-bottom-color: #fff;
}

.auth-page .site-footer {
  display: none;
}

.archive-shell {
  width: min(var(--page-max), calc(100vw - var(--page-gutter) * 2));
  margin-inline: auto;
  padding: calc(var(--site-header-height) + var(--space-3xl)) 0 var(--space-4xl);
}

.atlas-page {
  min-height: 100svh;
  overflow: hidden;
}

.atlas-page .home-nav {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.atlas-shell {
  width: 100vw;
  height: 100svh;
  padding: 0;
}

.atlas-shell .atlas-section {
  width: 100%;
  height: 100%;
  padding: 0;
}

.atlas-shell .atlas-panel {
  height: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  grid-template-rows: minmax(0, 1fr);
}

.archive-filter-panel {
  display: grid;
  gap: 0.6rem;
  margin-inline: 0;
  padding: var(--space-sm);
  background: #fff;
  border: var(--rule-hair) solid var(--color-rule);
}

.archive-tabs,
.archive-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  border: 0;
}

.archive-tabs button,
.archive-subtabs a,
.archive-era-heading > a {
  appearance: none;
  -webkit-appearance: none;
  color: var(--color-ink);
  background: transparent;
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.archive-tabs button,
.archive-subtabs a {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0.75rem clamp(0.8rem, 1.5vw, 1.1rem);
  border: var(--rule-hair) solid var(--color-rule);
  background: #fff;
  line-height: 1.05;
  text-wrap: balance;
}

.archive-subtabs a {
  max-width: min(24rem, 100%);
}

.archive-tabs button.is-selected,
.archive-subtabs a.is-selected,
.archive-subtabs a:hover {
  color: #fff;
  background: var(--color-ink);
  border-color: var(--color-ink);
}

.archive-group[hidden] {
  display: none;
}

.archive-group {
  padding: 0;
  scroll-margin-top: calc(var(--site-header-height) + var(--space-3xl));
}

.archive-era {
  padding: var(--space-4xl) 0 0;
  scroll-margin-top: calc(var(--site-header-height) + var(--space-3xl));
}

.archive-group > .archive-era {
  padding-top: var(--space-3xl);
}

.archive-filter-heading {
  --archive-linotype-size: 3.6rem;
  --archive-linotype-color: var(--color-ink-soft);
  display: grid;
  gap: var(--space-md);
  padding-bottom: 0;
}

.archive-filter-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 9vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.86;
}

.archive-filter-heading h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.archive-linotype-divider {
  display: grid;
  grid-template-columns: var(--archive-linotype-size) minmax(0, 1fr) var(--archive-linotype-size);
  align-items: stretch;
  width: 100%;
  height: var(--archive-linotype-size);
  background: #fff;
  color: var(--archive-linotype-color);
}

.archive-linotype-corner,
.archive-linotype-line {
  display: block;
  background-color: currentColor;
}

.archive-linotype-corner {
  width: var(--archive-linotype-size);
  height: var(--archive-linotype-size);
  mask-image: url("/assets/imgs/linotype-no-110-corner-divider.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("/assets/imgs/linotype-no-110-corner-divider.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.archive-linotype-corner--right {
  transform: scaleX(-1);
}

.archive-linotype-line {
  height: var(--archive-linotype-size);
  mask-image: url("/assets/imgs/linotype-no-110-divider.svg");
  mask-position: left center;
  mask-repeat: repeat-x;
  mask-size: auto var(--archive-linotype-size);
  -webkit-mask-image: url("/assets/imgs/linotype-no-110-divider.svg");
  -webkit-mask-position: left center;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: auto var(--archive-linotype-size);
}

.archive-era-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: clamp(0.9rem, 1.2vw, 1.35rem);
}

.archive-era-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.archive-page #archive-title {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.archive-page .archive-era-heading h2 {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.archive-era-title-link,
.archive-era-title-link:any-link {
  color: inherit;
  text-decoration: none;
}

.archive-era-heading > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 3.6rem;
  max-width: min(32rem, 48vw);
  padding: 0 1.15rem;
  color: var(--color-ink);
  border: 1px solid oklch(18.5% 0.01 82 / 0.16);
  border-radius: var(--nav-control-radius);
  background: oklch(100% 0 0 / 0.58);
  font-family: var(--font-interface);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
  text-decoration: none;
  text-transform: none;
  text-wrap: balance;
  backdrop-filter: blur(6px);
  transition:
    background var(--dur-short) linear,
    border-color var(--dur-short) linear,
    box-shadow var(--dur-short) linear;
}

.archive-era-heading > a:hover,
.archive-era-heading > a:focus-visible {
  color: var(--color-ink);
  border-color: oklch(18.5% 0.01 82 / 0.38);
  background: oklch(100% 0 0 / 0.88);
  text-decoration: none;
}

.archive-era-heading > a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem var(--nav-action-focus);
}

.archive-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.archive-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  aspect-ratio: 2 / 1;
  min-height: 0;
  padding: var(--space-lg);
  overflow: hidden;
  color: #fff;
  background: oklch(0% 0 0);
  border: var(--rule-hair) solid var(--color-rule-strong);
  text-decoration: none;
  isolation: isolate;
}

.archive-route::before,
.archive-route::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.archive-route::before {
  background-image: var(--archive-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 190% auto;
  transform: scale(1);
  transition: transform var(--dur-medium) var(--ease-out);
}

.archive-route::after {
  background:
    linear-gradient(180deg, oklch(0% 0 0 / 0.015), oklch(0% 0 0 / 0.1)),
    linear-gradient(90deg, oklch(0% 0 0 / 0.04), transparent 68%);
}

.archive-route:hover::before {
  transform: scale(1.045);
}

.archive-route span {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
  align-self: start;
  padding: 0.42rem 0.58rem 0.35rem;
  background: oklch(0% 0 0 / 0.34);
  border: var(--rule-hair) solid oklch(100% 0 0 / 0.5);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0.14rem 0.45rem oklch(0% 0 0 / 0.55);
  text-transform: uppercase;
}

.archive-route strong {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: min(24ch, 100%);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 2.7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
  text-shadow: 0 0.18rem 0.8rem oklch(0% 0 0 / 0.52);
}

.archive-page .archive-route strong {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: normal;
  font-weight: 400;
}

body.archive-detail-page {
  color: var(--color-ink);
  background: var(--color-paper);
}

.archive-detail-page .home-nav {
  color: var(--color-ink);
}

.archive-detail-shell {
  --archive-detail-hero-height: clamp(48rem, 60svh, 68rem);
  position: relative;
  display: grid;
  min-height: 100svh;
  width: 100%;
  padding: calc(var(--site-header-height) + clamp(4.8rem, 8vh, 9.6rem)) var(--page-gutter) clamp(4.8rem, 7vh, 7.6rem);
  color: var(--color-ink);
  isolation: isolate;
}

.archive-detail-document {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(26rem, 0.48fr);
  gap: clamp(2.8rem, 4vw, 5.6rem) clamp(3.2rem, 6vw, 8rem);
  align-items: end;
  width: min(var(--page-max), 100%);
  max-width: none;
  min-height: calc(100svh - var(--site-header-height) - clamp(9rem, 15vh, 17rem));
  margin: 0 auto;
}

.archive-detail-back,
.archive-detail-back:any-link {
  display: inline-flex;
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--archive-detail-ink-muted);
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  box-shadow: none;
  background-image: none;
}

.archive-detail-back:visited,
.archive-detail-back:hover,
.archive-detail-back:active,
.archive-detail-back:focus,
.archive-detail-back:focus-visible {
  color: var(--color-ink);
  text-decoration: none !important;
}

.archive-detail-masthead {
  display: grid;
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  gap: clamp(1.8rem, 2.6vw, 3.2rem);
  align-content: start;
  align-self: end;
  height: var(--archive-detail-hero-height);
  min-width: 0;
  margin-top: 0;
  padding-top: clamp(3.2rem, 6vh, 8rem);
}

.archive-detail-masthead h1 {
  min-width: 0;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(5.8rem, 10.4vw, 14.4rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.88;
  overflow-wrap: normal;
  text-wrap: balance;
  text-shadow: 0 0.22rem 2.8rem var(--archive-detail-paper-glow);
}

.archive-detail-page .archive-detail-masthead h1 {
  font-family: "TRJN DaVinci", var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.archive-detail-lede {
  max-width: 56ch;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 2.35vw, 3.2rem);
  line-height: 1.28;
  text-shadow: 0 0.16rem 1.8rem var(--archive-detail-paper-glow);
}

.archive-detail-action-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin: var(--space-sm) 0 0;
}

.archive-detail-action-line > a:not(.brand-button-2) {
  display: inline-flex;
  align-items: center;
  min-height: 5.2rem;
  color: var(--color-ink);
  font-family: var(--font-pixel);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.archive-detail-action-line .brand-button-2 {
  width: fit-content;
  white-space: nowrap;
  text-decoration: none !important;
}

.archive-detail-action-line .brand-button-2:hover,
.archive-detail-action-line .brand-button-2:visited,
.archive-detail-action-line .brand-button-2:focus,
.archive-detail-action-line .brand-button-2:focus-visible,
.archive-detail-action-line .brand-button-2:active {
  text-decoration: none !important;
}

.archive-detail-action-line > a:not(.brand-button-2)::after {
  content: " ->";
}

.archive-detail-pano {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  display: block;
  margin: 0;
  height: clamp(66rem, 100svh, 96rem);
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--archive-detail-veil) 0%, var(--archive-detail-veil-soft) 34%, var(--archive-detail-veil-clear) 66%, var(--archive-detail-veil) 100%),
    linear-gradient(180deg, var(--archive-detail-veil) 0%, var(--archive-detail-veil-clear) 30%, var(--archive-detail-veil-soft) 72%, var(--archive-detail-veil) 100%),
    var(--archive-detail-image) center / cover no-repeat,
    var(--color-paper);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgb(0 0 0 / 0.74) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgb(0 0 0 / 0.74) 82%, transparent 100%);
  pointer-events: none;
}

.archive-detail-pano img {
  display: none;
}

.archive-detail-pano figcaption {
  display: none;
}

.archive-detail-pano figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--archive-detail-ink-soft);
  font-family: var(--font-pixel);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-detail-prose {
  display: grid;
  position: relative;
  z-index: 1;
  grid-column: 1;
  gap: var(--space-lg);
  align-self: start;
  padding-top: clamp(1.6rem, 3vh, 3.2rem);
  border-top: var(--rule-hair) solid var(--archive-detail-rule);
}

.archive-detail-prose p {
  max-width: 66ch;
  margin: 0;
  color: var(--archive-detail-ink-soft);
  font-family: var(--font-body);
  font-size: clamp(2rem, 1.9vw, 2.45rem);
  line-height: 1.5;
  text-shadow: 0 0.14rem 1.4rem var(--archive-detail-paper-glow);
}

.archive-detail-prose strong {
  color: var(--color-ink);
  font-weight: 700;
}

.archive-detail-ledger {
  display: grid;
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 3;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: start;
  margin: 0;
  padding: clamp(1rem, 1.8vw, 1.8rem) 0 0;
  border-top: var(--rule-hair) solid var(--archive-detail-rule-strong);
}

.archive-detail-ledger > div {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
  padding: clamp(1.3rem, 1.7vw, 2rem) 0;
  border-bottom: var(--rule-hair) solid var(--archive-detail-rule);
}

.archive-detail-ledger dt,
.archive-detail-ledger dd {
  margin: 0;
}

.archive-detail-ledger dt {
  color: var(--archive-detail-ink-muted);
  font-family: var(--font-pixel);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-detail-ledger dd {
  min-width: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: clamp(2rem, 2vw, 2.8rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-shadow: 0 0.12rem 1.2rem var(--archive-detail-paper-glow);
}

.archive-detail-page .site-footer {
  position: relative;
  z-index: 1;
  color: var(--archive-detail-ink-soft);
  background: transparent;
  border-color: var(--archive-detail-rule);
}

@media (max-width: 980px) {
  :root {
    --site-header-height: 10.8rem;
  }

  .photo-hero {
    min-height: 92svh;
  }

  .home-globe-scene-card {
    width: min(29rem, 42vw);
  }

  .home-globe-scene-card[data-placement] {
    top: clamp(7rem, var(--globe-card-y, 50%), calc(100% - 7rem));
    bottom: auto;
    --home-globe-card-transform: translateY(-50%);
  }

  .home-globe-scene-card[data-placement="right"] {
    right: auto;
    left: calc(100% + 1.2rem);
  }

  .home-globe-scene-card[data-placement="left"] {
    right: calc(100% + 1.2rem);
    left: auto;
  }

  .mode-strip,
  .era-gallery-heading,
  .atlas-heading,
  .atlas-entry-showcase {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .atlas-entry-media {
    order: -1;
  }

  .era-gallery-title-row {
    width: 100%;
    gap: var(--space-sm);
  }

  .era-gallery-view-all {
    display: none;
  }

  .era-gallery-title-row h2 {
    min-width: 0;
  }

  .era-gallery-title-link {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .atlas-entry-cta {
    justify-self: center;
  }

  .era-gallery-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(31rem, 100%);
    min-height: 5.4rem;
    margin: var(--space-md) auto 0;
    padding: 0 2rem;
    border: 1px solid #a2a9b1;
    border-radius: var(--nav-control-radius);
    background: rgba(255, 255, 255, 0.92);
    color: #202122;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow:
      0 0.2rem 1rem rgba(0, 0, 0, 0.12),
      inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition:
      background-color 120ms ease,
      box-shadow 120ms ease,
      transform 70ms linear;
  }

  .era-gallery-mobile-cta:visited,
  .era-gallery-mobile-cta:hover,
  .era-gallery-mobile-cta:focus,
  .era-gallery-mobile-cta:active {
    color: var(--color-ink);
    text-decoration: none;
  }

  .era-gallery-mobile-cta:hover,
  .era-gallery-mobile-cta:focus-visible {
    background: #f8f9fa;
  }

  .era-gallery-mobile-cta:focus-visible {
    outline: none;
    box-shadow:
      0 0 0 0.2rem rgba(32, 33, 34, 0.14),
      0 0.2rem 1rem rgba(0, 0, 0, 0.12),
      inset 0 0.1rem 0 rgba(255, 255, 255, 0.95);
  }

  .era-gallery-grid {
    grid-template-columns: 1fr;
  }

  .era-tile {
    width: 100%;
    min-height: 0;
  }

  .era-tile strong,
  .archive-route strong {
    font-size: clamp(3.1rem, 7.6vw, 4.4rem);
    line-height: 0.96;
  }

  .mode-strip-grid,
  .proof-grid,
  .archive-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mode-strip-grid a {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.88rem;
    row-gap: 0.48rem;
    min-height: 9.8rem;
    padding: 1.2rem 1.35rem 1.12rem;
    align-items: center;
  }

  .mode-card--daily {
    padding-right: 9.8rem;
    padding-bottom: 1.12rem;
  }

  .mode-icon {
    grid-column: 1;
    grid-row: 1;
    width: 4.25rem;
    height: 4.25rem;
    padding: 0.84rem;
  }

  .mode-strip-grid strong {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-top: 0;
  }

  .mode-strip-grid a > small {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin-top: 0;
  }

  .mode-card--ranked {
    grid-column: 1 / -1;
  }

  .archive-detail-ledger {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg) var(--space-sm);
  }

  .archive-detail-document {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: auto;
  }

  .archive-detail-masthead {
    height: clamp(50rem, 64svh, 70rem);
  }

  .archive-detail-prose {
    max-width: 76rem;
  }

  .atlas-panel {
    grid-template-rows: minmax(34rem, 48rem) auto;
  }

  .atlas-shell .atlas-panel {
    grid-template-rows: minmax(0, 1fr);
  }

  .site-footer-bottom {
    width: 100%;
    justify-content: flex-start;
    justify-self: stretch;
    margin-top: 0;
  }

  .site-footer-social {
    width: 100%;
    justify-content: flex-start;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --site-header-height: 5.6rem;
  }

  html {
    scroll-padding-top: calc(var(--site-header-height) + var(--space-lg));
  }

  .home-nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.72rem;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0.86rem 1.1rem;
    text-align: left;
    transform: none;
  }

  .home-nav {
    color: var(--color-ink);
    background: transparent;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
  }

  .home-nav .home-brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 0.42rem;
    font-size: clamp(1.72rem, 5.5vw, 2.12rem);
    white-space: nowrap;
  }

  .home-nav .home-brand img {
    width: 2.36rem;
    height: 2.36rem;
  }

  .home-nav nav {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.34rem;
    position: relative;
    overflow: visible;
    padding: 0;
  }

  .home-nav-icons,
  .site-auth-slot {
    flex-wrap: nowrap;
    gap: 0.34rem;
  }

  .site-auth-slot {
    min-width: 3.2rem;
    gap: 0.34rem;
  }

  .site-auth-slot[data-auth-state="signed-in"],
  html.site-auth-cached:not(.site-auth-ready) .site-auth-slot {
    flex-basis: 3.2rem;
    width: 3.2rem;
  }

  .home-nav-icon,
  .site-profile-link,
  .home-mobile-menu-button {
    width: 3.2rem;
    height: 3.2rem;
  }

  .home-nav-icon svg,
  .site-profile-link svg,
  .home-mobile-menu-button svg {
    width: 1.42rem;
    height: 1.42rem;
  }

  .home-mobile-menu-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-items: center;
    padding: 0;
    color: var(--color-ink);
    border: 1px solid oklch(18.5% 0.01 82 / 0.18);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .home-mobile-menu-button:focus {
    outline: none;
  }

  .home-mobile-menu-button:focus-visible {
    border-color: oklch(18.5% 0.01 82 / 0.42);
    box-shadow: 0 0 0 0.2rem var(--nav-action-focus);
  }

  .home-mobile-menu-button svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .home-mobile-menu-panel {
    position: absolute;
    top: calc(100% + 0.58rem);
    right: 0;
    z-index: 5;
    display: none;
    width: min(25rem, calc(100vw - 2.2rem));
    padding: 0.72rem;
    border: 1px solid oklch(18.5% 0.01 82 / 0.18);
    border-radius: 1.8rem;
    background: oklch(100% 0 0 / 0.98);
    box-shadow:
      0 1rem 2.2rem oklch(0% 0 0 / 0.1),
      inset 0 1px 0 oklch(100% 0 0 / 0.88);
    backdrop-filter: blur(12px) saturate(1.04);
  }

  .home-nav nav.is-mobile-menu-open .home-mobile-menu-panel {
    display: grid;
    gap: 0.64rem;
  }

  .home-mobile-menu-panel .home-nav-link,
  .home-mobile-menu-panel .home-auth-link {
    width: 100%;
    min-height: 4.35rem;
    justify-content: center;
    padding-inline: 1.35rem;
    border: 1px solid oklch(18.5% 0.01 82 / 0.22);
    border-radius: 1.35rem;
    background: #fff;
    font-family: "TRJN DaVinci", var(--font-display);
    font-style: italic;
    font-size: 1.62rem;
    font-weight: 400;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.9);
    backdrop-filter: blur(6px);
  }

  .home-mobile-menu-panel .site-auth-slot,
  .home-mobile-menu-panel .site-auth-slot[data-auth-state="signed-in"],
  html.site-auth-cached:not(.site-auth-ready) .home-mobile-menu-panel .site-auth-slot {
    display: grid;
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    justify-content: stretch;
    gap: 0.64rem;
  }

  .home-mobile-menu-panel .site-auth-slot:not([data-auth-state]) {
    display: none;
  }

  .home-mobile-menu-panel :is(.home-auth-link, .site-profile-link)[hidden] {
    display: none !important;
  }

  .home-mobile-menu-panel .site-profile-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 4.35rem;
    justify-content: center;
    padding-inline: 1.35rem;
    border: 1px solid oklch(18.5% 0.01 82 / 0.22);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.9);
    backdrop-filter: blur(6px);
  }

  .site-auth-ready .home-mobile-menu-panel .site-profile-link:not([hidden]),
  html.site-auth-cached:not(.site-auth-ready) .home-mobile-menu-panel .site-profile-link {
    display: inline-flex;
  }

  .home-mobile-menu-panel .site-profile-link::after {
    content: attr(data-site-profile-menu-label);
    overflow: hidden;
    font-family: "TRJN DaVinci", var(--font-display);
    font-style: italic;
    font-size: 1.62rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-mobile-menu-panel .site-profile-link svg {
    display: none;
  }

  .home-mobile-menu-panel .home-nav-link:hover,
  .home-mobile-menu-panel .home-nav-link:focus-visible,
  .home-mobile-menu-panel .home-auth-link:hover,
  .home-mobile-menu-panel .home-auth-link:focus-visible,
  .home-mobile-menu-panel .site-profile-link:hover,
  .home-mobile-menu-panel .site-profile-link:focus-visible {
    background: oklch(18.5% 0.01 82 / 0.055);
    border-color: oklch(18.5% 0.01 82 / 0.38);
  }

  .home-mobile-menu-panel .brand-button-2--nav.jsx-1356654497 {
    width: 100%;
    min-height: 4.35rem;
    margin-top: 0;
    justify-content: center;
    padding-inline: 1.35rem;
    border: 1px solid oklch(18.5% 0.01 82 / 0.22);
    border-radius: 1.35rem;
    background: #fff;
    font-family: "TRJN DaVinci", var(--font-display);
    font-style: italic;
    font-size: 1.62rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.9);
  }

  .home-nav > nav > .home-nav-link,
  .home-nav > nav > .home-auth-link,
  .home-nav > nav > .brand-button-2--nav.jsx-1356654497,
  .auth-page .home-nav > nav > .brand-button-2--nav.jsx-1356654497 {
    min-height: 3.2rem;
    padding-inline: 0.82rem;
    font-size: 1.28rem;
  }

  .home-language-list {
    grid-template-columns: 1fr;
  }

  .home-language-list .home-utility-action {
    width: 100%;
    min-height: 4.6rem;
    padding-inline: 1.4rem;
    font-size: 2.05rem;
    white-space: normal;
  }

  .auth-page .home-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .auth-page :is(.home-nav-icon, .site-profile-link, .home-mobile-menu-button) {
    color: var(--color-ink);
    border-color: oklch(18.5% 0.01 82 / 0.18);
    background: #fff;
    text-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .auth-page :is(.home-nav-icon, .site-profile-link, .home-mobile-menu-button):is(:hover, :focus-visible) {
    color: var(--color-ink);
    border-color: oklch(18.5% 0.01 82 / 0.42);
    background: #fff;
  }

  .auth-page .home-mobile-menu-panel {
    color: var(--color-ink);
    border-color: oklch(18.5% 0.01 82 / 0.16);
    background: oklch(100% 0 0 / 0.97);
    box-shadow: 0 0.72rem 1.8rem oklch(0% 0 0 / 0.11);
    text-shadow: none;
    -webkit-backdrop-filter: blur(12px) saturate(1.04);
    backdrop-filter: blur(12px) saturate(1.04);
  }

  .auth-page .home-mobile-menu-panel :is(
    .home-nav-link,
    .home-auth-link,
    .site-profile-link,
    .brand-button-2--nav.jsx-1356654497
  ) {
    color: var(--color-ink);
    border-color: oklch(18.5% 0.01 82 / 0.26);
    background: #fff;
    text-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .auth-page .home-mobile-menu-panel :is(
    .home-nav-link,
    .home-auth-link,
    .site-profile-link,
    .brand-button-2--nav.jsx-1356654497
  ):is(:hover, :focus-visible) {
    color: var(--color-ink);
    border-color: oklch(18.5% 0.01 82 / 0.38);
    background: oklch(18.5% 0.01 82 / 0.055);
  }

  .auth-shell {
    width: min(42rem, calc(100vw - var(--page-gutter) * 2));
    padding: 0;
  }

  .atlas-map-stage {
    --atlas-floating-control-top: calc(var(--site-header-height) + var(--space-sm));
    --atlas-settings-panel-top: calc(var(--atlas-floating-control-top) + 4.6rem);
    --atlas-ruler-attribution-offset: 8.6rem;
  }

  .atlas-timeline {
    right: var(--space-sm);
    bottom: 2rem;
    left: var(--space-sm);
  }

  .atlas-timeline-strip {
    width: 100%;
    min-width: 0;
  }

  .atlas-pano-overlay {
    --atlas-pano-mobile-top-clearance: calc(max(var(--layout-edge-mobile), env(safe-area-inset-top)) + 5.1rem);
    --atlas-pano-action-bottom: calc(3rem + env(safe-area-inset-bottom));
    --atlas-pano-action-clearance: calc(var(--atlas-pano-action-bottom) + 6.2rem + 1.6rem);
  }

  .atlas-pano-meta {
    align-items: flex-start;
    justify-content: stretch;
    padding: var(--atlas-pano-mobile-top-clearance) var(--layout-edge-mobile) var(--atlas-pano-action-clearance);
  }

  .atlas-pano-answer-card {
    width: 100%;
    max-height: calc(100dvh - var(--atlas-pano-mobile-top-clearance) - var(--atlas-pano-action-clearance));
    border-radius: 1.6rem;
  }

  .atlas-pano-brand {
    top: max(var(--layout-edge-mobile), env(safe-area-inset-top));
    left: var(--layout-edge-mobile);
    gap: 0.18rem;
    font-size: 2.6rem;
  }

  .atlas-pano-brand .brand-icon {
    width: clamp(2.6rem, 4.5vw, 3.4rem);
    height: clamp(2.6rem, 4.5vw, 3.4rem);
  }

  .atlas-pano-details-toggle {
    top: auto;
    right: calc(var(--layout-edge-mobile) + 7.4rem);
    bottom: var(--atlas-pano-action-bottom);
    width: 6.2rem;
    min-width: 6.2rem;
    height: 6.2rem;
    min-height: 6.2rem;
  }

  .atlas-pano-overlay .result-panel-body {
    max-height: calc(100dvh - var(--atlas-pano-mobile-top-clearance) - var(--atlas-pano-action-clearance));
  }

  .atlas-pano-close {
    top: auto;
    right: var(--layout-edge-mobile);
    bottom: var(--atlas-pano-action-bottom);
    left: auto;
    display: inline-grid;
    width: 6.2rem;
    min-width: 6.2rem;
    height: 6.2rem;
    min-height: 6.2rem;
    padding: 0;
  }

  .atlas-pano-close .round-end-toggle-icon {
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
  }

  .atlas-pano-close svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .atlas-pano-answer-summary {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .atlas-pano-overlay .answer-summary-date {
    text-align: left;
  }

  .photo-hero {
    --mobile-hero-lift: -1.2rem;
    min-height: 100svh;
    align-items: center;
    padding-top: calc(var(--site-header-height) + 4.2rem);
    padding-bottom: var(--space-xl);
  }

  .photo-hero-pano {
    --hero-pano-view-width: max(200vw, 190svh);
    transform: translateY(calc(var(--mobile-hero-lift) * -1));
    -webkit-mask-image:
      radial-gradient(ellipse 118% 76% at 50% 50%, #000 0 64%, rgb(0 0 0 / 0.78) 78%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%);
    mask-image:
      radial-gradient(ellipse 118% 76% at 50% 50%, #000 0 64%, rgb(0 0 0 / 0.78) 78%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%);
  }

  .photo-hero-pano::after {
    background:
      radial-gradient(ellipse 84% 50% at 50% 50%, transparent 0 52%, oklch(99.1% 0.004 82 / 0.26) 78%, #fff 100%),
      linear-gradient(90deg, #fff 0%, oklch(99.1% 0.004 82 / 0.7) 8%, transparent 24%, transparent 76%, oklch(99.1% 0.004 82 / 0.7) 92%, #fff 100%),
      linear-gradient(180deg, #fff 0%, transparent 17%, transparent 82%, #fff 100%);
  }

  .photo-hero-pano.is-scene-open::after,
  .photo-hero-pano.is-scene-open img.is-active {
    opacity: 0;
  }

  .photo-hero-copy {
    gap: var(--space-sm);
    transform: translateY(calc(var(--mobile-hero-lift) * -1));
  }

  .hero-arch-title {
    top: -14%;
    width: 166%;
    transform: translateX(-50%);
  }

  .home-globe-marker {
    --home-globe-pin-tip-gap: 0.19rem;
  }

  .home-globe-pin {
    width: 2.2rem;
    height: 3rem;
  }

  .home-globe-scene-card,
  .home-globe-scene-card[data-placement],
  .home-globe-scene-card[data-placement="left"],
  .home-globe-scene-card[data-placement="right"] {
    top: 50%;
    right: auto;
    left: 50%;
    width: min(28rem, calc(100vw - 3.2rem));
    --home-globe-card-transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
  }

  .home-globe {
    width: min(29rem, 50vw);
    margin-bottom: 0;
  }

  .photo-hero-copy > p {
    font-size: clamp(1.9rem, 5.5vw, 2.35rem);
    line-height: 1.12;
  }

  .photo-hero-copy > p.home-hero-description {
    font-size: 2.35rem;
  }

  .era-gallery-heading h2 {
    font-size: clamp(3rem, 10vw, 4rem);
    letter-spacing: -0.035em;
  }

  .mode-strip-grid,
  .proof-grid,
  .era-gallery-grid,
  .archive-route-grid {
    grid-template-columns: 1fr;
  }

  .mode-card--ranked {
    grid-column: auto;
  }

  .mode-strip-grid a {
    min-height: 7.7rem;
    padding: 0.82rem 1rem 0.78rem;
    column-gap: 0.72rem;
    row-gap: 0.34rem;
  }

  .mode-card--daily {
    padding-right: 8.2rem;
  }

  .mode-icon {
    width: 3.35rem;
    height: 3.35rem;
    padding: 0.66rem;
    border-radius: 0.9rem;
  }

  .mode-strip-grid strong {
    font-size: clamp(2.18rem, 7vw, 2.55rem);
  }

  .mode-strip-grid a > small {
    font-size: 1.78rem;
    line-height: 1.14;
  }

  .daily-reset-badge,
  .ranked-beta-badge {
    top: 0.88rem;
    right: 0.82rem;
    min-width: 7.3rem;
    min-height: 2.24rem;
    padding: 0.36rem 0.62rem;
    font-size: 1.42rem;
  }

  .ranked-beta-badge {
    min-width: 4.8rem;
  }

  .archive-detail-shell {
    width: 100%;
    padding: calc(var(--site-header-height) + var(--space-sm)) var(--space-md) var(--space-3xl);
  }

  .archive-detail-document {
    gap: var(--space-lg);
  }

  .archive-detail-masthead {
    height: auto;
    min-height: 66svh;
    padding-top: var(--space-lg);
  }

  .archive-detail-masthead h1 {
    font-size: clamp(5.2rem, 18vw, 8.6rem);
    overflow-wrap: anywhere;
  }

  .archive-detail-lede {
    font-size: clamp(2rem, 6vw, 2.55rem);
  }

  .archive-detail-action-line {
    display: grid;
    align-items: stretch;
  }

  .archive-detail-action-line > a {
    justify-content: center;
  }

  .archive-detail-pano {
    height: clamp(58rem, 88svh, 82rem);
    background-position: 58% center;
  }

  .archive-detail-pano figcaption {
    display: none;
  }

  .archive-detail-ledger {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .archive-era-heading {
    display: contents;
  }

  .archive-era-heading > div {
    order: 1;
    margin-bottom: var(--space-sm);
  }

  .archive-route-grid {
    order: 2;
  }

  .archive-era-heading > a {
    order: 3;
    justify-self: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 5.4rem;
    margin: var(--space-md) auto 0;
    padding: 0 2.4rem;
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(1.82rem, 6vw, 2.4rem);
    font-weight: 400;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .content-shell,
  .archive-shell {
    padding-top: var(--space-4xl);
  }

  .atlas-shell {
    width: 100vw;
    height: 100svh;
    padding: 0;
  }

  .archive-group,
  .archive-era {
    scroll-margin-top: var(--space-3xl);
  }

  .archive-era {
    display: grid;
  }

  .profile-shell {
    width: min(100%, calc(100vw - (var(--page-gutter) * 2)));
    padding-top: calc(var(--site-header-height) + var(--space-lg));
  }

  .profile-panel {
    gap: var(--space-md);
  }

  .profile-name {
    font-size: clamp(2.9rem, 9vw, 4rem);
    line-height: 0.98;
  }

  .profile-email {
    margin-top: 0.48rem;
    font-size: 1.52rem;
  }

  .profile-dashboard {
    gap: var(--space-sm);
  }

  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.74rem;
  }

  .profile-stat {
    min-height: 7.2rem;
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
  }

  .profile-stat--score {
    min-height: 9.2rem;
    padding: 1.05rem 1.1rem;
  }

  .profile-stat dt,
  .profile-mode-stat dt {
    font-size: 1.48rem;
  }

  .profile-stat dd,
  .profile-mode-stat dd {
    font-size: 2.15rem;
  }

  .profile-stat--score dt {
    font-size: 1.56rem;
  }

  .profile-stat--score dd {
    font-size: clamp(3.1rem, 10vw, 4.15rem);
  }

  .profile-mode-breakdown,
  .profile-ranked-breakdown,
  .profile-highscore-breakdown,
  .profile-pano-progress,
  .profile-route-summary {
    padding: 1.1rem;
    border-radius: 1.1rem;
  }

  .profile-mode-breakdown h2,
  .profile-ranked-breakdown h2,
  .profile-highscore-breakdown h2,
  .profile-pano-progress h2,
  .profile-route-summary h2 {
    margin-bottom: 0.82rem;
    font-size: 1.82rem;
  }

  .profile-mode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .profile-mode-stat {
    padding: 0.88rem 0.95rem;
    border-radius: 0.88rem;
  }

  .profile-pano-progress-row,
  .profile-route-item {
    padding: 0.92rem 0.98rem;
    border-radius: 0.88rem;
  }

  .profile-pano-progress-head span,
  .profile-route-item span {
    font-size: 1.52rem;
  }

  .profile-pano-progress-head strong,
  .profile-route-item strong {
    font-size: 2rem;
  }

  .profile-sign-out {
    min-height: 4.2rem;
    padding-inline: 1.5rem;
    font-size: 1.82rem;
  }

  .profile-pano-progress-list {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .profile-route-list {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .hero-actions,
  .site-footer-inner {
    display: grid;
  }

  .site-footer-brandline {
    justify-content: flex-start;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: min(34rem, 100%);
  }

  .brand-button-2--hero {
    width: 100%;
  }

  .photo-hero .brand-button-2--hero.jsx-1356654497,
  .archive-detail-action-line .brand-button-2--hero.jsx-1356654497,
  .atlas-entry-cta {
    min-height: 5.4rem;
    padding: 0 2rem;
    font-size: 2.4rem;
  }

  .era-tile {
    grid-column: auto;
    grid-row: auto;
  }

  .era-tile strong,
  .archive-route strong {
    font-size: clamp(3.2rem, 11vw, 4.8rem);
    line-height: 0.94;
  }

  .atlas-panel {
    grid-template-rows: minmax(42rem, 62vh) auto;
  }

  .atlas-shell .atlas-panel {
    grid-template-rows: minmax(0, 1fr);
  }

  .atlas-timeline-meta {
    gap: var(--space-xs);
  }

  .site-footer {
    gap: var(--space-lg);
    padding-top: 3.8rem;
    padding-bottom: var(--space-lg);
  }

  .site-footer-inner {
    gap: var(--space-md);
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer-bottom {
    order: 3;
    display: grid;
    width: 100%;
    justify-self: stretch;
    justify-items: start;
    gap: var(--space-xs);
    margin-top: 0;
  }

  .site-footer-social {
    width: 100%;
    justify-content: flex-start;
    justify-self: start;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
