/* --- Global Resets & Variables --- */
:root {
  --sky-blue: #9dc7e6;
  --bg-sage: #f2f5f3;
  --white: #ffffff;
  --text-dark: #111417;
  --text-muted: #5e6b77;
  --border-light: rgba(0, 0, 0, 0.15);
  --input-border: #22252a;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--sky-blue);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout Containers --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-center {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* --- Typography --- */
.serif-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* --- Common Buttons --- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border-radius: 9999px;
  font-family: var(--font-sans);
}

.btn-pill {
  background-color: #0d0f12;
  color: #ffffff;
  padding: 0.55rem 1.45rem;
  border: 1px solid #0d0f12;
}

.btn-pill:hover {
  background-color: #2b313a;
  border-color: #2b313a;
}

.btn-pill-outline {
  background: transparent;
  color: var(--text-dark);
  padding: 0.55rem 1.5rem;
  border: 1px solid var(--input-border);
}

.btn-pill-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* --- Common Input Styles --- */
.text-input {
  border: 1px solid var(--input-border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  border-radius: 0;
}

.text-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

/* --- Sky Blue Sections (Hero & About) --- */
.sky-section {
  background-color: var(--sky-blue);
  width: 100%;
}

/* --- Header --- */
/* Pushes the title to the far left and the nav items to the far right */
.header {
  display: flex;
  justify-content: space-between; /* Creates the big gap between brand and menu */
  align-items: center;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Spaces out About, Contact, and Archive on the right */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem; /* Gap between About, Contact, and Archive */
  margin-left: auto; /* Fallback insurance to push links to the right */
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
}


.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.65;
}

/* --- Hero Section --- */
/* --- Hero Section (Side-by-Side: Title next to Carousel) --- */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 4.5rem;
  padding-bottom: 6.5rem;
  gap: 3.5rem;
}

.hero-text {
  flex: 1;
  max-width: 480px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Aligns carousel smoothly to the right column */
}

.hero-media .image-wrapper {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.hero-media .dots-indicator {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  gap: 6px;
  margin-top: 14px;
}

/* Only stack when the screen is very narrow (mobile phones) */
@media (max-width: 680px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .hero-media {
    width: 100%;
    align-items: center;
  }

  .hero-media .image-wrapper,
  .hero-media .dots-indicator {
    max-width: 100%;
  }
}

.image-wrapper {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dots-indicator {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.dot.active {
  background-color: var(--text-dark);
}

/* --- Poems Section --- */
.poems-section {
  background-color: var(--white);
  padding: 5.5rem 0 6.5rem;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 2.2rem;
}

.poems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
}

.poem-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  margin-top: -1px;
}

.poem-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  text-decoration: none;
  font-style: italic;
  transition: color 0.2s;
}

.poem-title:hover {
  color: #666;
}

.poem-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- About Section --- */
/* --- About Section (Side by Side) --- */
.about-section {
  padding: 5rem 0 6rem;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.about-text {
  flex: 1;
  max-width: 480px;
}

.about-text h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 0.95rem;
  color: #2b333c;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.about-media {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-media .image-wrapper {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-media .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Maintain side-by-side on typical laptop/tablet sizes; only stack on narrow phones */
@media (max-width: 680px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .about-media {
    width: 100%;
    justify-content: center;
  }

  .about-media .image-wrapper {
    max-width: 100%;
  }
}

/* --- 4-Photo Collage Banner --- */
.photo-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.photo-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.92);
}

.photo-item img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}

/* --- Letters (Newsletter) Section --- */
.letters-section {
  background-color: var(--white);
  padding: 7rem 0 7.5rem;
}

.center-heading {
  font-size: clamp(2.6rem, 3.8vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.center-subtext {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.letters-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  max-width: 420px;
  margin: 0 auto;
}

.letters-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
}

/* --- Quiet Notes (Contact) Section --- */
.notes-section {
  background-color: var(--bg-sage);
  padding: 7rem 0 6rem;
}

.notes-form {
  text-align: left;
  max-width: 450px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-dark);
}

.label-sub {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-field {
  width: 100%;
  padding: 0.7rem 0.8rem;
}

.textarea-field {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  padding: 0.6rem 2.2rem;
  margin-top: 0.4rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-sage);
  text-align: center;
  padding: 2.5rem 0 3.5rem;
}

.cross-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.4);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 768px) {
  .hero,
  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

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

  .photo-banner {
    grid-template-columns: repeat(2, 1fr);
  }

  .letters-form {
    flex-direction: column;
    width: 100%;
  }

  .letters-input,
  .letters-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .photo-banner {
    grid-template-columns: 1fr;
  }
}

/* --- Hero Slider Styles --- */
.carousel-container {
  position: relative;
}

.carousel-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

.carousel-container .slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Arrow Button */
/* Slider Navigation Buttons (Hidden by default, visible on hover) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.15s ease;
}

/* Position Left and Right */
.prev-btn {
  left: 14px;
}

.next-btn {
  right: 14px;
}

/* Reveal buttons when hovering over the carousel container */
.carousel-container:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.08);
}

/* Reset dot button defaults */
.dot {
  border: none;
  padding: 0;
  cursor: pointer;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background-color: var(--text-dark);
  transform: scale(1.2);
}
/* --- Editorial Matching Footer --- */
.site-footer {
  background-color: #e8ded8; /* Gentle blush stone */
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4.5rem 0 3.5rem;
  color: #2e2624;
  font-size: 0.84rem;
}

.footer-quote,
.footer-meta {
  color: #786a64;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-brand .footer-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.footer-quote {
  font-family: var(--font-serif);
  color: var(--text-muted);
  font-size: 0.95rem;
}


/* Minimal Return to Poems Link */
.return-link {
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #121518;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.return-link .arrow-left {
  transition: transform 0.2s ease;
}

.return-link:hover {
  color: #000;
  border-bottom-color: currentColor;
}

.return-link:hover .arrow-left {
  transform: translateX(-3px); /* Subtle hover nudge to the left */
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.07);
}

/* Footer Bottom: Links & Meta */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-muted);
}

.footer-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.meta-separator {
  opacity: 0.4;
  font-size: 0.6rem;
}

/* Footer Mobile Responsiveness */
@media (max-width: 680px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-nav {
    gap: 1.2rem;
  }

  .footer-meta {
    flex-wrap: wrap;
  }
}
/* --- Global Resets & Variables --- */
:root {
  --white: #ffffff;
  --text-dark: #121518;
  --text-muted: #5e6b77;
  --border-light: rgba(0, 0, 0, 0.1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border-radius: 9999px;
  font-family: var(--font-sans);
}

.btn-pill {
  background-color: #0d0f12;
  color: #ffffff;
  padding: 0.55rem 1.45rem;
  border: 1px solid #0d0f12;
}

.btn-pill:hover {
  background-color: #2b313a;
  border-color: #2b313a;
}

/* --- Header --- */
.poem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.65;
}

/* --- Galaxy Hero Banner --- */
.galaxy-hero {
  position: relative;
  width: 100%;
  min-height: 290px;
  /* Deep starry galaxy photo */
  background-image: url('https://images.unsplash.com/photo-1506703719100-a0f3a48c0f86?q=80&w=2000&auto=format&fit=crop');
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 4rem 1.5rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 16, 26, 0.45); /* Soft moody vignette */
}

.galaxy-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.category-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.poem-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  line-height: 1.15;
}

.poem-summary {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

/* --- Poem Content Area --- */
.poem-content-area {
  padding: 6.5rem 1.5rem 5rem;
  background-color: var(--white);
}

.poem-wrapper {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.stanza {
  margin-bottom: 2.8rem;
}

.stanza p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1a1e22;
  font-weight: 400;
}

/* Subtle line between Stanza 1 & 2 */
.poem-divider {
  width: 140px;
  margin: 0 auto 3.2rem;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* --- Poem Footer --- */
.poem-footer {
  text-align: center;
  padding: 2rem 0 5rem;
}

.back-link {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--text-dark);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 640px) {
  .galaxy-hero {
    min-height: 240px;
    padding: 3rem 1.5rem;
  }

  .poem-content-area {
    padding-top: 4.5rem;
  }

  .stanza {
    margin-bottom: 2.2rem;
  }

  .stanza p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* --- Fix Navbar Spacing --- */
header.header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

header.header .brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

header.header .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important; /* Space between About, Contact, and Archive */
  margin-left: auto !important; /* Forces it to the far right */
}

header.header .nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  white-space: nowrap;
}
/* Adds the generous blue space below the hero image & dots */
.hero {
  padding-bottom: 7rem !important; /* Adjust between 5rem and 8rem to your liking */
}

/* Also ensure the dots themselves have a small margin from the image */
.dots-indicator {
  margin-top: 18px;
  margin-bottom: 0;
}
.sky-section:first-of-type {
  padding-bottom: 3rem;
}
/* --- Poem Pages Styling --- */
body.poem-page {
  background-color: #ffffff;
}

/* Warm sepia / sandy hands hero banner */
.sepia-hero {
  position: relative;
  width: 100%;
  min-height: 290px;
  background-image: url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?q=80&w=2000&auto=format&fit=crop');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 4.5rem 1.5rem;
}

.sepia-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 30, 18, 0.42); /* Warm golden/sepia film filter */
}

.poem-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.poem-hero-content .category-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.poem-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  line-height: 1.15;
}

.poem-summary {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 490px;
  margin: 0 auto;
}

/* Poem Stanzas */
.poem-content-area {
  padding: 6.5rem 1.5rem 5.5rem;
  background-color: #ffffff;
}

.poem-wrapper {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.stanza {
  margin-bottom: 2.8rem;
}

.stanza p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1a1e22;
  font-weight: 400;
}

/* Light sky-blue subtle divider line */
.poem-divider-blue {
  width: 150px;
  margin: 0 auto 3.2rem;
  border: none;
  border-top: 1.5px solid #9dc7e6;
  opacity: 0.85;
}

/* Bottom small attribution tag */
.poem-signoff {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #8da4be;
  margin-top: 4.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
/* --- About Me Page Styling --- */
body.about-page {
  background-color: #ffffff;
}

.about-page .active-link {
  font-weight: 500;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
}

/* About Hero Header */
.about-hero {
  background-color: var(--sky-blue);
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
}

.about-hero .category-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--text-dark);
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.about-main-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.about-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #2b333c;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Page Content Rows */
.about-content {
  padding-top: 6rem;
  padding-bottom: 6.5rem;
}

.about-grid-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4.5rem;
}

.about-grid-row.reverse-row {
  flex-direction: row;
}

.about-grid-text {
  flex: 1.1;
  max-width: 480px;
}

.about-grid-text .row-heading {
  font-size: 2.2rem;
  margin-bottom: 1.4rem;
}

.about-grid-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2c333a;
  margin-bottom: 1.4rem;
  font-weight: 300;
}

.about-grid-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-grid-media .image-wrapper {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.about-grid-media .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-rule {
  width: 120px;
  margin: 5rem auto;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.about-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Responsive Stacking for About Page */
@media (max-width: 768px) {
  .about-hero {
    padding: 3.5rem 1.5rem;
  }

  .about-content {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .about-grid-row,
  .about-grid-row.reverse-row {
    flex-direction: column !important;
    gap: 2.5rem;
  }

  .about-grid-media {
    width: 100%;
  }

  .about-grid-media .image-wrapper {
    max-width: 100%;
  }

  .section-rule {
    margin: 3.5rem auto;
  }
}
/* --- Contact Page Specific Styles --- */
body.contact-page {
  background-color: #ffffff;
}

.contact-page .active-link {
  font-weight: 500;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
}

/* Contact Hero Banner */
.contact-hero {
  background-color: var(--sky-blue);
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
}

.contact-hero .category-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--text-dark);
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.contact-main-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.contact-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #2b333c;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Grid Layout */
.contact-content-area {
  background-color: var(--bg-sage);
  padding: 6.5rem 0 7rem;
}

.contact-grid-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5rem;
}

/* Left Column */
.contact-info-col {
  flex: 1;
  max-width: 440px;
}

.contact-info-title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.contact-info-p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2e353c;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.direct-contact-block {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-label {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font-sans);
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.direct-email-link {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.direct-email-link:hover {
  opacity: 0.65;
}

.direct-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* Right Column (Form) */
.contact-form-col {
  flex: 1.1;
  max-width: 500px;
  background-color: #ffffff;
  padding: 3rem 2.8rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-page-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-page-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.contact-page-form .form-field {
  width: 100%;
  padding: 0.75rem 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 3.5rem 1.5rem;
  }

  .contact-content-area {
    padding: 4rem 0 5rem;
  }

  .contact-grid-container {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-info-col,
  .contact-form-col {
    max-width: 100%;
    width: 100%;
  }

  .contact-form-col {
    padding: 2rem 1.5rem;
  }
}
/* --- Archive Page Styling --- */
body.archive-page {
  background-color: #ffffff;
}

/* Archive Hero Header */
.archive-hero {
  background-color: var(--sky-blue);
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
}

.archive-hero .category-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--text-dark);
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.archive-main-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.archive-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #2b333c;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Archive Content */
.archive-content {
  padding: 5.5rem 0 7rem;
  background-color: #ffffff;
}

.archive-group {
  margin-bottom: 4.5rem;
}

.archive-group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 1.8rem;
}

.year-title {
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text-dark);
}

.group-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Row Entries */
.archive-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease;
}

.archive-row:hover {
  background-color: rgba(157, 199, 230, 0.08); /* subtle soft sky tint on hover */
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

.archive-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.archive-date {
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 500;
}

.archive-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.archive-detail .archive-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.archive-detail .archive-title a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.archive-detail .archive-title a:hover {
  color: #556270;
}

.archive-excerpt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 300;
  max-width: 520px;
}

.archive-action .archive-link {
  font-size: 0.82rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s ease;
  display: inline-block;
}

.archive-row:hover .archive-action .archive-link {
  transform: translateX(4px);
}

/* Mobile responsiveness */
@media (max-width: 720px) {
  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .archive-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }

  .archive-action {
    margin-top: 0.4rem;
  }
}
/* Moody Winter Hero Banner */
.winter-hero {
  position: relative;
  width: 100%;
  min-height: 290px;
  background-image: url('https://images.unsplash.com/photo-1517411032315-54ef2cb783bb?q=80&w=2000&auto=format&fit=crop');
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 4.5rem 1.5rem;
}

.winter-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 21, 32, 0.48); /* Soft frosty twilight filter */
}
/* Twilight Horizon Hero Banner */
.twilight-hero {
  position: relative;
  width: 100%;
  min-height: 290px;
  background-image: url('https://plus.unsplash.com/premium_photo-1728039006472-6c045040a4f3?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center 60%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 4.5rem 1.5rem;
}

.twilight-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 28, 42, 0.45); /* Soft dusky blue-violet overlay */
}