/* =============================================================
   DESIGNER ROCKS — Fresh build (v2)
   Original CSS, modern editorial / industrial aesthetic.
   Floating pill header, bottom-aligned hero, drone video section.
   ============================================================= */

/* =============================
   1. RESET + DESIGN TOKENS
   ============================= */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

:root {
  --maroon: #800000;
  --maroon-dark: #5a0000;
  --maroon-light: #a13030;

  --cream: #f1ede4;
  --cream-soft: #f5f1e8;
  --cream-deep: #e9e4d8;
  --white: #ffffff;
  --ink: #16161a;
  --ink-rich: #0c0c0e;
  --ink-soft: #524f4b;
  --ink-muted: #7d7979;
  --line: #d8d3c6;
  --line-dark: rgba(255,255,255,0.12);

  --f-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', 'JetBrains Mono', Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur: 0.4s;
  --dur-slow: 0.8s;

  --container-max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-py: clamp(80px, 10vw, 140px);

  --header-inset: clamp(12px, 1.6vw, 22px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--maroon); color: var(--cream); }

/* =============================
   2. TYPOGRAPHY UTILITIES
   ============================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }
.eyebrow--light::before { background: rgba(255,255,255,0.7); }

.display {
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 24px;
}

.lede {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 64ch;
}
.lede--light { color: rgba(255,255,255,0.75); }

/* =============================
   3. LAYOUT PRIMITIVES
   ============================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section--cream { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .display { color: #fff; }

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head--light .display { color: #fff; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head-lede { margin-top: 8px; }

/* =============================
   4. BUTTONS + LINKS
   ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
}
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  margin-top: 12px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; right: 30px; bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =============================
   5. FLOATING PILL HEADER
   ============================= */
.site-header {
  position: fixed;
  top: var(--header-inset);
  left: var(--header-inset);
  right: var(--header-inset);
  z-index: 100;
  pointer-events: none;
}

.header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 8px 8px 8px clamp(16px, 1.8vw, 28px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 22, 26, 0.06);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(22, 22, 26, 0.08), 0 1px 2px rgba(22, 22, 26, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
body.is-scrolled .header-pill {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(22, 22, 26, 0.1), 0 1px 2px rgba(22, 22, 26, 0.06);
}

.header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 8px;
}
.header-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(22, 22, 26, 0.05); color: var(--maroon); }
.nav-link.is-active { color: var(--maroon); }

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px 9px 22px;
  background: var(--maroon);
  color: #fff;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.header-cta:hover { background: var(--maroon-dark); transform: translateY(-1px); }
.header-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform var(--dur-fast) var(--ease);
}
.header-cta:hover .header-cta-arrow { transform: translateX(2px); }

.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
}
.header-burger span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: #fff;
  transition: all var(--dur) var(--ease);
}

.header-mobile {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 22px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(22,22,26,0.06);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(22,22,26,0.12);
}
.header-mobile.is-open { display: flex; }
.header-mobile .nav-link {
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom: 1px solid rgba(22,22,26,0.06);
}
.header-mobile .nav-link:last-of-type { border-bottom: none; }
.header-mobile .header-cta { margin-top: 14px; align-self: flex-start; }

/* =============================
   6. HERO  (clean cream, bottom-aligned)
   ============================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  padding: 160px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(128, 0, 0, 0.04), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(22, 22, 26, 0.05), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero-main { display: flex; flex-direction: column; gap: 22px; }

.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8.5vw, 7.25rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-title-soft { color: var(--ink-muted); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 6px;
}
.hero-lede {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36ch;
}

.learn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 22px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(22,22,26,0.08);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 6px 22px rgba(22,22,26,0.06);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.learn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22,22,26,0.1); }
.learn-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.learn-pill:hover .learn-pill-icon { transform: translateX(2px); }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll svg { animation: scrollBounce 2.4s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }

/* =============================
   6b. CONTAINED SHOWCASE (after hero) — rounded, with side margin
   ============================= */
.showcase {
  position: relative;
  background: var(--cream);
  padding: 0 var(--header-inset) clamp(16px, 2vw, 28px);
  margin: 0;
}
.showcase-figure {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--ink);
  border-radius: clamp(16px, 1.6vw, 28px);
  box-shadow: 0 30px 80px -40px rgba(22, 22, 26, 0.25);
}
.showcase-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}
.showcase.is-visible .showcase-figure img,
.showcase-figure.is-visible img {
  transform: scale(1);
}

.showcase-caption {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 2.4vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 26, 0.06);
  box-shadow: 0 10px 30px rgba(22, 22, 26, 0.16);
  z-index: 2;
}
.showcase-caption-tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--maroon);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.showcase-caption-text {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .showcase-figure { aspect-ratio: 16 / 11; border-radius: 14px; }
  .showcase-caption { gap: 10px; padding: 8px 14px 8px 8px; left: 14px; bottom: 14px; }
  .showcase-caption-text { display: none; }
}

/* =============================
   7. ABOUT INTRO (split with photo)
   ============================= */
.grid-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: stretch;
}
.grid-intro-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.grid-intro-side .eyebrow { padding-top: 14px; }
.grid-intro-main { display: flex; flex-direction: column; }
.grid-intro-main p { margin-bottom: 18px; max-width: 64ch; }
.grid-intro-main .link-arrow { margin-top: auto; padding-top: 18px; }

/* Tower image figure */
.intro-figure {
  position: relative;
  margin: 0;
  flex: 1 1 auto;
  min-height: 460px;
  overflow: hidden;
  border-radius: clamp(12px, 1.4vw, 22px);
  background: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(22, 22, 26, 0.32);
  isolation: isolate;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}
.grid-intro.is-visible .intro-figure {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.15s;
}

.intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
  filter: brightness(0.92) saturate(1.05);
}
.grid-intro.is-visible .intro-figure img {
  transform: scale(1);
}
.intro-figure:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.15);
}

/* Subtle gradient overlay for caption legibility */
.intro-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 22, 26, 0) 55%, rgba(22, 22, 26, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Maroon corner accent that grows on hover */
.intro-figure-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--maroon);
  z-index: 2;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transform: scale(0.85);
  transform-origin: top right;
  transition: transform 0.6s var(--ease), background 0.6s var(--ease);
}
.intro-figure:hover .intro-figure-corner {
  transform: scale(1.12);
  background: var(--maroon-dark);
}

/* Caption pill bottom-left */
.intro-figure-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 26, 0.06);
  box-shadow: 0 6px 22px rgba(22, 22, 26, 0.12);
  z-index: 3;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}
.grid-intro.is-visible .intro-figure-cap {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.6s;
}
.intro-figure-tag {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--maroon);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.intro-figure-text {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
}

/* Right column gets a subtle reveal too */
.grid-intro-main > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.grid-intro.is-visible .grid-intro-main > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.grid-intro.is-visible .grid-intro-main > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.grid-intro.is-visible .grid-intro-main > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.grid-intro.is-visible .grid-intro-main > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }

/* =============================
   8. WHAT WE MINE (overlapping card on bg image)
   ============================= */
.mine-section {
  position: relative;
  padding: 0 var(--header-inset) var(--section-py);
  background: var(--cream);
  isolation: isolate;
}
.mine-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.5;
  max-height: 560px;
  overflow: hidden;
  background: var(--ink);
  border-radius: clamp(16px, 1.6vw, 26px);
}
.mine-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.mine-section:hover .mine-bg img { transform: scale(1); }

.mine-card {
  position: relative;
  width: calc(100% - clamp(24px, 4vw, 64px));
  margin: clamp(-130px, -10vw, -90px) auto 0;
  padding: clamp(24px, 2.8vw, 40px) clamp(22px, 2.4vw, 36px) clamp(22px, 2.4vw, 32px);
  background: var(--white);
  border-radius: clamp(18px, 1.8vw, 26px);
  box-shadow: 0 24px 56px -28px rgba(22, 22, 26, 0.18),
              0 2px 4px rgba(22, 22, 26, 0.04);
  border: 1px solid rgba(22, 22, 26, 0.04);
  z-index: 2;
}

.mine-card-head {
  margin-bottom: clamp(20px, 2.2vw, 30px);
  max-width: 600px;
}
.mine-card-head .eyebrow { margin-bottom: 12px; }
.mine-display {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}

.mine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
}

.mine-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px 20px;
  background: #fdfcf9;
  border: 1px solid var(--line);
  border-radius: clamp(10px, 1vw, 16px);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.mine-item:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px rgba(22, 22, 26, 0.12);
}

.mine-item-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(128, 0, 0, 0.05);
  color: var(--maroon);
  border: 1px solid rgba(128, 0, 0, 0.1);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mine-item:hover .mine-item-tag {
  background: rgba(128, 0, 0, 0.09);
  border-color: rgba(128, 0, 0, 0.2);
}

.mine-item-desc {
  font-family: var(--f-body);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.mine-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 2vw, 28px);
  padding: 6px 6px 6px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(22, 22, 26, 0.1);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(22, 22, 26, 0.05);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.mine-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 22, 26, 0.08);
}
.mine-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.mine-cta:hover .mine-cta-arrow { transform: translateX(2px); }

@media (max-width: 1100px) {
  .mine-grid { grid-template-columns: repeat(2, 1fr); }
  .mine-card { margin-top: clamp(-130px, -10vw, -90px); }
}
@media (max-width: 600px) {
  .mine-grid { grid-template-columns: 1fr; }
  .mine-bg { aspect-ratio: 16 / 10; max-height: 260px; border-radius: 14px; }
  .mine-card { margin-top: -70px; padding: 22px 16px; width: calc(100% - 16px); }
  .mine-display { font-size: 1.25rem; }
}

/* =============================
   8b. QUARRY NETWORK (3D-style scene with overlay card)
   ============================= */
.qnet-section {
  position: relative;
  margin: 0 var(--header-inset);
  padding: 0;
  background: var(--cream);
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(16px, 1.6vw, 26px);
  min-height: clamp(520px, 60vh, 720px);
}

.qnet-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 60% 40%, #f5f1e6 0%, #ece6d6 60%, #d8d2c2 100%);
  cursor: grab;
}
.qnet-3d:active { cursor: grabbing; }
.qnet-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.qnet-3d-hint {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(22, 22, 26, 0.06);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  pointer-events: none;
  opacity: 0.85;
}
.qnet-3d-hint svg { color: var(--maroon); }

.qnet-card {
  position: relative;
  z-index: 2;
  width: clamp(280px, 32%, 420px);
  margin: clamp(280px, 36vh, 380px) 0 clamp(28px, 3vw, 48px) clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(22, 22, 26, 0.05);
  border-radius: clamp(14px, 1.4vw, 22px);
  box-shadow: 0 24px 56px -28px rgba(22, 22, 26, 0.22),
              0 2px 4px rgba(22, 22, 26, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qnet-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(128, 0, 0, 0.05);
  color: var(--maroon);
  border: 1px solid rgba(128, 0, 0, 0.12);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.qnet-card-desc {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.qnet-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(22, 22, 26, 0.1);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(22, 22, 26, 0.05);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.qnet-card-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 22, 26, 0.08);
}
.qnet-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.qnet-card-cta:hover .qnet-card-arrow { transform: translateX(2px); }

@media (max-width: 1100px) {
  .qnet-section { min-height: clamp(440px, 70vh, 620px); }
  .qnet-card {
    width: clamp(280px, 60%, 460px);
    margin-top: clamp(220px, 38vh, 320px);
  }
}
@media (max-width: 600px) {
  .qnet-section { min-height: 500px; border-radius: 14px; }
  .qnet-card {
    width: calc(100% - 24px);
    margin: clamp(200px, 38vh, 260px) 12px 12px 12px;
    padding: 18px 16px;
  }
  .qnet-card-desc { font-size: 0.86rem; }
}

/* =============================
   9. STATS STRIP (DARK)
   ============================= */
.stats {
  background: var(--ink-rich);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.1); }
.stat-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
  display: inline;
}
.stat-suffix {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  color: var(--maroon-light);
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
  display: block;
}
.stat-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* =============================
   10. SPLIT (image left, text right)
   ============================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep);
  border-radius: 4px;
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split:hover .split-media img { transform: scale(1.04); }
.split-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
}
.split-tag svg { color: var(--maroon); }

.split-content .eyebrow { margin-bottom: 18px; }
.split-content p { max-width: 60ch; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.check-list-num {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--maroon);
  font-weight: 600;
  padding-top: 4px;
}
.check-list strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.check-list span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================
   11. QUARRIES GRID (DARK SECTION)
   ============================= */
.quarries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.quarry-card {
  padding: 36px 32px 32px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  position: relative;
  transition: background var(--dur) var(--ease);
  min-height: 240px;
}
.quarry-card:hover { background: var(--ink-rich); }
.quarry-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--maroon-light);
  transition: width 0.5s var(--ease);
}
.quarry-card:hover::after { width: 100%; }

.quarry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.quarry-num { color: var(--maroon-light); font-weight: 600; }
.quarry-loc { color: rgba(255,255,255,0.6); }

.quarry-name {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 6px 0 8px;
}
.quarry-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.quarry-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon-light);
}
.quarry-link svg { transition: transform var(--dur) var(--ease); }
.quarry-card:hover .quarry-link svg { transform: translateX(4px); }

/* =============================
   12. WHY GRID
   ============================= */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.why-side { position: sticky; top: 120px; }
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why-card {
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  border-radius: 4px;
}
.why-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.why-card-num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--maroon);
  font-weight: 600;
}
.why-card h3 {
  font-family: var(--f-display);
  font-size: 1.075rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 8px 0 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =============================
   13. DRONE VIDEO SECTION
   ============================= */
.video-section .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.video-section .section-head .eyebrow { justify-content: center; }
.video-section .section-head-lede { margin-left: auto; margin-right: auto; }

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(22,22,26,0.35);
  margin-top: 12px;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =============================
   13b. CONNECTED QUARRIES MAP
   ============================= */
.map-section {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.map-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.map-text { display: flex; flex-direction: column; gap: 14px; }
.map-text .eyebrow { margin-bottom: 6px; }
.map-text .display { font-size: clamp(1.85rem, 3.6vw, 3rem); margin-bottom: 12px; }
.map-text .lede { max-width: 48ch; }

/* Map stage holds tabs, svg, and pins */
.map-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.map-tabs {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 22, 26, 0.06);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(22, 22, 26, 0.08);
}
.map-tab {
  padding: 8px 18px;
  font-family: var(--f-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.map-tab:hover { color: var(--ink); }
.map-tab.is-active {
  background: var(--maroon);
  color: #fff;
}

/* World-map zoom wrap — image + pins move together */
.map-stage { overflow: hidden; border-radius: clamp(12px, 1.4vw, 20px); }
.map-zoom-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform 0.85s var(--ease-out);
  transform-origin: center;
  transform: scale(1);
  will-change: transform;
}
.world-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* SVG filter turns the JPG's white pixels transparent
     and recolors the dark dots to the brand maroon — true
     background removal, no blend-mode required */
  filter: url(#dotsToMaroon);
}

/* Zoom states triggered by tab clicks */
.map-stage[data-region="india"] .map-zoom-wrap {
  transform-origin: 73% 42%;
  transform: scale(2.2);
}
.map-stage[data-region="africa"] .map-zoom-wrap {
  transform-origin: 56% 50%;
  transform: scale(1.8);
}
.map-stage[data-region="all"] .map-zoom-wrap {
  transform-origin: center center;
  transform: scale(1);
}

/* Pins layer — inside the zoom wrap so pins zoom with the map */
.map-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Counter-scale pins so they stay legible at zoom levels */
.map-stage[data-region="india"] .map-pin { transform: translate(-50%, -50%) scale(0.45); }
.map-stage[data-region="africa"] .map-pin { transform: translate(-50%, -50%) scale(0.55); }
.map-stage[data-region="all"] .map-pin { transform: translate(-50%, -50%) scale(1); }
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  background: #fff;
  border: 1px solid rgba(22, 22, 26, 0.06);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(22, 22, 26, 0.1);
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: auto;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              opacity var(--dur) var(--ease);
}
.map-pin::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--maroon);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-100%, -50%);
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.18),
              0 0 0 8px rgba(128, 0, 0, 0.08);
}
.map-pin:hover {
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 22, 26, 0.16);
}
.map-pin .pin-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-pin .pin-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 2px;
}

/* Region filter — dim out-of-region pins */
.map-stage[data-region="india"] .map-pin[data-region="africa"],
.map-stage[data-region="africa"] .map-pin[data-region="india"] {
  opacity: 0.18;
  filter: grayscale(0.6);
}

/* Pin entrance animation — opacity-only so it doesn't fight zoom transforms */
.map-pin {
  opacity: 0;
  animation: pinFadeIn 0.7s var(--ease-out) forwards;
  transition: transform 0.7s var(--ease-out), box-shadow var(--dur-fast) var(--ease);
}
.map-pin:nth-of-type(1) { animation-delay: 0.4s; }
.map-pin:nth-of-type(2) { animation-delay: 0.55s; }
.map-pin:nth-of-type(3) { animation-delay: 0.7s; }
.map-pin:nth-of-type(4) { animation-delay: 0.85s; }
.map-pin:nth-of-type(5) { animation-delay: 1.0s; }
.map-pin:nth-of-type(6) { animation-delay: 1.15s; }
@keyframes pinFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 1100px) {
  .map-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-text .display { font-size: clamp(1.65rem, 5vw, 2.4rem); }
  .map-stage { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .map-tabs { top: 4px; right: 4px; padding: 4px; }
  .map-tab { padding: 6px 12px; font-size: 0.78rem; }
  .map-pin { font-size: 0.7rem; padding: 4px 4px 4px 10px; }
  .map-pin .pin-plus { width: 18px; height: 18px; font-size: 0.85rem; }
  .map-stage { aspect-ratio: 5 / 4; }
}

/* =============================
   14. CTA BAND (with drone video background)
   ============================= */
.cta-band {
  background: var(--ink-rich);
  color: #fff;
  padding: clamp(120px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(420px, 60vh, 620px);
}

/* Background drone video — YouTube iframe scaled to cover the section */
.cta-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.cta-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Force iframe to be 16:9 wider than parent — eliminates letterboxing */
  width: max(100%, calc(100% * 16 / 9 + 1px));
  height: max(100%, calc(100% * 9 / 16 + 1px));
  /* Bigger fallback in case container is unusual */
  min-width: 178%;
  min-height: 178%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Dark overlay so text stays readable on the moving video */
.cta-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(128, 0, 0, 0.22), transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(128, 0, 0, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.65) 50%, rgba(8, 8, 10, 0.78) 100%);
}

/* Lift content above video + overlay */
.cta-band > .container { position: relative; z-index: 2; }
.cta-band .cta-actions { position: relative; z-index: 2; }
.cta-band .eyebrow { justify-content: center; margin-bottom: 24px; }
.cta-band .eyebrow::before { display: none; }
.cta-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 22px;
}
.cta-lede {
  max-width: 60ch;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}
.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =============================
   15. FOOTER
   ============================= */
.site-footer {
  background: #08080a;
  color: rgba(241,237,228,0.72);
  padding: clamp(60px, 8vw, 100px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 20px;
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 42ch;
  color: rgba(241,237,228,0.6);
}
.footer-logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241,237,228,0.5);
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: rgba(241,237,228,0.85);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--maroon-light); }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(241,237,228,0.45);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: rgba(241,237,228,0.85); }

/* =============================
   16. WHATSAPP FAB
   ============================= */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: -1;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:0.7;} 100%{transform:scale(1.6);opacity:0;} }

/* =============================
   16b. STORY PAGE — full-screen cover + headline + (team scroll legacy)
   ============================= */

/* ---- Pure full-screen image (no overlay, no text) ---- */
.story-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: storyCoverZoom 14s var(--ease-out) forwards;
}
@keyframes storyCoverZoom { to { transform: scale(1); } }

/* ---- Headline + paragraph (huge heading left, body right) ---- */
.story-headline {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px);
}
.story-headline-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.story-headline-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.story-headline-title-soft {
  color: var(--ink-muted);
  font-weight: 700;
}
.story-headline-body { padding-top: clamp(8px, 1.4vw, 22px); }
.story-headline-body p {
  font-family: var(--f-body);
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

@media (max-width: 900px) {
  .story-headline-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-headline-title { font-size: clamp(2rem, 8vw, 3rem); }
  .story-headline-body p { max-width: none; }
}

/* ---- Milestones timeline (compact card, generous side margin) ---- */
.milestones {
  background: var(--cream);
  padding: clamp(20px, 3vw, 50px) clamp(36px, 8vw, 140px);
}
.milestones-card {
  background: #ffffff;
  border: 1px solid rgba(22, 22, 26, 0.05);
  border-radius: clamp(16px, 1.8vw, 26px);
  box-shadow: 0 18px 44px -28px rgba(22, 22, 26, 0.14);
  padding: clamp(20px, 2.4vw, 36px) 0 clamp(18px, 2vw, 28px);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}
.milestones-head {
  padding: 0 clamp(36px, 4.5vw, 64px) clamp(18px, 2vw, 28px);
}
.milestones-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}
.milestones-brand {
  color: var(--maroon);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Horizontal scrolling track — wider inner margins so the card has clean breathing room left/right */
.milestones-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 0 clamp(36px, 4.5vw, 64px);
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.milestones-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.milestones-scroll.is-dragging * { pointer-events: none; }
.milestones-scroll::-webkit-scrollbar { height: 5px; }
.milestones-scroll::-webkit-scrollbar-track { background: transparent; }
.milestones-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.milestones-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

.milestones-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 27vw, 340px);
  gap: 0;
  padding-bottom: 4px;
}

/* Each milestone column — generous internal padding for breathing room */
.milestone {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(16px, 1.8vw, 26px);
  border-right: 1px solid var(--line);
}
.milestone:first-child { padding-left: 0; }
.milestone:last-child { border-right: none; padding-right: 0; }

.milestone-year {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 9px;
  background: var(--cream-deep);
  border-radius: 5px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* Ruler row — clean repeating vertical ticks like a measurement ruler */
.milestone-rule {
  position: relative;
  display: block;
  height: 11px;
  margin-bottom: 14px;
  background-image: linear-gradient(
    to right,
    var(--ink-muted) 0,
    var(--ink-muted) 1px,
    transparent 1px,
    transparent 5px
  );
  background-size: 5px 100%;
  background-repeat: repeat-x;
  opacity: 0.55;
}
/* Bolder, full-height first tick to mark this year's anchor */
.milestone-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  bottom: -2px;
  width: 1.5px;
  background: var(--ink);
  opacity: 1.6;
}

.milestone-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.milestone-title {
  font-family: var(--f-display);
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.milestone-desc {
  font-family: var(--f-body);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.milestone-image {
  margin-top: 18px;
  width: 55%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-deep);
  filter: grayscale(0.55) contrast(1.05);
  transition: filter 0.4s var(--ease);
  align-self: flex-start;
}
.milestone-image > img,
.milestone-image > div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.milestone:hover .milestone-image { filter: grayscale(0) contrast(1); }

@media (max-width: 700px) {
  .milestones-track { grid-auto-columns: 240px; }
  .milestone-title { font-size: 0.85rem; }
  .milestone-desc { font-size: 0.72rem; }
  .milestone-image { max-height: 90px; }
}

/* ---- Leadership: 3 cards ---- */
.leadership {
  background: var(--cream);
  padding: clamp(40px, 5vw, 80px) 0 clamp(80px, 10vw, 130px);
}
.leadership-head {
  margin-bottom: clamp(28px, 3vw, 44px);
}
.leadership-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 clamp(20px, 2.4vw, 36px) 0;
}
.leadership-sub {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  margin-top: 26px;
}

.leader-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  padding: 16px;
  background: #fdfcf8;
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.4vw, 20px);
  height: 360px;
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.leader-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(22, 22, 26, 0.14);
}

/* Left column — tag at top, name + plus at bottom (no overlap with photo) */
.leader-card::before {
  content: '';
  flex: 0 0 42%;
}
.leader-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(128, 0, 0, 0.05);
  color: var(--maroon);
  border: 1px solid rgba(128, 0, 0, 0.12);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  max-width: calc(42% - 16px);
  white-space: normal;
  z-index: 2;
}

.leader-card-foot {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: calc(42% - 8px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

/* Right column — photo, properly contained */
.leader-card-photo {
  flex: 1 1 auto;
  position: relative;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #f5efde, #e6dfca);
  border-radius: clamp(8px, 0.8vw, 12px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-card-photo img {
  width: 70%;
  max-width: 150px;
  max-height: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(22, 22, 26, 0.1));
  transition: transform 0.6s var(--ease);
}
.leader-card:hover .leader-card-photo img { transform: scale(1.04); }
.leader-card-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.leader-card-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.leader-card-plus:hover {
  background: var(--maroon);
  transform: rotate(90deg);
}

/* ---- Leader modal (slide-in panel) ---- */
.leader-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.leader-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.leader-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  cursor: pointer;
}
.leader-modal.is-open .leader-modal-backdrop { opacity: 1; }

.leader-modal-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  background: #fbf8ef;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  box-shadow: -20px 0 60px -20px rgba(22, 22, 26, 0.25);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.leader-modal.is-open .leader-modal-panel { transform: translateX(0); }

.leader-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 22, 26, 0.06);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.leader-modal-close:hover { background: var(--ink); color: #fff; }

.leader-modal-photo {
  position: relative;
  flex: 0 0 auto;
  height: clamp(220px, 36vh, 320px);
  background: radial-gradient(circle at 50% 35%, #f5efde, #d8d2bf);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-modal-photo img {
  width: 50%;
  max-width: 200px;
  max-height: 75%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(22, 22, 26, 0.18));
}

.leader-modal-body {
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 32px);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.leader-modal-name {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 4px 0;
  line-height: 1.15;
}
.leader-modal-role {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--maroon);
  text-transform: uppercase;
  margin: 0 0 16px 0;
}
.leader-modal-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 16px;
}
.leader-modal-about {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* Stop body scroll when modal open */
body.is-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .leadership-grid { grid-template-columns: 1fr; }
  .leader-card { min-height: 260px; }
}

/* ---- Progressive scroll section — pair 0 shrinks while pair 1 grows ---- */
.story-progressive {
  position: relative;
  height: 200vh;
  background: var(--cream);
}

.prog-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 90px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.prog-pair {
  position: relative;
  flex-grow: var(--p-flex, 1);
  flex-shrink: 1;
  flex-basis: 0;
  min-height: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: flex-grow 0.08s linear;
}
/* avoid double borders between pairs */
.prog-pair[data-pair="1"] { border-top: none; }
.prog-pair[data-pair="0"] { --p-flex: 1; }
.prog-pair[data-pair="1"] { --p-flex: 0.001; }

.prog-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  will-change: opacity, transform;
}

.prog-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  height: 100%;
}

.prog-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transform-origin: top left;
  transition: transform 0.08s linear, color 0.1s linear;
  will-change: transform, color, opacity;
}
.prog-title-soft { color: var(--ink-muted); }

.prog-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 48ch;
}
.prog-text p {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.prog-stack .learn-pill {
  margin-top: auto;          /* pushes button to bottom only if stack has room */
  align-self: flex-start;
  flex-shrink: 0;
}

.prog-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 100%;
  border-radius: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  background: var(--cream-deep);
  justify-self: end;
  align-self: start;          /* don't stretch — stay square at column width */
  will-change: transform, opacity;
}
.prog-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .story-progressive { height: 280vh; }
  .prog-body { grid-template-columns: 1fr; gap: 16px; }
  .prog-media { max-height: 200px; }
  .prog-title { font-size: clamp(1.3rem, 5vw, 1.85rem); }
}

/* ---- Companies progressive scroll — 4 panels chain ---- */
.companies-progressive {
  position: relative;
  height: 400vh;
  background: var(--cream);
}

.cprog-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.cprog-head {
  flex-shrink: 0;
  padding-bottom: 8px;
}
.cprog-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  margin: 0;
}

.cprog-pair {
  position: relative;
  flex-grow: var(--p-flex, 0.2);
  flex-shrink: 1;
  flex-basis: 0;
  min-height: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: flex-grow 0.08s linear;
}
.cprog-pair[data-cpair="0"] {
  border-top: 1px solid var(--line);
  --p-flex: 6;
}
.cprog-pair[data-cpair="1"],
.cprog-pair[data-cpair="2"],
.cprog-pair[data-cpair="3"] { --p-flex: 0.2; }

.cprog-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  will-change: opacity, transform;
}

.cprog-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: 100%;
  padding-bottom: 4px;
}

.cprog-tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  flex-shrink: 0;
  will-change: opacity;
}

.cprog-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transform-origin: top left;
  transition: transform 0.08s linear, color 0.1s linear;
  will-change: transform, color, opacity;
}
.cprog-title-soft { color: var(--ink-muted); }

.cprog-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 52ch;
  will-change: opacity, transform;
}
.cprog-text p {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.cprog-stack .learn-pill {
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
  will-change: opacity;
}

.cprog-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  background: var(--cream-deep);
  justify-self: end;
  align-self: stretch;
  will-change: opacity;
}
.cprog-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .companies-progressive { height: 480vh; }
  .cprog-body { grid-template-columns: 1fr; gap: 16px; }
  .cprog-media { max-height: 200px; }
  .cprog-title { font-size: clamp(1.3rem, 5vw, 1.85rem); }
}

/* ---- Full-screen image with overlay card (AVTL-style) ---- */
.story-fullscreen {
  position: relative;
  width: 100%;
  height: 115vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
}
.story-fullscreen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-fullscreen-card {
  position: absolute;
  bottom: clamp(24px, 4vh, 52px);
  left: clamp(18px, 3vw, 56px);
  width: clamp(280px, 28vw, 400px);
  max-width: calc(100% - 36px);
  background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: clamp(14px, 1.4vw, 22px);
  padding: clamp(18px, 2vw, 30px);
  box-shadow: 0 28px 72px -34px rgba(22, 22, 26, 0.45),
              0 6px 16px -10px rgba(22, 22, 26, 0.18);
  display: flex;
  flex-direction: column;
}
.story-fullscreen-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 clamp(10px, 1.2vw, 14px);
}
.story-fullscreen-para {
  font-family: var(--f-body);
  font-size: clamp(0.78rem, 0.82vw, 0.85rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 9px;
}
.story-fullscreen-para:last-of-type {
  margin-bottom: clamp(14px, 1.4vw, 18px);
}
.story-fullscreen-pill {
  align-self: flex-start;
}

@media (max-width: 720px) {
  .story-fullscreen { height: auto; min-height: 80vh; }
  .story-fullscreen-card {
    position: static;
    width: auto;
    max-width: none;
    margin: -80px 16px 24px;
    padding: 24px;
  }
  .story-fullscreen-img {
    position: relative;
    height: 70vh;
  }
}

/* ---- Supply chain flow (AVTL-style animated tree) ---- */
.flow {
  background: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0;
}
.flow-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.flow-text {
  position: sticky;
  top: 100px;
}
.flow-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.flow-desc {
  font-family: var(--f-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}

/* The diagram itself: a vertical column of full-width "rows".
   All rows use the same 2-column 1fr 1fr grid so vertical lines
   align across levels. */
.flow-diagram {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--f-mono);
}
.flow-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
}
.flow-row--center > * {
  grid-column: 1 / -1;       /* span both columns to be visually centered */
}
.flow-row--single-conn {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 0;
  column-gap: 12px;
}
.flow-row--split-conn {
  position: relative;
  padding: 8px 0;
  align-items: stretch;
}
.flow-row--branches {
  align-items: start;
  column-gap: clamp(20px, 4vw, 56px);
  padding-top: 6px;
}
.flow-row--double-conn {
  align-items: stretch;
  padding: 4px 0;
}

/* === Pills === */
.flow-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(22, 22, 26, 0.04);
  text-align: center;
  white-space: nowrap;
}
.flow-pill--accent {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.flow-pill--end {
  font-size: 0.7rem;
  padding: 6px 12px;
}
.flow-pill-row {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.flow-pill-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* === Vertical dashed line + glowing bolt === */
.flow-line {
  position: relative;
  width: 0;
  height: 38px;
  border-left: 1px dashed var(--ink-muted);
  justify-self: center;
}
.flow-line .flow-bolt {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 8px;
  height: 18px;
  border-radius: 50%;
  background: var(--maroon);
  filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}
/* center any lines that sit inside the split / double connector grids */
.flow-row--split-conn .flow-line,
.flow-row--double-conn .flow-line {
  justify-self: center;
  height: 56px;
}

/* === Captions === */
.flow-caption {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 28ch;
  display: inline-block;
}
.flow-caption--right {
  justify-self: end;
  text-align: right;
}
.flow-caption--mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  max-width: 30ch;
}

/* === End groups === */
.flow-group {
  background: rgba(216, 211, 198, 0.55);
  border-radius: 12px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}
.flow-group-label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ============================================================
   ANIMATION — maroon "energy" wave cascading top → bottom
   Each animated element gets a --step (0..6) which becomes its
   animation-delay. One full cycle = 4.5s.
   ============================================================ */

/* Pills (light variant) — wash to maroon */
.flow-pill.flow-anim,
.flow-pill-row.flow-anim .flow-pill,
.flow-group.flow-anim .flow-pill {
  animation: flowPillPulse 4.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.45s);
}
@keyframes flowPillPulse {
  0%, 38%, 100% {
    background-color: var(--white);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 1px 3px rgba(22, 22, 26, 0.04);
  }
  6%, 28% {
    background-color: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.16);
  }
}

/* Accent pill (already maroon) — pulses to maroon-dark with glow */
.flow-pill--accent.flow-anim {
  animation: flowAccentPulse 4.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.45s);
}
@keyframes flowAccentPulse {
  0%, 38%, 100% {
    background-color: var(--maroon);
    box-shadow: 0 1px 3px rgba(22, 22, 26, 0.04);
    transform: scale(1);
  }
  6%, 28% {
    background-color: var(--maroon-dark);
    box-shadow: 0 0 0 5px rgba(128, 0, 0, 0.22);
    transform: scale(1.04);
  }
}

/* Lines — color shift + a glowing bolt traveling top → bottom */
.flow-line.flow-anim {
  animation: flowLineColor 4.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.45s);
}
@keyframes flowLineColor {
  0%, 40%, 100% { border-left-color: var(--ink-muted); border-left-width: 1px; }
  6%, 30%      { border-left-color: var(--maroon);   border-left-width: 2px; }
}

.flow-line.flow-anim .flow-bolt {
  animation: flowBolt 4.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.45s);
}
@keyframes flowBolt {
  0%, 4%   { top: 0%;    opacity: 0; }
  6%       { top: 0%;    opacity: 1; }
  28%      { top: 100%;  opacity: 1; }
  32%, 100%{ top: 100%;  opacity: 0; }
}

/* End groups — soft maroon wash */
.flow-group.flow-anim {
  animation: flowGroupPulse 4.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.45s);
}
@keyframes flowGroupPulse {
  0%, 38%, 100% { background-color: rgba(216, 211, 198, 0.55); }
  6%, 28%      { background-color: rgba(128, 0, 0, 0.12); }
}

/* Reduced motion — disable everything */
@media (prefers-reduced-motion: reduce) {
  .flow-pill.flow-anim,
  .flow-pill-row.flow-anim .flow-pill,
  .flow-group.flow-anim .flow-pill,
  .flow-pill--accent.flow-anim,
  .flow-line.flow-anim,
  .flow-line.flow-anim .flow-bolt,
  .flow-group.flow-anim {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-text { position: static; }
  .flow-pill-stack { grid-template-columns: 1fr; }
}

/* ---- Testimonials grid ---- */
.testimonials {
  background: var(--cream);
  padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.testim-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.testim-head .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 14px;
}
.testim-head .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.testim-head .lede {
  font-family: var(--f-body);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Horizontal scroller — matches the milestones scroller pattern exactly */
.testim-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.testim-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.testim-scroll.is-dragging * { pointer-events: none; }
.testim-scroll::-webkit-scrollbar { height: 5px; }
.testim-scroll::-webkit-scrollbar-track { background: transparent; }
.testim-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.testim-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

.testim-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 340px);
  gap: clamp(14px, 1.8vw, 22px);
  padding: 6px 0 14px;
}

.testim-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.4vw, 22px);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -28px rgba(22, 22, 26, 0.22);
  border-color: rgba(128, 0, 0, 0.18);
}

.testim-quote {
  width: 26px;
  height: 26px;
  color: var(--maroon);
  opacity: 0.65;
  flex-shrink: 0;
}

.testim-text {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  flex-grow: 1;
  letter-spacing: -0.005em;
}

.testim-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.testim-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
  letter-spacing: 0;
}
.testim-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.testim-name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.testim-meta {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Contact section (AVTL-style, info + form) ---- */
.contact-block {
  background: var(--cream);
  padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 14px;
}
.contact-info .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.contact-info .lede {
  font-family: var(--f-body);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 clamp(28px, 3vw, 40px);
  max-width: 42ch;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(128, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.contact-val {
  display: block;
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-val:hover { color: var(--maroon); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.6vw, 24px);
  padding: clamp(24px, 2.8vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 14px 40px -28px rgba(22, 22, 26, 0.18);
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.contact-req { color: var(--maroon); margin-left: 2px; }
.contact-optional {
  text-transform: none;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.contact-field input,
.contact-field select {
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.contact-field input:focus,
.contact-field select:focus {
  border-color: var(--maroon);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.12);
}
.contact-field input::placeholder { color: var(--ink-muted); }

.contact-submit {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--maroon);
  color: var(--white);
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 16px -8px rgba(128, 0, 0, 0.45);
}
.contact-submit:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(128, 0, 0, 0.55);
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .testim-track { grid-auto-columns: 80vw; }
}

/* ---- Quarry detail page (AVTL-style hero card) ---- */
.quarry-detail {
  background: var(--cream);
  padding: clamp(110px, 12vw, 160px) 0 clamp(60px, 7vw, 100px);
  min-height: 100vh;
}

.qd-crumb {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  gap: 8px;
}
.qd-crumb a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.qd-crumb a:hover { color: var(--maroon); }
.qd-crumb-sep { color: var(--ink-muted); opacity: 0.5; }
.qd-crumb > span:last-child { color: var(--ink); }

.qd-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2vw, 32px);
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 24px 80px -48px rgba(22, 22, 26, 0.22);
  position: relative;
}

/* === Top bar: tabs (left) + arrows (right) === */
.qd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.qd-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream-soft);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.qd-tabs::-webkit-scrollbar { display: none; }
.qd-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.qd-tab:hover { color: var(--ink); }
.qd-tab.is-active {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 4px 14px -6px rgba(128, 0, 0, 0.45);
}

.qd-nav {
  display: flex;
  gap: 6px;
}
.qd-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.qd-arrow:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  transform: translateY(-1px);
}

/* === Pagination indicator === */
.qd-page {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.qd-page-current {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--maroon);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-weight: 500;
  font-size: 0.85rem;
}
.qd-page-rest {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* === Body grid === */
.qd-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 60px);
  align-items: end;
  min-height: 460px;
}

.qd-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8px;
  min-width: 0;
}
.qd-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}
.qd-aliases {
  font-family: var(--f-body);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 clamp(24px, 2.6vw, 36px);
}
.qd-aliases em {
  font-style: italic;
  color: var(--ink);
}

/* Meta table — borders top + each row */
.qd-meta {
  margin: 0;
  border-top: 1px solid var(--line);
}
.qd-meta-row {
  display: grid;
  grid-template-columns: minmax(150px, 28%) 1fr;
  gap: clamp(16px, 2vw, 32px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.qd-meta-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin: 0;
  font-weight: 500;
}
.qd-meta-val {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.qd-meta-val--accent {
  color: var(--maroon);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qd-owned-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--maroon);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.18);
  display: inline-block;
  flex-shrink: 0;
}

/* === Media (right column) === */
.qd-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  background: linear-gradient(160deg, #d8d3c6 0%, #e9e4d8 50%, #c8c2b3 100%);
}
.qd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA pill at the bottom of the content column */
.qd-cta {
  align-self: flex-start;
  margin-top: clamp(22px, 2.6vw, 36px);
  background: var(--maroon);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 16px -8px rgba(128, 0, 0, 0.45);
}
.qd-cta:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(128, 0, 0, 0.55);
}

@media (max-width: 800px) {
  .qd-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .qd-media { aspect-ratio: 4 / 3; order: -1; }
  .qd-meta-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   "TALK TO US" SLIDE-IN POPUP (left side, fits without scroll)
   ============================================================ */
.cta-popup {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
  visibility: hidden;
}
.cta-popup.is-open { visibility: visible; pointer-events: auto; }
.cta-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 26, 0.42);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.cta-popup.is-open .cta-popup-backdrop { opacity: 1; }
.cta-popup-panel {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translate(-120%, -50%);
  width: 380px;
  max-width: calc(100vw - 44px);
  max-height: calc(100vh - 44px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 36px 80px -24px rgba(22, 22, 26, 0.45);
  padding: 24px 24px 22px;
  overflow: hidden;
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-popup.is-open .cta-popup-panel { transform: translate(0, -50%); }
.cta-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-popup-close:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.cta-popup-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  margin: 0;
}
.cta-popup-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  padding-right: 32px;
}
.cta-popup-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-popup-form input,
.cta-popup-form select {
  font-family: var(--f-body);
  font-size: 0.86rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-soft);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cta-popup-form input:focus,
.cta-popup-form select:focus {
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}
.cta-popup-submit {
  margin-top: 4px;
  background: var(--maroon);
  color: var(--white);
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  align-self: flex-start;
}
.cta-popup-submit:hover { background: var(--maroon-dark); transform: translateY(-1px); }
.cta-popup-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin: 6px 0 0;
}
.cta-popup-divider::before,
.cta-popup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cta-popup-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta-popup-direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.84rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cta-popup-direct a:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.cta-popup-direct a svg { color: var(--maroon); flex-shrink: 0; transition: color 0.2s; }
.cta-popup-direct a:hover svg { color: var(--white); }

@media (max-width: 480px) {
  .cta-popup-panel { width: calc(100vw - 24px); left: 12px; }
}

/* ============================================================
   CONTACT PAGE — hero, office split, map, FAQ
   ============================================================ */
.contact-hero {
  background: var(--cream);
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 7vw, 100px);
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.contact-hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 16px;
}
.contact-hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.contact-hero-title-soft { color: var(--ink-muted); }
.contact-hero-lede {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
@media (max-width: 800px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Office split (Designer Tower) */
.office-block {
  background: var(--cream-soft);
  padding: clamp(70px, 8vw, 110px) 0;
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.office-media {
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.office-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-text .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 14px;
}
.office-text .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.office-text p {
  font-family: var(--f-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 48ch;
}
@media (max-width: 800px) {
  .office-grid { grid-template-columns: 1fr; }
  .office-media { aspect-ratio: 4 / 3; }
}

/* Map */
.map-block {
  background: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0;
}
.map-block-head {
  text-align: center;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.map-block-head .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 12px;
}
.map-block-head .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.map-frame {
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px -28px rgba(22, 22, 26, 0.18);
  height: clamp(320px, 50vh, 480px);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
.faq-block {
  background: var(--cream-soft);
  padding: clamp(70px, 8vw, 110px) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-text .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 12px;
}
.faq-text .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.faq-text p {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.is-open {
  border-color: rgba(128, 0, 0, 0.25);
  box-shadow: 0 12px 32px -22px rgba(128, 0, 0, 0.32);
}
.faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.faq-item.is-open .faq-item-icon {
  transform: rotate(45deg);
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.is-open .faq-item-body { max-height: 320px; }
.faq-item-body-inner {
  padding: 0 20px 18px;
  font-family: var(--f-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   BLOG / NEWS LIST PAGE
   ============================================================ */
.blog-list {
  background: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 10vw, 140px);
}
.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(60px, 7vw, 100px);
  margin-bottom: clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}
.blog-feature-media {
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}
.blog-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-feature-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.blog-feature-cat { color: var(--maroon); }
.blog-feature-meta-sep { opacity: 0.4; }
.blog-feature-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}
.blog-feature-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.blog-feature-title a:hover { color: var(--maroon); }
.blog-feature-excerpt {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 50ch;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.4vw, 22px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -28px rgba(22, 22, 26, 0.25);
  border-color: rgba(128, 0, 0, 0.18);
}
.blog-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body {
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.blog-card-meta {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--maroon);
}
.blog-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.blog-card-excerpt {
  font-family: var(--f-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.blog-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.blog-card-readmore {
  color: var(--maroon);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 800px) {
  .blog-feature { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG ARTICLE DETAIL — sidebar layout, AVTL-style
   ============================================================ */
.article-page {
  background: var(--cream);
  padding-top: clamp(110px, 12vw, 160px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.article-head {
  max-width: 820px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  text-align: center;
}
.article-head .eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  display: block;
  margin-bottom: 16px;
}
.article-head .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
}
.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.article-meta-sep { opacity: 0.4; }

.article-cover {
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--cream-deep);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.article-body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 64ch;
}
.article-body p { margin: 0 0 1.2em; }
.article-body h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.6em 0 0.6em;
}
.article-body h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 1.4em 0 0.5em;
}
.article-body blockquote {
  border-left: 3px solid var(--maroon);
  padding: 8px 18px;
  margin: 1.4em 0;
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.article-body figure {
  margin: 1.6em 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-deep);
}
.article-body figure img { width: 100%; display: block; }
.article-body figcaption {
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  background: var(--cream-soft);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.sidebar-card-title {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.sidebar-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.sidebar-author-name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  display: block;
}
.sidebar-author-role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  display: block;
}
.sidebar-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sidebar-list a {
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.45;
}
.sidebar-list a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  margin-top: 7px;
}
.sidebar-list a:hover { color: var(--maroon); }
.sidebar-share {
  display: flex;
  gap: 8px;
}
.sidebar-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sidebar-share a:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* ---- Stacked story blocks (sticky stacked headings + scroll-fade) — LEGACY ---- */
.story-stack {
  background: var(--cream);
  padding: 0 var(--gutter) 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.story-stack-pair {
  position: relative;
}

/* Sticky head — pair 0 sticks at 88px, pair 1 stacks below it */
.story-stack-head {
  position: sticky;
  top: 88px;
  z-index: 4;
  background: var(--cream);
  padding: 18px 0 14px;
  margin: 0;
  border-top: 1px solid var(--line);
  cursor: default;
  display: block;
  transition: padding 0.4s var(--ease);
}
.story-stack-pair[data-pair-index="1"] .story-stack-head {
  top: 142px;
  z-index: 3;
}

.story-stack-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: block;
  transition: font-size 0.4s var(--ease),
              color 0.4s var(--ease),
              opacity 0.4s var(--ease),
              font-weight 0.4s var(--ease);
}
.story-stack-title span { display: block; }
.story-stack-title-soft { color: var(--ink-muted); font-weight: 700; }

/* Faded state — heading stays roughly the same size but goes grey/dim,
   body fades and collapses entirely. Click the heading to scroll back. */
.story-stack-pair.is-faded .story-stack-head {
  cursor: pointer !important;
  padding: 18px 0 14px !important;
}
.story-stack-pair.is-faded .story-stack-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-weight: 700 !important;
  color: var(--ink-muted) !important;
  opacity: 0.55 !important;
}
.story-stack-pair.is-faded .story-stack-title-soft {
  color: var(--ink-muted) !important;
  opacity: 0.75 !important;
}
.story-stack-pair.is-faded .story-stack-head:hover .story-stack-title {
  color: var(--ink) !important;
  opacity: 0.9 !important;
}
.story-stack-pair.is-faded .story-stack-head:hover .story-stack-title-soft {
  color: var(--maroon) !important;
  opacity: 1 !important;
}

/* Body — fades and collapses on pass */
.story-stack-body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 60px);
  padding: 18px 0 60px;
  align-items: center;
  transition: opacity 0.45s var(--ease),
              max-height 0.55s var(--ease),
              padding 0.45s var(--ease);
  overflow: hidden;
  max-height: 900px;
}
.story-stack-pair.is-faded .story-stack-body {
  opacity: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.story-stack-text { display: flex; flex-direction: column; gap: 14px; max-width: 48ch; }
.story-stack-text p {
  font-family: var(--f-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.story-stack-text .learn-pill { margin-top: 8px; align-self: flex-start; }

.story-stack-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: clamp(12px, 1.4vw, 18px);
  background: var(--cream-deep);
  align-self: stretch;
  max-height: 360px;
}
.story-stack-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.story-stack-pair:not(.is-faded):hover .story-stack-media img { transform: scale(1.04); }

@media (max-width: 900px) {
  .story-stack-pair[data-pair-index="1"] .story-stack-head { top: 130px; }
  .story-stack-body { grid-template-columns: 1fr; gap: 22px; }
  .story-stack-title { font-size: clamp(1.3rem, 4.5vw, 1.85rem); }
}

/* ====== Legacy story-hero (kept in case needed elsewhere) ====== */

/* ---- Story hero (full-screen image with title overlay) ---- */
.story-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
}
.story-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease-out) forwards;
}
.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,14,0.25) 0%, rgba(12,12,14,0.5) 55%, rgba(12,12,14,0.85) 100%);
}
.story-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story-hero-content .hero-eyebrow { color: rgba(255,255,255,0.78); }
.story-hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 22ch;
}

/* ---- Story intro (heading | body | image) ---- */
.story-intro { background: var(--cream); }
.story-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "head    media"
    "body    media";
  gap: clamp(28px, 5vw, 80px) clamp(28px, 5vw, 80px);
  align-items: start;
}
.story-intro-head { grid-area: head; }
.story-intro-head .display {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0;
}
.story-intro-body { grid-area: body; }
.story-intro-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 56ch;
}
.story-intro-body .learn-pill { margin-top: 18px; }

.story-intro-media {
  grid-area: media;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--cream-deep);
  align-self: stretch;
  height: 100%;
}
.story-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.story-intro-media:hover img { transform: scale(1.04); }
.story-intro-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
}
.story-intro-tag svg { color: var(--maroon); }

/* ---- Team scroll-triggered section ----
   The outer is tall (creates scroll length).
   The inner is sticky (stays in view).
   Slides cross-fade as user scrolls through. */
.team-scroll {
  position: relative;
  background: var(--cream-deep);
  padding: 0;
  /* 1 viewport per slide + extra room at start/end */
  height: calc(100vh * 3.4);
}
.team-scroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.team-scroll-stage {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(80px, 8vw, 120px) var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}

.team-scroll-head .eyebrow { margin-bottom: 16px; }
.team-scroll-head .display {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 22px;
}
.team-scroll-head .lede { max-width: 42ch; margin-bottom: 32px; }

.team-progress {
  position: relative;
  width: 220px;
  max-width: 100%;
  height: 2px;
  background: rgba(22,22,26,0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.team-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--maroon);
  transition: width 0.5s var(--ease);
}
.team-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.team-counter [data-current] { color: var(--maroon); font-weight: 600; }
.team-counter-sep { opacity: 0.45; }

/* Slides container — all slides absolute over each other */
.team-slides {
  position: relative;
  height: 100%;
  min-height: 460px;
}
.team-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.team-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Slide media: photo with frame + maroon tag */
.team-slide-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 24px 52px -28px rgba(22,22,26,0.22);
}
.team-slide-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 35%, #fbf6e8 0%, var(--cream) 70%);
}
.team-slide-photo img {
  width: 60%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(22,22,26,0.12));
}
.team-slide-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--maroon);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 6px;
}

/* Slide text */
.team-slide-text { padding-right: 8px; }
.team-slide-num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--maroon);
  font-weight: 600;
  margin-bottom: 14px;
}
.team-slide-name {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.team-slide-role {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.team-slide-about {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}

@media (max-width: 1100px) {
  .story-intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "head"
      "body";
    gap: 28px;
  }
  .story-intro-media { aspect-ratio: 16 / 10; height: auto; }
  .team-scroll { height: calc(100vh * 3.4); }
  .team-scroll-stage { grid-template-columns: 1fr; gap: 36px; }
  .team-slide { grid-template-columns: 0.7fr 1fr; }
  .team-progress { width: 100%; max-width: 320px; }
}
@media (max-width: 700px) {
  .team-slide { grid-template-columns: 1fr; gap: 22px; }
  .team-slide-media { max-width: 280px; }
  .team-slides { min-height: 580px; }
}

/* =============================
   17. SCROLL REVEAL
   ============================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.4s; }

/* =============================
   18. RESPONSIVE
   ============================= */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat + .stat:nth-child(odd) { border-left: none; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
  .quarries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-side { position: static; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .grid-intro { grid-template-columns: 1fr; gap: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-side { padding-bottom: 0; }
}

@media (max-width: 820px) {
  .header-nav, .header-cta:not(.in-drawer) { display: none; }
  .header-burger { display: flex; }
  .header-pill { padding: 6px 6px 6px 18px; }
  .header-logo img { height: 48px; }
  .split { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 4.2rem); }
}

@media (max-width: 600px) {
  .cards-4, .stats-grid, .quarries-grid, .footer-cols { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
  .hero { padding: 130px 0 60px; }
  .hero-scroll { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .video-wrap { border-radius: 8px; }
}
