/* =========================
   Theme Variables
========================= */
:root {
  --bg: #0b0d12;
  --text: #e8e8ec;
  --muted: #9a9aa5;
  --gold: #e6c27a;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  padding-top: 60px; /* space for fixed header */
}

/* =========================
   Layout
========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 60px 40px;
}

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

/* =========================
   Header
========================= */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.top-header-inner {
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 30px;
  transition: opacity 0.3s ease;
}

.logo img:hover {
  opacity: 0.8;
}



/* =========================
   Hero
========================= */
h1 {
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  font-size: clamp(42px, 6vw, 60px);
  line-height: 0.8;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

h1 span {
  color: var(--gold);
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
  opacity: 0.75;
  max-width: 540px;
  margin-bottom: 60px;
}

/* =========================
   Section Label
========================= */
.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  opacity: 0.6;
  margin-bottom: 40px;
}

.latest .section-label {
  display: flex;
  align-items: center;
  gap: 28px;
}

.latest .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08); /* use darker if light bg */
}

/* =========================
   Featured
========================= */
.featured {
  margin-bottom: 120px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.featured-image {
  aspect-ratio: 2 / 3;   /* 4:6 ratio */
  max-width: 420px;      /* 👈 controls how small it is */
  overflow: hidden;
  justify-self: start; 
}

.featured-image img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.featured-image:hover img {
  filter: grayscale(0%);
}

.featured-content h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 20px;
}

.featured-content p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 480px;
}

.read-more {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}

/* =========================
   Latest Stories
========================= */
.latest {
  margin-bottom: 120px;
}

.stories-grid {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.story-card {
  flex: 0 0 240px;   /* fixed card width */
  scroll-snap-align: start;
}

.story-image {
  width: 100%;
  height: 340px;   /* slightly reduced */
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.story-card:hover img {
  filter: grayscale(0%);
}

/* Title */
.story-card-content h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

/* Meta */
.story-card-content p {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.55;
  letter-spacing: 0.3px;
}

.latest {
  position: relative;
}

.latest::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to left, var(--bg), transparent);
  pointer-events: none;
}

.story-genre {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a96a; /* your gold tone */
  margin-bottom: 8px;
  margin-top: 16px;
  opacity: 0.85; 
}

/* =========================
   Philosophy Section
========================= */
.philosophy {
  text-align: center;
  max-width: 760px;
  margin: 100px auto 100px;
}

.philosophy h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 30px;
}

.philosophy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* =========================
   Footer
========================= */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.45;
  letter-spacing: 0.3px;
}

.footer-instagram {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-instagram:hover {
  color: var(--gold);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 25px 20px 40px;
  }

  .hero {
    margin-top: 10px;
  }

  h1 {
    font-size: 29px;
  }
  .subtitle {
    font-size: 13px;
  }

  .story-image {
    height: 300px;
  }

  .logo img {
    height: 24px !important;
  }

  .featured-image {
    height: 400px;      /* 👈 control height */
    overflow: hidden;
  }

  .featured-image {
    max-width: 100%;
    aspect-ratio: 3 / 3;
  }
   /* Reduce gap between image and text */
   .featured-grid {
    gap: 18px;
  }

  /* Reduce space above title */
  .featured-content h2 {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 26px;   /* optional: slightly smaller */
  }

  /* Reduce description spacing */
  .featured-content p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  /* Reduce overall section spacing */
  .featured {
    margin-bottom: 100px;
  }

  
  .read-more {
    font-size: 10px;
  }

  .philosophy h2 {
    font-size: 26px;
  }
  
  .philosophy p {
    font-size: 14px;
  }
}

/* Scroll Animation */

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s ease;
}