:root {
  color-scheme: dark;
  font-family: "Geist", "Segoe UI", system-ui, sans-serif;
  --background: #130c09;
  --surface: #312017;
  --border: #4a3428;
  --text: #fff6e9;
  --muted: #d2bfae;
  --gold: #e9bd79;
  --green: #9bb282;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.site-header {
  width: min(100% - 3rem, 76rem);
  min-height: 4.75rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .19em;
}

.wordmark span {
  width: .34rem;
  height: .34rem;
  background: var(--green);
  transform: rotate(45deg);
}

.sector {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .09em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(39rem, calc(100svh - 4.75rem), 54rem);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2.7rem, 7vh, 5.5rem) 1.25rem 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6.9vw, 5.75rem);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 750;
}

h1 span { color: var(--gold); }
.hero-copy p, .catalog p { color: var(--muted); line-height: 1.6; }
.hero-copy p { margin: .85rem 0 1.45rem; }

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  gap: .8rem;
  padding: .55rem 1.15rem;
  border: 1px solid #a47b52;
  border-radius: .45rem;
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
}

.button:hover { background: #493021; }
.button span { color: var(--green); }

.art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 74%, #20140d 0, var(--background) 68%);
}

.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art.has-scene {
  pointer-events: auto;
  touch-action: pan-y pinch-zoom;
}

.fallback {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-size: clamp(7rem, 22vw, 12rem);
  font-weight: 750;
  text-shadow: 0 0 3rem #9e6034;
}
.art.has-scene .fallback { visibility: hidden; }

.catalog {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 3rem;
  scroll-margin-top: 1.25rem;
}
.catalog h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.catalog p { max-width: 36rem; margin-bottom: 0; }

@media (max-width: 35rem) {
  .site-header, .catalog { width: calc(100% - 2rem); }
  .site-header { min-height: 3.75rem; }
  .hero { min-height: clamp(35rem, calc(100svh - 3.75rem), 46rem); }
}
