/* Filtration — clean tech: soft blue / white */
:root {
  --bg: #f4f9fc;
  --surface: #ffffff;
  --ink: #0c2740;
  --muted: #4a667a;
  --blue: #2b8fd9;
  --blue-soft: #7ec8f0;
  --blue-deep: #1565a8;
  --accent: #2b8fd9;
  --border: #d7e8f3;
  --photo-a: #2b8fd9;
  --photo-b: #7ec8f0;
  --photo-c: #1565a8;
  --photo-d: #a8d8f0;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--blue-deep); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 249, 252, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; gap: 1rem; position: relative; }
.logo { font-weight: 800; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue-deep); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 0.45rem 0.9rem; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 0.35rem 0.6rem; font-size: 1.1rem; cursor: pointer; }
.hero { padding: 3.5rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.subhead { color: var(--muted); font-size: 1rem; margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 0.75rem; letter-spacing: -0.03em; }
.hero-lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.5rem; max-width: 32rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; padding: 0.75rem 1.25rem;
  border-radius: 999px; background: var(--blue); color: #fff;
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--blue-deep); border: 2px solid var(--blue); margin-left: 0.5rem; }
.photo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 16px; color: #fff; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  min-height: 220px; padding: 1.5rem; text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.photo-lg { min-height: 320px; }
.section { padding: 3rem 0; }
.section h2 { font-size: 1.75rem; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.section-intro { color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.card .body { padding: 1rem 1.15rem 1.25rem; }
.card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cta-band {
  margin: 1rem 0 3rem; padding: 2.25rem; border-radius: 18px;
  background: linear-gradient(120deg, #e3f2fb, #f0f9ff);
  text-align: center;
}
.cta-band h2 { margin: 0 0 0.5rem; }
.cta-band p { margin: 0 0 1.25rem; color: var(--muted); }
.footer {
  background: #0c2740; color: #a8d8f0; padding: 2rem 0; font-size: 0.9rem;
}
.footer strong { color: #fff; }
.footer a { color: #7ec8f0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--ink); font-weight: 700;
}
.page-header {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em; line-height: 1.2;
}
.page-header .lede {
  margin: 0; max-width: 36rem; color: var(--muted); font-size: 1.05rem;
}
.stub { color: var(--muted); font-size: 0.95rem; }
.stub::before {
  content: "STUB: "; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.04em; opacity: 0.7;
}
.teaser-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.teaser-links a {
  display: block; text-decoration: none; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.15rem; color: inherit; font-weight: 600;
}
.teaser-links a:hover { border-color: currentColor; }
.teaser-links a span {
  display: block; font-weight: 400; color: var(--muted);
  font-size: 0.9rem; margin-top: 0.25rem;
}
.contact-form {
  max-width: 32rem; display: grid; gap: 0.85rem; margin-top: 1.25rem;
}
.contact-form label {
  display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit; padding: 0.65rem 0.75rem;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: inherit;
}
.contact-form textarea { min-height: 7rem; resize: vertical; }
.contact-form .btn[disabled],
.contact-form button[disabled] { opacity: 0.65; cursor: not-allowed; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: #fff; padding: 1rem;
    border-bottom: 1px solid var(--border); align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .btn-ghost { margin-left: 0; margin-top: 0.5rem; display: inline-block; }
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------- polish ---------
   The site's own colours, given the craft of a finished page: photographs in
   the blocks that held placeholders, a hero that breathes, cards that are quiet,
   and the quote form styled like part of the page rather than a bolt-on.
   ------------------------------------------------------------------------- */
.photo { padding: 0; overflow: hidden; position: relative; background: var(--border, #e6e6e6); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure.photo { margin: 0; }
.card .photo { min-height: 200px; } .card .photo img { height: 200px; }
.photo-lg { min-height: 340px; } .photo-lg img { height: 340px; }
.hero { padding-top: 3rem; padding-bottom: 2.5rem; }
h1 { letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.section h2 { letter-spacing: -0.025em; text-wrap: balance; }
.section-intro { max-width: 36rem; }
.card { overflow: hidden; }
.quote { border-top: 1px solid var(--border, #e6e6e6); }
.quote-form { max-width: 44rem; }
.quote-form .q { border: 0; margin: 0 0 1.25rem; padding: 0; }
.quote-form legend { font-weight: 600; font-size: 1rem; margin-bottom: .5rem; padding: 0; }
.quote-form .opt { display: inline-flex; align-items: center; gap: .5rem; margin: 0 .7rem .5rem 0;
  padding: .5rem .9rem; border: 1px solid var(--border, #ddd); border-radius: 999px; cursor: pointer;
  font: 400 .95rem/1.2 system-ui, sans-serif; background: var(--surface, #fff); }
.quote-form .opt:has(input:checked) { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.quote-form .hint { margin: .35rem 0 0; font: 400 .9rem/1.45 system-ui, sans-serif; color: var(--muted, #666); max-width: 34rem; }
.quote-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.4rem 0 .9rem; }
.quote-form label { display: block; font: 600 .9rem/1.3 system-ui, sans-serif; }
.quote-form .opt { font-weight: 400; }
.quote-form input[type=text], .quote-form input[type=email], .quote-form input[type=tel], .quote-form textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .65rem .8rem; font: inherit;
  border: 1px solid var(--border, #ddd); border-radius: 10px; background: var(--surface, #fff); color: inherit; }
.quote-form .wide { display: block; margin-bottom: 1.1rem; }
.quote-form .legal { margin: .9rem 0 0; font: 400 .85rem/1.5 system-ui, sans-serif; color: var(--muted, #666); }
.quote-form .form-status { min-height: 1.4em; margin: .7rem 0 0; font-family: system-ui, sans-serif; }
@media (max-width: 700px) { .quote-form .fields { grid-template-columns: 1fr; } }


/* ------------------------------------------------------------- the journey --
   One scene at a time, driven by the scroll and nothing else. The picture is
   fixed and swapped; the page that scrolls is the captions. Under reduced
   motion the whole thing becomes a plain stack, which still tells the story.
   ------------------------------------------------------------------------- */
body.jn { margin: 0; background: #060c10; color: #f3f7f9; }
.jn-stage { position: fixed; inset: 0; z-index: 0; }
.jn-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.jn-stage figure.on { opacity: 1; }
.jn-stage img { width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.08) translateY(var(--drift, 0px)); transition: transform .3s linear; }
.jn-stage:after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,16,.72) 0%, rgba(6,12,16,.28) 30%, rgba(6,12,16,.78) 100%); }
.jn-scroll { position: relative; z-index: 2; }
.jn-scene { min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 0 clamp(1.25rem, 6vw, 6rem); }
.jn-card { max-width: 34rem; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.jn-scene.on .jn-card { opacity: 1; transform: none; }
.jn-card .step { font: 700 .7rem/1.4 ui-monospace, Menlo, monospace; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent, #7ec8f0); margin: 0 0 .8rem; }
.jn-card h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .8rem;
  text-wrap: balance; color: #fff; }
.jn-card p { font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.55; margin: 0; color: rgba(243,247,249,.86); }
.jn-rail { position: fixed; right: clamp(1rem, 3vw, 2.4rem); top: 50%; transform: translateY(-50%); z-index: 6;
  display: grid; gap: .55rem; }
.jn-rail i { display: block; width: 2px; height: 26px; background: rgba(255,255,255,.26); }
.jn-rail i.on { background: var(--accent, #7ec8f0); }
.jn-end { position: relative; z-index: 2; background: var(--bg, #fff); color: var(--ink, #111); padding: clamp(3rem,9vh,6rem) 0; }
.jn-end .wrap { max-width: 44rem; }
@media (prefers-reduced-motion: reduce) {
  .jn-stage { position: static; }
  .jn-stage figure { position: static; opacity: 1; height: 56vh; }
  .jn-stage img { transform: none; }
  .jn-stage:after { display: none; }
  .jn-scene { min-height: 0; padding: 2rem clamp(1.25rem,6vw,6rem); }
  .jn-card { opacity: 1; transform: none; }
}
