/* Metropolitan — shared site CSS (nav, footer, design tokens) */
:root {
  --paper:   #FFFFFF;
  --grey-50: #F5F5F7;
  --grey-100:#EDEDF0;
  --line:    rgba(10, 10, 12, 0.10);
  --line-d:  rgba(255, 255, 255, 0.16);
  --grey-500:#6E6E73;
  --ink:     #0A0A0C;
  --teal:    #00788D;
  --teal-d:  #013442;
  --teal-l:  #E1F0F3;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --gut:   clamp(20px, 4vw, 72px);
  --pad-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ============ NAV ============ */
.nav-wrap {
  position: fixed;
  top: 22px;
  left: clamp(14px, 2vw, 32px);
  right: clamp(14px, 2vw, 32px);
  z-index: 200;
  display: flex; justify-content: center;
  pointer-events: none;
  transition: transform 360ms var(--ease), top 320ms var(--ease);
}
.nav-wrap.scrolled { top: 14px; }
.nav-wrap.hidden { transform: translateY(-140%); }
.nav {
  pointer-events: auto;
  position: relative;
  width: 100%; max-width: 1320px;
  display: flex; align-items: center; gap: 24px;
  padding: 5px 14px 5px 78px; /* tight bar — circle visually overflows */
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 14px 40px -16px rgba(3, 22, 29, 0.22);
  transition: padding 320ms var(--ease), background 320ms var(--ease);
}
.nav-wrap.scrolled .nav {
  padding: 3px 12px 3px 70px;
  background: rgba(255, 255, 255, 0.94);
}

/* ── Floating blue-ball logo puck (stays the SAME size when bar shrinks) ── */
.nav-logo {
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 78px; height: 78px;
  background: var(--paper);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -10px rgba(0, 120, 141, 0.45), 0 1px 0 rgba(255,255,255,0.95) inset;
  flex-shrink: 0;
  transition: transform 280ms var(--ease), width 280ms var(--ease), height 280ms var(--ease);
}
.nav-logo:hover { transform: translateY(-50%) scale(1.04); }
.nav-logo img {
  width: 58px; height: 58px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(1, 52, 66, 0.18));
  transition: width 280ms var(--ease), height 280ms var(--ease);
}
.nav-wrap.scrolled .nav-logo { width: 64px; height: 64px; left: -2px; }
.nav-wrap.scrolled .nav-logo img { width: 46px; height: 46px; }

/* ── Top-level links ── */
.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 32px; flex: 1 1 auto; justify-content: center;
  font-family: var(--display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-links li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 0; /* tighter — bar is now shorter than the floating ball */
  color: var(--ink); opacity: 0.82;
  position: relative;
  transition: opacity 240ms var(--ease), color 240ms var(--ease);
}
.nav-links > li > a::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: 8px;
  height: 1px; background: var(--teal);
  transition: right 360ms var(--ease);
}
.nav-links > li > a:hover { opacity: 1; color: var(--teal); }
.nav-links > li > a:hover::after { right: 0; }

/* ── Dropdown ── */
.has-dd { position: relative; }
.has-dd::after {
  content: ""; position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 30px;
}
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px; padding: 18px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 32px 64px -20px rgba(10, 10, 12, 0.22);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  transition-delay: 180ms;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--body); font-size: 13px; letter-spacing: 0.04em; font-weight: 400;
  text-transform: none;
}
.dd a { padding: 9px 4px; opacity: 0.85; }
.dd a:hover { opacity: 1; color: var(--teal); }
.has-dd:hover .dd { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0ms; }

/* ── Right side ── */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang {
  display: inline-flex; align-items: center;
  padding: 3px; background: rgba(10, 10, 12, 0.06);
  border-radius: 999px;
  font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
}
.lang button, .lang a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 11px; border-radius: 999px;
  color: var(--grey-500);
  text-decoration: none;
  transition: background 220ms var(--ease), color 220ms var(--ease);
  cursor: pointer;
  border: 0; background: none; font: inherit;
}
.lang button.active, .lang a.active { background: var(--teal); color: var(--paper); }
.lang button:not(.active):hover, .lang a:not(.active):hover { color: var(--ink); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 12.5px; font-weight: 500;
  color: var(--ink); opacity: 0.88;
  padding: 6px;
}
.nav-phone:hover { opacity: 1; color: var(--teal); }
.nav-phone svg { width: 14px; height: 14px; }
.nav-cta {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 999px;
  background: var(--teal); color: var(--paper);
  box-shadow: 0 10px 22px -8px rgba(0, 120, 141, 0.55);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-d); transform: translateY(-1px); }

/* ── Burger (mobile) — sits LEFT side, just after the floating logo ── */
.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(10,10,12,0.05);
  align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-left: -8px; /* tuck close to the logo */
  transition: background 220ms var(--ease);
  order: -1; /* render first inside .nav-right we use a flex-row override below */
}
.nav-burger:hover { background: rgba(10,10,12,0.10); }
.nav-burger > div { display: flex; flex-direction: column; gap: 3px; }
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 280ms var(--ease), opacity 200ms var(--ease);
}

/* ── Mobile breakpoints ── */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; font-size: 11.5px; }
  .nav-phone { display: none; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  /* Logo floats left, burger on the RIGHT (next to CTA) */
  .nav {
    padding: 5px 12px 5px 80px;
    gap: 8px;
    justify-content: flex-end;
  }
  .nav-logo { width: 64px; height: 64px; left: -2px; }
  .nav-logo img { width: 46px; height: 46px; }
  .nav-wrap.scrolled .nav-logo { width: 56px; height: 56px; }
  .nav-wrap.scrolled .nav-logo img { width: 40px; height: 40px; }
  .nav-burger {
    display: inline-flex;
    margin-left: 4px;
    position: relative;
    left: auto; top: auto; transform: none;
    order: 99;
  }
  .nav-right .lang, .nav-right .nav-phone { display: none; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav-wrap { top: 10px; left: 10px; right: 10px; }
  .nav { padding: 4px 10px 4px 70px; gap: 6px; }
  .nav-logo { width: 56px; height: 56px; }
  .nav-logo img { width: 40px; height: 40px; }
  .nav-burger { width: 34px; height: 34px; }
  .nav-cta { padding: 9px 14px; font-size: 10px; letter-spacing: 0.12em; }
}

/* ============ Mobile side drawer ============ */
.nav-overlay-backdrop {
  position: fixed; inset: 0;
  background: rgba(3, 22, 29, 0.42);
  z-index: 299;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms var(--ease), visibility 360ms;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay-backdrop.open { opacity: 1; visibility: visible; }
.nav-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  background:
    radial-gradient(circle at 90% -10%, rgba(225, 240, 243, 0.6) 0%, rgba(225, 240, 243, 0) 40%),
    radial-gradient(circle at -10% 100%, rgba(225, 240, 243, 0.4) 0%, rgba(225, 240, 243, 0) 40%),
    var(--paper);
  z-index: 300;
  display: flex; flex-direction: column;
  padding: 32px clamp(24px, 5vw, 32px) 24px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 480ms var(--ease), visibility 480ms;
  box-shadow: -28px 0 80px -20px rgba(3, 22, 29, 0.32);
}
.nav-overlay.open { transform: translateX(0); visibility: visible; }

/* Drawer header with the blue ball */
.nav-overlay-head {
  display: flex;
  align-items: center; justify-content: space-between;
  padding-bottom: 22px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav-overlay-logo {
  width: 52px; height: 52px;
  background: var(--paper);
  border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(0, 120, 141, 0.35);
}
.nav-overlay-logo img {
  width: 40px; height: 40px;
  filter: drop-shadow(0 2px 6px rgba(1, 52, 66, 0.18));
}
.nav-overlay-close {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(10,10,12,0.06);
  display: grid; place-items: center;
  transition: background 220ms var(--ease);
  top: auto; right: auto;
}
.nav-overlay-close:hover { background: rgba(10,10,12,0.12); }
.nav-overlay-close svg { width: 16px; height: 16px; }
.nav-overlay-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1 1 auto;
  overflow-y: auto;
}
.nav-overlay-links > li > a, .nav-overlay-links > li > details > summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-family: var(--display);
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
.nav-overlay-links details summary::-webkit-details-marker { display: none; }
.nav-overlay-links details summary { list-style: none; }
.nav-overlay-links details summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--grey-500);
  transition: transform 240ms var(--ease);
}
.nav-overlay-links details[open] summary::after { transform: rotate(45deg); color: var(--teal); }
.nav-overlay-links details ul { list-style: none; padding: 12px 0 12px 16px; margin: 0; }
.nav-overlay-links details li a {
  display: block;
  padding: 10px 0;
  font-family: var(--body);
  font-size: 15px;
  color: var(--grey-500);
  border-bottom: 0;
}
.nav-overlay-links details li a:hover { color: var(--teal); }
.nav-overlay-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.nav-overlay-foot .lang { display: inline-flex; align-self: flex-start; }
.nav-overlay-foot .nav-phone { display: inline-flex; padding: 0; font-size: 14px; color: var(--ink); opacity: 0.85; }
.nav-overlay-foot .nav-phone svg { color: var(--teal); }
.nav-overlay-foot .nav-cta { display: inline-flex; align-self: stretch; justify-content: center; }
.nav-overlay-foot::before {
  content: "Contact";
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: -6px;
}
.nav-overlay-links { gap: 0; }
.nav-overlay-links > li > a,
.nav-overlay-links > li > details > summary {
  padding: 16px 0;
  font-size: 22px;
}
.nav-overlay-links > li > a:hover,
.nav-overlay-links > li > details > summary:hover { color: var(--teal); }
body.nav-locked { overflow: hidden; }

/* ============ Section primitives ============ */
.section { padding: var(--pad-y) var(--gut); }
.section.paper { background: var(--paper); }
.section.grey  { background: var(--grey-50); }
.section.teal  { background: linear-gradient(180deg, var(--teal-d) 0%, var(--teal) 100%); color: var(--paper); }
.wrap { max-width: 1480px; margin: 0 auto; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section.teal .eyebrow { color: var(--teal-l); }
.h-large {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 28px; max-width: 22ch;
}
.h-large .accent { color: var(--teal); font-weight: 500; }
.lede {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--grey-500); max-width: 52ch; margin: 0 0 40px;
}
.btn {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.btn-teal { background: var(--teal); color: var(--paper); box-shadow: 0 12px 28px -10px rgba(0, 120, 141, 0.45); }
.btn-teal:hover { background: var(--teal-d); transform: translateY(-1px); }
.btn-ghost { border: 1px solid currentColor; background: transparent; }
.btn-ghost:hover { background: currentColor; color: var(--paper); }

/* ============ Page header (sub-pages) ============ */
.page-hero {
  padding: 180px var(--gut) clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
  background-color: var(--grey-50);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2400&q=85");
  background-size: cover;
  background-position: center 55%;
  opacity: 0.32;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(225, 240, 243, 0.55) 0%, rgba(245, 245, 247, 0.55) 50%, rgba(255, 255, 255, 0.85) 100%);
  z-index: 1;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.page-hero-eyebrow {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 16px;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 0 18px; max-width: 22ch;
  color: var(--ink);
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--teal); }
.page-hero p {
  font-family: var(--body); font-size: clamp(16px, 1.3vw, 20px);
  color: var(--grey-500); max-width: 56ch; margin: 0;
}
@media (max-width: 720px) {
  .page-hero { padding: 140px 22px clamp(48px, 10vw, 80px); }
  .page-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .page-hero p { font-size: 15px; }
}

/* ============ Footer ============ */
.footer { background: var(--ink); color: var(--paper); padding: 100px var(--gut) 40px; }
.footer-inner { max-width: 1480px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; } }
.footer h4 { font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255, 255, 255, 0.78); transition: color 200ms var(--ease), padding-left 200ms var(--ease); }
.footer ul a:hover { color: var(--paper); padding-left: 6px; }
.footer-brand-mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer-brand-mark img { height: 40px; width: 40px; display: block; filter: none; opacity: 1; }
.footer-brand-mark-text { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 14px; letter-spacing: 0.18em; color: rgba(255,255,255,0.95); text-transform: uppercase; line-height: 1.15; }
.footer-brand-mark-text small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 0.22em; color: rgba(255,255,255,0.58); margin-top: 5px; }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.65); max-width: 32ch; margin: 8px 0 24px; }
.footer-contact p { margin: 0 0 8px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--teal-l); }
.footer-socials { display: flex; gap: 14px; margin-top: 16px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background 220ms var(--ease); }
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); }
.footer-socials svg { width: 13px; height: 13px; color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; margin-top: 40px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* Reveal */
.r { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.r.in { opacity: 1; transform: translateY(0); }
