/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --mid:     #1e1e1e;
  --amber:   #e8a020;
  --amber-light: #f5c060;
  --amber-bg: #1a1200;
  --text:    #e8e4dc;
  --muted:   #7a7570;
  --white:   #f5f2ec;
  --radius:  6px;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.film-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
}

/* vertical amber strip — cinema curtain nod */
.hero::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--amber);
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 4px;
  background: var(--amber);
  opacity: 0.6;
}

.hero-inner { position: relative; z-index: 1; max-width: 640px; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--amber); color: var(--black); }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ── */
.section { padding: 5rem 2rem; }
.section-dark { background: var(--dark); }
.section-amber { background: var(--amber-bg); }

.container { max-width: 900px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ── Story Grid ── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.story-block {
  background: var(--mid);
  padding: 1.75rem;
  border-left: 3px solid var(--amber);
}

.story-block-wide {
  grid-column: 1 / -1;
  border-left: none;
  border-top: 3px solid var(--amber);
  background: transparent;
  padding: 2rem 0 0;
}

.year {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.story-block p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
  font-style: italic;
  color: var(--amber-light) !important;
  line-height: 1.7 !important;
}

/* ── Memory Grid ── */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.memory-card {
  background: rgba(232, 160, 32, 0.06);
  border: 1px solid rgba(232, 160, 32, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.memory-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.memory-film {
  font-size: 0.78rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.memory-name {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Future Grid ── */
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.future-card {
  background: var(--mid);
  border-left: 3px solid var(--amber);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.future-idea {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.future-name {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Forms ── */
.form-card {
  background: var(--mid);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.form-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.field { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid #333;
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  resize: vertical;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--amber);
}
input::placeholder, textarea::placeholder { color: #444; }

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  border: none;
  padding: 0.8rem 2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-primary:hover { background: var(--amber-light); }

/* ── Photo grid (today section) ── */
.container-wide { max-width: 1100px; margin: 0 auto; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.photo-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 4/3;
}
.photo-item--wide {
  grid-column: span 3;
  aspect-ratio: 16/7;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.65) contrast(1.12) brightness(0.88) sepia(0.12);
  border: 2px solid rgba(25, 22, 18, 0.75);
  outline: 1px solid rgba(60, 50, 40, 0.4);
  outline-offset: -3px;
  box-shadow:
    inset 0 0 25px rgba(0,0,0,0.4),
    inset 0 0 0 2px rgba(0,0,0,0.12);
}
.photo-item:hover img {
  transform: scale(1.03);
  filter: saturate(0.75) contrast(1.1) brightness(0.92) sepia(0.08);
}
.photo-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 1.5rem 0.85rem 0.65rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-item:hover figcaption { opacity: 1; }

.today-link {
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-item--wide { grid-column: span 2; }
  .photo-item img { height: 200px; }
  .photo-item figcaption { opacity: 1; }
}
@media (max-width: 450px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-item--wide { grid-column: span 1; }
}

/* ── Misc ── */
.empty-note {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.count-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* ── Footer ── */
.footer {
  background: var(--black);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.footer-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.footer-sub {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.footer-stats {
  font-size: 0.78rem;
  color: #444;
  letter-spacing: 0.05em;
}

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

.sent-notice {
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid var(--amber);
  color: var(--amber-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .section { padding: 3.5rem 1.25rem; }
  .form-card { padding: 1.5rem; }
  .story-block { padding: 1.25rem; }
  .memory-grid, .future-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .photo-item figcaption { opacity: 1; }
}
