:root {
  --bg: #121614;
  --emerald: #1f8a5b;
  --lime: #b8f34a;
  --gold: #e8b84a;
  --text: #e8eee9;
  --muted: #8a968f;
  --slate: #1c2420;
  --cork: #3d2e22;
  --max: 1120px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 5rem;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(31, 138, 91, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 35% at 5% 90%, rgba(184, 243, 74, 0.05), transparent 55%);
  z-index: 0;
}

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

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--gold); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* corner_stack nav — absolute bottom-left, no fixed/sticky */
.corner-nav {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.corner-nav a {
  color: var(--muted);
  padding: 0.15rem 0;
  transition: color 0.2s, transform 0.2s;
}

.corner-nav a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

main { position: relative; z-index: 1; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-head.left {
  text-align: left;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* split_asymmetric hero */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 92vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

.hero-copy { padding-right: 1rem; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--lime);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--lime);
  color: var(--bg);
}
.btn-primary:hover { background: var(--gold); color: var(--bg); }

.btn-ghost {
  border: 1px solid rgba(184, 243, 74, 0.35);
  color: var(--lime);
}
.btn-ghost:hover { border-color: var(--lime); }

.hero-visual {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(184, 243, 74, 0.25), transparent 70%);
  pointer-events: none;
}

/* cork_notes features */
.cork-board {
  position: relative;
}

.cork-grid {
  position: relative;
  background:
    linear-gradient(135deg, rgba(61, 46, 34, 0.95), rgba(45, 34, 26, 0.98)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,0.03) 12px, rgba(0,0,0,0.03) 24px);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 3rem;
  min-height: 22rem;
  border: 1px solid rgba(232, 184, 74, 0.15);
}

.note {
  position: relative;
  background: #f4ecd8;
  color: #2a2418;
  padding: 1.25rem 1.35rem 1.1rem;
  max-width: 17rem;
  box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--rot, 0deg));
}

.note h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #1a3328;
}

.note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3d3830;
}

.pin {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #c0392b);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.note-a { --rot: -2.5deg; margin: 0 0 1.5rem 5%; }
.note-b { --rot: 1.8deg; margin: -0.5rem 0 1.5rem auto; margin-right: 8%; }
.note-c { --rot: -1deg; margin: 0 auto; max-width: 19rem; }

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

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

/* film_strip screens */
.film-section { padding-bottom: 5rem; }

.film-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film-track::-webkit-scrollbar { height: 6px; }
.film-track::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 3px; }

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

.film-frame img {
  border-radius: 1rem;
  border: 2px solid rgba(184, 243, 74, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.film-frame figcaption {
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* side_by_side legal */
.legal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 6rem;
}

.legal-panel {
  background: var(--slate);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
}

.legal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.legal-date, .legal-muted { color: var(--muted); font-size: 0.9rem; }

.accent-panel {
  border-color: rgba(31, 138, 91, 0.35);
  background: linear-gradient(145deg, var(--slate), rgba(31, 138, 91, 0.08));
}

.support-mail {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-copy { padding-right: 0; }

  .note-a, .note-b, .note-c {
    margin: 0 0 1.25rem;
    max-width: 100%;
  }

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

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

  .corner-nav {
    flex-direction: row;
    flex-wrap: wrap;
    left: 1rem;
    right: 1rem;
    bottom: 0.75rem;
    gap: 0.75rem;
    justify-content: center;
    background: rgba(18, 22, 20, 0.92);
    padding: 0.65rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
  }
}
