@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --surface: #f9f9fb;
  --surface-low: #f2f4f6;
  --surface-high: #e4e9ee;
  --surface-highest: #dde3e9;
  --surface-lowest: rgba(255, 255, 255, 0.8);
  --inverse-surface: #0c0e10;
  --on-surface: #2d3338;
  --on-surface-variant: #596065;
  --outline-variant: rgba(172, 179, 184, 0.15);
  --primary: #5e5e5e;
  --primary-dim: #525252;
  --tertiary: #4a6273;
  --tertiary-container: #cfe9fd;
  --shadow: 0 24px 48px rgba(45, 51, 56, 0.06);
  --shell: min(100% - 2rem, 1440px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--on-surface);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 1.25rem 0;
}

.topbar-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem 1.2rem;
  background: var(--surface-lowest);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.2rem;
  background: linear-gradient(145deg, var(--primary), var(--primary-dim));
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.route-link,
.meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-link {
  color: rgba(45, 51, 56, 0.45);
  transition: color 180ms ease;
}

.route-link:hover,
.route-link:focus-visible,
.route-link.is-active {
  color: var(--on-surface);
}

.topbar-status {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.status-value {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.meta-label {
  color: var(--on-surface-variant);
}

.meta-label--accent {
  color: var(--tertiary);
}

.meta-label--inverse {
  color: rgba(255, 255, 255, 0.56);
}

main {
  overflow: hidden;
}

.hero,
.room,
.cta-room {
  padding: 8rem 0;
}

.hero {
  padding-top: 9.5rem;
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.hero-copy {
  grid-column: span 8;
}

.hero-copy h1,
.copy-cell h2,
.center-intro h2,
.performance-copy h2,
.modern-copy h2,
.cta-title,
.inset-copy h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.hero-copy h1 {
  font-size: clamp(4rem, 12vw, 9rem);
}

.hero-summary,
.hero-note,
.subheadline,
.description,
.scarcity-line,
.highlight-line,
.section-note,
.cta-note,
.footer-copy {
  line-height: 1.6;
}

.hero-summary {
  max-width: 40rem;
  margin: 2rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--on-surface-variant);
  font-weight: 400;
}

.hero-support {
  grid-column: 9 / -1;
  display: grid;
  gap: 1.5rem;
  align-self: end;
}

.hero-note {
  margin: 0;
  max-width: 24rem;
  font-size: 1rem;
  color: var(--on-surface-variant);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--primary), var(--primary-dim));
  color: #f8f8f8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.hero-stage {
  margin-top: 4rem;
}

.photo-frame {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.photo-frame--hero {
  width: min(100%, 31rem);
  aspect-ratio: 4 / 5;
}

.photo-frame--portrait {
  width: min(100%, 19rem);
  aspect-ratio: 4 / 5;
}

.photo-frame--shelf {
  width: min(100%, 26rem);
  aspect-ratio: 4 / 5;
}

.photo-frame--wide {
  width: min(100%, 52rem);
  aspect-ratio: 16 / 9;
}

.photo-frame--ds {
  width: min(100%, 22rem);
  aspect-ratio: 4 / 5;
}

.photo-frame--collection {
  aspect-ratio: 4 / 3;
}

.photo-frame--switch {
  width: min(100%, 30rem);
  aspect-ratio: 16 / 10;
}

.artifact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-footer,
.artifact-meta {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.photo-credit {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.photo-credit--overlay {
  color: rgba(45, 51, 56, 0.72);
  text-align: right;
}

.photo-credit--inverse {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.stage-panel,
.artifact-stage,
.mini-stage,
.primary-panel,
.secondary-panel,
.wide-stage,
.inset-card {
  background: var(--surface-low);
}

.stage-panel,
.artifact-stage,
.mini-stage,
.primary-panel,
.secondary-panel,
.wide-stage,
.inset-card,
.statement-card {
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.stage-panel {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
  padding: 3rem 3rem 5.5rem;
  overflow: hidden;
}

.stage-year,
.artifact-year {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0;
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.85;
  color: rgba(45, 51, 56, 0.08);
}

.stage-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stage-tags span {
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room {
  background: var(--surface);
}

.room--low {
  background: var(--surface-low);
}

.room--high {
  background: var(--surface-high);
}

.room--surface {
  background: var(--surface);
}

.room--inverse {
  background: var(--inverse-surface);
  color: #f5f9ff;
}

.split-room,
.modern-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.visual-cell {
  grid-column: span 6;
}

.copy-cell {
  grid-column: 8 / -1;
}

.artifact-stage {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
  padding: 2.5rem 2.5rem 5rem;
}

.artifact-stage--tall {
  min-height: 36rem;
  background: var(--surface-high);
}

.artifact-caption,
.artifact-name,
.footer-brand {
  margin: 0;
  letter-spacing: -0.03em;
}

.artifact-caption {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
}

.artifact-name {
  margin-top: 1rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.artifact-name--inverse {
  color: rgba(255, 255, 255, 0.65);
}

.copy-cell h2,
.center-intro h2,
.performance-copy h2,
.modern-copy h2 {
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.subheadline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: inherit;
  max-width: 34rem;
}

.highlight-line,
.scarcity-line {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
}

.description {
  margin: 1.25rem 0 0;
  max-width: 35rem;
  color: var(--on-surface-variant);
  font-size: 1rem;
}

.description--inverse {
  color: rgba(255, 255, 255, 0.72);
}

.highlight-line span,
.scarcity-line span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary);
}

.scarcity-line span {
  color: var(--on-surface-variant);
}

.highlight-line--inverse span,
.scarcity-line--inverse span {
  color: rgba(255, 255, 255, 0.5);
}

.room-center {
  display: grid;
  gap: 2.5rem;
}

.center-intro {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.center-intro .subheadline {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--on-surface-variant);
}

.color-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.mini-stage {
  min-height: 23rem;
  display: grid;
  place-items: center;
  padding: 2rem 2rem 4.5rem;
  position: relative;
}

.mini-stage--dark {
  background: var(--surface-high);
}

.statement-card {
  padding: 2.5rem;
  background: rgba(207, 233, 253, 0.34);
}

.performance-layout,
.room-head,
.band-copy,
.cta-shell,
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.performance-copy,
.room-head > div,
.modern-copy {
  max-width: 48rem;
}

.section-note {
  margin: 0;
  max-width: 22rem;
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-stage-panel {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  gap: 1rem;
}

.primary-panel,
.secondary-panel {
  padding: 2.5rem;
}

.primary-panel {
  min-height: 28rem;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.primary-panel--photo {
  align-content: center;
  justify-items: center;
  gap: 1rem;
}

.secondary-panel {
  display: grid;
  align-content: start;
}

.artifact-year--inline {
  position: static;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

.feature-band {
  padding: 2rem 0 0;
}

.wide-stage {
  min-height: 31rem;
  padding: 3rem 3rem 5.5rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.band-copy {
  margin-top: 2rem;
}

.band-copy .subheadline,
.band-copy .highlight-line,
.band-copy .description,
.band-copy .scarcity-line {
  margin-top: 0;
}

.innovation-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.innovation-visual,
.innovation-copy {
  flex: 1 1 0;
}

.secondary-feature {
  margin-top: 2rem;
}

.inset-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.8fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2rem;
}

.inset-copy h3 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-top: 0.4rem;
}

.modern-grid {
  align-items: center;
}

.modern-copy {
  grid-column: span 6;
}

.modern-visual {
  grid-column: 8 / -1;
  min-height: 28rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.cta-room {
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.cta-shell {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.cta-note {
  margin: 0;
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--on-surface-variant);
}

.cta-link {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.35rem;
}

.site-footer {
  padding: 3rem 0 4rem;
  background: var(--surface-low);
}

.footer-grid {
  align-items: flex-end;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-copy {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--on-surface-variant);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

@media (max-width: 1100px) {
  .topbar-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .topbar-status {
    justify-items: start;
  }

  .hero-grid,
  .split-room,
  .modern-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-support,
  .visual-cell,
  .copy-cell,
  .modern-copy,
  .modern-visual {
    grid-column: 1 / -1;
  }

  .hero-support {
    margin-top: 1rem;
  }

  .color-grid,
  .data-stage-panel,
  .inset-card {
    grid-template-columns: 1fr;
  }

  .performance-layout,
  .room-head,
  .band-copy,
  .footer-grid,
  .innovation-layout {
    flex-direction: column;
  }

  .section-note {
    max-width: 40rem;
  }
}

@media (max-width: 780px) {
  .hero,
  .room,
  .cta-room {
    padding: 6rem 0;
  }

  .hero {
    padding-top: 10.5rem;
  }

  .topbar {
    padding-top: 0.75rem;
  }

  .topbar-shell {
    width: min(100% - 1rem, 1440px);
    padding: 0.85rem 1rem;
  }

  .topnav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.15rem;
    flex-wrap: nowrap;
  }

  .hero-copy h1,
  .copy-cell h2,
  .center-intro h2,
  .performance-copy h2,
  .modern-copy h2 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .stage-panel,
  .artifact-stage,
  .wide-stage {
    min-height: 22rem;
    padding: 2rem 1.25rem 4.5rem;
  }

  .mini-stage {
    padding: 1.5rem 1.25rem 4rem;
  }

  .primary-panel,
  .secondary-panel,
  .statement-card,
  .inset-card {
    padding: 1.5rem;
  }

  .artifact-stage--tall {
    min-height: 28rem;
  }

  .stage-footer,
  .artifact-meta {
    position: static;
    margin-top: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-credit--overlay {
    text-align: left;
  }

  .cta-title {
    line-height: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
