/* ==========================================================================
   HD Rubber Manufacturer & Machine Shop — site stylesheet
   --------------------------------------------------------------------------
   Brand:      sampled from hdlogo.png / hdbanner.png
               navy structure · orange accents · industrial type
   Type:       Barlow Condensed (display) + Inter (body) — 2 families, 4 weights
   Method:     mobile-first. Grids are introduced at md 768 / lg 1024 / xl 1280.
   Tokens:     every colour, space, radius and shadow lives in :root.
               Components reference var() only — no raw hex below section 3.
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root{
  /* --- Brand colour -------------------------------------------------------
     --orange       : the sampled brand accent. Used for icons, numbers,
                      rules, underlines — never for small text on white.
     --orange-cta   : a slightly darkened orange used whenever orange is a
                      surface behind white text. 4.84:1 with #fff (WCAG AA).
                      The brief allows darkening the accent when white-on-orange
                      fails contrast; #E8601C only reaches 3.4:1.
     --orange-ink   : orange as *text* on light backgrounds. 4.84:1 (AA).
     --orange-lit   : orange as *text* on navy backgrounds. 7.8:1.
     ---------------------------------------------------------------------- */
  --navy:#0E2553;
  --navy-700:#1B3C7D;
  --navy-500:#2A4E92;
  --navy-deep:#0A1A3D;
  --navy-ink:#061027;

  --orange:#E8601C;
  --orange-cta:#C8460D;
  --orange-cta-hover:#AC3B08;
  --orange-ink:#B03C08;
  --orange-lit:#FF9350;
  --orange-tint:#FFF2EA;
  --orange-line:rgba(232,96,28,.34);

  --ink:#0E1626;
  --body:#4A5872;      /* 7.1:1 on white, 6.6:1 on --bg-soft */
  --muted:#5A6478;     /* 5.9:1 on white, 5.5:1 on --bg-soft (AA for body text) */
  --white:#FFFFFF;
  --bg-soft:#F5F7FA;
  --line:#E2E6EC;
  --line-strong:#CFD6E0;

  --on-dark:#C3D0E8;
  --on-dark-dim:#93A6C9;

  --green:#2FBF71;
  --green-tint:rgba(47,191,113,.14);
  --red:#E5634F;
  --red-tint:rgba(229,99,79,.14);
  --error:#B3251A;
  --error-bg:#FFF7F6;

  /* --- Spacing scale (8px) ------------------------------------------------ */
  --s1:8px;  --s2:16px; --s3:24px; --s4:32px;
  --s5:40px; --s6:48px; --s7:56px; --s8:64px;
  --s10:80px; --s12:96px;
  --pad:56px;              /* section padding — mobile */
  --gutter:20px;           /* container side padding */

  /* --- Radii, shadows, motion -------------------------------------------- */
  --radius:12px;
  --radius-sm:8px;
  --radius-pill:999px;
  --radius-lg:18px;

  --shadow-xs:0 1px 2px rgba(14,37,83,.06);
  --shadow-sm:0 2px 10px rgba(14,37,83,.07);
  --shadow-md:0 18px 40px -22px rgba(14,37,83,.32);
  --shadow-lg:0 32px 64px -30px rgba(14,37,83,.42);
  --shadow-cta:0 12px 26px -12px rgba(200,70,13,.55);

  --ease:cubic-bezier(.16,.84,.44,1);
  --t-fast:.18s var(--ease);
  --t:.26s var(--ease);
  --t-slow:.5s var(--ease);

  /* --- Layout ------------------------------------------------------------- */
  --maxw:1200px;
  --header-h:70px;
  --slant:44px;            /* depth of the section-edge slash */

  /* --- Fonts -------------------------------------------------------------- */
  --font-display:'Barlow Condensed','Arial Narrow',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  /* --- Motifs -------------------------------------------------------------
     A faint outlined gear, echoing the gear in the logo. Drawn as an inline
     SVG data-URI so it costs no extra request.
     ---------------------------------------------------------------------- */
  --gear-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='176' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.045' stroke-width='1.3'%3E%3Ccircle cx='66' cy='66' r='33'/%3E%3Ccircle cx='66' cy='66' r='12'/%3E%3Cpath d='M66 24v11M66 97v11M24 66h11M97 66h11M36 36l8 8M88 88l8 8M96 36l-8 8M44 88l-8 8'/%3E%3C/g%3E%3C/svg%3E");
  --gear-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='176' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%230E2553' stroke-opacity='.02' stroke-width='1.3'%3E%3Ccircle cx='66' cy='66' r='33'/%3E%3Ccircle cx='66' cy='66' r='12'/%3E%3Cpath d='M66 24v11M66 97v11M24 66h11M97 66h11M36 36l8 8M88 88l8 8M96 36l-8 8M44 88l-8 8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video,iframe{max-width:100%;display:block}
[hidden]{display:none!important}
img{height:auto}
a{color:var(--orange-ink);text-decoration:none}
a:hover{color:var(--orange-cta-hover)}
p{margin:0 0 1.05em}
ul,ol{margin:0;padding:0;list-style:none}
address{font-style:normal}
button{font:inherit;color:inherit}
input,select,textarea{font:inherit;color:inherit}
::selection{background:rgba(232,96,28,.2)}

/* AA-visible focus ring everywhere */
:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:3px;
  border-radius:4px;
}

h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.14;
  letter-spacing:.005em;
  color:var(--navy);
  margin:0 0 .5em;
  text-wrap:balance;
}
h1{font-size:clamp(2.5rem,7vw,4rem);line-height:1.04}
h2{font-size:clamp(1.8rem,4.4vw,2.75rem)}
h3{font-size:clamp(1.15rem,2.4vw,1.4rem)}
h4{font-size:1.0625rem}
p,li{text-wrap:pretty}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container{width:100%;max-width:calc(var(--maxw) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}


.container--narrow{max-width:calc(880px + var(--gutter) * 2)}

.section{padding:var(--pad) 0;position:relative}
.section--tight{padding:calc(var(--pad) * .68) 0}
.section--flush-top{padding-top:0}

.bg-soft{background:var(--bg-soft)}
.bg-white{background:var(--bg-white)}

.bg-navy{background:var(--navy-deep) var(--gear-light);background-size:176px 176px;color:var(--on-dark)}
.bg-navy::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 88% -10%,rgba(232,96,28,.20),rgba(232,96,28,0) 62%);
}
.bg-soft,.bg-white{background-image:var(--gear-dark);background-size:176px 176px}
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4{color:var(--white)}
.bg-navy p{color:var(--on-dark)}
.bg-navy > .container{position:relative;z-index:1}

/* slanted section edges — the "italic" motif from the logo letterforms */
.has-slant-bottom{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--slant)),0 100%)}
.has-slant-top{clip-path:polygon(0 var(--slant),100% 0,100% 100%,0 100%)}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:400;
  background:var(--orange-cta);color:#fff;font-family:var(--font-display);
  font-weight:700;font-size:1rem;padding:14px 22px;border-radius:0 0 var(--radius-sm) 0;
}
.skip-link:focus{left:0;color:#fff}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ==========================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-display);font-weight:700;font-size:.875rem;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--orange-ink);margin:0 0 var(--s2);
}
.kicker::before{
  content:"";width:24px;height:3px;border-radius:2px;background:var(--orange);
  transform:skewX(-10deg);                 /* echoes the slanted wordmark */
  flex:none;
}
.bg-navy .kicker{color:var(--orange-lit)}
.section-head{max-width:720px;margin-bottom:var(--s5)}
.section-head--center{margin-left:auto;margin-right:auto;text-align:center}
.section-head--center .kicker::before{display:none}
.section-head--split{display:grid;gap:var(--s3);max-width:none}
.lead{font-size:1.0625rem;line-height:1.7;color:var(--muted);margin:0}
.bg-navy .lead{color:var(--on-dark)}
.measure{max-width:640px}
.text-center{text-align:center}
.nowrap{white-space:nowrap}

/* placeholder markers — always visible, always obvious */
.todo{
  display:inline-block;border:1.5px dashed var(--orange-line);background:var(--orange-tint);
  border-radius:var(--radius-sm);padding:2px 10px;
  font-family:var(--font-display);font-weight:700;font-size:.95rem;letter-spacing:.02em;
  color:var(--orange-ink);line-height:1.5;
}
.todo-block{
  display:block;border:1.5px dashed var(--orange-line);background:var(--orange-tint);
  border-radius:var(--radius-sm);padding:10px 14px;
  font-family:var(--font-display);font-weight:700;font-size:.95rem;color:var(--orange-ink);
}
/* .todo.todo is deliberate: containers such as `.step p` or `table.cap td` set
   their own colour and would otherwise win over a single class, leaving a
   placeholder looking like ordinary body copy. The doubled class outranks them
   while staying below the dark-surface rule that follows. */
.todo.todo,.todo-block.todo-block{color:var(--orange-ink)}

.bg-navy .todo,.bg-navy .todo-block{
  background:rgba(232,96,28,.14);border-color:rgba(255,147,80,.5);color:var(--orange-lit);
}
.notice{
  display:flex;gap:12px;align-items:flex-start;
  border:1.5px dashed var(--line-strong);background:var(--bg-soft);
  border-radius:var(--radius);padding:14px 18px;margin:0 0 var(--s4);
  font-size:.95rem;color:var(--muted);
}
.notice strong{color:var(--navy)}
.notice .ico{color:var(--orange);margin-top:2px;flex:none}

/* ==========================================================================
   5. ICONS
   ========================================================================== */
.ico{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ico--solid{fill:currentColor;stroke:none}
.ico--lg{width:30px;height:30px;stroke-width:1.6}

/* ==========================================================================
   6. BUTTONS + LINKS
   ========================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--font-display);font-weight:700;font-size:1.0625rem;
  letter-spacing:.055em;text-transform:uppercase;line-height:1;
  min-height:48px;padding:15px 26px;border:2px solid transparent;
  border-radius:var(--radius-sm);cursor:pointer;text-align:center;
  text-decoration:none;white-space:nowrap;
  transition:transform var(--t-fast),box-shadow var(--t-fast),background var(--t-fast),border-color var(--t-fast),color var(--t-fast);
}
.btn .ico{width:19px;height:19px}
.btn--primary{background:var(--orange-cta);color:#fff;box-shadow:var(--shadow-cta)}
.btn--primary:hover,.btn--primary:focus-visible{background:var(--orange-cta-hover);color:#fff;transform:translateY(-2px)}
.btn--navy{background:var(--navy);color:#fff}
.btn--navy:hover{background:var(--navy-ink);color:#fff;transform:translateY(-2px)}
.btn--outline{background:transparent;border-color:var(--line-strong);color:var(--navy)}
.btn--outline:hover{border-color:var(--navy);background:var(--navy);color:#fff;transform:translateY(-2px)}
.btn--ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.45);color:#fff}
.btn--ghost:hover{background:#fff;border-color:#fff;color:var(--navy);transform:translateY(-2px)}
.btn--white{background:#fff;color:var(--navy)}
.btn--white:hover{background:#fff;color:var(--orange-cta);transform:translateY(-2px)}
.btn--sm{min-height:44px;padding:12px 18px;font-size:.9375rem}
.btn--block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

.link-arrow{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  font-family:var(--font-display);font-weight:700;font-size:1rem;
  letter-spacing:.05em;text-transform:uppercase;color:var(--navy);
  transition:color var(--t-fast),gap var(--t-fast);
}
.link-arrow .ico{width:16px;height:16px;stroke-width:2.4}
.link-arrow:hover{color:var(--orange-ink);gap:13px}
.bg-navy .link-arrow{color:#fff}
.bg-navy .link-arrow:hover{color:var(--orange-lit)}

/* ==========================================================================
   7. HEADER  (logo left · nav right · orange CTA far right)
   Navy, so the top of every page reads as one dark band with the hero under
   it. The lockup is the white mark (hd-logo-white.png) to sit on that field.
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:120;background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.10);
  transition:box-shadow var(--t),border-color var(--t),background var(--t);
}
.site-header.is-stuck{background:var(--navy-deep);box-shadow:0 10px 30px -18px rgba(3,9,22,.75)}
.header-inner{display:flex;align-items:center;gap:14px;height:var(--header-h)}

.brand{display:flex;align-items:center;gap:10px;flex:none;min-height:44px}
.brand img{height:38px;width:auto;transition:height var(--t)}
/* live-text wordmark beside the mark image (the image is mark-only, so the
   name is never doubled). Capped width lets it stack on two tidy lines on
   narrow phones instead of pushing the menu button off-screen. */
.brand__name{
  color:#fff;font-family:var(--font-display);font-weight:700;
  font-size:1rem;line-height:1.05;letter-spacing:.02em;text-transform:uppercase;
  max-width:13ch;
}
.site-header.is-stuck .brand img{height:34px}

.nav{display:none;align-items:center;gap:2px;margin-left:auto}
.nav__link{
  position:relative;padding:10px 12px;border-radius:var(--radius-sm);
  font-family:var(--font-display);font-weight:700;font-size:1.0625rem;
  letter-spacing:.045em;text-transform:uppercase;color:var(--on-dark);
  transition:color var(--t-fast),background var(--t-fast);
}
.nav__link:hover{color:#fff;background:rgba(255,255,255,.10)}
.nav__link[aria-current="page"]{color:#fff}
.nav__link[aria-current="page"]::after{
  content:"";position:absolute;left:12px;right:12px;bottom:3px;height:3px;
  border-radius:2px;background:var(--orange);transform:skewX(-10deg);
}
.header-cta{display:none;margin-left:14px}

.nav-toggle{
  margin-left:auto;display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:46px;height:46px;padding:12px;border:1px solid rgba(255,255,255,.28);
  border-radius:var(--radius-sm);background:transparent;cursor:pointer;
}
.nav-toggle span{display:block;height:2px;width:100%;border-radius:2px;background:#fff;transition:transform var(--t),opacity var(--t)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---- full-screen navy drawer (mobile) ---- */
.drawer{
  position:fixed;inset:0;z-index:200;background:var(--navy-deep) var(--gear-light);
  background-size:176px 176px;color:#fff;
  display:flex;flex-direction:column;
  transform:translateY(-100%);visibility:hidden;
  transition:transform var(--t-slow),visibility var(--t-slow);
  overflow-y:auto;overscroll-behavior:contain;
}
.drawer.is-open{transform:none;visibility:visible}
.drawer__top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px var(--gutter);border-bottom:1px solid rgba(255,255,255,.14);flex:none;
}
.drawer__top img{height:34px;width:auto}
.drawer__close{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);
  border-radius:var(--radius-sm);color:#fff;cursor:pointer;
}
.drawer__nav{padding:var(--s2) var(--gutter);display:grid;gap:2px;flex:1}
.drawer__link{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:56px;padding:12px 4px;color:#fff;
  border-bottom:1px solid rgba(255,255,255,.13);
  font-family:var(--font-display);font-weight:700;font-size:1.375rem;
  letter-spacing:.03em;text-transform:uppercase;
}
.drawer__link .ico{color:var(--orange-lit);width:18px;height:18px}
.drawer__link:hover,.drawer__link:focus-visible{color:var(--orange-lit)}
.drawer__link[aria-current="page"]{color:var(--orange-lit)}
.drawer__foot{padding:var(--s2) var(--gutter) var(--s4);display:grid;gap:12px;flex:none;border-top:1px solid rgba(255,255,255,.14)}
.drawer__meta{display:grid;gap:10px;font-size:1rem}
.drawer__meta a,.drawer__meta span{display:flex;align-items:center;gap:10px;color:var(--on-dark);min-height:44px}
.drawer__meta .ico{color:var(--orange-lit);width:18px;height:18px}
.drawer__meta a:hover{color:var(--orange-lit)}
body.is-locked{overflow:hidden}

/* ==========================================================================
   8. HERO  (landing page)
   The brand mark laid across the navy field, with the headline set centred in
   heavy condensed caps. The mark is drawn as a tonal element rather than a
   solid one, because the type sits over the middle of the frame: it carries
   the brand without competing with the words.
   ========================================================================== */
.hero{
  position:relative;isolation:isolate;overflow:hidden;color:#fff;
  background:var(--navy-deep);
  display:flex;justify-content:center;align-items:center;
  /* Fill the viewport: the header is sticky (in-flow), so the hero takes the
     rest of the screen. svh keeps mobile browser chrome from pushing the fold
     under the buttons; the vh line is the fallback for older engines. */
  min-height:calc(100vh - var(--header-h));
  min-height:calc(100svh - var(--header-h));
  padding:0;
}
.hero__bg{position:absolute;inset:0;z-index:-2}
/* No brightness lift here. The art is generated at its final values by
   hd-rubber-branded-hero.ps1, so the image is shown as authored - lifting it
   would only wash the navy out. */
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.04)}
/* A tint, not a black-out: a soft centre wash to seat the type, then shade the
   top and bottom edges. Kept light so the brand mark stays visible through it. */
.hero__scrim{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(70% 72% at 50% 58%,rgba(7,17,39,.5),rgba(7,17,39,0) 78%),
    linear-gradient(180deg,rgba(8,19,43,.40) 0%,rgba(12,28,60,.12) 46%,rgba(8,19,43,.50) 100%),
    linear-gradient(100deg,rgba(14,37,83,.20),rgba(32,74,148,.04));
}

.hero__eyebrow{
  display:block;font-family:var(--font-display);font-weight:700;
  font-size:.8125rem;letter-spacing:.26em;text-transform:uppercase;
  color:rgba(226,236,250,.8);margin:0 0 var(--s3);
}
.hero h1{
  color:#fff;margin:0 0 var(--s3);
  font-size:clamp(2rem,5.4vw,3.5rem);
  line-height:1.0;letter-spacing:.005em;text-transform:uppercase;
  text-shadow:0 2px 30px rgba(4,11,28,.45);
}
.hero h1 em{font-style:normal;color:var(--orange-lit)}
.hero__sub{
  font-size:1rem;line-height:1.6;color:#E3ECF8;
  max-width:540px;margin:0 auto var(--s5);
  text-shadow:0 1px 10px rgba(4,11,28,.75),0 2px 26px rgba(4,11,28,.5);
}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}

/* ==========================================================================
   9. TRUST BAR  (4 factual proof points + contact meta row)
   ========================================================================== */
.trust{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:2}
.trust__grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3) var(--s2);padding:var(--s4) 0 var(--s3)}
.trust__item{display:flex;gap:12px;align-items:flex-start;min-width:0}
.trust__item .ico{width:22px;height:22px;color:var(--orange);margin-top:3px}
.trust__item b{
  display:block;font-family:var(--font-display);font-weight:700;
  font-size:1.125rem;line-height:1.25;color:var(--navy);letter-spacing:.01em;
}
.trust__item span{display:block;font-size:.875rem;color:var(--muted);margin-top:2px}
.trust__item a{color:var(--navy)}
.trust__item a:hover{color:var(--orange-ink)}
.trust__meta{
  grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;
  padding-top:var(--s2);border-top:1px solid var(--line);font-size:.9375rem;
}
.trust__meta a,.trust__meta span{display:inline-flex;align-items:center;gap:8px;color:var(--body)}
.trust__meta a:hover{color:var(--orange-ink)}
.trust__meta .ico{width:16px;height:16px;color:var(--orange)}
.trust__meta .sep{width:1px;height:14px;background:var(--line-strong);flex:none}
.trust__meta .status-pill{margin-left:auto}
/* below the desktop breakpoint the meta row may wrap; an auto margin would
   strand the pill alone on the second line, far from the hours it qualifies */
@media (max-width:1023px){.trust__meta .status-pill{margin-left:0}}

.status-pill{
  display:inline-flex;align-items:center;gap:9px;padding:7px 15px;
  border-radius:var(--radius-pill);font-family:var(--font-display);font-weight:700;
  font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;flex:none;
}
.status-pill .dot{width:8px;height:8px;border-radius:50%;background:currentColor;position:relative;flex:none}
.status-pill .dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid currentColor;opacity:.5;animation:pulse 2.2s ease-out infinite}
.status-pill.is-open{background:var(--green-tint);color:#136B3C}
.status-pill.is-closed{background:var(--red-tint);color:#9E3220}
/* light-on-dark pill colours: needed on navy sections and on the navy footer,
   which is the same surface but is not marked .bg-navy */
.bg-navy .status-pill.is-open,
.site-footer .status-pill.is-open{background:rgba(47,191,113,.16);color:#6BE3A5}
.bg-navy .status-pill.is-closed,
.site-footer .status-pill.is-closed{background:rgba(229,99,79,.16);color:#FF9E8B}
@keyframes pulse{0%{transform:scale(.7);opacity:.7}75%,100%{transform:scale(1.7);opacity:0}}

/* ==========================================================================
   10. CARDS + GRIDS
   ========================================================================== */
.grid{display:grid;gap:var(--s3)}
.grid>*{min-width:0}

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--s4) var(--s3);
  display:flex;flex-direction:column;
  transition:transform var(--t),box-shadow var(--t),border-color var(--t);
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--line-strong)}
.card__icon{
  width:54px;height:54px;border-radius:14px;background:var(--orange-tint);color:var(--orange);
  display:flex;align-items:center;justify-content:center;margin-bottom:var(--s2);flex:none;
  transition:background var(--t),color var(--t);
}
.card__icon .ico{width:27px;height:27px}
.card:hover .card__icon{background:var(--navy);color:#fff}
.card h3{margin-bottom:10px}
.card p{font-size:.9688rem;line-height:1.65;margin-bottom:var(--s2);flex:1}
.card p:last-child{margin-bottom:0}
.card__foot{margin-top:auto}

/* service card: orange rule that draws in on hover */
.service-card{position:relative;overflow:hidden}
.service-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--orange),var(--orange-cta));
  transform:scaleX(0);transform-origin:left;transition:transform var(--t);
}
.service-card:hover::before{transform:scaleX(1)}

/* why-us card on navy */
.why-card{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);padding:var(--s3) var(--s3) var(--s4);
  transition:transform var(--t),border-color var(--t),background var(--t);
}
.why-card:hover{transform:translateY(-5px);border-color:rgba(255,147,80,.6);background:rgba(232,96,28,.10)}
.why-card .card__icon{background:rgba(232,96,28,.18);color:var(--orange-lit)}
.why-card:hover .card__icon{background:var(--orange-cta);color:#fff}
.why-card h3{color:#fff;font-size:1.25rem;margin-bottom:8px}
.why-card p{font-size:.9375rem;line-height:1.62;color:var(--on-dark);margin:0}

/* industry card */
.ind-card{text-align:left}
.ind-card .ico{width:32px;height:32px;color:var(--orange);margin-bottom:var(--s2);stroke-width:1.6}

/* ==========================================================================
   11. PROCESS STRIP
   ========================================================================== */
.process{counter-reset:step;display:grid;gap:var(--s3);position:relative}
.process::before{
  content:"";position:absolute;left:27px;top:20px;bottom:20px;width:2px;
  background:linear-gradient(180deg,var(--orange),rgba(232,96,28,.12));
}
.step{position:relative;padding-left:70px;min-height:56px}
.step__num{
  position:absolute;left:0;top:0;width:56px;height:56px;border-radius:50%;
  background:#fff;border:2px solid var(--orange);color:var(--orange-ink);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:1.5rem;
  box-shadow:var(--shadow-sm);
}
.step h3{margin-bottom:6px;font-size:1.1875rem}
.step p{margin:0;font-size:.9375rem;color:var(--muted)}
.step .todo{margin-top:8px}

/* ==========================================================================
   12. MEDIA PANEL (services: navy icon panel standing in for photos)
   ========================================================================== */
/* minmax(0,1fr) instead of a bare implicit column: auto tracks size themselves
   to their items' min-content, so one wide table would stretch the whole column
   past the phone viewport. 0 is the floor that lets content scroll instead. */
.split{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s4);align-items:center}
.split__media{order:0}
.media-panel{
  position:relative;border-radius:var(--radius);overflow:hidden;
  background:var(--navy-deep) var(--gear-light);background-size:176px 176px;
  color:#fff;padding:var(--s4);min-height:240px;
  display:flex;flex-direction:column;justify-content:space-between;gap:var(--s3);
  box-shadow:var(--shadow-md);
}
.media-panel::after{
  content:"";position:absolute;right:-70px;bottom:-70px;width:230px;height:230px;border-radius:50%;
  background:radial-gradient(circle,rgba(232,96,28,.24),rgba(232,96,28,0) 70%);pointer-events:none;
}
.media-panel__icon{
  width:64px;height:64px;border-radius:16px;background:rgba(232,96,28,.18);
  color:var(--orange-lit);display:flex;align-items:center;justify-content:center;flex:none;
}
.media-panel__icon .ico{width:34px;height:34px}
.media-panel__label{
  font-family:var(--font-display);font-weight:700;font-size:.8125rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--on-dark-dim);
}
.media-panel__chips{display:flex;flex-wrap:wrap;gap:8px;position:relative;z-index:1}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.17);
  color:#DDE6F5;font-size:.875rem;font-weight:500;padding:7px 14px;border-radius:var(--radius-pill);
}
.chip--light{background:var(--bg-soft);border-color:var(--line);color:var(--navy)}
.bg-navy .chip--light{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.17);color:#DDE6F5}

.feature-list{display:grid;gap:11px;margin:0 0 var(--s3)}
.feature-list li{display:flex;gap:12px;align-items:flex-start;font-size:.9688rem;line-height:1.6}
.feature-list .ico{width:20px;height:20px;color:var(--orange);margin-top:3px;stroke-width:2.4}
.bg-navy .feature-list .ico{color:var(--orange-lit)}
.bg-navy .feature-list li{color:var(--on-dark)}
.feature-list b{color:var(--navy)}
.bg-navy .feature-list b{color:#fff}

/* ==========================================================================
   13. CAPABILITY TABLE
   ========================================================================== */
/* min-width:0 lets the wrapper shrink inside .split grid columns (grid items
   default to min-width:auto, so the table's min-content would otherwise stretch
   the whole track past the viewport on phones). overflow-x:auto scrolls the
   table inside the card instead of clipping it or widening the page. */
.table-wrap{border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0;overflow-x:auto}
table.cap{width:100%;border-collapse:collapse;font-size:.9688rem}
table.cap caption{
  caption-side:top;text-align:left;padding:16px 20px;
  font-family:var(--font-display);font-weight:700;font-size:1.0625rem;color:var(--navy);
  background:var(--bg-soft);border-bottom:1px solid var(--line);
}
table.cap th,table.cap td{padding:15px 20px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
table.cap tr:last-child th,table.cap tr:last-child td{border-bottom:none}
table.cap th{
  width:34%;min-width:150px;font-family:var(--font-display);font-weight:700;
  color:var(--navy);font-size:1rem;letter-spacing:.02em;background:#FBFCFE;
}
table.cap td{color:var(--body)}
/* table-cell links are 36px tall, not 44px: the 24px WCAG minimum is comfortably
   met without doubling the height of a seven-row reference table. Every primary
   action on the site is a full 44px+ target. */
table.cap td a{display:inline-flex;align-items:center;min-height:36px}
table.cap td .todo{margin:2px 0 0}

/* ==========================================================================
   14. FILTERS + PRODUCT / GALLERY GRIDS
   ========================================================================== */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 var(--s4)}
.filter-btn{
  min-height:44px;padding:11px 18px;border-radius:var(--radius-pill);
  border:1.5px solid var(--line-strong);background:#fff;color:var(--navy);
  font-family:var(--font-display);font-weight:700;font-size:1rem;
  letter-spacing:.05em;text-transform:uppercase;cursor:pointer;
  transition:background var(--t-fast),border-color var(--t-fast),color var(--t-fast);
}
.filter-btn:hover{border-color:var(--navy)}
.filter-btn[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.bg-navy .filter-btn{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24);color:#fff}
.bg-navy .filter-btn[aria-pressed="true"]{background:var(--orange-cta);border-color:var(--orange-cta)}

.tag{
  display:inline-flex;align-items:center;font-family:var(--font-display);font-weight:700;
  font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;
  background:var(--orange-tint);color:var(--orange-ink);
  padding:5px 11px;border-radius:var(--radius-sm);
}
.tag--dark{background:rgba(14,37,83,.9);color:#fff}

.product-card{padding:0;overflow:hidden}
.product-card .product-visual{
  position:relative;aspect-ratio:16/10;
  background:var(--navy-deep) var(--gear-light);background-size:176px 176px;
  display:flex;align-items:center;justify-content:center;color:var(--orange-lit);
}
.product-card .product-visual .ico{width:52px;height:52px;stroke-width:1.4}
.product-card .product-visual .tag{position:absolute;top:12px;left:12px}
.product-card .product-body{padding:var(--s3);display:flex;flex-direction:column;flex:1;gap:8px}
.product-card .product-body h3{margin:0;font-size:1.25rem}
.product-card .spec{font-size:.875rem;color:var(--muted);margin:0}
.product-card .product-body .btn{align-self:flex-start;margin-top:auto}

.gallery{display:grid;gap:var(--s3)}
.project-tile{
  position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);
  background:#0E2553;padding:0;text-align:left;cursor:pointer;display:block;width:100%;
  transition:transform var(--t),box-shadow var(--t);
}
.project-tile:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.project-tile img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform var(--t-slow)}
.project-tile:hover img{transform:scale(1.045)}
.project-tile__overlay{
  position:absolute;inset:auto 0 0 0;
  padding:38px 18px 16px;color:#fff;text-align:left;
  background:linear-gradient(180deg,rgba(6,16,39,0),rgba(6,16,39,.88));
}
.project-tile__overlay h3{color:#fff;font-size:1.1875rem;margin:0 0 4px}
.project-tile__overlay p{margin:0;font-size:.875rem;color:#C3D0E8}
.project-tile .tag{position:absolute;top:12px;left:12px}
.project-tile__zoom{
  position:absolute;top:12px;right:12px;width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;border-radius:50%;
  background:rgba(6,16,39,.7);color:#fff;opacity:0;transition:opacity var(--t);
}
.project-tile:hover .project-tile__zoom,.project-tile:focus-visible .project-tile__zoom{opacity:1}

/* ==========================================================================
   15. LIGHTBOX
   ========================================================================== */
.lightbox{
  position:fixed;inset:0;z-index:300;background:rgba(4,11,28,.94);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:var(--s3);gap:var(--s2);
}
.lightbox[hidden]{display:none}
.lightbox__img{max-width:min(100%,1100px);max-height:72vh;width:auto;border-radius:var(--radius);box-shadow:var(--shadow-lg)}
.lightbox__cap{color:#D4DEF2;font-size:.9688rem;text-align:center;max-width:640px}
.lightbox__cap b{color:#fff;display:block;font-family:var(--font-display);font-size:1.1875rem}
.lightbox__btn{
  position:absolute;width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.lightbox__btn:hover{background:var(--orange-cta);border-color:var(--orange-cta)}
.lightbox__btn .ico{width:22px;height:22px}
.lightbox__close{top:18px;right:18px}
.lightbox__prev{left:14px;top:50%;transform:translateY(-50%)}
.lightbox__next{right:14px;top:50%;transform:translateY(-50%)}

/* ==========================================================================
   16. FAQ ACCORDION
   ========================================================================== */
.faq-list{display:grid;gap:12px}
.faq{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}
.faq[open]{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  cursor:pointer;padding:18px 20px;list-style:none;
  font-family:var(--font-display);font-weight:700;font-size:1.125rem;
  color:var(--navy);line-height:1.3;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";flex:none;width:11px;height:11px;margin-top:-4px;
  border-right:2.6px solid var(--orange);border-bottom:2.6px solid var(--orange);
  transform:rotate(45deg);transition:transform var(--t);
}
.faq[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.faq summary:hover{background:var(--bg-soft)}
.faq__body{padding:0 20px 20px;font-size:.9688rem;line-height:1.7}
.faq__body p:last-child{margin-bottom:0}

/* ==========================================================================
   17. PAGE HERO (sub-pages) + BREADCRUMBS
   ========================================================================== */
.page-hero{
  position:relative;overflow:hidden;color:#fff;
  background:var(--navy-deep) var(--gear-light);background-size:176px 176px;
  padding:var(--s6) 0 calc(var(--s6) - var(--slant) + 24px);
  --slant:44px;
}
.page-hero::after{
  content:"";position:absolute;right:-130px;top:-150px;width:440px;height:440px;
  background:radial-gradient(circle,rgba(232,96,28,.20),rgba(232,96,28,0) 70%);pointer-events:none;
}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{color:#fff;margin:0 0 12px}
.page-hero p{color:var(--on-dark);font-size:1.0625rem;max-width:680px;margin:0}
.breadcrumbs{font-size:.875rem;color:var(--on-dark-dim);margin:0 0 var(--s2)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:#D4DEF2}
.breadcrumbs a:hover{color:var(--orange-lit)}
.breadcrumbs li+li::before{content:"/";margin-right:8px;color:#5B6C8C}
.prose h2{font-size:clamp(1.5rem,2.6vw,1.9rem);margin-top:var(--s5)}
.prose h3{margin-top:var(--s4)}
.prose ul{margin:0 0 var(--s3)}
.prose li{position:relative;margin-bottom:10px;font-size:.9688rem}
/* the orange bullet is for plain prose lists only - never for the icon-led
   feature lists, which bring their own markers */
.prose ul:not(.feature-list):not(.about-points)>li{padding-left:24px}
.prose ul:not(.feature-list):not(.about-points)>li::before{content:"";position:absolute;left:2px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--orange)}

/* ==========================================================================
   18. CONTACT / FORM / MAP / INFO CARDS
   ========================================================================== */
.contact-card{
  display:flex;gap:16px;align-items:flex-start;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;
  transition:border-color var(--t),transform var(--t),box-shadow var(--t);
}
.contact-card:hover{border-color:rgba(232,96,28,.5);transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.contact-card .card__icon{width:48px;height:48px;border-radius:13px;margin-bottom:0}
.contact-card .card__icon .ico{width:23px;height:23px}
.contact-card h3{
  font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin:0 0 6px;
}
.contact-card .value{
  display:inline-block;font-family:var(--font-display);font-weight:700;
  font-size:1.1875rem;color:var(--navy);line-height:1.35;word-break:break-word;
}
.contact-card a.value{display:inline-flex;align-items:center;min-height:44px}
.contact-card a.value:hover{color:var(--orange-ink)}
.contact-card small{display:block;font-size:.875rem;color:var(--muted);margin-top:5px}
.mini-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.mini-btn{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 15px;
  border-radius:var(--radius-sm);border:1.5px solid var(--line-strong);background:#fff;
  font-family:var(--font-display);font-weight:700;font-size:.9375rem;
  letter-spacing:.04em;text-transform:uppercase;color:var(--navy);transition:var(--t-fast);
}
.mini-btn .ico{width:16px;height:16px}
.mini-btn:hover{border-color:var(--orange);color:var(--orange-ink)}

.map-wrap{
  position:relative;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:#E9EEF6;box-shadow:var(--shadow-sm);
}
.map-wrap iframe{width:100%;height:300px;border:0}
.map-note{display:flex;gap:9px;align-items:center;font-size:.875rem;color:var(--muted);margin:var(--s2) 0 0}
.map-note .ico{width:16px;height:16px;color:var(--orange);flex:none}

.form-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--s3) var(--s2);box-shadow:var(--shadow-md);
}
.form-card h2,.form-card h3{margin-bottom:8px}
.form-sub{font-size:.9375rem;color:var(--muted);margin-bottom:var(--s3)}
.field{margin-bottom:18px}
.field label{
  display:block;font-family:var(--font-display);font-weight:700;font-size:.875rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--navy);margin-bottom:7px;
}
.field label .req{color:var(--orange-ink)}
.field .hint{font-weight:500;font-size:.8125rem;color:var(--muted);text-transform:none;letter-spacing:0}
.field input[type="text"],.field input[type="email"],.field input[type="tel"],.field select,.field textarea{
  width:100%;font-size:1rem;color:var(--ink);background:#FBFCFE;
  border:1.5px solid var(--line-strong);border-radius:var(--radius-sm);
  padding:13px 15px;transition:border-color var(--t-fast),box-shadow var(--t-fast),background var(--t-fast);
}
/* 44px minimum touch target for every control */
.field input,.field select{min-height:48px}
.field input[type="file"]{min-height:44px}
.field textarea{min-height:132px;resize:vertical;line-height:1.6}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E2553' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:42px}
.field input::placeholder,.field textarea::placeholder{color:#98A5BA}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--orange);background:#fff;box-shadow:0 0 0 4px rgba(232,96,28,.14);
}
.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:var(--error);background:var(--error-bg)}
.field-error{display:none;font-size:.8125rem;font-weight:500;color:var(--error);margin-top:6px}
.field.has-error .field-error{display:block}
.field .file-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.field input[type="file"]{font-size:.875rem;color:var(--muted);max-width:100%}
.field input[type="file"]::file-selector-button{
  font-family:var(--font-display);font-weight:700;font-size:.9375rem;
  letter-spacing:.04em;text-transform:uppercase;margin-right:12px;
  padding:10px 16px;border-radius:var(--radius-sm);border:1.5px solid var(--line-strong);
  background:#fff;color:var(--navy);cursor:pointer;
}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-note{display:flex;gap:10px;align-items:flex-start;font-size:.875rem;color:var(--muted);line-height:1.6;margin:0 0 18px}
.form-note .ico{width:17px;height:17px;color:var(--orange);margin-top:2px;flex:none}
.form-status{font-size:.9375rem;font-weight:500;color:var(--navy);margin:14px 0 0}
.form-status.is-error{color:var(--error)}
.form-success{
  margin-top:var(--s2);padding:18px 20px;border-radius:var(--radius);
  background:#F0FAF4;border:1px solid #B7E2C9;color:#1F5C3B;
}
.form-success[hidden]{display:none}
.form-success h3{margin:0 0 8px;color:#155234;font-size:1.1875rem}
.form-success p{margin:0 0 10px;font-size:.9375rem;color:#2C5C42}
.form-success p:last-child{margin-bottom:0}
.form-success a{color:#155234;font-weight:600;text-decoration:underline}

/* ==========================================================================
   19. NEXT STEPS / HOURS
   ========================================================================== */
.next-steps{display:grid;gap:var(--s3)}
.next-step{display:flex;gap:16px;align-items:flex-start}
.next-step__num{
  flex:none;width:42px;height:42px;border-radius:var(--radius-sm);
  background:var(--orange-tint);color:var(--orange-ink);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:1.3125rem;
  transform:skewX(-8deg);
}
.next-step__num span{display:block;transform:skewX(8deg)}
.next-step h3{font-size:1.125rem;margin-bottom:4px}
.next-step p{margin:0;font-size:.9375rem}

.hours-list li{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.12);font-size:1rem;
}
.hours-list li:first-child{border-top:1px solid rgba(255,255,255,.12)}
.hours-list li span{display:flex;align-items:center;gap:12px;color:var(--on-dark)}
.hours-list li strong{color:#fff;font-family:var(--font-display);font-weight:700;white-space:nowrap}
.hours-list li.is-closed strong{color:#8FA1C4}
.hours-list li.is-today{background:rgba(232,96,28,.16);border-left:4px solid var(--orange);padding-left:12px}
.hours-list li.is-today span{color:#fff;font-weight:500}
.today-chip{
  font-family:var(--font-display);font-weight:700;font-size:.6875rem;letter-spacing:.12em;
  text-transform:uppercase;background:var(--orange-cta);color:#fff;padding:3px 9px;border-radius:5px;
}

/* ==========================================================================
   20. CTA BAND
   ========================================================================== */
.cta-band{
  position:relative;overflow:hidden;color:#fff;
  background:var(--navy-deep) var(--gear-light);background-size:176px 176px;
  clip-path:polygon(0 0,100% var(--slant),100% 100%,0 100%);
  padding:calc(var(--pad) + var(--slant)) 0 var(--pad);
  --slant:40px;
}
.cta-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(90% 120% at 12% 0%,rgba(232,96,28,.26),rgba(232,96,28,0) 60%);
}
.cta-band .container{position:relative;z-index:1;display:grid;gap:var(--s3);align-items:center}
.cta-band h2{color:#fff;margin:0 0 10px}
.cta-band p{color:var(--on-dark);margin:0;font-size:1.0625rem}
.cta-band .btn-row{align-items:center}
.cta-band__phone{
  display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#fff;
  font-family:var(--font-display);font-weight:700;font-size:1.3125rem;letter-spacing:.03em;
}
.cta-band__phone .ico{color:var(--orange-lit);width:22px;height:22px}
.cta-band__phone:hover{color:var(--orange-lit)}

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.site-footer{background:var(--navy-ink);color:#98A7C4;font-size:.9375rem;padding:var(--s7) 0 0;position:relative}
.site-footer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--orange-cta) 0%,var(--orange) 45%,var(--navy-500) 100%);
}
.footer-grid{display:grid;gap:var(--s4);padding-bottom:var(--s5)}
.footer-brand img{height:44px;width:auto;margin-bottom:16px}
.footer-brand p{font-size:.9375rem;line-height:1.7;color:#8B9BBB;margin-bottom:18px;max-width:42ch}
.footer-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:var(--s3)}
.footer-badges .chip{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);font-size:.8125rem;padding:6px 12px}
.footer-social{display:flex;gap:10px}
.footer-social a{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:var(--radius-sm);background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);color:#C9D6EE;transition:var(--t-fast);
}
.footer-social a:hover{background:var(--orange-cta);border-color:var(--orange-cta);color:#fff;transform:translateY(-3px)}
.footer-social .ico{width:19px;height:19px}
.site-footer h2,.site-footer h3{
  color:#fff;font-size:.875rem;letter-spacing:.16em;text-transform:uppercase;
  margin:0 0 16px;font-weight:700;
}
.footer-links li{margin-bottom:2px}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;color:#98A7C4;transition:color var(--t-fast)}
.footer-links a:hover{color:var(--orange-lit)}
.footer-contact li{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px;font-size:.9375rem;line-height:1.6}
.footer-contact .ico{width:17px;height:17px;color:var(--orange);flex:none;margin-top:4px}
.footer-contact a{display:inline-flex;align-items:center;min-height:44px;color:#C9D6EE}
.footer-contact a:hover{color:var(--orange-lit)}
.footer-hours li{display:flex;justify-content:space-between;gap:14px;font-size:.9375rem;margin-bottom:9px}
.footer-hours li b{color:#DDE6F5;font-weight:500}
.footer-hours .status-pill{margin-top:14px}
.footer-map-link{
  display:inline-flex;align-items:center;gap:9px;margin-top:14px;min-height:44px;
  color:var(--orange-lit);font-family:var(--font-display);font-weight:700;
  font-size:.9375rem;letter-spacing:.05em;text-transform:uppercase;
}
.footer-map-link .ico{width:16px;height:16px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding:20px 0;
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-size:.875rem;color:#7A89A9;
}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px;color:#98A7C4}
.footer-bottom a:hover{color:var(--orange-lit)}
.footer-bottom__links{display:flex;gap:18px;flex-wrap:wrap}

/* ==========================================================================
   22. PERSISTENT CONVERSION AIDS
   ========================================================================== */
.mobile-cta{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:140;
  background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -10px 28px -14px rgba(14,37,83,.34);
  padding:9px 12px;gap:9px;
}
.mobile-cta a{
  flex:1;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--font-display);font-weight:700;font-size:1rem;letter-spacing:.05em;
  text-transform:uppercase;border-radius:var(--radius-sm);
}
.mobile-cta .ico{width:18px;height:18px}
.mobile-cta__call{background:var(--navy);color:#fff}
.mobile-cta__call:hover{color:#fff;background:var(--navy-ink)}
.mobile-cta__quote{background:var(--orange-cta);color:#fff}
.mobile-cta__quote:hover{color:#fff;background:var(--orange-cta-hover)}

/* Phones and tablets (anything below the desktop nav breakpoint) get the sticky
   Call / Get-a-Quote bar, with matching body padding so it never covers the
   last line of the footer. At >=1024 the header's Request-a-Quote button is
   always visible, so there is exactly one persistent conversion aid per width.
   (The old vertical side tab was removed on request - it fought the content.) */
@media (max-width:1023px){
  .mobile-cta{display:flex}
  body{padding-bottom:76px}
  /* no hover on touch devices, so the zoom affordance is always visible */
  .project-tile__zoom{opacity:1}
}

/* ==========================================================================
   23. REVEAL ON SCROLL — the only motion
   ========================================================================== */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.js .reveal.is-in{opacity:1;transform:none}

/* ==========================================================================
   24. BREAKPOINTS — md 768 / lg 1024 / xl 1280
   ========================================================================== */
@media (min-width:600px){
  .grid--2{grid-template-columns:repeat(2,1fr)}
  .trust__grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .btn-row .btn{flex:0 0 auto}
}

@media (min-width:768px){
  :root{--gutter:28px;--pad:72px;--header-h:76px}
  .brand__name{font-size:1.0625rem;max-width:none}
  .section{padding:var(--pad) 0}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  /* four across only from the desktop breakpoint — at tablet width the labels
     wrapped onto three lines each and the strip looked cramped */
  .trust__grid{padding:var(--s5) 0 var(--s3)}
  /* Compact the contact row so it stays on ONE line on desktop: the default
     18px gaps push the total past 1000px and the row breaks before the hours. */
  /* Contact row: gaps and type tighten with the viewport (1.3vw) so the whole
     row - address, email, hours and the status pill - fits on ONE line from
     ~900px up, which covers every laptop window. Below that it wraps, which is
     correct for tablet/phone widths where one line would need sub-12px type. */
  .trust__meta{margin-top:4px;gap:8px 12px;font-size:clamp(.75rem,1.3vw,.875rem)}
  .trust__meta a,.trust__meta span{gap:6px}
  .process{grid-template-columns:repeat(2,1fr);gap:var(--s4) var(--s3)}
  .process::before{display:none}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s5)}
  /* media is first in the DOM so it leads on mobile; on desktop it sits in the
     right column unless the block is flagged --reverse (then it stays left) */
  .split:not(.split--reverse) .split__media{order:2}
  .media-panel{min-height:300px;padding:var(--s5)}
  .faq-list{grid-template-columns:repeat(2,1fr);align-items:start}
  .cta-band .container{grid-template-columns:1.4fr auto;gap:var(--s5)}
  .cta-band .btn-row{justify-content:flex-end}
  .footer-grid{grid-template-columns:1fr 1fr;gap:var(--s5)}
  .form-card{padding:var(--s4)}
  .contact-grid{display:grid;gap:var(--s5)}
  .map-wrap iframe{height:360px}
  .lightbox__prev{left:26px}
  .lightbox__next{right:26px}
}

@media (min-width:1024px){
  :root{--gutter:32px;--pad:96px;--header-h:84px;--slant:64px}
  .nav{display:flex}
  .header-cta{display:inline-flex}
  .nav-toggle{display:none}
  .brand img{height:46px}
  /* name stays at the 768 size here: nav + CTA + a 20px name overflows the
     1024 header row by ~25px. It steps up at 1280 where there is room. */
  .site-header.is-stuck .brand img{height:40px}
  .grid{gap:var(--s4)}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
  .trust__grid{grid-template-columns:repeat(4,1fr)}
  /* one line from ~900px up (see the clamp note at the 768 breakpoint) */
  /* descriptions stay on ONE line at desktop so all four titles+subtitles
     sit on the same two baselines; below this breakpoint wrapping is fine */
  .trust__item span{white-space:nowrap}
  .section-head--split{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:var(--s6);align-items:end}
  .split{gap:var(--s8)}
  .split--even{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .split--wide{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
  
  .process{grid-template-columns:repeat(4,1fr);gap:var(--s4)}
  .step{padding-left:0;padding-top:72px}
  .step__num{left:0;top:0}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.1fr 1fr 1fr;gap:var(--s6)}
  .contact-grid{grid-template-columns:1.05fr .95fr;gap:var(--s6);align-items:start}
  .faq-list--wide{grid-template-columns:1fr}
  .map-wrap iframe{height:420px}
  .page-hero{padding:var(--s8) 0 calc(var(--s8) - var(--slant) + 32px)}
  .cta-band{padding:calc(var(--pad) + var(--slant)) 0 var(--pad)}
  .media-panel{min-height:360px}
}

@media (min-width:1280px){
  .brand img{height:50px}
  .brand__name{font-size:1.25rem}
  .site-header.is-stuck .brand img{height:44px}
  .nav__link{font-size:1.125rem;padding:10px 14px}
  .footer-grid{grid-template-columns:1.25fr .7fr 1fr 1fr}
}

/* ==========================================================================
   25. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ==========================================================================
   26. PRINT
   ========================================================================== */
@media print{
  .site-header,.mobile-cta,.drawer,.lightbox,.hero__bg,.cta-band{display:none!important}
  body{color:#000;padding:0}
  .bg-navy,.site-footer{background:#fff!important;color:#000!important}
}
