@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=IM+Fell+English:ital@0;1&display=swap');

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

:root {
  --bg: #0a0a08;
  --bg-raised: #111110;
  --bg-panel: #141412;
  --text: #e8e0d0;
  --text-dim: #9a9080;
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.35);
  --gold-glow: rgba(201, 168, 76, 0.18);
  --spring: #b86b6b;
  --summer: #e8884a;
  --autumn: #5aa0ba;
  --winter: #55a870;
  --spring-light: #d48a8a;
  --summer-light: #f0a06a;
  --autumn-light: #7abbd0;
  --winter-light: #72c48a;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
}

button {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  cursor: pointer;
  transition: opacity 0.45s ease, border-color 0.45s ease, background-color 0.45s ease,
    box-shadow 0.9s ease, transform 0.45s ease, color 0.45s ease;
}

button:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
}

button:disabled {
  opacity: 0.35;
  cursor: default;
}

button.is-dimmed {
  opacity: 0.52;
}

button.is-ready {
  opacity: 1;
  border-color: rgba(220, 190, 100, 0.9);
  background: rgba(201, 168, 76, 0.1);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.22), 0 0 38px rgba(201, 168, 76, 0.1);
  animation: next-ready-pulse 2.4s ease-in-out infinite;
}

button.is-ready:hover {
  background: rgba(201, 168, 76, 0.16);
  border-color: rgba(220, 190, 100, 1);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  transition: background 0.5s;
}

.dot.active {
  background: var(--gold);
}

.scene-text-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
  pointer-events: none;
}

.scene-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scene-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.scene-progress {
  display: flex;
  gap: 9px;
}

.scene-controls {
  display: flex;
  gap: 10px;
}

.scene-control {
  min-width: 6.5rem;
}

@keyframes next-ready-pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.16), 0 0 24px rgba(201, 168, 76, 0.06);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.28), 0 0 44px rgba(201, 168, 76, 0.12);
    transform: translateY(-1px);
  }
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-dim);
  padding: 18px 40px;
  display: flex;
  align-items: center;
}

.site-header .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex: 1;
}

.site-header .wordmark span {
  color: var(--gold);
  letter-spacing: 0.28em;
}

.header-title {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  flex: 0 0 auto;
  text-align: center;
}

.header-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.header-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: var(--gold);
}

.site-shell {
  min-height: 100vh;
}

.site-header-app {
  justify-content: space-between;
}

.wordmark-link {
  text-decoration: none;
}

.header-nav-app {
  flex: 0 0 auto;
}

.app-main {
  display: block;
}

.full-bleed-section {
  width: 100%;
}

.hero-scene-shell {
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.scene-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 32rem;
  max-height: calc(100vh - 5rem);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.narrow-page {
  max-width: 840px;
}

.page-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-sub-wide {
  max-width: 720px;
  margin: 0;
}

.launch-panel {
  margin-top: 24px;
}

.stack-md,
.stack-lg {
  display: flex;
  flex-direction: column;
}

.stack-md {
  gap: 16px;
}

.stack-lg {
  gap: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 2.8rem;
  padding: 7px 16px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.45s ease, border-color 0.45s ease, background-color 0.45s ease,
    box-shadow 0.9s ease, transform 0.45s ease, color 0.45s ease;
}

.button-link:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
}

.button-link-muted {
  color: var(--text-dim);
}

.form-shell {
  max-width: 760px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(10, 10, 8, 0.7);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.form-input::placeholder {
  color: rgba(154, 144, 128, 0.7);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.12);
}

.form-input-area {
  resize: vertical;
  min-height: 8rem;
}

.form-actions {
  position: static;
  justify-content: flex-start;
}

.hero {
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}

.hero-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 80px 0;
}

.section + .section {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.section-num {
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  opacity: 0.7;
  font-family: 'Cormorant Garamond', serif;
}

.section-title {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold-dim), transparent);
}

.ornament {
  text-align: center;
  padding: 20px 0;
  color: var(--gold);
  opacity: 0.45;
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  user-select: none;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 40px;
  position: relative;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.swatch {
  display: flex;
  flex-direction: column;
}

.swatch-color {
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.swatch-info {
  padding: 12px 0 0;
}

.swatch-name {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 3px;
}

.swatch-var {
  font-size: 0.95rem;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.05em;
}

.swatch-hex {
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.swatches-label {
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.type-specimen {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.type-specimen:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.type-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  align-items: baseline;
}

.type-label {
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.type-detail {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.t-scene-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-narration {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.t-body {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.t-body-reg {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.t-ui {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.t-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.t-display {
  font-family: 'IM Fell English', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
}

.t-display-gold {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1.1;
  font-style: italic;
}

.t-numeral {
  font-family: 'IM Fell English', serif;
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.font-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.font-block {
  border-left: 1px solid var(--gold-dim);
  padding-left: 24px;
}

.font-name {
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.font-sample-lg {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.font-sample-sm {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.component-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
}

.component-label {
  width: 100%;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dots-row {
  display: flex;
  gap: 9px;
  align-items: center;
}

.dots-label-inline {
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-left: 12px;
}

.scene-label-demo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.narration-specimen {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 168, 76, 0.08);
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

.narration-specimen::before,
.narration-specimen::after {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

.narration-specimen::before {
  top: 20px;
}

.narration-specimen::after {
  bottom: 20px;
}

.narration {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  color: var(--text);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-shadow: 0 0 50px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.9);
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.season-panel {
  padding: 48px 36px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.4s ease;
}

.season-panel:hover {
  z-index: 2;
  transform: scale(1.02);
}

.season-spring {
  background: linear-gradient(160deg, var(--spring) 0%, #3d1a1a 100%);
}

.season-summer {
  background: linear-gradient(160deg, var(--summer) 0%, #4a2008 100%);
}

.season-autumn {
  background: linear-gradient(160deg, var(--autumn) 0%, #0d2a38 100%);
}

.season-winter {
  background: linear-gradient(160deg, var(--winter) 0%, #0d3020 100%);
}

.season-name {
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  display: block;
}

.season-title {
  font-family: 'IM Fell English', serif;
  font-size: 1.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.1;
  margin-bottom: 24px;
}

.season-keywords {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.season-keywords li {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
}

.season-cards {
  font-family: 'IM Fell English', serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

.season-swatch {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.season-chip {
  height: 3px;
  flex: 1;
  border-radius: 2px;
}

.layout-demo {
  border: 1px solid rgba(201, 168, 76, 0.08);
  padding: 36px;
  margin-bottom: 24px;
  position: relative;
}

.layout-demo-label {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.demo-scene {
  background: var(--bg);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 32px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.demo-scene-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(45, 74, 107, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 70%, rgba(139, 69, 19, 0.25) 0%, transparent 50%);
}

.demo-scene-label {
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.demo-progress {
  display: flex;
  gap: 9px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.demo-controls {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.demo-controls button {
  font-size: 0.78rem;
  padding: 5px 12px;
}

.demo-narration {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  max-width: 500px;
  line-height: 1.7;
  text-shadow: 0 0 30px rgba(0, 0, 0, 1);
  position: relative;
}

.gradient-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gradient-chip {
  flex: 1;
  min-width: 140px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.gradient-chip-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.state-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.state-title {
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.spacing-scale {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.space-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.space-bar {
  background: linear-gradient(to right, var(--gold), rgba(201, 168, 76, 0.3));
  height: 4px;
  border-radius: 2px;
}

.space-label {
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  min-width: 80px;
}

.texture-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.texture-block {
  height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
}

.texture-block-label {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding: 48px 40px;
  text-align: center;
}

.sg-swatch-bg {
  background: var(--bg);
}

.sg-swatch-panel {
  background: var(--bg-panel);
}

.sg-swatch-text {
  background: var(--text);
}

.sg-swatch-text-dim {
  background: var(--text-dim);
}

.sg-swatch-gold {
  background: var(--gold);
}

.sg-swatch-gold-dim {
  background: var(--gold-dim);
}

.sg-swatch-gold-glow {
  background: var(--gold-glow);
}

.sg-gradient-panel-sheen {
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.sg-gradient-section-rule {
  background: linear-gradient(to right, rgba(201, 168, 76, 0.35), transparent);
}

.sg-gradient-centered-rule {
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.35), transparent);
}

.sg-gradient-scene-ambient {
  background: radial-gradient(ellipse at 50% 30%, rgba(45, 74, 107, 0.5) 0%, transparent 70%);
}

.sg-texture-base {
  background: var(--bg);
}

.sg-texture-grain {
  background: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
}

.sg-texture-panel {
  background: linear-gradient(135deg, #1a1a14, #0a0a08);
}

.sg-font-pair-trio {
  margin-bottom: 48px;
  grid-template-columns: 1fr 1fr 1fr;
}

.sg-font-sample-cinzel-lg {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 400;
  color: var(--gold);
  font-size: 1.8rem;
}

.sg-font-sample-cinzel-sm {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 400;
}

.sg-font-sample-body-lg {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text);
}

.sg-font-sample-body-sm {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.sg-font-sample-narration-lg {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--text);
}

.sg-font-sample-narration-sm {
  font-family: 'IM Fell English', serif;
  font-style: italic;
}

.sg-stack-16 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sg-stack-12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-stack-20 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sg-card-heading-heavy {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.sg-card-heading-medium {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.sg-card-heading-light {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  color: var(--text-dim);
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.sg-numeral-row {
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.sg-numeral-gold {
  color: var(--gold);
  opacity: 0.7;
}

.sg-numeral-mid {
  opacity: 0.4;
}

.sg-numeral-faint {
  opacity: 0.2;
}

.sg-mb-40 {
  margin-bottom: 40px;
}

.sg-state-grid-spaced {
  margin-bottom: 40px;
}

.sg-button-hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
}

.sg-scene-label-fading {
  opacity: 0.5;
  font-style: italic;
  color: var(--text-dim);
}

.sg-season-chip-spring {
  background: var(--spring);
}

.sg-season-chip-spring-light {
  background: var(--spring-light);
}

.sg-season-chip-spring-dark {
  background: #3d1a1a;
}

.sg-season-chip-spring-glow {
  background: rgba(184, 107, 107, 0.3);
}

.sg-season-chip-summer {
  background: var(--summer);
}

.sg-season-chip-summer-light {
  background: var(--summer-light);
}

.sg-season-chip-summer-dark {
  background: #4a2008;
}

.sg-season-chip-summer-glow {
  background: rgba(232, 136, 74, 0.3);
}

.sg-season-chip-autumn {
  background: var(--autumn);
}

.sg-season-chip-autumn-light {
  background: var(--autumn-light);
}

.sg-season-chip-autumn-dark {
  background: #0d2a38;
}

.sg-season-chip-autumn-glow {
  background: rgba(90, 160, 186, 0.3);
}

.sg-season-chip-winter {
  background: var(--winter);
}

.sg-season-chip-winter-light {
  background: var(--winter-light);
}

.sg-season-chip-winter-dark {
  background: #0d3020;
}

.sg-season-chip-winter-glow {
  background: rgba(85, 168, 112, 0.3);
}

.sg-container-offset-top {
  margin-top: 40px;
}

.sg-layout-note {
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 16px;
  text-transform: uppercase;
}

.sg-space-bar-xs {
  width: 6px;
}

.sg-space-bar-sm {
  width: 9px;
}

.sg-space-bar-md {
  width: 16px;
}

.sg-space-bar-lg {
  width: 30px;
}

.sg-space-bar-xl {
  width: 80px;
}

.sg-space-note,
.sg-z-label,
.sg-z-value,
.sg-motion-copy {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.sg-space-note,
.sg-z-label,
.sg-motion-copy {
  color: var(--text-dim);
}

.sg-z-stack {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  max-width: 400px;
}

.sg-z-layer {
  border: 1px solid var(--gold-dim);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sg-z-layer-base {
  background: rgba(201, 168, 76, 0.04);
}

.sg-z-layer-mid {
  background: rgba(201, 168, 76, 0.06);
  margin-left: 8px;
}

.sg-z-layer-controls {
  background: rgba(201, 168, 76, 0.08);
  margin-left: 16px;
}

.sg-z-layer-grain {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.4);
  margin-left: 24px;
}

.sg-z-label {
  line-height: 1.3;
}

.sg-z-label-bright {
  color: var(--text);
}

.sg-z-value {
  color: var(--gold);
}

.sg-caption-spaced {
  margin-bottom: 8px;
}

.sg-motion-copy {
  font-size: 0.95rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.sg-ornament-footer {
  padding: 40px 0 20px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-mark {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.5;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.55);
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .site-header {
    padding: 14px 24px;
  }

  .header-nav {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .font-pair {
    grid-template-columns: 1fr;
  }

  .seasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel {
    padding: 28px 24px;
  }

  .hero {
    padding: 60px 24px 40px;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .scene-stage {
    min-height: 26rem;
  }
}

@media (max-width: 640px) {
  .scene-stage {
    aspect-ratio: 4 / 5;
    min-height: 32rem;
  }
}

@media (max-width: 480px) {
  .seasons-grid {
    grid-template-columns: 1fr;
  }

  .state-grid {
    grid-template-columns: 1fr;
  }
}
