/* =============================================================================
   HEMZO — Global Styles & Design Tokens
   -----------------------------------------------------------------------------
   Sections:
   1. Design Tokens (CSS Custom Properties)
   2. Modern Reset & Base Elements
   3. Typography
   4. Layout Helpers (container, section, grid)
   5. Buttons & Links
   6. Navigation Bar
   7. Mobile Menu Overlay
   8. Footer
   9. Hero (Home + Inner)
   10. Home Page Sections (services, why, cta banner)
   11. About Page (story, pillars, values)
   12. Team Page (founders, grid, join cta)
   13. Contact Page (info cards, form, map)
   14. Legal Pages (privacy, terms)
   15. Utility & A11y
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (extracted from logo) */
  --gold:        #CBB387;
  --gold-light:  #D9C9A5;
  --gold-dark:   #A8905E;
  --charcoal:    #1A1A1A;
  --charcoal-2:  #242424;
  --off-white:   #FAF8F5;
  --white:       #FFFFFF;
  --warm-gray:   #6B6560;
  --light-gray:  #E8E4DF;

  /* ---- Semantic surface tokens (overridden by theme) ----
     These point to the "current" look.  Themes below re-point
     them so all dark/on-dark usage updates at once. */
  --surface-dark:        var(--charcoal);     /* hero, dark sections, footer, mobile menu, cta banner */
  --surface-dark-2:      var(--charcoal-2);   /* secondary dark surface (map placeholder) */
  --surface-dark-rgb:    26, 26, 26;          /* rgb of --surface-dark for rgba() use */
  --on-dark-heading:     var(--white);        /* headings on dark surfaces */
  --on-dark-body:        rgba(255, 255, 255, 0.78); /* body text on dark surfaces */
  --on-dark-muted:       rgba(255, 255, 255, 0.6);  /* breadcrumb/muted on dark */
  --on-dark-faint:       rgba(255, 255, 255, 0.08); /* hairline on dark (footer bottom) */
  --dark-border-soft:    rgba(203, 179, 135, 0.25); /* gold-tinted border on dark */
  --dark-border-social:  rgba(203, 179, 135, 0.35); /* social border on dark */
  --dark-overlay-bg:     rgba(26, 26, 26, 0.92);   /* password gate box bg */
  --shadow-color-rgb:    26, 26, 26;          /* rgb used in shadow rgba() */
  --nav-scrolled-bg-rgb: 250, 248, 245;        /* nav scrolled background (rgb) */
  --nav-scrolled-bg:     rgba(250, 248, 245, 0.88);
  --nav-scrolled-bg-solid: var(--off-white);  /* no-backdrop-filter fallback */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Modular type scale (1.25 ratio) */
  --fs-h1:    clamp(2.75rem, 5vw + 1rem, 4.5rem);   /* 72px @ max */
  --fs-h2:    clamp(2rem, 3vw + 1rem, 2.75rem);     /* 44px @ max */
  --fs-h3:    clamp(1.5rem, 1.5vw + 1rem, 1.875rem);/* 30px @ max */
  --fs-h4:    1.375rem;                              /* 22px */
  --fs-lead:  clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fs-body:  1rem;                                  /* 16px base */
  --fs-small: 0.875rem;
  --fs-xs:    0.75rem;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 880px;
  --nav-height: 76px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(var(--shadow-color-rgb), 0.06);
  --shadow-md: 0 10px 30px -10px rgba(var(--shadow-color-rgb), 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(var(--shadow-color-rgb), 0.28);
  --radius:    4px;
  --radius-lg: 10px;
  --transition-fast: 150ms ease-out;
  --transition:      300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------------------------------------------
   2. MODERN RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }

::selection { background: var(--gold); color: var(--charcoal); }

/* Focus indicators (a11y — gold outline) */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: 0.04em;
}
h2 {
  font-size: var(--fs-h2);
  letter-spacing: 0.05em;
}
h3 { font-size: var(--fs-h3); letter-spacing: 0.03em; }
h4 { font-size: var(--fs-h4); letter-spacing: 0.02em; }

p { line-height: 1.7; }

.lead { font-size: var(--fs-lead); font-weight: 300; color: var(--warm-gray); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}

.section-title { margin-bottom: var(--space-6); }

/* -----------------------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, var(--space-10));
}
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--space-8)); }
.section--dark   { background: var(--surface-dark); color: var(--on-dark-body); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark-heading); }
.section--light  { background: var(--off-white); }
.section--white  { background: var(--white); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.divider-gold {
  width: 60px; height: 2px;
  background: var(--gold);
  border: 0; margin-block: var(--space-4);
}
.divider-gold--center { margin-inline: auto; }

/* Geometric background pattern (logo-derived interlocking squares) */
.bg-pattern {
  position: relative;
}
.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23CBB387' stroke-width='1' opacity='0.08'%3E%3Crect x='6' y='6' width='30' height='68'/%3E%3Crect x='44' y='6' width='30' height='68'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.bg-pattern > * { position: relative; z-index: 1; }

/* -----------------------------------------------------------------------------
   5. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  min-height: 48px;
}
.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}
.btn--outline-light {
  background: transparent;
  color: var(--on-dark-heading);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: var(--space-5) var(--space-7); }

/* -----------------------------------------------------------------------------
   6. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
  background: var(--gold);
  color: var(--charcoal);
  padding: var(--space-2) var(--space-4);
  z-index: 2000;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: var(--space-2);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(var(--nav-scrolled-bg-rgb), 0);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: var(--nav-scrolled-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--light-gray);
}
/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .nav--scrolled { background: var(--nav-scrolled-bg-solid); }
}
.nav--transparent-on-home .nav { background: transparent; }

.nav__inner {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav__logo { display: flex; align-items: center; gap: var(--space-3); }
.nav__logo img {
  height: 64px; width: auto;
  filter: brightness(1.05);
}
/* On home page, when not scrolled, logo appears on charcoal — use light variant */
body.page-home:not(.nav-scrolled) .nav__logo img {
  filter: brightness(1.2) sepia(0.2) saturate(1.4) hue-rotate(-5deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-block: var(--space-2);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--gold-dark); }
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--gold-dark); }

body.page-home:not(.nav-scrolled) .nav__link { color: var(--on-dark-heading); }
body.page-home:not(.nav-scrolled) .nav__link:hover { color: var(--gold-light); }
body.page-home:not(.nav-scrolled) .nav__link[aria-current="page"] { color: var(--gold-light); }

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
.nav__toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--charcoal);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
body.page-home:not(.nav-scrolled) .nav__toggle span { background: var(--on-dark-heading); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* -----------------------------------------------------------------------------
   7. MOBILE MENU OVERLAY
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--surface-dark);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--on-dark-heading);
  letter-spacing: 0.08em;
  position: relative;
}
.mobile-menu__link:hover { color: var(--gold); }
.mobile-menu__link[aria-current="page"] { color: var(--gold); }
.mobile-menu__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -18px; top: 50%;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.mobile-menu__footer {
  color: var(--warm-gray);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
}
.mobile-menu__footer a { color: var(--gold); }

/* -----------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--surface-dark);
  color: var(--on-dark-heading);
  padding-top: var(--space-9);
  border-top: 1px solid var(--dark-border-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-7); }
}
.footer__col h4 {
  color: var(--gold);
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer__logo {
  height: 48px; width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(1.2) sepia(0.15) saturate(1.4) hue-rotate(-5deg);
}
.footer__tagline { color: var(--light-gray); max-width: 32ch; font-size: var(--fs-small); line-height: 1.6; margin-bottom: var(--space-3); }
.footer__reg { color: var(--warm-gray); font-size: var(--fs-xs); letter-spacing: 0.1em; }

.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { color: var(--light-gray); font-size: var(--fs-small); }
.footer__links a:hover { color: var(--gold); }

.footer__contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__contact li { font-size: var(--fs-small); color: var(--light-gray); }
.footer__contact a { color: var(--light-gray); }
.footer__contact a:hover { color: var(--gold); }

.footer__social { display: flex; gap: var(--space-4); margin-top: var(--space-5); }
.footer__social a {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--dark-border-social);
  border-radius: 50%;
  color: var(--gold-light);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--on-dark-faint);
  padding-block: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--warm-gray);
  letter-spacing: 0.05em;
}
.footer__bottom-links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__bottom-links a { color: var(--warm-gray); }
.footer__bottom-links a:hover { color: var(--gold); }

/* -----------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-dark);
  overflow: hidden;
}
.hero--inner { min-height: 56vh; }
.hero__pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23CBB387' stroke-width='1' opacity='0.06'%3E%3Crect x='8' y='8' width='46' height='104'/%3E%3Crect x='66' y='8' width='46' height='104'/%3E%3Cline x1='54' y1='60' x2='66' y2='60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(203, 179, 135, 0.18) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-5) var(--space-9);
  max-width: 900px;
}
.hero__logo {
  width: 220px;
  margin: 0 auto var(--space-7);
  filter: brightness(1.25) sepia(0.18) saturate(1.5) hue-rotate(-5deg);
  opacity: 0;
}
.hero__title {
  color: var(--gold);
  margin-bottom: var(--space-5);
  opacity: 0;
}
.hero__subtitle {
  color: var(--on-dark-body);
  font-weight: 300;
  font-size: var(--fs-lead);
  max-width: 620px;
  margin: 0 auto var(--space-7);
  opacity: 0;
}
.hero__cta { opacity: 0; }
.hero--inner .hero__content { padding-bottom: var(--space-8); }
.hero--inner .hero__title { font-size: clamp(2.25rem, 4vw, 3.25rem); }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin-top: var(--space-5);
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  letter-spacing: 0.1em;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--warm-gray); }

/* -----------------------------------------------------------------------------
   10. HOME PAGE SECTIONS
   -------------------------------------------------------------------------- */
/* Services */
.services__head { text-align: center; margin-bottom: var(--space-8); }
.service-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.service-card h3 { margin-bottom: var(--space-3); }
.service-card p { color: var(--warm-gray); font-size: var(--fs-small); }

/* Why HEMZO */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 860px) { .why { grid-template-columns: 1fr; gap: var(--space-7); } }
.why__stats { display: flex; flex-direction: column; gap: var(--space-7); }
.stat { border-left: 2px solid var(--gold); padding-left: var(--space-5); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat__label { color: var(--light-gray); font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; margin-top: var(--space-2); }
.why__copy h2 { margin-bottom: var(--space-5); }
.why__copy p { color: var(--on-dark-body); margin-bottom: var(--space-4); }

/* CTA banner */
.cta-banner {
  position: relative;
  background: var(--surface-dark);
  color: var(--on-dark-heading);
  text-align: center;
  overflow: hidden;
}
.cta-banner__pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23CBB387' stroke-width='1' opacity='0.07'%3E%3Crect x='6' y='6' width='38' height='88'/%3E%3Crect x='56' y='6' width='38' height='88'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--gold); margin-bottom: var(--space-6); max-width: 18ch; margin-inline: auto; }
.cta-banner__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* -----------------------------------------------------------------------------
   11. ABOUT PAGE
   -------------------------------------------------------------------------- */
.story { max-width: 760px; margin-inline: auto; }
.story p { margin-bottom: var(--space-5); color: var(--warm-gray); }
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-6);
  margin-block: var(--space-7);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Pillars (accordion) */
.pillars { max-width: 920px; margin-inline: auto; }
.pillar {
  border-bottom: 1px solid var(--light-gray);
}
.pillar__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--space-5) 0;
  text-align: left;
  cursor: pointer;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pillar__icon {
  width: 36px; height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}
.pillar__chevron { margin-left: auto; width: 20px; height: 20px; color: var(--gold); transition: transform var(--transition); }
.pillar.is-open .pillar__chevron { transform: rotate(180deg); }
.pillar__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.pillar__body-inner { padding-bottom: var(--space-5); color: var(--warm-gray); }

/* Values */
.values__head { text-align: center; margin-bottom: var(--space-8); }
.value-card {
  background: var(--white);
  padding: var(--space-6);
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
  height: 100%;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.value-card__icon { width: 40px; height: 40px; color: var(--gold); margin: 0 auto var(--space-4); }
.value-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.value-card p { color: var(--warm-gray); font-size: var(--fs-small); }

/* -----------------------------------------------------------------------------
   12. TEAM PAGE
   -------------------------------------------------------------------------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-7); }
@media (max-width: 720px) { .founders { grid-template-columns: 1fr; } }
.founder-card {
  background: var(--white);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.founder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--gold);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.avatar--lg { width: 140px; height: 140px; font-size: 2.5rem; }
.founder-card h3 { margin-bottom: var(--space-1); }
.founder-card__role { color: var(--gold-dark); font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-4); }
.founder-card__bio { color: var(--warm-gray); font-size: var(--fs-small); margin-bottom: var(--space-4); }
.founder-card__social a { color: var(--gold-dark); display: inline-flex; gap: var(--space-2); align-items: center; font-size: var(--fs-small); }
.founder-card__social a:hover { color: var(--gold); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.team-card .avatar { width: 90px; height: 90px; font-size: 1.5rem; }
.team-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-1); }
.team-card__role { color: var(--gold-dark); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-2); }
.team-card__spec { color: var(--warm-gray); font-size: var(--fs-small); }

.join-cta { text-align: center; }
.join-cta h2 { margin-bottom: var(--space-4); }
.join-cta p { color: var(--warm-gray); max-width: 50ch; margin: 0 auto var(--space-6); }

/* -----------------------------------------------------------------------------
   13. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-dark);
  overflow: hidden;
}
.contact-hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.contact-hero__shapes svg {
  position: absolute;
  opacity: 0.12;
}
.contact-hero__content { position: relative; z-index: 1; padding: calc(var(--nav-height) + var(--space-8)) var(--space-5) var(--space-8); max-width: 760px; }
.contact-hero__title { color: var(--gold); margin-bottom: var(--space-4); }
.contact-hero__subtitle { color: var(--on-dark-body); font-size: var(--fs-lead); font-weight: 300; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.contact-card__icon { width: 44px; height: 44px; color: var(--gold); margin: 0 auto var(--space-4); }
.contact-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.contact-card p { color: var(--warm-gray); font-size: var(--fs-small); }
.contact-card a { color: var(--gold-dark); font-weight: 500; }
.contact-card a:hover { color: var(--gold); }

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 860px) { .contact-form-wrap { grid-template-columns: 1fr; } }
.form-info h2 { margin-bottom: var(--space-4); }
.form-info p { color: var(--warm-gray); margin-bottom: var(--space-5); }

.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.field .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(203, 179, 135, 0.2);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea {
  border-color: #c0392b;
  background: #fdf6f5;
}
.field__error {
  color: #c0392b;
  font-size: var(--fs-xs);
  display: none;
}
.field--error .field__error { display: block; }

.consent { display: flex; gap: var(--space-3); align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); }
.consent label { font-size: var(--fs-small); color: var(--warm-gray); font-weight: 400; }
.consent a { color: var(--gold-dark); text-decoration: underline; }

.form__status {
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  display: none;
}
.form__status.is-success { display: block; background: #f0f7f0; color: #2d6a2d; border: 1px solid #b6d6b6; }
.form__status.is-error { display: block; background: #fdf6f5; color: #c0392b; border: 1px solid #e8c5c0; }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(var(--shadow-color-rgb), 0.3);
  border-top-color: var(--charcoal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Map placeholder */
.map-placeholder {
  margin-top: var(--space-8);
  background: var(--surface-dark-2);
  color: var(--light-gray);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(203,179,135,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203,179,135,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--gold); position: relative; z-index: 1; }
.map-placeholder p { position: relative; z-index: 1; font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }

/* -----------------------------------------------------------------------------
   14. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal__header { margin-bottom: var(--space-7); }
.legal__header .eyebrow { margin-bottom: var(--space-3); }
.legal__updated { color: var(--warm-gray); font-size: var(--fs-small); margin-top: var(--space-2); }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
}
.legal h3 { font-size: var(--fs-h4); margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal p, .legal li { color: var(--warm-gray); margin-bottom: var(--space-3); }
.legal ul, .legal ol { padding-left: var(--space-5); margin-bottom: var(--space-4); }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--gold-dark); text-decoration: underline; }
.legal strong { color: var(--charcoal); font-weight: 600; }
.legal__contact {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: var(--space-5);
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  color: var(--warm-gray);
}
.legal__contact strong { display: block; margin-bottom: var(--space-2); color: var(--charcoal); }

/* -----------------------------------------------------------------------------
   15. UTILITY & A11y
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.no-scroll { overflow: hidden; }