/* OEP — Organizational and Economic Projects
   Layout concept: a consultant's dossier. White pages, navy ink, gold rules with
   centred labels (taken from the logo's "— CONSULTING SERVICES —" line), and a
   sticky service index beside long reading pages. */
:root {
  --navy: #0d2a5c;
  --navy-deep: #081c40;
  --gold: #d99a1e;
  --gold-soft: #f6e7c4;
  --green: #3c9a46;
  --teal: #13879b;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #0f1c35;
  --muted: #56637d;
  --line: #d9e1ec;
  --accent: var(--navy);
  --accent-ink: #ffffff;
  --band: #0d2a5c;
  --band-ink: #eef3fb;
  --band-muted: #b3c3de;
  --shadow: 0 1px 2px rgba(13, 42, 92, .06), 0 8px 24px -12px rgba(13, 42, 92, .18);
  --logo-on-light: block;
  --logo-on-dark: none;
  --plate: transparent;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: "Montserrat", "Figtree", "Segoe UI", system-ui, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 3.9rem);

  --wrap: 1180px;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold: #f0b43c;
    --gold-soft: #3a2f17;
    --green: #5cbd66;
    --teal: #3db3c6;
    --bg: #0b1322;
    --surface: #111c31;
    --surface-2: #16233d;
    --ink: #e7edf7;
    --muted: #9aa9c3;
    --line: #233250;
    --accent: #9cbcf3;
    --accent-ink: #0b1322;
    --band: #0f2147;
    --band-ink: #eef3fb;
    --band-muted: #a9bbda;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
    --logo-on-light: none;
    --logo-on-dark: block;
    --plate: #ffffff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --gold: #f0b43c;
  --gold-soft: #3a2f17;
  --green: #5cbd66;
  --teal: #3db3c6;
  --bg: #0b1322;
  --surface: #111c31;
  --surface-2: #16233d;
  --ink: #e7edf7;
  --muted: #9aa9c3;
  --line: #233250;
  --accent: #9cbcf3;
  --accent-ink: #0b1322;
  --band: #0f2147;
  --band-ink: #eef3fb;
  --band-muted: #a9bbda;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  --logo-on-light: none;
  --logo-on-dark: block;
  --plate: #ffffff;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--font-label); font-size: .75rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }

/* gold rule with centred label, as on the logo */
.rule-label {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-label); font-size: .78rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
}
.rule-label::before, .rule-label::after {
  content: ""; flex: 1; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.rule-label::after { background: linear-gradient(90deg, var(--gold), transparent); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-label); font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--gold); color: #1a1405; }
.btn--primary:hover { background: color-mix(in srgb, var(--gold) 88%, #000); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--on-band { border-color: rgba(255,255,255,.35); color: var(--band-ink); background: transparent; }
.btn--on-band:hover { border-color: var(--band-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 40px; width: auto; }
.logo--light { display: var(--logo-on-light); }
.logo--dark { display: var(--logo-on-dark); }
.brand-name {
  font-family: var(--font-label); font-weight: 600; font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; line-height: 1.35; color: var(--accent); border-left: 1.5px solid var(--gold); padding-left: 14px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-label); font-weight: 500; font-size: .88rem; color: var(--ink);
  text-decoration: none; padding: 9px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 10px 18px; color: #1a1405; }
.nav .btn:hover { background: color-mix(in srgb, var(--gold) 88%, #000); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}

@media (max-width: 920px) {
  .brand-name { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 6px; border-radius: 8px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  border: 46px solid color-mix(in srgb, var(--accent) 7%, transparent); pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 56px; align-items: center;
  padding-block: 84px 92px;
}
.hero-copy { display: grid; gap: 24px; min-width: 0; animation: rise .7s ease both; }
.hero h1 span { display: block; }
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.pillars {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: grid; gap: 18px; min-width: 0; animation: rise .7s .12s ease both;
}
.pillars .rule-label { font-size: .68rem; letter-spacing: .24em; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  display: grid; gap: 10px; align-content: start;
}
.pillar .icon { width: 30px; height: 30px; }
.pillar strong { font-family: var(--font-label); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.pillar p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.c-navy { color: var(--accent); } .c-green { color: var(--green); } .c-teal { color: var(--teal); } .c-gold { color: var(--gold); }
.pillars-foot { font-family: var(--font-label); font-size: .78rem; color: var(--muted); text-align: center; letter-spacing: .08em; }
.pillars-foot b { color: var(--gold); padding-inline: 6px; }

@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }

.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.about-grid .prose { display: grid; gap: 18px; color: var(--muted); max-width: 64ch; }
.about-grid .prose p:first-child { color: var(--ink); font-size: var(--step-1); line-height: 1.55; }
.about-figure { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.about-figure img { margin-inline: auto; width: 100%; max-width: 420px; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--gold); font-weight: 700; }
.step p { color: var(--muted); }

/* service index */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.svc-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.svc-row .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); transition: background-color .2s, color .2s; }
.svc-row h3 { font-size: 1.08rem; }
.svc-row p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
.svc-row .go { color: var(--muted); transition: transform .2s, color .2s; }
.svc-row:hover .ico { background: var(--accent); color: var(--accent-ink); }
.svc-row:hover .go { color: var(--gold); transform: translateX(4px); }

/* associates teaser */
.team-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; }
.mini-card .who { font-weight: 700; line-height: 1.3; }
.mini-card .cred { font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; color: var(--gold); font-weight: 600; }
.mini-card .area { font-size: .88rem; color: var(--muted); line-height: 1.45; }

.monogram {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff;
}
.m-navy { background: #0d2a5c; } .m-green { background: #2f8a3a; } .m-teal { background: #0f7a8c; } .m-gold { background: #b9800f; } .m-blue { background: #1f5fae; }

/* CTA band */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; left: -120px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%;
  border: 40px solid rgba(217, 154, 30, .16);
}
.band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 72px; }
.band h2 { color: var(--band-ink); }
.band p { color: var(--band-muted); max-width: 58ch; margin-top: 12px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -180px; width: 440px; height: 440px; border-radius: 50%;
  border: 34px solid color-mix(in srgb, var(--accent) 6%, transparent); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; padding-block: 56px 60px; display: grid; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-label); font-size: .8rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--gold); }
.page-hero .title-row { display: flex; align-items: center; gap: 20px; }
.page-hero .title-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.page-hero .title-ico .icon { width: 32px; height: 32px; }

/* ---------- article layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-block: 60px 96px; }
.article { display: grid; gap: 40px; min-width: 0; }
.article > section { display: grid; gap: 22px; }
.article h2 { font-size: var(--step-2); }
.article .prose { display: grid; gap: 16px; max-width: 70ch; }
.article .prose p { color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cards--1 { grid-template-columns: minmax(0, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  display: grid; gap: 8px; align-content: start; min-width: 0;
}
.card h3 { font-size: 1.06rem; display: flex; gap: 10px; align-items: baseline; }
.card p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.card .tag { font-family: var(--font-label); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card dl { margin: 6px 0 0; display: grid; gap: 12px; }
.card dt { font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.card dd { margin: 2px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.card .chips { margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-label); font-size: .78rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line);
}

/* numbered sequence (only where order matters) */
.timeline { display: grid; gap: 0; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; position: relative; }
.timeline li::before {
  content: counter(t); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; background: var(--surface); color: var(--accent);
  border: 1.5px solid var(--gold); position: relative; z-index: 1;
}
.timeline li::after { content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1.5px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.06rem; padding-top: 9px; }
.timeline p { color: var(--muted); margin-top: 4px; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist .icon { color: var(--green); width: 20px; height: 20px; margin-top: 3px; }

.quote {
  margin: 0; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 14px; position: relative;
}
.quote p { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.quote cite { font-family: var(--font-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--gold); font-weight: 600; }

.callout {
  background: var(--gold-soft); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 6px;
  color: var(--ink);
}
.callout strong { font-family: var(--font-label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a {
  font-family: var(--font-label); font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.subnav a:hover { border-color: var(--gold); }

.part { padding-top: 36px; border-top: 1px solid var(--line); }
.part:first-of-type { padding-top: 0; border-top: 0; }
.part-head { display: grid; gap: 10px; }

details.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
details.acc summary {
  list-style: none; cursor: pointer; padding: 16px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px; align-items: center; font-weight: 700;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .n { font-family: var(--font-display); color: var(--gold); font-size: 1.2rem; width: 28px; }
details.acc summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
details.acc[open] summary .icon { transform: rotate(90deg); }
details.acc ul { padding: 0 20px 18px 62px; display: grid; gap: 10px; }
details.acc li { color: var(--muted); font-size: .97rem; line-height: 1.55; }
details.acc li b { color: var(--ink); font-weight: 600; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

/* sidebar */
.aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 18px; }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside-box .eyebrow { display: block; margin-bottom: 10px; }
.aside-list a {
  display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.35;
}
.aside-list a .icon { width: 18px; height: 18px; color: var(--muted); }
.aside-list a:hover { background: var(--surface-2); }
.aside-list a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.aside-list a[aria-current="page"] .icon { color: var(--accent-ink); }
.aside-cta { background: var(--band); color: var(--band-ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.aside-cta h3 { color: var(--band-ink); font-family: var(--font-display); font-size: 1.4rem; }
.aside-cta p { color: var(--band-muted); font-size: .94rem; }
.aside-cta .btn { justify-content: center; }

/* services page cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.svc-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.svc-card .ico .icon { width: 26px; height: 26px; }
.svc-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.svc-card .more { font-family: var(--font-label); font-size: .8rem; font-weight: 600; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.svc-card .more .icon { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more .icon { transform: translateX(4px); }
.svc-card.is-start { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.svc-card.is-start h3 { color: var(--band-ink); }
.svc-card.is-start p { color: var(--band-muted); }
.svc-card.is-start .ico { background: rgba(255,255,255,.1); color: var(--gold); }
.svc-card.is-start .more { color: var(--gold); }

/* associates page */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 18px; align-content: start; }
.person-head { display: flex; gap: 16px; align-items: center; }
.person .monogram { width: 64px; height: 64px; font-size: 1.5rem; }
.person h2 { font-size: 1.45rem; line-height: 1.2; }
.person .cred { font-family: var(--font-label); font-size: .74rem; letter-spacing: .16em; color: var(--gold); font-weight: 700; margin-top: 4px; }
.person .eyebrow { color: var(--muted); font-size: .66rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding-block: 64px 96px; }
.contact-info { display: grid; gap: 28px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-family: var(--font-label); font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field textarea { resize: vertical; min-height: 150px; }
.form .btn { justify-self: start; border: 0; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: .95rem; border-radius: 10px; padding: 12px 14px; }
.form-status.ok { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--ink); }
.form-status.err { background: color-mix(in srgb, #d23c3c 14%, transparent); color: var(--ink); }
.note { font-size: .86rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.note .icon { width: 18px; height: 18px; color: var(--green); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d3ea; }
.site-footer .wrap { padding-block: 64px 28px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { max-width: 38ch; font-size: .95rem; color: #a9badb; }
.foot-brand .tagline { font-family: var(--font-display); font-style: italic; color: #f0b43c; font-size: 1.1rem; }
.site-footer h4 { font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #f0b43c; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul.two { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.site-footer a { color: #dfe7f5; text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: #f0b43c; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: #8fa2c6; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .team-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-cards, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero .wrap, .about-grid, .contact-grid, .layout { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 40px; padding-block: 56px 64px; }
  .aside { position: static; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .section { padding-block: 64px; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cards, .checklist, .acc-grid, .svc-cards, .team-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-strip > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillars { padding: 20px; }
  .pillar { padding: 14px; }
  .pillar p { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px; }
  .page-hero .title-ico { width: 52px; height: 52px; }
  .brand img { height: 34px; }
  .timeline li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  details.acc ul { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- home: logo first, then the intro narrative ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-hero { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.logo-hero::after {
  content: ""; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  border: 46px solid color-mix(in srgb, var(--accent) 7%, transparent); pointer-events: none;
}
.logo-hero .wrap { position: relative; z-index: 1; display: grid; place-items: center; padding-block: 56px 64px; }
.logo-plate { background: var(--plate); border-radius: 28px; padding: clamp(12px, 3vw, 32px); width: min(560px, 100%); animation: rise .7s ease both; }
.logo-plate img { width: 100%; height: auto; }
.intro h1 em.gold { color: var(--gold); font-style: italic; }
.intro .hero-actions { margin-top: 10px; }

/* ---------- language switch (EN / ES) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--font-label); font-weight: 700; font-size: .78rem; letter-spacing: .08em;
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  transition: border-color .15s, color .15s;
}
.lang-switch .icon { width: 17px; height: 17px; color: var(--gold); }
.lang-switch:hover { border-color: var(--gold); color: var(--accent); }
.site-header .wrap { gap: 16px; }
@media (max-width: 920px) {
  .lang-switch { padding: 0 12px; height: 44px; }
}
.intro { background: var(--surface); border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.3rem); }
.intro .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 920px) { .intro .about-grid { grid-template-columns: minmax(0, 1fr); } }
