:root {
  --navy: #10263B;
  --turq: #12CDB7;
  --ivory: #FFF9EE;
  --turq-deep: #0B7F72;
  --muted: #4A5F73;
  --font: "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font: 18px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ivory); color: var(--navy); padding: 12px 16px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 0 calc(var(--gutter) + 28px); }

.section { position: relative; padding: 72px 0; }
.section--dark { background: var(--navy); color: var(--ivory); }
.section--light { background: var(--ivory); color: var(--navy); }
.section--light a { color: var(--turq-deep); }
.section--light .kicker, .section--light .status { color: var(--muted); }

h1, h2, .slogan { line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: 1rem; }
h2 { font-size: clamp(1.75rem, 4vw + 1rem, 2.75rem); font-weight: 800; }
p { margin: 0 0 16px; max-width: 65ch; }
.kicker { font-size: 1.2rem; font-weight: 700; }
.names { font-weight: 700; }

/* Hero */
.hero { padding-top: 24px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0 0 32px; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 12px 4px; text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--turq); }
.logo { display: block; width: min(100%, 520px); height: auto; margin: 0 0 16px -4px; }
.slogan { font-size: clamp(1.4rem, 3vw + 1rem, 2.25rem); font-weight: 800; margin-bottom: 20px; }
.lead { font-size: 1.15rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 8px; font-weight: 800; text-decoration: none; border: 2px solid transparent;
}
.btn--primary { background: var(--turq); color: var(--navy); }
.btn--primary:hover { background: var(--ivory); }
.btn--ghost { border-color: var(--ivory); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--navy); }
.section--light .btn--primary { background: var(--navy); color: var(--ivory); }

/* Focus */
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--navy); }

/* Contact */
.email { font-size: clamp(1.25rem, 5vw, 2rem); font-weight: 800; overflow-wrap: anywhere; user-select: all; }
.email a { text-decoration: none; }
.terminals { display: block; width: 240px; margin-top: 32px; color: var(--turq); }

.footer { padding: 32px 0; }
.footer a { color: var(--ivory); }

/* Signal trail: one vertical segment per section; --p (0..1) is the drawn fraction. */
.trail-seg {
  --p: 1;
  position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 4px; border-radius: 2px;
  background: var(--turq); transform-origin: top; transform: scaleY(var(--p));
}
.section--light .trail-seg { background: color-mix(in srgb, var(--navy) 25%, var(--ivory)); }

@media (min-width: 900px) {
  .trail-seg { left: calc(50% - 380px); }
  .wrap { padding-left: 28px; padding-right: 28px; }
  .section { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail-seg { --p: 1 !important; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* People-first composition: identity, story, project and makers each get room. */
.wrap { max-width: 1240px; padding-inline: 40px; }
.nav { display: flex; justify-content: flex-end; }
.hero__body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding-block: 48px 24px; }
.hero__identity { min-width: 0; }
.logo { width: 100%; margin: 0 0 24px; }
.slogan { font-size: clamp(1.15rem, 2vw, 1.55rem); text-align: center; }
.eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; }
.hero .eyebrow { color: var(--turq); }
.hero__headline { font-size: clamp(3rem, 5.6vw, 5.25rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; margin-bottom: 28px; }
.hero__headline em { color: var(--turq); font-style: normal; }
.lead { font-size: 1.05rem; max-width: 48ch; }
h2 { letter-spacing: -.04em; font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 18px 0 12px; }
#build > .wrap > p { max-width: 62ch; }
.approach { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 48px 0 0; }
.approach li { border-top: 1px solid #b2b8b7; padding-top: 22px; }
.approach span { font-size: .8rem; color: var(--turq-deep); font-weight: 700; }
.approach p { font-size: .95rem; color: var(--muted); }
#workbench { background: #ecece3; }
.project-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.project-name { font-size: 1.4rem; font-weight: 700; margin-block: 28px 14px; }
.project-note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--turq-deep); padding-left: 16px; margin-top: 28px; }
.project-visual { margin: 0; min-width: 0; }
/* Crop only in presentation; preserve the complete concept image as the source.
   Select its right-hand bus scene, excluding the Dutch slide headings. */
.project-image { position: relative; aspect-ratio: 740 / 840; overflow: hidden; border-radius: 120px 12px 12px 12px; background: var(--navy); }
.project-image img { position: absolute; width: 207.568%; max-width: none; left: -105.405%; top: -2.381%; height: auto; }
figcaption { font-size: .75rem; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.status { font-size: .9rem; }
.status strong { display: block; color: var(--turq-deep); }
.makers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.makers-summary { font-size: 1.5rem; line-height: 1.5; color: var(--muted); margin-top: 32px; }
.names { font-size: 1.2rem; }
#contact .wrap { max-width: 960px; }
#contact h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
#contact .email { margin-top: 32px; }
.footer .wrap { border-top: 1px solid #395062; padding-top: 24px; display: flex; justify-content: center; font-size: .8rem; }
.trail-seg { left: max(12px, calc(50% - 610px)); width: 2px; }
.btn { transition: background-color .18s ease, color .18s ease; }
@media (max-width: 899px) {
  .wrap { padding-inline: 28px; }
  .hero__body { gap: 36px; }
  .hero__headline { font-size: 3rem; }
  .project-layout, .makers-layout { gap: 36px; }
  .approach { gap: 24px; }
}
@media (max-width: 639px) {
  body { font-size: 16px; }
  .section { padding-block: 56px; }
  .hero { padding-top: 12px; }
  .nav { justify-content: flex-start; }
  .nav ul { gap: 20px; margin-bottom: 20px; }
  .hero__body, .project-layout, .makers-layout { grid-template-columns: 1fr; }
  .hero__body { padding-top: 8px; gap: 38px; }
  .hero__identity { max-width: 320px; }
  .logo { max-width: 265px; margin-bottom: 12px; }
  .slogan { text-align: left; font-size: 1.05rem; }
  .hero__headline { font-size: 3.2rem; }
  .eyebrow { font-size: .66rem; }
  .approach { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .approach li { padding-top: 18px; }
  .approach h3 { margin-top: 10px; }
  .project-image { border-top-left-radius: 80px; }
  .makers-summary { margin-top: 16px; font-size: 1.2rem; }
  .makers-layout { gap: 20px; }
  .btn { padding-inline: 18px; font-size: .9rem; }
}
