/* T4U Technology for you stylesheet. No external fonts, no trackers. */
:root {
  --sea: #0B2341;
  --ink: #16222F;
  --fog: #EDF1F0;
  --paper: #FFFFFF;
  --marsh: #173E6B;
  --buoy: #1FA2A8;
  --rule: #CBD5DD;
  --muted: #3D4F66;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sea: #D6E3EC;
    --ink: #E4EBF0;
    --fog: #0E1C2B;
    --paper: #16283C;
    --marsh: #8FB3D4;
    --buoy: #35BFC6;
    --rule: #2C4257;
    --muted: #A3B4C4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

h1, h2, h3 { font-family: var(--serif); color: var(--sea); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 24ch; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.2rem; color: var(--ink); }
.small { font-size: .9rem; color: var(--muted); }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--sea); text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: auto; flex: none; }
.brand span { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--muted); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: .95rem; }
.site-nav a:hover { text-decoration: underline; }
.lang { font-size: .9rem; }

.button {
  display: inline-block;
  background: var(--buoy);
  color: #0B2341;
  font-weight: 600;
  text-decoration: none;
  padding: .8rem 1.3rem;
  border-radius: 4px;
}
.button:hover { background: #178289; }
.button.small-btn { padding: .5rem .9rem; font-size: .9rem; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 3rem; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero figure { margin: 0; position: relative; }
.portrait img { border-radius: 2px; position: relative; z-index: 1; }
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 2px solid var(--marsh); border-radius: 2px;
}
.hero figcaption { margin-top: 1.8rem; font-size: .9rem; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.8rem; }

/* Sections */
section { padding: clamp(3rem, 6vw, 5rem) 0; scroll-margin-top: 6rem; }
section.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* The route: the one bold element */
.route { position: relative; list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: stop; }
.route::before {
  content: ""; position: absolute; top: 1.1rem; left: 1.1rem; right: calc((100% - 6rem) / 4 - 1.15rem);
  border-top: 3px dashed var(--marsh);
}
.route li { position: relative; counter-increment: stop; }
.route li::before {
  content: counter(stop);
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--buoy); color: #0B2341;
  font-weight: 700; margin-bottom: 1rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.route li:last-child::before { background: var(--sea); color: var(--fog); }
.route h3 { margin-bottom: .3rem; }
.route .meta { font-size: .9rem; color: var(--marsh); font-weight: 600; margin-bottom: .5rem; }
.route p { font-size: .98rem; }

/* Services: rows, not cards */
.service { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem 3rem; padding: 2.2rem 0; border-top: 1px solid var(--rule); }
.service:last-of-type { border-bottom: 1px solid var(--rule); }
.service ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.service li { margin-bottom: .3rem; max-width: 60ch; }
.service .form-note { font-size: .95rem; color: var(--muted); }
.independent { margin-top: 2.5rem; padding-left: 1.2rem; border-left: 4px solid var(--marsh); }

/* Sectors */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-top: 2rem; }

/* Pricing */
.price { font-family: var(--serif); font-size: 1.7rem; color: var(--sea); margin: .2rem 0 .8rem; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-top: 2rem; }
.subsidy { margin-top: 2.5rem; background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--buoy); padding: 1.4rem 1.6rem; border-radius: 4px; }

/* About */
.about { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--sea); }

/* Contact */
.contact { text-align: left; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-lines li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--sea); color: var(--fog); padding: 2.5rem 0; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #081626; } }
.site-footer a { color: var(--fog); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer p { margin: 0 0 .3rem; }

/* Legal page */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .about, .sectors, .pricing { grid-template-columns: 1fr; }
  .hero figure { max-width: 22rem; margin-right: 1.2rem; }
  .service { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 1.8rem; }
  .route::before { top: 1.1rem; bottom: 1.1rem; left: 1.1rem; right: auto; border-top: 0; border-left: 3px dashed var(--marsh); }
  .route li { padding-left: 3.5rem; }
  .route li::before { position: absolute; left: 0; top: 0; }
}

.also { margin-top: 2rem; }


/* Intake form */
.intake {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
  max-width: 44rem;
  margin: 2rem 0 0;
}
.intake .wide { grid-column: 1 / -1; }
.intake .field { display: flex; flex-direction: column; gap: .35rem; }
.intake label { font-size: .95rem; font-weight: 600; color: var(--sea); }
.intake .opt { font-weight: 400; color: var(--muted); }
.intake input,
.intake textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: .6rem .7rem;
  width: 100%;
}
.intake textarea { resize: vertical; min-height: 7rem; }
.intake input:focus-visible,
.intake textarea:focus-visible {
  outline: 3px solid var(--buoy);
  outline-offset: 1px;
  border-color: var(--marsh);
}
.intake button { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.intake .small { margin: 0; }
/* honeypot: hidden from people, visible to naive bots */
.intake .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  .intake { grid-template-columns: 1fr; }
}

/* Confirmation page */
.confirm { min-height: 50vh; }
.confirm .tick {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--buoy); color: #0B2341;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem;
}
