:root {
  --bg: #f9f2db;
  --accent: #16478c;
  --accent2: #f4c62d;
  --text: #1e283d;
  --muted: #6b7a93;
  --cork: #c4a574;
  --note: #fffef8;
  --shadow: rgba(22, 71, 140, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #e0effc 0%, var(--bg) 42%, #f4e8c8 100%);
  line-height: 1.55;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
}

.corner-nav {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 71, 140, 0.15);
  border-radius: 14px;
  box-shadow: 0 8px 24px var(--shadow);
  backdrop-filter: blur(8px);
}

.corner-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.corner-nav a:hover {
  color: var(--accent2);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

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

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--accent);
}

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

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
  min-height: 72vh;
  padding: 2rem 0 3rem;
}

.hero-copy .eyebrow {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  font-size: 0.85rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: var(--accent);
}

.tagline {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.about-blurb {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 40px var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.7);
}

.features-cork {
  margin: 3rem 0;
}

.cork-board {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 40%),
    linear-gradient(145deg, #b8925a, var(--cork));
  border-radius: 18px;
  padding: 2.5rem 1.5rem 3rem;
  min-height: 420px;
  box-shadow: inset 0 0 0 2px rgba(90, 60, 30, 0.25), 0 12px 28px var(--shadow);
}

.note {
  position: absolute;
  width: min(260px, 42vw);
  padding: 1rem 1.1rem;
  background: var(--note);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.18);
  transform-origin: center;
}

.note h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--accent);
}

.note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}

.note-1 { top: 8%; left: 6%; transform: rotate(-4deg); }
.note-2 { top: 14%; right: 8%; transform: rotate(3deg); }
.note-3 { bottom: 18%; left: 12%; transform: rotate(2deg); }
.note-4 { bottom: 10%; right: 10%; transform: rotate(-2deg); }

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

.gallery-row img {
  border-radius: 14px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 8px 20px var(--shadow);
}

.screens-film {
  margin: 4rem 0;
}

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

.film-track img {
  flex: 0 0 auto;
  width: min(240px, 38vw);
  border-radius: 18px;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.legal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.legal-panel {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 22px var(--shadow);
}

.legal-panel h2 {
  margin-top: 0;
  color: var(--accent);
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

  .cork-board {
    min-height: 680px;
  }

  .note {
    position: relative;
    width: auto;
    margin-bottom: 1rem;
    transform: none !important;
    position: static;
  }

  .cork-board {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: auto;
    padding: 1.25rem;
  }

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

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

  .corner-nav {
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
