/* ============================================================
   Global Key Partners — Luxury Stylesheet
   Philosophy: Swiss private-bank discretion. Generous whitespace.
   Typography as architecture. Restraint over decoration.
   ============================================================ */

/* Google Fonts is now loaded via a non-blocking <link> in base.html
   (print-media swap trick) instead of @import, which was render-blocking. */

:root {
  --green-950: #080F0B;
  --green-900: #0F2318;
  --green-800: #1C3527;
  --green-700: #2A4A38;
  --green-600: #3D6B52;
  --gold:      #B89238;
  --gold-light:#D4AF5A;
  --gold-pale: #F7F0E2;
  --gold-text: #8C6A1E;   /* darkened gold for static text on light backgrounds — passes WCAG AA (~5:1); decorative gold elements (rules, borders, buttons, text on dark bg) keep --gold */
  --white:     #FFFFFF;
  --cream:     #FAFAF8;   /* barely off-white, almost invisible tint */
  --cream-2:   #F7F5F2;   /* one step warmer, for subtle section breaks */
  --ink:       #111110;   /* near-black, neutral — no green cast */
  --ink-mid:   #3A3530;   /* warm dark */
  --ink-light: #696460;   /* warm gray */
  --ink-muted: #A09890;   /* light warm gray */
  --line:      rgba(0,0,0,.07);
  --line-med:  rgba(0,0,0,.13);
  --max-w:     1160px;
  --ease:      cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);    /* near-black, not green */
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 400; letter-spacing: .01em; }
h5 { font-size: .875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
p { margin-bottom: 1.25rem; color: var(--ink-light); line-height: 1.8; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--ink-mid); }
em { font-style: italic; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section       { padding: 108px 0; }
.section--sm   { padding: 72px 0; }
.section--dark {
  background: var(--green-800);
  color: var(--cream);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p  { color: rgba(250,248,245,.65); }
.section--cream   { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }

/* ── Divider ─────────────────────────────────────────────── */
.gold-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }
.thin-rule { width: 100%; height: 1px; background: var(--line); }

/* ── Section labels ─────────────────────────────────────── */
.label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 18px;
}
.label--light { color: rgba(212,175,90,.8); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all 250ms var(--ease);
  white-space: nowrap;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--green-800);
  color: var(--white);
  border: 1px solid var(--green-800);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
}
.btn-outline {
  padding: 14px 32px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-med);
}
.btn-outline:hover {
  border-color: var(--ink);
}
.btn-outline--white {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-outline--white:hover {
  color: var(--white);
  border-color: var(--white);
}
.btn-gold {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--ink);   /* dark text on gold passes contrast (~6.5:1); white on gold did not (~2.9:1) */
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.btn-text {
  padding: 0;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line-med);
  padding-bottom: 3px;
  border-radius: 0;
}
.btn-text:hover { border-color: var(--ink); }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-800);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow 300ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.18); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 40px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; }
.site-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: .08em;
  opacity: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 16px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  transition: color 200ms;
}
.nav-link:hover, .nav-link.active { color: rgba(255,255,255,.95); }
.nav-link.cta {
  margin-left: 8px;
  padding: 9px 22px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  font-size: .68rem;
  letter-spacing: .12em;
  transition: all 200ms;
}
.nav-link.cta:hover { border-color: rgba(255,255,255,.7); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.lang-btn {
  padding: 4px 9px;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  transition: color 200ms;
}
.lang-btn:hover, .lang-btn.active { color: rgba(255,255,255,.9); }
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 200ms, opacity 200ms;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--green-900);
  padding: 40px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: .875rem;
  padding: 16px 0;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .06em;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--green-950);
  overflow: hidden;
}
.hero--home {
  min-height: 96vh;
  display: flex;
  align-items: center;
}
.hero--page {
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 96px 0 80px;
}

/* Equal-height treatment for Services/Insights/About/Contact hero sections */
.hero--page-eq {
  min-height: 456px;
}

/* Subpage hero with photo background */
.hero--page--img {
  position: relative;
}
.hero--page--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center center);
  opacity: .70;
  mix-blend-mode: luminosity;
}
.hero--page--img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,15,11,.78) 0%,
    rgba(15,35,24,.55) 100%
  );
  pointer-events: none;
}
.hero--page--img .container {
  position: relative;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.jpg');
  background-image: image-set(
    url('/assets/images/hero-bg.webp') type('image/webp'),
    url('/assets/images/hero-bg.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center 40%;
  opacity: .62;
  mix-blend-mode: luminosity;
}
/* Serve a much smaller image on phones — the 1920px desktop version was
   being downscaled in the browser, wasting bytes on mobile connections. */
@media (max-width: 768px) {
  .hero-bg {
    background-image: url('/assets/images/hero-bg-mobile.jpg');
    background-image: image-set(
      url('/assets/images/hero-bg-mobile.webp') type('image/webp'),
      url('/assets/images/hero-bg-mobile.jpg') type('image/jpeg')
    );
  }
}
.hero--home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,15,11,.82) 0%,
    rgba(15,35,24,.65) 50%,
    rgba(15,35,24,.35) 100%
  );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
}
/* DE/FR hero titles run longer than EN — scale down so the two-line break holds */
html[lang="de"] .hero--home .hero-content,
html[lang="fr"] .hero--home .hero-content {
  max-width: 880px;
}
html[lang="de"] #hero-heading,
html[lang="fr"] #hero-heading {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.62);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-tagline {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: .01em;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-val {
  display: block;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.hero-stat-lbl {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: rgba(255,255,255,.75); }
.breadcrumb .sep { color: rgba(255,255,255,.2); font-size: .6rem; }

/* ── Section typography ──────────────────────────────────── */
.section-heading { margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p {
  font-size: .95rem;
  color: var(--ink-light);
  max-width: 520px;
  line-height: 1.8;
}
.section-heading--center { text-align: center; }
.section-heading--center p { margin: 0 auto; }

/* Multi-clause taglines — keep on one line across EN/DE/FR */
#svc-heading, #cta-heading {
  font-size: clamp(1.15rem, 2.5vw, 2rem);
}
@media (min-width: 480px) {
  #svc-heading, #cta-heading { white-space: nowrap; }
}

/* Visual-split heading ("Global Key Partners' Ecosystem") — keep on one
   line within its half-width column at desktop sizes. Scoped per language
   since EN/FR reference the brand name (longer) while DE uses different,
   shorter-per-line phrasing that doesn't need this. */
@media (min-width: 768px) {
  .heading-tight-en { font-size: clamp(1.1rem, 2.4vw, 1.9rem); white-space: nowrap; }
  .heading-tight-fr { font-size: clamp(1.05rem, 2.2vw, 1.6rem); white-space: nowrap; }
}

/* ── Service list (editorial) ────────────────────────────── */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 250ms var(--ease), background 250ms;
  text-decoration: none;
  color: inherit;
}
.service-row:hover { opacity: .5; }
.service-row--static { grid-template-columns: 72px 1fr; cursor: default; }
.service-row--static:hover { opacity: 1; }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: .875rem;
  font-weight: 300;
  color: var(--gold-text);
  letter-spacing: .06em;
  padding-top: 8px;
}
.service-body {}
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-desc {
  font-size: .875rem;
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 300;
}
.service-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-muted);
  transition: color 300ms, transform 300ms;
}
.service-row:hover .service-arrow {
  color: var(--ink);
  transform: translateX(4px);
}

/* ── Principles (Why GKP) ────────────────────────────────── */
.principles { border-top: 1px solid var(--line); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.principles-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.principle {
  padding: 56px 48px 56px 0;
  border-right: 1px solid var(--line);
}
.principle:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 48px;
}
.principle:nth-child(2) { padding-left: 48px; }
.principle-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: .875rem;
  font-weight: 300;
  color: var(--gold-text);
  letter-spacing: .06em;
  margin-bottom: 24px;
  display: block;
}
.principle h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--ink);
}
.principle p { font-size: .875rem; line-height: 1.8; margin-bottom: 0; }

/* ── Visual split ────────────────────────────────────────── */
.split-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
/* Portrait variant: matches the served image's native ratio exactly so
   object-fit: cover never has to crop. Used for the HSLU campus photo. */
.split-image--portrait {
  aspect-ratio: 900/993;
  max-width: 480px;
  margin: 0 auto;
}
.split-text {}
.split-text h2 { margin-bottom: 24px; }
.split-text p { font-size: .9rem; }

/* ── Location list ───────────────────────────────────────── */
.location-list { border-top: 1px solid var(--line); }
.location-row {
  display: grid;
  grid-template-columns: 1fr 180px 24px;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 250ms;
  text-decoration: none;
}
.location-row:hover { opacity: .55; }
.location-row-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--ink);
}
.location-row-region {
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}
.location-row-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink-muted);
  text-align: right;
  transition: transform 250ms, color 250ms;
}
.location-row:hover .location-row-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* ── Homepage proof gallery ──────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── Insight cards ───────────────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.insight-item {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: background 200ms;
}
.insight-item:hover { background: var(--cream); }
.insight-meta {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.insight-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
  flex: 1;
}
.insight-summary { font-size: .83rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 24px; }
.insight-link {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: border-color 200ms;
}
.insight-link:hover { border-color: var(--green-700); }

/* ── Prose content ───────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin: 40px 0 14px; color: var(--green-700); font-size: 1.4rem; }
.prose ul { margin: 18px 0 28px; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-light);
  font-size: .9rem;
  line-height: 1.7;
  font-weight: 300;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.prose p { font-size: .9375rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 720px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  padding: 28px 0;
}
.faq-q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.35;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-med);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 3px;
  transition: all 200ms;
}
.faq-item.open .faq-icon {
  border-color: var(--gold);
  color: var(--gold);
}
.faq-answer { display: none; padding: 0 0 28px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: .875rem; margin-bottom: 0; }

/* ── Page layout (with sidebar) ──────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}
.sidebar {}
.sidebar-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 40px;
}
.sidebar-block-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  display: block;
}
.sidebar-link {
  display: block;
  padding: 11px 0;
  font-size: .85rem;
  font-weight: 300;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line);
  transition: color 200ms;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--ink); }
.sidebar-link.active { color: var(--green-800); font-weight: 400; }
.sidebar-cta {
  background: var(--green-800);
  padding: 36px 28px;
}
.sidebar-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}
.sidebar-cta p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 22px; }

/* ── Contact form ────────────────────────────────────────── */
/* ── Missing component styles (cards, CTA, helpers) ─────── */
.gold-line { width: 56px; height: 2px; background: var(--gold); margin-bottom: 22px; }
.gold-line--center { margin-left: auto; margin-right: auto; }

.section--gray { background: var(--cream-2); }
.section-label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-intro { max-width: 900px; font-size: .95rem; line-height: 1.8; color: var(--ink-light); }

/* Card system (used on market pages + insights index) */
.service-grid { display: grid; gap: 24px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-med);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0,0,0,.07);
  transform: translateY(-2px);
}
.card-top-accent { border-top: 2px solid var(--gold); }
.card-body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-body--sm { padding: 22px 20px; }
.card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  flex: 1;
}
.card-link {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  align-self: flex-start;
  margin-top: 8px;
  transition: border-color 200ms;
}
.card:hover .card-link { border-color: var(--gold); color: var(--gold); }
.article-card .card-body { padding: 32px 30px; }
.article-meta {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 6px;
}

/* Sidebar CTA block (market + article pages) */
.cta-block {
  background: var(--green-900);
  padding: 28px 26px;
  color: rgba(255,255,255,.75);
}
.cta-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 10px;
}
.cta-block p { font-size: .83rem; line-height: 1.7; margin: 0 0 20px; }
.btn-gold-outline {
  padding: 13px 28px;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  background: transparent;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--white); }

/* Aliases for template/CSS naming drift */
.faq-question-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.35;
}
.mkt-feature-body { min-width: 0; }
.svc-index-body { min-width: 0; }
.form-submit { margin-top: 6px; }

@media (max-width: 880px) {
  .article-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr !important; }
}

/* Contact form card */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line-med);
  border-top: 3px solid var(--gold);
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,.05);
}
@media (max-width: 720px) {
  .contact-form { padding: 26px 18px; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.form-input, .form-select, .form-textarea {
  padding: 13px 0;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-med);
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green-800);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; cursor: pointer; }

/* ── Team ────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); padding-top: 56px; }
.team-card { }
.team-photo-wrap {
  position: relative;
  max-width: 300px;
  margin-bottom: 32px;
  padding-left: 16px;
  padding-bottom: 16px;
}
.team-photo-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}
.team-photo-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: -0px;
  height: 3px;
  width: calc(100% - 16px);
  background: var(--gold);
}
.team-photo {
  width: 100%;
  height: auto;
  display: block;
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-role {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 18px;
  display: block;
}
.team-bio { font-size: .875rem; line-height: 1.8; font-weight: 300; }
.team-linkedin {
  display: inline-block;
  margin-top: 16px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity .15s ease;
}
.team-linkedin:hover { opacity: .7; }

/* ── Stats ───────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.stat {
  padding: 40px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; padding-left: 40px; }
.stat:nth-child(2) { padding-left: 40px; }
.stat-val {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,.5);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo img {
  height: 88px;
  width: auto;
  margin-bottom: 24px;
  opacity: 1;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer-address { font-size: .78rem; font-weight: 300; line-height: 1.9; }
.footer-address a { color: rgba(255,255,255,.35); }
.footer-address a:hover { color: rgba(255,255,255,.7); }
.footer-col-label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 20px;
  display: block;
}
.footer-col h3 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a {
  font-size: .83rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  transition: color 200ms;
}
.footer-links a:hover { color: rgba(255,255,255,1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .7rem;
  font-weight: 300;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }
.footer-legal {
  width: 100%;
  font-size: .65rem;
  color: rgba(255,255,255,.25);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 8px;
}
.footer-legal a { color: rgba(255,255,255,.25); text-decoration: underline; }
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ── Legal / disclaimer page ─────────────────────────────── */
.legal-body {
  font-size: .825rem;
  line-height: 1.85;
  color: var(--gray-700);
}
.legal-body h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-950);
  margin: 40px 0 10px;
}
.legal-body p,
.legal-body li {
  font-size: .825rem !important;
  margin-bottom: 14px;
  line-height: 1.85;
}
.legal-body a { color: var(--green-800); }

/* ── Article disclaimer ───────────────────────────────────── */
.article-disclaimer {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── 404 ─────────────────────────────────────────────────── */
.page-404 {
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { margin-bottom: 36px; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-2 { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-layout { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; padding: 40px 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: none; }
  .principle:nth-child(2), .principle:last-child { padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3,
  .insights-grid,
  .team-grid { grid-template-columns: 1fr; }
  .insights-grid { gap: 0; background: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .insight-item { border-bottom: 1px solid var(--line); padding: 32px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero--home { min-height: 80vh; }
  .hero-stats { gap: 32px; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-arrow { display: none; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  /* The EN/DE/FR switcher is duplicated inside .mobile-nav below — keeping
     it in the header too left the logo + lang-switch + hamburger wider
     than the viewport, which silently pushed the hamburger off-screen
     (no overflow indicator, so the menu was effectively invisible/untappable
     on real phones). Hide the header copy and let the drawer's copy do the job. */
  .lang-switch { display: none; }
  .header-inner { gap: 16px; }
  .site-logo-text { font-size: .85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr; border: none; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .stat:last-child { border-bottom: none; }
  .location-list { margin-top: 24px; }
  .form-input, .form-select, .form-textarea { font-size: 1rem; } /* prevents iOS Safari auto-zoom-on-focus below 16px */
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; text-align: center; }
}
@media print {
  .site-header, .site-footer { display: none; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}

/* ── Services index list ───────────────────────────────── */
.svc-index-list {
  border-top: 1px solid var(--line);
}
.svc-index-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .2s;
}
.svc-index-row:hover {
  background: var(--cream-2);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.svc-index-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.svc-index-num {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--gold-text);
}
.svc-index-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.svc-index-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--green-950);
  line-height: 1.3;
}
.svc-index-desc {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 640px;
}
.svc-index-link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-800);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s, color .2s;
}
.svc-index-link:hover {
  color: var(--gold);
  gap: 10px;
}
@media (max-width: 600px) {
  .svc-index-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .svc-index-left {
    flex-direction: row;
    padding-top: 0;
  }
}
.svc-index-media {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.svc-index-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
@media (max-width: 700px) {
  .svc-index-media {
    grid-template-columns: 1fr;
  }
  .svc-index-media img {
    max-width: 320px;
  }
}

/* ── Markets index ─────────────────────────────────────── */
.mkt-group {
  margin-bottom: 80px;
}
.mkt-group--capital {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mkt-group-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-950);
}
.mkt-group-header--primary {
  border-bottom-color: var(--gold);
}
.mkt-group-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-950);
  white-space: nowrap;
}
.mkt-group-note {
  font-size: .8rem;
  color: var(--gray-600);
  font-weight: 300;
}
/* 6-up grid for capital sources */
.mkt-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
/* Capital source cards: slightly muted vs. operating market */
.mkt-card--source {
  background: var(--cream-2);
}
.mkt-card--source:hover { background: #e8ede9; }
.mkt-feature-row {
  display: grid;
  grid-template-columns: 1fr auto 32px;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background .2s;
}
.mkt-feature-row:hover { background: #e8ede9; }
.mkt-feature-title {
  font-size: 1.6rem;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
  color: var(--green-950);
  margin: 0 0 10px;
}
.mkt-feature-desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}
.mkt-feature-cities {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  flex-shrink: 0;
}
.mkt-feature-cities span {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.mkt-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}
.mkt-feature-row:hover .mkt-arrow { transform: translateX(4px); }
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mkt-card {
  background: var(--white);
  padding: 36px 40px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s;
}
.mkt-card:hover { background: var(--cream-2); }
.mkt-card-region {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}
.mkt-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green-950);
  margin: 0;
}
.mkt-card-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.mkt-card-link {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-top: 8px;
}
.mkt-card:hover .mkt-card-link { color: var(--gold); }
@media (max-width: 900px) {
  .mkt-grid--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .mkt-feature-row { grid-template-columns: 1fr 24px; }
  .mkt-feature-cities { display: none; }
  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-grid--6 { grid-template-columns: 1fr; }
}

/* ── Where We Operate page ─────────────────────────────── */
.wwo-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.wwo-jump-nav a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-800);
  text-decoration: none;
}
.wwo-jump-nav a:hover { color: var(--gold); }
.wwo-regions { max-width: 760px; }
.wwo-region { padding: 8px 0 36px; scroll-margin-top: 100px; }
.wwo-region-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.wwo-region h2 { margin-top: 10px; }
.wwo-region-blurb {
  font-size: 1rem;
  color: var(--green-800);
  font-weight: 400;
  margin: 0 0 20px;
}
.wwo-region-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 8px;
}
.wwo-cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}
.wwo-city-card {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.wwo-city-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--green-950);
  margin: 0 0 8px;
}
.wwo-city-card p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 700px) {
  .wwo-cities-grid { grid-template-columns: 1fr; }
}
