/* ============================================================
   BLACKBURN EXCAVATING — styles.css
   ============================================================ */


/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --color-black:     #0F0F0F;
  --color-charcoal:  #1F1F1F;
  --color-yellow:    #F5C518;
  --color-off-white: #FAFAF7;
  --color-stone:     #E8E5DE;
  --color-grey:      #4A4A4A;

  /* Fonts */
  --font-headline: 'Archivo Black', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Type scale */
  --text-hero:    clamp(44px, 5.5vw, 80px);
  --text-h2:      clamp(40px, 5vw, 72px);
  --text-h3:      clamp(22px, 2vw, 32px);
  --text-body:    17px;
  --text-eyebrow: 13px;

  /* Layout */
  --max-width:      1280px;
  --side-padding:   clamp(20px, 5vw, 80px);
  --section-pad:    clamp(80px, 12vh, 160px);
  --gap-cards:      24px;
  --gap-columns:    48px;
  --radius:         4px;

  /* Nav & topbar heights */
  --topbar-height: 44px;
  --nav-height: 80px;

  /* Motion */
  --ease-base: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:  150ms;
  --dur-base:  250ms;
  --dur-slow:  500ms;
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}


/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}


/* ============================================================
   VISUALLY HIDDEN (screen-reader only)
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--side-padding);
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-headline);
  line-height: 1.0;
  letter-spacing: -0.015em;
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-grey);
  display: block;
  margin-bottom: 0.75rem;
}

.eyebrow--yellow {
  color: var(--color-yellow);
}


/* ============================================================
   FOCUS STATES
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.875em 1.875em;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-base),
    color           var(--dur-fast) var(--ease-base),
    border-color    var(--dur-fast) var(--ease-base),
    transform       var(--dur-fast) var(--ease-base),
    box-shadow      var(--dur-fast) var(--ease-base);
}

/* Yellow filled */
.btn-primary {
  background-color: var(--color-yellow);
  color: var(--color-black);
  border-color: var(--color-yellow);
}

.btn-primary:hover {
  background-color: #d9ae0e;
  border-color: #d9ae0e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 197, 24, 0.35);
}

/* Outline — for use on dark/photo backgrounds */
.btn-outline {
  background-color: transparent;
  color: var(--color-off-white);
  border-color: rgba(250, 250, 247, 0.6);
}

.btn-outline:hover {
  background-color: var(--color-off-white);
  color: var(--color-black);
  border-color: var(--color-off-white);
}

/* Nav phone button overrides for light (un-scrolled) header state */
.site-header:not(.scrolled) .nav-phone.btn-outline {
  color: var(--color-black);
  border-color: rgba(15, 15, 15, 0.5);
}

.site-header:not(.scrolled) .nav-phone.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-off-white);
  border-color: var(--color-black);
}

/* Outline — for use on light backgrounds */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline-dark:hover {
  background-color: var(--color-black);
  color: var(--color-off-white);
}


/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding-block: var(--section-pad);
}

.section--dark {
  background-color: var(--color-charcoal);
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--color-off-white);
}

.section--light {
  background-color: var(--color-off-white);
}

.section--stone {
  background-color: var(--color-stone);
}

/* Scroll offset for sticky nav */
#hero, #about, #services, #materials, #bulkdrop, #community, #contact {
  scroll-margin-top: var(--nav-height);
}


/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-img {
  width: auto;
  height: 60px;
  object-fit: contain;
  display: block;
  transition: height var(--dur-base) var(--ease-base);
}

.site-header.scrolled .logo-img {
  height: 48px;
}

.footer-logo-img {
  height: 36px;
}


/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  height: var(--topbar-height);
  position: relative;
  z-index: 101;
}

.topbar-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--side-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(250, 250, 247, 0.55);
  transition: color var(--dur-fast);
  white-space: nowrap;
}

.topbar-link:hover {
  color: var(--color-off-white);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.topbar-social-link {
  display: flex;
  align-items: center;
  color: rgba(250, 250, 247, 0.45);
  transition: color var(--dur-fast);
}

.topbar-social-link:hover {
  color: var(--color-yellow);
}

@media (max-width: 600px) {
  .topbar-email {
    display: none;
  }

  .topbar-divider {
    display: none;
  }
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #ffffff2b;
  transition:
    background-color var(--dur-base) var(--ease-base),
    box-shadow       var(--dur-base) var(--ease-base);
}

.site-header.scrolled {
  background-color: var(--color-charcoal);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.125rem;
  height: var(--nav-height);
}

.nav-logo {
  flex-shrink: 0;
  margin-right: auto;
}

/* Logo swap: dark version on unscrolled (light bg), white version when scrolled */
.logo-img--light { display: none; }
.logo-img--dark  { display: block; }

.site-header.scrolled .logo-img--light { display: block; }
.site-header.scrolled .logo-img--dark  { display: none; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--dur-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-yellow);
  transition: width var(--dur-base) var(--ease-base);
}

.nav-links a:hover {
  color: var(--color-black);
}

.nav-links a:hover::after {
  width: 100%;
}

.site-header.scrolled .nav-links a {
  color: rgba(250, 250, 247, 0.85);
}

.site-header.scrolled .nav-links a:hover {
  color: var(--color-off-white);
}

.nav-phone {
  padding: 0.55em 1.1em;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-base), opacity var(--dur-base) var(--ease-base), background-color var(--dur-base) var(--ease-base);
  transform-origin: center;
}

.site-header.scrolled .nav-hamburger span {
  background-color: var(--color-off-white);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  /* Hidden by default */
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--dur-base) var(--ease-base),
    visibility 0s var(--dur-base);
}

.nav-overlay.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform var(--dur-base) var(--ease-base),
    visibility 0s;
}

.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-off-white);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}

.nav-overlay-close:hover {
  color: var(--color-yellow);
  background-color: rgba(255,255,255,0.05);
}

.nav-overlay nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

.nav-overlay nav a {
  font-family: var(--font-headline);
  font-size: clamp(28px, 7vw, 48px);
  color: var(--color-off-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast);
}

.nav-overlay nav a:hover {
  color: var(--color-yellow);
}

.nav-overlay-cta {
  margin-top: 0.5rem;
}


/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity  var(--dur-slow) var(--ease-base),
      transform var(--dur-slow) var(--ease-base);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal--delay-1 { transition-delay: 100ms; }
  .reveal--delay-2 { transition-delay: 200ms; }
  .reveal--delay-3 { transition-delay: 300ms; }
  .reveal--delay-4 { transition-delay: 400ms; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-black);
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--color-off-white);
  padding-block: clamp(56px, 8vh, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--gap-columns);
  padding-bottom: clamp(40px, 5vh, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  align-items: start;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
  line-height: 1.5;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-service-area {
  margin-top: 1rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.footer-area-label {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--color-yellow);
  margin-bottom: 0.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--color-yellow);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast);
}

.footer-contact a:hover {
  color: var(--color-yellow);
}

.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.6);
  transition:
    border-color var(--dur-fast),
    color        var(--dur-fast),
    background-color var(--dur-fast);
}

.social-link:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  background-color: rgba(245, 197, 24, 0.08);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bar a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.footer-bar a:hover {
  color: var(--color-yellow);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Hide desktop nav links & phone, show hamburger */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.8em 1.4em;
    font-size: 14px;
  }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  /* Pull up behind the sticky navbar so video shows through the transparent nav */
  margin-top: calc(-1 * var(--nav-height));
  min-height: calc(100vh - var(--topbar-height));
  min-height: calc(100svh - var(--topbar-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-color: var(--color-black);
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay — heavier at bottom-left for legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.55) 35%,
      rgba(10, 10, 10, 0.15) 70%,
      rgba(10, 10, 10, 0.1) 100%),
    linear-gradient(to right,
      rgba(10, 10, 10, 0.4) 0%,
      rgba(10, 10, 10, 0) 60%);
}

/* Inner container — full height, content sits at bottom */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: clamp(60px, 10vh, 120px);
}

.hero-content {
  max-width: 660px;
}

/* Load animation for hero content */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow { animation: hero-fade-up 0.5s var(--ease-base) 50ms  both; }
  .hero-h1      { animation: hero-fade-up 0.5s var(--ease-base) 200ms both; }
  .hero-sub     { animation: hero-fade-up 0.5s var(--ease-base) 350ms both; }
  .hero-cta-row { animation: hero-fade-up 0.5s var(--ease-base) 470ms both; }
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-off-white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.8);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Timeline flourish — right edge */
.hero-timeline {
  position: absolute;
  right: var(--side-padding);
  bottom: clamp(80px, 14vh, 140px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-timeline-year {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  writing-mode: vertical-rl;
}

.hero-timeline-year:first-child {
  transform: rotate(180deg);
}

.hero-timeline-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--color-yellow), rgba(245, 197, 24, 0.25));
}

/* Hide timeline on narrow viewports where it crowds the content */
@media (max-width: 600px) {
  .hero-timeline {
    display: none;
  }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background-color: var(--color-stone);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* — Stats column — */
.about-stats {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.stat-item {
  padding-block: clamp(1.5rem, 3vh, 2.25rem);
}

.stat-number {
  font-family: var(--font-headline);
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-black);
  display: block;
}

.stat-number-place {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-black);
  display: block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-grey);
  display: block;
  margin-top: 0.375rem;
}

.stat-rule {
  border: none;
  border-top: 2px solid var(--color-yellow);
  margin: 0;
  opacity: 0.6;
}

/* — Copy column — */
.about-h2 {
  font-size: var(--text-h2);
  line-height: 1.0;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--color-grey);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2.25rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--color-yellow);
  transition: color var(--dur-fast), letter-spacing var(--dur-base) var(--ease-base);
}

.about-cta:hover {
  color: var(--color-grey);
  letter-spacing: 0.04em;
}

/* About responsive */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 56px);
  }

  .about-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  .stat-item:last-child {
    border-right: none;
  }

  .stat-number {
    font-size: clamp(36px, 7vw, 64px);
  }

  .stat-number-place {
    font-size: clamp(14px, 2.8vw, 24px);
  }

  .stat-rule {
    display: none;
  }

  .about-body {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .stat-item {
    padding: 1rem 0.75rem;
  }

  .stat-number {
    font-size: clamp(32px, 9vw, 48px);
  }

  .stat-number-place {
    font-size: clamp(12px, 3.5vw, 18px);
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   SHARED SECTION HEADER PATTERN
   ============================================================ */
.section-header {
  margin-bottom: clamp(40px, 6vh, 72px);
  max-width: 760px;
}

.section-h2 {
  font-size: var(--text-h2);
  line-height: 1.0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--color-grey);
  max-width: 640px;
}

.section--dark .section-sub {
  color: rgba(250, 250, 247, 0.65);
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background-color: #00000003;
}

.services-group {
  margin-bottom: clamp(48px, 8vh, 96px);
}

.services-group:last-child {
  margin-bottom: 0;
}

.group-label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.group-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-black);
  white-space: nowrap;
}

.group-rule {
  flex: 1;
  height: 2px;
  background-color: var(--color-yellow);
  opacity: 0.5;
}

/* Card grids */
.service-cards {
  display: grid;
  gap: var(--gap-cards);
}

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

/* 5 cards: 6-column base, each spans 2, last row centered */
.service-cards--5 {
  grid-template-columns: repeat(6, 1fr);
}

.service-cards--5 .service-card {
  grid-column: span 2;
}

.service-cards--5 .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

/* Cards */
.service-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur-base) var(--ease-base), box-shadow var(--dur-base) var(--ease-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-base);
}

.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card-title {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
  color: var(--color-black);
}

.service-card-copy {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-grey);
}

.service-card-strong {
  font-weight: 600;
  color: var(--color-black);
  font-style: italic;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.service-card-list li {
  font-size: 14px;
  color: var(--color-grey);
  padding-left: 1.1em;
  position: relative;
}

.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background-color: var(--color-yellow);
  border-radius: 50%;
}

.service-card-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Yellow accent bar — slides in on hover */
.service-card-accent {
  height: 3px;
  background-color: var(--color-yellow);
  width: 0;
  transition: width 0.35s var(--ease-base);
  flex-shrink: 0;
}

.service-card:hover .service-card-accent {
  width: 100%;
}

/* Service cards responsive */
@media (max-width: 1024px) {
  .service-cards--5 {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-cards--5 .service-card {
    grid-column: span 2;
  }

  .service-cards--5 .service-card:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .service-cards--3,
  .service-cards--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards--5 .service-card,
  .service-cards--5 .service-card:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .service-cards--3,
  .service-cards--5 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   MATERIALS
   ============================================================ */
.materials {
  background-color: var(--color-stone);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--gap-cards);
  margin-bottom: clamp(40px, 6vh, 64px);
}

/* 8 cards × span 2 in 8-column grid = perfect 4+4 */
.material-card {
  grid-column: span 2;
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
  transition: box-shadow var(--dur-base) var(--ease-base);
  outline: 2px solid transparent;
  outline-offset: -2px;
}

.material-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  outline-color: var(--color-yellow);
}

.material-card-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.material-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-base);
}

.material-card:hover .material-card-img {
  transform: scale(1.05);
}

.material-card-name {
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: 0.01em;
}

/* CTA card — 8th item in the material grid */
.material-card--cta {
  background-color: var(--color-charcoal);
  cursor: default;
  display: flex;
}

.material-card--cta:hover {
  outline-color: var(--color-yellow);
}

.material-card-cta-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.material-card-cta-heading {
  font-family: var(--font-headline);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--color-off-white);
  line-height: 1.2;
}

.material-card-cta-sub {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.6);
  line-height: 1.5;
}

.material-card-cta-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-size: 13px;
  padding: 0.875em 1.5em;
}

.materials .section-header {
  max-width: 900px;
}

.materials .section-sub {
  max-width: 960px;
}

/* Materials responsive */
@media (max-width: 860px) {
  .material-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .material-card {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .material-card {
    grid-column: span 1;
  }
}


/* ============================================================
   BULKDROP
   ============================================================ */
.bulkdrop-header {
  margin-bottom: clamp(36px, 5vh, 60px);
}

.bulkdrop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.bulkdrop-h2 {
  font-size: var(--text-h2);
  line-height: 1.0;
  color: var(--color-off-white);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.bulkdrop-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: 2.5rem;
}

.bulkdrop-label {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-yellow);
  margin-bottom: 0.875rem;
}

.bulkdrop-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.bulkdrop-list li {
  font-size: 16px;
  color: rgba(250, 250, 247, 0.8);
  padding-left: 1.25em;
  position: relative;
}

.bulkdrop-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--color-yellow);
  border-radius: 50%;
}

/* How it works steps */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 250, 247, 0.1);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.125rem 0.75rem;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  border-left: 3px solid transparent;
  transition:
    background-color var(--dur-base) var(--ease-base),
    border-left-color var(--dur-fast);
  cursor: default;
}

.step-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-left-color: var(--color-yellow);
}

.step-num {
  font-family: var(--font-headline);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
  color: var(--color-yellow);
  flex-shrink: 0;
  width: 2.5ch;
  letter-spacing: -0.03em;
  transition: color var(--dur-fast);
}

.step-item:hover .step-num {
  color: #fff;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.step-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-off-white);
  display: block;
}

.step-desc {
  font-size: 15px;
  color: rgba(250, 250, 247, 0.65);
  line-height: 1.5;
  transition: color var(--dur-fast);
}

.step-item:hover .step-desc {
  color: rgba(250, 250, 247, 0.85);
}

/* Right photo */
.bulkdrop-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.bulkdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

/* BulkDrop responsive */
@media (max-width: 860px) {
  .bulkdrop-grid {
    grid-template-columns: 1fr;
  }

  .bulkdrop-photo {
    order: -1;
    max-height: 400px;
  }

  .bulkdrop-img {
    aspect-ratio: 16 / 9;
    max-height: 400px;
  }
}


/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  background-color: var(--color-off-white);
}

.community .section-header {
  max-width: 900px;
}

.community-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 17px;
  color: var(--color-grey);
  max-width: 900px;
  margin-top: 1rem;
}

/* Sponsor marquee */
.marquee {
  overflow: hidden;
  margin-block: clamp(40px, 6vh, 72px);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 80px);
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .marquee-track {
    animation: marquee-scroll 32s linear infinite;
  }

  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-logo {
  height: clamp(60px, 6vw, 76px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--dur-base);
}

.marquee-logo:hover {
  filter: grayscale(0) opacity(1);
}

/* Sponsor text list */
.sponsors-list {
  border-top: 1px solid var(--color-stone);
  padding-top: clamp(32px, 5vh, 56px);
}

.sponsors-text-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem 3rem;
}

.sponsors-text-list li {
  font-size: 15px;
  color: var(--color-grey);
  padding-left: 1.1em;
  position: relative;
}

.sponsors-text-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background-color: var(--color-yellow);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .sponsors-text-list {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background-color: var(--color-stone);
}

/* Social links inside contact info — text + icon, dark style */
.contact-info-block .social-links {
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
}

.contact-info-block .social-link {
  width: auto;
  height: auto;
  padding: 0.5rem 0.875rem;
  border-color: rgba(15, 15, 15, 0.18);
  color: var(--color-black);
  font-size: 14px;
  font-weight: 600;
  justify-content: flex-start;
  gap: 0.625rem;
}

.contact-info-block .social-link:hover {
  border-color: var(--color-yellow);
  color: var(--color-black);
  background-color: rgba(245, 197, 24, 0.12);
}

.contact-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: 0.01em;
}

.form-required {
  color: var(--color-yellow);
  font-size: 1em;
}

.form-optional {
  font-weight: 400;
  color: var(--color-grey);
  font-size: 13px;
}

.form-input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-black);
  background-color: #fff;
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius);
  padding: 0.75em 1em;
  width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(74, 74, 74, 0.45);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Success state */
.form-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 8vh, 80px) 2rem;
  gap: 1rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.form-success-title {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--color-black);
}

.form-success-msg {
  font-size: 16px;
  color: var(--color-grey);
}

/* Contact info */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 15, 15, 0.12);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-grey);
  padding-top: 2px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--color-black);
  font-style: normal;
  line-height: 1.5;
  transition: color var(--dur-fast);
}

a.contact-info-value:hover {
  color: var(--color-grey);
}

.contact-phone {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Map */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--color-stone);
}

.contact-map iframe {
  display: block;
  width: 100%;
}

/* Contact responsive */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
