/*
 * Right Light Services public website.
 * Plain CSS, no build step. Mobile first.
 *
 * Colours match Right Light OS: Permian Red #C00000, Yard Navy #101C28,
 * galvanized grey ground. The logo's light beam (#F7FF28) is the accent on
 * dark grounds; red is the accent on light grounds. Diagonal edges rise to
 * the right, like the beam in the logo.
 */

/* ---------- Fonts (self-hosted, OFL; see README) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("/fonts/oswald-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --red: #c00000;
  --red-hover: #a30000;
  --red-press: #8e0000;
  --red-on-dark: #ff6a5e;

  --night: #0b131b;
  --night-2: #121c26;
  --night-3: #1a2632;
  --night-line: #2a3744;
  --on-dark: #e7ecf0;
  --on-dark-2: #b0b8c1;

  --bg: #f5f7f9;
  --surface: #ffffff;
  --sunken: #edf0f4;
  --ink: #101c28;
  --ink-2: #454e58;
  --ink-3: #5e6770;
  --line: #dadee3;
  --line-ctl: #7f8790;

  --caliche: #efe6d6;
  --caliche-2: #e3d5bd;
  --caliche-ink: #6b4f2a;

  --beam: #f7ff28;
  --beam-soft: #f2f55a;
  --focus: #2b63cc;

  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --radius: 4px;
  --slant: 56px;

  --shadow-1: 0 1px 2px rgba(16, 28, 40, 0.08), 0 2px 8px rgba(16, 28, 40, 0.06);
  --shadow-2: 0 2px 4px rgba(16, 28, 40, 0.08), 0 14px 32px -12px rgba(16, 28, 40, 0.28);
}
@media (min-width: 600px) {
  :root { --gutter: 24px; }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 80px; --slant: 88px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 960px) {
  body { font-size: 1.125rem; }
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red-hover); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.45em;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.1rem); font-weight: 600; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 600; text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.015em; }
h4 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--beam);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow { color: var(--beam-soft); }

.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 40em;
}
@media (min-width: 960px) {
  .lede { font-size: 1.25rem; }
}
.on-dark { color: var(--on-dark-2); }
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 { color: #fff; }
.on-dark .lede { color: var(--on-dark-2); }
.on-dark a:not(.btn) { color: #fff; }

/* The beam: a red block with a light tail, from the logo. Decorative. */
.beam-rule {
  display: block;
  width: 168px;
  height: 6px;
  margin: 0 0 24px;
  background: linear-gradient(90deg, var(--red) 0 56px, transparent 56px 62px, rgba(192, 0, 0, 0.35) 62px, rgba(192, 0, 0, 0) 100%);
  border: 0;
}
.on-dark .beam-rule {
  background: linear-gradient(90deg, var(--red) 0 56px, transparent 56px 62px, rgba(247, 255, 40, 0.85) 62px, rgba(247, 255, 40, 0) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); color: #fff; }
.btn-red:active { background: var(--red-press); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22303d; color: #fff; }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--night); color: #fff; }

.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--red);
}
.text-link .icon { transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 28, 40, 0.02);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, rgba(192, 0, 0, 0.15) 33% 100%);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  padding: 4px 0;
  border-radius: 2px;
}
.brand img { height: 38px; width: auto; }
@media (min-width: 960px) {
  .brand img { height: 50px; }
}

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--red); }

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius);
}
.header-call:hover { color: var(--red); }
.header-call .icon-wrap {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.header-call .icon { width: 20px; height: 20px; }
.header-call .num { display: none; }

.signin-btn { padding-inline: 14px; }
.signin-btn .icon { width: 18px; height: 18px; }
.signin-btn .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signin-btn .short { display: inline; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 30px -12px rgba(16, 28, 40, 0.35);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; padding: 8px 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu a.menu-link[aria-current="page"] { color: var(--red); }
.mobile-menu a.menu-link .icon { color: var(--red); }
.mobile-menu .menu-actions {
  display: grid;
  gap: 10px;
  padding: 16px 0 24px;
  border-top: 3px solid var(--ink);
}
.mobile-menu .menu-actions .btn { width: 100%; }
.mobile-menu .menu-meta { font-size: 0.9375rem; color: var(--ink-3); margin: 4px 0 0; }

@media (min-width: 400px) {
  .header-inner { gap: 10px; }
}
@media (min-width: 720px) {
  .signin-btn .long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .signin-btn .short { display: none; }
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .header-inner { gap: 18px; }
  .brand { margin-right: 8px; }
  .main-nav { margin-right: auto; }
  .header-call .num { display: inline; }
  .header-call .icon-wrap { width: 36px; height: 36px; }
}

/* ---------- Hero (home + inner pages) ---------- */
.hero {
  position: relative;
  background: var(--night);
  color: var(--on-dark-2);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: relative;
  background: var(--red);
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant) - 10px), 0 calc(100% - 10px));
}
.hero-media::after {
  /* light falloff so the image sits into the dark panel */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 27, 0) 55%, rgba(11, 19, 27, 0.25) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  padding: 28px var(--gutter) 56px;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lede { margin-bottom: 28px; color: var(--on-dark); }
.hero-sub {
  margin: 22px 0 0;
  font-size: 0.9375rem;
  color: var(--on-dark-2);
}
.hero-sub a { font-weight: 700; }

.page-hero .hero-media { aspect-ratio: 16 / 10; }
@media (min-width: 600px) and (max-width: 959px) {
  .hero-media,
  .page-hero .hero-media { aspect-ratio: 16 / 9; }
}
.page-hero .hero-copy { padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.4rem); }

@media (min-width: 960px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 640px;
  }
  .hero-media {
    order: 2;
    aspect-ratio: auto;
    height: 100%;
    margin-left: -9%;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-media img {
    position: absolute;
    inset: 0;
    clip-path: polygon(calc(22% + 14px) 0, 100% 0, 100% 100%, 14px 100%);
  }
  .hero-media::after { background: linear-gradient(90deg, rgba(11, 19, 27, 0.35) 0%, rgba(11, 19, 27, 0) 40%); }
  .hero-copy {
    order: 1;
    align-self: center;
    padding: 72px 0 96px;
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    padding-right: 24px;
  }
  .home-hero .hero-copy { padding-bottom: 150px; }
  .page-hero .hero-grid { min-height: 470px; }
  .page-hero .hero-copy { padding-top: 64px; padding-bottom: 72px; }
}

/* Load-in: one staggered reveal on the hero. Off for reduced motion. */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.24s; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) {
  .section { padding: 104px 0; }
}
.section-white { background: var(--surface); }
.section-dark { background: var(--night); }
.section-caliche { background: var(--caliche); }
.section-caliche .eyebrow { color: var(--caliche-ink); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .beam-rule { margin-inline: auto; }
@media (min-width: 960px) {
  .section-head { margin-bottom: 56px; }
}

.slant-top {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(64px + var(--slant));
}
@media (min-width: 960px) {
  .slant-top { padding-top: calc(104px + var(--slant)); }
}

/* ---------- Home: what we do ---------- */
.divisions { position: relative; z-index: 2; padding-top: 40px; }
.division-grid { display: grid; gap: 18px; }
@media (min-width: 760px) {
  .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .division-grid .div-card .media { aspect-ratio: 16 / 9; }
  /* One division (Rentals, Nov 17): one wide card, the photo beside the words */
  .division-grid.one { grid-template-columns: minmax(0, 1fr); }
  .division-grid.one .div-card { flex-direction: row; }
  .division-grid.one .div-card .media { flex: 0 0 56%; aspect-ratio: auto; min-height: 300px; }
  .division-grid.one .div-card .media img { position: absolute; inset: 0; }
  .division-grid.one .div-card .body { justify-content: center; padding: 32px 36px; }
  .division-grid.one .div-card .text-link { margin-top: 0; }
}
@media (min-width: 960px) {
  .divisions { padding-top: 0; margin-top: -96px; }
}
.div-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  color: var(--ink-2);
  text-decoration: none;
  border-top: 6px solid var(--red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.div-card:hover { transform: translateY(-3px); box-shadow: 0 4px 6px rgba(16, 28, 40, 0.08), 0 24px 40px -14px rgba(16, 28, 40, 0.38); color: var(--ink-2); }
.div-card .media { position: relative; aspect-ratio: 4 / 3; background: var(--sunken); overflow: hidden; }
.div-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.div-card:hover .media img { transform: scale(1.04); }
.div-card .tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 14px 6px 12px;
  background: var(--night);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.div-card .tag b { color: var(--beam-soft); font-weight: 600; margin-right: 8px; }
.div-card .body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.div-card h3 { margin: 0; }
.div-card p { margin: 0; }
.div-card .text-link { margin-top: auto; padding-top: 10px; }

/* ---------- Home: why choose us ---------- */
.why-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
}
.photo-frame { position: relative; }
.photo-frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.photo-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -14px;
  bottom: -14px;
  width: 58%;
  height: 62%;
  background: var(--red);
  border-radius: var(--radius);
}
.photo-frame { isolation: isolate; margin: 0 0 14px 14px; }
.photo-frame figcaption {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 12px;
  background: rgba(11, 19, 27, 0.86);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.reasons { list-style: none; display: grid; gap: 26px; margin-top: 8px; }
.reasons li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.reasons .r-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--night);
  color: var(--beam-soft);
  border-radius: var(--radius);
}
.reasons .r-icon svg { width: 26px; height: 26px; }
.reasons h3 { font-size: 1.375rem; margin: 2px 0 6px; }
@media (min-width: 960px) {
  .reasons.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .reasons.cols li { grid-template-columns: 1fr; gap: 18px; align-content: start; }
}
.reasons p { margin: 0; }

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 2px solid var(--ink);
}
.facts li { padding: 20px 16px 4px 0; }
.facts li + li { }
.facts .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.01em;
}
.facts .label { display: block; margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { padding: 24px 24px 0 0; }
  .facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
}
.on-dark .facts { border-top-color: var(--on-dark); }
.on-dark .facts .num { color: #fff; }
.on-dark .facts .label { color: var(--on-dark-2); }
.on-dark .facts li + li { border-left-color: var(--night-line); }

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .area-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
}
.route {
  position: relative;
  background: var(--night);
  color: var(--on-dark-2);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.route::before {
  /* survey grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.route-stops {
  position: relative;
  list-style: none;
  display: grid;
}
.route-stops li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 28px;
}
.route-stops li::before {
  /* the road */
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  bottom: -2px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--beam-soft) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}
.route-stops li:last-child { padding-bottom: 0; }
.route-stops li:last-child::before { display: none; }
.route-stops .pin {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--on-dark-2);
  background: var(--night);
  margin-top: 2px;
}
.route-stops .home .pin {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(192, 0, 0, 0.28);
}
.route-stops .name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.route-stops .note { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--on-dark-2); }
.route-stops .state-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 28px 42px;
}
.route-stops .state-line::before { top: 0; }
.route-stops .state-line .st {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.route-stops .state-line .rule {
  flex: 1;
  height: 0;
  border-top: 2px dashed rgba(176, 184, 193, 0.5);
}
.route-caption {
  position: relative;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--night-line);
  font-size: 0.9375rem;
  color: var(--on-dark-2);
}
.route-caption b { color: #fff; }

@media (min-width: 760px) {
  .route { padding: 40px 32px 30px; }
  .route-stops {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    padding-top: 26px;
  }
  .route-stops .name { font-size: 1.5rem; }
  .route-stops li {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px 0 0;
  }
  .route-stops li::before {
    left: 28px;
    right: 0;
    top: 13px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--beam-soft) 0 10px, transparent 10px 16px);
  }
  .route-stops li:last-child::before { display: none; }
  .route-stops .state-line {
    align-self: stretch;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
  }
  .route-stops .state-line::before { left: 0; top: 13px; }
  .route-stops .state-line .rule {
    flex: none;
    align-self: stretch;
    width: 0;
    height: auto;
    min-height: 120px;
    margin-top: -26px;
    border-top: 0;
    border-left: 2px dashed rgba(176, 184, 193, 0.5);
  }
  .route-stops .state-line .st { margin-top: -26px; }
}

.area-list { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.area-list li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: var(--ink); }
.area-list li::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; transform: translateY(-1px); }

/* ---------- Portal band ---------- */
.portal { position: relative; overflow: hidden; }
.portal-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) {
  .portal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 72px; }
}
.portal-list { list-style: none; display: grid; gap: 14px; margin: 8px 0 32px; }
.portal-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--on-dark);
  font-size: 1.0625rem;
  font-weight: 500;
}
.portal-list .check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.portal-list .check svg { width: 16px; height: 16px; }
.portal-note { margin: 18px 0 0; font-size: 0.9375rem; }

.portal-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  position: relative;
}
.portal-tiles::before {
  content: "";
  position: absolute;
  inset: -1px auto auto -1px;
  width: 96px;
  height: 6px;
  background: var(--red);
  border-radius: 10px 0 0 0;
}
.portal-tiles li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 150px;
  padding: 18px 16px;
  background: var(--night-3);
  border-radius: 6px;
  color: #fff;
}
.portal-tiles .t-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: rgba(247, 255, 40, 0.1);
  color: var(--beam-soft);
}
.portal-tiles .t-icon svg { width: 24px; height: 24px; }
.portal-tiles .t-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.portal-tiles .t-label small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-dark-2);
  line-height: 1.35;
}
@media (min-width: 960px) {
  .portal-tiles { gap: 14px; padding: 18px; }
  .portal-tiles li { min-height: 190px; padding: 22px 20px; }
  .portal-tiles .t-label { font-size: 1.55rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  /* a beam across the band */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0) 0 52%, rgba(0, 0, 0, 0.14) 52% 100%);
}
.cta-inner {
  display: grid;
  gap: 24px;
  padding-block: 56px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { margin: 0; color: #fff; font-size: 1.125rem; max-width: 34em; }
@media (min-width: 960px) {
  .cta-inner { grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; padding-block: 72px; }
}
.cta-band .btn-row { gap: 12px; }

/* ---------- Rentals ---------- */
.jump-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.jump-nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 16px; }
.jump-nav .label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
  width: 100%;
}
.jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.jump-nav a:hover { border-color: var(--red); color: var(--red); }
@media (min-width: 960px) {
  .jump-nav .label { width: auto; }
}

.cat { padding: 56px 0; border-bottom: 1px solid var(--line); }
.cat:nth-of-type(even) { background: var(--surface); }
@media (min-width: 960px) {
  .cat { padding: 88px 0; }
}
.cat-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .cat.flip .cat-media { order: 2; }
}
.cat-num {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--night);
  color: var(--beam-soft);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.cat h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.cat-intro { margin-bottom: 24px; max-width: 34em; }

.cat-media { display: grid; gap: 10px; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.cat-media.duo { grid-template-columns: 1fr 1fr; }
.cat-media.trio { grid-template-columns: 1fr 1fr; }
.cat-media.trio > :first-child { grid-column: 1 / -1; }
.cat-media figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sunken); }

.cat-media.graphic {
  aspect-ratio: 4 / 3;
  place-items: center;
  background: var(--night);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cat-media.graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cat-media.graphic ul {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 86%;
}
.cat-media.graphic li {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 8px 16px;
  background: var(--night-3);
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
}
.cat-media.graphic svg { width: 44px; height: 44px; color: var(--beam-soft); }
@media (max-width: 519px) {
  .cat-media.graphic ul { grid-template-columns: 1fr; gap: 10px; }
  .cat-media.graphic li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    text-align: left;
    font-size: 1.15rem;
  }
  .cat-media.graphic svg { width: 40px; height: 40px; flex: none; }
}
@media (min-width: 600px) {
  .cat-media.graphic li { font-size: 1.15rem; padding: 26px 10px 20px; }
  .cat-media.graphic svg { width: 56px; height: 56px; }
}

.spec-list { list-style: none; border-top: 2px solid var(--ink); margin-bottom: 28px; }
.spec-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list .item { font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
.spec-list .item small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chip {
  display: inline-block;
  padding: 3px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
}

.more-card {
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  background: var(--night);
  border-radius: var(--radius);
  border-left: 6px solid var(--red);
}
@media (min-width: 760px) {
  .more-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 36px 40px; }
}
.more-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin-bottom: 6px; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: start; }
}
.pull {
  margin: 0;
  padding: 28px 26px;
  background: var(--night);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-top: 6px solid var(--red);
}
.pull p { margin: 0; }
.pull .beam-rule { margin-top: 22px; margin-bottom: 0; }

.team-grid { list-style: none; display: grid; gap: 24px; }
@media (min-width: 760px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.team-card .photo { position: relative; aspect-ratio: 4 / 5; background: var(--sunken); overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--red);
}
.team-card .body { padding: 22px 22px 26px; }
.team-card h3 { margin: 0 0 4px; font-size: 1.6rem; }
.team-card .role {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
@media (max-width: 759px) {
  .team-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .team-card .photo { aspect-ratio: auto; min-height: 100%; }
  .team-card .photo::after { left: auto; top: 0; width: 5px; height: auto; }
  .team-card .body { padding: 18px 16px 20px; }
  .team-card h3 { font-size: 1.35rem; }
  .team-card p { font-size: 1rem; }
}

.team-intro { max-width: 46em; margin-bottom: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
}
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  color: var(--ink-2);
  text-decoration: none;
}
a.contact-item:hover { box-shadow: var(--shadow-2); color: var(--ink-2); }
.contact-item .c-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.contact-item .c-icon svg { width: 22px; height: 22px; }
.contact-item .k {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-item .v {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.contact-item .v { color: var(--red); }

.portal-mini {
  margin-top: 24px;
  padding: 24px 22px;
  background: var(--night);
  border-radius: var(--radius);
  border-top: 6px solid var(--red);
}
.portal-mini h2 { font-size: 1.6rem; margin-bottom: 8px; }
.portal-mini p { font-size: 1rem; margin-bottom: 18px; }

.form-card {
  padding: 26px 20px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  border-top: 6px solid var(--red);
}
@media (min-width: 600px) {
  .form-card { padding: 36px 36px 38px; }
}
.form-card h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: 8px; }
.form-intro { margin-bottom: 24px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; color: var(--ink); font-size: 1rem; }
.field .req { color: var(--red); font-weight: 800; }
.field .hint { font-size: 0.875rem; color: var(--ink-3); margin: 0; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--line-ctl);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--ink-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(43, 99, 204, 0.3);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); background: #fff7f7; }
.field .error {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  color: var(--red);
  font-size: 0.9375rem;
  font-weight: 700;
}
.field .error[hidden] { display: none; }
.form-foot { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 600px) {
  .form-foot { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
}
.form-foot p { margin: 0; font-size: 0.9375rem; color: var(--ink-3); }
.form-summary,
.form-status {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-summary { background: #fff1f1; border: 2px solid var(--red); color: var(--ink); }
.form-summary[hidden],
.form-status[hidden] { display: none; }
.form-status { margin: 20px 0 0; background: #eef7f0; border: 2px solid #146d34; color: var(--ink); }
.form-status b { display: block; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--on-dark-2);
  font-size: 1rem;
  border-top: 6px solid var(--red);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--beam-soft); }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-block: 72px 48px; }
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; }
.site-footer h2 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beam-soft);
}
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--beam-soft); }
.footer-contact a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; }
.footer-area { margin: 0; }
.footer-area b { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--night-line);
  font-size: 0.875rem;
}
.footer-bottom a { font-weight: 700; }
.footer-brand .btn { margin-top: 8px; }

/* ---------- 404 ---------- */
.nf { padding: 72px 0 96px; }
.nf .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--red);
  margin: 0 0 12px;
}
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .div-card:hover,
  .div-card:hover .media img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .mobile-menu, .cta-band, .hero-beam { display: none !important; }
  .hero, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
  .on-dark h1, .on-dark h2, .on-dark h3 { color: #000 !important; }
}
