/*
Theme Name: Adventure Takes Flight
Theme URI: https://adventuretakesflight.com
Author: John Scott
Description: Personal flying club events and recaps site for Adventure Takes Flight.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: atf
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --sky-dark:   #0d1f2d;
  --horizon:    #c47c3e;
  --sun:        #e8a84a;
  --cream:      #f4ede0;
  --warm-white: #faf7f2;
  --ink:        #18120a;
  --mid:        #5a4e3e;
  --rule:       rgba(196,124,62,0.3);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ============================================================
   NAV
   ============================================================ */
#atf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

#atf-nav.scrolled {
  background: rgba(13,31,45,0.93);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo { text-decoration: none; }
.nav-logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  display: block;
  line-height: 1;
}
.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sun);
  opacity: 0.8;
  display: block;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(244,237,224,0.65);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--sun); }

.nav-cta {
  background: var(--horizon) !important;
  color: var(--cream) !important;
  padding: 0.55rem 1.3rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.25s !important;
}
.nav-cta:hover { background: var(--sun) !important; }

/* ============================================================
   HERO
   ============================================================ */
.atf-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg,
    #06111c 0%, #0d2236 18%, #163d5e 36%,
    #2e6b96 52%, #7aaccf 63%, #c8a06a 73%,
    #d4714a 83%, #8b3220 93%, #3d1408 100%
  );
}

.hero-glow {
  position: absolute;
  bottom: 22%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 180px;
  background: radial-gradient(ellipse, rgba(232,168,74,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-stars { position: absolute; inset: 0; height: 55%; pointer-events: none; }

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.9; }
}

.hero-silhouette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  pointer-events: none;
}
.hero-silhouette svg { width: 100%; height: 100%; display: block; }


.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5rem 7rem;
  max-width: 860px;
  animation: heroUp 1.2s ease 0.3s both;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1.3rem;
}
.hero-byline::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--sun);
}

.atf-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 4px 40px rgba(0,0,0,0.45);
  margin-bottom: 1.6rem;
}
.atf-hero h1 span { color: var(--sun); display: block; }

.hero-sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(244,237,224,0.72);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  animation: heroUp 1.5s ease 1.2s both;
}
.scroll-text {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.35);
  writing-mode: vertical-rl;
}
.scroll-bar {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(244,237,224,0.45), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.2s, color 0.25s, gap 0.25s;
}
.btn-fill {
  background: var(--horizon);
  color: var(--cream);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-fill:hover { background: var(--sun); transform: translateY(-2px); color: var(--cream); }

.btn-ghost {
  color: rgba(244,237,224,0.75);
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.btn-ghost:hover { color: var(--sun); gap: 0.9rem; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.atf-section { padding: 7rem 5rem; }

.section-tag {
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--horizon);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.section-tag::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--horizon);
  opacity: 0.55;
}

.atf-section h2,
.section-about h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}
.atf-section h2 em,
.section-about h2 em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--horizon);
}

.section-intro {
  font-size: 0.9rem;
  color: var(--mid);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.up { opacity: 1; transform: translateY(0); }

/* ============================================================
   EVENTS
   ============================================================ */
.events-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: padding-left 0.3s;
  text-decoration: none;
  color: inherit;
}
.event-row::before {
  content: '';
  position: absolute;
  left: -5rem; right: -5rem;
  top: 0; bottom: 0;
  background: rgba(196,124,62,0.04);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.event-row:hover { padding-left: 0.5rem; }
.event-row:hover::before { opacity: 1; }

.event-date-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  text-align: center;
  padding: 0.65rem 0.4rem;
  transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.event-row:hover .event-date-box { background: var(--horizon); border-color: var(--horizon); }

.event-mo {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.25s;
}
.event-row:hover .event-mo { color: rgba(244,237,224,0.75); }

.event-dd {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1;
  transition: color 0.25s;
}
.event-row:hover .event-dd { color: var(--cream); }

.event-kind {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--horizon);
  margin-bottom: 0.3rem;
}
.event-name {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.event-meta {
  font-size: 0.78rem;
  color: var(--mid);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.event-arrow {
  color: rgba(196,124,62,0.35);
  font-size: 1.1rem;
  transition: color 0.25s, transform 0.25s;
}
.event-row:hover .event-arrow { color: var(--horizon); transform: translateX(5px); }

.events-note {
  margin-top: 1.8rem;
  font-size: 0.76rem;
  color: var(--mid);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.6;
}
.events-note::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--mid);
  opacity: 0.4;
  flex-shrink: 0;
}

.no-events {
  padding: 3rem 0;
  text-align: center;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--mid);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
  background: #f0e8d6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.about-visual {
  position: relative;
  overflow: hidden;
  background: var(--sky-dark);
  min-height: 480px;
}
.about-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0d2236 0%, #2e6b96 55%, #c47c3e 100%);
}
.about-plane-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  opacity: 0.09;
  animation: gentleDrift 9s ease-in-out infinite;
}
@keyframes gentleDrift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.about-photos {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  opacity: 0.55;
}
.photo-slot {
  background: rgba(0,0,0,0.22);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: rgba(244,237,224,0.3);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.photo-slot.has-photo { font-size: 0; color: transparent; }
.photo-slot span { font-size: 1.5rem; opacity: 0.5; }

.about-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, #f0e8d6 100%);
}

.about-content {
  padding: 5.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-content h2 { margin-bottom: 1.4rem; }

.about-body {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.about-body strong { color: var(--ink); font-weight: 600; }
.about-body a {
  color: var(--horizon);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,124,62,0.35);
  transition: border-color 0.25s;
}
.about-body a:hover { border-color: var(--horizon); }

.about-disclaimer {
  font-size: 0.76rem;
  color: rgba(90,78,62,0.6);
  font-style: italic;
  line-height: 1.65;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   RECAPS GRID (front page)
   ============================================================ */
.recaps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
}

.recap-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.recap-card:first-child {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 420px;
}

.recap-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  background-size: cover;
  background-position: center;
}
.recap-card:hover .recap-bg { transform: scale(1.05); }

.recap-bg-1 { background: linear-gradient(150deg, #0d2236 0%, #1a4a6e 45%, #4a8aae 100%); }
.recap-bg-2 { background: linear-gradient(150deg, #2a1508 0%, #6b3a1a 50%, #c47c3e 100%); }
.recap-bg-3 { background: linear-gradient(150deg, #0d1f12 0%, #1e4a2a 50%, #3a8a5a 100%); }
.recap-bg-4 { background: linear-gradient(150deg, #1a0d2e 0%, #4a1a6e 50%, #8a4aae 100%); }
.recap-bg-5 { background: linear-gradient(150deg, #2e1a0d 0%, #6e4a1a 50%, #ae8a4a 100%); }

.recap-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.08;
  transition: opacity 0.4s;
}
.recap-card:hover .recap-icon { opacity: 0.14; }

.recap-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 58%);
}

.recap-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem;
  z-index: 2;
}
.recap-date {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.4rem;
}
.recap-title {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.recap-card:first-child .recap-title { font-size: 1.55rem; }

.recap-blurb {
  font-size: 0.78rem;
  color: rgba(244,237,224,0.62);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.recap-card:hover .recap-blurb { max-height: 80px; }

.recap-read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sun);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s, transform 0.3s;
}
.recap-card:hover .recap-read { opacity: 1; transform: translateY(0); }

.no-recaps {
  grid-column: 1 / -1;
  padding: 4rem 2rem;
  text-align: center;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--mid);
  font-size: 0.95rem;
  background: rgba(196,124,62,0.04);
  border: 1px solid var(--rule);
  margin-top: 3.5rem;
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.section-newsletter {
  background: var(--sky-dark);
  padding: 8rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.nl-deco {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 340px;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.nl-copy h2 { color: var(--cream); margin-bottom: 1.2rem; }
.nl-copy .section-tag { margin-bottom: 1rem; }

.nl-body {
  font-size: 0.88rem;
  color: rgba(244,237,224,0.58);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}
.nl-body strong { color: rgba(244,237,224,0.85); font-weight: 500; }

.nl-disclaimer {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.72rem;
  color: rgba(244,237,224,0.28);
  font-style: italic;
  line-height: 1.65;
}

.nl-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
}
.nl-form-wrap h3 {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.nl-form-wrap > p {
  font-size: 0.8rem;
  color: rgba(244,237,224,0.4);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.nl-fields { display: flex; flex-direction: column; gap: 0.9rem; }

.nl-field { display: flex; flex-direction: column; gap: 0.35rem; }
.nl-field label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.38);
}
.nl-field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.nl-field input:focus {
  border-color: var(--horizon);
  background: rgba(196,124,62,0.07);
}
.nl-field input::placeholder { color: rgba(244,237,224,0.22); }

.nl-submit { display: flex; justify-content: flex-end; margin-top: 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#atf-footer {
  background: #070f18;
  padding: 3rem 5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(244,237,224,0.45);
  display: block;
}
.footer-credit {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(244,237,224,0.2);
  text-transform: uppercase;
  display: block;
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.28);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--sun); }

/* ============================================================
   SINGLE RECAP POST
   ============================================================ */
.recap-post {
  padding-top: 0;
}

.recap-post-hero {
  min-height: 55vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sky-dark);
}

.recap-post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #163d5e;
}

.recap-post-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

.recap-post-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 5rem;
  max-width: 820px;
}

.recap-post-meta {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.recap-post-meta::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--sun);
}

.recap-post h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-bottom: 0;
}

.recap-post-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 5rem 5rem;
}

.recap-post-body .entry-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink);
  font-family: 'Lora', serif;
}

.recap-post-body .entry-content p { margin-bottom: 1.6rem; }
.recap-post-body .entry-content h2,
.recap-post-body .entry-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}
.recap-post-body .entry-content h2 { font-size: 2.2rem; }
.recap-post-body .entry-content h3 { font-size: 1.6rem; }

.recap-post-body .entry-content strong { color: var(--ink); }
.recap-post-body .entry-content em { font-style: italic; }

.recap-post-body .entry-content a {
  color: var(--horizon);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,124,62,0.4);
  transition: border-color 0.2s;
}
.recap-post-body .entry-content a:hover { border-color: var(--horizon); }

/* WordPress gallery block */
.recap-post-body .wp-block-gallery {
  margin: 2.5rem 0;
}
.recap-post-body .wp-block-gallery figure img {
  border-radius: 0;
}

/* Post navigation */
.recap-post-nav {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.recap-post-nav a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: color 0.2s;
}
.recap-post-nav a:last-child { text-align: right; }
.recap-post-nav a:hover { color: var(--horizon); }

.post-nav-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: 0.6;
}
.post-nav-title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Back to recaps link */
.back-to-recaps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--horizon);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: gap 0.2s, color 0.2s;
}
.back-to-recaps:hover { color: var(--sun); gap: 0.8rem; }

/* ============================================================
   ARCHIVE PAGE (all recaps)
   ============================================================ */
.archive-header {
  background: var(--sky-dark);
  padding: 10rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.archive-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, #06111c 0%, #163d5e 50%, #2e6b96 100%);
  opacity: 0.7;
}

.archive-header-content { position: relative; z-index: 2; }

.archive-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 0.9;
  margin-bottom: 0.8rem;
}
.archive-header h1 em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--sun);
}

.archive-header p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(244,237,224,0.55);
  font-size: 0.95rem;
  line-height: 1.8;
}

.archive-grid {
  padding: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #atf-nav { padding: 1.2rem 2rem; }
  .hero-content { padding: 0 2.5rem 6rem; }
  .atf-section { padding: 5rem 2.5rem; }
  .section-about { grid-template-columns: 1fr; }
  .about-visual { min-height: 300px; }
  .about-fade { background: linear-gradient(to top, #f0e8d6 0%, transparent 50%); }
  .about-content { padding: 3.5rem 2.5rem; }
  .recaps-grid { grid-template-columns: 1fr 1fr; }
  .recap-card:first-child { grid-column: span 2; }
  .section-newsletter { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2.5rem; }
  #atf-footer { padding: 2.5rem; flex-direction: column; align-items: flex-start; }
  .recap-post-hero-content { padding: 3rem 2.5rem; }
  .recap-post-body { padding: 3rem 2.5rem; }
  .archive-header { padding: 8rem 2.5rem 3.5rem; }
  .archive-grid { padding: 3rem 2.5rem; grid-template-columns: 1fr 1fr; }
}

/* ── HAMBURGER BUTTON (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animate to × when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  /* Show hamburger, hide inline nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    padding-top: 72px;
    background: rgba(7,17,24,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a {
    display: block;
    padding: 1.1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: rgba(244,237,224,0.75) !important;
    background: none !important;
    clip-path: none !important;
  }
  .nav-links a:hover { color: var(--sun) !important; }
  .nav-links .nav-cta {
    margin: 1rem 2rem 1.5rem;
    text-align: center;
    display: block;
    background: var(--horizon) !important;
    color: var(--cream) !important;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)) !important;
  }

  /* Other mobile layout fixes */
  .recaps-grid,
  .archive-grid { grid-template-columns: 1fr; }
  .recap-card:first-child { grid-column: span 1; min-height: 340px; }
  .event-row { grid-template-columns: 70px 1fr; }
  .event-arrow { display: none; }
  .recap-post-nav { grid-template-columns: 1fr; }
  .recap-post-nav a:last-child { text-align: left; }
}

.about-photo-single {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}
