/* =====================================================================
   Tarr & Sons Building Maintenance
   Aesthetic: editorial trust (Fraunces) + clinical precision (IBM Plex)
   Palette: deep slate-blue, fresh accent blue, cool paper
   ===================================================================== */

:root {
  /* color */
  --navy-900: #0f2236;
  --navy-800: #14293f;
  --navy-700: #1c3a57;
  --ink:      #16202b;
  --slate-700:#33485e;
  --slate-500:#5d7187;
  --slate-400:#8597a9;
  --accent:   #2f6fb0;
  --accent-bright: #3b8fd4;
  --available:#3aa66f;
  --paper:    #f5f7fa;
  --paper-2:  #eef2f7;
  --white:    #ffffff;
  --line:     #e0e7ef;
  --line-strong:#cdd8e4;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15,34,54,.04), 0 12px 32px -12px rgba(15,34,54,.16);
  --shadow-lg: 0 30px 70px -30px rgba(15,34,54,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  /* keep anchor targets clear of the sticky header when jumping via nav links */
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
  /* clip at the html level so iOS rubber-band scroll can't reveal overflow */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* subtle on-brand tap feedback instead of iOS's default black flash box */
  -webkit-tap-highlight-color: rgba(47, 111, 176, .12);
}

/* faint paper grain for atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- shared layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}

.section { padding: clamp(44px, 6vw, 80px) 0; }

.section-head { max-width: 620px; margin-bottom: 54px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-top: 18px;
  color: var(--navy-900);
}
.section-intro {
  margin-top: 20px;
  font-size: 1.12rem;
  color: var(--slate-700);
  max-width: 60ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(47,111,176,.8);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(47,111,176,.9); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy-700); background: var(--white); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(245,247,250,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 11px; box-shadow: 0 6px 16px -8px rgba(15,34,54,.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -.01em;
  color: var(--navy-900);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .95rem;
  color: var(--slate-700);
  font-weight: 500;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .92rem;
  color: var(--navy-800);
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.nav-phone svg { width: 15px; height: 15px; color: var(--accent); }
.nav-phone:hover { border-color: var(--accent); background: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 19px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 104px); }
.hero::before {
  /* soft radial wash behind content */
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(59,143,212,.16), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--navy-900);
  margin-top: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-sub {
  margin-top: 24px;
  font-size: 1.18rem;
  color: var(--slate-700);
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--slate-700);
  font-weight: 500;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* hero media + overlapping stat chip */
.hero-media { position: relative; }
.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  background: var(--paper-2);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(15,34,54,.13));
}

.hero-chip {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 17px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero-chip .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy-900);
}
.hero-chip .lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 3px;
}
.hero-chip.bl { bottom: 24px; left: -26px; }

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.cred-strip { border-block: 1px solid var(--line); background: var(--white); }
.cred-strip .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding-block: 22px;
}
.cred-strip .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.cred-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
}
.cred-strip li {
  font-weight: 500;
  font-size: .96rem;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cred-strip li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card:hover::before { transform: scaleY(1); }
.service-card.span-2 { grid-column: span 2; }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 500;
}
.service-icon {
  width: 46px; height: 46px;
  margin: 16px 0 18px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--accent);
  border: 1px solid var(--line);
}
.service-icon svg { width: 24px; height: 24px; }
.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.33rem;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.service-desc { margin-top: 11px; color: var(--slate-700); font-size: 1rem; }

/* ============================================================
   INDUSTRIES (dark band)
   ============================================================ */
.industries {
  background: var(--navy-900);
  color: #dfe8f1;
  position: relative;
  overflow: hidden;
}
.industries::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
  pointer-events: none;
}
.industries .section-title { color: #fff; }
.industries .eyebrow { color: var(--accent-bright); }
.industries .eyebrow::before { background: var(--accent-bright); }
.industries .section-intro { color: #aebccc; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.industry-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.industry-item:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.24); transform: translateY(-3px); }
.industry-item svg { width: 22px; height: 22px; color: var(--accent-bright); flex: none; }
.industry-item span { font-weight: 500; font-size: 1rem; color: #eaf1f8; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--white);
  padding: 30px 30px 32px;
  transition: background .25s var(--ease);
}
.why-item:hover { background: #fbfdff; }
.why-head { display: flex; align-items: baseline; gap: 12px; }
.why-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.why-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.why-text { margin-top: 11px; color: var(--slate-700); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 8vw, 104px);
  padding: clamp(40px, 5vw, 60px) 0;
  border-block: 1px solid var(--line);
}
.stat { text-align: center; padding: 8px 4px; position: relative; }
/* slim divider centered in the gap between adjacent stats */
.stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(20px, 4vw, 52px));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 58px;
  background: var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.02em;
}
.stat-label {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--slate-700);
  font-weight: 500;
}

/* ============================================================
   ABOUT BILL
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.about-media { position: relative; position: sticky; top: 100px; }
.about-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-namecard {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.about-namecard .nm { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy-900); }
.about-namecard .rl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-top: 4px; }

.about-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  line-height: 1.4;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
.about-body p { margin-top: 20px; color: var(--slate-700); }
.about-body strong { color: var(--navy-800); font-weight: 600; }

.credentials {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.cred-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.cred-row:first-child { border-top: none; }
.cred-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding-top: 3px;
}
.cred-value { color: var(--slate-700); font-size: .98rem; }
.cred-value strong { color: var(--navy-800); font-weight: 600; }

.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 500;
  color: var(--slate-700);
}
.badge svg { width: 14px; height: 14px; color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--available);
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid rgba(58,166,111,.3);
  background: rgba(58,166,111,.07);
  border-radius: 999px;
}
.status-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--available);
  box-shadow: 0 0 0 0 rgba(58,166,111,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(58,166,111,.5); }
  70% { box-shadow: 0 0 0 9px rgba(58,166,111,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,166,111,0); }
}
.contact-aside .section-title { margin-top: 18px; }
.contact-aside p { margin-top: 18px; color: var(--slate-700); }
.contact-lines { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  transition: color .2s var(--ease);
}
.contact-line:hover { color: var(--accent); }
.contact-line .ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent);
}
.contact-line .ic svg { width: 19px; height: 19px; }
.contact-line .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }
.contact-line .v { font-weight: 600; font-size: 1.08rem; color: var(--navy-900); }
.contact-line:hover .v { color: var(--accent); }

/* form */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate-700);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235d7187' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,111,176,.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.btn-submit {
  background: var(--navy-800);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-submit svg { width: 17px; height: 17px; }
.btn-submit:hover:not(:disabled) { background: var(--navy-900); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(15,34,54,.6); }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-note { font-size: .82rem; color: var(--slate-400); }

.form-status { font-size: .92rem; font-weight: 500; margin-top: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--available); }
.form-status.err { color: #c0492f; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #c7d4e0; padding: 72px 0 36px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8ea3b8; }
.footer-tag { margin-top: 18px; color: #9fb1c4; max-width: 36ch; font-size: .98rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7f93a8;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; color: #c7d4e0; margin-bottom: 10px; font-size: .98rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
/* footer CTA: keep the light-button treatment, not the muted link color */
.footer-col a.btn-light { display: inline-flex; color: var(--navy-900); margin-bottom: 0; }
.footer-col a.btn-light:hover { color: var(--navy-900); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .86rem;
  color: #7f93a8;
}
.footer-bottom .mono { font-family: var(--font-mono); }

/* ============================================================
   FLOOR BAND (full-width image divider)
   ============================================================ */
.floorband { position: relative; overflow: hidden; }
.floorband img { width: 100%; height: clamp(280px, 40vw, 460px); object-fit: cover; display: block; }
.floorband::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,34,54,.78) 0%, rgba(15,34,54,.45) 42%, rgba(15,34,54,.08) 100%);
}
.floorband .fb-inner { position: absolute; inset: 0; display: flex; align-items: center; z-index: 1; }
.floorband .fb-text { color: #fff; max-width: 34ch; }
.floorband .eyebrow { color: #9ec6ea; }
.floorband .eyebrow::before { background: #9ec6ea; }
.floorband .fb-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin-top: 16px;
}
.floorband .fb-sub { margin-top: 14px; color: #d4e0ec; font-size: 1.05rem; }

/* ============================================================
   PROOF GALLERY
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.proof-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.proof-figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.proof-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proof-card:hover .proof-figure img { transform: scale(1.04); }
.proof-cap { padding: 16px 18px 18px; }
.proof-cap .t { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy-900); letter-spacing: -.01em; }
.proof-cap .d { font-size: .86rem; color: var(--slate-500); margin-top: 5px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* hero load-in (plays once on load) */
.load-up { opacity: 0; transform: translateY(22px); animation: loadUp .9s var(--ease) forwards; }
.load-up[data-d="1"] { animation-delay: .1s; }
.load-up[data-d="2"] { animation-delay: .22s; }
.load-up[data-d="3"] { animation-delay: .34s; }
.load-up[data-d="4"] { animation-delay: .46s; }
.load-up[data-d="5"] { animation-delay: .58s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 540px; }
  .hero-chip.bl { left: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: relative; top: 0; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.span-2 { grid-column: span 2; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: clamp(36px, 7vw, 72px); }
}

/* Collapse to the hamburger before the full desktop nav would wrap: the brand
   + 5 links + phone pill + CTA button need ~1065px to sit on one line, so the
   inline nav is cramped on tablets/iPads well above the old 760px breakpoint.
   NOTE: keep this threshold in sync with the resize handler in script.js. */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-actions .btn-primary { display: none; } /* CTA lives in the hamburger menu */
  .nav-toggle { display: inline-flex; }
  .brand-sub { white-space: nowrap; }
  .site-header.menu-open { background: var(--paper); border-bottom-color: var(--line); }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 28px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 13px 0; font-weight: 500; color: var(--navy-800); border-top: 1px solid var(--line); }
  .mobile-menu a:first-child { border-top: none; }
  .mobile-menu a.btn { margin-top: 12px; justify-content: center; border-top: none; }
  .mobile-menu a.btn-primary { color: #fff; }
}

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; row-gap: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .services-grid, .industry-grid { grid-template-columns: 1fr; }
  .service-card.span-2 { grid-column: span 1; }
  .stats { gap: 30px; }
  .stat + .stat::before { display: none; } /* no divider once stats stack */
  .cred-row { grid-template-columns: 1fr; gap: 6px; }
  .hero-chip { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  /* keep form fields at >=16px so iOS Safari doesn't zoom in on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* eyebrow wraps awkwardly to 3+ lines at this width — hide it; h1 carries the context */
  .hero .eyebrow { display: none; }
  /* footer links: minimum 44px tap target */
  .footer-col a:not(.btn-light), .footer-col p { padding-block: 8px; margin-bottom: 0; }
}

/* mobile menu hidden on desktop */
.mobile-menu { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
