/* ════════════════════════════════════════════════════════════════
   CRESCENT — euroconceptsolutions.com
   Carpathian modern construction. Slovak / Central European.
   Slate blue + stone grey + terracotta + lime-wash + mustard ochre.
   Archivo (display) + IBM Plex Sans (body) + IBM Plex Mono.
   ▮ ◢ /\ structural sigils. Architectural layouts.
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Slate / depth ladder */
  --slate:        #1E2D3F;
  --slate-d:      #14202E;
  --slate-deep:   #0B1521;
  --steel:        #2D3F55;
  --graphite:     #475569;
  --pewter:       #6B7A8A;
  --ash:          #93A0AE;
  --mist:         #BDC5CE;
  --fog:          #DDE2E8;

  /* Stone / canvas surfaces */
  --stone:        #5C5C5A;
  --lime-wash:    #F7F4EB;
  --linen:        #EDE8DA;
  --bone:         #E0DBCA;
  --paper:        #FBF9F2;

  /* TERRACOTTA — primary signal (Slovak brick) */
  --terra:        #B5563F;
  --terra-l:      #D17865;
  --terra-d:      #883B2A;
  --terra-glow:   #E89786;

  /* MUSTARD OCHRE — secondary signal */
  --ochre:        #D4A226;
  --ochre-l:      #E4B847;
  --ochre-d:      #A57E15;

  /* On dark */
  --on-dark:        #F7F4EB;
  --on-dark-soft:   #BDC5CE;
  --on-dark-dim:    #6B7A8A;

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', system-ui, sans-serif;
  --body:    'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--terra); color: var(--lime-wash); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16.5px;
}

body {
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  background: var(--lime-wash);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Reveal */
.r { opacity: 0; transform: translateY(8px); transition: opacity 680ms ease, transform 680ms ease; }
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: 80ms; } .r-d2 { transition-delay: 160ms; }
.r-d3 { transition-delay: 240ms; } .r-d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { .r { opacity: 1; transform: none; transition: none; } }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — heavy architectural top, no transparency
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--slate);
  color: var(--on-dark);
  padding: 16px clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  border-bottom: 1px solid var(--steel);
  transition: padding 240ms;
}
.nav.tight {
  padding: 10px clamp(24px, 4vw, 56px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-wash);
  line-height: 1;
}
.brand .mark {
  color: var(--terra);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  margin-inline-end: 0.1em;
}
.brand .name { letter-spacing: 0.08em; }
.brand .reg {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ash);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-inline-start: 0.5em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 1.3vw, 1.4rem);
  font-family: var(--display);
  font-variation-settings: "wght" 500;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}
.nav-links a {
  padding: 6px 4px;
  position: relative;
  transition: color 180ms;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width 200ms, left 200ms;
}
.nav-links a:hover { color: var(--terra-l); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--graphite);
  border-radius: 0;
  overflow: hidden;
}
.lang-switch a {
  padding: 7px 11px;
  color: var(--mist);
  background: transparent;
  transition: background 180ms, color 180ms;
  line-height: 1;
  border-inline-end: 1px solid var(--graphite);
}
.lang-switch a:last-child { border-inline-end: none; }
.lang-switch a:hover { color: var(--lime-wash); background: var(--steel); }
.lang-switch a.active {
  color: var(--lime-wash);
  background: var(--terra);
}
.lang-switch a.active:hover { background: var(--terra-l); color: var(--lime-wash); }

.nav-cta {
  font-family: var(--display);
  font-variation-settings: "wght" 600;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--terra);
  color: var(--lime-wash);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: all 200ms;
  border: 1px solid var(--terra);
}
.nav-cta::after { content: "▮"; color: var(--lime-wash); font-family: var(--mono); }
.nav-cta:hover { background: var(--ochre); border-color: var(--ochre); color: var(--slate); }
.nav-cta:hover::after { color: var(--slate); }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--graphite);
  color: var(--lime-wash);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  align-items: center;
  gap: 0.45em;
}
.nav-burger-icon {
  display: inline-block;
  width: 14px;
  height: 10px;
  position: relative;
}
.nav-burger-icon::before,
.nav-burger-icon::after,
.nav-burger-icon {
  background: transparent;
}
.nav-burger-icon::before,
.nav-burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terra-l);
  transition: transform 200ms, top 200ms, opacity 200ms;
}
.nav-burger-icon::before { top: 0; }
.nav-burger-icon::after { bottom: 0; }
.nav-burger-icon {
  border-top: 2px solid var(--terra-l);
  border-bottom: 2px solid var(--terra-l);
  height: 10px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-right > .lang-switch { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 21, 33, 0.72);
  opacity: 0;
  transition: opacity 280ms ease;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--slate);
  border-inline-start: 1px solid var(--steel);
  box-shadow: -12px 0 40px rgba(11, 21, 33, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open .mobile-menu-panel { transform: none; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--steel);
  background: var(--slate-d);
}
.mobile-menu-mark {
  color: var(--terra);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
}
.mobile-menu-title {
  flex: 1;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-wash);
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--graphite);
  background: transparent;
  color: var(--lime-wash);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.mobile-menu-close:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--lime-wash);
}
.mobile-menu-links {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}
.mobile-menu-link {
  display: block;
  padding: 0.85rem 1.4rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  border-inline-start: 3px solid transparent;
  transition: color 180ms, background 180ms, border-color 180ms;
}
.mobile-menu-link:hover {
  color: var(--lime-wash);
  background: var(--steel);
  border-inline-start-color: var(--terra);
}
.mobile-menu-foot {
  padding: 1.2rem 1.4rem 1.6rem;
  border-top: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lang-switch--mobile { align-self: flex-start; }
.mobile-menu-cta { width: 100%; justify-content: center; display: inline-flex !important; }
body.menu-open { overflow: hidden; }

/* Form validation highlight */
.field.is-invalid label { color: var(--terra-l); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.field.is-invalid .choices__inner {
  border-color: var(--terra) !important;
  box-shadow: 0 0 0 3px rgba(181, 86, 63, 0.28) !important;
  animation: field-shake 420ms ease;
}
.field.is-invalid.consent {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 86, 63, 0.2);
}
@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* Choices.js — site styling */
.field .choices { margin-bottom: 0; width: 100%; }
.field .choices__inner {
  background: var(--slate);
  border: 1px solid var(--graphite);
  border-radius: 0;
  min-height: auto;
  padding: 0.55rem 0.85rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--lime-wash);
}
.field .choices.is-focused .choices__inner,
.field .choices.is-open .choices__inner {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 86, 63, 0.2);
}
.field .choices__list--single { padding: 0.15rem 1.5rem 0.15rem 0; }
.field .choices[data-type*="select-one"]::after {
  border-color: var(--terra) transparent transparent;
  right: 14px;
}
.field .choices__list--dropdown,
.field .choices__list[aria-expanded] {
  background: var(--slate-d);
  border: 1px solid var(--graphite);
  border-radius: 0;
  z-index: 20;
}
.field .choices__list--dropdown .choices__item,
.field .choices__list[aria-expanded] .choices__item {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--lime-wash);
  padding: 0.65rem 0.85rem;
}
.field .choices__list--dropdown .choices__item--selectable.is-highlighted,
.field .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: var(--steel);
}
.field .choices__placeholder { opacity: 0.55; }
.turnstile-field { margin-top: 0.4rem; margin-bottom: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════
   COMMON FRAME — wider, architectural
   ═══════════════════════════════════════════════════════════════ */
.frame {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(15px, 4vw, 56px);
}

/* Chapter heading pattern */
.ch-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: baseline;
  border-top: 3px solid var(--slate);
  padding-top: 1rem;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
.ch-meta .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-d);
  font-weight: 600;
  white-space: nowrap;
}
.ch-meta .ttl {
  font-family: var(--display);
  font-variation-settings: "wght" 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  text-align: end;
}

.ch-display {
  font-family: var(--display);
  font-variation-settings: "wght" 600;
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 0.96;
  color: var(--slate);
  margin-bottom: 1.4rem;
  max-width: 22ch;
}
.ch-display em {
  font-style: italic;
  color: var(--terra-d);
  font-variation-settings: "wght" 600;
}
.ch-display .ochre {
  color: var(--ochre-d);
}

.ch-lede {
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.32vw, 1.22rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--steel);
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
.ch-lede strong { color: var(--slate); font-weight: 600; }
.ch-lede em { font-style: italic; color: var(--terra-d); }

/* ═══════════════════════════════════════════════════════════════
   §01 HERO — full-bleed architectural
   ═══════════════════════════════════════════════════════════════ */
.s-hero {
  min-height: 100vh;
  background: var(--slate);
  color: var(--on-dark);
  padding: clamp(120px, 16vh, 180px) clamp(24px, 4vw, 56px) clamp(50px, 7vh, 80px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Architectural diagonal accent */
.s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0%, transparent 60%, rgba(181, 86, 63, 0.08) 60.1%, rgba(181, 86, 63, 0.08) 62%, transparent 62.1%),
    linear-gradient(135deg, transparent 0%, transparent 72%, rgba(212, 162, 38, 0.04) 72.1%, rgba(212, 162, 38, 0.04) 74%, transparent 74.1%);
  pointer-events: none;
}

/* Vertical structural beams */
.s-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(24px, 4vw, 56px);
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--steel) 20%, var(--steel) 80%, transparent 100%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-dim);
  font-weight: 500;
  margin-bottom: clamp(2rem, 5vh, 3.6rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--steel);
}
.hero-top .l, .hero-top .r { display: flex; gap: 1.6em; flex-wrap: wrap; }
.hero-top .r { text-align: end; }
.hero-top .v { color: var(--on-dark); }
.hero-top .ter { color: var(--terra); }
.hero-top .och { color: var(--ochre); }

.hero-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vh, 3rem) 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 600;
  margin-bottom: clamp(1.4rem, 3vh, 2rem);
}
.hero-eyebrow::before {
  content: "▮";
  color: var(--terra);
  font-family: var(--mono);
  font-size: 1em;
}

.hero-title {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(2.6rem, 11vw, 9.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.86;
  color: var(--lime-wash);
  text-transform: uppercase;
}
.hero-title .accent {
  color: var(--terra);
}
.hero-title .lite {
  font-variation-settings: "wght" 300;
  font-weight: 300;
  text-transform: none;
  letter-spacing: -0.022em;
  color: var(--on-dark);
  display: block;
  margin-top: 0.18em;
  font-style: italic;
  font-size: 0.62em;
}
.hero-title .mark {
  display: inline-block;
  color: var(--ochre);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.62em;
  vertical-align: 0.32em;
  margin-inline-start: 0.1em;
}

.hero-tag {
  margin-top: clamp(1rem, 2vh, 1.4rem);
  font-family: var(--display);
  font-variation-settings: "wght" 500;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: var(--on-dark-soft);
  letter-spacing: -0.008em;
}
.hero-tag .pipe { color: var(--terra); margin: 0 0.7em; font-family: var(--mono); }

.hero-statement {
  margin-top: clamp(2.4rem, 5vh, 3.6rem);
  max-width: 64ch;
  font-family: var(--display);
  font-variation-settings: "wght" 400;
  font-size: clamp(1.32rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.014em;
  color: var(--lime-wash);
}
.hero-statement strong {
  color: var(--terra-l);
  font-variation-settings: "wght" 700;
  font-weight: 700;
}
.hero-statement em { color: var(--ochre-l); font-style: italic; }

/* Hero metrics row */
.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  border-top: 1px solid var(--steel);
  padding-top: clamp(1.6rem, 3vh, 2.2rem);
}
.hero-metric {
  padding: 0 clamp(1rem, 2vw, 1.6rem);
  border-inline-end: 1px solid var(--steel);
}
.hero-metric:last-child { border-inline-end: none; }
.hero-metric:first-child { padding-inline-start: 0; }
.hero-metric .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hero-metric .v {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--lime-wash);
  line-height: 1.05;
}
.hero-metric .sub {
  display: block;
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--on-dark-dim);
  font-weight: 400;
  margin-top: 0.3rem;
}
@media (max-width: 720px) {
  .hero-metric { padding: 1rem 0; border-inline-end: none; border-bottom: 1px solid var(--steel); }
  .hero-metric:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   §02 PROFILE — architectural manifest, two-col with portrait number
   ═══════════════════════════════════════════════════════════════ */
.s-profile {
  background: var(--paper);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-side {
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .profile-side { position: static; } }
.profile-bignum {
  font-family: var(--display);
  font-variation-settings: "wght" 800;
  font-size: clamp(7rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--terra);
  margin-bottom: 0.5rem;
}
.profile-bignum-sub {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 2rem;
}

.profile-body p {
  font-family: var(--body);
  font-size: clamp(1.06rem, 1.18vw, 1.16rem);
  line-height: 1.7;
  color: var(--steel);
  max-width: 62ch;
  margin-bottom: 1.1em;
}
.profile-body p strong { color: var(--slate); font-weight: 600; }
.profile-body p em { font-style: italic; color: var(--terra-d); }

/* ═══════════════════════════════════════════════════════════════
   §03 MODEL — operating model, 3 actors
   ═══════════════════════════════════════════════════════════════ */
.s-model {
  background: var(--slate);
  color: var(--on-dark);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--slate-d);
}
.s-model .ch-meta { border-top-color: var(--ochre); }
.s-model .ch-meta .num { color: var(--ochre); }
.s-model .ch-meta .ttl { color: var(--mist); }
.s-model .ch-display { color: var(--lime-wash); }
.s-model .ch-display em { color: var(--terra-l); }
.s-model .ch-lede { color: var(--on-dark-soft); max-width: 64ch; }
.s-model .ch-lede strong { color: var(--lime-wash); }
.s-model .ch-lede em { color: var(--terra-l); }

.model-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--steel);
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 880px) {
  .model-flow { grid-template-columns: 1fr; }
  .model-arrow { display: none; }
}

.model-node {
  background: var(--slate-d);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.model-node.center {
  background: var(--terra-d);
}
.model-node .role {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 600;
}
.model-node.center .role { color: var(--ochre-l); }
.model-node .name {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--lime-wash);
  line-height: 1.15;
  text-transform: uppercase;
}
.model-node.center .name em { color: var(--ochre); font-style: italic; text-transform: none; }
.model-node .desc {
  font-family: var(--body);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
}
.model-node.center .desc { color: var(--lime-wash); }

.model-arrow {
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  font-family: var(--mono);
  color: var(--terra);
  font-size: 1.3rem;
  font-weight: 700;
}

.model-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--steel);
}
@media (max-width: 760px) { .model-rules { grid-template-columns: 1fr; } }

.model-rule {
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  border-inline-end: 1px solid var(--steel);
}
.model-rule:last-child { border-inline-end: none; }
@media (max-width: 760px) {
  .model-rule { border-inline-end: none; border-bottom: 1px solid var(--steel); }
  .model-rule:last-child { border-bottom: none; }
}
.model-rule .id {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.model-rule .name {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.04rem, 1.18vw, 1.14rem);
  font-weight: 700;
  color: var(--lime-wash);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.model-rule .desc {
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
}

/* ═══════════════════════════════════════════════════════════════
   §X TEAM — international management, since 1990s, 73 professionals
   ═══════════════════════════════════════════════════════════════ */
.s-team {
  background: var(--paper);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.4rem, 5vw, 4.4rem);
  align-items: start;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; } }

.team-body p {
  font-family: var(--body);
  font-size: clamp(1.04rem, 1.16vw, 1.14rem);
  line-height: 1.7;
  color: var(--steel);
  max-width: 62ch;
  margin-bottom: 1.1em;
}
.team-body p strong { color: var(--slate); font-weight: 600; }
.team-body p em { font-style: italic; color: var(--terra-d); }

.team-stack {
  background: var(--slate);
  color: var(--on-dark);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  position: relative;
  border-inline-start: 4px solid var(--terra);
}
.team-stack::before {
  content: "▮";
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.2rem;
  color: var(--terra);
  font-family: var(--mono);
  font-size: 1rem;
}
.team-stack h3 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.team-figs {
  display: grid;
  gap: 1.1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--steel);
}
.team-fig {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem;
  align-items: baseline;
}
.team-fig .n {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--terra-l);
  line-height: 1;
}
.team-fig .l {
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--on-dark-soft);
}
.team-fig .l strong { color: var(--lime-wash); font-weight: 600; }
.team-stack .note {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  font-style: italic;
}
.team-stack .note em { color: var(--terra-l); font-style: italic; }

/* ═══════════════════════════════════════════════════════════════
   §04 ACTIVITIES — 10 areas, single architectural list
   ═══════════════════════════════════════════════════════════════ */
.s-activities {
  background: var(--lime-wash);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.act-list {
  border-top: 3px solid var(--slate);
}

.act-row {
  display: grid;
  grid-template-columns: 5rem 1fr 9rem;
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.6rem, 2.6vh, 2.2rem) 0;
  border-bottom: 1px solid var(--bone);
  align-items: baseline;
  position: relative;
  transition: background 240ms;
}
.act-row:hover {
  background: var(--paper);
}
.act-row:last-child {
  border-bottom: 3px solid var(--slate);
}

.act-num {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}

.act-body {
  display: grid;
  gap: 0.4rem;
}
.act-name {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.34rem, 1.84vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--slate);
  line-height: 1.15;
}
.act-name em {
  font-style: italic;
  color: var(--terra-d);
}
.act-desc {
  font-family: var(--body);
  font-size: clamp(0.96rem, 1.1vw, 1.04rem);
  line-height: 1.6;
  color: var(--steel);
  max-width: 70ch;
}
.act-desc strong { color: var(--slate); font-weight: 600; }

.act-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--terra-d);
  font-weight: 600;
  text-align: end;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .act-row { grid-template-columns: 3.4rem 1fr; gap: 1rem; }
  .act-meta { grid-column: 1 / -1; text-align: start; padding-inline-start: 4.4rem; }
}

/* ═══════════════════════════════════════════════════════════════
   §05 PHILOSOPHY — five lines, full-bleed slate
   ═══════════════════════════════════════════════════════════════ */
.s-philosophy {
  background: var(--paper);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 3px solid var(--slate);
  border-bottom: 3px solid var(--slate);
}
@media (max-width: 980px) { .philo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .philo-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) {
  .s-hero::after {
    display: none;
  }
  .s-hero .frame {
    padding: 0;
  }

}

.philo-cell {
  padding: clamp(1.8rem, 2.6vw, 2.2rem) clamp(1.4rem, 2vw, 1.6rem);
  border-inline-end: 1px solid var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  background: var(--paper);
  position: relative;
  transition: background 280ms;
  min-height: 260px;
}
.philo-cell:last-child { border-inline-end: none; }
@media (max-width: 980px) {
  .philo-cell { border-inline-end: 1px solid var(--bone); border-bottom: 1px solid var(--bone); }
  .philo-cell:nth-child(2n) { border-inline-end: none; }
  .philo-cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 580px) {
  .philo-cell { border-inline-end: none; border-bottom: 1px solid var(--bone); }
  .philo-cell:last-child { border-bottom: none; }
}
.philo-cell:hover { background: var(--linen); }

.philo-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--terra-d);
  font-weight: 700;
}
.philo-text {
  font-family: var(--display);
  font-variation-settings: "wght" 600;
  font-size: clamp(1.18rem, 1.46vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.22;
  color: var(--slate);
}
.philo-text em {
  font-style: italic;
  color: var(--terra-d);
  font-variation-settings: "wght" 600;
}

/* ═══════════════════════════════════════════════════════════════
   §06 GEOGRAPHY — Europe table
   ═══════════════════════════════════════════════════════════════ */
.s-geo {
  background: var(--lime-wash);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.geo-anchor {
  background: var(--slate);
  color: var(--on-dark);
  padding: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem 1.8rem;
  border-inline-start: 4px solid var(--terra);
}
@media (max-width: 720px) { .geo-anchor { grid-template-columns: 1fr; } }
.geo-anchor .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.geo-anchor .v {
  font-family: var(--display);
  font-variation-settings: "wght" 600;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--lime-wash);
  letter-spacing: -0.01em;
}
.geo-anchor .sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--on-dark-dim);
  margin-top: 0.2rem;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--slate);
  border-bottom: 3px solid var(--slate);
}
@media (max-width: 880px) { .geo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .geo-grid { grid-template-columns: 1fr; } }

.geo-cell {
  padding: 1.2rem 1.4rem;
  border-inline-end: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  display: grid;
  gap: 0.35rem;
  transition: background 220ms;
}
.geo-cell:nth-child(3n) { border-inline-end: none; }
@media (max-width: 880px) {
  .geo-cell { border-inline-end: 1px solid var(--bone); }
  .geo-cell:nth-child(3n) { border-inline-end: 1px solid var(--bone); }
  .geo-cell:nth-child(2n) { border-inline-end: none; }
}
@media (max-width: 540px) {
  .geo-cell { border-inline-end: none; }
  .geo-cell:nth-child(2n) { border-inline-end: none; }
}
.geo-cell:hover { background: var(--paper); }
.geo-cell .code {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--terra-d);
  font-weight: 700;
}
.geo-cell .country {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.08rem, 1.34vw, 1.18rem);
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.014em;
}
.geo-cell .note {
  font-family: var(--body);
  font-size: 0.86rem;
  color: var(--graphite);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   §07 RECORD — corporate registry
   ═══════════════════════════════════════════════════════════════ */
.s-record {
  background: var(--paper);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}

.rec-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 760px) { .rec-cols { grid-template-columns: 1fr; } }
.rec-block { border-top: 3px solid var(--slate); padding-top: 1rem; }
.rec-block h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-d);
  font-weight: 700;
  margin-bottom: 1rem;
}

.rec-table { width: 100%; border-collapse: collapse; }
.rec-table th, .rec-table td {
  padding: 0.62rem 0;
  text-align: start;
  vertical-align: top;
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px dotted var(--bone);
}
.rec-table th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 600;
  width: 44%;
  padding-inline-end: 1rem;
}
.rec-table td { color: var(--slate); font-weight: 500; }
.rec-table td em { color: var(--terra-d); font-style: italic; }

.rec-not {
  margin-top: clamp(2rem, 4vh, 3rem);
  padding: clamp(1.6rem, 2.8vw, 2rem);
  background: var(--slate);
  color: var(--on-dark);
  border-inline-start: 5px solid var(--terra);
}
.rec-not h3 {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.18rem, 1.5vw, 1.35rem);
  color: var(--terra-l);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}
.rec-not ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem;
  font-family: var(--body);
  font-size: 0.94rem;
  color: var(--on-dark-soft);
  line-height: 1.55;
}
.rec-not li {
  display: flex;
  gap: 0.6em;
  break-inside: avoid;
}
.rec-not li::before {
  content: "—";
  color: var(--terra-l);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 640px) { .rec-not ul { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   §08 POLICY — standing notices
   ═══════════════════════════════════════════════════════════════ */
.s-policy {
  background: var(--lime-wash);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--bone);
}
.policy-list {
  max-width: 78ch;
  counter-reset: policy;
}
.policy-item {
  counter-increment: policy;
  padding: 1.8rem 0;
  border-top: 1px solid var(--bone);
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1.4rem;
}
.policy-item:last-child { border-bottom: 1px solid var(--bone); }
.policy-item::before {
  content: "▮ " counter(policy, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--terra-d);
  font-weight: 700;
  padding-top: 0.4rem;
  white-space: nowrap;
}
.policy-body h3 {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.18rem, 1.4vw, 1.32rem);
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.012em;
  line-height: 1.22;
  margin-bottom: 0.4rem;
}
.policy-body .tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-d);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.policy-body p {
  font-family: var(--body);
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--steel);
}
.policy-body p + p { margin-top: 0.7rem; }
.policy-body p strong { color: var(--slate); font-weight: 600; }
.policy-body p code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--bone);
  padding: 0 0.3em;
  border: 1px solid var(--linen);
  color: var(--slate);
}
@media (max-width: 560px) {
  .policy-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ═══════════════════════════════════════════════════════════════
   §09 CHANNEL — form on slate
   ═══════════════════════════════════════════════════════════════ */
.s-channel {
  background: var(--slate);
  color: var(--on-dark);
  padding: clamp(90px, 12vh, 140px) 0;
  border-bottom: 1px solid var(--slate-d);
  position: relative;
  overflow: hidden;
}
.s-channel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 900px 600px at 90% 10%, rgba(181, 86, 63, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.s-channel .ch-meta { border-top-color: var(--terra); }
.s-channel .ch-meta .num { color: var(--terra-l); }
.s-channel .ch-meta .ttl { color: var(--mist); }
.s-channel .ch-display { color: var(--lime-wash); }
.s-channel .ch-display em { color: var(--terra-l); }
.s-channel .ch-lede { color: var(--on-dark-soft); }
.s-channel .ch-lede strong { color: var(--lime-wash); }
.s-channel .ch-lede em { color: var(--terra-l); }

.chan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1180px;
}
@media (max-width: 880px) { .chan-grid { grid-template-columns: 1fr; } }
.chan-left p {
  font-family: var(--body);
  font-size: clamp(1.02rem, 1.16vw, 1.12rem);
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 42ch;
}
.chan-left p + p { margin-top: 0.9rem; }
.chan-left p em { color: var(--terra-l); font-style: italic; }
.chan-meta {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--steel);
  display: grid;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--on-dark-soft);
  line-height: 1.55;
}
.chan-meta div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.chan-meta strong {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 700;
}
.chan-meta div > span { color: var(--lime-wash); }

.chan-form {
  background: var(--slate-d);
  color: var(--on-dark);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  position: relative;
  border: 1px solid var(--steel);
}
.chan-form::before {
  content: "▮ OPEN CHANNEL · 01";
  position: absolute;
  top: -10px;
  inset-inline-start: clamp(1.4rem, 3vw, 2rem);
  background: var(--slate);
  padding: 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--terra-l);
  font-weight: 700;
}

.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin-bottom: 0.4rem;
}
.field label .req { color: var(--terra-l); margin-inline-start: 0.3em; }
.field input,
.field select,
.field textarea {
  background: var(--slate);
  border: 1px solid var(--graphite);
  border-radius: 0;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--lime-wash);
  padding: 0.7rem 0.85rem;
  width: 100%;
  outline: none;
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--terra);
  background: var(--slate-d);
  box-shadow: 0 0 0 3px rgba(181, 86, 63, 0.2);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--terra) 50%), linear-gradient(135deg, var(--terra) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 2px), calc(100% - 10px) calc(50% + 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field-hp { position: absolute; inset-inline-start: -9999px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0 1.3rem;
  padding: 0.9rem 1.1rem;
  background: var(--slate);
  border: 1px dashed var(--graphite);
}
.consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 4px;
  accent-color: var(--terra);
  flex-shrink: 0;
}
.consent label {
  font-family: var(--body);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
  letter-spacing: 0;
  font-weight: 400;
}
.consent label a { color: var(--terra-l); text-decoration: underline; }

button.submit {
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--terra);
  color: var(--lime-wash);
  border: 1px solid var(--terra);
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  transition: all 220ms;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
button.submit::after { content: "▮"; font-family: var(--mono); }
button.submit:hover {
  background: var(--ochre); border-color: var(--ochre); color: var(--slate);
}
button.submit:hover::after { color: var(--slate); }
button.submit:disabled { opacity: 0.55; cursor: not-allowed; }

.form-msg {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 0.92rem;
  border-inline-start: 3px solid var(--terra);
  background: var(--slate);
  display: none;
  color: var(--lime-wash);
}
.form-msg.show { display: block; }
.form-msg.err {
  border-inline-start-color: var(--terra);
  background: rgba(181, 86, 63, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   §10 FOOTER
   ═══════════════════════════════════════════════════════════════ */
.s-foot {
  background: var(--slate-deep);
  color: var(--on-dark-soft);
  padding: clamp(70px, 10vh, 100px) clamp(24px, 4vw, 56px) clamp(30px, 5vh, 50px);
  position: relative;
  overflow: hidden;
}
.s-foot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--terra) 0%, var(--terra) 50%, var(--ochre) 50%, var(--ochre) 100%);
}
.foot-inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }

.foot-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--steel);
  margin-bottom: 2rem;
}
.foot-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--display);
  font-variation-settings: "wght" 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime-wash);
  line-height: 1;
}
.foot-brand .mark { color: var(--terra); font-family: var(--mono); }
.foot-reg {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-l);
  font-weight: 700;
}

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}
@media (max-width: 880px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

.foot-col h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-l);
  margin-bottom: 1rem;
  font-weight: 700;
}
.foot-col p {
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 44ch;
}
.foot-col ul { list-style: none; }
.foot-col li {
  padding: 0.3rem 0;
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--on-dark-soft);
  line-height: 1.5;
}
.foot-col li a:hover { color: var(--terra-l); }

.foot-build {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--steel);
  font-family: var(--body);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--on-dark-dim);
  font-weight: 400;
  max-width: 80ch;
}
.foot-build strong { color: var(--lime-wash); font-weight: 600; }

.foot-fine {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--steel);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE
   ═══════════════════════════════════════════════════════════════ */
#cookie {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--slate);
  color: var(--on-dark);
  padding: 1rem 1.4rem;
  z-index: 90;
  display: none;
  border: 1px solid var(--steel);
  border-inline-start: 4px solid var(--terra);
  box-shadow: 0 18px 50px rgba(11, 21, 33, 0.5);
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.55;
}
#cookie.show { display: block; }
#cookie a { color: var(--terra-l); text-decoration: underline; }
#cookie code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--slate-d);
  padding: 0 0.3em;
  border: 1px solid var(--steel);
  color: var(--lime-wash);
}
.cookie-actions { display: flex; gap: 0.6rem; margin-top: 0.7rem; flex-wrap: wrap; }
.cookie-actions button {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--graphite);
  cursor: pointer;
  transition: all 200ms;
}
.cookie-actions button.accept {
  background: var(--terra);
  color: var(--lime-wash);
  border-color: var(--terra);
}
.cookie-actions button:hover {
  background: var(--ochre); color: var(--slate); border-color: var(--ochre);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}