/* Pasadena Ski & Nature Park -- redesign draft
   Palette pulled from the real logo: deep navy blue + sky blue + warm gold sunset accent */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #143f63;
  --navy-dark: #0d2c46;
  --sky-blue: #5b9bd5;
  --gold: #f2a93b;
  --gold-dark: #d68a1f;
  /* Gold for text/icons on light backgrounds: --gold and --gold-dark are too light
     there (1.9-2.8:1). This keeps the hue and passes WCAG AA (>=4.5:1 on cream). */
  --gold-text: #98621a;
  --cream: #fdfbf6;
  --ink: #1c2b36;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  /* Fraunces auto-scales its "opsz" axis with font-size; left uncontrolled, that
     pushes the ampersand into an oversized decorative swash at heading sizes that
     doesn't match the rest of the word. Pin it to a moderate value instead. */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 9;
}

h2 {
  position: relative;
  padding-bottom: 0.6rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.cta-block h2::after,
.newsletters h2::after,
.gallery-heading::after {
  left: 50%;
  transform: translateX(-50%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sky-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 63, 99, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.main-nav a:hover { color: var(--gold-text); }

.has-dropdown {
  position: relative;
}

.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 63, 99, 0.15);
  border-radius: var(--radius);
  padding: 0.6rem 0;
  min-width: 200px;
  list-style: none;
  margin: 0.4rem 0 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  display: flex;
}

.dropdown li { padding: 0; }

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.dropdown-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky-blue);
  padding: 0.3rem 1rem;
  font-weight: 700;
}

.nav-cta a {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}

.nav-cta a:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Rotating hero photo -- crossfades between a set of images tagged by season.
   Real img elements (not CSS background) so the page still shows a photo with
   no JS at all: the first one just carries the "active" class in the HTML. */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-bg.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { transition: none; }
}

/* A soft curve instead of a hard diagonal cut -- echoes the rounded corners used
   on every photo/card/button elsewhere instead of fighting them. */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(50px, 8vw, 110px);
}

.hero-wave path {
  fill: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(242,169,59,0.18) 0%, rgba(242,169,59,0) 70%),
    linear-gradient(180deg, rgba(13,44,70,0.5) 0%, rgba(13,44,70,0.78) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
}

.hero h1 .amp {
  color: var(--gold);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

.btn-accent {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-accent:hover { background: var(--navy); color: #fff; }

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Quick links ---------- */

.quick-links {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
  position: relative;
  z-index: 2;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.quick-link-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 63, 99, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 63, 99, 0.22);
}

.quick-link-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: saturate(1.12) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.quick-link-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.25) contrast(1.08);
}

.quick-link-card h3 {
  margin: 1rem 1.25rem 0.25rem;
  color: var(--navy);
}

.quick-link-card p {
  margin: 0 1.25rem 1.25rem;
  color: #4c5c68;
  font-size: 0.95rem;
}

.quick-link-card-accent {
  background: var(--navy);
  color: #fff;
}

.quick-link-card-accent h3 { color: #fff; }
.quick-link-card-accent p { color: #cfe0ee; }

.quick-link-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-dark), var(--sky-blue));
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

/* ---------- Info strip (weather + FB) ---------- */

.info-strip {
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(242,169,59,0.12) 0%, rgba(242,169,59,0) 60%),
    var(--navy);
  color: #fff;
}

.info-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-widget h4 {
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.widget-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #cfe0ee;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #cfe0ee;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 48px;
  margin: 0 auto 1.25rem;
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.65rem 0.25rem;
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: #7fa0ba;
  margin: 0;
}

/* ---------- Shared inner-page content blocks ---------- */

.main-nav a.active { color: var(--gold-text); }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  text-align: center;
  padding: 4.25rem 1.25rem 3.75rem;
}

/* Optional per-page photo: style="background-image: url('assets/images/...')" on the
   section (not a custom property -- Chrome resolves relative url()s in custom properties
   against the stylesheet's folder, so the image 404s). Most source photos are 300-768px
   wide, so it's blurred and tinted into a texture; sharp, it would look soft when
   stretched across a wide screen. */
.page-hero::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -2;
  background-image: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(2px) saturate(1.2);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 62% at 50% 55%, rgba(13,44,70,0.72) 0%, rgba(13,44,70,0.4) 60%, rgba(13,44,70,0) 100%),
    linear-gradient(180deg, rgba(13,44,70,0.5) 0%, rgba(13,44,70,0.72) 100%);
}

.page-hero h1 { text-shadow: 0 2px 14px rgba(13,44,70,0.55); }
.page-hero p { text-shadow: 0 1px 8px rgba(13,44,70,0.9); }

@media (max-width: 700px) {
  .page-hero::after {
    background:
      radial-gradient(70% 55% at 50% 58%, rgba(13,44,70,0.6) 0%, rgba(13,44,70,0) 100%),
      linear-gradient(180deg, rgba(13,44,70,0.66) 0%, rgba(13,44,70,0.8) 100%);
  }
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero p {
  margin: 0;
  color: var(--gold);
  font-weight: 600;
}

.content-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.content-block.alt-bg {
  max-width: none;
  background:
    radial-gradient(rgba(20,63,99,0.06) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    #fff;
}

.content-block.alt-bg > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.content-grid.reverse { grid-template-columns: 0.9fr 1.1fr; }
.content-grid.reverse .content-image { order: -1; }

.content-text h2 {
  color: var(--navy);
  margin-top: 0;
}

.content-text p { color: #35464f; }

.content-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(20, 63, 99, 0.18);
  filter: saturate(1.12) contrast(1.05);
}

/* Karen: feature the conservation sign, with its explanation below, beside the
   Stewardship logo. Sign source is 768px wide, so it's capped there to stay sharp. */
.stewardship-sign {
  margin: 0 auto 2.25rem;
  max-width: 768px;
}

.stewardship-sign img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(20, 63, 99, 0.18);
}

.stewardship-body {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.stewardship-body .content-text p:first-child { margin-top: 0; }

.stewardship-logo {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 6px 18px rgba(20, 63, 99, 0.1);
}

.stewardship-logo img { width: 180px; height: auto; }

@media (max-width: 700px) {
  .stewardship-body { grid-template-columns: 1fr; }
  .stewardship-logo { justify-self: center; }
}

.newsletters { text-align: center; }
.newsletters h2 { color: var(--navy); }

.newsletter-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.newsletter-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 6px 16px rgba(20, 63, 99, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  min-width: 220px;
}

.btn-small { padding: 0.45rem 1.1rem; font-size: 0.9rem; }

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Rates page ---------- */

.rates-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rate-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 6px 18px rgba(20, 63, 99, 0.1);
  border-top: 4px solid var(--sky-blue);
}

.rate-card.featured { border-top-color: var(--gold); }

.rate-card h3 { color: var(--navy); margin-top: 0; }
.rate-card p { color: #35464f; font-size: 0.95rem; }
.rate-card .rate-note { color: var(--gold-text); font-weight: 600; }

.pending-note {
  background: #fff6e6;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #7a5310;
  font-size: 0.95rem;
}

.buy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(242,169,59,0.22) 0%, rgba(242,169,59,0) 60%),
    var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 30px rgba(20, 63, 99, 0.18);
}

.buy-band .buy-title { color: #fff; margin: 0 0 0.35rem; font-size: clamp(1.4rem, 3vw, 1.8rem); padding: 0; }
.buy-band .buy-title::after { display: none; }
.buy-band p { margin: 0; color: #cfe0ee; max-width: 560px; }
.buy-band strong { color: var(--gold); }

.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

.rates-heading { color: var(--navy); margin: 2.5rem 0 0.5rem; }
.content-block > .rates-heading:first-child { margin-top: 0; }

.season-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #e7f0f9;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rates-sub { color: #4c5c68; margin: 0.75rem 0 1.5rem; }

.rate-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1.5rem;
}

.rate-table-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.25rem;
  box-shadow: 0 6px 18px rgba(20, 63, 99, 0.1);
}

.rate-table-card h3 { color: var(--navy); margin: 0 0 0.75rem; font-size: 1.3rem; }
.rate-table-card h3 span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-text);
}

.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td { padding: 0.8rem 0.5rem; border-bottom: 1px solid #e6ecf1; text-align: right; }
.rate-table tr:last-child th, .rate-table tr:last-child td { border-bottom: none; }
.rate-table th:first-child { text-align: left; padding-left: 0; }
.rate-table td:last-child, .rate-table th:last-child { padding-right: 0; }
.rate-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4c5c68;
  font-weight: 700;
  vertical-align: bottom;
  border-bottom: 2px solid #d5e0e9;
}
.rate-table thead small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; }
.rate-table tbody th { font-weight: 600; color: var(--ink); }
.rate-table tbody th small { display: block; font-weight: 400; color: #5d6d78; font-size: 0.85rem; }
.rate-table td { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.rate-table .eb { background: #fff6e6; }
.rate-table thead .eb { color: var(--gold-text); border-top-left-radius: 8px; border-top-right-radius: 8px; }
.rate-table td.eb { color: var(--navy); font-weight: 700; }
.rate-table .eb, .rate-table th.eb { padding-left: 0.75rem; padding-right: 0.75rem; }

.locker-card { display: flex; flex-direction: column; justify-content: center; }
.locker-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 0.25rem 0 0.75rem;
}
.locker-price span { font-size: 1.6rem; }
.locker-card p:last-child { color: #4c5c68; margin: 0; }

.content-image.contain {
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

.cta-block {
  text-align: center;
  padding-bottom: 4rem;
}
.cta-block h2 { color: var(--navy); }
.cta-block p { color: #35464f; max-width: 520px; margin: 0 auto 1.5rem; }

/* ---------- Chalet / gallery ---------- */

.amenity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.amenity-list li {
  padding-left: 1.6rem;
  position: relative;
  color: #35464f;
}

.amenity-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
}

.content-text .btn { margin-right: 0.75rem; margin-bottom: 0.5rem; }

.gallery-heading {
  text-align: center;
  color: var(--navy);
  max-width: var(--max-width);
  margin: 0 auto 1.75rem;
}

.photo-gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(20, 63, 99, 0.1);
  filter: saturate(1.12) contrast(1.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.photo-gallery img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(20, 63, 99, 0.22);
  filter: saturate(1.3) contrast(1.08);
}

/* A lone photo in a gallery grid was stretching to the full row width at a fixed
   220px height, forcing an ultra-wide crop on portrait source photos. Cap it to a
   sane portrait size instead of letting the grid column dictate its shape. */
.photo-gallery img:only-child {
  max-width: 420px;
  height: 540px;
  margin: 0 auto;
}

/* ---------- Nature Series tabs ---------- */

.tab-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.tab {
  display: block;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 10px rgba(20, 63, 99, 0.12);
}

.tab:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(20, 63, 99, 0.2); }

.tab-1 { background: var(--navy); }
.tab-2 { background: var(--sky-blue); color: var(--navy-dark); }
.tab-3 { background: var(--gold); color: var(--navy-dark); }
.tab-4 { background: #5c9e6f; }
.tab-5 { background: #a15c9e; }
.tab-6 { background: #c1652f; }

/* Nature Series: colour = season, so the colour carries meaning (Karen asked for
   coloured tabs). Brochures are a different, in-field format, so they get a single
   neutral outline style instead of competing colours. */
.s-spring { --season: #3f7d4f; --season-ink: #fff; }
.s-summer { --season: #f2a93b; --season-ink: var(--navy-dark); }
.s-autumn { --season: #b5541f; --season-ink: #fff; }
.s-winter { --season: #143f63; --season-ink: #fff; }
.s-year   { --season: #5b9bd5; --season-ink: var(--navy-dark); }

.season-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #35464f;
}
.season-legend li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--season);
  margin-right: 0.45rem;
  vertical-align: -2px;
}

.series-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 0.85rem;
}

.series-tab {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  background: #fff;
  border-radius: 12px;
  border-left: 6px solid var(--season);
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  box-shadow: 0 4px 12px rgba(20, 63, 99, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.series-tab:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20, 63, 99, 0.16); }
.series-tab .num {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.6rem;
  border-radius: 8px;
  background: var(--season);
  color: var(--season-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.series-tab .title { font-weight: 700; color: var(--navy); line-height: 1.3; }
.series-tab .season {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d6d78;
}

.resource-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 0.75rem;
}
.resource-link {
  display: block;
  padding: 0.85rem 1.1rem;
  border: 2px solid #cfdbe5;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.resource-link:hover { border-color: var(--navy); background: #f3f7fb; }
.resource-link.external { color: var(--gold-text); }

.trail-length {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--sky-blue);
  color: var(--navy-dark);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.poster-image {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(20, 63, 99, 0.15);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(20, 63, 99, 0.1);
}

.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }

.form-row label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  border: 1px solid #cfd9e0;
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.35);
}

.contact-form .btn { border: none; cursor: pointer; width: 100%; }

/* ---------- Mobile ---------- */

@media (max-width: 1200px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(20, 63, 99, 0.15);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
  }

  .main-nav li { padding: 0 1.25rem; }

  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0.5rem;
  }

  .nav-cta { padding: 0.75rem 1.25rem; }
  .nav-cta a { display: block; text-align: center; }

  .hero { min-height: 90vh; }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  .content-grid.reverse .content-image { order: 0; }
}
