/* ============================================================
   Fraser Burrard Grouting — Production site stylesheet
   Compiled from the design system tokens + components into
   plain CSS classes (no build step, no client-side framework).
   Loads after ../styles.css (tokens + base element defaults).
   ============================================================ */

/* ---------- Layout utilities ---------- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--flush { padding: clamp(40px, 5vw, 72px) 0; }
.section--white { background: var(--white); }
.section--steel { background: var(--surface-page); }
.section--navy { background: var(--blue-900); }
.section--deep { background: var(--blue-950); }
.section--yellow { background: var(--yellow-500); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; } .gap-3 { gap: 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }

.header-utility {
  background: var(--blue-950); color: var(--blue-200);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px clamp(16px, 4vw, 48px);
}
.header-utility .loc { display: inline-flex; align-items: center; gap: 8px; }
.header-utility .loc svg { width: 14px; height: 14px; }
.header-utility .phone {
  display: inline-flex; align-items: center; gap: 6px; color: var(--yellow-500);
  text-decoration: none;
}
.header-utility .phone svg { width: 14px; height: 14px; }

.header-main {
  background: var(--blue-900); border-bottom: 3px solid var(--yellow-500);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px); height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  flex: none;
}
.brand img { height: 46px; display: block; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--white); line-height: .95; font-size: 18px; letter-spacing: .01em;
}
.brand-name .accent { color: var(--yellow-500); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 15px; letter-spacing: .05em; color: var(--blue-100);
  padding: 8px 14px; border-bottom: 2px solid transparent; text-decoration: none;
}
.nav-link:hover { color: var(--white); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--yellow-500); border-bottom-color: var(--yellow-500); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--blue-700); color: var(--white);
  border-radius: var(--radius-sm); width: 44px; height: 44px; align-items: center;
  justify-content: center; cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue-900); border-bottom: 3px solid var(--yellow-500);
    flex-direction: column; align-items: stretch; padding: 8px clamp(16px, 4vw, 48px) 16px;
    gap: 0;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--blue-800); }
  .nav-cta { margin-left: 0; margin-top: 10px; }
  .nav-cta .btn { width: 100%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 44px; padding: 0 20px; font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-base); letter-spacing: .04em; text-transform: uppercase;
  line-height: 1; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent; transition: filter .12s var(--ease-standard),
  transform .12s var(--ease-standard), background .12s var(--ease-standard);
  text-decoration: none; white-space: nowrap; user-select: none;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }
.btn--accent { background: var(--yellow-500); color: var(--blue-950); border-color: var(--yellow-500); }
.btn--secondary { background: transparent; color: var(--blue-900); border-color: var(--blue-900); }
.btn--secondary.on-dark { color: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: transparent; }
.btn--dark { background: var(--blue-950); border-color: var(--blue-950); color: var(--white); }

.btn--primary:hover, .btn--accent:hover, .btn--dark:hover { filter: brightness(1.08); }
.btn--secondary:hover { background: var(--blue-50); }
.btn--secondary.on-dark:hover { background: rgba(255,255,255,.12); }
.btn--ghost:hover { background: var(--blue-50); }

.btn--sm { height: 36px; padding: 0 14px; font-size: var(--text-sm); }
.btn--lg { height: 54px; padding: 0 28px; font-size: var(--text-lg); }
.btn--full { width: 100%; }
.btn--icon-right { flex-direction: row-reverse; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: 4px 10px;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; border-radius: var(--radius-xs);
  line-height: 1.4; white-space: nowrap; background: var(--steel-100); color: var(--steel-700);
}
.badge svg { width: 13px; height: 13px; }
.badge--sm { padding: 2px 8px; font-size: var(--text-2xs); }
.badge--brand { background: var(--blue-100); color: var(--blue-900); }
.badge--accent { background: var(--yellow-100); color: var(--yellow-700); }
.badge--success { background: var(--success-100); color: var(--success-600); }
.badge--solid.badge--brand { background: var(--blue-900); color: var(--white); }
.badge--solid.badge--accent { background: var(--yellow-500); color: var(--blue-950); }

/* ============================================================
   CARD
   ============================================================ */
.card {
  position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-5);
  transition: box-shadow .2s var(--ease-standard), transform .2s var(--ease-standard);
}
.card--lg { padding: var(--space-6); }
.card--md-elevation { box-shadow: var(--shadow-md); }
.card--top { border-top: 4px solid var(--yellow-500); }
.card--left { border-left: 4px solid var(--yellow-500); }
.card--flush { padding: 0; overflow: hidden; }
.card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__eyebrow {
  font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--color-accent-ink); margin-bottom: var(--space-3);
}
.card__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-xl); letter-spacing: var(--tracking-tight); color: var(--text-strong);
  margin: 0 0 var(--space-3); line-height: 1.1;
}
.card__footer { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }

/* ============================================================
   EYEBROW / STAT
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: 500; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--color-accent-ink);
}
.eyebrow::before { content: "//"; opacity: .7; }
.eyebrow--on-dark { color: var(--yellow-500); }

.stat { text-align: left; }
.stat__value {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--text-4xl);
  line-height: 1; color: var(--text-strong); letter-spacing: -0.02em;
}
.stat--inverse .stat__value { color: var(--white); }
.stat--accent .stat__value { color: var(--yellow-500); }
.stat__label {
  font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--text-muted); margin-top: var(--space-2);
}
.stat--inverse .stat__label { color: var(--blue-200); }
.stat__sublabel { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-body); margin-top: 4px; }
.stat--inverse .stat__sublabel { color: var(--blue-200); }

/* ============================================================
   FORM FIELDS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field__label {
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  color: var(--text-strong); display: flex; gap: 4px;
}
.field__label .req { color: var(--danger-600); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .ic { position: absolute; left: 12px; color: var(--text-muted); display: inline-flex; pointer-events: none; }
.input-wrap .ic svg { width: 16px; height: 16px; }
.input, textarea.input {
  width: 100%; height: 44px; padding: 0 14px; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--text-strong); background: var(--white);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); outline: none;
  transition: border-color .12s var(--ease-standard), box-shadow .12s var(--ease-standard);
  box-sizing: border-box;
}
.input--icon { padding-left: 38px; }
.input:focus, textarea.input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.field__hint { font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); }

.service-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; padding: 8px 12px;
  border-radius: var(--radius-sm); cursor: pointer; border: 1.5px solid var(--border-strong);
  background: var(--white); color: var(--text-body);
}
.pill[aria-pressed="true"] { border-color: var(--blue-700); background: var(--blue-50); color: var(--blue-900); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--blue-950); color: var(--blue-100); }
.hazard-bar { height: 6px; background: var(--hazard-stripe); }
.footer-grid {
  max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid img { height: 64px; margin-bottom: 18px; }
.footer-grid p { max-width: 320px; color: var(--blue-200); font-size: 15px; margin: 0; line-height: 1.6; }
.footer-tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-tag {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue-200); border: 1px solid var(--blue-700); padding: 4px 8px; border-radius: 2px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--yellow-500); margin-bottom: 6px;
}
.footer-col a { font-family: var(--font-body); font-size: 15px; color: var(--blue-100); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-line { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--blue-100); font-size: 15px; }
.footer-line svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--blue-800); padding: 18px clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; color: var(--blue-400);
}

/* ============================================================
   HERO (Home / Project / generic page header)
   ============================================================ */
.hero { position: relative; background: var(--blue-950); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: var(--scrim-hero); }
.hero__content { position: relative; max-width: 1320px; margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 88px); }
.hero h1 { color: var(--white); font-size: clamp(44px, 7vw, 88px); margin: 16px 0 0; max-width: 16ch; line-height: .95; }
.hero h1 .accent { color: var(--yellow-500); }
.hero__lede { color: var(--blue-100); font-size: clamp(17px, 2vw, 21px); max-width: 560px; margin: 24px 0 0; line-height: 1.5; }

.stat-bar { position: relative; background: rgba(12,34,55,0.72); border-top: 1px solid var(--blue-800); }
.stat-bar__inner {
  max-width: 1320px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px);
  display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap;
}

.page-header { background: var(--blue-900); border-bottom: 3px solid var(--yellow-500); }
.page-header__inner { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.page-header h1 { color: var(--white); font-size: clamp(36px, 5vw, 64px); margin: 14px 0 16px; }
.page-header p { color: var(--blue-100); font-size: 19px; max-width: 660px; margin: 0; }

/* ============================================================
   HOME — intro, why panel, services, process, CTA
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-grid h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
.intro-grid > div:first-child p { font-size: 18px; color: var(--text-body); max-width: 560px; }
.audience-badges { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }

.why-panel { background: var(--blue-900); border-top: 4px solid var(--yellow-500);
  border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px); color: var(--white); }
.why-panel__head { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--yellow-500); margin-bottom: 18px; }
.why-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--blue-800); }
.why-item:last-child { border-bottom: none; }
.why-item__icon { color: var(--yellow-500); flex: none; margin-top: 2px; }
.why-item__icon svg { width: 22px; height: 22px; }
.why-item__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; }
.why-item__desc { color: var(--blue-200); font-size: 14.5px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 0; }

.service-card__icon { color: var(--blue-700); margin-bottom: 12px; }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card p { margin: 0 0 14px; font-size: 14.5px; color: var(--text-body); }
.service-card .badge-row { display: flex; gap: 6px; flex-wrap: wrap; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { border-top: 3px solid var(--yellow-500); padding-top: 18px; }
.process-step__n { font-family: var(--font-mono); font-size: 13px; color: var(--blue-200); }
.process-step__icon { color: var(--yellow-500); margin: 10px 0; }
.process-step__icon svg { width: 26px; height: 26px; }
.process-step__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; color: var(--white); }
.process-step__desc { color: var(--blue-200); font-size: 14.5px; margin: 8px 0 0; }

.cta-band__inner {
  max-width: 1320px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
}
.cta-band h2 { color: var(--blue-950); font-size: clamp(28px, 4vw, 44px); margin: 0; }
.cta-band p { color: var(--blue-900); font-size: 18px; margin: 8px 0 0; font-weight: 500; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.materials-strip { background: var(--blue-950); }
.materials-strip__inner {
  max-width: 1320px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 48px);
  display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; align-items: center;
}
.materials-strip__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow-500); }
.materials-strip__item { color: var(--blue-100); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.materials-strip__item svg { width: 15px; height: 15px; color: var(--yellow-500); }

.service-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 700px) { .service-row { grid-template-columns: 48px 1fr; } .service-row .btn { grid-column: 1 / -1; margin-top: 8px; } }
.service-row__icon {
  width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--blue-50);
  border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center;
  color: var(--blue-700);
}
.service-row__icon svg { width: 30px; height: 30px; }
.service-row h3 { margin: 0; font-size: 24px; display: inline; }
.service-row__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-row p { margin: 6px 0 0; color: var(--text-body); font-size: 15.5px; max-width: 720px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; } }
.feature-row__photo { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 320px; }
.feature-row__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-row h2 { font-size: clamp(28px, 3.5vw, 42px); margin: 12px 0 16px; }
.feature-row p { font-size: 17px; color: var(--text-body); max-width: 540px; }
.feature-row .stat-row { display: flex; gap: 40px; margin-top: 24px; flex-wrap: wrap; }

.marine-band { background: var(--blue-950); color: var(--white); }
.marine-band__inner {
  max-width: 1320px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 900px) { .marine-band__inner { grid-template-columns: 1fr; } }
.marine-band__photos { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .marine-band__photos { grid-template-columns: 1fr; } }
.marine-band__photo { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 380px; }
.marine-band__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.marine-band__photo--accent { border-top: 4px solid var(--yellow-500); }
.marine-band h2 { color: var(--white); font-size: clamp(28px, 3.8vw, 46px); margin: 12px 0 16px; }
.marine-band p { font-size: 17px; color: var(--blue-100); max-width: 560px; }
.marine-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.marine-list li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--blue-100); }
.marine-list svg { width: 16px; height: 16px; color: var(--yellow-500); flex: none; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.project-hero__badges { display: flex; gap: 8px; margin-bottom: 18px; }
.spec-strip { background: var(--blue-900); }
.spec-strip__inner { max-width: 1320px; margin: 0 auto; padding: 26px clamp(16px, 4vw, 48px); display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }

.scope-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 64px); }
@media (max-width: 900px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-grid h2 { font-size: clamp(26px, 3.5vw, 40px); margin: 12px 0 18px; }
.scope-grid p { font-size: 17px; color: var(--text-body); }
.timeline-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.timeline-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text-body); }
.timeline-list svg { width: 20px; height: 20px; color: var(--success-600); flex: none; margin-top: 2px; }
.pull-quote { margin-top: 28px; border-left: 4px solid var(--yellow-500); padding-left: 20px; }
.pull-quote p {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-strong); text-transform: uppercase; line-height: 1.15; margin: 0;
}
.pull-quote cite {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-top: 10px;
  text-transform: uppercase; letter-spacing: .06em; display: block; font-style: normal;
}
.detail-list .detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.detail-list .detail-row:last-child { border-bottom: none; }
.detail-row__k { color: var(--text-muted); font-size: 14px; }
.detail-row__v { color: var(--text-strong); font-size: 14px; font-weight: 600; text-align: right; }
.detail-head { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; }

.project-card__photo { position: relative; height: 150px; background: var(--blue-950); }
.project-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card__badge { position: absolute; left: 12px; top: 12px; }
.project-card__body { padding: var(--space-5); }
.project-card__icon { color: var(--blue-700); margin-bottom: 10px; }
.project-card__icon svg { width: 24px; height: 24px; }
.project-card h3 { font-size: 19px; margin: 0 0 6px; }
.project-card__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin: 0; text-transform: uppercase; letter-spacing: .04em; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-photo { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 340px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { border-top: 4px solid var(--yellow-500); padding-top: 18px; }
.value-card__icon { color: var(--blue-700); margin-bottom: 12px; }
.value-card__icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 22px; margin: 0 0 8px; }
.value-card p { color: var(--text-body); font-size: 15.5px; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form h2 { font-size: 26px; margin: 0 0 6px; }
.contact-form > .field__hint { margin: 0 0 22px; }
.contact-form .grid-2 { gap: 16px; margin-top: 0; }
.contact-form .full-row { margin-top: 16px; }
.contact-form textarea { box-sizing: border-box; }
.form-actions { margin-top: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }

.success-state { text-align: center; padding: 40px 12px; }
.success-state__icon { color: var(--success-600); display: flex; justify-content: center; margin-bottom: 16px; }
.success-state__icon svg { width: 56px; height: 56px; }
.success-state h2 { font-size: 30px; margin: 0 0 10px; }
.success-state p { color: var(--text-body); font-size: 16px; max-width: 420px; margin: 0 auto 22px; }

.emergency-card {
  background: var(--blue-950); color: var(--white); border-radius: var(--radius-md);
  padding: 28px; border-top: 4px solid var(--yellow-500);
}
.emergency-card__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow-500); margin-bottom: 16px; }
.emergency-card a {
  font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--white);
  text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
}
.emergency-card a svg { width: 30px; height: 30px; }
.emergency-card p { color: var(--blue-200); font-size: 15px; margin-top: 12px; }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-list .footer-line { color: var(--text-body); }
.contact-detail-list .footer-line svg { color: var(--blue-700); }

/* ============================================================
   INTRO SPRAY ANIMATION (home page load only)
   A grout hose swings into frame and sprays foam across the
   screen, then fades to reveal the hero. Respects reduced motion
   and plays once per browser session.
   ============================================================ */
body.intro-spray-lock { overflow: hidden; }

.intro-spray {
  position: fixed; inset: 0; z-index: 999;
  overflow: hidden; background: transparent; pointer-events: none;
}
.intro-spray.is-active { pointer-events: auto; }
.intro-spray.is-leaving { transition: opacity .55s ease; opacity: 0; }
.intro-spray.is-done { display: none; }

.intro-spray__skip {
  position: absolute; right: 20px; bottom: 20px; z-index: 3; pointer-events: auto;
  background: rgba(14,27,39,.55); color: var(--white); font-family: var(--font-mono, inherit);
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-sm);
  font-size: 12.5px; letter-spacing: .04em; padding: 9px 16px; cursor: pointer;
  opacity: 0; animation: introFadeIn .3s ease .4s forwards;
}
.intro-spray__skip:hover { background: rgba(14,27,39,.82); }

.intro-spray__hose {
  position: absolute; right: -2vw; bottom: -8vh;
  width: min(48vw, 440px); height: min(48vw, 440px);
  transform: translate(20%, 45%) rotate(10deg); opacity: 0;
  animation: hoseIn .5s cubic-bezier(.22,.9,.32,1.1) .05s forwards,
             hoseShake 1.3s ease-in-out .55s 3;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.intro-spray__hose .hose__tube { fill: none; stroke: var(--steel-700); stroke-width: 16; stroke-linecap: round; }
.intro-spray__hose .hose__clamp { fill: var(--yellow-500); }
.intro-spray__hose .hose__nozzle { fill: var(--steel-900); }

@keyframes hoseIn {
  from { transform: translate(20%, 45%) rotate(10deg); opacity: 0; }
  to   { transform: translate(6%, 28%) rotate(5deg); opacity: 1; }
}
@keyframes hoseShake {
  0%, 100% { transform: translate(6%, 28%) rotate(5deg); }
  25%      { transform: translate(5%, 27%) rotate(2deg); }
  50%      { transform: translate(7%, 29%) rotate(7deg); }
  75%      { transform: translate(6%, 28%) rotate(3deg); }
}

.intro-spray__cone {
  position: absolute; right: 16vw; bottom: 24vh;
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFDF6 0%, #F4EDD9 45%, #E2D49E 100%);
  transform: scale(0);
  animation: foamBurst 1.45s cubic-bezier(.22,.7,.3,1) .52s forwards;
}
@keyframes foamBurst { to { transform: scale(70); } }

.foam-blob {
  position: absolute; opacity: 0; transform: scale(0);
  border-radius: 48% 52% 55% 45% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 35% 30%, #FFFDF6 0%, #F4EDD9 55%, #E2D49E 100%);
  box-shadow: inset 0 0 18px rgba(255,255,255,.5);
  animation: foamPop .85s ease-out forwards;
}
.intro-spray__blobs .fb-1 { right: 22vw; bottom: 34vh; width: 90px;  height: 90px;  animation-delay: .7s; }
.intro-spray__blobs .fb-2 { right: 40vw; bottom: 24vh; width: 130px; height: 130px; animation-delay: .8s; }
.intro-spray__blobs .fb-3 { right: 9vw;  bottom: 50vh; width: 110px; height: 110px; animation-delay: .9s; }
.intro-spray__blobs .fb-4 { right: 56vw; bottom: 15vh; width: 150px; height: 150px; animation-delay: .95s; }
.intro-spray__blobs .fb-5 { right: 30vw; bottom: 58vh; width: 100px; height: 100px; animation-delay: 1.05s; }
.intro-spray__blobs .fb-6 { right: 70vw; bottom: 30vh; width: 140px; height: 140px; animation-delay: 1.1s; }
@keyframes foamPop {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  60%  { opacity: 1; transform: scale(1.08) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(4deg); }
}

@keyframes introFadeIn { to { opacity: 1; } }

@media (max-width: 640px) {
  .intro-spray__hose { width: min(64vw, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-spray { display: none; }
}
.contact-badges { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-subtle); display: flex; gap: 8px; flex-wrap: wrap; }
