/* Faithful Rides LLC — Built by Truly Digital Solutions, LLC (TruTech) · Build TT-FR-2026-05 */
@layer tokens, base, layout, components, pages, motion;

@layer tokens {
  :root {
    --paper: #ffffff;
    --sky: #f0f5fc;
    --sky-2: #e2ecf9;
    --line: #d8e2f0;
    --navy: #1b2a5e;
    --navy-deep: #111c44;
    --blue: #2447a8;
    --mint: #d4f0e3;
    --mint-ink: #145a3f;
    --ink: #16203a;
    --muted: #4c5870;
    --gold: #b7862b;
    --focus: #c2410c;

    --display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
    --sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fs-base: 1.1875rem;
    --step--1: 0.9375rem;
    --step-1: 1.3125rem;
    --step-2: clamp(1.4rem, 1.15rem + .9vw, 1.75rem);
    --step-3: clamp(1.85rem, 1.35rem + 2vw, 2.6rem);
    --step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);

    --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
    --wrap: 1200px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --sec: clamp(4rem, 8vw, 7rem);
    --shadow: 0 1px 2px rgba(17, 28, 68, .06), 0 16px 40px -16px rgba(17, 28, 68, .25);
  }
  :root[data-size="2"] { font-size: 112.5%; }
  :root[data-size="3"] { font-size: 125%; }
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; height: auto; }
  h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; color: var(--navy); letter-spacing: -0.02em; text-wrap: balance; }
  h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
  h2 { font-size: var(--step-3); }
  h3 { font-size: var(--step-2); letter-spacing: -0.01em; }
  p { margin: 0; text-wrap: pretty; }
  a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
  a:hover { color: var(--navy); text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
  ul, ol { margin: 0; padding: 0; }
  .ic { width: 1.25em; height: 1.25em; flex: none; }
  .skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); }
  .skip:focus { top: 1rem; }
}

@layer layout {
  .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
  .wrap-narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
  .sec { padding-block: var(--sec); }
  .sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
  .sec--flush, .phead + .sec { padding-top: clamp(3rem, 6vw, 4.5rem); }
  .sec--sky { background: var(--sky); }
  .sec__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
  .sec__head p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); }
  .sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
  .sec__head--row > div { max-width: 42rem; }
  .split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; grid-template-columns: .85fr 1.15fr; }
  .split__img img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .split__lead { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); }
  @media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__img img { aspect-ratio: 4 / 3; } }
}

@layer components {
  /* Utility bar */
  .util { background: var(--navy); color: #fff; font-size: var(--step--1); }
  .util__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; }
  .util__status { display: flex; align-items: center; gap: .55rem; }
  .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #b9c3dc; flex: none; }
  .util__status.is-open .dot { background: #7ee2a8; box-shadow: 0 0 0 4px rgba(126, 226, 168, .2); }
  .util__right { display: flex; align-items: center; gap: 1.5rem; }
  .util__phone { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 700; text-decoration: none; }
  .util__phone:hover { color: #fff; text-decoration: underline; }
  .size { display: flex; align-items: center; gap: .25rem; }
  .size__label { margin-right: .35rem; opacity: .85; }
  .size button { font: inherit; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .35); min-width: 36px; height: 36px; border-radius: 8px; cursor: pointer; line-height: 1; font-weight: 700; }
  .size button:nth-of-type(1) { font-size: .85rem; }
  .size button:nth-of-type(2) { font-size: 1.05rem; }
  .size button:nth-of-type(3) { font-size: 1.25rem; }
  .size button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
  .util :focus-visible { outline-color: #fff; }
  @media (max-width: 720px) { .size__label, .util__phone span { display: none; } .util__phone .ic { width: 1.4em; height: 1.4em; } }
  @media (max-width: 420px) { .util__status { font-size: .8125rem; } .util__right { gap: .9rem; } }

  /* Header */
  .hdr { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
  .hdr.is-stuck { border-bottom-color: var(--line); }
  .hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
  .brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy); }
  .brand img { width: 104px; height: auto; }
  .brand__name { display: grid; font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.02em; }
  .brand__name small { font-family: var(--sans); font-weight: 400; font-size: .8rem; letter-spacing: 0; color: var(--muted); margin-top: .25rem; }
  .brand:hover { color: var(--navy); }
  .nav { display: flex; align-items: center; gap: 1.25rem; }
  .nav ul { display: flex; gap: .15rem; list-style: none; }
  .nav ul a { display: block; padding: .6rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .nav ul a:hover { background: var(--sky); color: var(--navy); }
  .nav ul a[aria-current="page"] { background: var(--sky-2); color: var(--navy); }
  .nav__phone { display: none; }
  .menu-btn { display: none; }
  @media (max-width: 1120px) {
    .hdr__in { min-height: 76px; }
    .brand img { width: 84px; }
    .brand__name { font-size: 1.25rem; }
    .menu-btn { display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-weight: 700; color: var(--navy); background: var(--sky); border: 0; border-radius: 999px; padding: .7rem 1.1rem; min-height: 48px; cursor: pointer; }
    .menu-btn__bars { width: 18px; height: 12px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
    .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
    .nav { position: fixed; inset: var(--hdr-bottom, 124px) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
    .nav.is-open { visibility: visible; opacity: 1; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav ul a { font-family: var(--display); font-size: 1.6rem; padding: .85rem 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--navy); }
    .nav ul a[aria-current="page"] { background: none; color: var(--blue); }
    .nav__cta { margin-top: .5rem; }
    .nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: 1.25rem; padding: .75rem; text-decoration: none; }
  }
  @media (max-width: 480px) { .brand__name small { display: none; } .brand img { width: 70px; } }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
  .btn--lg { min-height: 60px; padding-inline: 1.9rem; }
  .btn--block { width: 100%; }
  .btn--primary { background: var(--blue); color: #fff; }
  .btn--primary:hover { background: var(--navy); color: #fff; }
  .btn--outline { border-color: var(--navy); color: var(--navy); }
  .btn--outline:hover { background: var(--sky); color: var(--navy); }
  .btn--light { background: #fff; color: var(--navy); }
  .btn--light:hover { background: var(--mint); color: var(--navy); }
  .btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
  .btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: .15rem; }
  .textlink:hover { border-color: var(--blue); }
  .textlink .ic { transition: transform .2s; }
  .textlink:hover .ic { transform: translateX(3px); }

  /* Why */
  .why { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; }
  .why li { display: flex; gap: 1.1rem; align-items: flex-start; }
  .why__ic { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; background: var(--mint); color: var(--mint-ink); flex: none; }
  .why__ic .ic { width: 1.6rem; height: 1.6rem; }
  .why h3 { font-size: 1.3rem; }
  .why p { color: var(--muted); margin-top: .35rem; }
  @media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

  /* Services */
  .svcs { list-style: none; display: grid; gap: 1rem; }
  .svc { display: grid; grid-template-columns: 17rem 1fr; gap: 2rem; align-items: center; background: var(--paper); border-radius: var(--r-md); padding: 1rem; border: 1px solid var(--line); }
  .svc__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
  .svc__txt { padding-right: 1.5rem; }
  .svc__txt p { color: var(--muted); margin: .5rem 0 1rem; max-width: 60ch; }
  @media (max-width: 700px) { .svc { grid-template-columns: 1fr; gap: 1.1rem; } .svc__txt { padding: 0 .5rem .5rem; } }

  .svgrid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .svcard { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: .75rem .75rem 1.25rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
  .svcard:hover { border-color: var(--blue); color: var(--ink); }
  .svcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
  .svcard h3 { font-size: 1.2rem; padding-inline: .35rem; }
  .svcard p { color: var(--muted); font-size: 1.05rem; margin-top: .4rem; padding-inline: .35rem; }
  .svcard:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
  @media (max-width: 1100px) { .svgrid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 760px) { .svgrid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .svgrid { grid-template-columns: 1fr; } }
  .trips { margin-top: 2.5rem; }
  .trips h3 { font-size: 1.3rem; margin-bottom: 1rem; }
  .trips--page { margin-top: 0; }
  .trips--page h2 { margin-bottom: 1.75rem; }
  .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
  .chips li { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: 1.05rem; }
  .chips .ic { color: var(--mint-ink); }

  /* Door to door */
  .d2d { list-style: none; display: grid; gap: 1.5rem; margin-top: 2rem; }
  .d2d li { display: flex; gap: 1rem; }
  .d2d li > .ic { width: 2rem; height: 2rem; padding: .35rem; border-radius: 50%; background: var(--mint); color: var(--mint-ink); margin-top: .1rem; }
  .d2d h3 { font-size: 1.3rem; }
  .d2d p { color: var(--muted); margin-top: .25rem; }

  /* Steps: a route with four stops */
  .steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
  .steps::before { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 1.6rem; border-top: 3px dashed #9fb3d9; }
  .steps li { counter-increment: s; position: relative; }
  .steps li::before { content: counter(s); display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin-bottom: 1.25rem; position: relative; box-shadow: 0 0 0 6px var(--sky); }
  .steps h3 { font-size: 1.3rem; }
  .steps p { color: var(--muted); margin-top: .5rem; }
  @media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 1.75rem; }
    .steps::before { left: 1.6rem; right: auto; top: 1.6rem; bottom: 1.6rem; border-top: 0; border-left: 3px dashed #9fb3d9; }
    .steps li { padding-left: 4.5rem; min-height: 3.2rem; }
    .steps li::before { position: absolute; left: 0; top: 0; }
  }

  /* Quotes */
  .quotes { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.5rem; align-items: start; }
  .quote { margin: 0; background: var(--sky); border-radius: var(--r-md); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
  .stars { display: flex; gap: .15rem; color: var(--gold); }
  .st { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }
  .quote blockquote { margin: 0; }
  .quote blockquote p { font-size: 1.15rem; line-height: 1.6; }
  .quote figcaption { display: grid; color: var(--navy); }
  .quote figcaption span { color: var(--muted); font-size: var(--step--1); }
  @media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

  /* Article cards */
  .acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .acard__link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
  .acard__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky-2); margin-bottom: 1.1rem; }
  .acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .acard__link:hover .acard__img img { transform: scale(1.03); }
  .acard h3 { font-size: 1.4rem; }
  .acard__link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
  .acard p { color: var(--muted); margin-top: .5rem; }
  @media (max-width: 960px) { .acards { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .acards { grid-template-columns: 1fr; } }

  /* Band */
  .band { background: var(--navy); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
  .band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
  .band h2 { color: #fff; }
  .band p { margin-top: .75rem; max-width: 40rem; opacity: .9; }
  .band__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
  .band :focus-visible { outline-color: #fff; }

  /* Contact */
  .contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .contact__info > p { margin-top: 1rem; color: var(--muted); }
  .clist { list-style: none; margin-top: 2rem; display: grid; gap: 1.35rem; }
  .clist li { display: flex; gap: 1rem; align-items: flex-start; }
  .clist .ic { color: var(--blue); width: 1.6rem; height: 1.6rem; margin-top: .15rem; }
  .clist__k { font-size: var(--step--1); color: var(--muted); }
  .clist a { font-weight: 700; overflow-wrap: anywhere; }
  @media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

  /* Forms */
  .form { background: var(--sky); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2.5rem); display: grid; gap: 1.2rem; }
  .form__group { border: 0; margin: 0; padding: 0; display: grid; gap: 1.2rem; min-width: 0; }
  .form__group + .form__group { border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .form__group > legend { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--navy); padding: 0; margin-bottom: 1.2rem; }
  .field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
  .field label, .field > legend { font-weight: 700; padding: 0; }
  .field > legend { margin-bottom: .45rem; }
  .opt { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
  .field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #a9b8d2; border-radius: var(--r-sm); padding: .8rem .95rem; min-height: 54px; width: 100%; }
  .field textarea { min-height: 110px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(36, 71, 168, .2); outline-offset: 0; }
  .field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  @media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
  .radios { display: flex; flex-wrap: wrap; gap: .6rem; }
  .radios label { display: inline-flex; align-items: center; gap: .55rem; font-weight: 400; background: #fff; border: 1.5px solid #a9b8d2; border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer; min-height: 48px; }
  .radios input { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); margin: 0; }
  .radios label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
  .form__err { color: #b3261e; font-weight: 700; }
  .form__err:empty { display: none; }
  .form__note { font-size: var(--step--1); color: var(--muted); }

  /* FAQ */
  .faq { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
  .faq__item { border-bottom: 1px solid var(--line); }
  .faq__item:first-child { border-top: 1px solid var(--line); }
  .faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--navy); line-height: 1.3; }
  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__plus { width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; background: var(--sky); position: relative; }
  .faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); translate: -50% -50%; transition: rotate .2s; }
  .faq__plus::after { rotate: 90deg; }
  .faq__item[open] .faq__plus::after { rotate: 0deg; }
  .faq__a { padding: 0 3rem 1.5rem 0; color: var(--muted); }
  @media (max-width: 820px) { .faq { grid-template-columns: 1fr; } .faq__a { padding-right: 0; } }

  .npi { display: inline-grid; margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
  .npi dt { font-size: var(--step--1); color: var(--muted); }
  .npi dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--navy); letter-spacing: .02em; }

  .crumb { margin-bottom: 1.25rem; }
  .crumb a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
  .crumb a:hover { text-decoration: underline; }

  .ticks { list-style: none; display: grid; gap: .55rem; }
  .ticks li { display: flex; gap: .6rem; align-items: flex-start; }
  .ticks .ic { color: var(--mint-ink); margin-top: .2rem; }
  .ticks--lg { margin: 1.25rem 0 2rem; font-size: 1.2rem; }

  .sister { background: var(--mint); }
  .sister__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 1.75rem; }
  .sister__in > .ic { width: 2rem; height: 2rem; color: var(--mint-ink); }
  .sister__in p { flex: 1 1 28rem; }
  .sister .textlink { color: var(--navy); border-color: rgba(20, 90, 63, .35); }

  /* Footer */
  .ftr { background: var(--navy-deep); color: #dfe5f3; padding-top: clamp(3.5rem, 6vw, 5rem); font-size: 1.0625rem; }
  .ftr a { color: #fff; }
  .ftr a:hover { color: #fff; }
  .ftr :focus-visible { outline-color: #fff; }
  .ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 2.5rem; padding-bottom: 3rem; }
  .brand--ftr { color: #fff; margin-bottom: 1.25rem; }
  .brand--ftr img { width: 84px; background: #fff; border-radius: 12px; padding: 6px 8px; }
  .brand--ftr .brand__name small { color: #c3cce2; }
  .brand--ftr:hover { color: #fff; }
  .ftr__about p { color: #c3cce2; max-width: 26rem; }
  .ftr__h { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
  .ftr__list { list-style: none; display: grid; gap: .9rem; }
  .ftr__list li { display: flex; gap: .7rem; align-items: flex-start; }
  .ftr__list .ic { color: var(--mint); margin-top: .15rem; }
  .ftr__list small { color: #c3cce2; font-size: .9rem; }
  .ftr__list a { overflow-wrap: anywhere; }
  .ftr__links { list-style: none; display: grid; gap: .6rem; }
  .ftr__links a { text-decoration: none; }
  .ftr__links a:hover { text-decoration: underline; }
  .ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.5rem; font-size: .95rem; color: #c3cce2; }
  @media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .ftr__grid { grid-template-columns: 1fr; } }

  .tablewrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--r-md); }
  table { border-collapse: collapse; width: 100%; font-size: 1.05rem; }
  th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
  tr:last-child td { border-bottom: 0; }
  th { background: var(--sky); color: var(--navy); }
}

@layer pages {
  /* Hero */
  .hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); background: radial-gradient(120% 90% at 100% 0%, var(--sky-2) 0%, var(--sky) 40%, var(--paper) 85%); }
  .hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .hero__kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--mint); color: var(--mint-ink); font-weight: 700; padding: .4rem 1rem .4rem .8rem; border-radius: 999px; margin-bottom: 1.5rem; font-size: 1.0625rem; }
  .hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem); line-height: 1.02; }
  .hero .lead { margin-top: 1.5rem; font-size: var(--step-1); color: var(--muted); max-width: 35rem; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
  .hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2rem; color: var(--muted); font-size: 1.0625rem; }
  .hero__facts li { display: flex; align-items: center; gap: .5rem; }
  .hero__facts .ic { color: var(--blue); }
  .hero__art { position: relative; padding-bottom: 4rem; }
  .hero__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
  .route { position: absolute; right: -1rem; bottom: 0; width: min(21rem, 80%); background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 1.35rem 1.5rem 1.4rem; }
  .route__title { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: .9rem; }
  .route__stops { list-style: none; display: grid; gap: .85rem; position: relative; padding-left: 2rem; }
  .route__stops::before { content: ""; position: absolute; left: .5rem; top: .55rem; bottom: .55rem; border-left: 3px dashed var(--blue); transform-origin: top; }
  .route__stops li { position: relative; display: grid; line-height: 1.3; }
  .route__stops li::before { content: ""; position: absolute; left: -1.95rem; top: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
  .route__stops li:last-child::before { background: var(--blue); }
  .route__stops strong { color: var(--ink); font-size: 1.05rem; }
  .route__stops span { color: var(--muted); font-size: .95rem; }
  @media (max-width: 900px) {
    .hero__in { grid-template-columns: 1fr; }
    .hero__art { max-width: 36rem; }
    .route { right: .75rem; }
  }
  @media (max-width: 520px) {
    .hero__art { padding-bottom: 0; }
    .route { position: static; width: auto; margin: -2.5rem .75rem 0; }
  }

  /* Page head */
  .phead { position: relative; background: var(--sky); padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
  .phead__in { display: grid; gap: 3rem; align-items: center; }
  .phead--img .phead__in { grid-template-columns: 1.25fr .75fr; }
  .phead__txt { max-width: 46rem; }
  .phead .lead { margin-top: 1.25rem; font-size: var(--step-1); color: var(--muted); }
  .phead__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
  .phead__road { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 8px; }
  .phead__road path { stroke: #9fb3d9; stroke-width: 6; stroke-dasharray: 22 16; fill: none; }
  @media (max-width: 800px) { .phead--img .phead__in { grid-template-columns: 1fr; } .phead__img { display: none; } }

  /* Coverage */
  .cover { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .cover__txt > p { margin-top: 1rem; color: var(--muted); }
  .cover__img img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  @media (max-width: 860px) { .cover { grid-template-columns: 1fr; } }

  /* Prose */
  .prose-2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; }
  @media (max-width: 820px) { .prose-2 { grid-template-columns: 1fr; } }
  .prose > * + * { margin-top: 1.1rem; }
  .prose p { max-width: 68ch; }
  .prose .big { font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.35; color: var(--navy); letter-spacing: -.01em; }
  .prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
  .prose h3 { font-size: 1.3rem; margin-top: 2rem; }
  .prose ul { padding-left: 1.4rem; display: grid; gap: .45rem; }
  .prose li::marker { color: var(--blue); }

  /* Request / schedule */
  .reqpage { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .req__aside { display: grid; gap: 1.25rem; position: sticky; top: 7rem; }
  .req__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: grid; gap: .85rem; }
  .req__card h2 { font-size: 1.5rem; }
  .req__card p { color: var(--muted); }
  .req__card--quiet { background: var(--mint); border-color: transparent; }
  .req__hours { font-size: var(--step--1); }
  .req__911 { font-weight: 700; padding-left: .25rem; }
  @media (max-width: 900px) { .reqpage { grid-template-columns: 1fr; } .req__aside { position: static; } }

  /* Resources */
  .comm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .comm__intro > p { margin-top: 1rem; color: var(--muted); }
  .h-sm { font-size: var(--step-2); margin-bottom: 1.25rem; }
  .comm__list { list-style: none; display: grid; gap: .85rem; }
  .comm__list a { display: grid; gap: .2rem; background: var(--sky); border-radius: var(--r-md); padding: 1.25rem 1.5rem; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
  .comm__list a:hover { border-color: var(--blue); }
  .comm__t { font-weight: 700; color: var(--blue); }
  .comm__t::after { content: " ↗"; font-weight: 400; }
  .comm__d { color: var(--muted); }
  @media (max-width: 860px) { .comm { grid-template-columns: 1fr; } }

  /* Article */
  .post__head { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
  .post__head > * { max-width: 52rem; }
  .post__head h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
  .post__head .lead { margin-top: 1.25rem; font-size: var(--step-1); color: var(--muted); }
  .post__hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); }
  .post__body { padding-block: clamp(2.5rem, 5vw, 4rem) var(--sec); }
  .post__cta { margin-top: 3rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--sky); display: grid; gap: 1rem; }
  .post__cta p:last-child { display: flex; flex-wrap: wrap; gap: .75rem; }
  @media (max-width: 600px) { .post__hero img { aspect-ratio: 3 / 2; } }

  .mapwrap iframe { display: block; width: 100%; height: 420px; border: 0; }
}

@layer motion {
  /* One orchestrated moment: the route draws itself, stop by stop */
  @media (prefers-reduced-motion: no-preference) {
    .route { animation: lift .7s .15s cubic-bezier(.2, .7, .1, 1) both; }
    .route__stops::before { animation: draw 1.2s .6s cubic-bezier(.4, 0, .2, 1) both; }
    .route__stops li { animation: stop .45s both; }
    .route__stops li:nth-child(1) { animation-delay: .55s; }
    .route__stops li:nth-child(2) { animation-delay: 1.05s; }
    .route__stops li:nth-child(3) { animation-delay: 1.55s; }
    @keyframes lift { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
    @keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes stop { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}

/* Very narrow screens (small phones, zoomed browsers) */
@layer components {
  .brand__name { white-space: nowrap; }
  @media (max-width: 380px) {
    .brand { gap: .5rem; }
    .brand img { width: 46px; }
    .brand__name { font-size: 1.05rem; }
    .menu-btn { padding: .6rem .85rem; }
    .util__status { display: none; }
    .util__in { justify-content: flex-end; }
  }
}

/* FormSubmit spam trap */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
