:root {
  --bg: #0d0a08;
  --surface: #14120f;
  --card: #211c17;
  --accent: #c79e59;
  --accent2: #6b9485;
  --text: #ede3d1;
  --muted: #b8ae99;
  --rail-width: 72px;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: var(--accent); }

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

.rail-tabs {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  background: linear-gradient(180deg, #171410 0%, #0d0a08 100%);
  border-right: 1px solid rgba(199, 158, 89, 0.18);
}

.rail-brand {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(199, 158, 89, 0.35);
  margin-bottom: 12px;
}

.rail-tab {
  width: 52px;
  padding: 10px 6px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
}

.rail-tab:hover,
.rail-tab.is-active {
  background: rgba(199, 158, 89, 0.12);
  color: var(--text);
}

.rail-icon { font-size: 0.85rem; line-height: 1; }
.rail-label { font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }

.main-column { min-width: 0; }
.hero-section { padding: 28px 28px 0; }

.hero-textured {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  background: var(--card);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 10, 8, 0.82) 0%, rgba(33, 28, 23, 0.55) 55%, rgba(13, 10, 8, 0.88) 100%);
}

.hero-inset-card {
  position: relative;
  z-index: 1;
  margin: 48px auto;
  max-width: 640px;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(20, 18, 15, 0.88);
  border: 1px solid rgba(199, 158, 89, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.hero-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-inset-card h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(199, 158, 89, 0.2);
}

.features-section,
.screens-section,
.legal-section { padding: 64px 28px; }

.section-intro {
  max-width: var(--max);
  margin: 0 auto 36px;
}

.section-intro.centered-band { text-align: center; }

.section-intro h2,
.legal-panel h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.section-intro p { margin: 0; color: var(--muted); }

.icon-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.icon-cell {
  padding: 22px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(199, 158, 89, 0.12);
}

.icon-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(199, 158, 89, 0.12);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.icon-cell h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}

.icon-cell p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.annotated-shots {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.annotated-shot { position: relative; margin: 0; }

.annotated-shot img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(199, 158, 89, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.callout {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(20, 18, 15, 0.92);
  border: 1px solid rgba(199, 158, 89, 0.45);
  color: var(--accent);
}

.callout-a { top: 12px; left: 12px; }
.callout-b { top: 12px; right: 12px; }
.callout-c { bottom: 12px; left: 12px; }

.legal-panels {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.legal-panel {
  padding: 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(199, 158, 89, 0.14);
}

.legal-panel p { margin: 0 0 14px; color: var(--muted); }

.site-footer {
  padding: 24px 28px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .page-shell { grid-template-columns: 1fr; }

  .rail-tabs {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    border-right: none;
    border-top: 1px solid rgba(199, 158, 89, 0.18);
    z-index: 20;
  }

  .rail-brand { display: none; }
  .rail-tab { width: auto; flex: 1; max-width: 72px; }
  .main-column { padding-bottom: 88px; }
  .icon-grid,
  .annotated-shots,
  .legal-panels { grid-template-columns: 1fr; }
  .hero-gallery { grid-template-columns: 1fr; }
}
