:root {
  --bg: #0a0a12;
  --steel: #171824;
  --rail: #212230;
  --orange: #ff6b14;
  --cyan: #1ae6fa;
  --cream: #f5f0e6;
  --muted: #b3aea3;
  --green: #38f07a;
  --red: #ff524d;
  --nav-w: 220px;
  --radius: 18px;
  --font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", "Menlo", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}

.shell {
  display: grid;
  grid-template-columns: var(--nav-w) 1fr;
  min-height: 100vh;
}

/* split_panel_left nav */
.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, var(--steel) 0%, var(--bg) 100%);
  border-right: 1px solid rgba(255, 107, 20, 0.25);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-mark {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--orange);
  font-weight: 700;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.35rem;
}

.side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.side-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: rgba(255, 107, 20, 0.12);
  color: var(--cream);
}

.nav-foot {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

main { min-width: 0; }

/* diagonal_band hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
}

.hero-band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 20, 0.22) 0%, transparent 42%),
    linear-gradient(225deg, rgba(26, 230, 250, 0.12) 0%, transparent 38%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center/cover no-repeat;
  opacity: 0.35;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero h1 span { color: var(--cyan); }

.hero-tag {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #0a0a12;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

/* section intros — right_aligned_blocks */
.section-intro {
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.section-intro-inner {
  max-width: 420px;
  text-align: right;
}

.section-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* numbered_steps features */
.steps {
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--rail);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* carousel_peek screens */
#screens {
  padding: 0 0 3.5rem;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--steel);
}

.carousel figure {
  flex: 0 0 min(280px, 72vw);
  scroll-snap-align: start;
  margin: 0;
}

.carousel img {
  width: 100%;
  border-radius: 22px;
  border: 2px solid rgba(26, 230, 250, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.carousel figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* two_column_prose legal */
.legal-wrap {
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 4rem;
  background: var(--steel);
  border-top: 1px solid rgba(255, 107, 20, 0.15);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  max-width: 960px;
}

.legal-grid h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--cyan);
}

.legal-grid p,
.legal-grid li {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.legal-grid ul {
  padding-left: 1.1rem;
}

.legal-grid a {
  color: var(--orange);
  text-decoration: none;
}

.legal-grid a:hover { text-decoration: underline; }

.site-foot {
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side-nav {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1.25rem;
  }
  .side-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-foot { display: none; }
  .section-intro { justify-content: flex-start; }
  .section-intro-inner { text-align: left; }
  .legal-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr; }
}
