/* Andy Aluminum — site styles
   Palette is taken from the existing wordmark (white small caps on a deep teal-to-blue gradient). */

:root {
  --navy: #0b2f42;        /* wordmark ground, header, footer */
  --navy-deep: #082230;
  --brand: #1f8fbf;       /* the bright blue at the bottom of the logo gradient — the one accent */
  --brand-deep: #14607f;
  --brand-tint: #e4f1f8;
  --alum: #d6dde2;        /* aluminum grey for rules and quiet fills */
  --alum-light: #eef1f3;
  --paper: #f8f9f9;
  --white: #ffffff;
  --ink: #16232b;
  --steel: #56656f;       /* muted text */
  --ok: #2d8a4e;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); display: grid; gap: 12px; }
.eyebrow {
  font-family: var(--display);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-deep);
}
.lede { font-size: 19px; color: var(--steel); max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 14px 22px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--alum); }
.btn-ghost:hover { border-color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em;
  font-variant: small-caps; color: var(--white); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark svg { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 8px 12px; border-radius: 4px;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 11px 16px; font-size: 15px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 2px solid rgba(255,255,255,.4);
  color: var(--white); border-radius: 4px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.hero .container {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 7vw, 88px);
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--white); }
.hero h1 em { font-style: normal; color: #7cc7ea; }
.hero .lede { color: rgba(255,255,255,.82); margin-top: 18px; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 42%;
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(8,34,48,.86); color: var(--white); font-size: 13.5px;
  padding: 7px 11px; border-radius: 4px; backdrop-filter: blur(4px);
}

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--alum); }
.trust .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.trust-item { padding: 22px 20px 22px 0; display: grid; gap: 4px; border-right: 1px solid var(--alum); }
.trust-item + .trust-item { padding-left: 24px; }
.trust-item:last-child { border-right: 0; }
.trust-item .num { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.trust-item .num small { font-size: 15px; font-weight: 600; color: var(--steel); margin-left: 4px; }
.trust-item .lbl { font-size: 14.5px; color: var(--steel); }
.trust-item a { color: inherit; }

/* ---------- services ---------- */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--white); border: 1px solid var(--alum); border-radius: var(--radius);
  padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start;
}
.service .ico { width: 40px; height: 40px; color: var(--brand); }
.service .ico svg { width: 100%; height: 100%; }
.service p { color: var(--steel); font-size: 15.5px; }
.service-note { margin-top: 22px; color: var(--steel); font-size: 15.5px; max-width: 70ch; }

/* ---------- why (proof) ---------- */
.why { background: var(--white); border-block: 1px solid var(--alum); }
.why .container { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-list { display: grid; gap: 0; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--alum); }
.why-item:last-child { border-bottom: 1px solid var(--alum); }
.why-item .mark { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.why-item .mark svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 19px; }
.why-item p { color: var(--steel); font-size: 15.5px; margin-top: 4px; }
.why-item q { display: block; margin-top: 8px; font-size: 15px; color: var(--ink); }
.why-item q::before, .why-item q::after { color: var(--brand); }
.why-item cite { font-style: normal; font-size: 13.5px; color: var(--steel); }

/* ---------- work gallery ---------- */
.work { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--alum-light); }
.gallery button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s ease; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.wide img { aspect-ratio: 3 / 2; }
@media (hover: hover) { .gallery button:hover img { transform: scale(1.03); } }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(8,34,48,0) 0%, rgba(8,34,48,.82) 100%);
  color: var(--white); font-size: 13.5px; line-height: 1.3; pointer-events: none;
}
.work-note { margin-top: 18px; font-size: 14.5px; color: var(--steel); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,34,48,.94); display: none; place-items: center; padding: 20px; }
.lightbox[open] { display: grid; }
.lightbox img { max-width: min(96vw, 1100px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 12px; font-size: 15px; }
.lightbox figure { margin: 0; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- reviews ---------- */
.reviews { background: var(--navy); color: var(--white); }
.reviews .eyebrow { color: #7cc7ea; }
.reviews .lede { color: rgba(255,255,255,.8); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; align-content: start;
}
.stars { display: flex; gap: 3px; color: #f2b233; }
.stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 17.5px; line-height: 1.45; }
.review cite { font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); display: block; }
.review cite b { color: var(--white); font-weight: 600; }
.review-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 15px; color: rgba(255,255,255,.75); }
.review-foot a { color: var(--white); }

/* ---------- process ---------- */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 3px solid var(--alum); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -17px; left: 0;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  background: var(--navy); color: var(--white); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
}
.step h3 { font-size: 17.5px; margin-top: 6px; }
.step p { color: var(--steel); font-size: 15px; margin-top: 6px; }

/* ---------- service area ---------- */
.area { background: var(--paper); border-top: 1px solid var(--alum); }
.area .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.area-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--alum); font-weight: 600; }
.area-list li::before { content: ""; position: absolute; left: 6px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.area-note { margin-top: 16px; color: var(--steel); font-size: 15.5px; }

/* ---------- quote form ---------- */
.quote { background: var(--white); border-top: 1px solid var(--alum); }
.quote .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--brand-tint); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; margin-top: 8px; }
.contact-card .big { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--navy); text-decoration: none; }
.contact-card p { font-size: 15.5px; color: var(--steel); }
.contact-card ul { margin: 0; padding-left: 18px; font-size: 15.5px; color: var(--ink); display: grid; gap: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--steel); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--alum); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(31,143,191,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="file"] { padding: 10px; background: var(--alum-light); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .fine { font-size: 13.5px; color: var(--steel); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-size: 15.5px; }
.form-status[data-state="ok"] { background: #e6f4ea; color: #1f5e34; }
.form-status[data-state="error"] { background: #fbe9e7; color: #8a2a1c; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: 15px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.site-footer h3 { color: var(--white); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .wordmark { font-size: 20px; }
.site-footer .tag { margin-top: 10px; max-width: 40ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--alum); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--alum); }
}
@media (max-width: 820px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); padding: 10px var(--gutter) 18px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-header.open .nav a { padding: 12px; font-size: 17px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .why .container, .area .container, .quote .container { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--white); border-top: 1px solid var(--alum); padding: 10px var(--gutter);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px;
  }
  .callbar .btn { flex: 1; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery figure.wide { grid-column: span 2; }
  .review-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .form { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--alum); }
  .trust-item:first-child { border-top: 0; }
}
