/* ZariCare Medical Transport. One page, no script.
   The world is road and hospital wayfinding signage, in the colors of the client's banner. */

@font-face {
  font-family: "Overpass";
  src: url("/fonts/overpass-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a2550;
  --navy-deep: #071b3b;
  --navy-rule: #2b477a;
  --blue: #0363ba;
  --blue-ink: #03549e;
  --green: #74b72e;
  --green-lit: #8ecb48;
  --silver: #c3cbd6;
  --mist: #edf2f8;
  --white: #fff;
  --on-navy-soft: #d6e2f3;

  --gutter: clamp(1rem, 4vw, 4.5rem);
  --band: clamp(3rem, 6vw, 6rem);
  --sign-radius: 0.875rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: "Overpass", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 112.5%;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  accent-color: var(--blue);
  caret-color: var(--blue);
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 20rem; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.09em; }

::selection { background: var(--green); color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--navy-deep);
  border-radius: 0.5rem;
}

.sprite { position: absolute; }
.icon {
  width: 1.5em; height: 1.5em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: var(--gutter); top: -6rem; z-index: 20;
  padding: 0.75rem 1.25rem; border-radius: 0.5rem;
  background: var(--navy); color: var(--white); font-weight: 700;
}
.skip:focus { top: 0.75rem; }

/* Buttons: sign blades. Every one is at least 56px tall. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.6rem 1.5rem;
  border: 3px solid transparent; border-radius: 0.75rem;
  font-size: 1.125rem; font-weight: 800; line-height: 1.15; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.btn--call { background: var(--navy); color: var(--white); }
.btn--call:hover { background: var(--blue-ink); }
.btn--go { background: var(--green); color: var(--navy-deep); }
.btn--go:hover { background: var(--green-lit); }
.btn--line { border-color: var(--white); color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--mist); }
.btn:active { transform: translateY(1px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* The lane line: the logo's green and silver swooshes, laid flat. */
.lane {
  height: 0.75rem;
  background: linear-gradient(var(--green) 0 50%, var(--silver) 50% 100%);
  transform-origin: left center;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem 2rem;
  padding: 0.6rem var(--gutter);
  background: var(--white);
}
.top__logo { flex: none; border-radius: 0.25rem; }
.top__logo img { width: auto; height: clamp(2.5rem, 5vw, 3.5rem); }
.top__nav { display: none; }
.top__call { margin-left: auto; padding-inline: 1rem; font-size: 1rem; }
.top__call-num { display: none; }

/* Hero: one navy sign across the whole window */
.hero {
  display: grid; gap: 2rem var(--gutter);
  padding: clamp(1.75rem, 5vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 5rem);
  background: var(--navy); color: var(--white);
}
.hero h1 { font-size: clamp(2.05rem, 3.9vw, 4rem); font-weight: 900; max-width: 22ch; }
.hero__lead { margin-top: 1rem; max-width: 46ch; font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: var(--on-navy-soft); }

.plaque {
  width: fit-content; max-width: 100%;
  margin-top: 1.5rem; padding: 1.1rem clamp(1.25rem, 3vw, 2.25rem) 1rem;
  border-radius: var(--sign-radius);
  background: var(--white); color: var(--navy);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px var(--navy);
}
.plaque__label { font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); }
.plaque__number {
  display: block; font-size: clamp(2.3rem, 5.6vw, 4.75rem); font-weight: 900; line-height: 1.2;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
.plaque__number:hover { color: var(--blue-ink); }
.plaque__ask { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; }
.hero .actions { margin-top: 1.25rem; }

.hero__photo { align-self: center; }
.hero__photo img {
  width: 100%;
  border: 6px solid var(--white); border-bottom: 0;
  border-radius: var(--sign-radius) var(--sign-radius) 0 0;
  background: var(--white);
}
.hero__photo figcaption {
  padding: 0.9rem 1.25rem 0.75rem;
  border: 6px solid var(--white); border-top: 0;
  border-radius: 0 0 var(--sign-radius) var(--sign-radius);
  background: var(--green); color: var(--navy-deep);
  font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em;
}

/* Rides: two directory boards */
.rides { padding: var(--band) var(--gutter); }
.rides h2, .standards h2, .book h2, .area h2 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); font-weight: 900; }
.rides h2 { max-width: 22ch; }
.rides__boards { display: grid; gap: 2.5rem var(--gutter); margin-top: clamp(1.75rem, 3vw, 3rem); }
.board h3 {
  padding: 0.7rem 1.1rem 0.55rem;
  border-radius: 0.6rem 0.6rem 0 0;
  background: var(--navy); color: var(--white);
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.blades li {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 2px solid var(--navy);
}
.blades strong { display: block; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.15; }
.blades p { margin-top: 0.2rem; color: var(--navy); }
.tile {
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem;
  border-radius: 0.6rem;
  background: var(--blue); color: var(--white);
}
.tile .icon { width: 2.1rem; height: 2.1rem; }

/* Standards: the four things the company says about itself */
.standards {
  display: grid; gap: 1.75rem var(--gutter);
  padding: var(--band) var(--gutter);
  background: var(--navy); color: var(--white);
}
.standards h2 { max-width: 14ch; }
.standards__list { display: grid; }
.standards__list li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 0;
  border-top: 2px solid var(--navy-rule);
  font-size: clamp(1.3rem, 2.3vw, 2rem); font-weight: 800; line-height: 1.15;
}
.standards__list .icon { width: 2.25rem; height: 2.25rem; color: var(--green-lit); }

/* Plan: how to book, beside the service-area sign */
.plan {
  display: grid; gap: 2.5rem var(--gutter);
  padding: var(--band) var(--gutter);
  background: var(--mist);
}
.steps { margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.1rem; }
.steps__n {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; padding-top: 0.15em;
  border-radius: 0.6rem;
  background: var(--navy); color: var(--white);
  font-size: 1.9rem; font-weight: 900; line-height: 1;
}
.steps p { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.2; }
.steps a { display: inline-block; padding-block: 0.55rem; color: var(--blue-ink); font-weight: 900; white-space: nowrap; }
.book__note { margin-top: 1.5rem; max-width: 44ch; }

.area {
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--sign-radius);
  background: var(--green); color: var(--navy-deep);
  box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 9px var(--white);
}
.area__pin { width: 2.75rem; height: 2.75rem; margin-bottom: 0.75rem; }
.area__reach { margin-top: 0.6rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; line-height: 1.2; }
.area__ask { margin-top: 1rem; font-weight: 600; }

/* Contact: the blue band */
.contact {
  display: grid; gap: 2rem var(--gutter); align-items: center;
  padding: var(--band) var(--gutter);
  background: var(--blue); color: var(--white);
}
.contact h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 800; }
.contact__number {
  display: block; width: fit-content; margin-top: 0.35rem;
  font-size: clamp(2.7rem, 8.4vw, 6rem); font-weight: 900; line-height: 1; letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none;
}
.contact__number:hover { text-decoration: underline; text-decoration-thickness: 0.06em; }
.contact__ask { margin-top: 0.5rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; }
.actions--stack { flex-direction: column; }
.actions--stack .btn { width: 100%; }
.contact__911 { margin-top: 1.25rem; max-width: 34ch; font-weight: 600; }

/* Footer */
.foot {
  display: grid; gap: 0.35rem;
  padding: 2.25rem var(--gutter) 6.5rem;
  background: var(--navy-deep); color: var(--on-navy-soft);
}
.foot__name { font-size: 1.3rem; font-weight: 900; color: var(--white); }
.foot a { font-weight: 700; color: var(--white); display: inline-block; padding-block: 0.5rem; }
.foot__legal { margin-top: 0.75rem; }

/* Phone dock: the number stays under the thumb on small screens */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 15;
  display: grid; grid-template-columns: 1fr auto; gap: 0.6rem;
  padding: 0.6rem max(0.75rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  border-top: 3px solid var(--green);
}
.dock .btn { min-width: 0; padding-inline: 0.75rem; gap: 0.45rem; font-size: 1rem; }
@media (max-width: 22.5rem) {
  .dock__word { display: none; }
}

@media (min-width: 30rem) {
  .top__call-num { display: inline; }
}

@media (min-width: 48rem) {
  .rides__boards { grid-template-columns: 1fr 1fr; align-items: start; }
  .standards__list { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .plan { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .contact { grid-template-columns: 1fr auto; }
}

@media (min-width: 62rem) {
  .dock { display: none; }
  .foot { padding-bottom: 2.5rem; }
  .top { padding-block: 0.75rem; }
  .top__nav { display: flex; gap: 0.25rem; margin-left: auto; }
  .top__nav a {
    display: inline-flex; align-items: center; min-height: 3rem; padding: 0 0.9rem;
    border-radius: 0.5rem; font-weight: 700; text-decoration: none;
  }
  .top__nav a:hover { background: var(--mist); color: var(--blue-ink); }
  .top__call { margin-left: 0.5rem; padding-inline: 1.5rem; font-size: 1.125rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .standards { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: start; }
}

/* One authored moment: the lane line rolls out from the left, like a line being painted. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .top + .lane { animation: lane-roll 1100ms var(--ease-out) both; }
  @keyframes lane-roll {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .dock, .top__nav, .skip { display: none; }
  .top { position: static; }
}
