/* ============================================================
   NELSUS GLOBAL — style.css
   Full stylesheet rebuilt from HTML analysis
   ============================================================
   Color palette:
     --navy        #1a2e4a   primary dark blue
     --navy-hover  #0f1e31   darkened navy
     --gold        #b8975a   warm muted gold
     --gold-light  #cdb07a   lighter gold
     --cream       #f5f1ea   warm cream bg
     --off-white   #faf9f7   lightest bg
     --muted       #6b7280   gray body text
     --muted-dark  #4b5563   darker body text
     --border      #ddd9d1   subtle divider

   Fonts:
     --font-serif  Playfair Display
     --font-sans   DM Sans
   ============================================================ */

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a2e4a;
  --navy-hover:  #0f1e31;
  --gold:        #b8975a;
  --gold-light:  #cdb07a;
  --cream:       #f5f1ea;
  --off-white:   #faf9f7;
  --muted:       #6b7280;
  --muted-dark:  #4b5563;
  --border:      #ddd9d1;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;

  --nav-h:       72px;
  --section-px:  clamp(24px, 5vw, 96px);
  --max-w:       1280px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 24px rgba(26,46,74,0.07);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--navy);
  flex-shrink: 0;
  transition: color 0.2s;
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.nav-logo:hover { color: var(--navy-hover); }

.nav-logo__global {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-left: 8px;
  transition: color 0.2s;
  line-height: 1;
}
.nav-logo:hover .nav-logo__global { color: var(--gold-light); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
  padding-left: clamp(24px, 3vw, 48px);
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted-dark);
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }

/* Right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-switcher { display: flex; align-items: center; gap: 6px; }

.lang-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 2px 0;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--navy); font-weight: 600; }
.lang-btn:hover  { color: var(--navy); }

.lang-divider {
  font-size: 11px;
  color: var(--border);
  user-select: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-hover); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--navy);
}
.btn--primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,46,74,0.2);
}

.btn--ghost-hero {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(26,46,74,0.45);
}
.btn--ghost-hero:hover {
  border-color: var(--navy);
  background: rgba(26,46,74,0.05);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(26,46,74,0.35);
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(26,46,74,0.04);
  transform: translateY(-2px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  max-height: 900px;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: stretch;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-fade-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #f5f1ea 0%,
    #f5f1ea 30%,
    rgba(245,241,234,0.95) 40%,
    rgba(245,241,234,0.75) 52%,
    rgba(245,241,234,0.25) 68%,
    rgba(245,241,234,0) 80%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 3vw, 36px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.15s forwards;
}

.hero-body-p {
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 1.05vw, 15px);
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted-dark);
  max-width: 460px;
  margin-bottom: clamp(32px, 4vw, 48px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.32s forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.48s forwards;
}


/* ============================================================
   HERO LOWER BAND  (id="about")
   ============================================================ */

.hero-lower {
  background: #fff;
  padding: clamp(56px, 7vw, 88px) var(--section-px) clamp(64px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-lower__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.hero-lower__eyebrow-line {
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-lower__eyebrow-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-lower__divider {
  width: 40px; height: 3px;
  background: var(--gold);
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-shrink: 0;
}

.hero-lower__heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 700px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.hero-lower__text {
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  font-weight: 300;
  line-height: 1.82;
  color: var(--muted-dark);
  max-width: 640px;
}


/* ============================================================
   ABOUT SECTION  (.ab)
   ============================================================ */

.ab {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Mission / Difference cards */
.ab-md {
  background: #f7f4ef;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.ab-md__card {
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}
.ab-md__card + .ab-md__card { border-left: 1px solid var(--border); }

.ab-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(184,151,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.ab-icon-wrap--sm {
  width: 52px; height: 52px;
  margin-bottom: 16px;
}
.ab-icon { width: 32px; height: 32px; }
.ab-icon-wrap--sm .ab-icon { width: 28px; height: 28px; }

.ab-md__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.ab-md__rule {
  width: 32px; height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0.7;
}
.ab-md__text {
  font-size: clamp(13px, 0.95vw, 14.5px);
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted-dark);
}

/* Our Values */
.ab-values {
  background: var(--cream);
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
  width: 100%;
  box-sizing: border-box;
}

.ab-values__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 60px);
  padding: 0 var(--section-px);
}
.ab-values__divider {
  width: 36px; height: 2px;
  background: var(--gold);
  opacity: 0.7;
}
.ab-values__label {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
}



  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}
  width: 24px; height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
  opacity: 0.65;
}
  font-size: clamp(12px, 0.88vw, 13.5px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-dark);
}


/* ============================================================
   WORK SECTION  (.wk)
   Dark navy · large serif heading · 2-col examples grid
   ============================================================ */

.wk {
  background: #0f2238;
  position: relative;
  overflow: hidden;
}

.wk-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) var(--section-px);
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.wk-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.wk-eyebrow__line {
  display: block;
  width: 44px;
  height: 1.5px;
  background: #b8975a;
  flex-shrink: 0;
}
.wk-eyebrow__text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: #b8975a;
  text-transform: uppercase;
}

/* ── Heading ─────────────────────────────────────────────── */
.wk-heading {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 700;
  color: #f0ece4;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

/* ── Intro paragraphs ────────────────────────────────────── */
.wk-intro {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.82;
  color: rgba(240, 236, 228, 0.75);
  max-width: 860px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* ── Full-width gold divider ─────────────────────────────── */
.wk-divider {
  width: 100%;
  height: 1px;
  background: rgba(184, 151, 90, 0.28);
  margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px);
}

/* ── Italic subheading ───────────────────────────────────── */
.wk-subhead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 400;
  color: #b8975a;
  margin-bottom: clamp(8px, 1.2vw, 18px);
  opacity: 0.95;
}

/* ── 2-column examples layout ────────────────────────────── */
.wk-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(48px, 5vw, 88px);
  width: 100%;
}

.wk-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── Individual entry ────────────────────────────────────── */
.wk-entry {
  display: flex;
  flex-direction: column;
}

.wk-entry__top {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(22px, 2.8vw, 36px) 0;
}

.wk-entry__marker {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 1px;
}
.wk-entry__marker svg {
  width: 100%;
  height: 100%;
}

.wk-entry__text {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 300;
  line-height: 1.78;
  color: rgba(240, 236, 228, 0.78);
  margin: 0;
}

.wk-entry__rule {
  width: 100%;
  height: 1px;
  background: rgba(194, 155, 92, 0.2);
  flex-shrink: 0;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================================
   LANGUAGE TRANSITION
   ============================================================ */

.lang-transitioning .hero-headline,
.lang-transitioning .hero-body-p,
.lang-transitioning .btn,
.lang-transitioning .btn--ghost-hero,
.lang-transitioning .nav-link,
.lang-transitioning .nav-cta {
  opacity: 0;
  transition: opacity 0.28s ease;
}

#about.lang-transitioning .hero-lower__eyebrow-text,
#about.lang-transitioning .hero-lower__heading,
#about.lang-transitioning .hero-lower__text {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.lang-transitioning .ab-md__title,
.lang-transitioning .ab-md__text,
.lang-transitioning .ab-values__label,
.lang-transitioning .lang-transitioning   opacity: 0;
  transition: opacity 0.28s ease;
}

.lang-transitioning .wk-eyebrow__text,
.lang-transitioning .wk-heading,
.lang-transitioning .wk-intro,
.lang-transitioning .wk-subhead,
.lang-transitioning .wk-entry__text {
  opacity: 0;
  transition: opacity 0.28s ease;
}




/* ============================================================
   RESPONSIVE — Mobile (≤ 700px)
   ============================================================ */

@media (max-width: 700px) {
  :root { --nav-h: 64px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--section-px) 32px;
    gap: 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
    box-shadow: 0 16px 40px rgba(26,46,74,0.1);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-link { font-size: 13px; }
  .nav-right { display: none; }

  .hero { padding-bottom: 48px; }
  .hero-headline { font-size: clamp(28px, 8vw, 40px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .hero-bg-img { opacity: 0.35; }

  .ab-md { grid-template-columns: 1fr; }
  .ab-md__card + .ab-md__card { border-left: none; border-top: 1px solid var(--border); }

            border-right: none;
    grid-column: 1 !important;
    margin-left: 0 !important;
    border-left: none !important;
  }
    
  .wk-examples { grid-template-columns: 1fr; gap: 0; }
  .wk-heading { font-size: clamp(36px, 10vw, 52px); }
}


/* ============================================================
   TEAM SECTION  (.tm)
   Warm cream bg · 5-col name card grid · navy quote banner
   ============================================================ */

.tm {
  background: var(--cream);
  position: relative;
}

.tm-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) var(--section-px) 0;
}

/* Eyebrow */
.tm-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}
.tm-eyebrow__line {
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.tm-eyebrow__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Main heading */
.tm-heading {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

/* Italic intro with left gold border */
.tm-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(13.5px, 1.1vw, 16px);
  line-height: 1.68;
  color: var(--navy);
  border-left: 2.5px solid var(--gold);
  padding-left: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 540px;
  opacity: 0.82;
}

/* 5-column card grid — 2 rows of 5 */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* Individual name card */
.tm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(20px, 2.5vw, 32px) clamp(12px, 1.5vw, 20px) clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(184,151,90,0.3);
  border-right: none; /* handled by first-child rule */
  position: relative;
  background: transparent;
  transition: background 0.2s ease;
}
/* Restore right borders: every 5th card gets right border */
.tm-card:nth-child(5n) { border-right: 1px solid rgba(184,151,90,0.3); }
/* Row 2 cards don't need top border repeated */
.tm-card:nth-child(n+6) { border-top: none; }

.tm-card:hover { background: rgba(184,151,90,0.04); }

/* Gold dot at top center of each card */
.tm-card__dot {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
  margin-bottom: clamp(14px, 2vw, 22px);
  flex-shrink: 0;
}

/* Name text */
.tm-card__name {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
  margin-bottom: clamp(12px, 1.5vw, 18px);
}

/* Short gold rule under name */
.tm-card__rule {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Bottom navy quote banner */
.tm-banner {
  background: var(--navy);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: clamp(140px, 16vw, 200px);
  overflow: hidden;
  position: relative;
}

.tm-banner__left {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 52px);
  flex: 1;
  max-width: 520px;
}

/* Gold vertical border on left of quote */
.tm-banner__border {
  width: 2.5px;
  background: var(--gold);
  align-self: stretch;
  opacity: 0.75;
  flex-shrink: 0;
}

.tm-banner__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(240,236,228,0.82);
}

/* Decorative rings on right */
.tm-banner__rings {
  width: clamp(140px, 18vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.9;
  padding-right: clamp(16px, 3vw, 40px);
}
.tm-banner__rings svg {
  width: 100%;
  height: auto;
}

/* Team lang transition */
.lang-transitioning .tm-eyebrow__text,
.lang-transitioning .tm-heading,
.lang-transitioning .tm-intro,
.lang-transitioning .tm-card__name,
.lang-transitioning .tm-banner__quote {
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* ── Responsive: Tablet ───────────────────────────────────── */
@media (max-width: 960px) {
  .tm-grid { grid-template-columns: repeat(3, 1fr); }
  /* Reset and re-apply borders for 3-col */
  .tm-card {
    border-right: none;
    border-top: 1px solid rgba(184,151,90,0.3);
  }
  .tm-card:nth-child(3n) { border-right: 1px solid rgba(184,151,90,0.3); }
  .tm-card:nth-child(n+4) { border-top: none; }
  .tm-card:nth-child(n+4) { border-top: 1px solid rgba(184,151,90,0.3); }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 700px) {
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-card { border-right: none; border-top: 1px solid rgba(184,151,90,0.3); }
  .tm-card:nth-child(2n) { border-right: 1px solid rgba(184,151,90,0.3); }
  .tm-card:nth-child(n+3) { border-top: 1px solid rgba(184,151,90,0.3); }
  .tm-banner { flex-direction: column; }
  .tm-banner__left { max-width: 100%; }
  .tm-banner__rings { display: none; }
}


/* ============================================================
   OUR VALUES GRID  (.av-*)
   Reference: 3-card top row, 2-card bottom row staggered
   under the gaps between top cards. Single unified grid.
   ============================================================ */

/* The outer values wrapper constrains and pads */

/* ── 6-column grid ─────────────────────────────────────────
   Row 1 cards: cols 1-2, 3-4, 5-6  (3 equal thirds)
   Row 2 cards: cols 2-4, 4-6        (centered under the gaps)
   Outer border wraps entire grid.
   ───────────────────────────────────────────────────────── */

.av-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* No gap — borders provide visual separation */
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  box-sizing: border-box;
  border: 1px solid var(--border);
}

/* ── Base card ─────────────────────────────────────────── */
.av-card {
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--cream);
  box-sizing: border-box;
  /* Hover lift */
  transition: background 0.22s ease;
}
.av-card:hover { background: #fff; }

/* ── Row 1: each card spans 2 of 6 columns ──────────────── */
.av-card--r1 { grid-row: 1; }
.av-card--r1:nth-child(1) { grid-column: 1 / 3; }
.av-card--r1:nth-child(2) { grid-column: 3 / 5; border-left: 1px solid var(--border); }
.av-card--r1:nth-child(3) { grid-column: 5 / 7; border-left: 1px solid var(--border); }

/* ── Row 2: staggered — each centered under a gap ─────────
   04 spans cols 2-4 → centered under gap between 01 and 02
   05 spans cols 4-6 → centered under gap between 02 and 03
   ───────────────────────────────────────────────────────── */
.av-card--r2 {
  grid-row: 2;
  border-top: 1px solid var(--border);
}
.av-card--04 { grid-column: 2 / 4; }
.av-card--05 { grid-column: 4 / 6; border-left: 1px solid var(--border); }

/* ── Gold number ─────────────────────────────────────────── */
.av-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: clamp(16px, 2vw, 24px);
  display: block;
  opacity: 0.9;
}

/* ── Icon circle ─────────────────────────────────────────── */
.av-icon-wrap {
  width: clamp(56px, 7vw, 80px);
  height: clamp(56px, 7vw, 80px);
  border-radius: 50%;
  background: rgba(184,151,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2vw, 24px);
  flex-shrink: 0;
}
.av-icon-wrap svg {
  width: 55%;
  height: 55%;
}

/* ── Card title ──────────────────────────────────────────── */
.av-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 10px;
}

/* ── Gold rule ───────────────────────────────────────────── */
.av-rule {
  width: 28px; height: 2px;
  background: var(--gold);
  margin-bottom: clamp(12px, 1.5vw, 18px);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Body text ───────────────────────────────────────────── */
.av-text {
  font-family: var(--font-sans);
  font-size: clamp(12.5px, 0.9vw, 14px);
  font-weight: 300;
  line-height: 1.76;
  color: var(--muted-dark);
}

/* ── Lang transition ─────────────────────────────────────── */
.lang-transitioning .av-title,
.lang-transitioning .av-text {
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* ── Responsive: Tablet (≤ 960px) ───────────────────────── */
@media (max-width: 960px) {
  /* Collapse to 2-column: row1 cards stacked 2+1, row2 side by side */
  .av-grid { grid-template-columns: repeat(2, 1fr); }
  .av-card--r1:nth-child(1) { grid-column: 1; grid-row: 1; }
  .av-card--r1:nth-child(2) { grid-column: 2; grid-row: 1; }
  .av-card--r1:nth-child(3) { grid-column: 1 / -1; grid-row: 2; border-left: none; border-top: 1px solid var(--border); }
  .av-card--04 { grid-column: 1; grid-row: 3; border-left: none; }
  .av-card--05 { grid-column: 2; grid-row: 3; }
}

/* ── Responsive: Mobile (≤ 700px) ───────────────────────── */
@media (max-width: 700px) {
  .av-grid { grid-template-columns: 1fr; }
  .av-card--r1:nth-child(1),
  .av-card--r1:nth-child(2),
  .av-card--r1:nth-child(3),
  .av-card--04,
  .av-card--05 {
    grid-column: 1;
    grid-row: auto;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .av-card--r1:nth-child(1) { border-top: none; }
}


/* ============================================================
   CONTACT SECTION  (.ct)
   Warm cream bg · two-column: office info left, form right
   ============================================================ */

.ct {
  background: var(--cream);
  position: relative;
}

.ct-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) var(--section-px) clamp(80px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* ── Left column ──────────────────────────────────────────── */
.ct-left { display: flex; flex-direction: column; gap: 0; }

.ct-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.ct-eyebrow__line {
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.ct-eyebrow__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}

.ct-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.ct-desc {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 300;
  line-height: 1.82;
  color: var(--muted-dark);
  max-width: 460px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* ── Office cards ─────────────────────────────────────────── */
.ct-offices { display: flex; flex-direction: column; gap: 20px; }

.ct-office {
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: clamp(20px, 2.5vw, 28px);
}

.ct-office__top {
  display: flex;
  gap: clamp(14px, 1.8vw, 22px);
  align-items: flex-start;
}

.ct-office__icon-wrap {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(184,151,90,0.08);
  border: 1px solid rgba(184,151,90,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-office__icon { width: 36px; height: 36px; }

.ct-office__info { flex: 1; min-width: 0; }

.ct-office__name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ct-office__addr {
  font-size: clamp(12px, 0.9vw, 13.5px);
  font-weight: 300;
  line-height: 1.68;
  color: var(--muted-dark);
  margin-bottom: 12px;
}

.ct-office__divider {
  width: 28px; height: 1.5px;
  background: var(--gold);
  opacity: 0.6;
  margin-bottom: 12px;
}

.ct-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, 0.9vw, 13.5px);
  font-weight: 400;
  color: var(--muted-dark);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.ct-contact-row:hover { color: var(--navy); }
.ct-contact-row:last-child { margin-bottom: 0; }

.ct-contact-row__icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Maps button */
.ct-maps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 8px 10px;
  transition: opacity 0.2s;
  border-bottom: 2px solid var(--gold);
  align-self: center;
}
.ct-maps:hover { opacity: 0.75; }
.ct-maps__pin { width: 32px; height: 32px; }
.ct-maps__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  line-height: 1.35;
}

/* ── Right column: form ───────────────────────────────────── */
.ct-right {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: clamp(28px, 3.5vw, 44px);
  margin-top: 120px;
}

.ct-form { display: flex; flex-direction: column; gap: 14px; }

.ct-form__row { display: flex; flex-direction: column; gap: 14px; }
.ct-form__row--half { flex-direction: row; gap: 14px; }
.ct-form__row--half .ct-field { flex: 1; min-width: 0; }

/* Field wrapper */
.ct-field { display: flex; flex-direction: column; gap: 4px; position: relative; }

/* Input / textarea */
.ct-input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  resize: none;
}
.ct-input::placeholder { color: var(--muted); }
.ct-input:focus {
  border-color: rgba(184,151,90,0.7);
  box-shadow: 0 0 0 3px rgba(184,151,90,0.08);
}
.ct-input.is-invalid { border-color: #c0392b; }

.ct-textarea { min-height: 160px; resize: vertical; }

/* Error message */
.ct-field__err {
  font-size: 11.5px;
  color: #c0392b;
  display: none;
}
.ct-field__err--check { margin-top: 2px; }
.ct-field.show-err .ct-field__err { display: block; }

/* Consent checkbox */
.ct-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.ct-form__check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}
.ct-form__check label {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-dark);
  line-height: 1.5;
  cursor: pointer;
}
.ct-form__link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ct-form__check.show-err .ct-field__err--check { display: block; width: 100%; }

/* Submit button */
.ct-submit {
  width: 100%;
  padding: 16px 24px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}
.ct-submit:hover { background: var(--navy-hover); }
.ct-submit:active { transform: translateY(1px); }
.ct-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.ct-submit__loading { display: none; width: 18px; height: 18px; }
.ct-submit__loading svg { width: 100%; height: 100%; animation: spin 0.9s linear infinite; }
.ct-submit.is-loading .ct-submit__label { opacity: 0.6; }
.ct-submit.is-loading .ct-submit__loading { display: flex; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.ct-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(184,151,90,0.08);
  border: 1px solid rgba(184,151,90,0.3);
  margin-top: 4px;
}
.ct-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.ct-success p {
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.5;
}
.ct-success.visible { display: flex; }

/* Contact lang transition */
.lang-transitioning .ct-eyebrow__text,
.lang-transitioning .ct-heading,
.lang-transitioning .ct-desc,
.lang-transitioning .ct-office__name,
.lang-transitioning .ct-maps__label {
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* ── Responsive: Tablet ───────────────────────────────────── */
@media (max-width: 960px) {
  .ct-inner { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
  .ct-desc { max-width: 100%; }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 700px) {
  .ct-form__row--half { flex-direction: column; }
  .ct-office__top { flex-wrap: wrap; }
  .ct-maps { align-self: flex-start; margin-top: 12px; }
}

/* ============================================================
   FINAL WORK SECTION OVERRIDE
   Supports both old (.wk-grid/.wk-item) and new (.wk-examples/.wk-entry) HTML.
   Paste at the very end of style.css.
   ============================================================ */

.wk {
  background:
    radial-gradient(circle at 80% 12%, rgba(30, 80, 130, 0.22), transparent 36%),
    linear-gradient(160deg, #0d1f35 0%, #112038 42%, #162844 70%, #1a2e4a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  color: #f0ece4 !important;
}

.wk-inner {
  position: relative !important;
  z-index: 2 !important;
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding: clamp(64px, 8vw, 108px) var(--section-px) !important;
}

.wk-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}

.wk-eyebrow__line {
  display: block !important;
  width: 44px !important;
  height: 1.5px !important;
  background: #b8975a !important;
}

.wk-eyebrow__text {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.28em !important;
  color: #b8975a !important;
  text-transform: uppercase !important;
}

.wk-heading {
  font-family: var(--font-serif) !important;
  font-size: clamp(52px, 7.5vw, 96px) !important;
  font-weight: 700 !important;
  color: #f0ece4 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: clamp(28px, 3.5vw, 48px) !important;
}

.wk-intro {
  font-size: clamp(14px, 1.1vw, 16.5px) !important;
  font-weight: 300 !important;
  line-height: 1.82 !important;
  color: rgba(240,236,228,0.76) !important;
  max-width: 900px !important;
  margin-bottom: clamp(16px, 2vw, 24px) !important;
}

.wk-rule,
.wk-divider {
  border: none !important;
  width: 100% !important;
  height: 1px !important;
  background: rgba(184,151,90,0.24) !important;
  margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px) !important;
}

.wk-subhead {
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-size: clamp(17px, 1.5vw, 22px) !important;
  font-weight: 400 !important;
  color: #b8975a !important;
  margin-bottom: clamp(24px, 3vw, 38px) !important;
}

/* New structure */
.wk-examples {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 clamp(48px, 5vw, 88px) !important;
  width: 100% !important;
}

/* Old structure fallback */
.wk-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 clamp(48px, 5vw, 88px) !important;
  width: 100% !important;
}

.wk-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

/* New entry structure */
.wk-entry__top {
  display: flex !important;
  align-items: flex-start !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  padding: clamp(22px, 2.8vw, 36px) 0 !important;
}

.wk-entry__marker {
  width: 34px !important;
  height: 34px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.wk-entry__text {
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 300 !important;
  line-height: 1.78 !important;
  color: rgba(240,236,228,0.78) !important;
}

.wk-entry__rule {
  width: 100% !important;
  height: 1px !important;
  background: rgba(184,151,90,0.2) !important;
}

/* Old item structure fallback */
.wk-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  padding: clamp(22px, 2.8vw, 36px) 0 !important;
}

.wk-item__dot {
  width: 34px !important;
  height: 34px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.wk-item__text {
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 300 !important;
  line-height: 1.78 !important;
  color: rgba(240,236,228,0.78) !important;
}

.wk-item__rule {
  border: none !important;
  border-top: 1px solid rgba(184,151,90,0.2) !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  .wk-examples,
  .wk-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ============================================================
   HEADING SIZE MATCH + COLUMN ALIGNMENT FIX
   ============================================================ */

/* 1) WORK heading — match Contact heading scale exactly */
.wk-heading,
.wk-heading[class] {
  font-size: clamp(28px, 3.8vw, 52px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: clamp(16px, 2vw, 24px) !important;
}

/* 2) TEAM heading — match Contact heading scale exactly */
.tm-heading {
  font-size: clamp(28px, 3.8vw, 52px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.02em !important;
}

/* 3) WORK examples — both columns start at the same top edge
      and each row stays in sync via identical vertical rhythm  */
.wk-examples,
.wk-grid {
  align-items: start !important;
}

/* Both columns: identical flex behaviour, no extra padding/margin */
.wk-examples > .wk-col,
.wk-grid > .wk-col {
  align-self: start !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Every entry: consistent flex column, no stray gaps */
.wk-entry {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

/* Rule always flush — no margin, no border remnants */
.wk-entry__rule {
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  background: rgba(184, 151, 90, 0.2) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* Entry top: identical vertical padding both columns */
.wk-entry__top {
  padding: clamp(22px, 2.8vw, 36px) 0 !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  .wk-heading,
  .wk-heading[class] {
    font-size: clamp(26px, 7vw, 36px) !important;
  }
  .tm-heading {
    font-size: clamp(26px, 7vw, 36px) !important;
  }
}
