:root {
  --ink: #15233a;
  --paper: #f3f6f5;
  --surface: #ffffff;
  --glass: #2e6b5e;
  --glass-deep: #1f4d43;
  --amber: #b9822e;
  --muted: #4a5664;
  --line: #cfd8d5;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --measure: 66ch;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

a { color: var(--glass-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  font-family: var(--display);
  font-size: 0.98rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--glass);
}

/* Type */
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; max-width: 20ch; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 650; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }

.lede {
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  color: var(--muted);
  max-width: 58ch;
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 2.5rem; }
.hero .lede { margin-top: 1.4rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  border: 2px solid var(--glass);
}
.btn-primary { background: var(--glass); color: #fff; }
.btn-primary:hover { background: var(--glass-deep); border-color: var(--glass-deep); color: #fff; }
.btn-quiet { color: var(--glass-deep); background: transparent; }
.btn-quiet:hover { background: var(--surface); color: var(--ink); }

/* Supply route: the signature element */
.route-section { padding: 1rem 0 4rem; }
.route-caption {
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  right: calc(25% - 22px);
  height: 2px;
  background: var(--glass);
}
.stop {
  position: relative;
  padding-right: 1.5rem;
}
.stop-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--glass);
  color: var(--glass-deep);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.stop.is-us .stop-mark { background: var(--glass); color: #fff; }
.stop h3 { margin-top: 1rem; font-size: 1.08rem; }
.stop p { margin-top: 0.4rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }

.layer {
  margin-top: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px dashed var(--amber);
  border-radius: 0 0 8px 8px;
  padding: 1.4rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  align-items: start;
}
.layer h3 { font-size: 1.15rem; }
.layer .status {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: 0.85rem;
  color: #7a5418;
  background: #f6ead6;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}
.layer p { font-size: 1.05rem; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; max-width: 46rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 4rem;
}
.split h3 { margin-bottom: 0.7rem; }

.plain-list { margin: 1.1rem 0 0; padding-left: 1.2rem; max-width: var(--measure); }
.plain-list li + li { margin-top: 0.55rem; }
.plain-list li::marker { color: var(--glass); }

.steps { margin: 1.1rem 0 0; padding-left: 1.4rem; max-width: var(--measure); }
.steps li + li { margin-top: 0.7rem; }
.steps li::marker { font-family: var(--display); font-weight: 700; color: var(--glass); }

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.7rem 2rem;
  margin: 0;
  max-width: 44rem;
}
.facts dt { font-family: var(--display); font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }

.callout {
  background: var(--glass-deep);
  color: #eef5f2;
  border-radius: 10px;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
}
.callout h2 { color: #fff; }
.callout p { margin-top: 0.7rem; color: #d4e4de; }
.callout .btn-primary { background: #fff; color: var(--glass-deep); border-color: #fff; }
.callout .btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.page-head .lede { margin-top: 1.1rem; }

.prose h2 { margin: 2.6rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + h2 { margin-top: 2.6rem; }
.prose ol + p,
.prose ul + p { margin-top: 1.4rem; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem;
  max-width: 34rem;
}
.contact-card .email {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 650;
  word-break: break-word;
}
.contact-card p + p { margin-top: 0.6rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  font-family: var(--display);
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Load moment: the route draws itself once */
@media (prefers-reduced-motion: no-preference) {
  .route::before {
    transform-origin: left center;
    animation: draw 1.1s ease-out 0.2s both;
  }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Responsive */
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 1.75rem; }
  .route::before { display: none; }
  .stop:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: -1.75rem;
    width: 2px;
    background: var(--glass);
  }
  .stop {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 1rem;
    padding-right: 0;
  }
  .stop h3 { margin-top: 0.55rem; grid-column: 2; }
  .stop p { grid-column: 2; }
  .stop-mark { grid-row: 1 / span 2; }
  .layer { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 1.06rem; }
  .facts { grid-template-columns: 1fr; gap: 0.2rem; }
  .facts dd { margin-bottom: 0.8rem; }
}
