/* ==========================================================
   Thermoka Green Energy (Pty) Ltd — site styles
   Editorial look: mint paper, big light headlines,
   letter-spaced labels, soft cards, timeline.
   ========================================================== */

/* Fonts bundled with the site (SIL Open Font License) */
@font-face { font-family: "Arimo"; src: url("../fonts/arimo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Arimo"; src: url("../fonts/arimo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f5faf6;
  --surface: #ffffff;
  --surface-2: #f3f8f4;
  --ink: #0b1f15;
  --ink-2: #1f3328;
  --muted: #5a6b61;
  --faint: #c7d3cb;
  --line: #dde8e0;

  --green: #1e9a52;        /* text-safe on light */
  --green-bright: #2ed573; /* on dark */
  --green-soft: #e6f5ec;
  --amber: #9a5a00;
  --amber-bright: #f2a93b;
  --amber-soft: #fbf1e1;
  --blue: #0a69ad;
  --blue-bright: #62b8f2;
  --blue-soft: #e4f1fb;

  --hero-1: #0f2419;
  --hero-2: #1b4630;

  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 21, .04), 0 12px 32px -12px rgba(11, 31, 21, .12);
  --shadow-lift: 0 2px 4px rgba(11, 31, 21, .05), 0 24px 48px -16px rgba(30, 154, 82, .22);

  --font-display: "Arimo", "Helvetica Neue", Arial, sans-serif;
  --font-clock: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ---------- Labels ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.label::before { content: ""; width: 40px; height: 1.5px; background: var(--green); flex: none; }
.label.on-dark { color: rgba(255,255,255,.62); }
.label.on-dark::before { background: var(--amber-bright); }

.accent-green { color: var(--green); }
.accent-amber { color: var(--amber); }
.accent-blue { color: var(--blue); }
.dot { color: var(--amber-bright); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(245, 250, 246, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 50px; height: 50px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.brand-mark img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.9rem; letter-spacing: .18em;
}
.brand-text small {
  font-size: .62rem; font-weight: 600; letter-spacing: .3em; margin-top: 7px; opacity: .65;
}

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav a {
  text-decoration: none; font-size: .8rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  opacity: .82; transition: opacity .2s, color .2s;
  position: relative; padding: 6px 0;
}
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.nav a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: .24em; bottom: -2px; height: 1.5px; background: var(--green-bright);
}
.site-header.scrolled .nav a[aria-current]::after { background: var(--green); }
.nav .nav-cta {
  border: 1.5px solid currentColor; border-radius: 999px; padding: 10px 20px; opacity: 1;
}
.nav .nav-cta:hover { background: var(--green); border-color: var(--green); color: #fff; }
.nav .nav-cta[aria-current]::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #17864a; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 110px;
  background:
    radial-gradient(1100px 700px at 85% 100%, rgba(46, 213, 115, .18), transparent 60%),
    radial-gradient(900px 600px at 0% 0%, rgba(242, 169, 59, .08), transparent 60%),
    linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 100%);
  color: #fff;
}
.hero::before {
  /* fine engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .container { position: relative; }
.hero h1 {
  color: #fff;
  font-size: clamp(4rem, 10.5vw, 9.5rem);
  line-height: .9; letter-spacing: 0.005em;
  max-width: 11ch;
}
.hero h1 .accent { color: var(--green-bright); }
.hero-lead {
  max-width: 44rem; margin-top: 2rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.65;
  color: rgba(255,255,255,.74);
}
.hero-page { min-height: 72vh; padding: 150px 0 90px; }
.hero-page h1 { font-size: clamp(3.4rem, 7.4vw, 7rem); max-width: none; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 9px 18px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88);
}
.chips svg { width: 16px; height: 16px; color: var(--green-bright); }

.status-line {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin-top: 2.6rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}
.status-line b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright);
  display: inline-block; margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(46,213,115,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,213,115,.55); }
  70% { box-shadow: 0 0 0 10px rgba(46,213,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,213,115,0); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue svg { width: 20px; height: 20px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-white { background: var(--surface); }
.section-head { max-width: 60rem; margin-bottom: clamp(48px, 6vw, 72px); }
.display {
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .95; letter-spacing: 0.01em;
}
.section-intro { font-size: 1.15rem; color: var(--muted); max-width: 44rem; margin-top: 1.6rem; }

/* ---------- Card grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #c6e6d3; }
.card h3 { font-size: 2.2rem; margin: 1.6rem 0 1rem; letter-spacing: .02em; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }
.card-num {
  position: absolute; top: 2.2rem; right: 2.2rem;
  font-family: var(--font-display); font-size: 2.8rem; color: var(--faint); line-height: 1;
}
.icon-tile {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
  border: 1px solid #cfe9da;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.amber { background: var(--amber-soft); color: var(--amber); border-color: #f0dcb9; }
.icon-tile.blue { background: var(--blue-soft); color: var(--blue); border-color: #c9e2f5; }

/* Linked overview cards */
a.card { text-decoration: none; display: flex; flex-direction: column; }
a.card .more {
  margin-top: auto; padding-top: 1.8rem;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--green);
}
a.card .more svg { width: 18px; height: 18px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }
a.card.amber .more { color: var(--amber); }
a.card.blue .more { color: var(--blue); }

/* ---------- Status pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 6px 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  background: var(--green-soft); color: var(--green); border: 1px solid #bfe3cd;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.amber { background: var(--amber-soft); color: var(--amber); border-color: #eed6ad; }
.pill.blue { background: var(--blue-soft); color: var(--blue); border-color: #c3def3; }

/* ---------- Innovation detail ---------- */
.innovation {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow);
  padding: clamp(28px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px);
  scroll-margin-top: 110px;
}
.innovation + .innovation { margin-top: 32px; }
.innovation::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--green); }
.innovation.amber::before { background: var(--amber-bright); }
.innovation.blue::before { background: linear-gradient(90deg, var(--blue), var(--green-bright)); }
.innovation-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.innovation-top .n { font-family: var(--font-display); font-size: 2.6rem; color: var(--faint); line-height: 1; }
.innovation h2 { font-size: clamp(2.6rem, 4.6vw, 4rem); margin: 1.4rem 0 1.4rem; line-height: .95; }
.innovation .sub { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: -0.6rem 0 1.4rem; }
.innovation p { color: var(--muted); font-size: 1.05rem; }
.innovation .note {
  margin-top: 1.4rem; padding: 14px 18px; border-radius: 14px;
  background: var(--surface-2); border: 1px dashed var(--faint);
  font-size: .92rem; color: var(--muted);
}

.specs {
  align-self: start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 30px 12px;
}
.specs h3 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem;
}
.specs dl { margin: 0; }
.specs div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.specs div:last-child { border-bottom: 0; }
.specs dt {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.specs dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); font-size: .98rem; }

/* Energy flow (Thermoka) */
.flow {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 36px);
  list-style: none; margin: 0;
}
.flow li { position: relative; padding: 0 14px 0 0; }
.flow li::after {
  content: ""; position: absolute; top: 21px; left: 50px; right: 10px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px);
  background-size: 28px 2px;
  animation: dash 1.2s linear infinite;
}
.flow li:last-child::after { display: none; }
@keyframes dash { to { background-position: 28px 0; } }
.flow .step {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem;
  background: var(--green-soft); color: var(--green); border: 1px solid #bfe3cd;
  position: relative; z-index: 1;
}
.flow li:nth-child(1) .step, .flow li:nth-child(2) .step, .flow li:nth-child(3) .step {
  background: var(--amber-soft); color: var(--amber); border-color: #eed6ad;
}
.flow li:nth-child(5) .step, .flow li:nth-child(6) .step {
  background: var(--blue-soft); color: var(--blue); border-color: #c3def3;
}
.flow strong { display: block; margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1; letter-spacing: .03em; }
.flow span { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* ---------- Numbers ---------- */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.number {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 2rem; box-shadow: var(--shadow);
}
.number .k {
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.number .v {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 5.6vw, 5rem); letter-spacing: 0.01em; line-height: .9;
  margin: 1.2rem 0 1rem; color: var(--green); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.number .v .u { font-size: .5em; margin-left: 4px; letter-spacing: 0; }
.number.amber .v { color: var(--amber); }
.number.blue .v { color: var(--blue); }
.number p { color: var(--muted); font-size: .95rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 1.5px;
  background: linear-gradient(180deg, var(--green), #9ccfb1 70%, var(--faint));
  transform: translateX(-50%);
}
.timeline li {
  position: relative; width: 50%; padding: 0 64px 64px 0; text-align: right;
}
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 64px 64px; text-align: left; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; top: 6px; right: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 6px var(--green-soft);
}
.timeline li:nth-child(even)::before { right: auto; left: -9px; }
.timeline li.upcoming::before { background: var(--surface); border: 2px solid var(--faint); box-shadow: 0 0 0 6px var(--bg); }
.timeline .when {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--amber); letter-spacing: .06em;
}
.timeline h3 { font-size: 2.2rem; margin: .3rem 0 .7rem; }
.timeline p { color: var(--muted); margin: 0 0 0 auto; max-width: 30rem; font-size: 1rem; }
.timeline li:nth-child(even) p { margin: 0; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.founder-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem; box-shadow: var(--shadow);
}
.founder-card .k { font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.founder-card h3 { font-size: clamp(3rem, 5vw, 4.2rem); margin: 1.2rem 0 1.4rem; line-height: .92; }
.founder-card .rule { width: 60px; height: 2px; background: var(--amber); margin-bottom: 1.4rem; }
.founder-card .role { color: var(--ink-2); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.tags li {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.founder-bio .quote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: 0.01em;
  color: var(--green); margin: 0 0 2rem;
}
.founder-bio p { color: var(--muted); font-size: 1.08rem; }

.principles { margin-top: clamp(56px, 7vw, 88px); }
.principle {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
}
.principle h3 { font-size: 1.9rem; letter-spacing: .03em; color: var(--amber); margin-bottom: .8rem; }
.principle p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Facts band ---------- */
.facts {
  border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(120deg, #6f887a 0%, #9fb7a8 100%);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
  color: #0b1f15;
}
.facts .k { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(11,31,21,.62); }
.facts .v { font-weight: 700; margin-top: .5rem; line-height: 1.35; font-size: 1.02rem; }

/* ---------- Partner / contact cards ---------- */
.partner {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #bfe3cd; }
.partner .arrow { position: absolute; top: 2.2rem; right: 2.2rem; width: 22px; height: 22px; color: var(--ink-2); transition: transform .25s; }
.partner:hover .arrow { transform: translate(3px, -3px); color: var(--green); }
.partner h3 { font-size: 2.3rem; letter-spacing: .02em; margin: 0 2.5rem 1rem 0; }
.partner p { color: var(--muted); font-size: 1rem; }
.partner .target { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.partner .target .k { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.partner .target .v { margin: .3rem 0 0; color: var(--ink-2); }
.partner .cta { margin-top: 1.4rem; font-weight: 700; color: var(--green); }

.contact-details {
  margin-top: 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.contact-details .k { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.contact-details .v { font-weight: 700; margin-top: .5rem; line-height: 1.4; word-break: break-word; }
.contact-details a { color: var(--green); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  color: #fff; padding: clamp(80px, 10vw, 130px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .display .accent { color: var(--amber-bright); }
.cta-band p { color: rgba(255,255,255,.72); font-size: 1.15rem; max-width: 40rem; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.site-footer .brand { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-nav a {
  text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
}
.footer-nav a:hover { color: var(--green); }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: .92rem; color: var(--muted); }
.footer-meta a { color: var(--ink-2); text-decoration: none; }
.footer-meta a:hover { color: var(--green); }
.footer-clock { font-variant-numeric: tabular-nums; }
.rd-notice { margin-top: 22px; font-size: .86rem; color: var(--muted); max-width: 62rem; }
.rd-notice strong { color: var(--ink-2); }

/* ---------- 404 ---------- */
.not-found .code {
  font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); line-height: .9;
  color: var(--green-bright); letter-spacing: 0.01em;
}

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }
.js .reveal.d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .contact-details { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow li:nth-child(3)::after { display: none; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: 0; z-index: 150;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: 100px var(--gutter) 40px;
    background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: #fff;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-family: var(--font-display); font-size: 3rem; letter-spacing: .04em; text-transform: none; font-weight: 400; }
  .nav a[aria-current]::after { background: var(--green-bright); }
  .nav .nav-cta { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 1rem; }
  .nav-close { position: absolute; top: 22px; right: var(--gutter); }
  .site-header.scrolled .nav a[aria-current]::after { background: var(--green-bright); }

}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .innovation { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
}

@media (min-width: 1181px) { .nav-close { display: none; } }

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .header-inner { height: 74px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 10px; }
  .brand-mark img { width: 36px; height: 36px; }
  .brand-text strong { font-size: 1.25rem; letter-spacing: .16em; }
  .brand-text small { font-size: .55rem; letter-spacing: .22em; }

  .hero { padding: 120px 0 100px; }
  .hero-page { min-height: 0; padding: 130px 0 72px; }
  .chips li { font-size: .84rem; padding: 8px 14px; }

  .grid-3, .grid-2, .numbers-grid { grid-template-columns: 1fr; }
  .facts, .contact-details { grid-template-columns: 1fr 1fr; }
  .card, .partner { padding: 2rem 1.6rem; }
  .card-num { top: 2rem; right: 1.6rem; }
  .partner .arrow { top: 2rem; right: 1.6rem; }

  .specs { padding: 22px 20px 8px; }
  .specs div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .specs dd { text-align: left; }

  .flow { grid-template-columns: 1fr; row-gap: 22px; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .flow li::after { display: block !important; top: 50px; bottom: -18px; left: 21px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 11px); animation: none; }
  .flow li:last-child::after { display: none !important; }
  .flow .step { grid-row: span 2; }
  .flow strong { margin-top: 0; }

  .timeline::before { left: 9px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 48px 44px; text-align: left; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .timeline p, .timeline li:nth-child(even) p { margin: 0; }

  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .facts, .contact-details { grid-template-columns: 1fr; }
}

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

/* ==========================================================
   From the Lovable design: engineering-grid paper background
   ========================================================== */
body {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(46, 204, 113, .07), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(240, 192, 64, .06), transparent 45%),
    linear-gradient(rgba(13, 59, 34, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 59, 34, .04) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
}
.section-white { background: rgba(255, 255, 255, .72); }

/* ==========================================================
   Big live clock
   ========================================================== */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.clock-panel {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.8vw, 38px);
  color: #fff;
}
.clock-panel::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--green-bright), var(--amber-bright));
}
.clock-k {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.clock-big {
  font-family: var(--font-clock);
  font-size: clamp(5rem, 9vw, 8.6rem);
  line-height: .86; letter-spacing: 0;
  margin: 18px 0 14px;
  white-space: nowrap;
  color: #fff;
}
.clock-big .d { display: inline-block; width: .5em; text-align: center; }
.clock-big .c { display: inline-block; width: .22em; text-align: center; color: rgba(255,255,255,.45); animation: blink 1s steps(1) infinite; }
.clock-big .sec { color: var(--green-bright); font-size: .5em; margin-left: .06em; vertical-align: top; position: relative; top: .12em; }
.clock-big .sec .d { width: .52em; }
@keyframes blink { 50% { opacity: .25; } }
.clock-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px;
  font-family: var(--font-clock); font-size: 1.45rem; letter-spacing: .08em;
  color: rgba(255,255,255,.88);
}
.clock-meta .tz { color: var(--amber-bright); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .clock-panel { max-width: 520px; }
}
@media (max-width: 720px) {
  .clock-big { font-size: clamp(4.4rem, 26vw, 7rem); }
  .clock-meta { font-size: 1.2rem; }
}

/* ==========================================================
   Lovable-style lettering: large Title-Case, Arial-style (Arimo)
   ========================================================== */
h1, h2, h3, h4 { letter-spacing: 0.005em; line-height: 1.05; }
.brand-text strong { font-size: 1.55rem; letter-spacing: .22em; }
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 8.6rem); line-height: .96; letter-spacing: 0; max-width: none; }
.hero-page h1 { font-size: clamp(2.8rem, 6.6vw, 6rem); }
.display { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.04; letter-spacing: 0; }
.card h3 { font-size: 1.6rem; letter-spacing: 0; }
.card-num { font-size: 2.2rem; }
.innovation-top .n { font-size: 2rem; }
.innovation h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.flow .step { font-size: 1rem; }
.flow strong { font-size: 1.05rem; line-height: 1.25; letter-spacing: 0; }
.number .v { font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; }
.timeline .when { font-size: 1.15rem; letter-spacing: .02em; }
.timeline h3 { font-size: 1.6rem; }
.founder-bio .quote { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.16; letter-spacing: 0; }
.founder-card h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.08; }
.principle h3 { font-size: 1.35rem; letter-spacing: 0; }
.partner h3 { font-size: 1.65rem; letter-spacing: 0; }
.not-found .code { font-family: var(--font-clock); }
@media (max-width: 1180px) { .nav a { font-size: 2.2rem; letter-spacing: 0; } }

/* One-page layout */
main section[id] { scroll-margin-top: 84px; }
.hero-home .container { position: relative; }
.hero-home .hero-grid { margin-top: 2.4rem; align-items: center; }
.hero-home .hero-lead { margin-top: 0; }
