/* =========================================
   1) BASE / RESET
========================================= */
*{ box-sizing: border-box; }
html, body{ overflow-x: hidden; }
body{
  margin: 0;
  background: #ffffff;
  color: rgba(255,255,255,0.82);
  font-family: "Lexend", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
a{ color: inherit; text-decoration: none; }
img, video{ display:block; max-width:100%; }

/* =========================================
   2) TYPOGRAPHY SYSTEM
========================================= */
:root{
  --text-strong: rgba(255,255,255,0.92);
  --text: rgba(255,255,255,0.82);
  --text-muted: rgba(255,255,255,0.60);

  --body-size: 1rem;
  --body-line: 1.55;
  --body-letter: 0.01em;

  --h1: clamp(2.25rem, 6vw, 5rem);
  --h2: clamp(1.6rem, 3.8vw, 3rem);
  --h3: clamp(1.25rem, 2.6vw, 2rem);
  --h4: 1.25rem;

  --heading-line: 1.06;
  --heading-letter: 0.02em;
  --heading-weight: 600;

  --eyebrow-size: 0.95rem;
  --eyebrow-letter: 0.14em;

  /* section helpers */
  --section-pad-x: clamp(1.25rem, 4vw, 3rem);

  /* hero spacing */
  --hero-ui-space: 140px;
  --hero-ui-space-mobile: 150px;
}

body{
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-letter);
}

h1,h2,h3,h4,h5,h6{ margin:0; color: var(--text-strong); }
h1,h2,h3,h4{
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  font-weight: var(--heading-weight);
}
h1{ font-size: var(--h1); }
h2{ font-size: var(--h2); }
h3{ font-size: var(--h3); }
h4{ font-size: var(--h4); }

p{ margin:0; }

.eyebrow{
  font-size: var(--eyebrow-size);
  letter-spacing: var(--eyebrow-letter);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2rem;
}

.lead{
  font-size: clamp(1.35rem, 5.2vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.18;
  color: var(--text-strong);
  max-width: 60ch;
}


/* =========================================
   HERO (CLEAN, RESPONSIVE, NAV-SAFE)
========================================= */

:root{
  --hero-pad-x: var(--section-pad-x);

  /* navbar offset */
  --nav-h: 92px;

  /* truck sizing (ONE clamp everywhere = no jump) */
  --truck-w: clamp(360px, 58vw, 980px);
}

@media (max-width: 640px){
  :root{ --nav-h: 106px; }
}

.section-hero{
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #05284d;

  /* keep hero below fixed header */
  padding-top: var(--nav-h);
}

.section-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: -2;
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(255, 190, 70, 0.55) 0%,
      rgba(255, 190, 70, 0.25) 14%,
      rgba(255, 190, 70, 0.10) 26%,
      rgba(255, 190, 70, 0.00) 42%
    );
}

/* background */
.hero-media{
  position:absolute;
  inset:0;
  z-index:-3;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
}

/* sun */
.hero-sun{
  position:absolute;
  left:50%;
  top:22%;
  transform: translate(-50%,-50%);
  z-index:-99;
  pointer-events:none;
}
.hero-sun img{
  width: clamp(84px, 10vw, 128px);
  height:auto;
  filter: drop-shadow(0 40px 80px rgba(255,140,0,0.35));
}

/* inner container */
.hero-inner{
  position: relative;
  z-index: 2;

  max-width: none;
  margin-inline: auto;
  width: 100%;
  padding-inline: var(--hero-pad-x);

  min-height: calc(100svh - var(--nav-h));
  padding-block: clamp(1.75rem, 6vh, 4.75rem);

  display:grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
}

@media (min-width: 980px){
  .hero-inner{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.75rem);
    align-items: end;
  }
}

/* content */
.hero-col--content{ max-width: 60ch; }

.hero-title{
  margin: .35rem 0 0;
  font-size: clamp(2.05rem, 3vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 34ch;
}

.hero-ui{
  display:flex;
  align-items: flex-end;
  gap: clamp(.75rem, 2vw, 1.25rem);
  margin-top: clamp(.85rem, 1.8vw, 1.25rem);
}

/* card */
.hero-card{
  display:grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  align-items: start;

  width: min(720px, 100%);
  padding: .85rem;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hero-card__img{
  width: 100%;
  height: 96px;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.hero-card__title{
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  text-transform: uppercase;
  color: #fff;
}

.hero-card__desc{
  margin-top: .55rem;
  font-weight: 300;
  font-size: clamp(.9rem, 1vw, 1.05rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
}

@media (hover:hover) and (pointer:fine){
  .hero-card:hover{
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 26px 90px rgba(0,0,0,0.48);
  }
  .hero-card:hover .hero-card__img{
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.03);
  }
}

/* scroll arrow */
.hero-scroll{
  display:grid;
  justify-items:end;
  user-select:none;
  margin-left: auto;
}
.hero-scroll__icon{
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: transparent;
  border: 0;
  animation: heroBreathe 1.8s ease-in-out infinite;
}
.hero-scroll__icon img{
  width: clamp(40px, 6vw, 60px);
  height:auto;
  object-fit: contain;
}
@keyframes heroBreathe{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

/* art */
.hero-col--art{
  display:grid;
  place-items: end center;
}

.hero-truck{
  pointer-events:none;
  display:grid;
  place-items:end center;
  width: 100%;
  transform: translateY(-150px);
}

/* truck (one clamp) */
.hero-truck-img{
  max-width: none;
  width: var(--truck-w);
  height:auto;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.35));
  transform: translate3d(0, 0, 0);
}

/* desktop-only: allow oversize + push right without covering text */
@media (min-width: 980px){
  .hero-col--art,
  .hero-truck{
    overflow: visible;
    justify-self: end;
  }

  /* bias the art column to the right as screens grow */
  .hero-col--art{
    margin-left: clamp(0px, 4vw, 72px);
  }

  /* anchor bottom, slide right smoothly */
  .hero-truck-img{
    transform-origin: left bottom;
    transform: translateX(clamp(0px, 5vw, 320px));
  }
}

/* mobile/tablet order + tweaks */
@media (max-width: 979px){
  .hero-col--art{ order: 1; }
  .hero-col--content{ order: 2; }

  .hero-title{
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    max-width: 28ch;
  }

  .hero-ui{ align-items: stretch; }
  .hero-card{ grid-template-columns: 120px 1fr; }
}

@media (max-width: 520px){
  .hero-ui{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-scroll{
    margin-left: 0;
    justify-items: start;
  }
  .hero-media{
  position:absolute;
  inset:0;
  z-index:-3;
}

.hero-sun{
  z-index: -99;
}
}

@media (prefers-reduced-motion: reduce){
  .hero-card,
  .hero-card__img,
  .hero-scroll__icon{
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================
   TRUCK — SLIGHTLY BIGGER ON MOBILE (SAFE)
========================================= */
@media (max-width: 979px){
  .hero-truck-img{
    /* keep it from causing layout shifts / overflow */
    max-width: 100%;
    width: clamp(420px, 92vw, 420px);
    scale: 1.25;
    transform: translateY(15%);
  }
  .hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  scale: 1.2;
  transform: translateY(-5%);
}
}

/* =========================================
   HERO — LOWER TRUCK ONLY (MOBILE)
========================================= */
@media (max-width: 979px){
  .hero-truck{
    transform: translateY(clamp(24px, 8vh, 72px));
  }
}

/* =========================================
   HERO — LOWER INNER CONTENT ONLY (MOBILE)
========================================= */
@media (max-width: 979px){
  .hero-col--content{
    margin-top: clamp(2rem, 10vh, 5rem);
  }
}

/* pinned overlay layer */
.hero-pinned{
  position: absolute;
  right: clamp(0.5rem, 2vw, 2.5rem);
  bottom: 0;
  z-index: 2;           /* above background */
  pointer-events: none; /* doesn't block clicks */
}

/* responsive image sizing */
.hero-pinned img{
  width: clamp(160px, 30vw, 380px);
  height: auto;
  max-width: none;      /* don't let parent limit it */
  display: block;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.35));
}

@media (max-width: 979px){
  .hero-pinned img{
  width: clamp(150px, 55vw, 320px);
  height: auto;
  max-width: none;      /* don't let parent limit it */
  display: block;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.35));
  transform: translateX(6%);
}
}

/* Homepage service, contact and local information sections */
:root { --av-navy:#05284d; --av-ink:#092e50; --av-red:#ed242b; --av-red-text:var(--av-red); }
html { scroll-padding-top:120px; }
.av-wrap { width:100%; margin-inline:auto; padding-inline:var(--section-pad-x); }
.av-section { padding-block:clamp(3.5rem,7vw,6.5rem); }
.av-section h2,.section-about h2 { font-size:clamp(2rem,3.6vw,3.35rem); line-height:1.12; letter-spacing:-.035em; }
.av-section h3 { font-size:1.45rem; letter-spacing:-.025em; line-height:1.2; }
.av-heading { max-width:760px; margin-bottom:2.8rem; }
.av-heading h2 { margin:.9rem 0 1.25rem; }
.av-heading>p { max-width:62ch; font-size:1.08rem; line-height:1.8; }
.av-services { background:var(--av-navy); color:#d5e1eb; }
.av-services h2 { color:#fff; }
.av-services .av-card,.av-services .av-card h3 { color:var(--av-ink); }
.av-section .eyebrow { display:block; font-size:.75rem; font-weight:600; letter-spacing:.16em; color:#406077; }
.av-services .eyebrow { color:var(--av-red-text); }
.av-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.4rem; }
.av-card { background:#fff; border:1px solid #dce3e5; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; }
.av-card>img { width:100%; height:195px; object-fit:cover; }
.av-card-body { padding:1.65rem; display:flex; flex:1; flex-direction:column; gap:1rem; }
.av-number { color:#527081; font-size:.7rem; letter-spacing:.14em; font-weight:600; }
.av-card-body p { color:#465e6f; line-height:1.75; font-size:.95rem; }
.av-card-body a { margin-top:auto; padding-top:.8rem; display:flex; justify-content:space-between; align-items:center; font-size:.88rem; font-weight:600; }
.av-card-body h3 a { display:inline; margin:0; padding:0; font-size:inherit; font-weight:inherit; }
.av-service-links { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin-top:2rem; padding-top:1.5rem; border-top:1px solid #45627b; font-size:.85rem; }
.av-service-links span { margin-right:auto; color:#d5e1eb; }
.av-service-links a { color:#fff; }
.av-service-links a,.av-text-link { text-decoration:underline; text-underline-offset:5px; }
.av-request { background:var(--av-navy); color:#d5e1eb; }
.av-request-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:clamp(2rem,6vw,6rem); align-items:stretch; }
.av-request-intro { display:flex; flex-direction:column; min-width:0; }
.av-request .eyebrow,.section-about .eyebrow { color:var(--av-red-text); }
.av-request-intro h2 { margin:1rem 0 1.5rem; color:white; }
.av-request-intro>p { max-width:42ch; line-height:1.8; }
.av-call { align-self:flex-start; font-size:clamp(1.3rem,2.2vw,1.9rem); color:var(--av-red-text); margin:0 0 .6rem; letter-spacing:-.025em; }
.av-request-meta { font-size:.88rem; line-height:1.7; color:#c7d7e5; }
.av-request-photo { position:relative; flex:1; min-height:380px; margin:1.75rem 0 0; border-radius:18px; overflow:hidden; background:#173a53; }
.av-request-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; }
.av-office { margin-top:2.5rem; border-top:1px solid #43607c; padding-top:1.7rem; font-size:.87rem; line-height:1.8; }
.av-office strong { color:#fff; display:block; margin-bottom:.5rem; }
.av-office p+p { margin-top:.7rem; }
.av-form { background:#fff; color:var(--av-ink); padding:clamp(1.4rem,3vw,2.5rem); border-radius:18px; box-shadow:0 20px 60px #00132733; }
.av-form h3 { color:var(--av-ink); }
.av-form-note { font-size:.82rem; color:#51677a; margin:.5rem 0 1.7rem; }
.av-form label { display:block; font-size:.83rem; font-weight:500; margin-bottom:1.2rem; }
.av-fields { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.av-form input,.av-form textarea { display:block; width:100%; min-width:0; font:inherit; font-size:1rem; line-height:1.4; color:#173a53; border:1px solid #a8bac7; border-radius:7px; background:#fff; padding:.85rem .8rem; margin-top:.45rem; }
.av-form textarea { resize:vertical; }
.av-form input::placeholder,.av-form textarea::placeholder { color:#627487; opacity:1; }
.av-button { display:flex; width:100%; justify-content:space-between; align-items:center; border:0; border-radius:7px; padding:1rem 1.2rem; background:var(--av-red); color:#fff; font:inherit; font-size:.95rem; font-weight:600; cursor:pointer; }
.av-button:hover { background:#c91d25; }
.av-arrow-link { display:inline-flex; align-items:center; gap:.55em; }
.av-arrow-link::after { content:""; display:inline-block; flex:none; width:1em; height:1em; background:currentColor; -webkit-mask:url('/images/arrow-right.svg') center/contain no-repeat; mask:url('/images/arrow-right.svg') center/contain no-repeat; transition:transform .25s ease; }
.av-arrow-link:hover::after { transform:translateX(3px); }
.av-card-body>.av-arrow-link,.av-button.av-arrow-link { justify-content:space-between; }
.hero-card__title.av-arrow-link { display:flex; }
.av-small { font-size:.76rem; line-height:1.7; }
.av-form .av-small { margin-top:1rem; color:#526679; }
.av-small a,.av-areas p a,.av-questions a { text-decoration:underline; text-underline-offset:3px; }
.av-status { background:#edf4f7; border-left:3px solid #2376aa; padding:1rem; font-size:.85rem; margin-top:1.2rem; }
.section-about { background:#05284d; padding:clamp(3rem,7vw,6rem) var(--section-pad-x); color:#d5e1eb; }
.about-inner { width:100%; margin:auto; display:flex; flex-direction:column; gap:3rem; }
.about-media { width:100%; border-radius:18px; overflow:hidden; background:#082f55; }
.about-media img { width:100%; height:auto; max-height:560px; object-fit:contain; }
.about-content { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); column-gap:clamp(1.5rem,3vw,3rem); row-gap:1.15rem; align-items:start; }
.about-content .eyebrow { grid-column:1; font-size:.75rem; }
.about-content h2 { grid-column:1; grid-row:2 / 5; color:#fff; }
.about-lead,.about-text,.about-points,.about-content>.av-text-link { grid-column:2; }
.about-lead { grid-row:1 / 3; font-size:1.25rem; line-height:1.65; color:#fff; }
.about-text { line-height:1.85; font-size:1rem; }
.about-content>.av-text-link { color:var(--av-red-text); font-size:.9rem; }
.about-points { list-style:none; padding:1.25rem 0 0; margin:0; border-top:1px solid #45627b; display:grid; gap:.75rem; font-size:.85rem; }
.about-points li::before { content:'✓'; color:var(--av-red-text); margin-right:.7rem; }
.av-areas { background:#eaf0ed; color:var(--av-ink); }
.av-areas h2,.av-faq h2 { color:var(--av-ink); margin-top:1rem; }
.av-two-col { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(2rem,6vw,6rem); }
.av-two-col p { line-height:1.85; }
.av-towns { list-style:none; display:flex; flex-wrap:wrap; padding:0; margin:1.5rem 0; gap:.65rem; }
.av-towns li { padding:.55rem .9rem; border:1px solid #b4c5c1; border-radius:30px; font-size:.85rem; }
.av-faq { background:#faf9f6; color:#425d70; }
.av-faq h2+p { margin-top:1.4rem; max-width:32ch; }
.av-questions details { border-bottom:1px solid #cbd5da; }
.av-questions details:first-child { border-top:1px solid #cbd5da; }
.av-questions summary { cursor:pointer; padding:1.4rem 1.5rem 1.4rem 0; color:var(--av-ink); font-size:.95rem; font-weight:500; }
.av-questions details p { font-size:.92rem; padding:0 0 1.5rem; }
:focus-visible { outline:3px solid #2584be; outline-offset:4px; }
.av-skip { position:absolute; left:1rem; top:-100px; z-index:9999; padding:1rem; background:#fff; color:var(--av-ink); }
.av-skip:focus { top:1rem; }
@media(max-width:900px) {
 .av-cards { grid-template-columns:1fr; }
 .av-card { display:grid; grid-template-columns:32% 1fr; }
 .av-card>img { height:100%; min-height:220px; }
 .av-request-grid,.av-two-col { grid-template-columns:1fr; }
 .av-request-photo { flex:none; height:clamp(300px,60vw,440px); min-height:0; }
 .av-request-intro>p { max-width:60ch; }
 .av-office { margin-top:1.5rem; }
 .about-content { display:block; max-width:70ch; }
 .about-content h2 { margin:1rem 0 1.5rem; }
 .about-text,.about-points { margin-top:1.4rem; }
 .about-content>.av-text-link { display:inline-block; margin-top:1.4rem; }
}
@media(max-width:540px) {
 .av-card { display:flex; }
 .av-card>img { height:190px; min-height:0; }
 .av-fields { grid-template-columns:1fr; gap:0; }
 .av-service-links { flex-direction:column; }

}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* Keep every navigation link reachable on narrow screens. */
.navbar .navbar-inner { padding:.85rem clamp(1.25rem, 5vw, 5rem); }
.navbar .nav-links { padding:0; margin:0 0 0 auto; }
.navbar .nav-logo img { height:44px; }
.navbar .has-dropdown:focus-within .dropdown { visibility:visible; opacity:1; transform:none; }
@media(max-width:768px) {
 .navbar .navbar-inner { gap:2rem; }
 .navbar .nav-links { gap:1rem; }
 .navbar .nav-links a { font-size:.8rem; letter-spacing:.05em; }
 .navbar .nav-logo img { width:95px; }
}

/* Reserve space for the pinned artwork below the stacked mobile hero content. */
@media (max-width: 979px) {
  .hero-inner { padding-top: calc(clamp(1.75rem, 6vh, 4.75rem) + 24px);
  padding-bottom: calc(clamp(140px, 41vw, 250px) - 80px); }
  .hero-pinned { display: block; }
}

/* Compact request button is only shown with the mobile hero layout. */
.hero-request-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: .7rem 1.2rem;
  border-radius: 7px;
  background: #ed242b;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.hero-request-button:hover { background: #d51e25; }
.hero-request-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-pinned { bottom: 0; }
@media (max-width: 979px) {
  .hero-ui > .hero-card { display: none; }
  .hero-request-button { display: inline-flex; }
  .hero-col--content { margin-top: calc(clamp(2rem, 10vh, 5rem) + 48px); }
}

/* Raise the sun within the shorter mobile hero. */
@media (max-width: 979px) {
  .hero-sun { top: calc(22% - 30px); }
}

@media (min-width: 980px) {
  .hero-inner { max-width: 1800px; }
}

.hero-pinned { pointer-events:auto; cursor:pointer; transform-origin:bottom right; transition:transform .22s ease; }
@media (hover:hover) { .hero-pinned:hover { transform:scale(1.06); } }
.hero-pinned:focus-visible { outline:3px solid #fff; outline-offset:4px; }
@media (prefers-reduced-motion:reduce) { .hero-pinned { transition:none; } }


/* Let the two-line About heading use the section width above the copy. */
@media (min-width:901px) {
  .section-about .about-content h2 { grid-column:1 / -1; grid-row:2; max-width:none; }
  .section-about .about-lead { grid-row:3; }
  .section-about .about-text { grid-row:4; }
  .section-about .about-content > .av-text-link { grid-row:5; }
  .section-about .about-points { grid-row:6; }
}
