/* ==========================================================================
   Vivat Oy, 2026
   Concept: "Rakennuksen elinkaari". Daylight Nordic construction.
   Blue-only palette, hairline rules, square corners, editorial grid.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand blue sampled from logo-vivat-2026.png => #3E62AB */
  --blue:        #3E62AB;
  --blue-hover:  #34538F;
  --blue-700:    #2B4780;
  --blue-900:    #0F1D38;
  --blue-950:    #0A1428;
  --blue-300:    #8AA5D8;
  --blue-100:    #DCE4F5;

  --ink:         #0E1420;
  --ink-2:       #39414F;
  --muted:       #626C7E;
  --muted-dark:  #93A0B8;

  --paper:       #FFFFFF;
  --paper-2:     #F3F5FA;
  --paper-3:     #E9EDF6;

  --line:        #DCE1EC;
  --line-strong: #C3CBDC;
  --line-dark:   rgba(255, 255, 255, .14);

  --font-sans: "Archivo", ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .8s;

  --header-h: 76px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

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

/* ---------- 3. Typography ---------- */
.h-display,
h1.h-display {
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 800;
}

h1, .h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.032em;
  font-weight: 800;
}

h2, .h2 {
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 1.07;
  letter-spacing: -.028em;
  font-weight: 700;
}

h3, .h3 {
  font-size: clamp(1.24rem, 1.9vw, 1.55rem);
  line-height: 1.22;
  letter-spacing: -.018em;
  font-weight: 700;
}

h4, .h4 {
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -.012em;
  font-weight: 700;
}

/* Finnish compounds are long; never let them blow out a column */
h1, h2, h3, h4, .h-display { overflow-wrap: break-word; }

.lead {
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
}

.body-lg { font-size: 1.06rem; line-height: 1.68; color: var(--ink-2); }
.muted   { color: var(--muted); }

.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); line-height: 1.72; }

/* Mono kicker: the editorial signature */
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .kicker { color: var(--blue-300); }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: 1480px; }
.wrap--narrow { max-width: 860px; }

.section { padding-block: clamp(64px, 8.5vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--paper2 { background: var(--paper-2); }

/* Full-bleed deep blue band */
.band-dark {
  background: var(--blue-950);
  color: #EAEEF7;
  position: relative;
  overflow: hidden;
}
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .lead, .band-dark .prose p { color: #B7C2D8; }

/* Faint structural grid: reads as a plan drawing, not decoration */
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}
.band-dark > * { position: relative; z-index: 1; }

.rule { height: 1px; background: var(--line); border: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 4.6vw, 64px);
}
.section-head > :first-child > .kicker { margin-bottom: 18px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- 5. Header / navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 118px; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: .935rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--blue); font-weight: 600; }

.nav__link .caret {
  width: 9px; height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: .5;
  transition: transform .25s var(--ease);
}

/* Dropdown */
.has-sub { position: relative; }
.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 292px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  box-shadow: 0 18px 44px -18px rgba(14, 20, 32, .22);
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-sub:hover .nav__link .caret,
.has-sub:focus-within .nav__link .caret { transform: rotate(225deg) translate(-2px, -2px); }

.subnav a {
  display: block;
  padding: 11px 14px;
  font-size: .92rem;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.subnav a:hover { background: var(--paper-2); color: var(--ink); border-left-color: var(--blue); }

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }

.header__tel {
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .01em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s ease;
}
.header__tel:hover { color: var(--blue); }

/* Mobile toggle */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21.2px; }
.burger span:nth-child(3) { top: 26.4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav, .header__tel { display: none; }
  .burger { display: block; }
}

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 28px var(--gutter) 48px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-locked { overflow: hidden; }

.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.mobile-nav .sub a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: 18px;
}
.mobile-nav .mobile-foot { margin-top: 30px; display: grid; gap: 12px; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: .935rem;
  font-weight: 600;
  letter-spacing: -.005em;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--solid:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--blue-950); border-color: #fff; }
.btn--light:hover { background: var(--blue-100); border-color: var(--blue-100); }

.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--onDark:hover { border-color: #fff; background: rgba(255,255,255,.07); }

.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--sm { padding: 11px 19px; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Light-background variant of the verb stack */
.verbs--light .verb__word { color: var(--paper-3); }
.verbs--light .verb.is-active .verb__word { color: var(--ink); }
.verbs--light .verb__idx { color: var(--blue); }

/* Inline text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .22s ease, gap .22s var(--ease);
}
.tlink:hover { border-color: var(--blue); gap: 14px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--blue-950);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,20,40,.94) 0%, rgba(10,20,40,.80) 42%, rgba(10,20,40,.42) 72%, rgba(10,20,40,.30) 100%),
    linear-gradient(to top, rgba(10,20,40,.86) 0%, rgba(10,20,40,0) 46%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(84px, 13vw, 168px);
  max-width: 900px;
}
.hero .kicker { color: var(--blue-300); }
.hero__title { margin-top: 22px; color: #fff; }
.hero__lead {
  margin-top: 26px;
  max-width: 620px;
  color: #C3CDE2;
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}
.hero__actions { margin-top: 38px; }

/* Page hero (inner pages): shorter, image right */
.phero { position: relative; background: var(--blue-950); color: #fff; overflow: hidden; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.phero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,20,40,.95) 0%, rgba(10,20,40,.84) 50%, rgba(10,20,40,.55) 100%);
}
.phero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(62px, 8.6vw, 118px);
  max-width: 820px;
}
.phero h1 { margin-top: 20px; color: #fff; }
.phero__lead { margin-top: 22px; max-width: 640px; color: #C3CDE2; font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.6; }

/* Breadcrumb */
.crumb {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.crumb a:hover { color: #fff; }
.crumb span { opacity: .45; }

/* ---------- 8. Verb stack: the brand's own tagline as a typographic device ---------- */
.verbs { display: grid; gap: 2px; }
.verb {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.2vw, 28px);
  padding-block: 6px;
}
.verb__idx {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--blue-300);
  flex: none;
  transform: translateY(-.35em);
}
.verb__word {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: rgba(255,255,255,.34);
  transition: color .55s var(--ease);
}
.verb.is-active .verb__word { color: #fff; }

/* ---------- 9. Lifecycle spine: signature moment ---------- */
.spine { display: grid; gap: 0; }

.spine__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(20px, 3.4vw, 56px);
  align-items: start;
  padding-block: clamp(34px, 4.4vw, 58px);
  border-top: 1px solid var(--line);
  position: relative;
}
.spine__row:last-child { border-bottom: 1px solid var(--line); }

/* Node only. No vertical connecting line: at 92px the column is too narrow
   to keep a rule clear of the label, and it struck through the text. */
.spine__mark { position: relative; flex: none; }

.spine__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  margin-top: 7px;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.spine__no {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
  transition: color .3s ease;
}
/* number over verb, so the 92px column never has to wrap mid-label */
.spine__no .n { display: block; color: var(--blue); transition: color .3s ease; }
.spine__no .v { display: block; text-transform: uppercase; }

.spine__row:hover .spine__dot { background: var(--blue); border-color: var(--blue); transform: scale(1.18); }
.spine__row:hover .spine__no { color: var(--blue); }

.spine__title { transition: color .25s ease; }
.spine__row:hover .spine__title { color: var(--blue); }
.spine__body { margin-top: 14px; color: var(--ink-2); line-height: 1.68; }
.spine__link { margin-top: 20px; display: inline-flex; }

.spine__aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.2vw, 32px);
}
.spine__aside li {
  font-size: .93rem;
  color: var(--muted);
  padding-block: 7px;
  border-bottom: 1px dashed var(--line);
}
.spine__aside li:last-child { border-bottom: 0; }

/* Two-column variant: company story timeline */
.spine--story .spine__row { grid-template-columns: 132px minmax(0, 1fr); }
.spine--story .spine__era {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 12px;
}

/* Below 940px the label column can't hold long Finnish labels
   ("01 / RAKENNAMME", "Tulevaisuus"). Stack the marker above the content. */
@media (max-width: 940px) {
  .spine__row,
  .spine--story .spine__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .spine__mark {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
  }
  .spine__dot { margin-top: 0; flex: none; }
  .spine__no,
  .spine--story .spine__era { margin-top: 0; white-space: nowrap; }
  /* one row instead of stacked once there is width to spare */
  .spine__no { display: flex; gap: 9px; }
  .spine__no .n, .spine__no .v { display: inline; }
  .spine__aside { border-left: 0; padding-left: 0; margin-top: 22px; }
}

/* ---------- 10. Cards / tiles ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* Photo service tile */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s ease, transform .4s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.045); }
.tile__no {
  position: absolute;
  top: 0; left: 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  padding: 7px 12px;
}
.tile__body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.tile__body p { margin-top: 12px; color: var(--ink-2); font-size: .96rem; line-height: 1.62; flex: 1; }
.tile__body .tlink { margin-top: 22px; align-self: flex-start; }

/* Plain bordered card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 2.8vw, 34px);
  position: relative;
  transition: border-color .3s ease;
}
.card:hover { border-color: var(--line-strong); }
.card__no {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}
.card h3 + p { margin-top: 12px; }
.card p { color: var(--ink-2); font-size: .96rem; line-height: 1.65; }

.card--dark {
  background: rgba(255,255,255,.035);
  border-color: var(--line-dark);
}
.card--dark:hover { border-color: rgba(255,255,255,.3); }
.card--dark p { color: #A9B6CE; }
.card--dark .card__no { color: var(--blue-300); }

/* Top-rule card that fills on hover */
.card--rule::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 46px; height: 3px;
  background: var(--blue);
  transition: width .45s var(--ease);
}
.card--rule:hover::before { width: calc(100% + 2px); }

/* ---------- 11. Feature rows (alternating text / image) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 7vw, 104px); }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature--flip .feature__text { order: 2; }
.feature--flip .feature__media { order: 1; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__text, .feature--flip .feature__media { order: 0; }
}

/* Thin frame around photography */
.framed { border: 1px solid var(--line); padding: 10px; background: var(--paper); }
.band-dark .framed { border-color: var(--line-dark); background: transparent; }

/* Caption plate on photos */
.plate {
  position: absolute;
  left: 10px; bottom: 10px;
  background: rgba(10,20,40,.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 13px;
  border-left: 2px solid var(--blue-300);
}

/* ---------- 12. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stats--dark { border-color: var(--line-dark); }
.stat { padding: clamp(26px, 3.2vw, 40px) clamp(18px, 2.4vw, 34px) 0 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 34px); }
.stats--dark .stat + .stat { border-color: var(--line-dark); }
.stat__fig {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--blue);
}
.stats--dark .stat__fig { color: #fff; }
.stat__label {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
.stats--dark .stat__label { color: #93A0B8; }
@media (max-width: 700px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stats--dark .stat + .stat { border-color: var(--line-dark); }
  .stat { padding-right: 0; }
}

/* ---------- 13. Checklists / inspection lists ---------- */
.checks { display: grid; gap: 0; }
.check {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}
.checks .check:first-child { border-top: 1px solid var(--line); }
.check__i {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--blue);
  padding-top: 4px;
  letter-spacing: .06em;
}
.check__t { font-weight: 600; font-size: 1rem; letter-spacing: -.012em; }
.check__d { color: var(--muted); font-size: .93rem; margin-top: 4px; line-height: 1.55; }
.band-dark .check { border-color: var(--line-dark); }
.band-dark .checks .check:first-child { border-top-color: var(--line-dark); }
.band-dark .check__i { color: var(--blue-300); }
.band-dark .check__d { color: #93A0B8; }

/* Simple bullet list with blue tick */
.ticks { display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 11px; height: 6px;
  border-left: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(-45deg);
}
.band-dark .ticks li { color: #B7C2D8; }
.band-dark .ticks li::before { border-color: var(--blue-300); }

/* Pill tags (service sub-types) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .875rem;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink-2);
  background: var(--paper);
  transition: border-color .2s ease, color .2s ease;
}
.tag:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 14. Contact / team ---------- */
.person {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: baseline;
}
.person__name { font-weight: 700; font-size: 1.06rem; letter-spacing: -.015em; }
.person__role { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.person__meta { display: grid; gap: 4px; justify-items: end; text-align: right; }
.person__meta a {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--ink-2);
  transition: color .2s ease;
}
.person__meta a:hover { color: var(--blue); }
@media (max-width: 620px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person__meta { justify-items: start; text-align: left; }
}

/* Key/value detail list: company + invoicing data */
.dl { display: grid; }
.dl__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 6px 24px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.dl__row:first-child { border-top: 1px solid var(--line); }
.dl__k {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.dl__v { font-size: .98rem; line-height: 1.55; }
.dl__v a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s ease, color .2s ease; }
.dl__v a:hover { color: var(--blue); border-color: var(--blue); }
.band-dark .dl__row { border-color: var(--line-dark); }
.band-dark .dl__row:first-child { border-top-color: var(--line-dark); }
.band-dark .dl__k { color: var(--muted-dark); }
@media (max-width: 620px) { .dl__row { grid-template-columns: minmax(0, 1fr); } }

/* Contact group heading */
.group-title {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  margin-bottom: 4px;
}

/* Form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 8px; }
.field > span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: #fff;
  font-size: .97rem;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #6C7A93; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(255,255,255,.09);
}
.field textarea { resize: vertical; min-height: 132px; }

.form__note { font-size: .84rem; color: #8593AC; line-height: 1.55; }
.form__note a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }

/* Big contact CTA block */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }

.tel-big {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  letter-spacing: -.02em;
  color: #fff;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-dark);
  transition: color .2s ease, padding-left .25s var(--ease);
}
.tel-big:hover { color: var(--blue-300); padding-left: 8px; }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--blue-950);
  color: #93A0B8;
  padding-block: clamp(48px, 6vw, 76px) 30px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4.4vw, 56px);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

.footer__logo { width: 116px; filter: brightness(0) invert(1); opacity: .95; }
.footer__blurb { margin-top: 20px; font-size: .93rem; line-height: 1.65; max-width: 330px; color: #8593AC; }

.footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer li { margin-bottom: 11px; }
.footer a { font-size: .93rem; color: #93A0B8; transition: color .2s ease; }
.footer a:hover { color: #fff; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
}
.footer__bar .mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }

.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  transition: border-color .2s ease, background .2s ease;
}
.social a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 16. Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.hero [data-hero] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.hero.is-ready [data-hero] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .hero [data-hero] { opacity: 1; transform: none; }
}

/* ---------- 17. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 38px; }
.mt-xl { margin-top: clamp(38px, 4.6vw, 64px); }
.maxw-60 { max-width: 60ch; }
.maxw-70 { max-width: 70ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 8px; top: 8px; }
