:root {
  --ink: #111310;
  --ink-soft: #1b1e19;
  --paper: #f2efe7;
  --paper-dim: #c6c0b3;
  --stone: #d8d4ca;
  --bronze: #a58a5d;
  --red: #8a3441;
  --line: rgba(242, 239, 231, 0.18);
  --max: 1380px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: #272a25;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
button, a { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateX(-50%);
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-mark strong {
  font: 500 1.55rem/1 Georgia, serif;
  letter-spacing: 0.06em;
}

.site-mark span,
.site-footer span {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible { text-decoration: underline; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0e100e;
  color: white;
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img { object-fit: cover; }

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.88) 0%, rgba(8, 10, 8, 0.45) 50%, rgba(8, 10, 8, 0.1) 78%),
    linear-gradient(0deg, rgba(8, 10, 8, 0.78), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 170px 0 110px;
}

.kicker,
.eyebrow {
  margin: 0 0 20px;
  color: var(--bronze);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
h2,
h3,
blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.04;
}

.hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  letter-spacing: -0.055em;
}

.hero-copy > p:not(.kicker) {
  max-width: 630px;
  margin: 34px 0;
  color: rgba(255, 255, 255, 0.8);
  font: 400 clamp(1.15rem, 2vw, 1.55rem)/1.5 Georgia, serif;
}

.experience-link,
.open-viewer,
.route-jump,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.experience-link { gap: 24px; }

.experience-link:hover,
.experience-link:focus-visible {
  background: #fff;
  color: var(--ink);
}

.open-viewer:hover,
.open-viewer:focus-visible,
.route-jump:hover,
.route-jump:focus-visible {
  background: var(--bronze);
  color: var(--ink);
}

.hero-caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opening,
.axis-story,
.journey,
.glass-gallery,
.collections,
.sources {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.opening {
  display: grid;
  grid-template-columns: 80px 1fr 0.9fr;
  gap: 70px;
  padding: 150px 0;
}

.section-number {
  margin: 0;
  color: var(--bronze);
  font: 400 1.2rem/1 Georgia, serif;
}

h2 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5.2rem);
  letter-spacing: -0.045em;
}

h3 { font-size: 2rem; }

.opening-copy {
  padding-top: 36px;
  color: #55584f;
  font-size: 1.05rem;
}

.axis-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: center;
  padding: 110px 0;
  border-top: 1px solid #b8b4aa;
}

.axis-diagram {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  align-items: center;
  padding: 80px 50px;
  background: var(--ink);
  color: var(--paper);
}

.axis-diagram span {
  text-align: center;
  font: 400 1rem/1.35 Georgia, serif;
}

.axis-diagram i {
  height: 1px;
  background: var(--bronze);
}

.axis-story > div:last-child p:not(.eyebrow) {
  color: #55584f;
}

.journey {
  padding: 150px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading > p {
  color: #5f6259;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.55fr);
  min-height: 760px;
  background: var(--ink);
  color: var(--paper);
}

.viewer-shell {
  position: relative;
  min-height: 700px;
  background: #050605;
}

.viewer-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: 0;
}

.viewer-label {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.68rem;
}

.viewer-label span {
  color: #e4c08a;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.viewer-label small { color: rgba(255, 255, 255, 0.65); }

.route-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-left: 1px solid var(--line);
}

.route-current > span,
.route-current > p {
  color: var(--bronze);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-current h3 {
  margin: 30px 0 22px;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.route-current > p:last-child {
  color: var(--paper-dim);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.stop-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 36px;
}

.stop-nav button,
.route-index summary {
  min-height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.stop-nav button[disabled] { opacity: 0.35; cursor: not-allowed; }

.route-index {
  margin-top: 12px;
  border: 1px solid var(--line);
}

.route-index summary {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 0;
  list-style: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-index ol {
  max-height: 310px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.route-index li button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 11px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--paper-dim);
  text-align: left;
  cursor: pointer;
}

.route-index li button:hover,
.route-index li button:focus-visible,
.route-index li button.is-current { color: white; background: rgba(255,255,255,.06); }

.clara {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 760px;
  background: #d6d8d1;
}

.clara-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 6vw, 90px);
  background: #b5c7c4;
}

.clara-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.3);
}

.clara-image button { margin-top: 16px; }

.story-bridge {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  margin-top: 11px;
  padding: 13px 2px;
  border-top: 1px solid rgba(21, 26, 24, .28);
  color: #35423e;
  text-decoration: none;
}

.story-bridge span {
  grid-column: 1;
  color: #6a6f69;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-bridge strong {
  grid-column: 1;
  font: 400 1rem/1.25 Georgia, "Times New Roman", serif;
}

.story-bridge i {
  grid-column: 2;
  grid-row: 1 / span 2;
  font: 400 1.5rem Georgia, "Times New Roman", serif;
}

.story-bridge:hover strong,
.story-bridge:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

.clara blockquote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: clamp(45px, 8vw, 140px);
}

.clara blockquote p {
  margin: 0;
  font-size: clamp(2.3rem, 5.1vw, 6rem);
  letter-spacing: -0.04em;
}

.clara cite {
  margin-top: 42px;
  color: #666961;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-gallery {
  padding: 150px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quote-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #b8b4aa;
  background: #e2e5df;
  color: #272a25;
  text-align: left;
  cursor: pointer;
}

.quote-card img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  filter: grayscale(0.2);
}

.quote-card span {
  padding: 18px 18px 6px;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-card strong {
  padding: 0 18px 20px;
  font: 400 1.35rem/1.25 Georgia, serif;
}

.quote-card:hover,
.quote-card:focus-visible { border-color: var(--red); transform: translateY(-2px); }

.light-study {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: 0;
  background: var(--ink);
  color: var(--paper);
}

.light-study figure {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.light-study figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.light-study figcaption {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 10px;
  background: rgba(0,0,0,.65);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.light-study figure button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: white;
  background: rgba(0,0,0,.62);
}

.light-study > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
}

.light-study > div p:last-child { color: var(--paper-dim); }

.collections { padding: 150px 0; }

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.collection-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #b8b4aa;
}

.collection-grid article > span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-grid article h3 { margin: 45px 0 18px; }
.collection-grid article p { color: #5a5d55; }
.collection-grid article button { align-self: flex-start; margin-top: auto; }

.register-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 750px;
  background: #dcd8cf;
}

.register-story img {
  width: 100%;
  height: 100%;
  min-height: 750px;
  object-fit: cover;
}

.register-story > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 8vw, 130px);
}

.register-story > div p:not(.eyebrow) { color: #5a5d55; }
.register-story button { align-self: flex-start; margin-top: 20px; }

.sources {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 70px;
  padding: 120px 0;
}

.sources h2 {
  max-width: 900px;
  margin-bottom: 40px;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
}

.sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources li { border-top: 1px solid #b8b4aa; }

.sources a {
  display: block;
  padding: 17px 0;
  text-decoration: none;
}

.sources a:hover,
.sources a:focus-visible { color: var(--red); }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 36px max(24px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.site-footer strong { font: 400 1.6rem/1 Georgia, serif; }
.site-footer p { margin: 0; color: var(--paper-dim); font-size: 0.75rem; }

dialog {
  width: min(1200px, calc(100% - 32px));
  height: min(850px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  background: #080908;
  color: white;
}

dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(5px); }

dialog header {
  height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

dialog h2 { margin: 0; font-size: 1.25rem; letter-spacing: 0; }

dialog header button {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: white;
  cursor: pointer;
}

dialog iframe {
  width: 100%;
  height: calc(100% - 62px);
  border: 0;
}

@media (max-width: 980px) {
  .opening,
  .axis-story,
  .section-heading,
  .journey-layout,
  .clara,
  .register-story {
    grid-template-columns: 1fr;
  }

  .opening { gap: 30px; }
  .axis-diagram { min-height: 380px; }
  .route-panel { border-left: 0; border-top: 1px solid var(--line); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .light-study { grid-template-columns: 1fr; }
  .light-study figure { min-height: 75vw; }
  .register-story img { min-height: 500px; }
}

@media (max-width: 700px) {
  .site-header,
  .hero-copy,
  .opening,
  .axis-story,
  .journey,
  .glass-gallery,
  .collections,
  .sources {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header nav { display: none; }
  .site-mark span { display: none; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 5.7rem); }
  .hero-caption { display: none; }
  .opening, .axis-story, .journey, .glass-gallery, .collections { padding-block: 90px; }
  .axis-diagram {
    min-height: 460px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 20px 1fr 20px 1fr 20px 1fr;
  }
  .axis-diagram i { width: 1px; height: 20px; justify-self: center; }
  .viewer-shell, .viewer-shell iframe { min-height: 62svh; }
  .viewer-label { align-items: flex-start; flex-direction: column; gap: 2px; }
  .quote-grid, .collection-grid { grid-template-columns: 1fr; }
  .clara blockquote { padding-block: 75px; }
  .clara blockquote p { font-size: 2.35rem; }
  .light-study figure { min-height: 110vw; }
  .sources { grid-template-columns: 1fr; gap: 30px; padding-block: 80px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
