/* ============================================================
   MATTERHORN COLLECTIVE
   Design system — built on the Sherpa Equipment Co. brand package
   (type hierarchy, warm-neutral palette, confined rounded tiles)
   with Matterhorn Collective green as the parent identity.
   ============================================================ */

/* ------------------------------------------------------------
   BRAND FONTS
   The Sherpa package specifies:
     • Peckham Press  → headlines & titles      (commercial)
     • Revelstoke     → secondary subheadings    (commercial)
     • IBM Plex Sans  → body copy                (open source ✓)
     • Boyrun         → handwritten interjections (commercial)
   IBM Plex Sans, Anton, Oswald and Caveat load from Google Fonts.
   Anton / Oswald / Caveat stand in for the three commercial faces
   until the licensed web-font files are dropped into /assets/fonts
   and the @font-face blocks below are uncommented.
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Peckham Press';
  src: url('assets/fonts/PeckhamPress.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Revelstoke';
  src: url('assets/fonts/Revelstoke-Regular.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Revelstoke';
  src: url('assets/fonts/Revelstoke-Bold.woff2') format('woff2');
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boyrun';
  src: url('assets/fonts/Boyrun.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Matterhorn Collective greens */
  --pine:        #314e46;   /* MC dark green — from the logo */
  --pine-deep:   #28413a;
  --pine-800:    #1f332d;
  --viridian:    #568565;   /* Sherpa "Viridian" */
  --sage:        #82997d;   /* Sherpa "Cambridge Blue" */
  --sage-soft:   #a7b8a1;
  --sage-tint:   #cdd6c8;

  /* warm neutrals — tuned to the MHC investment deck */
  --alabaster:   #f6f5f1;   /* primary paper background */
  --paper:       #fbfaf7;   /* lighter surface */
  --mist:        #e7eae2;   /* pale sage-gray tile / hairline */
  --white:       #ffffff;
  --dutch:       #e0d7ac;   /* warm tan accent */
  --taupe:       #4c4540;   /* muted body text */
  --ink:         #1a1a1a;   /* Eerie Black */
  --cinnabar:    #cf4f2b;   /* Sherpa highlight — subsidiary cards only */

  --line:        rgba(26, 26, 26, 0.12);
  --line-light:  rgba(235, 236, 230, 0.16);

  /* type roles */
  --font-head:  'Peckham Press', 'Anton', -apple-system, sans-serif;
  --font-cond:  'Revelstoke', 'Oswald', -apple-system, sans-serif;
  --font-body:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script:'Boyrun', 'Caveat', cursive;

  --wrap: 1200px;
  --radius: 14px;      /* "slight rounding" on confined tiles */
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(31, 51, 45, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(31, 51, 45, 0.30);
  --shadow-lg: 0 40px 80px -30px rgba(31, 51, 45, 0.38);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--alabaster);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(72px, 11vw, 138px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--viridian);
  margin: 0 0 20px;
}
.eyebrow-dark { color: var(--pine); }
.hl { color: var(--viridian); }   /* tonal one-word highlight */

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.0;
  color: var(--pine);
  max-width: 20ch;
}
.section-title.light { color: var(--alabaster); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-intro {
  margin-top: 22px;
  font-size: 1.14rem;
  color: var(--taupe);
  max-width: 58ch;
}

.script-note {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--viridian);
  line-height: 1;
}

/* ---------- Buttons (confined tiles, condensed caps) ---------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--pine-deep); border-color: var(--pine-deep); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--pine);
  border-color: rgba(49, 78, 70, 0.4);
}
.btn-ghost:hover { background: var(--pine); color: #fff; transform: translateY(-2px); border-color: var(--pine); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(235, 236, 230, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  transition: padding 0.3s var(--ease);
}
.site-header.scrolled .header-inner { padding-block: 10px; }

/* brand lockup: real MC badge + condensed wordmark */
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; }
.brand-badge { display: block; height: 52px; width: auto; flex: none; transition: height 0.3s var(--ease); }
.site-header.scrolled .brand-badge { height: 46px; }

.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.bw-1 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.bw-2 {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--viridian);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--viridian);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.site-nav a:not(.nav-cta):hover { color: var(--pine); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--pine);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--pine-deep); transform: translateY(-1px); }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.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); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px clamp(20px, 5vw, 48px) 22px;
  background: rgba(235, 236, 230, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 1.14rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(130, 153, 125, 0.30), transparent 55%),
    radial-gradient(100% 80% at 8% 10%, rgba(130, 153, 125, 0.15), transparent 60%),
    var(--alabaster);
  padding-top: clamp(56px, 9vw, 104px);
  padding-bottom: clamp(180px, 22vw, 300px);
}
.hero-topo {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23314e46' stroke-width='1' opacity='0.5'%3E%3Cpath d='M-100 400 Q200 250 400 400 T900 400'/%3E%3Cpath d='M-100 460 Q200 320 400 460 T900 460'/%3E%3Cpath d='M-100 520 Q200 390 400 520 T900 520'/%3E%3Cpath d='M-100 340 Q200 190 400 340 T900 340'/%3E%3Cpath d='M-100 280 Q200 130 400 280 T900 280'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hero .eyebrow { color: var(--pine); }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  letter-spacing: 0.01em;
  line-height: 0.9;
  margin: 0 auto;
  max-width: 15ch;
  color: var(--pine);
}
.hero-sub {
  margin: 16px auto 0;
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  letter-spacing: 0.06em;
  color: var(--pine);
}
.hero-lead {
  margin: 26px auto 0;
  max-width: 60ch;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--taupe);
}
.hero-note {
  margin: 20px auto 0;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--cinnabar);
  transform: rotate(-2deg);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ridge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  line-height: 0;
}
.ridge svg { width: 100%; height: clamp(150px, 20vw, 260px); display: block; }
.ridge-3 { fill: var(--sage-tint); }
.ridge-2 { fill: var(--sage-soft); }
.ridge-1 { fill: var(--sage); }

/* ============================================================
   THE COLLECTIVE
   ============================================================ */
.collective { background: var(--alabaster); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.collective-body p { font-size: 1.16rem; color: var(--taupe); margin-bottom: 20px; }
.collective-body p:first-child { color: var(--ink); font-size: 1.28rem; line-height: 1.5; }

.facts-wrap {
  position: relative;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.collective-facts {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.collective-facts li { display: flex; flex-direction: column; }
.collective-facts strong {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  color: var(--pine);
  line-height: 1;
}
.collective-facts span {
  margin-top: 10px;
  font-family: var(--font-cond);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.collective-script {
  display: inline-block;
  margin-top: 22px;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* ============================================================
   COMPANIES
   ============================================================ */
.companies { background: var(--paper); border-top: 1px solid var(--line); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 26px);
}
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 3;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.brand-card:hover::before { transform: scaleX(1); }

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 132px;
  padding: 38px 40px 26px;
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    var(--alabaster);
  border-bottom: 1px solid var(--line);
}
.brand-logo img { max-height: 60px; width: auto; max-width: 80%; object-fit: contain; }

.brand-meta { padding: 26px 40px 34px; display: flex; flex-direction: column; flex: 1; }
.brand-tag {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.brand-meta h3 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--pine);
  margin-bottom: 12px;
}
.brand-meta p { color: var(--taupe); font-size: 1rem; margin-bottom: 22px; }
.brand-link {
  margin-top: auto;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-link span { transition: transform 0.3s var(--ease); display: inline-block; }
.brand-card:hover .brand-link span { transform: translateX(5px); }

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(130, 153, 125, 0.18), transparent 55%),
    var(--pine);
  color: var(--alabaster);
  position: relative;
}
.approach .eyebrow { color: var(--sage-soft); }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.pillar { padding-top: 26px; border-top: 2px solid rgba(167, 184, 161, 0.34); }
.pillar-num {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1rem;
  color: var(--sage-soft);
  letter-spacing: 0.14em;
}
.pillar h3 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.42rem;
  color: var(--alabaster);
  margin: 14px 0 12px;
}
.pillar p { color: rgba(235, 236, 230, 0.78); font-size: 1rem; }

/* torn / deckle paper edge — MHC deck motif */
.approach::before,.approach::after{content:"";position:absolute;left:0;right:0;height:34px;z-index:2;pointer-events:none;background-repeat:no-repeat;background-size:100% 100%;}
.approach::before{top:-1px;background-image:url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2034'%20preserveAspectRatio='none'><path%20d='M0,0%20L1440,0%20L1440,22.8%20L1440,22.8%20L1424,19.7%20L1408,13.8%20L1392,14.1%20L1376,24.4%20L1360,24.1%20L1344,24.4%20L1328,14.6%20L1312,7.1%20L1296,18.2%20L1280,21.4%20L1264,22.3%20L1248,24.8%20L1232,14.1%20L1216,21.9%20L1200,21.8%20L1184,16.1%20L1168,20.7%20L1152,24.7%20L1136,19.2%20L1120,18.4%20L1104,22.1%20L1088,14.7%20L1072,9.1%20L1056,17.5%20L1040,22.9%20L1024,16.1%20L1008,14.5%20L992,19.6%20L976,11.4%20L960,12.4%20L944,4.9%20L928,13.3%20L912,6.2%20L896,19.2%20L880,22.2%20L864,21.9%20L848,28.3%20L832,18.2%20L816,24.3%20L800,16.2%20L784,11.1%20L768,19.2%20L752,14.3%20L736,13.5%20L720,24.4%20L704,16%20L688,14.9%20L672,22.5%20L656,18.7%20L640,22.2%20L624,14.5%20L608,21.8%20L592,4.7%20L576,11.3%20L560,16.4%20L544,22.5%20L528,20.1%20L512,11.8%20L496,17.6%20L480,22.8%20L464,19.1%20L448,20.7%20L432,23.3%20L416,21.7%20L400,21.1%20L384,21.6%20L368,23.1%20L352,21.2%20L336,18.4%20L320,14.4%20L304,22.1%20L288,17.3%20L272,15.4%20L256,20.5%20L240,6.1%20L224,16.2%20L208,19.1%20L192,22.4%20L176,12.6%20L160,15.1%20L144,11.7%20L128,16.6%20L112,24.3%20L96,14.1%20L80,22.6%20L64,10.5%20L48,11.5%20L32,16.3%20L16,20.8%20L0,15.5%20Z'%20fill='%23fbfaf7'/></svg>");}
.approach::after{bottom:-1px;background-image:url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%2034'%20preserveAspectRatio='none'><path%20d='M0,34%20L1440,34%20L1440,15.1%20L1440,15.1%20L1424,10.5%20L1408,15.6%20L1392,16.7%20L1376,9.2%20L1360,9%20L1344,16%20L1328,19.6%20L1312,13.4%20L1296,9.7%20L1280,10.5%20L1264,16.4%20L1248,12.8%20L1232,16.7%20L1216,15.4%20L1200,9.9%20L1184,10.2%20L1168,17.9%20L1152,23.5%20L1136,13.9%20L1120,17%20L1104,11.1%20L1088,20.5%20L1072,14.9%20L1056,12.8%20L1040,9.6%20L1024,10.5%20L1008,20%20L992,9.9%20L976,17.7%20L960,11.9%20L944,20.2%20L928,11.7%20L912,16.2%20L896,11.3%20L880,22.9%20L864,14.6%20L848,12.1%20L832,21.4%20L816,18.2%20L800,11.2%20L784,20%20L768,10%20L752,10%20L736,10.7%20L720,20.8%20L704,16.8%20L688,22.2%20L672,18.8%20L656,15.7%20L640,15.3%20L624,16.2%20L608,17.6%20L592,21.8%20L576,16.9%20L560,19.8%20L544,12.5%20L528,10.5%20L512,16.8%20L496,13.6%20L480,19.2%20L464,11.4%20L448,17.4%20L432,9.3%20L416,16.4%20L400,21.8%20L384,21.7%20L368,15.4%20L352,21.7%20L336,14.9%20L320,17.2%20L304,13.1%20L288,12%20L272,21.2%20L256,22.1%20L240,18.1%20L224,20.1%20L208,13.9%20L192,22.7%20L176,11%20L160,21.7%20L144,10.8%20L128,19.1%20L112,14.6%20L96,22.6%20L80,13.7%20L64,11.5%20L48,19.5%20L32,21.7%20L16,10.2%20L0,18.1%20Z'%20fill='%23f6f5f1'/></svg>");}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--alabaster); text-align: center; }
.contact-inner { max-width: 720px; margin-inline: auto; }
.contact-lead {
  margin: 22px auto 34px;
  font-size: 1.18rem;
  color: var(--taupe);
  max-width: 54ch;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-loc {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.loc-pin { fill: var(--viridian); flex: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--pine-800); color: var(--sage-soft); padding-block: clamp(56px, 8vw, 84px) 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-badge { height: 66px; width: auto; flex: none; }
.footer-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alabaster);
}
.footer-tag { color: var(--sage); font-size: 1rem; margin-top: 6px; max-width: 32ch; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 6px;
}
.footer-links a { color: var(--alabaster); opacity: 0.82; font-size: 1rem; transition: opacity 0.2s, color 0.2s; width: fit-content; }
.footer-links a:hover { opacity: 1; color: #fff; }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--font-cond);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.brand-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
.brand-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.brand-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }
.pillars .reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
.pillars .reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.pillars .reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 680px) {
  .brand-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .collective-facts { gap: 20px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
