/* Empire Tool, LLC — empiretoolct.com
   Hand-coded static site. Maintained by Aero Media Group.
   Palette: white / steel gray / Empire navy (#1b2755). Type: Archivo (variable width). */

:root {
  --white: #ffffff;
  --steel-50: #f3f5f7;
  --steel-100: #e6e9ed;
  --steel-200: #d5dae0;
  --steel-400: #9aa3ae;
  --steel-600: #5b6573;
  --ink: #1d2431;
  --navy: #1b2755;
  --navy-deep: #121a3c;
  --navy-tint: #e8ebf4;
  --focus: #3b5bc4;

  --wide: 112;          /* Archivo width for headlines (100 = normal) */
  --max: 1180px;
  --gutter: 24px;
  --section: 104px;
  --radius: 3px;
}

/* ---------- Draft markers ----------
   .tbc = a fact still to confirm with Mark. Highlighted so it's easy to spot.
   At launch: once every .tbc is confirmed, delete this rule (or remove the class). */
.tbc {
  background: #fff1b8;
  box-shadow: 0 0 0 2px #fff1b8;
  border-radius: 2px;
  cursor: help;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, .display {
  color: var(--navy);
  font-weight: 640;
  font-variation-settings: "wdth" var(--wide);
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.55rem); }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.005em; }

.lead { font-size: 1.18rem; line-height: 1.55; color: var(--ink); max-width: 38em; }
.kicker { color: var(--steel-600); font-weight: 560; font-size: 0.98rem; margin-bottom: 18px; }
.muted { color: var(--steel-600); }
.measure { max-width: 40em; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--steel { background: var(--steel-50); }
.section--tight { padding: 64px 0; }
.section-head { max-width: 44em; margin-bottom: 48px; }
.section-head p { color: var(--steel-600); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border: 2px solid var(--navy); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--navy-tint); border-color: var(--navy-tint); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy-tint); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.actions .alt { color: var(--steel-600); }
.actions .alt a { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--steel-100); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand span {
  color: var(--navy); font-size: 1.3rem; font-weight: 700;
  font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.01em; line-height: 1;
}
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--steel-600); font-variation-settings: "wdth" 100; font-stretch: 100%; letter-spacing: 0; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 520; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--steel-200); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.nav .btn { padding: 11px 18px; font-size: .95rem; border-bottom: 2px solid var(--navy); color: #fff; }
.nav .btn:hover { border-bottom-color: var(--navy-deep); }
.nav .btn[aria-current="page"] { color: #fff; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--steel-100); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: min(640px, 78vh); padding-top: 56px; padding-bottom: 56px; }
.hero h1 { margin-bottom: 22px; }
.hero-media { position: relative; align-self: stretch; }
.hero-media img, .hero-media .img-slot { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius); }
.hero--page .wrap { min-height: 0; padding-top: 72px; padding-bottom: 72px; }
.hero--page .hero-media img, .hero--page .hero-media .img-slot { min-height: 320px; max-height: 460px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: none; } }
}

/* Connecticut line */
.ct-line { display: flex; align-items: center; gap: 14px; color: var(--steel-600); font-weight: 520; }
.ct-line svg { flex: none; width: 54px; height: auto; }
.ct-line svg .state { fill: var(--navy-tint); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.ct-line svg .pin { fill: var(--navy); }
.ct-band { border-bottom: 1px solid var(--steel-100); padding: 22px 0; }
.ct-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; align-items: center; }

/* ---------- Process (a real sequence, so it's numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 28px 8px 0; border-top: 2px solid var(--steel-200); position: relative; }
.steps li::before {
  content: counter(step); display: block;
  font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--steel-400);
  font-variation-settings: "wdth" 100; font-feature-settings: "tnum"; margin-bottom: 18px;
}
.steps li:first-child { border-top-color: var(--navy); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--steel-600); margin: 0; font-size: 1rem; }
.steps-note { margin-top: 36px; color: var(--steel-600); max-width: 46em; }

/* ---------- Service rows ---------- */
.services { border-top: 1px solid var(--steel-200); }
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--steel-200); }
.service:nth-child(even) .service-media { order: 2; }
.service-media img, .service-media .img-slot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.service ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.service li { padding-left: 22px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--navy); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.text-link:hover { background: var(--navy-tint); }
.paths { margin-top: 36px; color: var(--steel-600); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-media img, .split-media .img-slot { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-media .tall { aspect-ratio: 3 / 4; }
.split-media .wide { aspect-ratio: 4 / 3; }
.split-media figcaption { font-size: .9rem; color: var(--steel-600); margin-top: 10px; }
figure { margin: 0; }

.points { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.points li { padding-left: 20px; border-left: 2px solid var(--navy); }
.points strong { display: block; color: var(--navy); font-weight: 640; margin-bottom: 2px; }
.points span { color: var(--steel-600); }

/* ---------- Quote ---------- */
.quote { margin: 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--navy); }
.quote p { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--ink); }
.quote cite { font-style: normal; color: var(--steel-600); font-size: .98rem; }

/* ---------- Detail blocks (specs, decisions) ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 56px; }
.detail h3 { margin-bottom: 10px; }
.detail p { color: var(--steel-600); margin: 0; }
.spec { border-top: 2px solid var(--navy); padding-top: 18px; }
.spec h3 { font-size: 1.05rem; margin-bottom: 8px; }
.spec p { color: var(--ink); margin: 0; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px; }

.decision { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 44px 0; border-top: 1px solid var(--steel-200); }
.decision:last-child { border-bottom: 1px solid var(--steel-200); }
.decision .img-slot, .decision img { aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius); }
.decision p { color: var(--ink); }
.decision .cost { color: var(--steel-600); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table th, .table td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
.table th { color: var(--steel-600); font-weight: 560; width: 34%; }
.table td { font-feature-settings: "tnum"; }
.codes { list-style: none; columns: 2; column-gap: 40px; font-size: .97rem; }
.codes li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--steel-200); }
.codes b { font-feature-settings: "tnum"; color: var(--navy); margin-right: 10px; font-weight: 640; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; list-style: none; }
.gallery img, .gallery .img-slot { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--steel-100); }

/* ---------- Image placeholders ---------- */
.img-slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--steel-100); border: 1.5px dashed var(--steel-400); border-radius: var(--radius);
  color: var(--steel-600); font-size: .92rem; font-weight: 520; padding: 24px; min-height: 200px;
}
.img-slot span::before { content: "Photo needed: "; font-weight: 640; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 88px 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #c9cfe3; margin: 0; max-width: 34em; font-size: 1.08rem; }
.cta-band .phone-line { margin-top: 14px; color: #c9cfe3; }
.cta-band .phone-line a { color: #fff; font-weight: 600; }

/* ---------- Contact / RFQ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
.form-note { background: var(--navy-tint); border-left: 3px solid var(--navy); padding: 14px 18px; font-size: .93rem; margin-bottom: 28px; }
.rfq-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: var(--steel-600); font-weight: 500; }
.field input, .field select, .field textarea,
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"], .hs-form input[type="date"], .hs-form select, .hs-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--steel-200); border-radius: var(--radius); padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus,
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .86rem; color: var(--steel-600); }
.rfq-form .btn[disabled] { opacity: .55; cursor: not-allowed; }
/* HubSpot embed (legacy v2 embed renders real DOM, so it picks up these styles) */
.hs-form fieldset { max-width: none !important; }
.hs-form .hs-form-field { margin-bottom: 18px; }
.hs-form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.hs-form .hs-button { background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); padding: 15px 26px; font: inherit; font-weight: 600; cursor: pointer; }
.hs-form .hs-error-msgs { list-style: none; color: #9b1c1c; font-size: .88rem; margin-top: 4px; }

.contact-card { border-top: 2px solid var(--navy); padding-top: 22px; display: grid; gap: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; }
.contact-card img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-50); border-top: 1px solid var(--steel-100); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h3 { font-size: .98rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer .brand { margin-bottom: 16px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--steel-200); color: var(--steel-600); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .nav a { font-size: .92rem; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  :root { --section: 72px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--navy);
    background: none; border: 1.5px solid var(--steel-200); border-radius: var(--radius); padding: 9px 14px; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 78px;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--steel-200); padding: 8px var(--gutter) 20px;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--steel-100); font-size: 1.02rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--steel-100); box-shadow: inset 3px 0 0 var(--navy); padding-left: 12px; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .hero .wrap, .split, .split--wide-text, .service, .decision, .contact-grid, .cta-band .wrap { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .hero .wrap { min-height: 0; padding-top: 40px; padding-bottom: 48px; }
  .hero-media img, .hero-media .img-slot { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .service:nth-child(even) .service-media { order: 0; }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 60px; }
  body { font-size: 16.5px; }
  .brand small { display: none; }
  .brand img { height: 40px; }
  .steps, .spec-grid, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .steps li { padding-right: 0; }
  .rfq-form { grid-template-columns: minmax(0,1fr); }
  .codes { columns: 1; }
  .cta-band { padding: 64px 0; }
  .table th { width: 44%; }
}
@media print {
  .site-header, .cta-band, .menu-toggle { display: none; }
  .tbc { background: none; box-shadow: none; }
}
