/* ============================================
   Hedgesworn — Stage 1 Landing Page
   ============================================
   Two modes:
   - .hero--typography : text-only, dark background (default / pre-art)
   - .hero--art        : concept art background with overlay
   Switch by changing the class on .hero in index.html.
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #e8e0d4;
  background: #0a0a09;
  min-height: 100vh;
}

/* --- Page layout --- */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Hero section --- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

/* Typography-only mode (default) */
.hero--typography {
  background: radial-gradient(ellipse at center, #1a1712 0%, #0a0a09 70%);
}

/* Art mode — uncomment and set your image path when ready */
.hero--art {
  background: url('hero.jpg') center center / cover no-repeat;
}
.hero--art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 9, 0.3) 0%,
    rgba(10, 10, 9, 0.6) 50%,
    rgba(10, 10, 9, 0.85) 100%
  );
}

.hero__content {
  position: relative; /* sit above the overlay */
  text-align: center;
  width: 100%;
}

/* --- Title --- */
.title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-left: 0.08em; /* compensate letter-spacing for visual centering */
  text-transform: uppercase;
  color: #e8e0d4;
  margin-bottom: 0.3em;
  /* Subtle warm glow */
  text-shadow: 0 0 40px rgba(180, 140, 80, 0.15);
}

/* --- Tagline --- */
.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  padding-left: 0.15em; /* compensate letter-spacing for visual centering */
  text-transform: uppercase;
  color: #9a9080;
  margin-bottom: 3rem;
}

/* --- Email signup --- */
.signup {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.signup__hook {
  font-size: 0.95rem;
  color: #b0a898;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

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

.signup__note {
  font-size: 0.8rem;
  color: #6a6258;
  margin-top: 0.75rem;
}

/* --- Social links --- */
.socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.socials__link {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7068;
  text-decoration: none;
  transition: color 0.2s;
}

.socials__link:hover {
  color: #c4a86c;
}

/* --- Footer --- */
.footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #4a4238;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__links {
  margin-top: 0.5rem;
}

.footer__links a {
  color: #5a5248;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #c4a86c;
}

.footer__sep {
  margin: 0 0.5rem;
  color: #3a3228;
}

/* --- Prose pages (privacy policy, etc.) --- */
.prose {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2rem;
  line-height: 1.7;
}

.prose h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: #e8e0d4;
}

.prose h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #c4b89c;
}

.prose p, .prose li {
  color: #a09888;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.prose a {
  color: #c4a86c;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose__date {
  color: #6a6258;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.prose__back {
  margin-top: 3rem;
  font-size: 0.85rem;
}

/* --- Contact form --- */
.contact-form {
  margin-top: 1.5rem;
}

.contact-form__field {
  margin-bottom: 1.25rem;
  text-align: left;
}

.contact-form__field label {
  display: block;
  font-size: 0.85rem;
  color: #b0a898;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #e8e0d4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #6a6258;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: rgba(180, 140, 80, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.contact-form__button {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a09;
  background: #c4a86c;
  border: 1px solid #c4a86c;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form__button:hover {
  background: #d4ba80;
}

/* --- Mobile adjustments --- */
@media (max-width: 480px) {
  .hero {
    padding: 2rem 1.5rem;
  }
}
