/* ============================================================
   THE D&A MIND — site styles
   Brand accent is driven by --brand (logo green #00BF63).
   To return to the previous gold identity, change the --brand
   values below to #835500 / #6b4500 / #c58b35 / #fdf3e3.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --brand:        #00bf63;
  --brand-strong: #00994f;
  --brand-soft:   #e8faf1;
  --brand-ink:    #00351d;

  --ink:   #0b100e;
  --ink-2: #121a16;

  --paper:     #ffffff;
  --surface:   #f6f8f7;
  --surface-2: #eef2f0;

  --text:   #0b100e;
  --text-2: #4c5a54;
  --text-3: #77857e;

  --line:        rgba(11, 16, 14, .10);
  --line-strong: rgba(11, 16, 14, .18);

  --on-brand: #ffffff;

  --shadow-sm: 0 1px 2px rgba(11,16,14,.05), 0 2px 8px rgba(11,16,14,.04);
  --shadow-md: 0 4px 12px rgba(11,16,14,.06), 0 12px 32px rgba(11,16,14,.07);
  --shadow-lg: 0 8px 24px rgba(11,16,14,.08), 0 28px 64px rgba(11,16,14,.10);

  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 14px;
  --radius-lg: 22px;

  --nav-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light;
}

[data-theme="dark"] {
  --brand-strong: #26d17d;
  --brand-soft: #0d2a1c;
  --brand-ink:  #8ff0bd;

  --paper:     #0b100e;
  --surface:   #101613;
  --surface-2: #161f1a;

  --text:   #e9f0ec;
  --text-2: #a3b3ab;
  --text-3: #7d8d86;

  --line:        rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.4), 0 28px 64px rgba(0,0,0,.45);

  color-scheme: dark;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

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

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

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--brand); color: #fff;
  padding: .75rem 1.5rem; border-radius: 0 0 10px 10px;
  font-weight: 600; font-size: .875rem;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--surface { background: var(--surface); }
.section--ink {
  background: var(--ink);
  color: #e9f0ec;
  --text: #e9f0ec;
  --text-2: #9fb0a8;
  --text-3: #7d8d86;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
}

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 1.25rem;
}
.section--ink .eyebrow { color: var(--brand); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: currentColor; opacity: .55;
}

.section-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.section-lead {
  color: var(--text-2);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 56ch;
  margin-top: 1.25rem;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .section-head--split .section-lead { margin-top: 0; justify-self: end; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .9375rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary {
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 4px 14px rgba(0, 191, 99, .28);
}
.btn--primary:hover { background: #00a455; box-shadow: 0 8px 24px rgba(0, 191, 99, .34); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }

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

/* ---------- 6. Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}

.header.is-stuck {
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(11,16,14,.05);
  color: var(--text);
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 26px; width: auto; }
.brand .logo-dark { display: none; }
.header.is-stuck .logo-light { display: none; }
.header.is-stuck .logo-dark { display: block; }
[data-theme="dark"] .header.is-stuck .logo-light { display: block; }
[data-theme="dark"] .header.is-stuck .logo-dark { display: none; }

.nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 940px) { .nav { display: flex; } }

.nav a {
  position: relative;
  font-size: .9375rem; font-weight: 500;
  color: currentColor; opacity: .78;
  transition: opacity .2s var(--ease), color .2s var(--ease);
  padding-block: .35rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { opacity: 1; color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: .65rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  color: currentColor;
  opacity: .6;
  transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.header .btn--primary { display: none; }
@media (min-width: 940px) { .header .btn--primary { display: inline-flex; } }
.nav-toggle { display: grid; }
@media (min-width: 940px) { .nav-toggle { display: none; } }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem;
  display: grid; gap: .25rem;
  box-shadow: var(--shadow-lg);
  animation: drawer .28s var(--ease);
}
@keyframes drawer { from { opacity: 0; transform: translateY(-10px); } }
.mobile-nav a {
  padding: .9rem .25rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav a.btn { border-bottom: 0; margin-top: 1rem; color: var(--on-brand); }
/* the drawer is a small-screen affordance only */
@media (min-width: 940px) { .mobile-nav { display: none !important; } }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  background: var(--ink);
  color: #eef4f1;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 12% 105%, rgba(0,191,99,.20), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(0,191,99,.09), transparent 60%),
    linear-gradient(180deg, rgba(11,16,14,.70) 0%, rgba(11,16,14,.40) 45%, rgba(11,16,14,.92) 100%);
}

.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.35fr .65fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem .45rem .7rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: .8125rem; font-weight: 500;
  color: #d9e5df;
  margin-bottom: 1.75rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); flex: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,191,99,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(0,191,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,191,99,0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.1rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: #b9c8c1;
  max-width: 54ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

.hero__stats {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
/* side by side once there is room for the longest label */
@media (min-width: 600px) { .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
@media (min-width: 1000px) {
  .hero__stats { grid-template-columns: 1fr; gap: 2rem; border-top: 0; padding-top: 0; margin-top: 0; }
  .hero__stats li { border-left: 2px solid rgba(0,191,99,.4); padding-left: 1.25rem; }
}
.hero__stats .n {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -.04em; color: #fff;
  line-height: 1.1;
}
.hero__stats .l {
  display: block; margin-top: .3rem;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8fa39a;
}

.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
@media (min-width: 1000px) and (min-height: 760px) { .scroll-hint { display: flex; } }
.scroll-hint::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(rgba(255,255,255,.5), transparent);
}

/* ---------- 8. Logo strip ---------- */
.strip { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.strip__label {
  text-align: center; font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1.75rem;
}
.marquee {
  position: relative;
  /* the mask only fades the edges — overflow:hidden is what stops the
     max-content track from widening the page on small screens */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 1rem;
  width: max-content;
  animation: marquee 62s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-plate {
  display: grid; place-items: center;
  height: 62px; min-width: 132px;
  padding: 0 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.logo-plate img {
  height: 24px; width: auto; max-width: 118px; object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-plate:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.logo-plate:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- 9. About ---------- */
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 980px) { .about__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }

.portrait { position: relative; isolation: isolate; }
.portrait__img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.portrait::before {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 62%; height: 62%;
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.quote-card {
  position: absolute; left: -14px; bottom: 28px;
  max-width: 245px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-md);
  font-size: .9rem; line-height: 1.5;
  color: var(--text-2); font-style: italic;
}
@media (max-width: 620px) { .quote-card { position: static; max-width: none; margin-top: 1.25rem; } }

.prose p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 1.15rem; max-width: 62ch; }
.prose p strong { color: var(--text); font-weight: 600; }

.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-block: 2.5rem;
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}
.stat-row .n {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.04em;
  color: var(--brand-strong); line-height: 1.1;
}
.stat-row .l {
  display: block; margin-top: .35rem;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3);
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: .8125rem; font-weight: 500; color: var(--text-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.tag:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }

.tag-group + .tag-group { margin-top: 1.5rem; }
.tag-group h3 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: .75rem;
}

/* ---------- 10. Capability cards ---------- */
/* four capabilities read best as a balanced 2x2 rather than 3 + 1 */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.card p { color: var(--text-2); font-size: .95rem; margin-bottom: 1.25rem; }

.card ul { display: grid; gap: .55rem; }
.card li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: var(--text-2);
}
.card li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: .55rem;
  border-radius: 50%; background: var(--brand);
}

/* ---------- 11. Process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  padding: 2rem 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand);
  opacity: .6;
  display: block; margin-bottom: .75rem; line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--text-2); }

/* ---------- 12. Timeline ---------- */
.timeline { position: relative; padding-left: 68px; max-width: 880px; }
@media (max-width: 640px) { .timeline { padding-left: 54px; } }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--brand), var(--line) 55%);
}
@media (max-width: 640px) { .timeline::before { left: 20px; } }

.tl-item { position: relative; padding-bottom: 2.75rem; }
.tl-item:last-child { padding-bottom: 0; }

.tl-ico {
  position: absolute; left: -68px; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (max-width: 640px) { .tl-ico { left: -54px; width: 42px; height: 42px; } }
.tl-item:hover .tl-ico { transform: scale(1.06); box-shadow: var(--shadow-md); }
/* wider box than tall so wordmark logos (Van Oord, KPN, FibrXL) stay legible;
   square marks are still capped by the height */
.tl-ico img { width: 40px; height: 34px; object-fit: contain; }
@media (max-width: 640px) { .tl-ico img { width: 30px; height: 26px; } }
.tl-ico svg { width: 22px; height: 22px; color: #00994f; }

.tl-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  margin-bottom: .4rem;
}
.tl-date {
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
}
.badge {
  font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.tl-item h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.tl-company { font-size: .95rem; font-weight: 600; color: var(--brand-strong); margin-bottom: .6rem; }
.tl-item p { font-size: .925rem; color: var(--text-2); max-width: 68ch; }
.tl-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.tl-tags span {
  font-size: .72rem; color: var(--text-3);
  border: 1px solid var(--line); border-radius: 6px;
  padding: .18rem .5rem;
}

/* ---------- 13. Credentials ---------- */
.creds { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .creds { grid-template-columns: 1fr 1fr; } }

.cert-list { display: grid; gap: .65rem; }
.cert {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.15rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper);
  font-size: .925rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.cert:hover { border-color: var(--brand); transform: translateX(3px); }
.cert svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.cert--planned { opacity: .75; border-style: dashed; }
.cert--planned svg { color: var(--text-3); }
.cert strong { font-weight: 600; }
.cert span { color: var(--text-3); }

.subhead {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 1rem;
}

/* ---------- 14. Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 15% 100%, rgba(0,191,99,.18), transparent 60%),
    radial-gradient(60% 80% at 95% 0%, rgba(0,191,99,.08), transparent 60%);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 940px) { .contact__grid { grid-template-columns: 1.05fr .95fr; } }
.contact h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.contact p { color: #a9bab2; font-size: 1.0625rem; margin-top: 1.25rem; max-width: 52ch; }

.contact-list { display: grid; gap: .75rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-item:hover {
  background: rgba(0,191,99,.1); border-color: var(--brand); transform: translateY(-2px);
}
.contact-item__ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0,191,99,.14); color: var(--brand);
}
.contact-item__ico svg { width: 19px; height: 19px; }
.contact-item .k {
  display: block; font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: #7f9189;
}
.contact-item .v { display: block; color: #fff; font-weight: 500; font-size: .975rem; word-break: break-word; }
.contact-item .arrow { margin-left: auto; flex: none; color: #7f9189; transition: transform .25s var(--ease), color .25s var(--ease); }
.contact-item:hover .arrow { color: var(--brand); transform: translateX(3px); }

.copy-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 600;
  color: #7f9189; padding: .4rem .7rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.copy-btn:hover { color: var(--brand); border-color: var(--brand); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-done { color: var(--brand); border-color: var(--brand); }

/* ---------- 15. Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer__top {
  display: grid; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; } }
.footer__brand img { height: 24px; width: auto; margin-bottom: 1rem; }
.footer__brand .logo-dark { display: none; }
[data-theme="dark"] .footer__brand .logo-light { display: none; }
[data-theme="dark"] .footer__brand .logo-dark { display: block; }
.footer__brand p { color: var(--text-2); font-size: .925rem; max-width: 42ch; }
.footer h4 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem;
}
.footer ul { display: grid; gap: .6rem; }
.footer ul a { font-size: .925rem; color: var(--text-2); transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--brand-strong); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 1.75rem;
  font-size: .8125rem; color: var(--text-3);
}

/* ---------- 16. Back to top ---------- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 20px rgba(0,191,99,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #00a455; transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 17. Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}

/* ---------- 18. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-nav, .to-top, .scroll-hint, #hero-canvas, .strip, .hero__cta, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding-block: 1.25rem; min-height: 0; background: #fff !important; color: #000 !important; }
  .hero::after, .contact::before { display: none; }
  .hero h1, .contact h2, .hero__stats .n { color: #000 !important; }
  .card, .step, .cert, .contact-item, .tl-item { break-inside: avoid; border-color: #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}
