:root {
  color-scheme: light;
  --navy: #162c40;
  --navy-deep: #102235;
  --gold: #b79b66;
  --gold-light: #d8bd88;
  --paper: #f5f3ee;
  --ink: #283f52;
  --muted: #4b5c69;
  --line: #dedbd2;
  --white: #fff;
  --display: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--navy-deep);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.054em; }
h2 { font-size: clamp(2.25rem, 4.05vw, 3.65rem); line-height: 1.04; }
h3 { font-size: 1.13rem; line-height: 1.26; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid #a1762e; }
[hidden] { display: none !important; }

.container { width: min(100% - 104px, 1200px); margin-inline: auto; }
.section { padding: 92px 0; scroll-margin-top: 18px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--white);
}
.skip-link:focus { transform: none; }

.site-header { background: #102234; color: var(--white); border-bottom: 1px solid #ffffff22; }
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark { display: inline-grid; justify-items: start; justify-self: start; text-decoration: none; line-height: 1; }
.wordmark > span { font-size: 1.93rem; font-weight: 700; letter-spacing: .115em; }
.wordmark small { margin-top: 7px; color: var(--gold-light); font-size: .57rem; font-weight: 700; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 48px); }
.main-nav a { padding: 11px 0; color: #e2e9ed; text-decoration: none; font-size: .92rem; }
.main-nav a:hover, .footer-link:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: .28em; }
.header-cta { justify-self: end; }

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.26;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s, background-color .16s, border-color .16s;
}
.button-outline { color: #f9eddb; border-color: #b79b668f; background: transparent; }
.button-outline:hover, .button-quiet:hover { background: #fff2da13; border-color: var(--gold-light); }
.button-gold { color: #142739; background: var(--gold-light); border-color: var(--gold-light); }
.button-gold:hover { background: #e9d2a5; border-color: #e9d2a5; }
.button-quiet { color: var(--white); border-color: #ffffff68; background: #10223530; }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: #29475e; }
.button:disabled { opacity: .65; cursor: default; }
.button-stroke { color: var(--navy); border-color: #9aa6af; background: transparent; }
.button-stroke:hover { background: #e8edf0; border-color: var(--navy); }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-light); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #132b41; }
.hero-media, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-media { left: 27%; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 36%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, #0d2033 0%, #0d2033f5 23%, #102338c7 42%, #1023383a 67%, #10233805 100%),
    linear-gradient(0deg, #13233867 0%, transparent 37%);
}
.hero-inner { display: grid; align-items: center; min-height: clamp(490px, 42vw, 650px); padding-block: 72px 78px; }
.hero-content { max-width: 740px; }
.eyebrow {
  font-size: .83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .145em;
  line-height: 1.45;
  color: #6b501f;
  margin-bottom: 15px;
}
.eyebrow-ruled { display: flex; align-items: center; gap: 12px; }
.eyebrow-ruled::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: 0 0 auto; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 24px; }
.hero h1 { font-size: clamp(3rem, 5.45vw, 5.4rem); line-height: .99; }
.hero h1 em { color: #dec798; font-weight: 400; }
.hero-description { max-width: 440px; margin-top: 25px; color: #e2e9ed; font-size: 1.11rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 33px; }

.operations { background: var(--navy); color: var(--white); border-block: 1px solid #ffffff23; }
.operations-inner { min-height: 75px; display: flex; align-items: center; gap: 29px; }
.operations p { display: flex; align-items: center; gap: 11px; font-size: .96rem; }
.operations p + p { padding-left: 29px; border-left: 1px solid #ffffff3a; }
.operations .icon { width: 23px; height: 23px; color: var(--gold-light); }
.route-pair { display: flex; flex-wrap: wrap; column-gap: 23px; row-gap: 3px; }
.route-pair span + span { position: relative; }
.route-pair span + span::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  left: -13px;
  top: calc(50% - 2px);
  border-radius: 50%;
  background: var(--gold-light);
}

.services, .about { background: var(--paper); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.section-heading > p { color: var(--muted); padding-bottom: 3px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff85;
}
.service { padding: 25px 23px 27px; }
.service + .service { border-left: 1px solid var(--line); }
.service-icon { color: #86652c; width: 29px; height: 29px; margin-bottom: 12px; }
.service p, .values p { color: var(--muted); margin-top: 9px; }

.routing { background: var(--navy); color: var(--white); }
.routing-layout, .quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(38px, 6.6vw, 102px);
  align-items: start;
}
.routing-intro { padding-top: 14px; }
.routing .eyebrow { color: var(--gold-light); }
.routing-intro > p:not(.eyebrow), .quote-intro > p:not(.eyebrow) { max-width: 385px; margin-top: 22px; font-size: 1.06rem; }
.routing-intro > p:not(.eyebrow) { color: #d6e0e8; }
.routing-priorities { margin-top: 29px; padding-top: 18px; border-top: 1px solid #ffffff32; }
.routing-priorities > span { color: var(--gold-light); font-weight: 700; font-size: .9rem; }
.routing-priorities p { margin-top: 3px; color: #eef3f7; }
.routing-priorities p span { padding-inline: 6px; color: var(--gold-light); }
.planner { min-width: 0; padding: 26px; border-radius: 8px; background: var(--paper); color: var(--navy); }
.planner-controls, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.planner-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 188px;
  margin-block: 18px;
  padding: 17px 16px;
  background: #e8eef2;
  border-left: 2px solid #a98748;
  border-radius: 0 5px 5px 0;
}
.planner-result > .icon { color: #7c5d2a; }
.planner-result h3 { margin-top: 4px; }
.planner-result p:not(.result-label) { margin-top: 7px; color: var(--ink); }
.planner-result strong { color: var(--navy); margin-right: 3px; }
.result-label { font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #695225; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px;
}
.values article { border-top: 1px solid #b9a780; padding: 19px 12px 0 0; }
.values h3 { font-family: var(--display); font-size: 1.67rem; font-weight: 400; letter-spacing: -.025em; }

.quote { background: #eaf0f3; }
.quote-intro { padding-top: 14px; }
.quote-intro > p:not(.eyebrow) { color: var(--muted); }
.privacy { display: flex; gap: 10px; max-width: 370px; margin-top: 24px; color: var(--muted); font-size: .93rem; }
.privacy .icon { color: #695225; }
.quote-form { min-width: 0; padding: 26px; border-radius: 8px; background: var(--white); border: 1px solid #d1dbe1; }
.form-guide { margin-bottom: 13px; color: var(--muted); font-size: .87rem; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.field label, .quote-summary > label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea, .quote-summary textarea {
  min-height: 44px;
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #aab5bc;
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  font-size: 1rem;
}
.field textarea, .quote-summary textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #596974; opacity: 1; }
.field select { appearance: none; padding-right: 33px; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap .icon { position: absolute; top: 12px; right: 10px; width: 20px; height: 20px; pointer-events: none; }
.form-wide { grid-column: 1 / -1; }
.form-submit { margin-top: 18px; }
.form-status { margin-top: 10px; color: #304c3e; font-size: .9rem; }
.form-status[data-error] { color: #9b2d21; }
.form-status:empty { margin: 0; }
.quote-summary { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.quote-summary textarea { display: block; margin-top: 6px; background: #f7f9fa; }
.summary-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }

.site-footer { padding: 33px 0; color: #e1e9ee; background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; }
.footer-inner p { font-size: .94rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 17px; }
.footer-link {
  padding: 10px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: .24em;
  cursor: pointer;
}
.analytics-panel {
  position: fixed;
  z-index: 2;
  inset-inline-end: 20px;
  inset-block-end: max(20px, env(safe-area-inset-bottom));
  width: min(410px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 28px #10223533;
}
.analytics-panel p { margin-block: 7px 13px; color: var(--muted); font-size: .94rem; }
.analytics-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analytics-actions .button { min-height: 44px; }

@media (max-width: 1030px) {
  .container { width: calc(100% - 72px); }
  .section { padding: 70px 0; }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
  .service { padding-inline: 17px; }
  .routing-layout, .quote-layout { gap: 36px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { gap: 15px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .86rem; }
  .header-cta { padding-inline: 13px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { padding: 22px; }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .routing-layout, .quote-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .routing-intro, .quote-intro { padding-top: 0; }
  .routing-intro h2 br { display: none; }
  .routing-intro > p:not(.eyebrow), .quote-intro > p:not(.eyebrow) { margin-top: 13px; }
  .routing-priorities { margin-top: 17px; padding-top: 12px; }
  .planner-result { min-height: auto; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 54px 0; }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 13px; }
  .wordmark > span { font-size: 1.55rem; }
  .wordmark small { margin-top: 5px; font-size: .48rem; white-space: nowrap; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 12px; margin-top: 9px; border-top: 1px solid #ffffff25; }
  .main-nav a { padding: 11px 2px; }
  .header-cta { min-height: 43px; padding-inline: 10px; font-size: .84rem; white-space: nowrap; }
  .hero-inner { min-height: 0; padding-block: 181px 32px; }
  .hero-media { left: 0; mask-image: none; }
  .hero-media img { object-position: 58% 0%; height: min(88%, 360px); }
  .hero::after {
    background: linear-gradient(0deg, #0d2033 0%, #0d2033 32%, #0d2033e8 55%, #10233858 75%, #10233814 100%);
  }
  .hero h1 { font-size: clamp(2.36rem, 8.55vw, 3.4rem); }
  .hero .eyebrow { font-size: .73rem; margin-bottom: 14px; }
  .hero .eyebrow-ruled { gap: 8px; }
  .hero .eyebrow-ruled::before { width: 19px; }
  .hero-description { font-size: 1rem; margin-top: 17px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 22px; }
  .operations-inner { flex-direction: column; align-items: stretch; gap: 0; padding-block: 6px; }
  .operations p { padding-block: 8px; font-size: .9rem; }
  .operations p + p { border-left: 0; border-top: 1px solid #ffffff25; padding-left: 0; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 21px; }
  .section-heading > p { padding: 0; }
  .service { padding: 15px 12px 18px; }
  .service h3 { font-size: 1.02rem; }
  .service-icon { margin-bottom: 7px; }
  .values { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .values article { padding-top: 11px; }
  .values p { margin-top: 4px; }
  .planner, .quote-form { padding: 15px; }
  .planner-controls, .form-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .planner-result { padding: 12px 10px; gap: 8px; }
  .planner-result .icon { width: 21px; height: 21px; }
  .planner > .button, .form-submit { width: 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 352px) {
  .hero h1 { font-size: clamp(1.95rem, 9.5vw, 2.2rem); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .operations p { gap: 7px; }
  .route-pair { column-gap: 15px; }
  .route-pair span + span::before { left: -9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
