:root {
  --bg: #0b1018;
  --surface: #151d2b;
  --surface-elevated: #1a2a44;
  --accent: #f0a500;
  --accent2: #c45c26;
  --text: #e6edf5;
  --muted: #8a9bb5;
  --panel-width: 240px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.layout-split-panel {
  display: grid;
  grid-template-columns: var(--panel-width) minmax(0, 1fr);
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 2rem 1.25rem;
  background: linear-gradient(180deg, #0f1624 0%, var(--bg) 100%);
  border-right: 1px solid rgba(240, 165, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-panel__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.side-panel__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.side-panel__name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.side-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.side-panel__nav a:hover {
  background: rgba(240, 165, 0, 0.08);
  color: var(--text);
  text-decoration: none;
}

.side-panel__note {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.main-scroll {
  min-width: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem clamp(1.5rem, 4vw, 4rem) 3rem;
}

.hero__band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 165, 0, 0.18) 0%, transparent 42%),
    linear-gradient(315deg, rgba(196, 92, 38, 0.14) 0%, transparent 38%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
  gap: 2rem;
  align-items: center;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.hero__tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 34ch;
}

.hero__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 165, 0, 0.18);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section {
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-intro--left {
  text-align: left;
}

.section-intro--center {
  text-align: center;
  margin-inline: auto;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.bento-tile {
  background: var(--surface);
  border: 1px solid rgba(230, 237, 245, 0.06);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  grid-column: span 4;
}

.bento-tile h3 {
  font-size: 1.25rem;
  color: var(--accent);
}

.bento-tile p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.bento-tile--tall {
  grid-column: span 4;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-elevated) 100%);
}

.screens--polaroid {
  background: linear-gradient(180deg, transparent, rgba(21, 29, 43, 0.55));
}

.polaroid-wall {
  position: relative;
  min-height: 520px;
  margin-bottom: 2.5rem;
}

.polaroid {
  position: absolute;
  width: min(280px, 42vw);
  margin: 0;
  background: #f8f6f1;
  padding: 0.75rem 0.75rem 2.4rem;
  box-shadow: var(--shadow);
}

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

.polaroid figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.65rem;
  font-size: 0.82rem;
  color: #2a3140;
  text-align: center;
}

.polaroid--a {
  top: 0;
  left: 4%;
  transform: rotate(-7deg);
}

.polaroid--b {
  top: 48px;
  left: 34%;
  transform: rotate(4deg);
  z-index: 2;
}

.polaroid--c {
  top: 120px;
  right: 4%;
  transform: rotate(-3deg);
}

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

.gallery-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(240, 165, 0, 0.12);
}

.about {
  padding-bottom: 2rem;
}

.legal--footer-sheet {
  padding: 0 clamp(1.5rem, 4vw, 4rem) 3rem;
}

.legal-sheet {
  background: var(--surface);
  border: 1px solid rgba(240, 165, 0, 0.14);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  box-shadow: var(--shadow);
}

.legal-block h2 {
  font-size: 1.6rem;
  color: var(--accent);
}

.legal-foot {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .layout-split-panel {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(240, 165, 0, 0.12);
  }

  .side-panel__nav {
    flex-flow: row wrap;
  }

  .side-panel__note {
    margin-top: 0;
  }

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

  .bento-tile,
  .bento-tile--wide,
  .bento-tile--tall {
    grid-column: span 12;
    grid-row: auto;
  }

  .polaroid-wall {
    min-height: auto;
    display: grid;
    gap: 1.25rem;
    padding-top: 0.5rem;
  }

  .polaroid {
    position: relative;
    inset: auto;
    width: min(320px, 100%);
    margin-inline: auto;
    transform: none;
  }

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

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

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