/* =========================================================
   Emko Website — shared styles
   Built from the Company Presentation deck design system
   ========================================================= */

:root {
  --indigo: #3838DC;
  --indigo-deep: #1F1FA8;
  --indigo-tint: #ECECFB;
  --ink: #15152B;
  --ink-soft: #4A4A6A;
  --cream: #FBF9F4;
  --sand: #EDE6D7;
  --sand-deep: #C9BFA5;
  --line: #E4E0D2;

  --pad-x: clamp(24px, 6vw, 110px);
  --max-w: 1440px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 28px; }
.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--indigo);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
@media (max-width: 1040px) { .nav-cta { display: none; } }

/* ============ LANG SWITCH ============ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.4);
}
.lang-switch a {
  padding: 8px 12px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.15s;
  letter-spacing: 0.12em;
}
.lang-switch a.active {
  background: var(--ink);
  color: #fff;
}
.lang-switch a:not(.active):hover {
  color: var(--ink);
  background: rgba(0,0,0,0.04);
}
.nav-cta:hover { background: var(--indigo); }
.nav-cta .arrow { display: inline-block; transition: transform 0.18s ease; }
.nav-cta:hover .arrow { transform: translateX(2px); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--indigo);
  margin: 0 0 24px;
  display: inline-block;
}
.eyebrow.muted { color: var(--ink-soft); }
.eyebrow .num {
  font-family: 'JetBrains Mono', monospace;
  margin-right: 12px;
  color: var(--indigo);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}
h1 .em, h2 .em, h3 .em { font-style: normal; color: var(--indigo); }

p.body, .body {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ============ SECTIONS ============ */
section { position: relative; }
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.sec {
  padding: clamp(72px, 11vw, 144px) 0;
}
.sec.tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec.cream { background: var(--cream); }
.sec.sand  { background: var(--sand); }
.sec.indigo {
  background: var(--indigo);
  color: #fff;
}
.sec.ink {
  background: var(--ink);
  color: #fff;
}
.sec.indigo h1, .sec.indigo h2, .sec.indigo h3,
.sec.ink    h1, .sec.ink    h2, .sec.ink    h3 { color: #fff; }
.sec.indigo .body, .sec.ink .body { color: rgba(255,255,255,0.78); }
.sec.indigo .eyebrow, .sec.ink .eyebrow { color: rgba(255,255,255,0.7); }
.sec.indigo .mono, .sec.ink .mono { color: rgba(255,255,255,0.65); }
.sec.indigo h1 .em, .sec.indigo h2 .em,
.sec.ink h1 .em, .sec.ink h2 .em { color: #fff; opacity: 0.55; }

/* ============ HERO ============ */
.hero {
  background: var(--cream);
  padding: clamp(60px, 9vw, 120px) 0 clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(48px, 8vw, 100px);
}
.hero-meta-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-meta-tag::before {
  content: ""; width: 44px; height: 1px; background: var(--ink-soft);
}
.hero-meta-right {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

.hero-title {
  font-size: clamp(56px, 9.5vw, 160px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--ink);
  margin: 0;
  max-width: 1400px;
}
.hero-title .em { font-style: normal; color: var(--indigo); }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(56px, 8vw, 96px);
}
.hero-sub {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 640px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: background 0.18s ease;
}
.hero-cta:hover { background: var(--indigo); }
.hero-cta .arrow { transition: transform 0.18s ease; }
.hero-cta:hover .arrow { transform: translateX(3px); }

.hero-deco {
  position: absolute;
  right: -180px;
  top: 38%;
  width: 760px;
  height: 760px;
  border: 2px solid var(--indigo);
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.hero-deco::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 36%;
  background: var(--indigo);
  opacity: 0.5;
}
@media (max-width: 780px) { .hero-deco { display: none; } }

/* ============ PAGE HEAD (for inner pages) ============ */
.page-head {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.page-head-title {
  font-size: clamp(48px, 7.2vw, 112px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.page-head-title .em { color: var(--indigo); font-style: normal; }
.page-head-desc {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 800px) {
  .page-head-grid { grid-template-columns: 1fr; }
}

/* ============ Section header ============ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head h2 {
  font-size: clamp(36px, 5vw, 76px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sec-head-desc {
  font-size: clamp(16px, 1.1vw, 18px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 560px;
  justify-self: end;
}
.sec.indigo .sec-head-desc, .sec.ink .sec-head-desc { color: rgba(255,255,255,0.75); }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head-desc { justify-self: start; }
}

/* ============ Three business lines (division cards) ============ */
.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.division {
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 360px;
}
.division:last-child { border-right: none; padding-right: 0; padding-left: 36px; }
.division:not(:first-child):not(:last-child) { padding-left: 36px; }
.division .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--indigo);
  letter-spacing: 0.1em;
}
.division h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.division .sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.division ul {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.division ul li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.division ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 9px; height: 1px; background: var(--indigo);
}
.division .more {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.division .more:hover { color: var(--indigo-deep); }
@media (max-width: 900px) {
  .divisions { grid-template-columns: 1fr; }
  .division { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
  .division:last-child { border-bottom: none; }
}

/* ============ Stats / Key figures ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  border-top: 1px solid currentColor;
  padding-top: 24px;
  opacity: 1;
}
.sec.indigo .stat, .sec.ink .stat { border-top-color: rgba(255,255,255,0.3); }
.cream .stat, .sand .stat { border-top-color: var(--line); }
.stat-num {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--indigo);
  font-feature-settings: "tnum";
}
.sec.indigo .stat-num, .sec.ink .stat-num { color: #fff; }
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 14px;
}
.sec.indigo .stat-label, .sec.ink .stat-label { color: rgba(255,255,255,0.65); }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============ Sectors grid ============ */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sector {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.sec.sand .sector { background: #fff; }
.sector .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--indigo);
  letter-spacing: 0.12em;
}
.sector h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.sector p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 1000px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .sectors { grid-template-columns: 1fr; } }

/* ============ Partners ============ */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  text-align: center;
}
.partner-name {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.partner-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
@media (max-width: 800px)  { .partners { grid-template-columns: 1fr 1fr; } }

/* ============ Service cards (8-up grid) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.service-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.service-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.service-card .partner-tag {
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  font-weight: 500;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .services-grid { grid-template-columns: 1fr; } }

/* ============ Detail blocks (image + feature list) ============ */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.detail.reverse > :first-child { order: 2; }
.detail-text h3 {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.detail-text > .body { max-width: 540px; }
.feature-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.feature-list li::before {
  content: "→";
  color: var(--indigo);
  font-weight: 500;
}
.detail-image {
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(0,0,0,0.04) 18px 19px);
  border: 1px solid var(--sand-deep);
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
}
.detail-image.photo {
  background: var(--ink);
  background-image: none;
  border: none;
  padding: 0;
}
.detail-image.photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

/* ============ DATA PANELS (replace photos) ============ */
.data-panel {
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
  gap: 22px;
  width: 100%;
  min-height: 420px;
  box-sizing: border-box;
  font-feature-settings: "tnum";
}
.data-panel.cream { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.data-panel.sand-bg { background: var(--sand); color: var(--ink); border: 1px solid var(--sand-deep); }

.data-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.data-head .tag { opacity: 1; font-weight: 500; }
.data-head .meta { opacity: 0.55; }
.data-panel.cream .data-head,
.data-panel.sand-bg .data-head { border-bottom-color: var(--line); }
.data-panel.sand-bg .data-head { border-bottom-color: var(--sand-deep); }

.data-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.data-rows { display: flex; flex-direction: column; }
.data-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  gap: 16px;
}
.data-row:last-child { border-bottom: none; padding-bottom: 6px; }
.data-panel.cream .data-row,
.data-panel.sand-bg .data-row { border-bottom-color: var(--line); }
.data-row .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.55;
  font-weight: 500;
  padding-top: 4px;
}
.data-row .label {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.data-row .sub {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.6;
  font-weight: 400;
  line-height: 1.4;
}
.data-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.75;
  font-weight: 500;
  text-align: right;
  padding-top: 4px;
  white-space: nowrap;
}

.data-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  opacity: 0.75;
}
.data-panel.cream .data-foot,
.data-panel.sand-bg .data-foot { border-top-color: var(--line); }

.schematic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  flex: 1;
  min-height: 220px;
}
.schematic svg { max-width: 100%; max-height: 100%; height: auto; }

.data-panel.compact { padding: 28px 24px; gap: 14px; min-height: 0; }
.data-panel.compact .data-title { font-size: 22px; }
.data-panel.compact .data-row { grid-template-columns: 1fr; padding: 10px 0; gap: 4px; }
.data-panel.compact .data-row .label { font-size: 15px; }
.data-panel.compact .data-row .sub { font-size: 12px; }
.data-panel.compact .data-head { font-size: 10px; padding-bottom: 12px; }

/* Stack two panels vertically in a slot */
.data-stack {
  display: flex; flex-direction: column;
  gap: 20px;
  height: 100%;
}
.data-stack > .data-panel { flex: 1; min-height: 0; }

@media (max-width: 700px) {
  .data-row { grid-template-columns: 36px 1fr; }
  .data-row .val { grid-column: 2; text-align: left; padding-top: 0; opacity: 0.55; }
}
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 28px;
}
.partner-pill .dot { width: 7px; height: 7px; background: var(--indigo); border-radius: 50%; }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .detail.reverse > :first-child { order: 0; }
  .detail-image { min-height: 280px; }
}

/* ============ Values row (mission) ============ */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
}
.value {
  padding: 30px 28px 30px 28px;
  border-left: 1px solid rgba(255,255,255,0.25);
  display: flex; flex-direction: column; gap: 14px;
}
.value:first-child { padding-left: 0; border-left: none; }
.value .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  opacity: 0.6;
}
.value h3 {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.value p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value { padding: 24px; border-left: 1px solid rgba(255,255,255,0.25); }
  .value:first-child { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.25); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
}

/* ============ Locations ============ */
.locations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.location {
  border-top: 2px solid var(--indigo);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 240px;
}
.location .country {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--indigo);
  text-transform: uppercase;
  font-weight: 500;
}
.location .city {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.location .addr {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: auto;
}
@media (max-width: 1000px) { .locations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .locations { grid-template-columns: 1fr; } }

/* ============ Quote slide ============ */
.quote {
  padding: clamp(80px, 12vw, 180px) 0;
}
.quote-mark {
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.4;
  color: var(--indigo);
  margin: 0 0 -10px -8px;
  font-weight: 700;
}
.sec.indigo .quote-mark, .sec.ink .quote-mark { color: #fff; }
.quote-text {
  font-size: clamp(40px, 6.5vw, 104px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  max-width: 1500px;
}
.quote-text .hl { opacity: 0.55; }
.quote-attr {
  margin-top: 36px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.sec.cream .quote-attr, .sec.sand .quote-attr { color: var(--ink-soft); }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-top: clamp(56px, 7vw, 80px);
}
.contact-block .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.sec.cream .contact-block .lbl, .sec.sand .contact-block .lbl { color: var(--ink-soft); }
.contact-block .val {
  font-size: clamp(18px, 1.6vw, 24px);
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.sec.cream .contact-block .val, .sec.sand .contact-block .val { color: var(--ink); }
.contact-block .val small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.sec.cream .contact-block .val small, .sec.sand .contact-block .val small { color: var(--ink-soft); }
.contact-block a.val:hover { color: var(--indigo); }
.sec.indigo .contact-block a.val:hover, .sec.ink .contact-block a.val:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ CTA Banner (closing) ============ */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: #fff;
}
.cta-banner h2 .em { color: var(--indigo); font-style: normal; }
.cta-banner .tag {
  margin-top: 32px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.cta-banner .btn-row {
  margin-top: 48px;
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  background: #fff; color: var(--ink);
  transition: all 0.18s ease;
}
.btn:hover { background: var(--indigo); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn.indigo { background: var(--indigo); color: #fff; }
.btn.indigo:hover { background: var(--indigo-deep); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(64px, 8vw, 96px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 32px; margin-bottom: 24px; }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 360px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer p a { color: #fff; font-size: 14.5px; transition: color 0.15s; }
.footer ul a:hover, .footer p a:hover { color: var(--indigo); opacity: 1; }
.footer .addr { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.footer .addr a { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .links { display: flex; gap: 18px; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Misc ============ */
.divider-line { height: 1px; background: var(--line); width: 100%; }
.sec.indigo .divider-line, .sec.ink .divider-line { background: rgba(255,255,255,0.15); }

.tag-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.tag-row .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
}
.sec.indigo .tag-row .tag, .sec.ink .tag-row .tag {
  border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
}

/* In-page anchor offset for sticky nav */
section[id] { scroll-margin-top: 96px; }
