:root {
  --cream: #f5f0e8;
  --cream-d: #ede5d6;
  --navy: #1a1a2e;
  --navy-mid: #2e2e48;
  --teal: #2a7a6f;
  --teal-deep: #1e5c53;
  --coral: #2A3A2A;
  --text: #2c2c3a;
  --muted: #787784;
  --white: #ffffff;
  --border: #ddd6c8;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

/* Nav styles handled by site-nav.css */

/* ── Back button ── */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  opacity: 0.65;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin: 1.25rem 5% 0;
  display: inline-flex;
  background: rgba(255,252,248,0.8);
  transition: opacity 0.2s, box-shadow 0.2s;
}
.back-button:hover {
  opacity: 1;
  box-shadow: 0 2px 10px rgba(26,26,46,0.07);
}

/* ── Glow animation ── */
@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42,122,111,0.32); }
  50%       { box-shadow: 0 0 14px 5px rgba(42,122,111,0.14); }
}
.btn-primary {
  animation: btn-glow-pulse 2.8s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
  box-shadow: 0 4px 18px rgba(42,122,111,0.38);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-outline {
  border-color: rgba(26, 26, 46, 0.18);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--navy);
}

.hero-split,
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.page-hero {
  padding: 5.5rem 5% 4rem;
}

.hero-media {
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(26, 26, 46, 0.12);
}
.hero-media img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.headline {
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.headline em,
.section-title em,
.page-band h3 em,
.directory-feature-title em,
.quiz-question em,
.quiz-result-title em {
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}

.lead {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.82;
  color: var(--muted);
}

.hero-points,
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.45rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.hero-points li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--navy);
}

.hero-points svg,
.check-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--teal);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.page-section {
  padding: 0 5% 5.25rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.section-sub {
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--muted);
}

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  gap: 1rem;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.placeholder-card,
.band-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(26, 26, 46, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 122, 111, 0.22);
  box-shadow: 0 24px 40px rgba(26, 26, 46, 0.08);
}

.info-card-kicker,
.placeholder-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.info-card h3,
.placeholder-card h3 {
  font-size: 1.45rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.info-card p,
.placeholder-card p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-band {
  margin: 0 5% 5.25rem;
  padding: 2rem;
  border: 1px solid rgba(42, 122, 111, 0.14);
  border-radius: 10px;
  background: rgba(42, 122, 111, 0.06);
}

.page-band h3 {
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.page-band p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.page-band .cta-row {
  margin-top: 1.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.placeholder-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.08), rgba(10, 16, 30, 0.22)),
    linear-gradient(140deg, rgba(42, 122, 111, 0.18), rgba(26, 26, 46, 0.1));
}

.placeholder-card p {
  color: rgba(26, 26, 46, 0.72);
}

.band-note {
  margin-top: 0.95rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.simple-footer {
  padding: 2rem 5% 3.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.simple-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.simple-footer-links a {
  font-size: 0.84rem;
  color: rgba(44, 44, 58, 0.72);
}

.simple-footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.directory-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(26, 26, 46, 0.06);
}

.directory-card-kicker,
.quiz-eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.directory-card-title {
  font-size: 1.6rem;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  .info-card,
  .placeholder-card,
  .band-card {
    transition: none;
  }

  .info-card:hover {
    transform: none;
  }
}

.directory-card p,
.directory-card li,
.directory-side-note,
.quiz-intro,
.quiz-result-copy,
.quiz-result-note {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
}

.directory-tags,
.quiz-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.directory-tag,
.quiz-result-tag {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(245, 240, 232, 0.72);
  font-size: 0.76rem;
  color: var(--navy);
}

.directory-meta {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(221, 214, 200, 0.9);
}

.directory-meta strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.directory-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.directory-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.directory-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--teal);
}

.directory-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  margin: 0 5% 5.25rem;
  padding: 1.7rem;
  border: 1px solid rgba(42, 122, 111, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(42, 122, 111, 0.06), rgba(255, 255, 255, 0.94));
}

.directory-feature-panel {
  padding: 0.4rem 0;
}

.directory-feature-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.directory-feature-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.directory-feature-card h3 {
  font-size: 1.45rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.directory-side-note {
  margin-top: 1rem;
}

.quiz-shell {
  max-width: 960px;
  margin: 0 auto 5.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(26, 26, 46, 0.08);
}

.quiz-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.quiz-progress-step {
  height: 4px;
  border-radius: 999px;
  background: rgba(42, 122, 111, 0.12);
  transition: background 0.2s ease;
}

.quiz-progress-step.is-active,
.quiz-progress-step.is-complete {
  background: var(--teal);
}

.quiz-panel {
  display: none;
}

.quiz-panel.is-active {
  display: block;
}

.quiz-question {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.quiz-option {
  position: relative;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-choice {
  display: block;
  min-height: 158px;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.quiz-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 122, 111, 0.26);
  box-shadow: 0 14px 30px rgba(26, 26, 46, 0.06);
}

.quiz-option input:checked + .quiz-choice {
  border-color: rgba(42, 122, 111, 0.42);
  background: rgba(42, 122, 111, 0.06);
  box-shadow: 0 14px 30px rgba(26, 26, 46, 0.06);
}

.quiz-choice-title {
  display: block;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.quiz-choice-copy {
  display: block;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.quiz-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.quiz-step-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.quiz-result {
  display: none;
}

.quiz-result.is-visible {
  display: block;
}

.quiz-result-card {
  padding: 1.5rem;
  border: 1px solid rgba(42, 122, 111, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(42, 122, 111, 0.06), rgba(255, 255, 255, 0.98));
}

.quiz-result-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.quiz-result-copy {
  max-width: 720px;
}

.quiz-result-note {
  margin-top: 1.05rem;
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

@media (max-width: 1120px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .hero-split,
  .content-split,
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
  }

  .directory-feature,
  .quiz-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sub-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .sub-nav-links {
    gap: 0.85rem;
  }

  .page-hero {
    padding-top: 4rem;
  }

  .headline {
    font-size: 2.6rem;
  }

  .cards-4,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-band {
    margin-left: 5%;
    margin-right: 5%;
    padding: 1.5rem;
  }

  .quiz-shell {
    padding: 1.25rem;
  }

  .quiz-progress {
    gap: 0.45rem;
  }

  .quiz-actions,
  .quiz-result-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.gallery-photo-card {
  border-radius: 10px;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.07);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.gallery-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(transparent, rgba(10, 16, 30, 0.65));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
