/* =========================================================
   HIGH-FIVE ADVENTURES — Master Stylesheet
   Brand: Red, Black, White with Yellow accents
   Typography: Fraunces (display) + Manrope (body)
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --hfa-red: #D7263D;
  --hfa-red-deep: #A91D32;
  --hfa-red-soft: #F4DCE0;
  --hfa-black: #0F0F0F;
  --hfa-charcoal: #2A2A2A;
  --hfa-cream: #FAF7F2;
  --hfa-stone: #E8E2D8;
  --hfa-stone-deep: #C9C0B2;
  --hfa-yellow: #F4B41A;
  --hfa-yellow-soft: #FCE9B5;
  --hfa-white: #FFFFFF;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 15, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 15, 15, 0.12);
  --shadow-red: 0 16px 32px rgba(215, 38, 61, 0.18);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--hfa-charcoal);
  background: var(--hfa-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--hfa-red); text-decoration: none; }
a:hover { color: var(--hfa-red-deep); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--hfa-black);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-4) 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hfa-red);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--hfa-red);
  display: inline-block;
}

p { margin: 0 0 var(--space-4) 0; max-width: 65ch; }
.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--hfa-charcoal);
  font-weight: 400;
}
.italic-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
section { padding: var(--space-24) 0; }
@media (max-width: 768px) { section { padding: var(--space-16) 0; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--hfa-red);
  color: var(--hfa-white);
}
.btn-primary:hover {
  background: var(--hfa-red-deep);
  color: var(--hfa-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-dark {
  background: var(--hfa-black);
  color: var(--hfa-white);
}
.btn-dark:hover {
  background: var(--hfa-charcoal);
  color: var(--hfa-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--hfa-black);
  border-color: var(--hfa-black);
}
.btn-outline:hover {
  background: var(--hfa-black);
  color: var(--hfa-white);
}
.btn-arrow::after {
  content: "→";
  font-weight: 400;
  transition: transform 0.25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.06);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hfa-black);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--hfa-charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--hfa-red); }
.nav-cta { margin-left: var(--space-4); }
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--hfa-black);
  padding: var(--space-2);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hfa-cream);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid rgba(15, 15, 15, 0.06);
  }
  .nav-links.open .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-32) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hfa-red);
  margin-bottom: var(--space-6);
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hfa-red);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  margin-bottom: var(--space-6);
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--hfa-red-deep);
  margin-bottom: var(--space-8);
  font-weight: 400;
  border-left: 3px solid var(--hfa-red);
  padding-left: var(--space-4);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(15, 15, 15, 0.1);
}
.hero-credentials .item {
  display: flex;
  flex-direction: column;
}
.hero-credentials .item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hfa-red);
  margin-bottom: 2px;
}
.hero-credentials .item-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--hfa-black);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--hfa-red) 0%, var(--hfa-red-deep) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(244, 180, 26, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
}
.hero-visual-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  text-align: center;
  color: var(--hfa-white);
}
.hero-visual h3 {
  color: var(--hfa-white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--space-4);
}
.hero-visual p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.hero-visual .icon-mark {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .icon-mark img {
  width: 100%;
  opacity: 0.95;
}
.hero-visual .floating-badge {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--hfa-yellow);
  color: var(--hfa-black);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
}

@media (max-width: 900px) {
  .hero { padding: var(--space-16) 0; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-visual { aspect-ratio: auto; max-height: none; min-height: 380px; }
  .hero-visual-inner { padding: var(--space-8) var(--space-6); }
  .hero-visual h3 { font-size: 1.6rem; }
  .hero-visual .icon-mark { width: 64px; height: 64px; margin-bottom: var(--space-4); }
  .hero-visual .floating-badge { display: none; }
}

/* ---------- SECTION HEADER ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16) auto;
}
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-left: auto; margin-right: auto; }

/* ---------- SPECIALTIES GRID ---------- */
.specialties {
  background: var(--hfa-white);
}
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}
.specialty-card {
  position: relative;
  padding: var(--space-8);
  background: var(--hfa-cream);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 15, 15, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}
.specialty-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--hfa-red), var(--hfa-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(215, 38, 61, 0.15);
}
.specialty-card:hover::after { transform: scaleX(1); }
.specialty-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-3);
}
.specialty-card p {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  margin: 0;
}
.specialty-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hfa-red-soft);
  color: var(--hfa-red);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}

/* ---------- VALUES SECTION ---------- */
.values {
  background: var(--hfa-black);
  color: var(--hfa-white);
}
.values h2 { color: var(--hfa-white); }
.values h2 em { color: var(--hfa-yellow); font-style: italic; font-weight: 400; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.value-item {
  position: relative;
  padding-top: var(--space-6);
  border-top: 2px solid var(--hfa-red);
}
.value-item .number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--hfa-yellow);
  margin-bottom: var(--space-3);
  font-weight: 400;
}
.value-item h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--hfa-white);
  margin-bottom: var(--space-3);
}
.value-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ---------- DIFFERENCE / TRUST ---------- */
.difference {
  background: var(--hfa-cream);
  position: relative;
}
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.difference-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.difference-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}
.difference-list li:last-child { border-bottom: none; }
.difference-list .check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hfa-red);
  color: var(--hfa-white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}
.difference-list h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--hfa-black);
  margin-bottom: 2px;
}
.difference-list p {
  font-size: 0.9rem;
  color: var(--hfa-charcoal);
  margin: 0;
}
.difference-visual {
  background: var(--hfa-white);
  border-radius: var(--radius-md);
  padding: var(--space-12);
  box-shadow: var(--shadow-md);
  position: relative;
}
.difference-visual h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-6);
}
.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed rgba(15, 15, 15, 0.12);
}
.credential-row:last-child { border-bottom: none; }
.credential-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--hfa-black);
  font-size: 1rem;
}
.credential-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hfa-red);
  background: var(--hfa-red-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  .difference-grid { grid-template-columns: 1fr; gap: var(--space-12); }
}

/* ---------- NEWSLETTER CTA ---------- */
.newsletter-cta {
  background: linear-gradient(135deg, var(--hfa-red) 0%, var(--hfa-red-deep) 100%);
  color: var(--hfa-white);
  position: relative;
  overflow: hidden;
}
.newsletter-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(244, 180, 26, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.newsletter-cta h2 { color: var(--hfa-white); margin-bottom: var(--space-4); }
.newsletter-cta h2 em { color: var(--hfa-yellow); font-style: italic; font-weight: 400; }
.newsletter-cta p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: var(--space-6); }
.newsletter-cta .btn-primary {
  background: var(--hfa-yellow);
  color: var(--hfa-black);
}
.newsletter-cta .btn-primary:hover {
  background: var(--hfa-white);
  color: var(--hfa-black);
}
.newsletter-perks {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
}
.newsletter-perks h4 {
  color: var(--hfa-white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}
.newsletter-perks ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.newsletter-perks li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}
.newsletter-perks li::before {
  content: "✦";
  color: var(--hfa-yellow);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--hfa-black);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-16) 0 var(--space-8) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand img { height: 50px; margin-bottom: var(--space-4); }
.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hfa-yellow);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--hfa-white); }
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- AGENT CARDS (Adventure Navigation Club) ---------- */
.club-hero {
  background: var(--hfa-black);
  color: var(--hfa-white);
  padding: var(--space-24) 0 var(--space-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.club-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(215, 38, 61, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(244, 180, 26, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.club-hero-inner { position: relative; }
.club-hero h1 {
  color: var(--hfa-white);
  margin-bottom: var(--space-4);
}
.club-hero h1 em {
  font-style: italic;
  color: var(--hfa-yellow);
  font-weight: 400;
}
.club-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}
.club-tier-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  font-size: 0.85rem;
}
.club-tier-key .tier-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
}
.club-tier-key .tier-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.club-tier-key .tier-pill.master::before { background: var(--hfa-yellow); }
.club-tier-key .tier-pill.navigator::before { background: var(--hfa-red); }
.club-tier-key .tier-pill.scout::before { background: var(--hfa-stone-deep); }
.club-tier-key .tier-pill.owner::before { background: var(--hfa-white); }

.agents-section { background: var(--hfa-cream); padding: var(--space-24) 0; }
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-8);
}
.agent-card {
  background: var(--hfa-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 15, 15, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(215, 38, 61, 0.2);
}
.agent-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--hfa-stone);
}
.agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.agent-card:hover .agent-photo img { transform: scale(1.04); }
.agent-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hfa-stone) 0%, var(--hfa-stone-deep) 100%);
  color: var(--hfa-charcoal);
  text-align: center;
  padding: var(--space-6);
}
.agent-photo-placeholder img {
  width: 80px;
  height: 80px;
  opacity: 0.4;
  margin-bottom: var(--space-3);
}
.agent-photo-placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
}
.agent-tier-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--hfa-white);
  color: var(--hfa-black);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.agent-tier-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.agent-tier-badge.master { background: var(--hfa-yellow); color: var(--hfa-black); }
.agent-tier-badge.master::before { background: var(--hfa-black); }
.agent-tier-badge.navigator::before { background: var(--hfa-red); }
.agent-tier-badge.scout::before { background: var(--hfa-stone-deep); }
.agent-tier-badge.owner { background: var(--hfa-black); color: var(--hfa-white); }
.agent-tier-badge.owner::before { background: var(--hfa-yellow); }

.agent-info {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.agent-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--hfa-black);
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
}
.agent-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hfa-red);
  margin-bottom: var(--space-4);
}
.agent-bio {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex: 1;
}
.agent-cta {
  margin-top: auto;
}
.agent-cta .btn { width: 100%; }

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  padding: var(--space-24) 0 var(--space-16) 0;
  background: var(--hfa-cream);
  position: relative;
}
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero h1 em { font-style: italic; color: var(--hfa-red); font-weight: 400; }
.page-hero p { font-size: 1.2rem; max-width: 720px; }

/* ---------- JOIN PAGE: TIER STRUCTURE ---------- */
.tier-section { background: var(--hfa-white); }
.commission-headline {
  text-align: center;
  margin-bottom: var(--space-16);
  padding: var(--space-8) 0;
}
.commission-headline .eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-6);
}
.commission-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--hfa-black);
  margin: 0;
}
.commission-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--hfa-red);
  display: block;
}
.commission-footnote {
  margin-top: var(--space-12);
  font-size: 0.85rem;
  color: var(--hfa-stone-deep);
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.tier-card {
  border: 2px solid rgba(15, 15, 15, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  background: var(--hfa-cream);
  transition: all 0.3s ease;
}
.tier-card.featured {
  border-color: var(--hfa-red);
  background: var(--hfa-white);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}
.tier-card .tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hfa-red);
  margin-bottom: var(--space-3);
}
.tier-card .tier-split {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--hfa-black);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.tier-card .tier-split sup { font-size: 1rem; font-weight: 400; vertical-align: super; }
.tier-card .tier-threshold {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}
.tier-card .tier-threshold strong { color: var(--hfa-black); }
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tier-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--hfa-charcoal);
  line-height: 1.5;
}
.tier-card li::before {
  content: "✓";
  color: var(--hfa-red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
}

/* ---------- JOIN PAGE: PERKS GRID ---------- */
.perks { background: var(--hfa-cream); }
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.perk {
  padding: var(--space-6);
  background: var(--hfa-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 15, 15, 0.06);
}
.perk h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--hfa-black);
  margin-bottom: var(--space-2);
}
.perk p {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  margin: 0;
}
.perk .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--hfa-red);
  color: var(--hfa-white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.perk-asterisk {
  color: var(--hfa-red);
  font-size: 0.85em;
  font-weight: 700;
  margin-left: 2px;
}
.perks-footnote {
  margin-top: var(--space-12);
  font-size: 0.85rem;
  color: var(--hfa-charcoal);
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.perks-footnote sup {
  color: var(--hfa-red);
  font-weight: 700;
  font-style: normal;
}

/* ---------- FORMS ---------- */
.form-section {
  background: var(--hfa-black);
  color: var(--hfa-white);
}
.form-section h2 { color: var(--hfa-white); }
.form-section h2 em { color: var(--hfa-yellow); font-style: italic; font-weight: 400; }
.form-section p { color: rgba(255, 255, 255, 0.85); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-12);
  align-items: start;
}
.form-intro h2 { margin-bottom: var(--space-6); }
.form-intro .form-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-intro .form-bullets li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.form-intro .form-bullets li::before {
  content: "→";
  color: var(--hfa-yellow);
  font-weight: 700;
}

.why-us-strip {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-8);
}
.why-us-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.why-us-list li {
  position: relative;
  padding-left: var(--space-6);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}
.why-us-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hfa-yellow);
  font-size: 0.9rem;
}
.why-us-list li strong {
  color: var(--hfa-white);
  font-weight: 600;
}

.form-card {
  background: var(--hfa-white);
  color: var(--hfa-charcoal);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}
.form-card .form-sub {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form-field { margin-bottom: var(--space-4); }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hfa-black);
  margin-bottom: var(--space-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--hfa-black);
  background: var(--hfa-cream);
  border: 1.5px solid rgba(15, 15, 15, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--hfa-red);
  background: var(--hfa-white);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; margin-top: var(--space-2); }
.form-card .form-fine {
  font-size: 0.8rem;
  color: var(--hfa-charcoal);
  text-align: center;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- ABOUT PAGE ---------- */
.story-section { background: var(--hfa-cream); padding: var(--space-24) 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}
.story-grid h2 { margin-bottom: var(--space-6); }
.story-grid h2 em { font-style: italic; color: var(--hfa-red); font-weight: 400; }
.story-grid p { font-size: 1.05rem; line-height: 1.7; }
.story-pullquote {
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  border-left: 4px solid var(--hfa-red);
  background: var(--hfa-white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--hfa-black);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-red { color: var(--hfa-red); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out backwards; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }

/* ---------- PARKS GALLERY (HOME) ---------- */
.parks-gallery { background: var(--hfa-cream); }
.parks-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
  height: 720px;
}
.park-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: default;
  background: var(--hfa-stone);
}
.park-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.park-card:hover img { transform: scale(1.06); }
.park-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 15, 15, 0.85) 100%);
  pointer-events: none;
}
.park-card .park-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
  color: var(--hfa-white);
}
.park-card .park-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hfa-yellow);
  margin-bottom: var(--space-2);
}
.park-card h3 {
  color: var(--hfa-white);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Featured (large) card */
.park-card.featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.park-card.featured h3 { font-size: 2.25rem; }
.park-card.featured .park-tag { font-size: 0.8rem; }

@media (max-width: 900px) {
  .parks-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .park-card { aspect-ratio: 4 / 5; }
  .park-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 11;
  }
  .park-card.featured h3 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .parks-grid { grid-template-columns: 1fr; }
  .park-card { aspect-ratio: 4 / 3; }
}

/* ---------- QUOTE MODAL ---------- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.quote-modal.open { display: flex; }
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeBackdrop 0.25s ease-out;
}
@keyframes fadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.quote-modal-card {
  position: relative;
  background: var(--hfa-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUpModal 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow: hidden;
}
@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.quote-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hfa-cream);
  color: var(--hfa-charcoal);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}
.quote-modal-close:hover {
  background: var(--hfa-red);
  color: var(--hfa-white);
  transform: rotate(90deg);
}
.quote-modal-body { padding: var(--space-12) var(--space-8) var(--space-8); }
.quote-modal-head { margin-bottom: var(--space-8); }
.quote-modal-head h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
  line-height: 1.15;
}
.quote-modal-head h2 span {
  font-style: italic;
  font-weight: 400;
  color: var(--hfa-red);
}
.quote-modal-head p {
  font-size: 0.95rem;
  color: var(--hfa-charcoal);
  margin: 0;
}

/* Modal form fields */
.quote-modal .form-field { margin-bottom: var(--space-5); }
.quote-modal .form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hfa-black);
  margin-bottom: var(--space-2);
}
.quote-modal .form-field label .optional,
.quote-modal .form-hint-inline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hfa-stone-deep);
  text-transform: none;
  margin-left: var(--space-1);
}
.quote-modal .form-field input[type="text"],
.quote-modal .form-field input[type="email"],
.quote-modal .form-field input[type="tel"],
.quote-modal .form-field input[type="date"],
.quote-modal .form-field input[type="number"],
.quote-modal .form-field select,
.quote-modal .form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--hfa-black);
  background: var(--hfa-cream);
  border: 1.5px solid rgba(15, 15, 15, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.quote-modal .form-field input:focus,
.quote-modal .form-field select:focus,
.quote-modal .form-field textarea:focus {
  outline: none;
  border-color: var(--hfa-red);
  background: var(--hfa-white);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.1);
}
.quote-modal .form-field textarea { resize: vertical; min-height: 100px; }
.quote-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.quote-modal .form-row .form-field { margin-bottom: 0; }
.quote-modal .form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--hfa-stone-deep);
  margin-top: var(--space-2);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.quote-modal .form-fine {
  font-size: 0.75rem;
  color: var(--hfa-stone-deep);
  text-align: center;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* Children's ages dynamic grid */
.children-ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--space-3);
}
.child-age-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hfa-charcoal);
  margin-bottom: var(--space-1);
}
.child-age-field input {
  text-align: center;
}

/* Budget slider */
.budget-display {
  float: right;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--hfa-red);
  text-transform: none;
  letter-spacing: 0;
}
.budget-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--hfa-stone);
  outline: none;
  margin: var(--space-2) 0 var(--space-1);
}
.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hfa-red);
  cursor: pointer;
  border: 3px solid var(--hfa-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.budget-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.budget-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hfa-red);
  cursor: pointer;
  border: 3px solid var(--hfa-white);
  box-shadow: var(--shadow-sm);
}
.budget-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--hfa-stone-deep);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

/* Success state */
.quote-modal-success {
  padding: var(--space-16) var(--space-8) var(--space-8);
  text-align: center;
}
.quote-modal-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: var(--hfa-red);
  color: var(--hfa-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  animation: popIn 0.4s cubic-bezier(0.2, 1.5, 0.4, 1);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.quote-modal-success h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  color: var(--hfa-black);
}
.quote-modal-success p {
  max-width: 440px;
  margin: 0 auto var(--space-8);
  font-size: 1rem;
  color: var(--hfa-charcoal);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .quote-modal { padding: 0; align-items: stretch; }
  .quote-modal-card {
    border-radius: 0;
    min-height: 100vh;
    max-width: none;
  }
  .quote-modal-body { padding: var(--space-12) var(--space-5) var(--space-6); }
  .quote-modal-head h2 { font-size: 1.4rem; }
  .quote-modal .form-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .children-ages-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-modal-success { padding: var(--space-16) var(--space-5); }
}
