/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #c9a66b;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --bg: #ffffff;
  --band: #faf8f3;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  color: var(--gold);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------ */
/*         HERO SECTION          */
/* ------------------------------ */

.hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(
      rgba(255, 228, 196, 0.25),
      rgba(255, 228, 196, 0.40)
    ),
    url('/img/fireflies.jpg') center/cover no-repeat;

  box-shadow: inset 0 0 80px rgba(0,0,0,0.25);
}

.site-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 4rem;
  color: #fffef7;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #fffaf0;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

/* NAV in Hero */
.hero-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 20;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
  padding: 14px 0;
}

.hero-nav a {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0.8px;
  text-transform: uppercase;

  color: #fff;
  margin: 0 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero-nav a:hover {
  border-bottom: 1px solid #fff;
}

/* ------------------------------ */
/*        FEATURED SECTION        */
/* ------------------------------ */

.featured {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* MAIN FEATURE COLUMN */
.featured-main a {
  display: block;
  color: inherit;
}

.featured-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.featured-main-info {
  text-align: center;
}

.featured-main-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.featured-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.featured-author {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.featured-snippet {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 90%;
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SIDE COLUMN WITH STACKED CARDS */
.featured-side {
  display: block;
}

.featured-side .side-card {
  display: block;
  margin-bottom: 24px;
  text-align: center;
}

.featured-side .side-card:last-child {
  margin-bottom: 0;
}

.side-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.side-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.side-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.side-snippet {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-author {
  font-size: 0.75rem;
  color: var(--gold);
}

/* Side Cards */
.featured-side {
  display: grid;
  gap: 26px;
}

.side-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.side-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.side-quote {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 6px;
}

.side-snippet {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-author {
  font-size: 0.85rem;
  color: var(--gold);
}

/* ------------------------------ */
/*       NEWSLETTER SECTION       */
/* ------------------------------ */

.newsletter {
  text-align: center;
  margin: 60px auto;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter h3 {
  font-family: "Merriweather", serif;
}

.newsletter p {
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: inline-flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px 14px;
  border: 1px solid var(--border);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--gold);
  color: white;
  border: none;
}

/* ------------------------------ */
/*    MORE STORIES GRID SECTION   */
/* ------------------------------ */

.more-stories-title {
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.more-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.story-card {
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.15s ease;
}

.story-card:hover {
  transform: translateY(-2px);
}

.story-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.story-card-info {
  padding: 14px 16px;
  text-align: center;
}

.story-card-info h4 {
  font-family: "Playfair Display", serif;
  margin-bottom: 6px;
}

.story-card-quote {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 4px;
}

.story-card-author {
  color: var(--gold);
  text-transform: none !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.3px;
}

/* ------------------------------ */
/*             FOOTER             */
/* ------------------------------ */

.site-footer {
  background: #2d3748;
  color: #fff;
  text-align: center;
  padding: 22px 0;
  margin-top: 60px;
}

/* =============================== */
/*         MOBILE (≤ 768px)        */
/* =============================== */

@media (max-width: 768px) {

  /* HERO */
  .hero {
    height: 55vh;
    padding-bottom: 40px;
  }

  .site-title {
    font-size: 2.4rem;
  }

  .tagline {
    font-size: 1rem;
    padding: 0 20px;
  }

  .hero-nav a {
    font-size: 0.85rem;
    margin: 0 12px;
    letter-spacing: 0.4px;
    white-space: nowrap;
  }

  /* =============================== */
  /*        FEATURED SECTION         */
  /* =============================== */

  .featured {
    display: block;
    margin-top: 40px;
  }

  /* All story images consistent */
  .featured-main img,
  .featured-side .side-card img,
  .story-card img {
    height: 240px !important;
    width: 100%;
    object-fit: cover;
  }

  /* Featured main card spacing */
  .featured-main {
    margin-bottom: 32px;
  }

  /* =============================== */
  /*      TEXT + TYPOGRAPHY FIXES    */
  /* =============================== */

  /* All titles same size */
  .featured-main-info h2,
  .side-card h3,
  .story-card-info h4 {
    font-size: 1.35rem !important;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  /* All quotes same */
  .featured-quote,
  .side-quote,
  .story-card-quote {
    font-size: 0.95rem !important;
    line-height: 1.4;
    color: var(--muted);
    margin-bottom: 8px;
  }

  /* All snippets same */
  .featured-snippet,
  .side-snippet,
  .story-card-info p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 10px;
  }

  /* All authors same (not uppercase) */
  .featured-author,
  .side-author,
  .story-card-author {
    text-transform: none !important;
    font-size: 0.9rem !important;
    color: var(--gold);
    margin-bottom: 8px;
  }

  /* =============================== */
  /*      ORDER FIX (Feature Main)   */
  /* =============================== */

  .featured-main-info {
    display: flex;
    flex-direction: column;
  }

  /* Move snippet above author */
  .featured-snippet {
    order: 3;
  }

  .featured-author {
    order: 4;
  }

}
/* Newsletter Layout Restoration */
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

/* Input Styling */
.newsletter-input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  border-radius: 4px;
  width: 240px;
  font-family: "Inter", sans-serif;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Button Styling */
.newsletter-button {
  padding: 12px 18px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-button:hover {
  background: #b9965e;
}

/* Thank-you message */
.newsletter-thanks {
  display: none;
  text-align: center;
  color: var(--gold);
  margin-top: 10px;
  font-size: 0.95rem;
}
