/* ============================================================
   West Four — corporate site
   Light corporate-industrial direction (price-pierce reference).
   Tokens at top — tune palette/type/motion in one place.
   ============================================================ */

/* DIN Pro — self-hosted (web license confirmed by Jay, 2026-05-26).
   WOFF2 first (smallest), OTF fallback for older browsers. */
@font-face {
  font-family: "DIN Pro";
  src: url("../assets/fonts/DINPro-Light.woff2") format("woff2"),
       url("../assets/fonts/DINPro-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Pro";
  src: url("../assets/fonts/DINPro.woff2") format("woff2"),
       url("../assets/fonts/DINPro.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Pro";
  src: url("../assets/fonts/DINPro-Medium.woff2") format("woff2"),
       url("../assets/fonts/DINPro-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Pro";
  src: url("../assets/fonts/DINPro-Bold.woff2") format("woff2"),
       url("../assets/fonts/DINPro-Bold.otf") format("opentype");
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Pro";
  src: url("../assets/fonts/DINPro-Black.woff2") format("woff2"),
       url("../assets/fonts/DINPro-Black.otf") format("opentype");
  font-weight: 800 900; font-style: normal; font-display: swap;
}

:root {
  /* Palette — warm cream surface, deep ink text, restrained accent.
     Operating brands carry their own colour on the brand cards. */
  --bg:           #F5F2EC;  /* warm cream */
  --bg-elev:     #ECE7DD;  /* slightly deeper cream */
  --bg-dark:     #0E0E0E;  /* used by footer + photo-overlay sections */
  --line:        rgba(14, 14, 14, 0.10);
  --line-strong: rgba(14, 14, 14, 0.22);
  --text:        #161513;
  --text-muted: #6B6862;
  --text-on-dark: #F5F2EC;
  --muted-on-dark: rgba(245, 242, 236, 0.7);
  --accent:      #2E4F47;  /* deep forest/teal — industrial-confident */
  --accent-brand: #2E4F47; /* default; brand cards override inline */

  /* Typography — DIN Pro (matches the West Four wordmark), no serif. */
  --font-sans: "DIN Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --fs-eyebrow: clamp(.7rem, .66rem + .2vw, .8rem);
  --fs-body:    clamp(1rem, .94rem + .3vw, 1.125rem);
  --fs-lede:    clamp(1.15rem, 1rem + .7vw, 1.5rem);
  --fs-h2:      clamp(2rem, 1.3rem + 3vw, 4rem);
  --fs-display: clamp(2.75rem, 1.6rem + 6vw, 7.5rem);

  /* Spacing */
  --pad-x: clamp(1.25rem, 1rem + 3vw, 5rem);
  --pad-y: clamp(4rem, 2.5rem + 6vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ===================== Loader = the doors =====================
   The intro screen is two dark panels with the wordmark straddling the seam
   (WEST on the left door, FOUR on the right). When the page is ready the
   progress line fades and the doors part, carrying the logo halves with them,
   revealing the hero; the headline then rises (see Hero reveal below). */
.loader {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  --logo-w: clamp(170px, 22vw, 250px);
}
.loader__door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: var(--bg-dark); overflow: hidden;
  transition: transform 1.15s cubic-bezier(.76, 0, .24, 1) .1s; /* a beat after the bars meet */
}
.loader__door--l { left: 0; width: calc(50% + 1px); /* tucks 1px under the right door: no seam, no sliver */ }
.loader__door--r { right: 0; }
.loader__logo {
  position: absolute; top: 50%; width: var(--logo-w); max-width: none; height: auto;
  transform: translate(-51.1%, -58%); /* 51.1% = the gap between WEST and FOUR; the seam lands there */
}
.loader__door--l .loader__logo { left: 50vw; }
.loader__door--r .loader__logo { left: 0; }
/* Progress line: one half in each door, growing from the outside toward the
   seam. When they meet, the doors split (main.js times the split to the fill). */
.loader__bar {
  position: absolute; top: calc(50% + var(--logo-w) * .06 + 1.6rem);
  width: clamp(60px, 9vw, 110px); height: 1px;
  background: var(--text-on-dark);
  transform: scaleX(0); transition: transform 1.2s var(--ease);
}
.loader__bar--l { right: 0; transform-origin: left; }
.loader__bar--r { left: 0; transform-origin: right; }
.loader.is-loading .loader__bar { transform: scaleX(1); }
.loader.is-opening .loader__door--l { transform: translateX(-101%); }
.loader.is-opening .loader__door--r { transform: translateX(101%); }
.loader.is-done { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.5rem var(--pad-x);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
}
/* Default state (over the hero photo): white logo + white text */
.site-header__brand img { height: 30px; width: auto; transition: height .4s var(--ease); }
.site-header__brand-dark { display: none; }
.site-header__brand-light { display: block; }
.site-header__nav a,
.site-header__cta { color: var(--text-on-dark); }
.site-header__cta { border: 1px solid rgba(245,242,236,.4); }
.site-header__menu span { background: var(--text-on-dark); }

/* Scrolled state (cream background): black logo + dark text */
.site-header.is-scrolled {
  background: rgba(245, 242, 236, .85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding-top: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled .site-header__brand-dark { display: block; }
.site-header.is-scrolled .site-header__brand-light { display: none; }
.site-header.is-scrolled .site-header__brand img { height: 24px; }
.site-header.is-scrolled .site-header__nav a { color: var(--text-muted); }
.site-header.is-scrolled .site-header__cta { color: var(--text); border-color: var(--line-strong); }
.site-header.is-scrolled .site-header__menu span { background: var(--text); }

.site-header__brand { display: inline-flex; align-items: center; }

.site-header__nav {
  margin-left: auto;
  display: flex; gap: 2rem;
  font-size: .92rem; font-weight: 500;
}
.site-header__nav a {
  position: relative;
  transition: color .3s var(--ease);
}
.site-header__nav a:hover { color: var(--text-on-dark); }
.site-header.is-scrolled .site-header__nav a:hover { color: var(--text); }
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-header__nav a:hover::after { transform: scaleX(1); }

.site-header__cta {
  padding: .65rem 1.2rem; border-radius: 999px;
  font-size: .88rem; font-weight: 500;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-header__cta:hover { background: var(--text-on-dark); color: var(--text); border-color: var(--text-on-dark); }
.site-header.is-scrolled .site-header__cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.site-header__menu { display: none; width: 32px; height: 32px; position: relative; }
.site-header__menu span {
  position: absolute; left: 4px; right: 4px; height: 1px;
  transition: transform .3s var(--ease), top .3s var(--ease), background .3s var(--ease);
}
.site-header__menu span:nth-child(1) { top: 12px; }
.site-header__menu span:nth-child(2) { top: 20px; }

/* ===================== Hero ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--pad-y) + 2rem) var(--pad-x) calc(var(--pad-y) - 1rem);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden;
  color: var(--text-on-dark);
}
.hero__media {
  position: absolute; inset: 0;
  background-color: #1a1a1a;
  background-image: url("../assets/images/hero-hq-sky.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(.95) brightness(.9);
  transform: scale(1.04);
  animation: heroKenBurns 18s var(--ease) infinite alternate;
}
/* Responsive hero: phones and tablets get a lighter file (same crop). */
@media (max-width: 640px)  { .hero__media { background-image: url("../assets/images/hero-hq-sky-1200.jpg"); } }
@media (min-width: 641px) and (max-width: 1280px) { .hero__media { background-image: url("../assets/images/hero-hq-sky-1800.jpg"); } }
@keyframes heroKenBurns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,14,14,.38) 0%,
    rgba(14,14,14,.34) 55%,
    rgba(14,14,14,.44) 100%);
}
.hero__content { position: relative; max-width: 60rem; text-align: center; }
.hero__content .hero__actions { justify-content: center; }

.eyebrow {
  display: block;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: var(--fs-eyebrow); color: var(--text-muted);
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.eyebrow--light { color: rgba(245,242,236,.85); }
.eyebrow--center { text-align: center; }

.display {
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.035em;
  margin: 0 0 2rem;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--text);
}
.display--light { color: var(--text-on-dark); }
.display--md { font-size: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }

.lede {
  font-size: var(--fs-lede); line-height: 1.4;
  color: var(--text); max-width: 48ch;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  text-wrap: balance;
}
.lede--light { color: rgba(245,242,236,.92); }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent); color: var(--text-on-dark); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--on-image.btn--primary { background: var(--text-on-dark); color: var(--text); }
.btn--on-image.btn--primary:hover { background: var(--accent); color: var(--text-on-dark); }
.btn--on-image.btn--ghost { border-color: rgba(245,242,236,.5); color: var(--text-on-dark); }
.btn--on-image.btn--ghost:hover { border-color: var(--text-on-dark); }

.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  color: rgba(245,242,236,.7);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 50px; background: rgba(245,242,236,.4);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: -50% 0 100% 0;
  background: var(--text-on-dark);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { inset: -50% 0 100% 0; }
  60%  { inset: 100% 0 -50% 0; }
  100% { inset: 100% 0 -50% 0; }
}

/* ===================== Stats band ===================== */
.stats {
  background: var(--text); color: var(--text-on-dark);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--pad-x);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem clamp(2rem, 4vw, 4rem);
  max-width: 90rem; margin: 0 auto;
}
.stats__grid > div {
  display: flex; flex-direction: column; gap: .4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245,242,236,.18);
}
.stats__num {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
}
.stats__num sup { font-size: .45em; vertical-align: super; font-weight: 500; margin-left: .1em; letter-spacing: 0; }
.stats__label { color: var(--muted-on-dark); font-size: .92rem; }

/* ===================== Value props ===================== */
.props {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
}
.props > .eyebrow { display: flex; max-width: 90rem; margin: 0 auto 2.5rem; }
.props__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 90rem; margin: 0 auto;
}
.props article {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 1.5rem;
}
.props__rule { width: 100%; height: 1px; background: var(--text); }
.props h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem);
  font-weight: 600; letter-spacing: -.025em;
  line-height: 1.15; margin: 0;
  max-width: 18ch;
}
.props p { margin: 0; color: var(--text-muted); max-width: 38ch; }

/* ===================== Featured story (video) ===================== */
.section--story {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  border-bottom: 0;
}
.story { max-width: 70rem; margin: 0 auto; }
.section--story .eyebrow--center { color: var(--muted-on-dark); }
.section--story .headline { color: var(--text-on-dark); max-width: 22ch; margin-inline: auto; }
.story__lede {
  color: var(--muted-on-dark);
  max-width: 56ch;
  margin: 1.5rem auto 0;
  font-size: var(--fs-lede);
  line-height: 1.4;
}
.story__video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 3rem auto 0;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.story__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.story__play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  cursor: pointer; background: #000;
  overflow: hidden;
}
.story__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.95) brightness(.92);
  transition: transform .8s var(--ease), filter .4s var(--ease);
}
.story__play:hover .story__poster { transform: scale(1.04); filter: saturate(1) brightness(.82); }
.story__play-icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.story__play-icon svg { transition: transform .4s var(--ease); }
.story__play:hover .story__play-icon svg { transform: scale(1.08); }
.story__link {
  margin: 2.5rem auto 0;
  color: var(--text-on-dark);
}
.story__link:hover { color: var(--accent); }

/* ===================== Sections ===================== */
.section {
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.section--light { background: var(--bg-elev); }
.section__head { max-width: 70rem; margin: 0 auto 3rem; }
.headline {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 28ch;
  text-wrap: balance;
  color: var(--text);
}
.section__sub { color: var(--text-muted); max-width: 60ch; margin-top: 1.5rem; }

.section--split {
  display: grid; gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .section--split { grid-template-columns: 1.1fr 1fr; }
  .section--split .section__head { margin: 0; }
}
.section--split .section__body p { margin: 0 0 1.25rem; max-width: 48ch; color: var(--text); }
.section--split .section__body em { color: var(--text-muted); font-style: italic; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--text); font-weight: 500;
  margin-top: 1.25rem;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover span { transform: translateX(6px); }

/* ===================== Brand grid ===================== */
.brand-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 90rem; margin: 0 auto;
}
.brand-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-brand);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent-brand) 45%, transparent);
}
.brand-card:hover .link-arrow { color: var(--accent-brand); }
.brand-card:hover .brand-card__media { background-color: color-mix(in srgb, var(--accent-brand) 92%, black); }

.brand-card__media {
  aspect-ratio: 4 / 3;
  background-color: var(--text);
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
  transition: filter .6s var(--ease);
  filter: brightness(var(--img-bright, 1)) saturate(.85) contrast(1.04);
}
.brand-card:hover .brand-card__media { filter: brightness(var(--img-bright, 1)) saturate(1.02) contrast(1.04); }

/* Brand card photography (Jay's picks). One uniform grade keeps the set cohesive. */
.brand-card__media[data-brand="madero"]       { background-image: url("../assets/images/brand-madero-cabin.webp"); }
.brand-card__media[data-brand="penner"]       { background-image: url("../assets/images/brand-penner.webp"); }
.brand-card__media[data-brand="wsi"]          { background-image: url("../assets/images/brand-wsi.webp"); }
.brand-card__media[data-brand="sbs"]          { background-image: url("../assets/images/brand-sbs.webp"); }
.brand-card__media[data-brand="twosix"]       { background-image: url("../assets/images/brand-twosix.jpg"); }
.brand-card__media[data-brand="distribution"] { background-image: url("../assets/images/brand-distribution.jpg?v=2"); }

/* Per-brand brightness so the darker photos match the brighter ones */
.brand-card__media[data-brand="madero"]       { --img-bright: 1.25; }
.brand-card__media[data-brand="penner"]       { --img-bright: 1.30; }
.brand-card__media[data-brand="wsi"]          { --img-bright: 0.92; }
.brand-card__media[data-brand="sbs"]          { --img-bright: 1.35; }
.brand-card__media[data-brand="aluminum"]     { --img-bright: 1.05; }

/* West Four Distribution — uses the diamond pattern from West Four's
   business-card motif. Distinctive among the otherwise-photographic cards. */
.brand-card__media--pattern {
  filter: none;
  background:
    radial-gradient(120% 90% at 50% 50%, color-mix(in srgb, var(--accent-brand) 65%, #0B0B0B) 0%, #0B0B0B 80%),
    #0B0B0B;
}
.brand-card__media--pattern::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='none' stroke='%23F5F2EC' stroke-opacity='.22' stroke-width='1'><path d='M30 2 L58 30 L30 58 L2 30 Z'/><path d='M30 14 L46 30 L30 46 L14 30 Z'/></g></svg>");
  background-size: 60px 60px;
  opacity: .9;
}
.brand-card:hover .brand-card__media--pattern { filter: none; }
.brand-card:hover .brand-card__media--pattern::after { opacity: 1; }
.brand-card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.brand-card__body h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}
.brand-card__body p { margin: 0; color: var(--text-muted); }
.brand-card__body .link-arrow { margin-top: auto; }
.brand-card--utility { background: transparent; border-style: dashed; }
.brand-card--utility:hover { background: var(--bg); border-style: solid; }

/* ===================== Projects (horizontal scroll carousel) ===================== */
.section--projects { background: var(--bg); overflow: hidden; }
.projects {
  display: flex;
  gap: 1.5rem;
  padding: 0 var(--pad-x) 1rem;
  margin: 0 calc(var(--pad-x) * -1);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}
.projects::-webkit-scrollbar { display: none; }
.project {
  display: flex; flex-direction: column; gap: 1.25rem;
  flex: 0 0 clamp(280px, 32vw, 420px);
  scroll-snap-align: start;
}
.project__media {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--text);
}

/* Carousel controls */
.projects__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem;
  max-width: 90rem;
  margin: 2rem auto 0;
}
.projects__btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.projects__btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}
.projects__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}
.projects__btn:disabled:hover { background: transparent; color: var(--text); border-color: var(--line-strong); }
.projects__hint {
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92) brightness(.96);
  transition: filter .4s var(--ease), transform .8s var(--ease);
}
.project:hover .project__media img { filter: saturate(1) brightness(1); transform: scale(1.03); }
.project__meta {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}
.project__name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--text);
}
.project__desc { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: .95rem; }

/* ===================== Vendor partner strip (auto-scroll marquee) ===================== */
.vendor-strip {
  background: var(--bg-elev);
  padding: clamp(2rem, 3vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.vendor-strip__inner { max-width: 90rem; margin: 0 auto 1.5rem; text-align: center; padding: 0 var(--pad-x); }
.vendor-strip__label { display: block; margin: 0; }

.vendor-strip__marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.vendor-strip__marquee::before,
.vendor-strip__marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.vendor-strip__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-elev), transparent);
}
.vendor-strip__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-elev), transparent);
}

.vendor-strip__track {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-shrink: 0;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-right: clamp(2.5rem, 5vw, 4.5rem);
  animation: vendorMarquee 70s linear infinite;
  will-change: transform;
}
.vendor-strip:hover .vendor-strip__track { animation-play-state: paused; }
@keyframes vendorMarquee {
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .vendor-strip__track { animation: none; }
}

.vendor-strip__track li {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1rem, .9rem + .4vw, 1.25rem);
  letter-spacing: .06em;
  color: var(--text);
  text-transform: uppercase;
  opacity: .5;
  transition: opacity .3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: clamp(28px, 3.2vw, 40px);
}
.vendor-strip__track li img {
  height: 100%;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  filter: grayscale(1);
}
.vendor-strip__track li:hover { opacity: 1; }

/* ===================== Community ===================== */
.section--community { background: var(--bg); }
.community {
  max-width: 90rem; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: center;
}
@media (min-width: 800px) {
  .community { grid-template-columns: minmax(240px, 1fr) 1.8fr; }
}
.community__logo {
  display: block;
  max-width: 300px;
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.community__logo:hover { opacity: .85; transform: translateY(-2px); }
.community__logo img { width: 100%; height: auto; display: block; }
.community__lead p {
  margin: 0 0 1.25rem;
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--text);
  max-width: 60ch;
}
.community__lead p:last-child { margin-bottom: 0; }
.community__lead strong { font-weight: 600; }

/* ===================== Footer legal/social row ===================== */
.site-footer__legal {
  display: flex; align-items: center; gap: 1.25rem;
}
.site-footer__legal a { color: var(--muted-on-dark); transition: color .3s var(--ease); }
.site-footer__legal a:hover { color: var(--text-on-dark); }
.site-footer__social { display: inline-flex; align-items: center; }
.site-footer__social svg { display: block; }

/* ===================== Leadership ===================== */
.section--leadership { background: var(--bg); }
.leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3vw, 3rem) 2rem;
  max-width: 90rem;
  margin: 0 auto;
}
.leader {
  display: flex; flex-direction: column;
  padding-top: 1.5rem;
  border-top: 1px solid var(--text);
}
.leader__name {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--text);
}
.leader__title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--text-muted);
  margin: .35rem 0 1.25rem;
  font-weight: 500;
}
.leader__bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: .95rem;
  max-width: 42ch;
}
@media (max-width: 900px) {
  .leaders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .leaders { grid-template-columns: 1fr; }
}

/* ===================== Feature (Work with us) ===================== */
.section--feature { background: var(--bg-dark); color: var(--text-on-dark); border-bottom-color: transparent; }
.section--feature .headline { color: var(--text-on-dark); }
.section--feature .eyebrow { color: var(--muted-on-dark); }
.section--feature p { color: var(--muted-on-dark); }
.section--feature .bullets li { color: var(--text-on-dark); }
.section--feature .bullets li::before { background: var(--text-on-dark); }
.section--feature .btn--primary { background: var(--text-on-dark); color: var(--text); }
.section--feature .btn--primary:hover { background: var(--accent); color: var(--text-on-dark); }

.feature {
  display: grid; gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 90rem; margin: 0 auto;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
}
.feature__media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background-color: #1a1a1a;
  background-image: url("../assets/images/feature.webp");
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  filter: saturate(.92);
}
.feature__copy .headline { max-width: 22ch; }
.bullets { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .75rem; }
.bullets li { position: relative; padding-left: 1.5rem; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .75em;
  width: .7rem; height: 1px; background: var(--text);
}

/* ===================== Press (accordion) ===================== */
.press-list { list-style: none; padding: 0; margin: 0; max-width: 90rem; margin-inline: auto; }
.press-list li { border-top: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 1px solid var(--line); }

.press-item { /* native <details> reset */ }
.press-item > summary { list-style: none; cursor: pointer; }
.press-item > summary::-webkit-details-marker { display: none; }

.press-list__row {
  display: grid;
  grid-template-columns: 110px 1fr auto 28px;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.75rem 0;
  transition: padding-left .4s var(--ease), color .3s var(--ease);
}
.press-list__row:hover { padding-left: 1rem; }
.press-list__row:hover .press-list__title { color: var(--accent); }
.press-list__date { font-weight: 600; font-size: .95rem; color: var(--text-muted); letter-spacing: .04em; }
.press-list__title { font-size: 1.1rem; color: var(--text); font-weight: 500; transition: color .3s var(--ease); }
.press-list__source { color: var(--text-muted); font-size: .9rem; }
.press-list__chev {
  width: 14px; height: 14px;
  position: relative; align-self: center;
}
.press-list__chev::before,
.press-list__chev::after {
  content: ""; position: absolute;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.press-list__chev::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); } /* horizontal bar */
.press-list__chev::after  { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }  /* vertical bar */
.press-item[open] .press-list__chev::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

/* Expanded body */
.press-item__body {
  padding: 0 0 2.5rem;
  display: grid;
  gap: 1.75rem;
  animation: pressOpen .5s var(--ease);
}
@keyframes pressOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.press-item__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.press-item__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.press-item__copy { display: grid; gap: 1rem; max-width: 70ch; }
.press-item__copy p { margin: 0; color: var(--text); line-height: 1.6; }
.press-item__meta {
  font-size: .92rem; color: var(--text-muted) !important;
  padding-top: .5rem; border-top: 1px solid var(--line);
}
.press-item__meta strong { color: var(--text); font-weight: 600; }
.press-item__body--simple { padding-bottom: 2rem; gap: 1.1rem; max-width: 70ch; }
.press-item__body--simple p { margin: 0; color: var(--text); line-height: 1.6; }
.press-item__byline {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--text-muted) !important;
  font-weight: 500;
}
.press-item__about {
  margin-top: .5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--line);
  color: var(--text-muted) !important;
  font-size: .95rem;
}
.press-item__about strong { color: var(--text); }
.press-item__source {
  margin-top: .5rem !important;
  font-size: .85rem;
  color: var(--text-muted) !important;
  font-style: italic;
}
.press-item__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.press-item__gallery img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: var(--text);
  filter: saturate(.92) brightness(.96);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.press-item__gallery img:hover { filter: saturate(1) brightness(1); transform: scale(1.02); }
.press-item__body .link-arrow { margin-top: 0; }

@media (max-width: 700px) {
  .press-list__row {
    grid-template-columns: 1fr 24px;
    grid-template-rows: auto auto auto;
    gap: .25rem;
  }
  .press-list__date { grid-column: 1; grid-row: 1; }
  .press-list__title { grid-column: 1; grid-row: 2; }
  .press-list__source { grid-column: 1; grid-row: 3; }
  .press-list__chev { grid-column: 2; grid-row: 1 / -1; align-self: center; }
  .press-item__gallery { grid-template-columns: 1fr; }
}

/* ===================== Affiliations ===================== */
.section--affiliations { background: var(--bg-elev); }
.affiliations { max-width: 90rem; margin: 0 auto; }
.affiliations__title { max-width: 32ch; margin-bottom: 2.5rem; }

.affiliations__cert {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin: 0 0 3rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  max-width: 60rem;
}
.affiliations__cert-mark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: var(--text);
  padding: .55rem 1.05rem;
  border: 2px solid var(--text);
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1;
}
.affiliations__cert-mark sup { font-size: .45em; vertical-align: super; font-weight: 600; }
.affiliations__cert-text { display: flex; flex-direction: column; gap: .35rem; }
.affiliations__cert-title { font-weight: 600; color: var(--text); margin: 0; font-size: 1.05rem; }
.affiliations__cert-desc { font-size: .92rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.eyebrow--sub { margin-bottom: 1rem; }

@media (max-width: 600px) {
  .affiliations__cert { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
.affiliations__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .6rem .5rem;
}
.affiliations__list a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.affiliations__list a::after {
  content: "↗";
  font-size: .8rem;
  color: var(--text-muted);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.affiliations__list a:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}
.affiliations__list a:hover::after {
  color: var(--bg);
  transform: translate(2px, -2px);
}

/* ===================== Contact ===================== */
.section--contact { background: var(--bg); border-bottom: 0; }
.contact { max-width: 70rem; margin: 0 auto; }
.contact__grid {
  display: grid; gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 3rem;
}
.contact__label {
  text-transform: uppercase; letter-spacing: .15em;
  font-size: .78rem; color: var(--text-muted); margin: 0 0 .75rem;
  font-weight: 500;
}
.contact__grid a { display: block; padding: .15rem 0; transition: color .3s var(--ease); }
.contact__grid a:hover { color: var(--accent); }

/* ===================== Footer ===================== */
.site-footer {
  padding: var(--pad-y) var(--pad-x) 2rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 0;
}
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; max-width: 60ch; margin-bottom: 4rem; }
.site-footer__logo { height: 80px; width: auto; align-self: flex-start; }
.site-footer__statement {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
.site-footer__cols {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 3rem; border-bottom: 1px solid rgba(245,242,236,.15);
}
.site-footer__cols .contact__label { color: var(--muted-on-dark); }
.site-footer__cols a { display: block; padding: .25rem 0; color: var(--muted-on-dark); transition: color .3s var(--ease); }
/* Non-linked entries (e.g. West Four Aluminum until its site exists): same look as links, no hover */
.site-footer__cols span:not(.contact__label) { display: block; padding: .25rem 0; color: var(--muted-on-dark); cursor: default; }
.site-footer__cols a:hover { color: var(--text-on-dark); }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem; color: var(--muted-on-dark); font-size: .85rem;
}

/* ===================== Reveal animation ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===================== Mobile nav ===================== */
@media (max-width: 880px) {
  .site-header__nav {
    position: fixed; top: 0; right: 0;
    height: 100vh; height: 100svh; width: min(360px, 86vw);
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.25rem;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    border-left: 1px solid var(--line);
  }
  .site-header__nav.is-open { transform: none; }
  .site-header__nav a { font-size: 1.4rem; color: var(--text) !important; }
  .site-header__cta { display: none; }
  .site-header__menu { display: block; margin-left: auto; }
  body.is-menu-open .site-header__menu span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  body.is-menu-open .site-header__menu span:nth-child(2) { top: 16px; transform: rotate(-45deg); }
  body.is-menu-open .site-header__menu span { background: var(--text) !important; }
}

/* ===================== Brand logos on cards ===================== */
/* Files are trimmed to their artwork; a shared box keeps visual weight even. */
.brand-card__logo {
  height: 56px; width: auto; max-width: 250px;
  object-fit: contain; object-position: left center;
  margin-bottom: .5rem;
}
.brand-card__logo[src*="logo-sbs"]    { height: 88px; }
.brand-card__logo[src*="logo-penner"] { height: 46px; max-width: 270px; }
.brand-card__logo[src*="logo-twosix"] { height: 42px; }
.brand-card--static { cursor: default; }
.brand-card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.brand-card__soon {
  margin-top: auto;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.brand-card__media[data-brand="aluminum"] {
  background-image: url("../assets/images/brand-aluminum.jpg");
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===================== Responsibility ===================== */
.resp {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 90rem; margin: 0 auto;
}
.resp__item { display: flex; flex-direction: column; gap: .9rem; padding-top: 1.5rem; }
.resp__label {
  margin: 0;
  font-size: var(--fs-eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-muted);
}
.resp__item h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
}
.resp__item p { margin: 0; color: var(--text-muted); max-width: 42ch; }
.resp__mark {
  align-self: flex-start;
  font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1;
  padding: .5rem .95rem;
  border: 2px solid var(--text); border-radius: 4px;
}
.resp__mark sup { font-size: .45em; vertical-align: super; font-weight: 600; }
.resp__logo { display: block; width: 150px; }
.resp__logo img { width: 100%; height: auto; }

/* ===================== Who we serve ===================== */
.serve {
  max-width: 90rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--text);
}
.serve__item {
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.75rem 1.5rem 2rem 0; margin-right: 1.5rem;
  border-right: 1px solid var(--line);
}
.serve__item:last-child { border-right: 0; margin-right: 0; }
.serve__num { font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.serve__item h3 {
  margin: 0; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
}
.serve__item p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.serve__brands {
  margin-top: auto; padding-top: .75rem;
  display: flex; flex-wrap: wrap; gap: .4rem .6rem;
  font-size: .85rem; font-weight: 600;
}
.serve__brands a { border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.serve__brands a:hover { border-color: var(--accent); color: var(--accent); }
.serve__kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-right: .25rem; font-weight: 500; }
@media (max-width: 720px) {
  .serve__item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
  .serve__item:last-child { border-bottom: 0; }
}

/* ===================== Contact form ===================== */
.contact { max-width: 80rem; }
.contact__layout { display: grid; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 900px) {
  .contact__layout { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
  .contact__layout .contact__grid { grid-template-columns: 1fr; margin-top: .5rem; align-content: start; }
}
.cform { display: flex; flex-direction: column; gap: 1.5rem; }
.cform__row--2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cform__field { display: flex; flex-direction: column; gap: .45rem; }
.cform__field > span {
  text-transform: uppercase; letter-spacing: .15em;
  font-size: .74rem; font-weight: 500; color: var(--text-muted);
}
.cform__field > span em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; margin-left: .35rem; }
.cform input, .cform select, .cform textarea {
  width: 100%; margin: 0;
  font: inherit; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; padding: .7rem 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.cform select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%236B6862' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right .1rem center; background-size: 18px;
  padding-right: 1.75rem; cursor: pointer;
}
.cform select:invalid { color: var(--text-muted); }
.cform textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-bottom-color: var(--text); }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { box-shadow: 0 1px 0 0 var(--text); }
.cform__field.is-invalid input, .cform__field.is-invalid select, .cform__field.is-invalid textarea { border-bottom-color: #B4423A; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: .5rem; }
.cform__actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.cform__status { margin: 0; font-size: .95rem; color: var(--text-muted); }
.cform__status.is-ok { color: var(--accent); }
.cform__status.is-error { color: #B4423A; }
.cform__status a { text-decoration: underline; }

/* ===================== Careers - staff voices (two at a time) ===================== */
.voices { max-width: 78rem; margin: 3rem auto 0; position: relative; }
/* Off-screen copy of the track used to measure the tallest page so the
   controls below never move when a shorter pair of quotes is showing. */
.voices__measure { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; pointer-events: none; }
.voices__track {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem;
  border-top: 1px solid var(--text);
}
.voice {
  padding: 2.25rem 0 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.voice.is-out { opacity: 0; transform: translateY(6px); }
.voice__q {
  margin: 0; max-width: 34ch;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.45; letter-spacing: -.005em;
}
.voice__q::before {
  content: "\201C"; display: block;
  font-size: 3.4rem; line-height: .55; font-weight: 700; color: var(--accent);
  margin-bottom: 1rem;
}
.voice__who { margin: 0; font-size: .9rem; line-height: 1.45; }
.voice__who strong { display: block; font-weight: 600; color: var(--text); }
.voice__who span { color: var(--text-muted); }
.voices__ctl { display: flex; justify-content: space-between; align-items: center; margin-top: 1.75rem; }
.voices__dots { display: flex; gap: .5rem; }
.voices__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); display: block; transition: background .3s var(--ease), transform .3s var(--ease); }
.voices__dots i.is-on { background: var(--text); transform: scale(1.3); }
.voices__nav { display: flex; gap: .75rem; }
.voices__btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text);
  display: grid; place-items: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.voices__btn:hover { border-color: var(--text); transform: translateY(-2px); }
.voices__cta { max-width: 78rem; margin: 3rem auto 0; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.voices__cta p { margin: 0; color: var(--text-muted); max-width: 48ch; }
@media (max-width: 800px) {
  .voices__track { grid-template-columns: 1fr; }
  .voice:first-child { border-bottom: 1px solid var(--line); }
}

/* ===================== Section rhythm =====================
   Strict cream / deeper-cream alternation so no two adjacent sections share a
   background (hero + stats + story are the dark beats). */
#serve.section--light            { background: var(--bg); }        /* cream  */
#what.section--light             { background: var(--bg-elev); }   /* deeper */
#who.section--split              { background: var(--bg); }        /* cream  */
#projects.section--projects      { background: var(--bg-elev); }   /* deeper */
#team.section--leadership        { background: var(--bg); }        /* cream  */
#responsibility.section--community { background: var(--bg-elev); } /* deeper */
#work.section--light             { background: var(--bg); }        /* cream  */
#press.section--light            { background: var(--bg-elev); }   /* deeper */
#affiliations.section--affiliations { background: var(--bg); }     /* cream  */
#contact.section--contact        { background: var(--bg-elev); }   /* deeper */
.section { border-bottom: 1px solid var(--line-strong); }
.vendor-strip { background: var(--bg); }                             /* cream, between deeper Projects and the dark Story */
.props { background: var(--bg-elev); }                               /* deeper, between dark Stats and cream Serve */

/* ===================== Cookie notice (GA consent) ===================== */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  max-width: 64rem; margin: 0 auto;
  display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: .95rem 1.25rem;
  background: var(--bg-dark); color: var(--text-on-dark);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent.is-in { opacity: 1; transform: none; }
.consent__text { margin: 0; font-size: .9rem; line-height: 1.45; color: rgba(245,242,236,.86); }
.consent__text a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.consent__btn { padding: .55rem 1rem; font-size: .85rem; }
.consent .btn--ghost { border-color: rgba(245,242,236,.45); color: var(--text-on-dark); }
.consent .btn--ghost:hover { border-color: var(--text-on-dark); }
.consent .btn--primary { background: var(--text-on-dark); color: var(--text); }
.consent .btn--primary:hover { background: var(--accent); color: var(--text-on-dark); }
@media (max-width: 640px) { .consent { left: .75rem; right: .75rem; bottom: .75rem; padding: .85rem 1rem; } .consent__actions { width: 100%; } .consent__btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* ===================== Hero reveal (plays once, in step with the loader doors) =====================
   .hero.is-open is added by main.js at the same moment the loader doors start
   to part; the headline lines rise out of clipped lines as the doors clear.
   Reduced-motion users see the finished state at once. */
.hero__line { display: block; overflow: hidden; }
.hero__line-in { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
.hero.is-open .hero__line:nth-child(1) .hero__line-in { transition-delay: .95s; }
.hero.is-open .hero__line:nth-child(2) .hero__line-in { transition-delay: 1.08s; }
.hero.is-open .hero__line-in { transform: none; }
.hero .eyebrow, .hero .lede, .hero .hero__actions { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.is-open .eyebrow { opacity: 1; transform: none; transition-delay: .85s; }
.hero.is-open .lede { opacity: 1; transform: none; transition-delay: 1.3s; }
.hero.is-open .hero__actions { opacity: 1; transform: none; transition-delay: 1.45s; }
.hero__content { z-index: 4; }
@media (prefers-reduced-motion: reduce) {
  .hero__line-in, .hero .eyebrow, .hero .lede, .hero .hero__actions { opacity: 1 !important; transform: none !important; transition: none !important; }
}
