/* Statera Advisory — Direction A "Azulejo Institutional"
   Warm paper, cobalt azulejo blue, Newsreader over Archivo. */

:root {
  --paper:        oklch(0.975 0.006 85);
  --paper-alt:    oklch(0.955 0.008 85);
  --paper-bright: oklch(0.985 0.004 85);

  --ink:      oklch(0.24 0.02 260);
  --ink-soft: oklch(0.32 0.02 260);
  --muted:    oklch(0.45 0.018 260);
  --muted-2:  oklch(0.55 0.015 260);

  --cobalt:      oklch(0.42 0.13 258);
  --cobalt-dark: oklch(0.30 0.11 258);
  --on-cobalt:   oklch(0.90 0.03 258);

  --night:      oklch(0.17 0.012 260);
  --on-night:   oklch(0.86 0.008 85);
  --on-night-2: oklch(0.66 0.012 85);
  --on-night-3: oklch(0.58 0.012 85);

  --rule:        oklch(0.42 0.13 258 / 0.18);
  --rule-strong: oklch(0.42 0.13 258 / 0.28);
  --rule-faint:  oklch(0.42 0.13 258 / 0.14);

  --display: Newsreader, Georgia, 'Times New Roman', serif;
  --body: Archivo, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mark: Jost, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: 72px;
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cobalt); color: var(--paper-bright);
  padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 0; color: var(--paper-bright); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type helpers ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cobalt);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: 0 0 auto; }

.eyebrow-muted {
  font-family: var(--body); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2);
}

.lede { font-size: 17px; line-height: 1.7; color: var(--muted); }
.lede--tight { margin-top: 20px; max-width: 34em; font-size: 16px; }
.mt-eyebrow { margin-top: 20px; }
.h2--small { font-size: clamp(24px, 2.6vw, 30px); }

.section-title {
  margin: 20px 0 48px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.14; letter-spacing: -0.012em;
  max-width: 22em;
}
.section-title--flush { margin-top: 0; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
}
.link-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.prose { max-width: 46em; display: flex; flex-direction: column; gap: 20px; }
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--muted); }

/* ---------- logo ---------- */

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { display: block; width: 34px; height: 25px; fill: currentColor; }
.brand__word {
  font-family: var(--mark); font-size: 19px; font-weight: 300;
  letter-spacing: 0.26em; text-transform: uppercase;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: oklch(0.975 0.006 85 / 0.95);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding-block: 16px;
}

.nav-toggle {
  display: none; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule-strong); background: none;
  color: var(--ink); cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
/* Portuguese and Spanish labels run longer than the English ones. */
.nav a { color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--cobalt); }
.nav a[aria-current="page"] { color: var(--cobalt); font-weight: 500; }
.nav__cta { color: var(--paper-bright); }
.nav__cta:hover { color: var(--paper-bright); }
.nav__cta[aria-current="page"] { color: var(--paper-bright); font-weight: 500; }

/* One language switcher at a time: the standalone one on desktop, the one
   inside the collapsible nav on mobile. */
.site-header__nav .lang { display: none; }

.lang {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted-2);
  border-left: 1px solid var(--rule-strong); padding-left: 20px;
}
.lang a { color: var(--muted-2); }
.lang [aria-current="true"] { color: var(--cobalt); font-weight: 500; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 28px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--cobalt); color: var(--paper-bright); }
.btn--primary:hover { background: var(--cobalt-dark); color: var(--paper-bright); }
.btn--ghost { border-color: var(--rule-strong); color: var(--cobalt); background: transparent; }
.btn--ghost:hover { border-color: var(--cobalt); }
.btn--invert { background: var(--paper-bright); color: var(--cobalt); font-weight: 600; }
.btn--invert:hover { background: #fff; color: var(--cobalt-dark); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px; align-items: center;
  padding-block: 76px 84px;
}
.hero__text { position: relative; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.05; letter-spacing: -0.018em;
  margin-block: 28px 26px;
}
.hero .lede { max-width: 34em; font-size: 17.5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__figure { position: relative; margin: 0; }
.hero__image {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--rule);
}
.hero__figure figcaption {
  margin-top: 12px;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2);
}

.azulejo {
  position: absolute; right: -120px; top: 10px;
  width: 540px; height: 540px; pointer-events: none;
}

/* ---------- page head (inner pages) ---------- */

.page-head { position: relative; overflow: hidden; padding-block: 72px 64px; }
.page-head__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px 64px; align-items: end;
}
.page-head h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08; letter-spacing: -0.016em; margin-top: 26px;
}
.page-head .lede { font-size: 16px; }
.page-head--stacked .page-head__grid { grid-template-columns: minmax(0, 1fr); }
.page-head--stacked .lede { max-width: 38em; margin-top: 26px; font-size: 17px; }
.page-head--stacked .hero__actions { margin-top: 30px; }
.page-head--tight { padding-bottom: 44px; }

/* ---------- identity band ---------- */

.identity { border-block: 1px solid var(--rule); background: var(--paper-alt); }
.identity__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px; padding-block: 36px;
}
.identity__value { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- numbers band ---------- */

.numbers { border-block: 1px solid var(--rule); background: var(--paper-alt); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbers__grid > div { padding: 30px 32px; border-left: 1px solid var(--rule-faint); }
.numbers__grid > div:first-child { padding-left: 0; border-left: 0; }
.numbers__value {
  font-family: var(--display); font-size: clamp(34px, 4vw, 46px);
  line-height: 1; letter-spacing: -0.02em;
}
.numbers__value span {
  margin-left: 8px; font-family: var(--body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt);
}
.numbers__label { margin-top: 12px; font-size: 14px; color: var(--muted); }

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

.section { padding-block: 76px; }
.section--alt { background: var(--paper-alt); border-top: 1px solid var(--rule-faint); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 80px; margin-bottom: 48px; align-items: start;
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.14; letter-spacing: -0.012em;
}
.section-head--end { align-items: end; margin-bottom: 0; }
.section-head--last { margin-bottom: 0; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section-head__aside p { font-size: 16px; line-height: 1.68; color: var(--muted); }

/* ---------- specialisms ---------- */

.specialisms__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px; margin-top: 28px;
}
.specialisms__image {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  margin-bottom: 22px; border: 1px solid var(--rule);
}
.specialisms__grid h3 { font-size: 26px; font-weight: 400; }
.specialisms__grid p { margin-top: 12px; font-size: 15px; line-height: 1.68; color: var(--muted); }
.specialisms__note {
  max-width: 62em; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--rule-faint);
  font-size: 14.5px; line-height: 1.7; color: var(--muted-2);
}
.specialisms__note--flush { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- practice cards ---------- */

.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
}
.cards__item { display: flex; flex-direction: column; background: var(--paper); padding: 30px; }
.cards__num { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--cobalt); }
.cards__item h3 { margin-top: 16px; font-size: 22px; font-weight: 400; }
.cards__item p { margin-top: 12px; flex: 1; font-size: 14.5px; line-height: 1.66; color: var(--muted); }
.cards__item--cta { background: var(--cobalt); color: var(--paper-bright); justify-content: space-between; }
.cards__item--cta .cards__num { color: var(--on-cobalt); }
.cards__item--cta p { color: var(--on-cobalt); }
.cards__item--cta .btn { margin-top: 30px; align-self: flex-start; }

/* ---------- pillars (four outcomes, compact) ---------- */

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.pillars li { padding-top: 20px; border-top: 2px solid var(--cobalt); }
.pillars h3 { font-size: 23px; font-weight: 400; margin-bottom: 12px; }
.pillars p { font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ---------- outcomes (methodology, with tiles) ---------- */

.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.outcomes > li { display: flex; flex-direction: column; }
.outcomes h3 { margin-top: 22px; font-size: 26px; font-weight: 400; }
.outcomes > li > p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.outcomes .ticks { margin-top: 20px; }
.method__tile { width: 96px; height: 96px; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.steps > li { padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.steps__num { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--cobalt); }
.steps h3 { margin-top: 14px; font-size: 21px; font-weight: 400; }
.steps p { margin-top: 12px; font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ---------- facts ---------- */

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
.facts > li { padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.facts h3 { font-size: 20px; font-weight: 400; }
.facts p { margin-top: 10px; font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ---------- faq ---------- */

.faq { border-bottom: 1px solid var(--rule-strong); }
.faq > div {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 64px; padding-block: 26px;
  border-top: 1px solid var(--rule-strong);
}
.faq dt { font-family: var(--display); font-size: 21px; line-height: 1.3; }
.faq dd { font-size: 15px; line-height: 1.72; color: var(--muted); }

/* ---------- notes ---------- */

.note { border-top: 1px solid var(--rule-faint); padding-block: 64px; }
.note--alt { background: var(--paper-alt); }
.note__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 64px; }
.note__grid h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.16; }
.note__standfirst {
  margin-top: 16px; font-family: var(--display); font-size: 20px;
  line-height: 1.5; color: var(--ink-soft);
}
.note__grid > div > p + p { margin-top: 18px; }
.note__grid > div > p:not(.note__standfirst) { font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ---------- trio ---------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trio li { padding-top: 20px; border-top: 2px solid var(--cobalt); }
.trio h3 { font-size: 23px; font-weight: 400; margin-bottom: 12px; }
.trio p { font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ---------- pairs (values, principles, rules) ---------- */

.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; }
.pairs > li {
  display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 24px;
  padding-block: 26px; border-top: 1px solid var(--rule-strong);
}
.pairs .num { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--cobalt); }
.pairs h3 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.pairs p { font-size: 14.5px; line-height: 1.68; color: var(--muted); }
.pairs--letters .num {
  font-family: var(--display); font-size: 30px; font-weight: 400;
  line-height: 1; letter-spacing: 0;
}

/* ---------- phases ---------- */

.phases { border-bottom: 1px solid var(--rule-strong); }
.phases > li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; padding-block: 26px; border-top: 1px solid var(--rule-strong);
}
.phases .code { font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--cobalt); }
.phases .duration {
  display: block; margin-top: 6px; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
}
.phases h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.phases .question { font-size: 14.5px; line-height: 1.66; color: var(--muted); }
.phases .gate-label {
  display: block; margin-bottom: 8px; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2);
}
.phases .gate { font-size: 14.5px; line-height: 1.66; color: var(--ink-soft); }

/* ---------- ticks ---------- */

.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
}
.ticks li::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 2px;
  background: var(--cobalt); margin-top: 10px;
}

/* ---------- chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--rule-strong); font-size: 13px; color: var(--ink-soft); }

/* ---------- practice detail ---------- */

.detail {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px 80px; padding-block: 48px; border-bottom: 1px solid var(--rule-strong);
}
.detail:last-child { border-bottom: 0; padding-bottom: 0; }
.detail:first-child { padding-top: 0; }
.detail .num { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--cobalt); }
.detail h2 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 32px); font-weight: 400; line-height: 1.16; }
.detail p { font-size: 16px; line-height: 1.72; color: var(--muted); }
.detail__body { display: flex; flex-direction: column; gap: 24px; }

/* ---------- callout ---------- */

.callout {
  position: relative; overflow: hidden;
  background: var(--paper-alt); border-block: 1px solid var(--rule-faint);
  padding-block: 68px;
}
.callout__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 90px; align-items: start; }
.callout h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.16; letter-spacing: -0.012em; margin-bottom: 20px; }
.callout p { font-size: 16.5px; line-height: 1.72; color: var(--muted); }
.callout p + p { margin-top: 18px; }
.callout__mark { width: 148px; height: 107px; fill: var(--cobalt); }
.callout__icon { width: 104px; height: 143px; fill: var(--cobalt); }

/* ---------- team ---------- */

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.team > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; }
/* 2:3 frame matching the 2:3 source photos, so nothing is cropped. */
.team__portrait {
  width: 150px; height: 225px; overflow: hidden;
  background: var(--paper-bright); border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
}
/* One founder photo is already monochrome; desaturating both keeps the row
   consistent and sits with the restrained palette. */
.team__portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.02);
}
.team h3 { font-size: 20px; font-weight: 400; }
.team .role {
  display: block; margin-top: 5px; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2);
}
.team .bio { margin-top: 10px; font-size: 14px; line-height: 1.66; color: var(--muted); }
.team__link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; font-weight: 500; }

/* ---------- briefing form ---------- */

.briefing { display: flex; gap: 8px; width: 100%; }
.briefing input {
  flex: 1; min-width: 0; min-height: 48px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--paper-bright); border: 1px solid var(--rule-strong); border-radius: 0;
}
.briefing input::placeholder { color: var(--muted-2); }
.briefing--dark input {
  background: var(--night); color: var(--on-night);
  border-color: oklch(0.86 0.008 85 / 0.25);
}
.briefing--dark input::placeholder { color: var(--on-night-3); }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- contact ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px 80px; padding-bottom: 76px; align-items: start;
}
.contact__details { border-bottom: 1px solid var(--rule-strong); }
.contact__details > div { padding-block: 22px; border-top: 1px solid var(--rule-strong); }
.contact__details dt {
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 8px;
}
.contact__details dd { font-family: var(--display); font-size: 21px; line-height: 1.4; }
.contact__details dd.plain { font-family: var(--body); font-size: 15px; line-height: 1.68; color: var(--ink-soft); }

.form { background: var(--paper-alt); border: 1px solid var(--rule-strong); padding: 36px; }
.form h2 { font-size: 26px; font-weight: 400; line-height: 1.2; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { margin-bottom: 20px; }
.form label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--paper-bright); border: 1px solid var(--rule-strong);
  border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%;
}
.form textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form__consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.form__consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.form__consent-label {
  text-transform: none; letter-spacing: 0; font-size: 13px;
  line-height: 1.62; color: var(--muted);
}
.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.form__submit span { font-size: 13px; color: var(--muted-2); }

/* ---------- cta band ---------- */

.cta { background: var(--cobalt); color: var(--paper-bright); padding-block: 64px; }
.cta__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14; margin-bottom: 14px; max-width: 18em; }
.cta p { max-width: 34em; font-size: 16px; line-height: 1.66; color: var(--on-cobalt); }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: var(--on-night); padding-block: 64px 26px; }
.site-footer .brand { color: oklch(0.96 0.006 85); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 36px 32px; padding-bottom: 44px;
  border-bottom: 1px solid oklch(0.96 0.006 85 / 0.10);
}
.site-footer__blurb { max-width: 34ch; margin-top: 18px; font-size: 14px; line-height: 1.68; color: var(--on-night-2); }
.site-footer h2 {
  font-family: var(--body); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-night-3);
  margin-bottom: 14px;
}
.site-footer li { font-size: 14px; line-height: 1.6; margin-bottom: 11px; color: var(--on-night); }
.site-footer li a { color: var(--on-night); }
.site-footer li a:hover { color: #fff; }
.site-footer__office { max-width: 30ch; color: var(--on-night-2); }
.site-footer__legal {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px; padding-top: 22px;
  font-size: 12.5px; color: var(--on-night-3);
}
.site-footer__legal nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer__legal a { color: var(--on-night-3); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__legal .lang { border-left: 0; padding-left: 0; color: var(--on-night-3); }
.site-footer__legal .lang a { color: var(--on-night-3); }
.site-footer__legal .lang [aria-current="true"] { color: oklch(0.96 0.006 85); }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .nav { gap: 18px; font-size: 13px; }
  .lang { padding-left: 14px; }
  .section-head, .detail, .contact, .callout__grid, .faq > div { gap: 24px 48px; }
  .hero__grid { gap: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
}

@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .team { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .outcomes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .identity__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers__grid > div { padding-inline: 0 24px; border-left: 0; }
  .specialisms__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .page-head__grid, .section-head, .detail, .contact, .callout__grid,
  .note__grid, .faq > div { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 20px; }
  .callout__mark { width: 112px; height: 81px; }
  .callout__icon { width: 80px; height: 110px; }
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .pairs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 56px; }
  .hero__image { aspect-ratio: 3 / 2; }
  .azulejo { right: -200px; opacity: 0.6; }
}

@media (max-width: 900px) {
  /* Collapse to the menu button here: five nav items plus a button and the
     language switcher stop fitting well before the tablet breakpoint. */
  .nav-toggle { display: inline-flex; }
  .site-header__inner { padding-block: 12px; }
  .site-header__nav {
    display: none; order: 3; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px;
  }
  .site-header__inner.is-open { flex-wrap: wrap; }
  .site-header__inner.is-open .site-header__nav { display: flex; }
  .site-header__nav a {
    min-height: 48px; display: flex; align-items: center;
    font-size: 16px; border-top: 1px solid var(--rule-faint);
  }
  .site-header__nav .nav__cta { justify-content: center; margin-top: 12px; border-top: 0; }
  .site-header__nav .lang {
    display: flex; border-left: 0; padding-left: 0;
    min-height: 48px; border-top: 1px solid var(--rule-faint); font-size: 14px;
  }
  .header-lang { display: none; }
}

@media (max-width: 780px) {
  :root { --gutter: 20px; }

  .hero h1 { margin-block: 22px 20px; }
  .hero .lede { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
  .hero__actions .btn { width: 100%; min-height: 52px; }
  .azulejo { right: -230px; top: 160px; width: 400px; height: 400px; opacity: 0.5; }

  .page-head { padding-block: 44px 40px; }
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 30px; }
  .section-title { margin-bottom: 32px; }
  .note { padding-block: 44px; }
  .callout { padding-block: 44px; }
  .cta { padding-block: 44px; }
  .cta .btn { width: 100%; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards__item { padding: 24px 20px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .facts, .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .identity__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .numbers__grid { grid-template-columns: minmax(0, 1fr); }
  .numbers__grid > div { padding: 20px 0; border-top: 1px solid var(--rule-faint); }
  .numbers__grid > div:first-child { border-top: 0; padding-top: 0; }
  .phases > li { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pairs > li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .team > li { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .team__portrait { width: 120px; height: 180px; }
  .detail { padding-block: 32px; }

  .briefing { flex-direction: column; }
  .briefing .btn { width: 100%; }
  .form { padding: 22px 20px 26px; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
  .form__submit .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 28px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .cta, .azulejo, .nav-toggle, .briefing { display: none; }
  body { background: #fff; }
  a { color: #000; }
}
