/* ==========================================================================
   Starbit — site styles
   ========================================================================== */

@font-face { font-family: "Suisse"; font-weight: 300; font-display: swap;
  src: url("suisse/SuisseIntl-Light-WebM.woff2") format("woff2"), url("suisse/SuisseIntl-Light-WebM.woff") format("woff"); }
@font-face { font-family: "Suisse"; font-weight: 400; font-display: swap;
  src: url("suisse/SuisseIntl-Book-WebM.woff2") format("woff2"), url("suisse/SuisseIntl-Book-WebM.woff") format("woff"); }
@font-face { font-family: "Suisse"; font-weight: 500; font-display: swap;
  src: url("suisse/SuisseIntl-Regular-WebM.woff2") format("woff2"), url("suisse/SuisseIntl-Regular-WebM.woff") format("woff"); }
@font-face { font-family: "Suisse"; font-weight: 600; font-display: swap;
  src: url("suisse/SuisseIntl-SemiBold-WebM.woff2") format("woff2"), url("suisse/SuisseIntl-SemiBold-WebM.woff") format("woff"); }
@font-face { font-family: "Suisse"; font-weight: 700; font-display: swap;
  src: url("suisse/SuisseIntl-Bold-WebM.woff2") format("woff2"), url("suisse/SuisseIntl-Bold-WebM.woff") format("woff"); }

:root {
  --ink: #0d1110;
  --ink-2: #2a302e;
  --muted: #5d6763;
  --line: #e2e7e4;
  --paper: #ffffff;
  --soft: #f3f6f4;
  --night: #0b0e0d;
  --night-2: #141a18;
  --night-line: rgba(255,255,255,.12);
  --green: #69d784;
  --green-ink: #23863f;      /* accessible green on white */
  --green-dark: #429a58;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(13,17,16,.04), 0 12px 32px -12px rgba(13,17,16,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font-family: "Suisse", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--green); }
.h-xl { font-size: clamp(40px, 7vw, 92px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.h-lg { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; }
.h-md { font-size: clamp(26px, 3vw, 38px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); font-weight: 300; max-width: 62ch; }
.on-dark .lead { color: rgba(255,255,255,.72); }
.accent { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: #82e199; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--green-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(11,14,13,.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--night-line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 400; text-decoration: none; color: rgba(255,255,255,.78);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--green);
}
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--night-line); border-radius: 999px; padding: 3px; }
.lang a {
  font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
  text-decoration: none; color: rgba(255,255,255,.65);
}
.lang a[aria-current="true"] { background: rgba(255,255,255,.14); color: #fff; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--night-line);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { gap: 12px; }
  .header-tools { margin-left: auto; }
  .header-tools .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 16px var(--gutter) 40px; background: var(--night); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 26px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--night-line); border-radius: 0; color: #fff; }
  .nav a[aria-current="page"] { color: var(--green); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-cta { display: flex; margin-top: 28px; border: 0; }
  .nav .nav-cta .btn { width: 100%; font-size: 17px; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end;
  color: #fff; background: var(--night); overflow: hidden; isolation: isolate;
}
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,14,13,.6) 0%, rgba(11,14,13,.25) 35%, rgba(11,14,13,.7) 72%, rgba(11,14,13,.96) 100%),
    linear-gradient(90deg, rgba(11,14,13,.8) 0%, rgba(11,14,13,.35) 55%, rgba(11,14,13,.1) 100%);
}
.hero .wrap { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { max-width: 13ch; }
.hero .lead { margin: 28px 0 36px; color: rgba(255,255,255,.8); max-width: 56ch; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--night-line);
}
.stat { padding: 22px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--night-line); }
.stat b { display: block; font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; font-size: 14px; color: rgba(255,255,255,.62); margin-top: 6px; line-height: 1.4; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--night-line); margin-top: 22px; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--night); isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(56px, 8vw, 100px);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,14,13,.92) 0%, rgba(11,14,13,.55) 60%, rgba(11,14,13,.35) 100%),
              linear-gradient(0deg, rgba(11,14,13,.6), rgba(11,14,13,0) 50%);
}
.page-hero.plain::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 80% at 85% 10%, rgba(105,215,132,.22), transparent 60%),
              radial-gradient(50% 60% at 0% 100%, rgba(105,215,132,.08), transparent 60%);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--night); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 720px; }
.section-head .lead { margin-top: 18px; margin-bottom: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--green); margin-bottom: 28px; }
.pillar .icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar .num { position: absolute; top: 30px; right: 32px; font-size: 14px; color: #a7b1ad; font-weight: 500; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.two { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-media.contain img { object-fit: contain; padding: 22px; mix-blend-mode: multiply; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.card-body h3 { font-size: 21px; letter-spacing: -0.015em; }
.card-body p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }
.card-body .link-arrow { margin-top: auto; padding-top: 10px; font-size: 15px; }
.card .tag { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.contain img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.split + .split { margin-top: clamp(72px, 10vw, 128px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* Prose */
.prose { color: var(--ink-2); }
.prose h2 { margin-bottom: 20px; }
.prose h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 12px; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul { list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 32px; color: var(--ink-2); line-height: 1.5; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(105,215,132,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2323863f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ---------- Products ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--muted); border: 1px solid transparent; transition: all .2s;
}
.subnav a:hover { color: var(--ink); background: var(--soft); }
.subnav a.is-active { color: var(--ink); background: var(--soft); border-color: var(--line); }

.product { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.product:last-of-type { border-bottom: 0; }
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.product-media { position: sticky; top: calc(var(--header-h) + 90px); border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); aspect-ratio: 1 / 1; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.product-media.cover img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.product .num { font-size: 14px; color: #9aa59f; font-weight: 500; margin-bottom: 16px; display: block; }
.product h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; margin-bottom: 14px; }
.product .tagline { font-size: 20px; color: var(--green-ink); font-weight: 500; margin-bottom: 28px; letter-spacing: -0.01em; }
.product .prose > p:first-of-type { font-size: 19px; color: var(--ink-2); font-weight: 300; line-height: 1.6; }
.product.flip .product-media { order: 2; }
@media (max-width: 900px) {
  .product-top { grid-template-columns: 1fr; }
  .product-media { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .product.flip .product-media { order: 0; }
}

.product-cta {
  margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); background: var(--soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.product-cta p { margin: 0; font-weight: 500; color: var(--ink); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--night-2); padding: 36px 32px 40px; transition: background-color .3s; }
.service:hover { background: #18201d; }
.service .icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; margin-bottom: 28px; }
.service .icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 22px; margin-bottom: 12px; }
.service p { color: rgba(255,255,255,.66); margin: 0; font-size: 16px; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { max-width: 1000px; }
.quote blockquote { margin: 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -0.025em; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; color: var(--green); font-size: 1.8em; line-height: .6; margin-bottom: 18px; }
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.on-dark .quote figcaption { color: rgba(255,255,255,.62); }
.on-dark .quote figcaption b { color: #fff; }
.quote-person { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.quote-person img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .quote-person { grid-template-columns: 1fr; } .quote-person img { aspect-ratio: 16 / 10; } }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.logos img { width: 100%; height: auto; mix-blend-mode: multiply; opacity: .9; }
.logos h2 { font-size: clamp(24px, 2.6vw, 34px); }
@media (max-width: 860px) { .logos { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-item { border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.news-item .card-media { aspect-ratio: 16 / 9; }
.news-item .card-media img { object-fit: cover; }
.news-item .card-body { padding: 28px 30px 30px; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #c2cac6; }
.news-item h3 { font-size: 24px; }
.news-item details { margin-top: 6px; }
.news-item summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink);
  margin-top: 4px;
}
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); font-size: 16px; line-height: 1; transition: transform .25s; }
.news-item details[open] summary::after { transform: rotate(45deg); }
.news-item details .prose { margin-top: 18px; font-size: 16px; }
.news-item .excerpt { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* ---------- Cases ---------- */
.case .card-media { aspect-ratio: 16 / 10; }
.case h3 { font-size: 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--night); color: #fff;
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0%, rgba(105,215,132,.35), transparent 60%);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.03em; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,.7); margin: 18px 0 0; max-width: 52ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.contact-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--green-ink); margin-bottom: 18px; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card address { font-style: normal; color: var(--muted); line-height: 1.6; }
.contact-card a.big { font-size: 19px; font-weight: 500; text-decoration: none; color: var(--ink); }
.contact-card a.big:hover { color: var(--green-ink); }
.contact-card .muted { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Portal (login) ---------- */
.portals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.portal {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 36px; min-height: 240px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.portal:hover, .portal:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); outline: none; }
.portal .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--green); margin-bottom: 18px; }
.portal .icon svg { width: 24px; height: 24px; }
.portal h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; word-break: break-word; }
.portal .go { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--green-ink); }
.portal .go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.portal:hover .go svg { transform: translateX(4px); }
@media (max-width: 760px) { .portals { grid-template-columns: 1fr; } .portal { min-height: 0; padding: 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.footer-brand img { height: 26px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 38ch; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.7); transition: color .2s; }
.site-footer a:hover { color: var(--green); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address + address { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

.statcounter { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.quote.long blockquote { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 400; }
.quote.long blockquote::before { font-size: 2.6em; }

/* Open mobile menu: drop the backdrop filter so the fixed menu panel is positioned against the viewport */
.site-header.is-open { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
