/* ============================================================
   Jennifer Calmelat — Investigation & Safeguarding Consultant
   Editorial "international advisory" design system
   ============================================================ */

:root {
  --paper: #f5f0e8;
  --paper-2: #ece4d6;
  --paper-3: #e4dac8;
  --ink: #191713;
  --ink-2: #575147;
  --ink-3: #847c6f;
  --acc: #a8512a;
  --acc-deep: #7e3c1f;
  --acc-soft: rgba(168, 81, 42, 0.1);
  --line: rgba(25, 23, 19, 0.16);
  --line-soft: rgba(25, 23, 19, 0.09);
  --paper-on-ink: #f5f0e8;
  --muted-on-ink: rgba(245, 240, 232, 0.62);
  --line-on-ink: rgba(245, 240, 232, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  background: var(--paper);
}

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: var(--acc); color: var(--paper); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ Typography helpers ============ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--acc);
  flex: none;
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 420;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: 18px;
  max-width: 16em;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 380;
  color: var(--acc);
}
.section-head .lede {
  margin-top: 18px;
  max-width: 560px;
  font-size: 17px;
  color: var(--ink-2);
}

section { padding: clamp(72px, 10vw, 130px) 0; }

/* ============ Reveal animations ============ */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(245, 240, 232, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 560;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand .brand-dot { color: var(--acc); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch button {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 5px 7px;
  border-radius: 3px;
  transition: color 0.2s ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--acc); }
.lang-switch .sep { color: var(--line); font-size: 11px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover { background: var(--acc-deep); border-color: var(--acc-deep); }
.btn-accent {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}
.btn-accent:hover { background: var(--acc-deep); border-color: var(--acc-deep); }
.btn-ghost-light {
  border-color: var(--line-on-ink);
  color: var(--paper-on-ink);
}
.btn-ghost-light:hover { border-color: var(--paper-on-ink); }
.header-cta { padding: 11px 22px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--gutter) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 420;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu-foot {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.mobile-menu-foot .lang-switch button { font-size: 13px; }

body.menu-locked { overflow: hidden; }
body.menu-locked .nav-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-locked .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-locked .nav-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  padding: clamp(140px, 18vh, 190px) 0 0;
  position: relative;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 26px 0 28px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 360;
  color: var(--acc);
}
.hero .lead {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 33em;
  margin-bottom: 38px;
}
.hero .lead strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-figure { position: relative; }
.hero-figure .frame {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
}
.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4.05;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.92);
}
.hero-badge {
  position: absolute;
  left: clamp(-30px, -3vw, -16px);
  bottom: clamp(26px, 4vw, 48px);
  background: var(--ink);
  color: var(--paper-on-ink);
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 250px;
  box-shadow: 0 24px 50px -18px rgba(25, 23, 19, 0.45);
}
.hero-badge .hb-title {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 480;
  line-height: 1.35;
}
.hero-badge .hb-sub {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  margin-top: 6px;
}

/* Trust strip */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex: none;
}
.trust-names {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2.6vw, 38px);
  flex-wrap: wrap;
}
.trust-names span {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 480;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ============ Services ============ */
.services { background: var(--paper); }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1.05fr 1.2fr 60px;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) clamp(4px, 1vw, 14px);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: background 0.35s ease;
}
.service-row:hover { background: var(--paper-2); }
.service-num {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 360;
  font-style: italic;
  color: var(--acc);
  line-height: 1.2;
}
.service-row h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 460;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 13em;
}
.service-body p { color: var(--ink-2); font-size: 15.5px; max-width: 36em; }
.service-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--acc-deep);
  background: var(--acc-soft);
  border: 1px solid rgba(168, 81, 42, 0.18);
  padding: 4px 11px;
  border-radius: 100px;
}
.service-go {
  justify-self: end;
  align-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.service-row:hover .service-go {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: rotate(-45deg);
}
.services-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============ Approach (dark) ============ */
.approach {
  background: var(--ink);
  color: var(--paper-on-ink);
  position: relative;
  overflow: clip;
}
.approach .eyebrow { color: var(--acc); }
.approach .section-head h2 { color: var(--paper-on-ink); }
.approach .section-head .lede { color: var(--muted-on-ink); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-on-ink);
}
.step {
  border-right: 1px solid var(--line-on-ink);
  padding: 8px clamp(18px, 2.2vw, 30px) 12px;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(40px, 4.6vw, 60px);
  color: var(--acc);
  line-height: 1;
  margin-bottom: 22px;
}
.step h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 460;
  line-height: 1.25;
  margin-bottom: 12px;
}
.step p { font-size: 14.5px; line-height: 1.7; color: var(--muted-on-ink); }
.approach-note {
  margin-top: clamp(44px, 6vw, 64px);
  border: 1px solid var(--line-on-ink);
  border-radius: 12px;
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 720px;
}
.approach-note svg { flex: none; margin-top: 3px; color: var(--acc); }
.approach-note p { font-size: 14.5px; color: var(--muted-on-ink); }
.approach-note strong { color: var(--paper-on-ink); font-weight: 600; }

/* ============ About / Why me ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about-figure { position: sticky; top: 110px; }
.about-figure .frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-figure img {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.95);
}
.about-figure figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 420;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 18px 0 24px;
}
.about-copy h2 em { font-style: italic; color: var(--acc); font-weight: 380; }
.about-copy > p {
  color: var(--ink-2);
  font-size: 16.5px;
  margin-bottom: 18px;
  max-width: 38em;
}
.about-copy > p strong { color: var(--ink); font-weight: 600; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 36px 0;
}
.stat {
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 420;
  line-height: 1;
  color: var(--ink);
}
.stat .num sup {
  font-size: 0.55em;
  color: var(--acc);
  font-style: italic;
  margin-left: 2px;
}
.stat .lbl {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.lang-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
}
.lang-chip small {
  font-size: 11px;
  font-weight: 500;
  color: var(--acc);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Experience ============ */
.experience { background: var(--paper-2); }
.xp-list { border-top: 1px solid var(--line); }
.xp-item { border-bottom: 1px solid var(--line); }
.xp-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 150px 1.4fr 1fr 44px;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 30px) 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.xp-item summary::-webkit-details-marker { display: none; }
.xp-item summary:hover { background: rgba(25, 23, 19, 0.03); }
.xp-date {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.xp-role {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 470;
  line-height: 1.25;
}
.xp-org { font-size: 13.5px; color: var(--ink-2); }
.xp-toggle {
  justify-self: end;
  align-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s ease;
}
.xp-toggle::before,
.xp-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform 0.35s var(--ease);
}
.xp-toggle::before { width: 11px; height: 1.4px; }
.xp-toggle::after { width: 1.4px; height: 11px; }
.xp-item[open] .xp-toggle { background: var(--ink); border-color: var(--ink); }
.xp-item[open] .xp-toggle::before { background: var(--paper); }
.xp-item[open] .xp-toggle::after { transform: rotate(90deg); background: var(--paper); }
.xp-detail {
  padding: 0 4px clamp(22px, 3vw, 32px);
  max-width: 760px;
}
.xp-detail ul { padding-left: 0; }
.xp-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.xp-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.4px solid var(--acc);
}

/* ============ Credentials ============ */
.credentials .cred-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.cred-col-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 480;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cred-col-title .count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.edu-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.edu-item .edu-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.edu-item h4 {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 470;
  margin: 6px 0 4px;
  line-height: 1.3;
}
.edu-item .edu-field { font-size: 13.5px; color: var(--ink-2); }
.edu-item .edu-place { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

.cert-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cert-item h4 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 470;
  line-height: 1.3;
}
.cert-item .cert-org { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.cert-item .cert-date { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.cert-status {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 3px;
}
.cert-status.ok {
  color: #2e5e34;
  background: rgba(63, 112, 71, 0.12);
  border: 1px solid rgba(63, 112, 71, 0.25);
}
.cert-status.ongoing {
  color: var(--acc-deep);
  background: var(--acc-soft);
  border: 1px solid rgba(168, 81, 42, 0.25);
}

/* ============ Contact (dark) ============ */
.contact {
  background: var(--ink);
  color: var(--paper-on-ink);
}
.contact .eyebrow { color: var(--acc); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 20px 0 22px;
}
.contact h2 em { font-style: italic; color: var(--acc); }
.contact .contact-lede {
  color: var(--muted-on-ink);
  font-size: 16.5px;
  max-width: 30em;
  margin-bottom: 36px;
}
.direct-list { display: flex; flex-direction: column; }
.direct-list a,
.direct-list .direct-static {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 15px;
  transition: padding-left 0.3s var(--ease), color 0.3s ease;
}
.direct-list a:hover { padding-left: 10px; color: #fff; }
.direct-list .ic {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line-on-ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--acc);
}
.direct-list .lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  margin-bottom: 2px;
}

.contact-form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55);
}
.contact-form-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 480;
  margin-bottom: 6px;
}
.contact-form-card .form-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 2px 10px;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--acc);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-3); }
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-privacy { font-size: 12px; color: var(--ink-3); max-width: 240px; }
.form-msg { grid-column: 1 / -1; font-size: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: #2e5e34; }
.form-msg.err { color: #9c2f1d; }

/* ============ Global footprint (dark) ============ */
.footprint {
  background: var(--ink);
  color: var(--paper-on-ink);
  border-top: 1px solid var(--line-on-ink);
  overflow: clip;
}
.footprint .eyebrow { color: var(--acc); }
.footprint .section-head h2 { color: var(--paper-on-ink); }
.footprint .section-head .lede { color: var(--muted-on-ink); }

.footprint-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.fp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-on-ink);
}
.fp-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted-on-ink);
}

.fp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.fp-dot-field { background: #c96a3c; }
.fp-dot-remote { border: 1.6px solid #c96a3c; background: transparent; }

.fp-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 22px;
}
.fp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-on-ink);
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}
.fp-item.active {
  color: var(--paper-on-ink);
  background: rgba(245, 240, 232, 0.07);
}
.fp-item.active .fp-dot-field { box-shadow: 0 0 0 4px rgba(201, 106, 60, 0.25); }
.fp-item.active .fp-dot-remote { box-shadow: 0 0 0 4px rgba(201, 106, 60, 0.18); }

.footprint-globe {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.footprint-globe canvas {
  max-width: 100%;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.footprint-globe canvas.dragging { cursor: grabbing; }
.footprint-globe.globe-unavailable { display: none; }

@media (max-width: 991px) {
  .footprint-grid { grid-template-columns: 1fr; }
  .footprint-globe { order: -1; }
}
@media (max-width: 480px) {
  .fp-list { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .fp-item { font-size: 13px; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-ink);
  border-top: 1px solid var(--line-on-ink);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-inner .f-brand {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--paper-on-ink);
}
.footer-inner a { transition: color 0.25s ease; }
.footer-inner a:hover { color: var(--paper-on-ink); }
.footer-links { display: flex; gap: 22px; }

/* Floating "back to top" */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(245, 240, 232, 0.35);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s var(--ease), background 0.3s ease;
  box-shadow: 0 14px 30px -12px rgba(25, 23, 19, 0.5);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--acc-deep); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-burger { display: flex; }
  .header-cta { display: none; }
  .lang-switch.in-header { display: none; }
}

@media (max-width: 991px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .hero-figure { max-width: 430px; margin: 10px auto 0; width: 100%; }
  .hero-badge { left: -8px; }
  .approach-grid { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-on-ink); }
  .step { padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line-on-ink); }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; max-width: 430px; }
  .cred-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 767px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }
  .service-num { font-size: 18px; }
  .service-go { display: none; }
  .xp-item summary { grid-template-columns: 1fr 44px; row-gap: 4px; }
  .xp-date { grid-column: 1 / -1; }
  .xp-toggle { grid-row: 2; grid-column: 2; }
  .xp-role { grid-row: 2; }
  .xp-org { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
  .hero-figure .frame { border-radius: 500px 500px 0 0; }
}
