/* =================================================================
   Usratec — Homepage styles
   Palette: Deep Marine #0F1D2D · Champagne Gold #C89F5A
            Sand #E9DFCF · Off White #FAF7F2
   Type:    Inter (UI/headlines) · Playfair Display (wordmark accent)
   ================================================================= */

:root {
  --marine: #0F1D2D;
  --marine-2: #1B2F46;
  --gold: #C89F5A;
  --sand: #E9DFCF;
  --offwhite: #FAF7F2;
  --white: #ffffff;
  --ink-soft: #3a4a5a;
  --slate: #64748B;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 11vh, 144px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--marine);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

/* ---------- Shared helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: none;}
.eyebrow--center::after { content: ""; width: 24px; height: 1px; background: var(--gold);display: none; }
.eyebrow--center::before { width: 24px;display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn--dark { background: var(--marine); color: var(--offwhite); }
.btn--dark:hover { background: var(--marine-2); }
.btn--dark .btn__icon { background: var(--gold); color: var(--marine); }

.btn--light { background: var(--offwhite); color: var(--marine); }
.btn--light:hover { background: var(--gold); }
.btn--light .btn__icon { background: var(--marine); color: var(--offwhite); }

.btn--ghost {
  padding: 14px 28px;
  border: 1px solid rgba(250, 247, 242, 0.5);
  background: rgba(250, 247, 242, 0.04);
  color: var(--offwhite);
}
.btn--ghost:hover { background: rgba(250, 247, 242, 0.12); border-color: var(--offwhite); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--offwhite);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.35);
  transition: border-color 220ms ease, color 220ms ease;
}
.text-link:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Media placeholder ---------- */
.media { position: relative; background: var(--sand); overflow: hidden; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 29, 45, 0.4);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--right { transform: translateX(48px); }
.reveal--left { transform: translateX(-48px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   HEADER / NAV  (sits over the hero)
   ================================================================= */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; animation: fade-down 0.7s ease both; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(20px, 3.4vw, 34px) var(--pad-x);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__word {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.01em;
  color: var(--offwhite);
  line-height: 1;
}
.brand img {
  height: 90px;   /* nav logo height — match the old mark */
  width: auto;    /* keeps the aspect ratio, no squashing */
  display: block;
}
.mobile-menu .brand img { height: 36px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.nav__link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.86);
  text-decoration: none;
  transition: color 200ms ease;
}
.nav__link:hover { color: var(--offwhite); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 9px 9px 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, 0.45);
  background: rgba(250, 247, 242, 0.04);
  color: var(--offwhite);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.nav__cta:hover { background: var(--offwhite); color: var(--marine); border-color: var(--offwhite); }
.nav__cta .btn__icon { width: 28px; height: 28px; background: var(--gold); color: var(--marine); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin: -12px -8px -12px 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--offwhite); border-radius: 2px; }
.nav__toggle span:last-child { width: 18px; background: var(--gold); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--marine);
  display: none;
  flex-direction: column;
  padding: clamp(20px, 4vw, 34px);
}
.mobile-menu.is-open { display: flex; animation: menu-in 320ms var(--ease) both; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: -8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--offwhite);
}
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; margin: auto 0; }
.mobile-menu__links a {
  display: block;
  padding: 12px 0;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  text-decoration: none;
  transition: color 200ms ease;
}
.mobile-menu__links a:hover { color: var(--gold); }
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 16px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--marine);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu__cta .btn__icon { width: 38px; height: 38px; background: var(--marine); color: var(--offwhite); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--marine);
  overflow: hidden;
}
.hero__bg { position: absolute; top: -7%; left: 0; right: 0; height: 114%; z-index: 0; will-change: transform; animation: fade 1.1s ease both; }
.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills without distortion */
  display: block;
}
.hero__bg .glow { position: absolute; inset: 0; background: radial-gradient(120% 90% at 78% 18%, rgba(200, 159, 90, 0.16) 0%, rgba(200, 159, 90, 0) 48%), var(--marine); }
.hero__bg .media { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 29, 45, 0.74) 0%, rgba(15, 29, 45, 0.30) 22%, rgba(15, 29, 45, 0.28) 48%, rgba(15, 29, 45, 0.70) 82%, rgba(15, 29, 45, 0.88) 100%);
}
.hero__inner { position: relative; z-index: 10; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-x); }
.hero__block { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.6vw, 30px); max-width: 880px; }
.hero .eyebrow { animation: fade-up 0.7s ease both 0.12s; }
.hero__title {
  font-weight: 800;
  font-size: clamp(2.9rem, 8.4vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--offwhite);
  max-width: 13ch;
  text-wrap: balance;
  animation: fade-up 0.8s ease both 0.2s;
}
.hero__title span { color: var(--gold); }
.hero__text {
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.84);
  max-width: 620px;
  animation: fade-up 0.8s ease both 0.32s;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 8px; animation: fade-up 0.8s ease both 0.44s; }

.scroll-cue {
  position: absolute;
  bottom: clamp(22px, 4vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fade 1s ease both 0.8s;
}
.scroll-cue span:first-child { font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(250, 247, 242, 0.6); }
.scroll-cue__rail { position: relative; display: block; width: 1px; height: 46px; background: rgba(250, 247, 242, 0.25); overflow: hidden; }
.scroll-cue__rail::after { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 12px; background: var(--gold); animation: scroll-dot 1.9s ease-in-out infinite; }

/* =================================================================
   ABOUT
   ================================================================= */
.about { padding: var(--section-y) var(--pad-x); }
.about__grid { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.about__text { flex: 1 1 440px; min-width: 0; }
.about__text .eyebrow { margin-bottom: 28px; }
.section-title {
  font-weight: 800;
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--marine);
  max-width: 16ch;
  text-wrap: balance;
}
.about__text .section-title { margin-bottom: 28px; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); max-width: 56ch; }
.about__text .lead + .lead { margin-top: 24px; }
.about__text .btn { margin-top: 40px; }
.about__media { flex: 1 1 440px; min-width: 0; }
.about__media .media { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; }

/* =================================================================
   SERVICES
   ================================================================= */
.services { padding: var(--section-y) var(--pad-x); }
.services__inner { max-width: var(--container); margin: 0 auto; }
.services__head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.services .eyebrow { margin-bottom: 26px; }
.services__aside { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.services__aside p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.6; color: var(--ink-soft); }

.services__list { margin-top: clamp(48px, 7vh, 88px); border-top: 1px solid rgba(15, 29, 45, 0.14); }
.service-row { border-bottom: 1px solid rgba(15, 29, 45, 0.14); cursor: pointer; transition: background-color 280ms ease; outline: none; }
.service-row__inner { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3.4vw, 40px) clamp(12px, 2vw, 28px); }
.service-row__num {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  padding-top: clamp(6px, 0.7vw, 12px);
  font-variant-numeric: tabular-nums;
  transition: color 280ms ease;
}
.service-row__body { flex: 1 1 auto; min-width: 0; }
.service-row__title {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--marine);
  transition: color 280ms ease;
}
.service-row__desc { overflow: hidden; max-height: 240px; opacity: 0.85; margin-top: 14px; transition: max-height 360ms var(--ease), opacity 320ms ease, margin-top 360ms ease; }
.service-row__desc p { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: rgba(58, 74, 90, 0.7); max-width: 60ch; }
.service-row__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 4vw, 52px);
  height: clamp(40px, 4vw, 52px);
  border-radius: 50%;
  border: 1px solid rgba(15, 29, 45, 0.22);
  color: var(--marine);
  transition: transform 300ms var(--ease), color 280ms ease, border-color 280ms ease;
}

/* Desktop hover */
@media (min-width: 760px) {
  .service-row:hover { background-color: var(--offwhite); }
  .service-row:hover .service-row__title { color: var(--gold); }
  .service-row:hover .service-row__num { color: var(--gold); }
  .service-row:hover .service-row__desc { opacity: 1; }
  .service-row:hover .service-row__desc p { color: var(--ink-soft); }
  .service-row:hover .service-row__icon { color: var(--gold); border-color: var(--gold); transform: translateX(6px); }
}

/* Mobile accordion */
@media (max-width: 759px) {
  .service-row__desc { max-height: 0; opacity: 0; margin-top: 0; }
  .service-row__desc p { color: var(--ink-soft); }
  .service-row.is-open .service-row__desc { max-height: 240px; opacity: 1; margin-top: 14px; }
  .service-row.is-open .service-row__title,
  .service-row.is-open .service-row__num { color: var(--gold); }
  .service-row.is-open .service-row__icon { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
}

/* =================================================================
   USP  (why us — carousel)
   ================================================================= */
.usp { padding: var(--section-y) var(--pad-x); }
.usp__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(36px, 5vw, 80px); }
.usp__intro { flex: 1 1 320px; max-width: 440px; }
.usp__intro .eyebrow { margin-bottom: 26px; }
.usp__intro .section-title { margin-bottom: 24px; }
.usp__intro p { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.62; color: var(--ink-soft); max-width: 42ch; }

.usp__controls { display: flex; align-items: center; gap: 20px; margin-top: clamp(32px, 4vh, 48px); }
.usp__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(15, 29, 45, 0.22);
  background: var(--white);
  color: var(--marine);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}
.usp__arrow:hover:not(:disabled) { background: var(--marine); color: var(--offwhite); border-color: var(--marine); }
.usp__arrow:disabled { opacity: 0.4; cursor: default; }
.usp__dots { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.usp__dot { height: 6px; width: 6px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: rgba(15, 29, 45, 0.22); transition: width 280ms ease, background 280ms ease; }
.usp__dot.is-active { width: 26px; background: var(--marine); }

.usp__viewport { flex: 1 1 560px; min-width: 0; overflow: hidden; }
.usp__track { display: flex; transition: transform 540ms var(--ease); touch-action: pan-y; }
.usp__slide { flex: 0 0 auto; width: 60%; padding-right: clamp(16px, 2vw, 28px); }
.usp-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
  border: 1px solid rgba(15, 29, 45, 0.10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 29, 45, 0.05);
  transition: transform 320ms var(--ease), box-shadow 320ms ease, border-color 320ms ease;
}
/* Editorial media panel — brand motif instead of a photo */
.usp-card__media {
  position: relative;
  height: clamp(104px, 13vw, 140px);   /* was aspect-ratio: 16 / 10 */
  background-color: var(--marine);
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  background-position: -9px -9px;
  overflow: hidden;
}

/* short gold rule, top-left */
.usp-card__media::after {
  content: "";
  position: absolute;
  top: clamp(20px, 2.4vw, 30px);
  left: clamp(20px, 2.4vw, 30px);
  width: 34px;
  height: 2px;
  background: var(--gold);
}

/* big editorial number, bottom-left */
.usp-card__media-num {
  position: absolute;
  left: clamp(20px, 2.4vw, 30px);
  bottom: clamp(10px, 1.2vw, 16px);
  font-size: clamp(2.75rem, 4.5vw, 4rem);   /* was clamp(4.5rem, 9vw, 7rem) */
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: transform 320ms var(--ease);
}

/* nudge the number on card hover */
.usp-card:hover 
.usp-card__media-num { transform: translateY(-4px); }
.usp-card__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 30px); }
.usp-card__num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.usp-card__title { font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--marine); }
.usp-card__body p { font-size: clamp(0.98rem, 1.1vw, 1.05rem); line-height: 1.58; color: var(--ink-soft); }
.usp-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(15, 29, 45, 0.16); border-color: var(--gold); }
.usp-card:hover .usp-card__media .media { transform: scale(1.06); }

@media (max-width: 1023px) { .usp__slide { width: 72%; } }
@media (max-width: 639px)  { .usp__slide { width: 90%; } }

/* =================================================================
   CTA BANNER
   ================================================================= */
.cta-banner { padding: clamp(56px, 9vh, 120px) var(--pad-x); }
.cta-banner__inner { max-width: var(--container); margin: 0 auto; }
.cta-banner__card { position: relative; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: var(--marine); }
.cta-banner__bg { position: absolute; inset: 0; overflow: hidden; }
.cta-banner__bg .media { position: absolute; inset: 0; width: 100%; height: 100%; background: #14283d; transition: transform 700ms var(--ease); }
.cta-banner__card:hover .cta-banner__bg .media { transform: scale(1.04); }
.cta-banner__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 29, 45, 0.92) 0%, rgba(15, 29, 45, 0.78) 38%, rgba(15, 29, 45, 0.45) 68%, rgba(15, 29, 45, 0.28) 100%); }
.cta-banner__content { position: relative; z-index: 2; max-width: 620px; padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; align-items: flex-start; }
.cta-banner__content .eyebrow { margin-bottom: 24px; }
.cta-banner__title { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--offwhite); text-wrap: balance; margin-bottom: 22px; }
.cta-banner__text { font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.62; color: rgba(250, 247, 242, 0.86); max-width: 50ch; margin-bottom: 40px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* =================================================================
   INTERNATIONAL  (map)
   ================================================================= */

.intl {
  padding: var(--section-y) var(--pad-x);
}

.intl__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.intl__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.intl__head .eyebrow {
  margin-bottom: 24px;
}

.intl__title {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--marine);
  text-wrap: balance;
  margin-bottom: 20px;
}

.intl__head p {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Main map stage */
.intl__map {
  position: relative;
  width: 100%;
  max-width: 1180px;
  aspect-ratio: 1658 / 686;
  margin: clamp(40px, 6vh, 72px) auto 0;
  overflow: visible;
}

/* Better map image from the public Webflow asset */
.intl__map-art {
  position: absolute;
  inset: 0;
  background-image: url("../images/map.webp"); /* ← adjust to your real folder/file name */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.92;
  pointer-events: none;
}

/* Optional soft glow so the map feels more premium on white */
.intl__map::before {
  content: "";
  position: absolute;
  inset: 8% 8% 2%;
  background:
    radial-gradient(circle at 50% 42%, rgba(200, 159, 90, 0.10), transparent 34%),
    radial-gradient(circle at 50% 48%, rgba(15, 29, 45, 0.05), transparent 48%);
  filter: blur(18px);
  z-index: -1;
}

/* Connector lines */
.intl__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.intl__lines path {
  fill: none;
  stroke: rgba(15, 29, 45, 0.42);
  stroke-width: 2.2;            /* was 0.36 */
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms ease;
}

.intl__lines.is-visible path {
  stroke-dashoffset: 0;
}

.intl__lines path:nth-of-type(1) { transition-delay: 0.2s; }
.intl__lines path:nth-of-type(2) { transition-delay: 0.3s; }
.intl__lines path:nth-of-type(3) { transition-delay: 0.4s; }
.intl__lines path:nth-of-type(4) { transition-delay: 0.5s; }

.intl__lines circle {
  fill: var(--gold);
  stroke: #fff;
  stroke-width: 2;
}

/* Floating country pills */
.country-pill-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* Positions calibrated for the 1658 / 686 map */
.country-pill-wrap--uk {
  left: 27%;
  top: 12%; /* unchanged — these point at the label boxes, not the dots */
}

.country-pill-wrap--nl {
  left: 76%;
  top: 16%;
}

.country-pill-wrap--pt {
  left: 30%;
  top: 72%;
}

.country-pill-wrap--cy {
  left: 76%;
  top: 73%;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  background: var(--marine);
  color: var(--offwhite);
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(15, 29, 45, 0.20);
  transition: transform 260ms var(--ease), background 220ms ease, box-shadow 220ms ease;
}

.country-pill:hover {
  background: var(--marine-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 29, 45, 0.24);
}

/* This fixes the squeezed circle issue */
.country-pill__code {
  display: inline-grid;
  place-items: center;

  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  flex: 0 0 30px;
  aspect-ratio: 1 / 1;

  border-radius: 50%;
  background: var(--offwhite);
  color: var(--marine);
  border: 1px solid var(--gold);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;

  box-sizing: border-box;
  overflow: hidden;
}

.country-pill__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Mobile fallback list */
.intl__list {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 460px;
}

.intl__list .country-pill {
  width: 100%;
  padding: 12px 20px 12px 12px;
  box-shadow: none;
}

.intl__list .country-pill__code {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  font-size: 12px;
}

.intl__list .country-pill__name {
  font-size: 17px;
}

.intl__foot {
  text-align: center;
  max-width: 620px;
  margin: clamp(40px, 6vh, 72px) auto 0;
}

.intl__foot p {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
  color: var(--slate);
  margin-bottom: 32px;
}

/* Tablet tuning */
@media (max-width: 980px) {
  .intl__map {
    width: 112%;
    margin-left: -6%;
    margin-right: -6%;
  }

  .country-pill {
    gap: 8px;
    padding: 6px 14px 6px 6px;
  }

  .country-pill__name {
    font-size: 13px;
  }

  .country-pill__code {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-basis: 28px;
    font-size: 10px;
  }
}

/* Mobile: keep the beautiful map, remove the floating labels/lines,
   and show the clean country list below */
@media (max-width: 767px) {
  .intl__map {
    width: 128%;
    margin-left: -14%;
    margin-right: -14%;
    margin-top: 34px;
    aspect-ratio: 1658 / 686;
  }

  .intl__map .country-pill-wrap,
  .intl__lines {
    display: none;
  }

  .intl__map-art {
    opacity: 0.82;
  }

  .intl__list {
    display: flex;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .intl__map {
    width: 142%;
    margin-left: -21%;
    margin-right: -21%;
  }
}

/* =================================================================
   TEAM
   ================================================================= */
.team { background: var(--offwhite); padding: var(--section-y) var(--pad-x); }
.team__inner { max-width: var(--container); margin: 0 auto; }
.team__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-bottom: clamp(40px, 6vh, 72px); }
.team__intro { flex: 1 1 520px; max-width: 720px; }
.team__intro .eyebrow { margin-bottom: 24px; }
.team__intro .section-title { margin-bottom: 22px; }
.team__intro .lead { color: var(--ink-soft); }
/* Paginated carousel (10+ members) */
.team__carousel { position: relative; }
.team__viewport { overflow: hidden; }
.team__track { display: flex; transition: transform 540ms var(--ease); touch-action: pan-y; }
.team__slide { flex: 0 0 25%; min-width: 0; padding-right: clamp(20px, 2.4vw, 32px); box-sizing: border-box; }

.team__pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(32px, 5vh, 52px); }
.team__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 29, 45, 0.22);
  background: transparent;
  color: var(--marine);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}
.team__arrow:hover:not(:disabled) { background: var(--marine); color: var(--offwhite); border-color: var(--marine); }
.team__arrow:disabled { opacity: 0.35; cursor: default; }
.team__dots { display: flex; align-items: center; gap: 8px; }
.team__dot { height: 6px; width: 6px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: rgba(15, 29, 45, 0.22); transition: width 280ms ease, background 280ms ease; }
.team__dot.is-active { width: 26px; background: var(--marine); }

@media (max-width: 1023px) { .team__slide { flex-basis: 50%; } }
@media (max-width: 639px) {
  .team__slide { flex-basis: 100%; }
  .team__dots { display: none; }   
  .team__pager { gap: 24px; }      
}

.member { outline: none; }
.member__media { position: relative; border-radius: 24px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 1px 2px rgba(15, 29, 45, 0.06); transition: border-color 320ms ease, box-shadow 320ms ease; }
.member__media .media { width: 100%; aspect-ratio: 4 / 5; transition: transform 560ms var(--ease); }
.member__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.member__name { font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.5rem); letter-spacing: -0.01em; color: var(--marine); }
.member__arrow { color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity 280ms ease, transform 280ms var(--ease); flex-shrink: 0; }
.member__role { margin-top: 4px; font-size: clamp(0.95rem, 1.1vw, 1.05rem); font-weight: 500; color: var(--slate); }
.member:hover .member__media, .member:focus-visible .member__media { border-color: var(--gold); box-shadow: 0 22px 46px rgba(15, 29, 45, 0.16); }
.member:hover .member__media .media, .member:focus-visible .member__media .media { transform: scale(1.05); }
.member:hover .member__arrow, .member:focus-visible .member__arrow { opacity: 1; transform: none; display: none; }

/* =================================================================
   FINAL CTA + FOOTER
   ================================================================= */
.site-footer { background: var(--marine); color: var(--offwhite); }
.final-cta { position: relative; overflow: hidden; padding: clamp(80px, 15vh, 200px) var(--pad-x); text-align: center; }
.final-cta__mark { position: absolute; right: -4%; bottom: -18%; width: clamp(280px, 38vw, 620px); height: auto; opacity: 0.05; pointer-events: none; }
.final-cta__inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.final-cta__inner .eyebrow { margin-bottom: 28px; }
.final-cta__title { font-weight: 800; font-size: clamp(2.4rem, 6.5vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--offwhite); text-wrap: balance; margin-bottom: 26px; }
.final-cta__text { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.6; color: rgba(250, 247, 242, 0.78); max-width: 60ch; margin-bottom: 44px; }
.final-cta .btn--light { padding: 10px 10px 10px 30px; font-size: 16px; }
.final-cta .btn--light .btn__icon { width: 38px; height: 38px; }

.footer-divider { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.footer-divider > div { height: 1px; background: rgba(233, 223, 207, 0.16); }

.footer-nav { max-width: var(--container); margin: 0 auto; padding: clamp(56px, 8vh, 88px) var(--pad-x) clamp(40px, 5vh, 56px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.footer-brand .brand__word { font-size: 28px; }
.footer-brand p { margin-top: 22px; font-size: 16px; font-weight: 500; line-height: 1.6; color: rgba(233, 223, 207, 0.82); max-width: 30ch; }
.footer-col h3 { margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col li, .footer-col a { font-size: 16px; }
.footer-col .footer-loc { color: rgba(233, 223, 207, 0.7); line-height: 1.5; }

.flink { position: relative; color: rgba(250, 247, 242, 0.72); text-decoration: none; transition: color 220ms ease; }
.flink:hover, .flink:focus-visible { color: var(--offwhite); }
.flink::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); }
.flink:hover::after, .flink:focus-visible::after { transform: scaleX(1); }
.flink:focus-visible { outline: 2px solid rgba(200, 159, 90, 0.6); outline-offset: 4px; border-radius: 2px; }

.socials { display: flex; gap: 12px; margin-top: 26px; }
.soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(233, 223, 207, 0.28);
  color: rgba(250, 247, 242, 0.82);
  transition: transform 260ms var(--ease), border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.soc:hover, .soc:focus-visible { transform: translateY(-4px); border-color: var(--gold); color: var(--marine); background: var(--gold); }
.soc:focus-visible { outline: 2px solid rgba(200, 159, 90, 0.6); outline-offset: 3px; }

.footer-bottom { border-top: 1px solid rgba(233, 223, 207, 0.16); }
.footer-bottom__inner { max-width: var(--container); margin: 0 auto; padding: 26px var(--pad-x); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-bottom__inner p { font-size: 14px; color: rgba(233, 223, 207, 0.62); }
.footer-bottom__inner ul { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-bottom__inner a { font-size: 14px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

/* =================================================================
   NAV responsive switch
   ================================================================= */
@media (max-width: 879px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* =================================================================
   CAREERS / NUMBERS
   ================================================================= */
.careers { padding: var(--section-y) var(--pad-x); background: var(--white); }
.careers__inner { max-width: var(--container); margin: 0 auto; }
.careers__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 64px; }
.careers__lead { flex: 1 1 480px; max-width: 640px; }
.careers__lead .eyebrow { margin-bottom: 26px; }
.careers__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--marine);
  text-wrap: balance;
}
.careers__aside { flex: 1 1 360px; max-width: 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.careers__aside p { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.62; color: var(--ink-soft); }

.careers__stats {
  margin-top: clamp(52px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.stat { position: relative; padding-top: 26px; border-top: 1px solid rgba(15, 29, 45, 0.16); transition: transform 320ms var(--ease); }
.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}
.stat__num {
  display: block;
  font-weight: 800;
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--marine);
  font-variant-numeric: tabular-nums;
  transition: color 280ms ease;
}
.stat__label {
  display: block;
  margin-top: 16px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--slate);
}
.stat:hover { transform: translateY(-4px); }
.stat:hover::before { transform: scaleX(1); }
.stat:hover .stat__num { color: var(--gold); }

@media (max-width: 860px) { .careers__stats { grid-template-columns: repeat(2, 1fr); gap: 40px clamp(20px, 5vw, 48px); } }
@media (max-width: 460px) { .careers__stats { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }

/* =================================================================
   Keyframes
   ================================================================= */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
