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

:root {
  --bg: #0a0806;
  --text: #f0ebe1;
  --secondary: #c9b99a;
  --accent: #2d4a32;
  --serif: 'IM Fell English', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 50% 40%, transparent 15%, rgba(0, 0, 0, 0.58) 85%);
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
  min-height: 100vh;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Hero ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}

.hero-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 1.2s ease 0.2s forwards;
}

.hero h1 {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: normal;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 3rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.cta-btn {
  display: inline-block;
  margin: 3.5rem auto 3.5rem;
  padding: 0.85rem 2.2rem;
  background-color: var(--accent);
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(240, 235, 225, 0.12);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.cta-btn:hover {
  background-color: #3a5e40;
  border-color: rgba(240, 235, 225, 0.28);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--secondary);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ─── Tease ─────────────────────────────────────────────── */

.tease {
  max-width: 640px;
  margin: 0 auto;
  padding: 7rem 2rem 7rem;
}

.tease p {
  margin-bottom: 2rem;
  color: var(--text);
}

.tease-opening {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--secondary) !important;
  margin-bottom: 3.5rem !important;
}

.tease-emphasis {
  font-style: italic;
  color: var(--secondary) !important;
  margin-top: 0.5rem;
  margin-bottom: 3rem !important;
}

.tease-detail {
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  color: var(--secondary) !important;
  opacity: 0.7;
}

.tease-closing {
  font-style: italic;
  color: var(--secondary) !important;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* ─── Form ──────────────────────────────────────────────── */

.form-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 2rem 9rem;
}

.form-section h2 {
  font-size: 1.05rem;
  font-weight: normal;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
}

.field {
  margin-bottom: 2.25rem;
}

label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--secondary);
  opacity: 0.7;
  margin-bottom: 0.55rem;
  text-transform: lowercase;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 185, 154, 0.22);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0.55rem 0;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-bottom-color: rgba(201, 185, 154, 0.55);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9b99a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.75rem;
}

select option {
  background-color: #1c1510;
  color: var(--text);
}

select option:disabled {
  color: rgba(201, 185, 154, 0.35);
}

textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.7;
}

textarea::placeholder {
  color: var(--secondary);
  opacity: 0.35;
  font-style: italic;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--secondary);
  opacity: 0.45;
  font-style: italic;
  margin-top: 0.6rem;
  line-height: 1.6;
}

.form-note {
  font-size: 0.78rem;
  color: var(--secondary);
  opacity: 0.5;
  line-height: 2;
  margin-bottom: 2.75rem;
  letter-spacing: 0.02em;
}

button[type="submit"] {
  background-color: var(--accent);
  border: 1px solid rgba(240, 235, 225, 0.12);
  color: var(--text);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

button[type="submit"]:hover {
  background-color: #3a5e40;
  border-color: rgba(240, 235, 225, 0.28);
}

/* ─── Confirmation page ─────────────────────────────────── */

.confirmation .hero-inner {
  animation: heroFadeIn 1.2s ease 0.3s forwards;
}

.confirmation-line {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-style: italic;
  color: var(--text);
  margin-bottom: 3rem;
}

.confirmation-sub {
  font-size: 1rem;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.confirmation-sig {
  font-size: 0.9rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-top: 3rem;
  letter-spacing: 0.04em;
}

/* ─── Animations ────────────────────────────────────────── */

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scrollbar ─────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 185, 154, 0.18);
}

/* ─── Mobile ────────────────────────────────────────────── */

@media (max-width: 480px) {
  body {
    font-size: 19px;
  }

  .tease {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .form-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}
