/* MEA Europe — shared stylesheet
   Colors/type carried over 1:1 from the approved design canvas. */

:root {
  --ink: #1B2A3A;
  --panel: #223347;
  --panel-dark: #141F2C;
  --border: #2C3E52;
  --border-2: #3A4E63;
  --border-3: #3C4A5C;
  --text: #FAF8F3;
  --text-dim: #D6DAE0;
  --text-dim-2: #C6CDD6;
  --text-dim-3: #B3BBC6;
  --text-muted: #94A0AE;
  --text-faint: #8E99A7;
  --gold: #C79E62;
  --gold-dark: #AD8449;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }
::selection { background: var(--gold-dark); color: var(--text); }
img { max-width: 100%; }

.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 42, 58, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 104px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; width: auto; display: block; }

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim-2);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); }

.lang-switch {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.lang-switch a[aria-current="true"] { color: var(--text); }

.lang-notice {
  display: none;
  background: var(--gold-dark);
  color: var(--ink);
  padding: 10px clamp(20px, 4vw, 48px);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}
.lang-notice.is-visible { display: block; }

/* ---------- Layout / sections ---------- */

main { flex: 1; }

.section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}
.section--panel { background: var(--panel); }
.section:last-child { border-bottom: none; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px);
}
.wrap--tight { padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 48px) clamp(48px, 7vw, 90px); }
.wrap--doc { max-width: 820px; padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

h1, h2 { margin: 0; }

.h-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 16ch;
  text-wrap: balance;
}

.h-section {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.h-page {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.h-doc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.h-doc-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  margin: 0 0 16px;
}

.body-lg {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 52ch;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--text-dim-2);
  font-weight: 300;
  margin: 0;
  max-width: 52ch;
}

.body-doc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim-2);
  font-weight: 300;
  max-width: 60ch;
  margin: 0 0 16px;
}
.body-doc.intro { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 52px); }
.body-doc--end { margin-bottom: clamp(32px, 4vw, 44px); }
.body-doc strong { font-weight: 500; color: var(--text); }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(36px, 5vw, 52px); }

.btn {
  display: inline-block;
  padding: 17px 34px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: Archivo, sans-serif;
  border: none;
}
.btn-primary { background: var(--gold-dark); color: var(--text); }
.btn-primary:hover { background: var(--text); color: var(--ink); }
.btn-outline { border: 1px solid #43536380; color: var(--text); background: none; }
.btn-outline:hover { border-color: var(--gold-dark); color: var(--gold); }

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-dim-2);
  padding: 17px 4px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn-linkedin:hover { color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 104px);
  display: flex;
  align-items: center;
}
.hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: 100%;
}
.hero-art { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hero-art img { width: 100%; max-width: clamp(240px, 28vw, 440px); height: auto; display: block; }
.hero-ring {
  position: absolute;
  right: -14%;
  top: -22%;
  width: min(52vw, 700px);
  height: min(52vw, 700px);
  border: 1px solid var(--border-3);
  border-radius: 50%;
  pointer-events: none;
}
.hero-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--gold-dark); pointer-events: none; }

/* ---------- Numbered feature grids ---------- */

.grid-numbered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
}
.grid-numbered .item {
  border-top: 1px solid var(--border-3);
  padding: 24px 0;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.grid-numbered .item.accent { border-top: 2px solid var(--gold-dark); }
.grid-numbered .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: var(--gold);
  width: 38px;
  flex-shrink: 0;
}
.grid-numbered .item-title { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.grid-numbered .item-body { font-size: 15px; line-height: 1.65; color: var(--text-dim-3); font-weight: 300; }

/* ---------- How we work ---------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.how-grid .h-section { margin: 0; max-width: 24ch; }
.how-list { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.how-list .item { border-top: 2px solid var(--gold-dark); padding-top: 18px; }
.how-list .item-title { font-size: 17px; font-weight: 500; }

/* ---------- About / founder ---------- */

.about-hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-hero .lockup { width: 100%; max-width: clamp(260px, 32vw, 460px); height: auto; display: block; margin: 0 0 clamp(32px, 4vw, 44px); }

.founder-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: clamp(120px, 15vw, 168px);
  flex-shrink: 0;
  background: var(--ink);
  border: 1px solid var(--border);
  overflow: hidden;
}
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-info { flex: 1 1 260px; min-width: 0; }
.founder-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
  margin-bottom: 8px;
}
.founder-role { font-size: 14px; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 22px; }
.founder-bio { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; color: var(--text-dim-2); font-weight: 300; margin: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-intro { font-size: 16px; line-height: 1.75; color: var(--text-dim-2); font-weight: 300; margin: 0; max-width: 44ch; }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea {
  border: 1px solid var(--border-2);
  background: #22344A;
  padding: 13px 14px;
  font-family: Archivo, sans-serif;
  font-size: 15px;
  color: var(--text);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); }

.form-note { font-size: 13px; line-height: 1.65; color: var(--text-muted); font-weight: 300; margin: 0; max-width: 48ch; }
.form-note a { color: var(--gold); border-bottom: 1px solid var(--border-2); }

.form-status {
  display: none;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--border-2);
  background: var(--panel);
  padding: 14px 16px;
}
.form-status.is-visible { display: block; }
.form-status.is-error { color: #E1897E; }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-card .block { border-top: 1px solid var(--border-2); padding-top: 22px; }
.contact-card .block:first-child { border-top: none; padding-top: 0; }
.contact-card .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.contact-card .value-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.45; }
.contact-card .value { font-size: 16px; color: var(--text-dim-2); }
.contact-card .linkedin-inline { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--gold); }
.contact-card .linkedin-inline:hover { color: var(--text); }
.contact-card .row-split { display: flex; justify-content: space-between; gap: 16px; }
.contact-card .row-split span:first-child { font-size: 13px; color: var(--text-muted); }
.contact-card .row-split span:last-child { font-size: 13px; }

/* ---------- Legal / privacy doc rows ---------- */

.doc-rows { display: flex; flex-direction: column; margin-bottom: clamp(36px, 5vw, 52px); }
.doc-rows .row {
  border-top: 1px solid var(--border);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.doc-rows .row:last-child { border-bottom: 1px solid var(--border); }
.doc-rows .row .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.doc-rows .row .v { font-size: 15px; text-align: right; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  background: var(--panel-dark);
  color: var(--text-faint);
  border-top: 4px solid var(--gold-dark);
}
.site-footer .bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}
.site-footer .rights { font-size: 12px; letter-spacing: 0.04em; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .links a { font-size: 12px; letter-spacing: 0.04em; color: var(--text-faint); }
.site-footer .links a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .site-header .bar { height: auto; padding-top: 16px; padding-bottom: 16px; row-gap: 12px; }
  .main-nav { gap: 20px; }
  .lang-switch { padding-left: 0; border-left: none; }
}
