@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #052A46;
  --green: #1B4D3A;
  --brass: #B58948;
  --ivory: #F8F7F2;
  --paper: #FFFEFB;
  --sage: #EDF0EA;
  --brass-on-light: #80602B;
  --brass-on-dark: #DDBC85;
  --muted: #33506A;
  --line: rgba(5, 42, 70, 0.18);
  --line-dark: rgba(248, 247, 242, 0.3);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font: 400 1.0625rem/1.65 var(--sans);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.3vw, 5rem); line-height: 1.03; letter-spacing: -0.024em; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.75rem); line-height: 1.05; letter-spacing: -0.022em; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--ivory); }
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--ivory);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline-color: var(--brass); }

.preview-banner {
  margin: 0;
  padding: 0.3rem var(--gutter);
  background: var(--brass);
  color: #021A2C;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.pending {
  padding: 0 0.3em;
  background: #F4E3C1;
  color: #4A3210;
  font-weight: 600;
}

.motif { position: absolute; pointer-events: none; }

.arrow {
  flex: none;
  width: 22px;
  height: 11px;
  margin-left: 0.7rem;
  vertical-align: middle;
}

/* Section label with a hairline running to the end of its column */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  color: var(--brass-on-light);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  flex: 1;
  min-width: 2rem;
  height: 1px;
  background: var(--line);
}
.on-dark .eyebrow { color: var(--brass-on-dark); }
.on-dark .eyebrow::after { background: var(--line-dark); }

.num {
  display: block;
  color: var(--brass-on-light);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.on-dark .num { color: var(--brass-on-dark); }

.section { position: relative; padding-block: var(--section); overflow: hidden; }
.on-dark { color: var(--ivory); }
.section-navy { background: var(--navy); }
.section-green { background: var(--green); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.625rem);
  line-height: 1.4;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand { display: block; flex: none; }
.brand img { width: 172px; height: auto; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  color: inherit;
  font: 600 0.875rem var(--sans);
  cursor: pointer;
}

.menu-icon, .menu-icon::before {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.menu-icon { position: relative; transform: translateY(-3px); }
.menu-icon::before { content: ""; position: absolute; top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }

@media (prefers-reduced-motion: no-preference) {
  .menu-icon, .menu-icon::before { transition: transform 0.18s ease, top 0.18s ease; }
}

.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.menu.is-open { display: block; }
.menu ul { padding: 0.5rem var(--gutter) 1rem; }
.menu a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu li:last-child a { border-bottom: 0; }
.menu a:hover { text-decoration: underline; }

.langs ul { display: flex; align-items: center; }
.langs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.langs a:hover { text-decoration: underline; }
.langs a[aria-current="page"] {
  color: var(--brass-on-light);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.site-header .langs { margin-left: auto; }
.menu-toggle { order: 1; }
.site-header .header-cta { display: none; }

@media (min-width: 1100px) {
  :root { --header-h: 96px; }
  .brand img { width: 216px; }
  .menu-toggle { display: none; }
  .menu {
    display: block;
    position: static;
    margin-left: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
  }
  .menu ul { display: flex; gap: 1.5rem; padding: 0; }
  .menu a { padding: 0.5rem 0; border: 0; font-size: 0.9375rem; }
  .site-header .langs {
    margin-left: 0.5rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }
  .site-header .header-cta { display: inline-flex; margin-left: 0.75rem; }
}

@media (min-width: 1280px) {
  .brand img { width: 248px; }
  .menu ul { gap: 1.75rem; }
}

/* Phones: the toggle shows its icon only; the text remains its accessible name. */
@media (max-width: 459px) {
  .brand img { width: 140px; }
  .menu-toggle { font-size: 0; gap: 0; min-width: 44px; justify-content: center; padding: 0; }
}

@media (max-width: 359px) {
  .brand img { width: 120px; }
  .bar { gap: 0.25rem; }
  .langs a { min-width: 26px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.6rem 1.75rem;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }

.btn-outline {
  background: transparent;
  border-color: var(--brass);
  color: var(--brass-on-light);
}
.btn-outline:hover { color: var(--ivory); }
.btn-small { min-height: 44px; padding: 0.4rem 1.5rem; font-size: 0.9375rem; }

.btn-dark {
  background: transparent;
  border-color: var(--brass-on-dark);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
}
.btn-dark:hover { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }

.link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 1.0625rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* 1. Hero */
.hero { position: relative; overflow: hidden; }

.hero-waves {
  bottom: 0;
  right: 0;
  width: min(100%, 1120px);
  height: auto;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.descriptor {
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
  color: var(--brass-on-light);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Longer headlines: 8% (FR) and 3% (ES) smaller on large screens so the calls to action fit at 1366 x 768. */
html[lang="fr"] .hero h1 { font-size: clamp(2.35rem, 4.876vw, 4.6rem); }
html[lang="es"] .hero h1 { font-size: clamp(2.35rem, 5.141vw, 4.85rem); }

.hero-sub {
  max-width: 34em;
  margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-symbol { width: clamp(112px, 34vw, 150px); justify-self: end; }

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    min-height: 620px;
  }
  .hero-symbol { width: 100%; max-width: 470px; justify-self: center; }
}

/* Short desktop screens: tighter hero so the calls to action stay visible at 1366 x 650.
   The minimum height has no effect at 650 px and grows with the viewport above it, so the next section never takes over the first screen. */
@media (min-width: 900px) and (max-height: 767px) {
  .hero-inner { min-height: calc(100vh - 186px); padding-block: 1.25rem; }
  .descriptor { margin-bottom: 0.875rem; }
  .hero-sub { margin-top: 1rem; }
  .actions { margin-top: 1.5rem; }
  .hero h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
  html[lang="fr"] .hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); }
  html[lang="es"] .hero h1 { font-size: clamp(2.35rem, 4.85vw, 4.125rem); }
}

/* 2. Opportunity and pillars */
.opportunity { background: var(--ivory); }
.opportunity .wrap { position: relative; }
.opportunity-text { position: relative; max-width: 50rem; }
.opportunity .lead { margin: clamp(1.5rem, 3vw, 2.25rem) 0 1.25rem; }
.opportunity-waves { bottom: 0; right: 0; width: min(62%, 760px); height: auto; }
.opportunity-nodes { display: none; }

@media (min-width: 1000px) {
  .opportunity-text { max-width: 58%; }
  .opportunity-nodes {
    display: block;
    top: 50%;
    right: var(--gutter);
    width: 31%;
    height: auto;
    transform: translateY(-50%);
  }
}

.descriptor-title .sep { color: var(--brass-on-dark); }

.pillars {
  display: grid;
  gap: 2.25rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.pillar h3 { margin: 0.25rem 0 1rem; font-size: clamp(1.875rem, 3.2vw, 2.75rem); }

@media (max-width: 799px) {
  .pillar + .pillar { padding-top: 2.25rem; border-top: 1px solid var(--line-dark); }
}

@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .pillar { padding-inline: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line-dark); }
  .pillar:first-child { padding-left: 0; border-left: 0; }
  .pillar:last-child { padding-right: 0; }
}

/* 3. Capabilities */
.capabilities-grid { display: grid; gap: 2.5rem; }
.capabilities-intro { position: relative; }
.capabilities-intro .lead { margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.capabilities-waves { display: none; }

.cap { padding-block: clamp(1.5rem, 2.5vw, 2rem); border-top: 1px solid var(--line); }
.cap:last-child { padding-bottom: 0; }
.cap h3 { margin: 0.25rem 0 0.85rem; }
.cap:first-child {
  padding-inline: 1.25rem;
  margin-inline: -1.25rem;
  background: var(--sage);
  border-bottom: 1px solid var(--line);
}
.cap:first-child + .cap { border-top: 0; }

@media (min-width: 1000px) {
  .capabilities { padding-bottom: 0; }
  .capabilities-grid {
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
  .capabilities-intro { padding-bottom: 300px; }
  .capabilities-list { padding-bottom: var(--section); }
  .capabilities-waves {
    display: block;
    bottom: 0;
    left: 0;
    width: 46%;
    max-width: 800px;
    height: auto;
    transform: scaleX(-1);
  }
  .cap:first-child {
    padding-inline: 2rem;
    margin-inline: -2rem 0;
    box-shadow: 100vmax 0 0 var(--sage);
    clip-path: inset(0 -100vmax 0 0);
  }
}

/* 4. Audiences and method */
.duo { display: grid; }
.duo-panel { position: relative; padding: var(--section) var(--gutter); overflow: hidden; }
.duo-panel h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }

.who-list { position: relative; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.who-list li { padding-block: 1.25rem; border-top: 1px solid var(--line-dark); }
.who-list li:first-child { padding-top: 0; border-top: 0; }
.who-list h3 { margin-bottom: 0.4rem; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.who-panel { padding-bottom: calc(var(--section) + 70px); }

.duo-arcs { bottom: -8px; left: 0; width: min(100%, 680px); height: auto; opacity: 0.8; }

.steps { position: relative; margin-top: clamp(2rem, 3vw, 2.5rem); }
.step {
  position: relative;
  padding: 0 0 clamp(1.75rem, 2.5vw, 2.25rem) 3rem;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brass);
}
.step::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: -0.5rem;
  left: 7px;
  width: 1px;
  background: var(--brass);
}
.step:last-child::after { display: none; }
.step h3 { margin: 0.1rem 0 0.4rem; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.how-waves { display: none; }

@media (min-width: 1000px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-panel { padding-left: var(--edge); padding-right: clamp(2rem, 4vw, 4rem); }
  .how-panel { padding-left: clamp(2rem, 4vw, 4rem); padding-right: var(--edge); }
  .how-waves {
    display: block;
    right: 0;
    bottom: 0;
    width: 62%;
    height: auto;
    opacity: 0.55;
  }
}

/* 5. About */
.about-grid { display: grid; gap: 2.5rem; }
.about-platform .lead { margin-top: clamp(1.25rem, 2vw, 1.75rem); }

.concepts { display: grid; gap: 1.75rem; margin-top: 2rem; }
.concept { position: relative; padding-left: 2rem; }
.concept::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brass);
}
.concept::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: var(--brass);
}
.concept h3 { margin-bottom: 0.5rem; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.concept p { font-size: 1rem; }

.portrait { position: relative; width: 84%; max-width: 420px; margin: 0; }
.portrait-frame { position: relative; padding: 1rem 1rem 0 0; }
.portrait-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 80%;
  background: var(--green);
}
.portrait img { position: relative; width: 100%; }

.about-bio { padding-top: 2rem; border-top: 1px solid var(--line); }
.about-bio h3 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.role {
  margin: 0.4rem 0 1rem;
  color: var(--brass-on-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.credentials { display: grid; gap: 0.5rem; }
.credentials li { font-size: 0.9875rem; font-weight: 500; }

@media (min-width: 700px) {
  .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem); }
  .credentials { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem 1.5rem; }
  .credentials li + li { padding-left: 1.5rem; border-left: 1px solid var(--brass); }
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 30%;
    grid-template-areas: "platform portrait" "bio portrait" "credentials credentials";
    column-gap: clamp(3rem, 5vw, 5rem);
    row-gap: 2.5rem;
  }
  .about-platform { grid-area: platform; }
  .portrait { grid-area: portrait; width: 100%; max-width: none; align-self: start; }
  .about-bio { grid-area: bio; }
  .credentials { grid-area: credentials; }
}

/* 6. Contact and footer */
.contact { padding-bottom: clamp(11rem, 17vw, 14rem); }
.contact-grid { position: relative; display: grid; gap: 2.5rem; }
.contact h2 { font-size: clamp(2.5rem, 4.7vw, 4.5rem); }
.contact-intro { margin-top: clamp(1.25rem, 2.5vw, 2rem); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.contact-arcs { bottom: 0; left: 0; width: min(100%, 880px); height: auto; }

.contact-card { font-style: normal; }
.contact-name { margin: 0; font-family: var(--serif); font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.contact-role {
  margin: 0.4rem 0 1.25rem;
  color: var(--brass-on-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-card dl { margin: 0; }
.contact-card dl > div { padding-block: 0.8rem; border-top: 1px solid var(--line-dark); }
.contact-card dd { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.contact-card dd a { display: inline-flex; align-items: center; min-height: 32px; }
.contact-card .arrow { color: var(--brass-on-dark); }
.appointment { display: block; font-size: 0.9375rem; }
.contact-card .btn { margin-top: 1.25rem; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .contact-card { padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid var(--brass); }
}

.site-footer { padding-block: 2.5rem 1.75rem; font-size: 0.9375rem; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-block: 2.25rem;
  border-block: 1px solid var(--line);
}
.site-footer .brand img { width: min(100%, 300px); }
.footer-descriptor {
  margin: 0.9rem 0 0;
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
}
.footer-contact p { margin: 0; }
.footer-contact a { display: inline-block; padding-block: 0.3rem; }
.legal-links ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-copy { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.875rem; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 0; }
  .footer-grid > div + div { padding-left: clamp(1.5rem, 5vw, 5rem); border-left: 1px solid var(--brass); }
}

/* Legal pages */
.legal-page { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section); background: var(--paper); }
.legal-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal-page h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); margin-bottom: 2rem; }
.legal-page h2 { margin: 2.25rem 0 0.75rem; font-size: 1.625rem; letter-spacing: -0.012em; }
.back { font-size: 0.9375rem; }
.back a { display: inline-block; padding-block: 0.5rem; }
.identity { margin: 1rem 0 0; }
.identity > div { display: grid; gap: 0 1rem; padding-block: 0.6rem; border-top: 1px solid var(--line); }
.identity dt { font-weight: 600; }
.identity dd { margin: 0; overflow-wrap: anywhere; }
.updated { margin-top: 2.5rem; color: var(--muted); font-size: 0.875rem; }

@media (min-width: 620px) {
  .identity > div { grid-template-columns: 11rem 1fr; }
}
