/* OREST Express - orestexpress.com - 2026 redesign ("Night Haul") */

/* self-hosted fonts (latin subsets, SIL Open Font License); no third-party request on the critical path */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/big-shoulders-display-var.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }

:root {
  --ink: #121110;
  --asphalt: #1a1917;
  --steel: #242320;
  --line: rgba(244, 239, 230, 0.14);
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --line-l: rgba(18, 17, 16, 0.16);
  --orange: #ff6a00;
  --orange-deep: #c44d00;
  --amber: #ffb258;
  --fg: #f4efe6;
  --fg-muted: #aaa497;
  --fg-dark: #151412;
  --fg-dark-muted: #5f5a51;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: 0.95; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, dl { margin: 0; padding: 0; }
li { list-style: none; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--orange); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.section-paper .eyebrow, .section-paper2 .eyebrow { color: var(--orange-deep); }
h1 { font-weight: 800; font-size: clamp(54px, 6vw, 86px); line-height: 0.9; letter-spacing: -0.005em; margin: 0 0 28px; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(40px, 5.2vw, 76px); margin: 0 0 22px; text-wrap: balance; }
h3 { font-weight: 700; font-size: 28px; margin: 0 0 10px; }
.accent { color: var(--orange); }
.hero h1 .accent { white-space: nowrap; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 54ch; color: var(--fg); margin-bottom: 28px; }
.section-lede { font-size: 19px; max-width: 52ch; color: var(--fg-dark-muted); }
.section-dark .section-lede { color: var(--fg-muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px;
  font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 16px 30px; font-size: 15px; }
.btn-primary { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-primary::before { background: var(--amber); }
.btn-ghost { background: transparent; color: var(--fg); border-color: rgba(244, 239, 230, 0.4); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ink); border-color: var(--fg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 16, 0.84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav a { position: relative; font-size: 15px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--fg); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav-ext { display: flex; gap: 22px; margin-left: 8px; padding-left: 22px; border-left: 1px solid var(--line); }
.nav-ext a { color: var(--fg-muted); font-size: 13px; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; text-decoration: none; color: var(--fg); white-space: nowrap; }
.phone .ico { color: var(--orange); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px; background: none; border: 0; color: var(--fg); font: 600 13px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.nav-toggle-bars { position: relative; width: 22px; height: 2px; background: currentColor; transition: background 0.2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 0%, rgba(18, 17, 16, 0.85) 18%, rgba(18, 17, 16, 0.15) 55%, rgba(18, 17, 16, 0) 100%); }
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; background: linear-gradient(180deg, rgba(18, 17, 16, 0) 0%, rgba(18, 17, 16, 0.8) 100%); }
.hero-grid { position: relative; z-index: 2; padding: clamp(64px, 10vh, 120px) 0 clamp(72px, 10vh, 120px); }
.hero-copy { max-width: 860px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-copy > :nth-child(4) { animation-delay: 0.42s; }
.hero-media { animation: fade 1.2s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* the lane: dashed orange route line with end nodes (from the network map) */
.lane { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 3; }
.lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--orange) 0 22px, transparent 22px 36px); }
.lane::after { content: ""; position: absolute; right: var(--gutter); top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--orange); transform: translateY(-50%); }

/* ---------- stats ---------- */
.stats { background: var(--asphalt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 34px 28px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5vw, 78px); line-height: 1; letter-spacing: -0.01em; }
.stat-num sup { font-size: 0.5em; color: var(--orange); vertical-align: top; line-height: 1; margin-left: 2px; }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-paper { background: var(--paper); color: var(--fg-dark); }
.section-paper2 { background: var(--paper-2); color: var(--fg-dark); }
.section-dark { background: var(--ink); color: var(--fg); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }

/* services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.service { position: relative; isolation: isolate; background: var(--paper); padding: 36px 28px 40px; transition: background 0.3s ease; }
.service:hover { background: #fbf8f2; }
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service:hover::after { transform: scaleX(1); }
.service-ico { width: 40px; height: 40px; fill: none; stroke: var(--orange-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.service h3 { font-size: 30px; text-wrap: balance; }
.service p { margin: 0; color: var(--fg-dark-muted); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.service-feature { grid-column: 1 / 3; padding: 44px 36px 48px; }
.service-feature h3 { font-size: clamp(34px, 3vw, 44px); }
.service-feature p { font-size: 17px; max-width: 46ch; }
.service-photo { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; color: var(--fg); overflow: hidden; }
.service-photo .service-ico { display: none; }
.service-photo:hover { background: var(--paper); }
.service-bg { position: absolute; inset: 0; z-index: -1; }
.service-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 50%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service-photo:hover .service-bg img { transform: scale(1.03); }
.service-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 16, 0.35) 0%, rgba(18, 17, 16, 0.78) 40%, rgba(18, 17, 16, 0.94) 100%); }
.service-photo p { color: var(--fg); }

/* network */
.network-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.network-copy p { color: var(--fg-muted); max-width: 50ch; }
.locations { margin-top: 36px; border-top: 1px solid var(--line); }
.locations li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "city link" "role link" "addr link"; align-items: center; column-gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc-city { grid-area: city; font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.loc-role { grid-area: role; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-top: 6px; }
.loc-addr { grid-area: addr; font-size: 15px; color: var(--fg-muted); margin-top: 6px; }
.loc-note { margin: 16px 0 0; font-size: 15px; color: var(--fg-muted); }
.loc-link { grid-area: link; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); text-decoration: none; border-bottom: 1px solid transparent; }
.loc-link:hover { border-bottom-color: var(--orange); }
.network-map { margin: 0; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); }

/* advantages */
.adv-grid { display: grid; border-top: 2px solid var(--fg-dark); }
.adv { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(20px, 3vw, 48px); row-gap: 10px; align-items: baseline; padding: 30px 0 34px; border-bottom: 1px solid var(--line-l); }
.adv h3 { font-size: 30px; margin: 0; }
.adv p { margin: 0; color: var(--fg-dark-muted); font-size: 16px; max-width: 58ch; }

/* about */
.section-about { position: relative; overflow: hidden; background: var(--asphalt); }
.about-bg { position: absolute; inset: 0; }
.about-bg picture, .about-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.about-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 17, 16, 0.96) 0%, rgba(18, 17, 16, 0.9) 45%, rgba(18, 17, 16, 0.7) 100%); }
.about-grid { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy p { color: var(--fg-muted); max-width: 56ch; }
.about-copy p:first-of-type { color: var(--fg); font-size: 19px; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border: 1px solid var(--line); }
.about-photo::before { content: ""; position: absolute; left: -14px; top: -14px; width: 120px; height: 120px; border-left: 3px solid var(--orange); border-top: 3px solid var(--orange); }
.about-photo figcaption { margin-top: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }

/* testimonials */
.quotes-scroller { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); scrollbar-width: thin; scrollbar-color: var(--orange-deep) transparent; padding-bottom: 16px; }
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: 400px; gap: 24px; }
.quote { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px 32px 30px; background: #fbf8f2; border: 1px solid var(--line-l); }
.quote-mark { display: block; height: 34px; margin: 0 0 14px -3px; font-family: var(--body); font-weight: 600; font-size: 64px; line-height: 1; color: var(--orange); }
.quote blockquote { margin: 0 0 24px; flex: 1; }
.quote blockquote p { margin: 0; font-size: 18px; line-height: 1.55; }
.quote cite { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.quote cite::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--orange-deep); vertical-align: middle; margin-right: 10px; }
@media (min-width: 901px) {
  .quotes-scroller { overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
  .quotes { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .quote:last-child { grid-column: 1 / -1; }
  .quote:last-child blockquote p { max-width: 60ch; }
}

/* careers */
.section-careers { padding: 0; background: var(--steel); }
.careers-grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 720px; }
.careers-photo { position: relative; }
.careers-photo picture, .careers-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 35, 32, 0) 60%, var(--steel) 100%); }
.careers-body { padding: clamp(64px, 8vw, 120px) clamp(28px, 5vw, 80px); }
.careers-copy p { color: var(--fg-muted); max-width: 56ch; }
.quals { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.quals li { padding: 10px 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.careers-alt a { color: var(--amber); }
.section-careers .form { margin-top: 40px; max-width: 720px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy p { color: var(--fg-dark-muted); max-width: 44ch; }
.contact-list { margin-top: 32px; border-top: 1px solid var(--line-l); }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.contact-list dt { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dark-muted); }
.contact-list dd { margin: 0; font-family: var(--body); font-weight: 500; font-size: 19px; line-height: 1.45; }
.contact-list dd a { text-decoration: none; border-bottom: 1px solid rgba(18, 17, 16, 0.28); transition: color 0.2s, border-color 0.2s; }
.contact-list dd a:hover { color: var(--orange-deep); border-bottom-color: var(--orange-deep); }
.sep { color: var(--orange-deep); padding: 0 6px; }
.social { display: flex; gap: 14px; margin-top: 28px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-l); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.social a:hover { border-color: var(--orange-deep); color: var(--orange-deep); }

/* forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--body); color: inherit;
  border: 1px solid var(--line-l); border-radius: 2px; background: #fbf8f2;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23151412' stroke-width='1.75'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-dark-muted); }
.form-light .field label { color: var(--fg-dark-muted); }
.form-dark .field label { color: var(--fg-muted); }
.form-dark .field input, .form-dark .field select, .form-dark .field textarea { background: rgba(244, 239, 230, 0.06); border-color: var(--line); color: var(--fg); }
.form-dark .field input::placeholder, .form-dark .field textarea::placeholder { color: var(--fg-muted); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e0452c; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status.is-ok { color: #2f8a3c; }
.form-dark .form-status.is-ok { color: #8fd39a; }
.form-status.is-err { color: #d23d23; }
.form-dark .form-status.is-err { color: #ff8b74; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.form.is-sent .field, .form.is-sent .form-foot .btn, .form.is-sent .quote-fields, .form.is-sent .form-note { display: none; }
.form-note { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-dark-muted); }
.form-dark .form-note { color: var(--fg-muted); }
.quote-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.quote-fields .field-row + .field-row { margin-top: 18px; }
.quote-fields legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dark-muted); }
.quote-fields legend span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.no-js .quote-fields[hidden] { display: block; }

/* footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 126px; margin-bottom: 18px; }
.footer-brand p { color: var(--fg-muted); max-width: 30ch; margin: 0; }
.footer-brand .footer-meta { margin-top: 14px; max-width: none; font-size: 13px; line-height: 1.7; }
.footer-meta .sep { padding: 0 4px; color: var(--orange); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--fg-muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13px; color: var(--fg-muted); }
.to-top { text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-size: 12px; }
.to-top:hover { color: var(--orange); }
.footer-old { color: var(--fg-muted); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.footer-old::before { content: "\00B7"; padding: 0 8px; color: rgba(244, 239, 230, 0.4); }
.footer-old:hover { color: var(--fg); border-bottom-color: var(--fg-muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero-media { animation: none; }
  .btn, .btn::before, .service::after, .nav a::after, .service-bg img { transition: none; }
  .service-photo:hover .service-bg img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
  .nav-ext { display: none; }
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-feature { grid-column: 1 / -1; padding: 36px 28px 40px; }
  .service-feature h3 { font-size: 34px; }
  .service-photo { grid-column: 1 / -1; grid-row: auto; order: 2; min-height: 320px; }
  .careers-grid { grid-template-columns: 4fr 7fr; }
}
/* between ~900 and 1040px the full phone number no longer fits beside the nav and the button */
@media (max-width: 1040px) {
  .header-actions .phone { position: relative; min-width: 44px; min-height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 2px; }
  .header-actions .phone .ico { width: 20px; height: 20px; }
  .header-actions .phone span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; white-space: nowrap; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 40;
    display: none; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0;
    padding: 28px var(--gutter) 40px; background: var(--ink); border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a { font-family: var(--display); font-size: 38px; font-weight: 800; padding: 8px 0; }
  .nav-ext { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); width: 100%; }
  .nav-ext a { font-size: 15px; }
  .nav-mobile-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; width: 100%; height: min(64vw, 420px); order: -1; }
  .hero-media::before { background: linear-gradient(180deg, rgba(18, 17, 16, 0.1) 0%, rgba(18, 17, 16, 0) 40%, var(--ink) 100%); }
  .hero-media::after { display: none; }
  .hero-media img { object-position: 50% 60%; }
  .hero-grid { padding: 8px 0 56px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 24px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .network-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .network-map { order: -1; }
  .adv { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; min-height: 0; }
  .careers-photo { height: 56vw; max-height: 420px; }
  .careers-photo::after { background: linear-gradient(180deg, rgba(36, 35, 32, 0) 50%, var(--steel) 100%); }
  .quotes { grid-auto-columns: min(84vw, 400px); }
  .quote { padding: 24px 22px 26px; }
  .quote blockquote p { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .header-actions { gap: 10px; }
  .brand img { width: 104px; }
  h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-media { height: min(52vw, 320px); }
  .locations li { grid-template-columns: 1fr; grid-template-areas: "city" "role" "addr" "link"; }
  .loc-link { justify-self: start; margin-top: 4px; }
  .cta-row .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-feature, .service-photo { grid-column: auto; }
  .service-photo { min-height: 280px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dd { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stat-num { font-size: 46px; }
}
