/* Prime Voyage Investment CC
   Palette taken from the logo: navy and gold, with cool light grey and slate. */
:root {
  --diesel: #021332;
  --diesel-2: #0c2350;
  --amber: #d4a22c;
  --amber-deep: #8a6410;
  --concrete: #edf0f5;
  --steel: #4f5b6e;
  --line: #c9d0dc;
  --white: #ffffff;
  --ink: #021332;

  --font: "Archivo", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variation-settings: "wdth" 100;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 38rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--diesel); padding: .6rem 1rem; z-index: 10; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Type scale (1.25 ratio) */
h1, h2, h3 { line-height: 1.1; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-variation-settings: "wdth" 118; }
h3 { font-size: 1.3rem; font-variation-settings: "wdth" 112; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--steel); }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: .02em; line-height: 1.25; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .85rem 1.4rem; border-radius: 4px; border: 2px solid transparent;
  font-variation-settings: "wdth" 110; line-height: 1.2; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-amber { background: var(--amber); color: var(--diesel); }
.btn-amber:hover { background: #e3b443; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--diesel); color: var(--white); }
.btn-dark:hover { background: var(--diesel-2); }

/* Header: white so the navy-and-gold logo reads clearly */
.site-header { background: var(--white); color: var(--diesel); border-bottom: 4px solid var(--amber); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; padding: .4rem 0; }
.brand img { height: 3.6rem; width: auto; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 600; color: var(--diesel); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--amber-deep); }
.nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav .btn { color: var(--diesel); border-bottom: 0; padding: .6rem 1rem; }

.lang { display: flex; align-items: center; gap: .4rem; }
.lang svg { width: 1.1rem; height: 1.1rem; color: var(--steel); }
.lang-select {
  background: var(--white); color: var(--diesel); border: 1px solid var(--line); border-radius: 4px;
  padding: .4rem .5rem; font: inherit; font-size: .9rem;
}
.nav-toggle { display: none; }
.site-header .nav { order: 1; }
.site-header .lang { order: 2; }

@media (max-width: 860px) {
  .site-header .lang { order: 0; }
  .site-header .lang svg { display: none; }
  .site-header .wrap { gap: .6rem; min-height: 4.4rem; }
  .brand img { height: 2.9rem; }
  .nav-toggle {
    order: 1; display: inline-flex; align-items: center; gap: .5rem; background: none; color: var(--diesel);
    border: 1px solid var(--line); border-radius: 4px; padding: .45rem .7rem; font: inherit; font-weight: 600;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem; border-bottom: 4px solid var(--amber); box-shadow: 0 12px 24px rgba(2,19,50,.15);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--amber-deep); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* Hero with the route band: the one bold element */
.hero { background: var(--diesel); color: var(--white); padding: clamp(3rem, 8vw, 6rem) 0 0; overflow: hidden; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #c3cbe0; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 clamp(3rem, 7vw, 5rem); }

.route {
  position: relative; background: #010c22; border-top: 1px solid #1b2e57;
  padding: 2.4rem 0 2.2rem;
}
.route-line { position: relative; display: flex; align-items: center; gap: 0; }
.route-road {
  flex: 1; height: 10px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 46px, transparent 46px 74px);
}
.route-pin {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 6px solid var(--amber); position: relative; z-index: 1;
}
.route-stops { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: 1.2rem; }
.stop { flex: 1; }
.stop:last-child { text-align: right; }
.stop-name { display: block; font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.9rem); font-variation-settings: "wdth" 122; line-height: 1.1; }
.stop-note { color: #a9b4cc; font-size: .95rem; }
.route-km { flex: none; font-size: .85rem; color: #a9b4cc; padding-top: .45rem; }
@media (max-width: 600px) {
  .route-stops { flex-wrap: wrap; }
  .route-km { order: 3; width: 100%; text-align: center; padding-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .route-road { animation: drive 1.6s cubic-bezier(.2,.7,.2,1) both .2s; transform-origin: left; }
  @keyframes drive { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-concrete { background: var(--concrete); }
.section-head { margin-bottom: 2.5rem; }

/* Service areas: ruled rows, not cards */
.areas { border-top: 2px solid var(--diesel); }
.area {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 2.5rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.area h3 { margin: 0; }
.area p { margin: 0; color: var(--steel); }
.area ul { margin: 0; padding: 0; list-style: none; }
.area li { padding: .35rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); }
.area li:last-child { border-bottom: 0; }
.area li a { font-size: .9rem; color: var(--amber-deep); font-weight: 600; white-space: nowrap; }
.area-icon { width: 2.2rem; height: 2.2rem; color: var(--amber-deep); margin-bottom: .6rem; }
@media (max-width: 700px) { .area { grid-template-columns: 1fr; } }

.more-link { display: inline-block; margin-top: 1.8rem; font-weight: 700; }

/* Registration list */
.reg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.reg ul { list-style: none; margin: 0; padding: 0; }
.reg li { position: relative; padding: .9rem 0 .9rem 2.2rem; border-bottom: 1px solid var(--line); }
.reg li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.2rem; height: 1.2rem;
  background: var(--amber); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
@media (max-width: 760px) { .reg { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: var(--amber); color: var(--diesel); padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { margin-bottom: .3em; max-width: 22ch; }
.cta p { margin: 0; max-width: 40rem; }

/* Page header for inner pages */
.page-head { background: var(--diesel); color: var(--white); padding: clamp(2.8rem, 7vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.5rem); border-bottom: 10px solid var(--amber); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: .3em; }
.page-head .lead { color: #c3cbe0; margin: 0; }

/* About */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.places { list-style: none; padding: 0; margin: 0; }
.places li { padding: 1rem 0 1rem 1.2rem; border-left: 4px solid var(--amber); margin-bottom: 1rem; background: var(--concrete); padding-right: 1rem; }
.places strong { display: block; font-variation-settings: "wdth" 115; }

.facts { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; margin: 0; border-top: 2px solid var(--diesel); }
.facts dt, .facts dd { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--steel); padding-right: 1rem; }
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--diesel); }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .9rem; font-weight: 700; color: var(--steel); }
.contact-list .big { font-size: 1.35rem; font-weight: 800; font-variation-settings: "wdth" 115; text-decoration: none; }
.contact-list .big:hover { color: var(--amber-deep); }
.contact-list address { font-style: normal; }
.contact-list .map { font-size: .9rem; font-weight: 600; color: var(--amber-deep); }

.form { background: var(--concrete); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 6px solid var(--amber); }
.form h2 { font-size: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .75rem .8rem; border: 1px solid #a9b2ab; border-radius: 4px; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--diesel); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .9rem; color: var(--steel); margin-top: .8rem; }
.form-error { background: #fff3d6; border-left: 4px solid var(--amber-deep); padding: .7rem .9rem; margin-bottom: 1rem; font-weight: 600; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: var(--diesel); color: #c3cbe0; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1rem; color: var(--white); font-variation-settings: "wdth" 110; margin-bottom: .6rem; }
.site-footer a { color: #dde3f0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-base { border-top: 1px solid #1b2e57; margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.thanks { min-height: 50vh; }

/* Prime Office staff links */
.office-links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--diesel); max-width: 48rem; }
.office-links li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.office-links h2 { font-size: 1.4rem; margin-bottom: .2em; }
.office-links p { margin: 0; color: var(--steel); }
@media (max-width: 560px) { .office-links li { flex-direction: column; align-items: flex-start; } }

/* Truck gallery */
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 18rem 18rem; gap: .8rem;
  grid-template-areas: "a a c" "b d c"; margin: 0; }
.fleet figure { margin: 0; position: relative; overflow: hidden; background: var(--concrete); }
.fleet .f1 { grid-area: a; } .fleet .f2 { grid-area: c; } .fleet .f3 { grid-area: b; } .fleet .f4 { grid-area: d; }
.fleet img { width: 100%; height: 100%; object-fit: cover; }
.fleet .f3 img { object-position: 50% 60%; }
.fleet figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--diesel); color: var(--white);
  font-size: .85rem; font-weight: 600; padding: .35rem .7rem; border-top: 3px solid var(--amber);
}
@media (max-width: 760px) {
  .fleet { grid-template-columns: 1fr 1fr; grid-template-rows: 14rem 20rem 14rem; grid-template-areas: "a a" "c b" "d d"; }
}
.about-photo { margin: 2rem 0 0; }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { font-size: .9rem; color: var(--steel); margin-top: .5rem; }
.fleet picture { display: block; height: 100%; }
.footer-credit { margin: .8rem 0 0; font-size: .85rem; }
