/* Allman Fabrication & Welding
   Navy workwear, the rust orange from Kev's card, checker-plate texture and a weld-bead underline. */

:root {
  --navy: #0F1F33;
  --navy-2: #13253B;
  --navy-hover: #1C324D;
  --footer: #0B1828;
  --tile: #1C2833;

  --ink: #0F1F33;
  --ink-2: #4A5A6B;
  --ink-3: #33424F;
  --on-dark: #C3CDD8;
  --on-dark-muted: #93A1B0;
  --footer-muted: #9AA8B6;

  --white: #FFFFFF;
  --steel: #EEF1F3;
  --steel-2: #F7F9FA;
  --line: #DDE3E8;
  --line-2: #CDD5DC;
  --field: #7C8995;
  --rivet: #5D6E80;

  /* From the business card. --orange carries white text; --orange-text is for small orange text on light backgrounds;
     --orange-light is for orange text and icons on navy. */
  --orange: #B05A2F;
  --orange-hover: #974A24;
  --orange-text: #A1522B;
  --orange-text-hover: #793E20;
  --orange-light: #D4855E;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 7vw, 112px);
  --header-h: clamp(76px, 6.4vw, 92px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -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.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--orange-text); }
a:hover { color: var(--orange-text-hover); }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.center { align-self: center; }

.js-only { display: none !important; }
.js .js-only { display: flex !important; }

/* ---------- Type ---------- */

.label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-text);
}
.label::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--orange); }
.label--light { color: var(--orange-light); }

h1, h2, .page-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(60px, 7.4vw, 112px); line-height: 0.9; letter-spacing: -0.005em; }
h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 0.95; }
.page-title { font-size: clamp(52px, 6vw, 96px); line-height: 0.92; }
h3 { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }

.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; max-width: 40em; }

.link-strong {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start;
  font-weight: 700; font-size: 17px; color: var(--orange-text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 4px;
  background: var(--orange); color: var(--white);
  font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--orange-hover); color: var(--white); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 18px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 21px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: var(--navy-hover); }
.btn--navy .icon { color: var(--orange-light); }
.btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; flex: none; padding: 8px 0; }
.logo img { width: auto; height: clamp(56px, 5vw, 70px); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-text); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--orange-text); }
.header-phone:hover { color: var(--orange-text); }
.menu-btn {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0;
  border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--white); color: var(--ink); cursor: pointer;
}
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-block: 4px 12px; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--steel);
  font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: 0; color: var(--orange-text); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--steel { background: var(--steel); border-top: 1px solid var(--line); }
.section--navy { background-color: var(--navy); color: var(--white); }
.section--tight-top { padding-top: 48px; }
.tread { background-image: url("/assets/img/tread.svg"); background-size: 28px 28px; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; }
.section-head__title { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.section-head__intro { flex: 1 1 360px; min-width: 0; max-width: 31em; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Hero ---------- */

.hero-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 80px) clamp(64px, 6.5vw, 104px);
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-title { display: flex; flex-direction: column; gap: 22px; }
.bead { width: 248px; height: auto; }
.bead--sm { width: 200px; }
.hero-lede { max-width: 33em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.tick { width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: var(--orange); color: var(--white); }

.hero-media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.hero-photo { position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius); background: var(--orange);
}
.hero-photo img, .hero-photo .photo-fallback {
  position: relative; width: 100%; height: clamp(360px, 39vw, 560px); object-fit: cover; border-radius: var(--radius);
}

.photo-fallback {
  display: flex; align-items: center; justify-content: center; padding: 32px; border-radius: var(--radius);
  background-color: var(--tile);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
}


.text-card {
  position: relative; z-index: 2; margin: -60px 56px 0 24px; padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 31, 51, 0.18);
}
.text-card__icon { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--navy); color: var(--orange-light); }
.text-card > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.text-card strong { font-size: 17px; line-height: 1.3; color: var(--ink); }
.text-card a { font-weight: 700; }

/* ---------- Services ---------- */

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.service__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--navy); color: var(--orange-light); }
.service p { flex: 1 1 auto; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: 4px; background: var(--steel); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-3); }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 22px clamp(20px, 2.4vw, 32px); background: var(--white); border: 1.5px dashed var(--field); border-radius: var(--radius);
}
.callout p { display: flex; flex-direction: column; gap: 2px; }
.callout strong { font-size: 19px; line-height: 1.35; }
.callout span { font-size: 16px; color: var(--ink-2); }

/* ---------- About ---------- */

.about-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 80px); }
.about-photo { flex: 1 1 400px; min-width: 0; }
.about-photo img, .about-photo .photo-fallback {
  width: 100%; height: clamp(380px, 42vw, 620px); object-fit: cover; border-radius: var(--radius); border: 1px solid #2C3D51;
}
.about-copy { flex: 1.15 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.about-copy h2 { color: var(--white); }
.about-text { display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--on-dark); }
.about-text p { text-wrap: pretty; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 24px; }
.benefits li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--orange); }
.benefits .icon { color: var(--orange-light); }
.benefits strong { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; color: var(--white); }
.benefits span { font-size: 15.5px; line-height: 1.5; color: var(--on-dark); }

.plate { position: relative; padding: 22px 28px; border: 1.5px solid var(--rivet); border-radius: 4px; background: var(--navy-2); }
.rivet { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--rivet); }
.rivet--tl { top: 8px; left: 8px; } .rivet--tr { top: 8px; right: 8px; }
.rivet--bl { bottom: 8px; left: 8px; } .rivet--br { bottom: 8px; right: 8px; }
.plate dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 32px; }
.plate dl > div { display: flex; flex-direction: column; gap: 2px; }
.plate dt { font-family: var(--display); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.plate dd { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--white); }

/* ---------- Jobs ---------- */

.filters { flex-wrap: wrap; gap: 8px; }
.filters button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--field); border-radius: 4px; background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer;
}
.filters .count { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters button[aria-pressed="true"] .count { color: var(--orange-light); }

.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 24px 20px; }
.job-grid--large { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 28px 24px; }
.job-card[hidden] { display: none; }
.job-card a {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none;
}
.job-card__photo {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background-color: var(--tile);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
}
.job-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.job-card a:hover .job-card__photo img { transform: scale(1.03); }
.photo-missing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #A9B6C2; }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 3px; background: var(--orange); color: var(--white);
  font-family: var(--display); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase;
}
.job-card__body { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.job-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.job-card__body .icon { flex: none; color: var(--orange-text); }
.job-card a:hover .job-card__title { color: var(--orange-text); }
.job-grid--large .job-card__title { font-size: 19px; }

.empty-state { padding: 28px; border: 1.5px dashed var(--field); border-radius: var(--radius); background: var(--steel-2); font-size: 17px; color: var(--ink-2); }

.jobs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 8px; }
.jobs-foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.jobs-foot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.jobs-foot__cta span { font-size: 17px; color: var(--ink-2); }

.page-intro { padding-block: clamp(24px, 4.4vw, 72px) 48px; }
.back-link { margin-bottom: -8px; }

/* Job detail page */
.job-page { padding-block: clamp(24px, 4vw, 64px) var(--section-y); }
.job-page__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 4vw, 56px); }
.job-page__photos { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.job-page__main {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background-color: var(--tile);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
}
.job-page__main img { width: 100%; height: 100%; object-fit: cover; }
.job-page__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.job-page__thumbs > div { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--tile); }
.job-page__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.job-page__info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.job-page__info h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 0.95; }
.job-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.job-facts > div { display: flex; flex-direction: column; gap: 4px; }
.job-facts__wide { grid-column: 1 / -1; }
.job-facts dt { font-family: var(--display); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.job-facts dd { font-size: 17px; line-height: 1.6; }

/* ---------- Quote ---------- */

.quote-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(40px, 5vw, 72px); }
.quote-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.steps { border-bottom: 1px solid var(--line-2); }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.steps__num { min-width: 44px; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--orange-text); }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-size: 18px; line-height: 1.4; }
.steps li > span:last-child > span { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.talk-box { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); font-size: 15px; line-height: 1.5; }
.talk-box__label { font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-light); }
.talk-box__phone { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; color: var(--white); text-decoration: none; }
.talk-box__phone:hover { color: var(--orange-light); }

.quote-card { flex: 1.4 1 480px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.quote-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(20px, 2.6vw, 36px); background: var(--navy); color: var(--white);
  font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.quote-card__req { font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--on-dark); }
.quote-form { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 2.6vw, 36px); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend, .field-label { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.field legend { padding: 0; margin-bottom: 10px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 4px; background: var(--white); font-size: 17px; color: var(--ink);
}
.field textarea { min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7885; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--navy); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--field); border-radius: 4px; background: var(--white);
  font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; user-select: none;
}
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone {
  min-height: 112px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed var(--field); border-radius: var(--radius); background: var(--steel-2); text-align: center; cursor: pointer;
}
.dropzone .icon { color: var(--orange-text); }
.dropzone__title { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.dropzone__hint { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.dropzone.has-files { border-style: solid; border-color: var(--navy); background: var(--white); }
.file-input:focus-visible + .dropzone { outline: 3px solid var(--orange); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

.form-error { padding: 14px 16px; border-radius: 4px; background: #FBEDE6; border: 1.5px solid var(--orange); color: var(--ink); font-size: 16px; line-height: 1.5; }
.submit-row { display: flex; flex-direction: column; gap: 12px; }
.form-note { font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: center; }

.quote-success { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.quote-success h3 { font-size: 40px; font-weight: 800; }
.quote-success h3:focus { outline: none; }
.quote-success p { max-width: 30em; font-size: 18px; color: var(--ink-2); }
.quote-success__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--orange); color: var(--white); }

/* ---------- CTA band ---------- */

.cta-band { background-color: var(--navy); color: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: clamp(56px, 5.6vw, 88px); }
.cta-band__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { font-size: clamp(36px, 3.6vw, 56px); color: var(--white); }
.cta-band p { max-width: 36em; font-size: 18px; color: var(--on-dark); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer { background-color: var(--footer); color: var(--white); }
.footer-inner { display: flex; flex-direction: column; gap: 40px; padding-block: 64px 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-brand { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { align-self: flex-start; width: auto; height: 120px; }
.footer-brand p { font-size: 16px; color: var(--footer-muted); }
.footer-cols { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.footer-cols a { color: var(--on-dark); }
.footer-cols a:hover { color: var(--white); }
.footer-cols .with-icon { display: inline-flex; align-items: center; gap: 8px; }
.footer-cols .with-icon .icon { color: var(--orange-light); }
.footer-heading { font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-light); }
.footer-phone { font-weight: 600; color: var(--white) !important; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid #23344A; font-size: 14px; color: var(--footer-muted); }
.footer-bottom a { color: var(--footer-muted); }

/* ---------- Mobile call bar ---------- */

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15, 31, 51, 0.08);
}
.mobile-bar .btn { flex: 1 1 0; min-width: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .main-nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .header-cta, .hero-actions { display: none; }
  .mobile-bar { display: flex; }
  .job-grid, .job-grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .job-card__body { padding: 10px 12px 12px; }
  .job-card__title, .job-grid--large .job-card__title { font-size: 15px; }
  .job-card__body .icon { display: none; }
  .tag { top: 8px; left: 8px; padding: 3px 6px; font-size: 11.5px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters button { flex: none; white-space: nowrap; }
  .text-card { margin: -48px 12px 0 12px; }
  .talk-box__phone { font-size: 36px; }
}

/* Logo shown in place of a photo until Kev uploads one. */
.hero-photo .photo-fallback img, .about-photo .photo-fallback img {
  position: static; width: min(200px, 50%); height: auto; border: 0; border-radius: 0; object-fit: contain; opacity: 0.9;
}

/* The hidden attribute always wins over component display rules. */
[hidden] { display: none !important; }
