/* ==========================================================================
   Rick's Freight LLC — site styles
   ========================================================================== */

:root {
  --ink: #0E1B2C;
  --ink-2: #16263B;
  --steel: #233650;
  --concrete: #F4F2EE;
  --paper: #FFFFFF;
  --line: #DDD8CF;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #1A2230;
  --text-muted: #556070;
  --text-on-dark: #E8ECF2;
  --text-on-dark-muted: #A9B4C3;
  --accent: #C2410C;        /* buttons, white text passes AA */
  --accent-hover: #A8360A;
  --accent-bright: #F26B1D; /* highlights on dark backgrounds */
  --success: #15803D;
  --danger: #B91C1C;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--concrete);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: 1.6rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--accent-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-solid, .site-header.is-light {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(14, 27, 44, 0.06);
}
.site-header.is-solid { height: 66px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img, .brand svg { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); margin-top: 4px; }
.is-solid .brand, .is-light .brand { color: var(--ink); }
.is-solid .brand-sub, .is-light .brand-sub { color: var(--accent); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  display: inline-block; padding: 10px 14px; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; color: #fff; position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent-bright); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.is-solid .main-nav a:not(.btn), .is-light .main-nav a:not(.btn) { color: var(--ink); }
.main-nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  color: #fff; align-items: center; justify-content: center; border-radius: var(--radius);
}
.nav-toggle svg { width: 28px; height: 28px; }
.is-solid .nav-toggle, .is-light .nav-toggle { color: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--ink); padding: 96px 28px 28px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease-out), visibility 0s linear .4s;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
  }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease-out), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a:not(.btn) { color: #fff !important; font-size: 1.25rem; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin: 20px 0 0; width: 100%; }
  .nav-toggle { position: relative; z-index: 110; }
  .nav-open .nav-toggle { color: #fff; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8, 14, 24, .55); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  transform: scale(1.12); animation: heroZoom 14s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, .88) 0%, rgba(10, 18, 30, .62) 45%, rgba(10, 18, 30, .1) 100%),
    linear-gradient(0deg, rgba(10, 18, 30, .85) 0%, rgba(10, 18, 30, 0) 40%);
}
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 60px) 0 120px; max-width: 760px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp .9s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
@keyframes lineUp { to { transform: none; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-on-dark); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeUp .8s var(--ease-out) forwards; }
.fade-in.d1 { animation-delay: .45s; } .fade-in.d2 { animation-delay: .6s; } .fade-in.d3 { animation-delay: .75s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* lane ticker */
.ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid var(--line-dark); background: rgba(10, 18, 30, .55);
  backdrop-filter: blur(4px); overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-on-dark-muted); padding: 16px 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap;
}
.ticker li::after { content: ""; width: 6px; height: 6px; background: var(--accent-bright); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--ink); overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 80px;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.06); animation: heroZoom 12s var(--ease-out) forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,30,.9), rgba(10,18,30,.35)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-on-dark); font-size: 1.15rem; max-width: 620px; margin: 0; }
.crumbs { font-size: .9rem; color: var(--text-on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-white { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--text-on-dark-muted); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; gap: 8px; } }

/* intro / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-media .tag {
  position: absolute; left: -18px; bottom: 32px; background: var(--accent); color: #fff;
  padding: 16px 22px; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(14,27,44,.25);
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15;
}
.split-media .tag small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .08em; opacity: .9; }
.split-body p { color: var(--text-muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
  .split-media .tag { left: 12px; bottom: 12px; }
}

/* ---------- Services list (home) ---------- */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 48px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; color: inherit;
  position: relative; transition: padding .35s var(--ease-out);
}
.svc-row:hover { padding-left: 14px; }
.svc-num { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--accent-bright); letter-spacing: .1em; }
.svc-row h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; color: #fff; }
.svc-row p { margin: 0; color: var(--text-on-dark-muted); }
.svc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .3s var(--ease-out); }
.svc-arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.svc-preview {
  position: fixed; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 50;
  border-radius: var(--radius); overflow: hidden; opacity: 0; transform: scale(.85);
  transition: opacity .25s, transform .35s var(--ease-out); box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.svc-preview.is-visible { opacity: 1; transform: scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .svc-num { grid-column: 1 / -1; }
  .svc-row p { grid-column: 1 / 2; }
  .svc-arrow { grid-row: 2; grid-column: 2; }
  .svc-preview { display: none; }
}
@media (hover: none) { .svc-preview { display: none; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process-road {
  position: absolute; left: 0; right: 0; top: 27px; height: 4px; background: var(--line);
  border-radius: 2px; overflow: hidden;
}
.process-road span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.process.is-visible .process-road span { transform: scaleX(1); }
.step { padding-right: 28px; position: relative; }
.step-dot {
  width: 58px; height: 58px; border-radius: 50%; background: var(--paper); border: 4px solid var(--line);
  display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink);
  transition: border-color .4s, background-color .4s, color .4s;
}
.process.is-visible .step-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.process.is-visible .step:nth-child(3) .step-dot { transition-delay: .35s; }
.process.is-visible .step:nth-child(4) .step-dot { transition-delay: .7s; }
.process.is-visible .step:nth-child(5) .step-dot { transition-delay: 1.05s; }
.step h3 { font-size: 1.45rem; text-transform: uppercase; }
.step p { color: var(--text-muted); margin: 0; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
  .process-road { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .process-road span { transform: scaleY(0); transform-origin: top; }
  .process.is-visible .process-road span { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 58px 1fr; gap: 0 22px; padding: 0; }
  .step-dot { margin: 0; grid-row: span 2; }
}

/* ---------- Commitments ---------- */
.commit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.commit { background: var(--paper); padding: 40px 36px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; transition: background-color .3s; }
.commit:hover { background: #FBFAF7; }
.commit-icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(194, 65, 12, .1); color: var(--accent); display: grid; place-items: center; }
.commit-icon svg { width: 26px; height: 26px; }
.commit h3 { font-size: 1.45rem; text-transform: uppercase; margin-bottom: 8px; }
.commit p { margin: 0; color: var(--text-muted); }
@media (max-width: 760px) { .commit-grid { grid-template-columns: 1fr; } .commit { padding: 30px 24px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.cta-band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; opacity: .35; will-change: transform; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,30,.92) 30%, rgba(10,18,30,.45)); }
.cta-inner { position: relative; z-index: 2; padding: clamp(80px, 11vw, 140px) 0; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { max-width: 640px; margin: 0; }
.cta-inner p { color: var(--text-on-dark); margin: 14px 0 0; max-width: 520px; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.location-info { padding: clamp(32px, 4vw, 52px); }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-list .ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--ink); color: #fff; display: grid; place-items: center; }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--accent); text-decoration: underline; }
.map-wrap { position: relative; min-height: 420px; background: #E5E3DF; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } .map-wrap { min-height: 320px; } }

/* ---------- Service detail (services page) ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .svc-detail-media { order: 2; }
.svc-detail-media { overflow: hidden; border-radius: var(--radius); }
.svc-detail-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-detail:hover .svc-detail-media img { transform: scale(1.04); }
.svc-detail h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.svc-detail p { color: var(--text-muted); }
.svc-detail .num { font-family: var(--font-head); color: var(--accent); font-weight: 700; letter-spacing: .12em; font-size: 1rem; display: block; margin-bottom: 8px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.pill-list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--paper); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail:nth-child(even) .svc-detail-media { order: 0; } }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.equip { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px; transition: border-color .3s, transform .3s var(--ease-out); }
.equip:hover { border-color: var(--accent-bright); transform: translateY(-4px); }
.equip h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.equip p { color: var(--text-on-dark-muted); margin: 0; }
.equip .spec { font-family: var(--font-head); font-weight: 600; color: var(--accent-bright); letter-spacing: .1em; font-size: .95rem; text-transform: uppercase; margin-bottom: 14px; display: block; }
@media (max-width: 860px) { .equip-grid { grid-template-columns: 1fr; } }

.industry-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.industry-list li { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; background: var(--paper); display: flex; align-items: center; gap: 12px; }
.industry-list li::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
@media (max-width: 860px) { .industry-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Company facts (about) ---------- */
.facts { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts a { color: var(--accent); font-weight: 600; }
@media (max-width: 600px) { .facts th, .facts td { display: block; width: 100%; } .facts th { border-bottom: 0; padding-bottom: 2px; } .facts td { padding-top: 0; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: v; }
.value { border-top: 3px solid var(--accent-bright); padding-top: 22px; }
.value h3 { font-size: 1.5rem; text-transform: uppercase; color: #fff; }
.value p { color: var(--text-on-dark-muted); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-intro { color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--danger); }
.field .opt { color: var(--text-muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: #FCFBF9; border: 1.5px solid #CFC9BE; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .88rem; margin-top: 6px; font-weight: 500; }
.field.has-error .field-error { display: block; }
.hint { font-size: .86rem; color: var(--text-muted); margin-top: 6px; }

.consent-box { border: 1px solid var(--line); background: #FAF8F4; border-radius: var(--radius); padding: 18px 18px 6px; margin: 8px 0 24px; }
.consent-box legend { font-weight: 700; font-size: .95rem; padding: 0 6px; color: var(--ink); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-bottom: 16px; }
.consent input[type="checkbox"] { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent label { font-size: .9rem; line-height: 1.55; color: #3A4452; cursor: pointer; }
.consent a { color: var(--accent); font-weight: 600; }
.form-legal { font-size: .85rem; color: var(--text-muted); margin-top: 16px; }
.form-legal a { color: var(--accent); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-success { display: block; background: #ECFDF3; color: #14532D; border: 1px solid #BBF7D0; }
.form-status.is-error { display: block; background: #FEF2F2; color: #7F1D1D; border: 1px solid #FECACA; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact-aside .aside-card { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius); padding: 36px 32px; margin-bottom: 24px; }
.contact-aside .aside-card h3 { color: #fff; font-size: 1.6rem; text-transform: uppercase; }
.contact-aside .info-list a { color: #fff; }
.contact-aside .info-list strong { color: var(--text-on-dark-muted); }
.contact-aside .info-list .ic { background: var(--accent); }
.contact-aside .map-wrap { min-height: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hours { margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal .updated { color: var(--text-muted); font-size: .95rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.8rem; margin-top: 2.2em; padding-top: .4em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.3rem; margin-top: 1.6em; }
.legal p, .legal li { color: #333D4B; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--accent); font-weight: 600; }
.legal .callout { background: var(--paper); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.legal .callout p:last-child { margin: 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 8px; }
.toc strong { display: block; margin-bottom: 8px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc a { color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: #0A1422; color: var(--text-on-dark-muted); padding: 80px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-sub { color: var(--accent-bright); }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-scale { transform: scale(.94); }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; } .js .reveal.d4 { transition-delay: .4s; }

.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
.js .img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: right; transition: transform 1.1s var(--ease-out) .1s; }
.js .img-reveal.is-visible::after { transform: scaleX(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .hero h1 .line > span, .fade-in { transform: none; opacity: 1; }
}

/* ==========================================================================
   Visual polish layer
   ========================================================================== */

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1.05rem; }
.btn-primary { box-shadow: 0 10px 28px -8px rgba(194, 65, 12, .65); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out);
}
.btn-primary:hover::before { left: 120%; }
.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(194, 65, 12, .8); transform: translateY(-2px); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Scroll progress + back to top */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(194,65,12,.7); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease-out), background-color .2s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-hover); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; position: relative; z-index: 2; }
.hero-content { padding-bottom: 150px; }
.hero-card {
  margin-bottom: 150px; padding: 26px; border-radius: 16px; color: #fff;
  background: rgba(14, 27, 44, .5); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.hero-card-top { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #22C55E; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero-card-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.hero-card-list li { display: flex; gap: 12px; align-items: center; color: var(--text-on-dark); font-size: .98rem; }
.hero-card-list svg { width: 22px; height: 22px; color: var(--accent-bright); flex: none; }
.hero-card-link { display: block; text-align: center; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.hero-card-link:hover { background: rgba(255,255,255,.16); }
.hero-lines { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero-lines span { width: 1px; height: 100%; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.hero-lines span::after { content: ""; position: absolute; left: 0; width: 1px; height: 140px; top: -140px; background: linear-gradient(transparent, rgba(242,107,29,.8)); animation: streak 6s linear infinite; }
.hero-lines span:nth-child(2)::after { animation-delay: 2s; }
.hero-lines span:nth-child(3)::after { animation-delay: 4s; }
@keyframes streak { to { top: 110%; } }
.scroll-cue { position: absolute; left: 50%; bottom: 82px; z-index: 3; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.55); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card, .scroll-cue { display: none; }
}

/* Highlighted word */
.hl { background: linear-gradient(transparent 62%, rgba(242,107,29,.35) 62%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s var(--ease-out) .5s; }
.is-visible .hl, .is-visible.hl { background-size: 100% 100%; }

/* Intro stacked photos */
.split-media.stacked { padding: 0 0 56px; }
.split-media.stacked .main-shot { width: 84%; }
.split-media.stacked .main-shot img { aspect-ratio: 4 / 5; }
.split-media.stacked .sub-shot { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--concrete); border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(14,27,44,.45); }
.split-media.stacked .sub-shot img { aspect-ratio: 4 / 3; border-radius: 4px; }
.split-media.stacked .tag { bottom: 96px; }
.split-media img { border-radius: 12px; }
.img-reveal { border-radius: 12px; }

/* Angled dark section */
.angled { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); padding-top: calc(clamp(72px, 10vw, 128px) + 3vw); padding-bottom: calc(clamp(72px, 10vw, 128px) + 3vw); margin: -3vw 0; position: relative; z-index: 2; }
.section-dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(242,107,29,.12), transparent 60%), var(--ink); }

/* Bento service cards */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: 290px; gap: 18px; }
.bento-card { position: relative; overflow: hidden; border-radius: 16px; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.1); background: var(--ink-2); }
.bento-card.b-lg { grid-row: span 2; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,30,.05) 20%, rgba(10,18,30,.92) 100%); transition: background-color .4s; }
.bento-card:hover img { transform: scale(1.08); }
.bento-card:hover::after { background-color: rgba(194,65,12,.18); }
.bento-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.bento-num { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; font-size: .9rem; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.bento-card h3 { color: #fff; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 6px; }
.b-lg h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.bento-card p { color: rgba(232,236,242,.85); margin: 0; font-size: .98rem; max-width: 420px; }
.bento-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--accent-bright); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease-out); }
.bento-more svg { width: 18px; height: 18px; }
.bento-card:hover .bento-more, .bento-card:focus-visible .bento-more { opacity: 1; transform: none; }
@media (hover: none) { .bento-more { opacity: 1; transform: none; } }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; } .bento-card.b-lg { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento-card.b-lg { grid-column: auto; } }

/* Coverage / route map */
.coverage-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.muted { color: var(--text-muted); font-size: 1.08rem; }
.lane-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.lane-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.lane-list li span:last-child { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(194,65,12,.09); padding: 4px 10px; border-radius: 999px; }
.route-map { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(14,27,44,.3); }
.route-map svg { width: 100%; height: auto; display: block; }
.routes path { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 9; opacity: .75; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -11; } }
.hq-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
@media (max-width: 960px) { .coverage-grid { grid-template-columns: 1fr; } }

/* Commitments with photo */
.commit-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.commit-photo { position: relative; padding-bottom: 60px; }
.commit-photo img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.commit-quote { position: absolute; right: -24px; bottom: 0; max-width: 360px; background: var(--accent); color: #fff; padding: 28px; border-radius: 14px; box-shadow: 0 30px 50px -20px rgba(194,65,12,.6); }
.commit-quote svg { width: 34px; height: 34px; opacity: .55; margin-bottom: 8px; }
.commit-quote p { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; font-weight: 600; margin-bottom: 12px; }
.commit-quote span { font-size: .9rem; opacity: .85; }
.commit-list { display: grid; gap: 14px; margin-top: 8px; }
.commit-list .commit { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; transition: transform .35s var(--ease-out), border-color .3s, box-shadow .3s; }
.commit-list .commit:hover { transform: translateX(8px); border-color: rgba(194,65,12,.45); box-shadow: 0 16px 36px -20px rgba(14,27,44,.35); }
.commit-list .commit h3 { font-size: 1.3rem; }
@media (max-width: 960px) { .commit-wrap { grid-template-columns: 1fr; } .commit-quote { right: 12px; left: 12px; max-width: none; } }

/* Photo marquee */
.gallery { overflow: hidden; padding: 0 0 clamp(72px, 9vw, 112px); }
.gallery-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-track img { height: clamp(180px, 22vw, 280px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-right: 16px; filter: saturate(.9); transition: filter .4s, transform .4s var(--ease-out); }
.gallery-track img:hover { filter: saturate(1.15); transform: translateY(-6px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Inner page hero: angled edge */
.page-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); padding-bottom: 120px; }

/* Cards: softer radius everywhere */
.form-card, .location, .facts, .contact-aside .aside-card, .contact-aside .map-wrap, .commit-grid { border-radius: 16px; }
.form-card { box-shadow: 0 30px 60px -36px rgba(14,27,44,.35); }
.svc-detail-media, .svc-detail-media img { border-radius: 14px; }
.equip { border-radius: 14px; background: rgba(255,255,255,.02); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-bright), transparent); }

/* Phone links */
.main-nav a.nav-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.main-nav a.nav-phone svg { width: 17px; height: 17px; color: var(--accent-bright); flex: none; }
.main-nav a.nav-phone::after { display: none; }
.main-nav a.nav-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.is-solid .main-nav a.nav-phone svg { color: var(--accent); }
@media (min-width: 901px) and (max-width: 1180px) { .nav-phone-item { display: none; } }
.hero-card-link.is-phone { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); }
.hero-card-link.is-phone:hover { background: var(--accent-hover); }
.hero-card-link.is-phone svg { width: 18px; height: 18px; }
.hero-card-mail { display: block; text-align: center; margin-top: 10px; font-size: .92rem; color: var(--text-on-dark-muted); text-decoration: none; }
.hero-card-mail:hover { color: #fff; text-decoration: underline; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn-ghost svg { width: 18px; height: 18px; }
.cta-actions .btn-ghost:hover svg { transform: none; }

/* Thank-you panel */
.thanks { text-align: center; padding: clamp(24px, 6vw, 64px) 8px; }
.thanks[hidden] { display: none; }
.thanks-icon { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; background: rgba(21,128,61,.1); display: grid; place-items: center; animation: popIn .6s var(--ease-out) both; }
.thanks-icon svg { width: 52px; height: 52px; color: var(--success); }
.thanks-icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease-out) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.thanks p { color: var(--text-muted); font-size: 1.12rem; max-width: 460px; margin: 0 auto 28px; }

@media (prefers-reduced-motion: reduce) {
  .gallery-track, .routes path, .hq-ring, .hero-lines span::after, .pulse::after, .scroll-cue span { animation: none !important; }
  .hl { background-size: 100% 100%; }
}
