/* ───────── TerraClean · core styles ─────────
   Carbon-Alert compatible light earth theme:
   light terra surfaces + soft green veil + fixed photographic earth watermark.
*/

:root {
  --bg:           #F2E8D8;   /* terra mixed halfway toward white */
  --bg-2:         #EBDDCA;
  --surface:      #FBF2E4;
  --surface-2:    #F0DFC6;
  --surface-3:    #E5CDA9;
  --border:       #CBB18A;
  --border-strong:#A88758;
  --text:         #2F2A1D;
  --text-muted:   #6B6048;
  --text-faint:   #94866A;

  --accent:       #5E9D55;   /* soft biomass green */
  --accent-hover: #79B86E;
  --accent-deep:  #3F7138;
  --pressure:     #DDF4B2;   /* pressure-injection energy highlight */
  --earth:        #A47A4F;   /* contaminated stratum / mineral cue */
  --warning:      #B78132;
  --danger:       #B45A4E;

  --font-display: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
}

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

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 720px at 76% -10%, rgba(94,157,85,0.12), transparent 62%),
    radial-gradient(900px 620px at -12% 110%, rgba(126,86,45,0.13), transparent 72%),
    linear-gradient(115deg, rgba(94,157,85,0.08), transparent 38%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  width: min(88vw, 1120px);
  aspect-ratio: 1;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background-image: url("../earth-photo-watermark.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.40;
  mix-blend-mode: multiply;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 0 63%, rgba(0,0,0,0.68) 72%, transparent 76%);
  mask-image: radial-gradient(circle, #000 0 63%, rgba(0,0,0,0.68) 72%, transparent 76%);
}
body > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

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

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px var(--pad-x) 54px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  margin: 0 auto;
}
.brand-mark { width: 32px; height: 32px; color: var(--text); flex-shrink: 0; }
.brand-mark--image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(65, 45, 18, 0.12));
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 36px;
  line-height: 1;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 10px;
  margin-left: 2px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.primary-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  transition: color .18s, background .18s;
}
.primary-nav a:hover { color: var(--text); background: rgba(95,75,42,0.07); }
.primary-nav a.is-active { color: var(--accent); }
.language-switcher {
  position: absolute;
  right: var(--pad-x);
  top: 18px;
  display: flex;
  gap: 6px;
  z-index: 55;
}
.language-switcher button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid rgba(168,135,88,0.35);
  border-radius: 999px;
  padding: 6px 8px;
  background: rgba(242,232,216,0.52);
}
.language-switcher button.is-active {
  color: #FFF8E8;
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── DOT NAV ─── */
.dot-nav {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-nav button {
  width: 10px; height: 10px; padding: 0; position: relative;
}
.dot-nav button span {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background .2s, transform .2s;
}
.dot-nav button:hover span { background: var(--text-muted); transform: scale(1.2); }
.dot-nav button.is-active span { background: var(--accent); transform: scale(1.35); }

/* ─── ARROW CONTROLS ─── */
.arrow-controls {
  position: fixed;
  bottom: 22px;
  right: clamp(20px, 4vw, 40px);
  z-index: 40;
  display: flex;
  gap: 8px;
}
.arrow-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(247,238,220,0.96);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .18s, border-color .18s, background .18s;
}
.arrow-btn:hover { color: var(--accent-deep); border-color: var(--accent); background: rgba(94,157,85,0.12); }

/* ─── DECK / PANELS ─── */
.deck { display: block; }
.panel {
  min-height: 100vh;
  width: 100%;
  padding: clamp(96px, 12vh, 132px) var(--pad-x) clamp(52px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
  border-bottom: 1px solid rgba(126,101,62,0.14);
}
.panel-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.panel-footer .muted { color: var(--text-faint); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 12px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: 20px; line-height: 1.25; }
p  { margin: 0; font-weight: 500; }

.accent-text { color: var(--accent); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 920px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-lede {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 760px;
}

/* ─── HERO ─── */
.panel--hero { padding-top: clamp(170px, 19vh, 196px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  flex: 1;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(94,157,85,0.42);
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94,157,85,0.34); }
  70%  { box-shadow: 0 0 0 14px rgba(94,157,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,157,85,0); }
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 620px;
  margin-top: 18px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #FFF8E8; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-chiplist {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 620px;
}
.hero-chiplist li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,248,232,0.64), rgba(235,220,190,0.34));
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.hero-chiplist strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* ─── HERO DIAGRAM ─── */
.hero-diagram { display: flex; justify-content: center; align-items: center; }
.strata-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,248,232,0.7), rgba(231,217,189,0.42));
  box-shadow: 0 30px 80px -48px rgba(93,69,36,0.38), inset 0 0 0 1px rgba(255,255,255,0.35);
}
.strata-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  fill: var(--text);
}
.strata-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  fill: var(--text-muted);
}
.metal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--earth);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ─── STEPS GRID ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, transform .2s;
}
.step-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.step-card--accent {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(94,157,85,0.18), rgba(164,122,79,0.10));
}
.step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; font-weight: 500; }
.step-meta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* ─── SECTORS ─── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector-card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color .2s, transform .2s, background .2s;
}
.sector-card:hover { border-color: var(--accent-deep); background: var(--surface-2); transform: translateY(-2px); }
.sector-no {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.sector-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; font-weight: 500; }
.sector-tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.sector-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.region-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.region-strip > div {
  background: var(--bg-2);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.region-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.region-detail {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ─── METRICS ─── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.kpi {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
}
.kpi-value {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
}
.kpi-unit {
  font-size: 0.55em;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 600;
}
.kpi-label {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  margin-top: auto;
}
.kpi-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.4;
}

.econ-block {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(119,198,110,0.08), rgba(169,130,86,0.05) 70%, transparent);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.econ-block h3 { font-size: 17px; color: var(--text); }
.econ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.econ-grid > div { display: flex; flex-direction: column; gap: 4px; }
.econ-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.econ-cap { font-size: 13px; color: var(--text-muted); line-height: 1.45; font-weight: 500; }
.econ-disclaimer { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; font-weight: 500; }

/* ─── TECH TABS ─── */
.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  width: fit-content;
}
.tab {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--accent); color: #FFF8E8; }

.tech-panels { position: relative; }
.tech-panel {
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  animation: panelIn .25s ease;
}
.tech-panel.is-active { display: grid; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tech-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 14px;
}
.tech-side h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -0.02em; }
.tech-side p { color: var(--text-muted); font-size: 15px; line-height: 1.6; font-weight: 500; }

.tech-defs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.tech-defs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.tech-defs dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tech-defs dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel--contact {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  padding-top: clamp(104px, 12vh, 120px);
  padding-bottom: 104px;
}
.panel--contact .panel-inner {
  gap: 24px;
}
.panel--contact .section-head {
  gap: 10px;
}
.panel--contact .section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}
.panel--contact .section-lede {
  max-width: 720px;
  line-height: 1.45;
}
.contact-card {
  padding: 18px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: var(--accent-deep); background: var(--surface-2); }
.contact-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; font-weight: 500; }
.contact-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.contact-line > span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-line a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .15s; }
.contact-line a:hover { border-color: var(--accent); }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  margin-top: 12px;
}
.panel--contact .site-footer {
  display: none;
}
.panel--contact .footer-meta {
  display: none;
}
.contact-signature {
  position: fixed;
  left: var(--pad-x);
  bottom: 18px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 17px;
  color: var(--text);
}
.contact-signature-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.contact-signature strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.contact-signature span {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  color: var(--text-muted);
}
.contact-signature a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(63,113,56,0.35);
}
.contact-signature a:hover {
  border-bottom-color: var(--accent-deep);
}
.global-site-footer {
  position: fixed;
  left: var(--pad-x);
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: min(680px, calc(100vw - 150px));
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  background: rgba(242,232,216,0.48);
}
.global-footer-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
}
.global-footer-text strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.global-footer-text span {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.15;
  color: var(--text-muted);
}
.global-footer-text a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(63,113,56,0.35);
}
.global-footer-text a:hover {
  border-bottom-color: var(--accent-deep);
}
.site-footer .brand-mark--image {
  width: 54px;
  height: 54px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.footer-brand strong { display: block; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.footer-brand span { font-size: 12.5px; color: var(--text-faint); }
.footer-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-muted); text-align: right; }
.footer-meta .muted { color: var(--text-faint); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .econ-grid { grid-template-columns: repeat(2, 1fr); }
  .region-strip { grid-template-columns: repeat(2, 1fr); }
  .tech-panel { grid-template-columns: 1fr; }
  .global-site-footer {
    max-width: 420px;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 12px;
    background: rgba(242,232,216,0.38);
  }
  .global-footer-mark {
    width: 48px;
    height: 48px;
  }
  .global-footer-text strong {
    font-size: 16px;
  }
  .global-footer-text span {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.15;
  }
}

@media (max-width: 820px) {
  html, body { scroll-behavior: auto; }
  body::before {
    position: absolute;
    min-height: 100%;
  }
  body::after {
    position: absolute;
    width: 92vw;
    left: 50%;
    top: 520px;
    transform: translateX(-50%);
  }
  .site-header {
    position: relative;
    padding: 16px var(--pad-x) 10px;
    flex-direction: column;
  }
  .language-switcher {
    position: static;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
  }
  .language-switcher button {
    font-size: 10px;
    padding: 5px 8px;
  }
  .primary-nav { display: none; }
  .brand-sub { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-diagram { order: 2; }
  .dot-nav,
  .arrow-controls { display: none; }
  .global-site-footer {
    position: static;
    margin: 36px auto 22px;
    max-width: calc(100vw - 36px);
    justify-content: center;
    background: transparent;
    box-shadow: none;
  }
  .global-footer-text span:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 640px) {
  :root { --pad-x: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .site-header {
    padding: 12px 18px 8px;
  }
  .brand {
    gap: 8px;
    justify-content: center;
  }
  .brand-mark--image {
    width: 58px;
    height: 58px;
  }
  .brand-name {
    font-size: 30px;
    letter-spacing: -0.02em;
  }
  .language-switcher {
    margin-top: 8px;
    gap: 8px;
  }
  .language-switcher button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .panel { padding-top: 54px; padding-bottom: 62px; min-height: auto; }
  .panel--hero { padding-top: 24px; }
  .steps-grid, .sector-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .econ-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .region-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tech-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 12px; }
  .tab { padding: 8px 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .tech-defs > div { grid-template-columns: 1fr; gap: 4px; }
  h1 { font-size: clamp(34px, 9vw, 50px); }
  h2 { font-size: clamp(26px, 7vw, 36px); }
  .panel-footer { flex-direction: column; gap: 6px; align-items: flex-start; }
  .global-site-footer {
    position: static;
    margin: 32px 18px 18px;
    max-width: none;
    gap: 10px;
    padding: 14px 0 0;
    border-radius: 0;
    border-top: 1px solid rgba(168,135,88,0.28);
    background: transparent;
    align-items: center;
    justify-content: flex-start;
  }
  .global-footer-mark {
    width: 48px;
    height: 48px;
  }
  .global-footer-text strong {
    font-size: 18px;
  }
  .global-footer-text span {
    font-size: 11px;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .global-footer-text span:nth-of-type(2) { display: none; }
}

@media (max-height: 760px) {
  .global-site-footer {
    transform: scale(0.82);
    transform-origin: bottom left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
