/* ===========================================================
   Bracken Construction — Premium Industrial B2B
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-bg:          #0A0D12;
  --c-bg-2:        #141923;
  --c-card:        #2A3140;
  --c-accent:      #FFCE00;
  --c-accent-warm: #FFDD2D;
  --c-accent-deep: #E5B800;
  --c-accent-dim:  rgba(255, 206, 0, 0.15);
  --c-accent-border: rgba(255, 206, 0, 0.28);
  --grad-yellow: linear-gradient(135deg, #FFDD2D 0%, #FFCE00 45%, #E5B800 100%);
  --grad-yellow-band: linear-gradient(90deg, transparent 0%, rgba(255, 206, 0, 0.08) 15%, rgba(255, 206, 0, 0.14) 50%, rgba(255, 206, 0, 0.08) 85%, transparent 100%);
  --c-text:        #FFFFFF;
  --c-text-2:      #A0A8B5;
  --c-border:      rgba(255, 255, 255, 0.06);
  --c-border-2:    rgba(255, 255, 255, 0.1);

  --ff-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);

  --r: 4px;
  --r-lg: 6px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
.grad-text {
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--grad-yellow);
  margin-bottom: 24px;
  border-radius: 2px;
}
p  { margin: 0 0 1em; color: var(--c-text-2); }
p.lead { color: #CBD0DA; font-size: 18px; line-height: 1.65; }

/* ---------- Subtle texture only (no tech grid) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Layout utils ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); position: relative; z-index: 5; }
.section { padding: clamp(48px, 7vw, 88px) 0; position: relative; z-index: 5; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--dark { background: var(--c-bg-2); }
.section--grad {
  background: var(--c-bg-2);
  position: relative;
  overflow: hidden;
}
.section--grad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-yellow-band);
  pointer-events: none;
  opacity: 0.6;
}
.section--grad > * { position: relative; z-index: 2; }

/* Section with real photo bleeding behind it — used to visually differentiate sections */
.section--bleed {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.section-bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: grayscale(0.4) contrast(1.05);
}
.section-bleed-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,13,18,0.96) 0%, rgba(10,13,18,0.88) 45%, rgba(10,13,18,0.96) 100%),
    radial-gradient(ellipse at 15% 50%, rgba(255,206,0,0.06) 0%, transparent 55%);
  z-index: 1;
}
.section--bleed > .wrap { position: relative; z-index: 2; }
.section--bleed::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,206,0,0.5) 50%, transparent 100%);
  z-index: 3;
}
.section--bleed::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,206,0,0.5) 50%, transparent 100%);
  z-index: 3;
}

/* Service capability stat pills */
.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.service-stat {
  padding: 18px 16px;
  background: rgba(255, 206, 0, 0.04);
  border: 1px solid var(--c-accent-border);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
}
.service-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--grad-yellow);
}
.service-stat__num {
  display: block;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--c-accent);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.service-stat__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-2);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .service-stats { grid-template-columns: 1fr; gap: 8px; }
}

.eyebrow {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-accent);
}

.rule {
  width: 48px;
  height: 3px;
  background: var(--c-accent);
  margin: 0 0 28px;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--c-accent);
  color: #0A0D12;
  box-shadow: 0 0 0 0 rgba(255, 206, 0, 0.5);
}
.btn--primary:hover {
  background: var(--c-accent-warm);
  box-shadow: 0 8px 32px rgba(255, 206, 0, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost {
  padding: 0;
  color: var(--c-accent);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--ghost::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.btn--ghost:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom-color: var(--c-border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand__mark-img {
  height: 44px;
  width: 44px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.brand__mark-img--footer {
  height: 52px;
  width: 52px;
}
.brand:hover .brand__mark-img {
  transform: rotate(-3deg);
}
.brand__mark {
  width: 38px;
  height: 38px;
  background: var(--c-accent);
  color: #0A0D12;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 16px;
  border-radius: var(--r);
  letter-spacing: -0.02em;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__text small {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-text-2);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-main a {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-main a:hover { color: var(--c-accent); }
.nav-main a.is-active {
  color: #fff;
}
.nav-main a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-accent);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-phone svg { color: var(--c-accent); }

/* Mobile nav drawer — hidden on desktop */
.nav-mobile {
  display: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--c-border-2);
  border-radius: var(--r);
  background: rgba(255,255,255,0.02);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: all 0.25s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero--sub {
  min-height: 440px;
  padding-top: 160px;
  padding-bottom: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,13,18,0.55) 0%, rgba(10,13,18,0.75) 55%, rgba(10,13,18,0.95) 100%),
    linear-gradient(90deg, rgba(10,13,18,0.8) 0%, rgba(10,13,18,0.35) 100%);
}
.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 920px;
}
.hero--sub .hero__inner { max-width: 820px; }
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 660px;
  color: #D4D9E3;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero__mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 760px;
}
.hero__mini-stats > div span {
  display: block;
  font-family: var(--ff-head);
  font-weight: 900;
  color: var(--c-accent);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.hero__mini-stats > div small {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__corner {
  position: absolute;
  right: var(--pad-x);
  bottom: 32px;
  z-index: 6;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__corner::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* ---------- Stats bar with gradient ---------- */
.stats-bar {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-yellow);
}
.stats-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-yellow-band);
  pointer-events: none;
  opacity: 0.8;
}
.stats-bar > * { position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}
.stat {
  padding: 56px 32px;
  border-right: 1px solid var(--c-border);
  position: relative;
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}
.stat__num .accent { color: var(--c-accent); }
.stat__label {
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-2);
  font-weight: 700;
}
.stat__sub {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(160,168,181,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Section header ---------- */
.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  font-size: 18px;
  color: var(--c-text-2);
}

/* ---------- Split (about preview, service row) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: 24px; }
.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.split:hover .split__media img { transform: scale(1.03); }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,13,18,0.4) 100%);
}
.split__tag {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 3;
  background: rgba(10,13,18,0.9);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-left: 3px solid var(--c-accent);
  border-radius: 2px;
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.split__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: var(--c-accent-dim);
  border: 1px solid var(--c-accent-border);
  border-radius: var(--r);
}
.split__stat b {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 20px;
  color: var(--c-accent);
}
.split__stat span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--c-card);
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.service-card:hover {
  border-color: var(--c-accent-border);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--c-accent-dim);
  border: 1px solid var(--c-accent-border);
  border-radius: var(--r);
  margin-bottom: 28px;
  color: var(--c-accent);
}
.service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}
.service-card p { flex-grow: 1; margin-bottom: 20px; }
.service-card .btn--ghost { align-self: flex-start; }

/* ---------- Why Bracken ---------- */
.why {
  background: var(--c-bg-2);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,183,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 64px;
}
.why__item {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid var(--c-border-2);
}
.why__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 3px;
  background: var(--c-accent);
}
.why__num {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 16px;
  display: block;
}
.why__item h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

/* ---------- Projects gallery ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  position: relative;
  cursor: pointer;
}
.project-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.project-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .project-card__image img { transform: scale(1.08); }
.project-card__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,13,18,0.65) 100%);
}
.project-card__year {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  background: rgba(10,13,18,0.85);
  backdrop-filter: blur(6px);
  color: var(--c-accent);
  padding: 6px 12px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.project-card__body {
  padding: 28px 28px 32px;
}
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.project-card__meta span::after {
  content: "•";
  margin-left: 14px;
  color: rgba(245,183,0,0.4);
}
.project-card__meta span:last-child::after { content: ""; margin: 0; }
.project-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.project-card:hover h3 { color: var(--c-accent); }
.project-card p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-2);
}
.project-card__scope {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-2);
}
.project-card__scope b {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Testimonial ---------- */
.pullquote {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.pullquote__mark {
  font-family: var(--ff-head);
  font-size: 80px;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.5;
  display: block;
  margin-bottom: -20px;
}
.pullquote blockquote {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 40px;
}
.pullquote blockquote em {
  font-style: normal;
  color: var(--c-accent);
}
.pullquote cite {
  font-style: normal;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-2);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.pullquote cite::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--c-accent);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    linear-gradient(135deg, rgba(245,183,0,0.1) 0%, transparent 60%),
    var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-accent);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 17px;
  max-width: 540px;
  margin: 0;
}
.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.cta-band__contact {
  text-align: right;
  color: var(--c-text-2);
  font-size: 14px;
}
.cta-band__contact a {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #07090D;
  padding: 88px 0 28px;
  border-top: 1px solid var(--c-border);
  position: relative;
  z-index: 5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--c-text-2); transition: color 0.2s; font-size: 15px; }
.footer-col a:hover { color: var(--c-accent); }
.footer-col address {
  font-style: normal;
  color: var(--c-text-2);
  font-size: 15px;
  line-height: 1.8;
}
.footer-col address a { color: #fff; font-weight: 600; }
.footer-col .brand { margin-bottom: 20px; }
.footer-col__about { font-size: 14px; color: var(--c-text-2); line-height: 1.7; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(160,168,181,0.7);
  letter-spacing: 0.04em;
}
.footer-bottom nav { display: flex; gap: 28px; }
.footer-bottom nav a:hover { color: var(--c-accent); }
.footer-bottom__ppd {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s var(--ease);
}
.footer-bottom__ppd:hover {
  background: rgba(255, 206, 0, 0.08);
  border-color: var(--c-accent-border);
  color: #fff;
}
.footer-bottom__ppd a {
  color: var(--c-accent);
  font-weight: 600;
  margin-left: 4px;
}
.footer-bottom__ppd a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom nav { justify-content: center; flex-wrap: wrap; }
  .footer-bottom__ppd { margin-top: 4px; }
}

.footer-associations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.footer-associations span {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--ff-head);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  border: 1px solid var(--c-border-2);
  border-radius: 2px;
}

/* ---------- Services page — big service row ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: clamp(60px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--c-border);
}
.service-row:last-child { border-bottom: none; }
.service-row--reverse .service-row__media { order: 2; }
.service-row__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
}
.service-row__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.service-row__num::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--c-accent);
}
.service-row h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin-bottom: 24px;
}
.service-row ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.service-row ul li {
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  color: #D4D9E3;
}
.service-row ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: var(--c-accent);
}

/* ---------- Projects filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}
.filter-bar button {
  padding: 10px 20px;
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-text-2);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r);
  transition: all 0.2s;
}
.filter-bar button:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.filter-bar button.is-active {
  background: var(--c-accent);
  color: #0A0D12;
  border-color: var(--c-accent);
}

/* ---------- About: Timeline ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-deep) 60%, rgba(255,206,0,0.15) 100%);
  box-shadow: 0 0 16px rgba(255, 206, 0, 0.25);
  border-radius: 2px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 28px 0;
  position: relative;
}
.timeline__year {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 38px;
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  text-align: right;
  line-height: 1;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 134px;
  top: 44px;
  width: 14px; height: 14px;
  background: var(--c-accent);
  border-radius: 50%;
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 2px var(--c-accent);
}
.timeline__body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.timeline__body p { margin: 0; font-size: 15px; }

/* ---------- Leadership cards ---------- */
.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.leader-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: all 0.3s var(--ease);
}
.leader-card:hover { border-color: var(--c-accent-border); transform: translateY(-2px); }
.leader-card__photo {
  background: linear-gradient(135deg, var(--c-bg-2), var(--c-bg));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.leader-card__photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.leader-card__initials {
  position: relative;
  z-index: 2;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 72px;
  color: var(--c-accent);
  letter-spacing: -0.04em;
}
.leader-card__body { padding: 32px 28px; }
.leader-card__body h3 { font-size: 22px; margin-bottom: 4px; }
.leader-card__role {
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.leader-card p { font-size: 14px; margin: 0; }

/* ---------- Certifications block ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 36px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
}
.cert:hover {
  border-color: var(--c-accent-border);
  background: #30384A;
}
.cert__mark {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  display: block;
  letter-spacing: -0.02em;
}
.cert h4 {
  font-family: var(--ff-head);
  font-size: 14px;
  margin: 0 0 6px;
  color: #fff;
}
.cert p {
  font-size: 12px;
  color: var(--c-text-2);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ---------- Safety section ---------- */
.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.safety__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.safety__stat {
  background: var(--c-card);
  padding: 28px 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  border-left: 3px solid var(--c-accent);
}
.safety__stat b {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 36px;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}
.safety__stat span {
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-2);
  font-weight: 700;
}
.safety__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.safety__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,13,18,0.6) 100%);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-form {
  background: var(--c-card);
  padding: 48px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--c-accent);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-2);
  font-weight: 700;
  margin-bottom: 10px;
}
.form-group label .req { color: var(--c-accent); margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-bg);
  border: 1px solid var(--c-border-2);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  border-radius: var(--r);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #0C1017;
  box-shadow: 0 0 0 3px rgba(245,183,0,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; font-family: var(--ff-body); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23FF6B1F' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-note {
  padding: 14px 16px;
  background: var(--c-bg);
  border: 1px dashed var(--c-border-2);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--c-text-2);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-note svg { color: var(--c-accent); flex-shrink: 0; }
.contact-form button[type="submit"] { width: 100%; justify-content: center; padding: 18px; }

.contact-info { padding-top: 12px; }
.contact-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-block:last-child { border-bottom: none; }
.contact-block h4 {
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-block p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}
.contact-block p a { color: #fff; }
.contact-block p a:hover { color: var(--c-accent); }
.contact-block .small { color: var(--c-text-2); font-size: 13px; margin-top: 4px; }
.map-embed {
  aspect-ratio: 4 / 3;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}
.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: var(--c-accent);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(245,183,0,0.2), 0 0 0 16px rgba(245,183,0,0.1);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(245,183,0,0.25), 0 0 0 16px rgba(245,183,0,0.1); }
  50%      { box-shadow: 0 0 0 14px rgba(245,183,0,0.1),  0 0 0 28px rgba(245,183,0,0.05); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .projects-grid, .why__grid, .certs { grid-template-columns: repeat(2, 1fr); }
  .split, .service-row, .safety, .contact-grid, .cta-band__inner { grid-template-columns: 1fr; gap: 48px; }
  .service-row--reverse .service-row__media { order: 0; }
  .cta-band__inner { text-align: left; }
  .cta-band__actions { align-items: flex-start; }
  .cta-band__contact { text-align: left; }
  .leaders { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--c-border); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

  .nav-main, .nav-cta .nav-phone, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .nav-mobile {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--c-bg-2);
    border-left: 1px solid var(--c-border);
    padding: 120px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
  }
  .nav-mobile.is-open { transform: translateX(0); }
  .nav-mobile__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--c-accent-border);
  }
  .nav-mobile__mark {
    height: 52px;
    width: 52px;
    flex-shrink: 0;
  }
  .nav-mobile__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  .nav-mobile__brand-text span {
    font-family: var(--ff-head);
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    letter-spacing: 0.01em;
  }
  .nav-mobile__brand-text small {
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--c-text-2);
    text-transform: uppercase;
    margin-top: 5px;
  }
  .nav-mobile a {
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    transition: color 0.2s;
  }
  .nav-mobile a:hover { color: var(--c-accent); }
  .nav-mobile .nav-phone {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--c-accent);
    display: flex;
    border-bottom: none;
    font-size: 18px;
  }
  .nav-mobile .btn {
    margin-top: 16px;
    justify-content: center;
    border-bottom: none;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(34px, 9vw, 54px); }
  h2 { font-size: clamp(26px, 6vw, 38px); }

  /* Center all hero content on mobile */
  .hero { min-height: 600px; padding-top: 120px; text-align: center; }
  .hero__inner { margin: 0 auto; }
  .hero .eyebrow { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; justify-content: center; }
  .hero__cta .btn { justify-content: center; }
  .hero__mini-stats { gap: 28px; justify-content: center; }

  /* Center sub-hero (interior page heros like "Let's talk about your project") */
  .hero--sub {
    text-align: center;
    padding-bottom: 28px;
    padding-top: 110px;
    min-height: 0;
  }
  .hero--sub .eyebrow { justify-content: center; }
  .hero--sub + .section { padding-top: 36px; }

  /* Center section heads on mobile */
  .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .section-head .eyebrow { justify-content: center; }
  .services-grid, .projects-grid, .why__grid, .certs, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; }
  .timeline::before { left: 8px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 36px; }
  .timeline__year { text-align: left; font-size: 26px; }
  .timeline__item::before { left: 2px; top: 10px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-card__photo { aspect-ratio: 16 / 9; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .service-row ul { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--c-border); padding: 40px 24px; }
  .stat:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .hero__mini-stats { gap: 20px; flex-direction: column; }
  .btn { padding: 14px 22px; font-size: 13px; }
  .section { padding: 64px 0; }
  .contact-form { padding: 24px 18px; }
}
