/* Expatos Relocation Services
   Palette and tone taken from the brand flyer: deep green, gold, warm off-white. */

:root {
  --green: #003427;
  --green-deep: #072b21;
  --green-soft: #0f4737;
  --gold: #b17d1a;
  --gold-light: #d9a94a;
  --paper: #fbfaf8;
  --sand: #f4efe9;
  --line: #e4ddd2;
  --ink: #1c2a25;
  --muted: #56645e;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat", cursive;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--green); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.04; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--green); }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--green); }
p { text-wrap: pretty; }

.label {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.script { font-family: var(--script); font-size: 1.7rem; line-height: 1.1; color: var(--gold); }
.strong { font-weight: 500; color: var(--green); }

.section { padding-block: var(--section); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 + p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split h2 + p, .split p + p { margin-top: 20px; }
.split p { max-width: 54ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-soft); }
.btn-line { border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold-light); color: var(--green-deep); font-weight: 600; }
.btn-gold:hover { background: #e6bb63; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-weight: 600; font-size: 1.3rem; letter-spacing: .14em; }
.brand-text i { font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.brand-light { color: #fff; }
.brand-light .brand-text i { color: var(--gold-light); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-size: .98rem; color: var(--ink); position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; padding: 0; cursor: pointer; margin-right: -8px;
  }
  .menu-btn span { width: 24px; height: 2px; background: var(--green); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; min-height: 52px; }
}

/* Hero */
.hero { padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.lede { margin-top: 24px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 520px) { .actions .btn { width: 100%; } }

.hero-art { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(120% 70% at 70% 30%, rgba(217, 169, 74, .2), transparent 60%),
    linear-gradient(180deg, var(--green-soft), var(--green-deep));
}
.arch::after {
  content: ""; position: absolute; inset: 12px; border-radius: inherit;
  border: 1px solid rgba(217, 169, 74, .38); pointer-events: none;
}
.skyline { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; stroke: var(--gold-light); stroke-width: 1.4; }
.skyline .sun { stroke: rgba(217, 169, 74, .3); fill: rgba(217, 169, 74, .07); }
.skyline .palms { stroke: rgba(217, 169, 74, .7); stroke-width: 1.2; }
.js .skyline .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) .5s forwards; }
.js .skyline .draw path:last-child { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; animation: fade 1s 2s forwards; }
.js .skyline .palms, .js .skyline .sun { opacity: 0; animation: fade 1.2s 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.badge {
  position: absolute; left: -18px; bottom: 36px;
  width: 168px; height: 168px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; padding: 18px;
  background: var(--paper); color: var(--green);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(0, 52, 39, .45);
}
.badge svg { width: 24px; height: 24px; color: var(--gold); }
.badge b { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.badge b span { color: var(--gold); }
.badge small { font-size: .72rem; line-height: 1.3; color: var(--muted); max-width: 13ch; }
@media (max-width: 899px) {
  .hero-art { max-width: 340px; }
  .badge { left: -8px; bottom: 24px; width: 140px; height: 140px; padding: 14px; }
  .badge small { font-size: .66rem; }
}

.facts {
  display: grid; gap: 14px; margin-top: clamp(48px, 7vw, 88px);
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: .98rem; color: var(--green); font-weight: 500;
}
.facts li { display: flex; align-items: center; gap: 12px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, auto); justify-content: space-between; } }

/* Page-load rise */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Problem */
.problem { background: var(--sand); }
.listcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(0, 52, 39, .35);
}
.listcard-title { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ticks li { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--green); font-weight: 500; }
.tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; flex: none; color: #fff; transition: background .4s; }
.tick svg { width: 15px; height: 15px; }
.js .tick svg { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.listcard.in .tick, html:not(.js) .tick { background: var(--gold); }
.listcard.in .tick svg { opacity: 1; transform: none; }
.ticks li:nth-child(1) .tick, .ticks li:nth-child(1) .tick svg { transition-delay: .30s; }
.ticks li:nth-child(2) .tick, .ticks li:nth-child(2) .tick svg { transition-delay: .45s; }
.ticks li:nth-child(3) .tick, .ticks li:nth-child(3) .tick svg { transition-delay: .60s; }
.ticks li:nth-child(4) .tick, .ticks li:nth-child(4) .tick svg { transition-delay: .75s; }
.ticks li:nth-child(5) .tick, .ticks li:nth-child(5) .tick svg { transition-delay: .90s; }
.ticks li:nth-child(6) .tick, .ticks li:nth-child(6) .tick svg { transition-delay: 1.05s; }
.ticks li:nth-child(7) .tick, .ticks li:nth-child(7) .tick svg { transition-delay: 1.20s; }
.ticks li:nth-child(8) .tick, .ticks li:nth-child(8) .tick svg { transition-delay: 1.35s; }
.listcard .script { margin-top: 22px; text-align: right; transform: rotate(-2deg); }

/* Who */
.who-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-card {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  padding: clamp(28px, 4vw, 48px); border-radius: 18px;
  background: var(--sand); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, opacity .8s var(--ease);
}
.who-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(0, 52, 39, .5); }
.who-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.who-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.who-card p { color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green); margin-top: 10px; }
.more svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.who-card:hover .more svg { transform: translateX(5px); }
.who-card-dark { background: var(--green); border-color: var(--green); }
.who-card-dark h3, .who-card-dark .more { color: #fff; }
.who-card-dark p { color: rgba(255, 255, 255, .78); }
.who-card-dark .who-num { color: var(--gold-light); }

/* Services */
.services { background: var(--paper); border-top: 1px solid var(--line); }
.svc-group { display: grid; gap: 8px 48px; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .svc-group { grid-template-columns: 260px 1fr; } }
.svc-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; display: flex; align-items: baseline; gap: 14px; }
.svc-title span { font-style: italic; font-size: 1rem; color: var(--gold); }
.svc-list { display: grid; gap: 4px 40px; }
@media (min-width: 640px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list li { display: flex; gap: 18px; padding-block: 18px; }
.svc-icon { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.au { stroke: var(--gold); }
.svc-list p { color: var(--muted); margin-top: 6px; font-size: 1rem; line-height: 1.55; }

/* How */
.how { background: var(--green); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.how::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(217, 169, 74, .25); box-shadow: 0 0 0 60px rgba(217, 169, 74, .04), 0 0 0 120px rgba(217, 169, 74, .03);
}
.how h2 { color: #fff; }
.how .label { color: var(--gold-light); }
.steps { display: grid; gap: 36px 32px; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding-top: 24px; border-top: 1px solid rgba(217, 169, 74, .45); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold-light); display: block; margin-bottom: 18px; }
.steps h3 { color: #fff; margin-bottom: 8px; }
.steps li:nth-child(2) { transition-delay: .1s; }
.steps li:nth-child(3) { transition-delay: .2s; }
.steps li:nth-child(4) { transition-delay: .3s; }

/* Companies */
.companies { background: var(--sand); }
.companies .btn { margin-top: 32px; }
.gets { display: grid; gap: 0; border-top: 1px solid var(--green); }
.gets li { padding-block: 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.gets p { color: var(--muted); }
@media (min-width: 520px) { .gets li { grid-template-columns: 220px 1fr; gap: 20px; align-items: baseline; } }

/* Why */
.why-grid { display: grid; gap: 32px 48px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid li { padding-left: 24px; border-left: 1px solid var(--gold); }
.why-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 8px; }
.why-grid p { color: var(--muted); max-width: 46ch; }
.founder { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.founder b { color: var(--green); font-weight: 600; }

/* FAQ */
.faq { background: var(--sand); }
.faq-grid { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 340px 1fr; } .faq .head { position: sticky; top: 120px; align-self: start; } }
.faq-list { border-top: 1px solid var(--green); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-block: 22px; font-weight: 500; font-size: 1.12rem; color: var(--green);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }

/* Contact */
.contact { background: var(--green-deep); color: rgba(255, 255, 255, .8); }
.contact h2 { color: #fff; }
.contact .label { color: var(--gold-light); }
.script-lg { font-size: 2.2rem; color: var(--gold-light); margin-top: 10px !important; transform: rotate(-2deg); transform-origin: left; }
.direct { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .16); }
.direct li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding-block: 16px; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; overflow-wrap: anywhere; }
.direct span { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); padding-top: 4px; }
.direct a { text-decoration: none; }
.direct a:hover { color: var(--gold-light); }

.form { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.field { display: grid; gap: 10px; }
.field > label, .field > legend { font-weight: 600; font-size: .95rem; color: var(--green); padding: 0; }
.field > legend { margin-bottom: 10px; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input[type="text"], .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #cfc7ba; border-radius: 10px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(177, 125, 26, .25); }
::placeholder { color: #8b958f; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 18px; min-height: 44px; border: 1px solid #cfc7ba; border-radius: 999px; background: #fff; font-size: .98rem; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.form-error { color: #a12b1c; font-size: .95rem; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.textlink { background: none; border: 0; padding: 12px 0; cursor: pointer; color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
@media (max-width: 520px) { .form-actions .btn { width: 100%; } .form-actions { justify-content: center; } }

/* Footer */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 48px 110px; font-size: .95rem; }
.footer-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .footer-row { grid-template-columns: auto 1fr auto; gap: 56px; } .footer { padding-bottom: 48px; } }
.footer-tag { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer-tag span { color: var(--gold-light); font-style: italic; }
.footer-contact { display: grid; gap: 6px; overflow-wrap: anywhere; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer-legal p { border: 0; }

/* Floating WhatsApp button, phones and tablets only */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-light); color: var(--green-deep);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.fab svg { width: 28px; height: 28px; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .fab { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .reveal, .js .tick svg, .js .skyline .palms, .js .skyline .sun, .js .skyline .draw path:last-child { opacity: 1; transform: none; }
  .js .skyline .draw path { stroke-dashoffset: 0; }
  .js .tick { background: var(--gold); }
}

/* Small-screen refinements */
.problem .split { align-items: center; }
@media (max-width: 520px) {
  .direct li { grid-template-columns: 1fr; gap: 2px; }
}

/* Hero photo */
.arch-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.arch::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 52, 39, 0) 55%, rgba(7, 43, 33, .7) 100%);
}
.arch::after { z-index: 2; border-color: rgba(255, 245, 220, .55); }
.badge { z-index: 3; }

/* Numbers */
.stats { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 72px); padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--line); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.stats li { display: flex; align-items: baseline; gap: 16px; }
.stats b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--gold); }
.stats span { color: var(--green); font-weight: 500; line-height: 1.35; max-width: 18ch; }
.companies .strong { margin-top: 20px; }
.credit { margin-top: 8px; opacity: .7; }
.credit a { text-underline-offset: 3px; }

/* Capsule menu: the header becomes a floating pill once the page is scrolled */
.site-header { transition: top .4s var(--ease), padding .45s var(--ease), background .3s, border-color .3s; }
.header-row { transition: max-width .45s var(--ease), min-height .45s var(--ease), padding .45s var(--ease), border-radius .45s var(--ease), background .3s, box-shadow .3s; border-radius: 0; }
.site-header.scrolled {
  top: 12px; padding-inline: 12px; background: transparent; border-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none;
}
.site-header.scrolled .header-row, .site-header.scrolled .nav { pointer-events: auto; }
.site-header.scrolled .header-row {
  max-width: 1040px; min-height: 60px; padding-inline: 22px 8px;
  border-radius: 999px; background: rgba(251, 250, 248, .5);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 16px 36px -20px rgba(0, 52, 39, .45);
}
.site-header.scrolled .brand-mark { width: 32px; height: 32px; }
@media (max-width: 899px) {
  .site-header.scrolled .header-row { padding-inline: 16px 14px; min-height: 56px; }
  .site-header.scrolled .nav {
    left: 12px; right: 12px; top: calc(100% + 8px); padding: 8px 20px 20px;
    border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 24px 48px -24px rgba(0, 52, 39, .5);
  }
}

/* Light footer, so the page does not end on two green blocks */
.footer { background: var(--sand); color: var(--muted); border-top: 0; }
.footer-tag { color: var(--green); }
.footer-tag span { color: var(--gold); }
.footer-contact { color: var(--green); }
.footer-contact a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-legal { border-top-color: var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal a { color: var(--green); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Footer contact icons */
.footer-contact { gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
