:root {
  /* colors */
  --bg: #f6f3ee;
  --bg-alt: #efe9df;
  --text: #171717;
  --muted: #5f5a52;
  --line: #d9d1c4;
  --card: #fffdf9;
  --accent: #171717;
  --accent-soft: #6f5a7a;
  
  /* layout */
  --max: 1120px;
  --radius: 22px;
  
  /* effects */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 243, 238, 0.78);
  border-bottom: 1px solid #cfc5d9;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-soft);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
}

.film-title {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.hero-text {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}

#welcome-word {
  font-weight: 600;
  color: var(--accent-soft);
}

.cursor {
  margin-left: 4px;
animation: blink 1s infinite;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-line {
  display: block;
  margin-top: 0.35em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
}

.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-mark {
  width: min(100%, 340px);
  filter: contrast(1.05);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(217, 209, 196, 0.8);
  border-bottom: 1px solid rgba(217, 209, 196, 0.8);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.video-frame {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

.section-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cards {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.4rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p,
.section p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 860px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-card {
    min-height: 260px;
  }

  .nav {
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 0.8rem;
  }
}