:root {
  --bg: #2b2b2b;
  --surface: #353535;
  --surface-elevated: #3f3f3f;
  --accent: #ffd700;
  --accent2: #800080;
  --accent-red: #d22b2b;
  --text: #fdfdfd;
  --muted: #a89bb8;
  --panel-width: 220px;
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.split-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 2rem 1.25rem;
  background: linear-gradient(180deg, #1f1f1f 0%, #2a2430 100%);
  border-right: 1px solid rgba(255, 215, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.panel-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.panel-mark {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.35rem;
}

.panel-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.panel-link {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.panel-link:hover,
.panel-link.is-active {
  background: rgba(128, 0, 128, 0.22);
  color: var(--text);
  text-decoration: none;
}

.panel-foot {
  margin-top: auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(168, 155, 184, 0.55);
}

.main-content {
  overflow-x: hidden;
}

.hero {
  position: relative;
  padding: 4rem 3rem 3rem;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.45) 0%, rgba(128, 0, 128, 0.45) 38%, transparent 38%);
  pointer-events: none;
}

.hero-band::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18%;
  width: 62%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-cta:hover {
  background: #ffe566;
  text-decoration: none;
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.features-section,
.screens-section,
.legal-wrap {
  padding: 3.5rem 3rem 4rem;
  max-width: 1100px;
}

.section-intro {
  margin-bottom: 2rem;
}

.intro-left { text-align: left; max-width: 52ch; }
.intro-center { text-align: center; margin-inline: auto; max-width: 40ch; }
.intro-right { text-align: right; margin-left: auto; max-width: 42ch; }

.intro-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}

.bento-tile {
  position: relative;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-tile.tile-wide {
  grid-column: span 4;
}

.bento-tile.tile-tall {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-tile.tile-wide-short {
  grid-column: span 3;
}

.bento-tile.tile-accent {
  grid-column: span 3;
  background: linear-gradient(145deg, rgba(128, 0, 128, 0.35), var(--surface));
  border-color: rgba(128, 0, 128, 0.35);
}

.tile-index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.bento-tile h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.bento-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-row img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.polaroid-scatter {
  position: relative;
  min-height: 520px;
  margin-top: 1rem;
}

.polaroid {
  position: absolute;
  margin: 0;
  padding: 0.75rem 0.75rem 2.5rem;
  background: #f4f0ea;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  width: min(280px, 42vw);
}

.polaroid img {
  width: 100%;
  border-radius: 4px;
}

.polaroid figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #3a3340;
  font-style: italic;
  text-align: center;
}

.polaroid.p1 { left: 4%; top: 0; transform: rotate(-7deg); }
.polaroid.p2 { left: 34%; top: 48px; transform: rotate(4deg); z-index: 2; }
.polaroid.p3 { right: 6%; top: 12px; transform: rotate(-2deg); }

.footer-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid rgba(255, 215, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sheet-panel {
  padding: 2rem 2.25rem;
}

.sheet-panel:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(128, 0, 128, 0.08), transparent);
}

.sheet-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.sheet-panel p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.sheet-copy {
  margin-top: 1.5rem !important;
  font-size: 0.82rem !important;
  color: rgba(168, 155, 184, 0.7) !important;
}

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

  .split-panel {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .panel-nav {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
  }

  .panel-foot { display: none; }

  .hero,
  .features-section,
  .screens-section,
  .legal-wrap {
    padding-inline: 1.25rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .bento-tile,
  .bento-tile.tile-wide,
  .bento-tile.tile-tall,
  .bento-tile.tile-wide-short,
  .bento-tile.tile-accent {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .polaroid-scatter {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .polaroid {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(300px, 88vw);
  }

  .footer-sheet {
    grid-template-columns: 1fr;
  }

  .sheet-panel:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .intro-right { text-align: left; margin-left: 0; }
}
