/* Genotech Group Kft. – one-page site, dark industrial-tech theme.
   Plain CSS, system fonts only, no external resources, CSP-safe. */

:root {
  /* surfaces */
  --bg:        #0a0d0b;   /* near-black graphite */
  --bg-2:      #0f1411;   /* alt section */
  --panel:     #121815;
  --panel-2:   #171f1a;
  --line:      #243029;   /* thin borders */
  --line-2:    #33443a;
  --grid:      rgba(124, 214, 74, .06);

  /* text (all AA on --bg / --panel) */
  --text:      #e8ede9;   /* ~16:1 */
  --text-2:    #a9b5ad;   /* ~8:1 */
  --text-3:    #8a978f;   /* ~5.6:1, small labels */

  /* brand */
  --brand:     #2b6e12;   /* logo green */
  --accent:    #7cd64a;   /* brightened brand green for dark UI (~11:1 on --bg) */
  --accent-2:  #9be86d;
  --accent-glow: rgba(124, 214, 74, .35);
  --on-accent: #07100a;

  --radius: 4px;
  --header-h: 72px;
  --container: 1240px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  counter-reset: section;
}

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

h1, h2, h3 { line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--text); }
h1 {
  font-size: clamp(2.4rem, 1.1rem + 5.4vw, 5.4rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.9rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex="-1"]:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--mono);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .85rem; }
.btn-sm::after { display: none; }

.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--on-accent);
  box-shadow: 0 0 0 1px var(--accent-2), 0 0 28px var(--accent-glow);
}

.btn-outline-light { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 22px rgba(124, 214, 74, .18), inset 0 0 0 1px rgba(124, 214, 74, .25);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 11, .86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled::after { opacity: .55; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

/* Logo has dark lettering on transparent → sits on a light badge */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-right: auto;
  padding: 7px 12px;
  background: #f4f7f4;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: box-shadow .2s ease;
}
.brand img { height: 30px; width: auto; }
.brand:focus-visible { outline-offset: 4px; clip-path: none; }

.nav-list, .lang-switch ul { list-style: none; margin: 0; padding: 0; }

.nav-list { display: flex; align-items: center; gap: 2px; counter-reset: nav; }
.nav-list a:not(.btn) {
  display: block;
  padding: 10px 12px;
  color: var(--text-2);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s ease, background-color .2s ease;
}
.nav-list li:not(.nav-cta) { counter-increment: nav; }
.nav-list a:not(.btn)::before {
  content: counter(nav, decimal-leading-zero) " ";
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent);
  opacity: .85;
}
.nav-list a:not(.btn):hover { color: var(--text); background: rgba(124, 214, 74, .07); }
.nav-cta { margin-left: 10px; }

.lang-switch ul {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch a {
  display: block;
  min-width: 40px;
  padding: 8px;
  text-align: center;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
}
.lang-switch li + li a { border-left: 1px solid var(--line-2); }
.lang-switch a:hover { background: rgba(124, 214, 74, .08); color: var(--text); }
.lang-switch a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.lang-switch a:focus-visible { outline-offset: -3px; outline-color: var(--text); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --header-h: 64px; }
  .header-inner { flex-wrap: wrap; gap: 10px; min-height: 64px; }
  .brand { padding: 6px 10px; }
  .brand img { height: 26px; }

  .site-nav { order: 4; flex-basis: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 18px; }
  .nav-list a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav-list a:not(.btn)::before { display: inline-block; width: 2.4em; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 48px; }

  /* Without JS the menu stays open, so don't pin the tall header */
  html:not(.js) .site-header { position: static; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; max-height: calc(100vh - 64px); overflow-y: auto; }
}
@media (max-width: 359px) {
  .brand img { height: 21px; }
  .lang-switch a { min-width: 32px; padding-inline: 4px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 9vw, 128px) 0 clamp(56px, 8vw, 112px);
  background:
    radial-gradient(900px 520px at 78% 20%, rgba(43, 110, 18, .38), transparent 65%),
    radial-gradient(600px 400px at 5% 100%, rgba(43, 110, 18, .18), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
/* flake stream canvas (inserted by script.js), behind a readability scrim */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 13, 11, .88) 0%, rgba(10, 13, 11, .62) 45%, rgba(10, 13, 11, .15) 80%, rgba(10, 13, 11, 0) 100%),
    linear-gradient(0deg, rgba(10, 13, 11, .9) 0%, rgba(10, 13, 11, 0) 30%);
}
@media (max-width: 1099px) {
  .hero::before { background: linear-gradient(180deg, rgba(10, 13, 11, .72), rgba(10, 13, 11, .82)); }
}
/* engineering grid: fine 24px + major 120px lines, faded at edges */
.hero-grid {
  position: absolute;
  inset: -120px 0 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 214, 74, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 214, 74, .11) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 64px; }
}
.hero h1 { max-width: 16ch; }
.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(124, 214, 74, .25);
}
.hero .lead {
  max-width: 56ch;
  font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem);
  color: var(--text-2);
}

/* Data panel (datasheet readout) */
.data-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 31, 26, .92), rgba(15, 20, 17, .92));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(124, 214, 74, .25);
  font-family: var(--mono);
}
/* corner brackets */
.data-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 14px 1px,
    linear-gradient(var(--accent), var(--accent)) top left / 1px 14px,
    linear-gradient(var(--accent), var(--accent)) bottom right / 14px 1px,
    linear-gradient(var(--accent), var(--accent)) bottom right / 1px 14px;
  background-repeat: no-repeat;
  opacity: .8;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.panel-tag {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--accent);
  letter-spacing: .1em;
}
.panel-data { margin: 0; padding: 6px 0; }
.panel-data > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 14px 20px;
  border-bottom: 1px dashed var(--line);
}
.panel-data > div:last-child { border-bottom: 0; }
.panel-data dt {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.panel-data dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .6em; }
.panel-data .val {
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.panel-data .unit { font-size: .82rem; color: var(--text-2); }
.panel-data > div:first-child .val { color: var(--accent); }
@media (min-width: 480px) {
  .panel-data > div { grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; gap: 16px; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: section;
}
.section-alt {
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--bg-2);
}
.section-title { max-width: 26ch; }
.section-title::before {
  content: counter(section, decimal-leading-zero) " /";
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin-top: 22px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Benefit cards */
.cards {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  counter-reset: card;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  counter-increment: card;
  position: relative;
  padding: 30px 26px 30px;
  background: var(--bg);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: "[" counter(card, decimal-leading-zero) "]";
  display: block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { background: var(--panel); box-shadow: inset 0 0 40px rgba(124, 214, 74, .05); }
.card:hover::after { transform: scaleX(1); }
.card p { margin: 0; color: var(--text-2); }

/* Product */
.product-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .product-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.product-intro > p { color: var(--text-2); }
.product-intro h3 {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.check-list, .feature-list { list-style: none; margin: 0; padding: 0; }
.check-list { display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .015);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px; top: 1.15em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Spec table = datasheet / terminal readout */
.table-wrap {
  position: relative;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: .9rem;
}
.spec-table caption {
  padding: 14px 20px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--panel-2);
  border-bottom: 1px solid var(--line-2);
}
.spec-table caption::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  vertical-align: 1px;
}
.spec-table th, .spec-table td {
  padding: 12px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed var(--line);
}
.spec-table thead th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line-2);
}
.spec-table tbody th {
  width: 42%;
  font-weight: 400;
  color: var(--text-2);
}
.spec-table tbody th::before { content: "> "; color: var(--accent); }
.spec-table tbody td { color: var(--text); font-weight: 600; }
.spec-table tbody tr { transition: background-color .15s ease; }
.spec-table tbody tr:hover { background: rgba(124, 214, 74, .06); }
.spec-table tbody tr:hover td { color: var(--accent-2); }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) {
  .spec-table { font-size: .85rem; }
  .spec-table th, .spec-table td { padding: 10px 14px; }
  .spec-table caption { padding: 12px 14px; }
}

/* Quality */
.quality-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .quality-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.quality-grid p { max-width: 65ch; color: var(--text-2); }

.feature-list { display: grid; gap: 10px; counter-reset: feat; }
.feature-list li {
  counter-increment: feat;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.feature-list li::before {
  content: counter(feat, decimal-leading-zero);
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
}
.feature-list li:hover {
  border-color: rgba(124, 214, 74, .5);
  box-shadow: 0 0 24px rgba(124, 214, 74, .12);
}

/* Ordering steps */
.steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 32px;
  counter-reset: step;
}
@media (min-width: 768px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.step { counter-increment: step; position: relative; padding-top: 72px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(124, 214, 74, .18), inset 0 0 12px rgba(124, 214, 74, .08);
  z-index: 1;
}
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 64px; right: -16px; top: 25px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
  }
}
.step p { color: var(--text-2); margin: 0; }

/* Contact */
.section-dark {
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(43, 110, 18, .3), transparent 65%),
    var(--bg);
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.section-dark > .container { position: relative; }
.section-dark p { color: var(--text-2); }

.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.contact-grid > div > p:first-of-type { max-width: 60ch; }
.microcopy {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--line-2);
  font-family: var(--mono);
  font-size: .85rem;
  max-width: 62ch;
}

.contact-card {
  font-style: normal;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 0 60px -25px rgba(124, 214, 74, .3);
}
.contact-block { padding: 24px 26px; }
.contact-block + .contact-block { border-top: 1px dashed var(--line-2); }
.contact-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.contact-email { margin: 0; font-family: var(--mono); font-size: clamp(1rem, .9rem + .5vw, 1.2rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-enquiry { background: rgba(124, 214, 74, .05); }
.contact-name { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--text) !important; }
.contact-role { margin: 2px 0 18px; }
.contact-card dl { margin: 0; display: grid; gap: 12px; }
.contact-card dl > div { display: grid; gap: 2px; }
@media (min-width: 480px) {
  .contact-card dl > div { grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; align-items: baseline; }
}
.contact-card dt {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact-card dd { margin: 0; font-family: var(--mono); font-size: .92rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #060807;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .02em;
}
.site-footer p { margin: 0; }

/* ---------- Motion (only when the user allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid { animation: grid-drift 40s linear infinite, grid-glow 9s ease-in-out infinite alternate; }
  @keyframes grid-drift {
    from { transform: translateY(0); }
    to   { transform: translateY(120px); }
  }
  @keyframes grid-glow {
    from { opacity: .7; }
    to   { opacity: 1; }
  }
  /* slowly breathing brand-green light behind the hero */
  .hero { background-size: 100% 100%; animation: hero-breathe 14s ease-in-out infinite alternate; }
  @keyframes hero-breathe {
    from { background-position: 0 0, 0 0, 0 0; }
    to   { background-position: -6vw 4vh, 4vw -3vh, 0 0; }
  }

  /* slow scanline across the data panel */
  .data-panel::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(124, 214, 74, .08) 50%, transparent);
    animation: scan 6s ease-in-out infinite;
  }
  @keyframes scan {
    0%   { transform: translateY(-80px); }
    100% { transform: translateY(520px); }
  }

  .panel-dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 2px var(--accent); } }

  /* reveal on scroll (class added by script.js only) */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-d1 { --reveal-delay: .08s; }
  .reveal-d2 { --reveal-delay: .16s; }
  .reveal-d3 { --reveal-delay: .24s; }
}

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

/* Print */
@media print {
  :root { color-scheme: light; }
  html, body, .hero, .section, .section-alt, .section-dark, .site-footer, .data-panel, .table-wrap, .contact-card, .card { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .site-header, .skip-link, .hero-grid, .btn-row, .section-dark::before { display: none !important; }
  h1, h2, h3, p, dd, td, th, .val { color: #000 !important; text-shadow: none !important; }
}
