/* ═══════════════════════════════════════════
   Alpha Source — Production Stylesheet
   Identity: Company Profile 2026–2027
   Type: Oswald (display) · Montserrat (body) · Playfair Display (accent italic)
   Palette: #061B1C (deep teal-black) · #DDAA45 (gold) · #2BC4B6 (teal)
   ═══════════════════════════════════════════ */

:root {
  --c-bg: #061B1C;
  --c-bg-2: #051617;
  --c-bg-3: #0B2E2D;
  --c-card: rgba(11,46,45,0.55);
  --c-gold: #DDAA45;
  --c-gold-hi: #EBC06A;
  --c-gold-soft: rgba(221,170,69,0.32);
  --c-teal: #2BC4B6;
  --c-teal-hi: #6FDCD1;
  --c-teal-deep: #17605A;
  --c-teal-soft: rgba(43,196,182,0.28);
  --c-cream: #F5EEDC;
  --c-text: #FFFFFF;
  --c-text-mute: rgba(245,238,220,0.62);
  --c-text-soft: rgba(245,238,220,0.8);
  --f-display: 'Oswald', sans-serif;
  --f-body: 'Montserrat', sans-serif;
  --f-accent: 'Playfair Display', serif;
  --container: 1280px;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.gold { color: var(--c-gold); }
.teal { color: var(--c-teal); }
.accent {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--c-gold);
}

/* Brand motif: pixel-swirl pattern + gold corner brackets */
.pattern-bg { position: relative; }
.pattern-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url('brand/pattern-teal.webp') left center / auto min(100%, 1000px) no-repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.pattern-bg.pattern-r::before { background-image: url('brand/pattern-teal-r.webp'); background-position: right center; }
.pattern-bg.pattern-sm::before { opacity: 0.6; }
/* corner brackets drawn in one ::after so ::before stays free for the pattern */
.frame { position: relative; --fr-size: 44px; --fr-inset: 36px; }
.frame::after {
  content: '';
  position: absolute;
  top: var(--fr-top, var(--fr-inset)); left: var(--fr-inset); right: var(--fr-inset);
  height: var(--fr-size);
  background:
    linear-gradient(var(--c-gold), var(--c-gold)) left top / var(--fr-size) 3px no-repeat,
    linear-gradient(var(--c-gold), var(--c-gold)) left top / 3px var(--fr-size) no-repeat,
    linear-gradient(var(--c-gold), var(--c-gold)) right top / var(--fr-size) 3px no-repeat,
    linear-gradient(var(--c-gold), var(--c-gold)) right top / 3px var(--fr-size) no-repeat;
  pointer-events: none;
  z-index: 6;
}
.hero.frame::after { top: 104px; }

/* ═══ NAVIGATION ═══ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(5,22,23,0.92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(221,170,69,0.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 40px; width: auto; transition: height 0.3s; }
.site-nav.scrolled .nav-logo { height: 34px; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { color: var(--c-text-soft); transition: color 0.25s; position: relative; }
.nav-links a:not(.nav-cta):hover, .nav-links a.active { color: var(--c-gold); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  height: 2px; width: 0; background: var(--c-gold);
  transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--c-gold);
  color: var(--c-bg) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--c-gold-hi); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--c-gold); transition: 0.3s; }

/* ═══ HERO (mirrors profile cover: brand left, stage photo right) ═══ */
.hero {
  position: relative;
  min-height: min(100vh, 980px);
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  overflow: hidden;
  background: linear-gradient(135deg, #051617 0%, #061B1C 55%, #0B2E2D 100%);
}
.hero.pattern-bg::before { opacity: 0.75; background-position: var(--pat-pos, left center); }
.hero-content {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 36px 64px 8vw;
}
/* auto-rotating slogans (typewriter) */
.hero-rotator { margin-bottom: 6px; }
.hr-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.hr-line {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.7vw, 24px); font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  min-height: 2.8em; /* room for a wrapped line so the logo never jumps */
}
.hr-caret {
  display: inline-block; width: 2px; height: 1.05em;
  margin-left: 4px; vertical-align: -0.12em;
  background: var(--c-teal);
  animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hr-line.fade #heroRotator { display: inline-block; animation: capIn 0.7s ease both; }

.hero-logo { width: min(440px, 100%); height: auto; margin: 10px 0 18px -10px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)); }
.hero-tag {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-gold);
  padding-bottom: 22px;
  margin-bottom: 22px;
  position: relative;
}
.hero-tag::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 60px; height: 2px; background: var(--c-gold);
}
.hero-sub {
  font-size: 19px;
  font-weight: 400;
  color: var(--c-text-soft);
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-primary { background: var(--c-gold); color: var(--c-bg); }
.btn-primary:hover { background: var(--c-gold-hi); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(221,170,69,0.35); }
.btn-ghost { border: 1.5px solid var(--c-teal-soft); color: #fff; }
.btn-ghost:hover { border-color: var(--c-teal); background: rgba(43,196,182,0.1); }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--c-teal-hi);
  background: rgba(43,196,182,0.1);
  border: 1px solid var(--c-teal-soft);
  transition: all 0.25s;
}
.social-links a:hover { color: var(--c-bg); background: var(--c-gold); border-color: var(--c-gold); transform: translateY(-3px); }
.social-links.social-sm { margin-top: 20px; gap: 8px; }
.social-links.social-sm a { width: 34px; height: 34px; font-size: 14px; }
.ico-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(43,196,182,0.14);
  border: 1px solid var(--c-teal-soft);
  flex-shrink: 0;
}
.ico-circle img { width: 14px; height: 14px; }

.hero-media {
  position: relative; z-index: 2; overflow: hidden;
  /* outward (convex) curved divider between the text column and the slider */
  --curve: 110px;
  border-left: 2px solid rgba(221,170,69,0.45);
  border-radius: var(--curve) 0 0 var(--curve) / 50% 0 0 50%;
  box-shadow: -18px 0 50px rgba(0,0,0,0.45);
}
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,27,28,0.6) 0%, transparent 30%),
    linear-gradient(0deg, rgba(6,27,28,0.92) 0%, rgba(6,27,28,0.35) 32%, transparent 55%),
    linear-gradient(180deg, rgba(6,27,28,0.55) 0%, transparent 22%);
}

/* ── Hero slider: crossfade + slow Ken Burns zoom ── */
.hs-track { position: absolute; inset: 0; }
.hs-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; z-index: 0; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transform-origin: 60% 50%; }
.hs-slide.is-active img { animation: kenburns 5.5s ease-out forwards; }
.hs-slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns-alt { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

.hs-caption {
  position: absolute; left: 64px; bottom: 170px; z-index: 3;
  max-width: 70%;
}
.hs-count { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.2em; color: var(--c-text-mute); margin-bottom: 8px; }
.hs-count span:first-child { color: var(--c-gold); font-size: 18px; }
.hs-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-teal-hi);
  padding: 4px 12px; margin-bottom: 10px;
  border: 1px solid var(--c-teal-soft); border-radius: 3px;
  background: rgba(5,22,23,0.5);
}
.hs-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1;
  text-shadow: 0 3px 18px rgba(0,0,0,0.6);
}
.hs-sub {
  font-family: var(--f-accent); font-style: italic;
  font-size: clamp(17px, 1.6vw, 24px); line-height: 1.2;
  color: var(--c-gold); margin-top: 6px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
.hs-sub:empty { display: none; }
.hs-caption.swap .hs-tag, .hs-caption.swap .hs-title, .hs-caption.swap .hs-sub { animation: capIn 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hs-caption.swap .hs-title { animation-delay: 0.08s; }
.hs-caption.swap .hs-sub { animation-delay: 0.16s; }
@keyframes capIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hs-controls {
  position: absolute; left: 64px; right: 40px; bottom: 122px; z-index: 3;
  display: flex; align-items: center; gap: 16px;
}
.hs-bars { flex: 1; display: flex; gap: 6px; }
.hs-bar { flex: 1; height: 3px; padding: 8px 0; background: none; position: relative; cursor: pointer; }
.hs-bar::before, .hs-bar i {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  border-radius: 2px;
}
.hs-bar::before { background: rgba(245,238,220,0.22); }
.hs-bar i { right: auto; width: 0; background: var(--c-gold); }
.hs-bar.done i { width: 100%; }
.hs-bar.run i { animation: barFill var(--hs-dur, 6s) linear forwards; }
.hero-slider.paused .hs-bar.run i { animation-play-state: paused; }
@keyframes barFill { to { width: 100%; } }
.hs-arrow {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--c-gold-soft); background: rgba(5,22,23,0.55);
  color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.hs-arrow:hover { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active img { animation: none; transform: none; }
  .hs-slide, .hs-slide.is-active { transition: none; }
}
.hero-quote {
  position: absolute; top: 120px; right: 48px; z-index: 3;
  text-align: right;
  font-family: var(--f-accent); font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: var(--c-cream);
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero-quote span { display: block; transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease; }
.hero-quote .q2 { color: var(--c-gold); font-weight: 600; transition-delay: 0.08s; }
.hero-quote.out span { opacity: 0; transform: translateY(-12px); filter: blur(4px); }
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(5,22,23,0.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(221,170,69,0.25);
  padding-left: 70px;
}
.stat { padding: 20px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--f-display); font-size: 34px; font-weight: 600; color: var(--c-gold); line-height: 1; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; white-space: nowrap; text-transform: uppercase; color: var(--c-text-mute); margin-top: 8px; }

.rail-hint { display: none; }

/* ═══ SECTIONS GENERAL ═══ */
.section { position: relative; padding: 120px 0; overflow: hidden; }

/* Curved section dividers: each section's top edge arcs over the one above it */
.section, .site-footer {
  --arc: 64px;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(221,170,69,0.3);
  border-radius: 50% 50% 0 0 / var(--arc) var(--arc) 0 0;
  box-shadow: 0 -22px 44px rgba(0,0,0,0.35);
}
.section:not(.about), .site-footer { margin-top: calc(var(--arc) * -1); }
.section.frame { --fr-top: 96px; }
.section > .container { position: relative; z-index: 5; }

/* Faint photo behind a section; edges fade out so it melts into the curved dividers */
.section-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-repeat: no-repeat;
  opacity: 0.14;
  filter: saturate(0.75);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}
.eyebrow-bar { display: inline-block; width: 36px; height: 2px; background: var(--c-gold); }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-lead { max-width: 680px; font-size: 16.5px; color: var(--c-text-mute); line-height: 1.7; }
.section-head.center .section-lead { margin: 0 auto; }
.pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--c-gold-soft);
  border-radius: 4px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold);
}

/* Shared card look from the profile: dark teal glass + coloured top edge */
.card {
  position: relative;
  background: linear-gradient(170deg, rgba(23,96,90,0.35) 0%, rgba(11,46,45,0.55) 40%, rgba(5,22,23,0.85) 100%);
  border: 1px solid rgba(43,196,182,0.14);
  border-top: 2px solid var(--c-gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.card.t-teal { border-top-color: var(--c-teal); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(221,170,69,0.25); }
.card-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43,196,182,0.12);
  border: 1px solid var(--c-teal-soft);
}
.card-ico img { width: 20px; height: 20px; }
.card-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--f-display);
  font-size: 40px; font-weight: 600;
  color: rgba(221,170,69,0.35);
  line-height: 1;
}

/* ═══ LEGACY / ABOUT ═══ */
.about { background: var(--c-bg); }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.legacy-head { display: flex; align-items: center; gap: 28px; margin: 8px 0 18px; }
.legacy-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(110px, 13vw, 170px);
  line-height: 0.85; color: var(--c-gold);
}
.legacy-title { font-family: var(--f-display); font-size: clamp(40px, 4.5vw, 58px); font-weight: 700; line-height: 1; }
.legacy-title small { display: block; font-family: var(--f-body); font-size: 16px; font-weight: 400; color: var(--c-text-soft); margin-top: 10px; }
.legacy-quote { font-size: 18px; margin-bottom: 44px; max-width: 560px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 44px; }
.timeline::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 49px;
  height: 2px; background: linear-gradient(90deg, var(--c-gold), var(--c-gold-soft));
}
.tl-item { text-align: center; position: relative; }
.tl-year { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--c-gold); line-height: 1; margin-bottom: 14px; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c-gold); margin: 0 auto 14px; box-shadow: 0 0 0 5px rgba(221,170,69,0.18); }
.tl-place { font-weight: 700; font-size: 14px; }
.tl-sub { font-size: 11px; letter-spacing: 0.12em; color: var(--c-text-mute); text-transform: uppercase; }

.legacy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legacy-card { padding: 22px 20px; }
.legacy-card .lc-num { font-family: var(--f-display); font-size: 40px; font-weight: 600; color: var(--c-gold); line-height: 1; }
.legacy-card .lc-num small { font-size: 12px; letter-spacing: 0.15em; color: var(--c-text-soft); margin-left: 6px; }
.legacy-card h4 { font-size: 13px; font-weight: 700; margin: 10px 0 6px; }
.legacy-card p { font-size: 12.5px; color: var(--c-text-mute); line-height: 1.55; }

.journey-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.55); border: 1px solid rgba(221,170,69,0.25); }
.journey-img img { width: 100%; height: auto; }

/* ═══ CORE PILLARS ═══ */
.pillars { background: var(--c-bg-2); }
.pillars-grid { display: grid; grid-template-columns: 0.9fr 2fr; gap: 56px; align-items: center; }
.pillars-title h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 7vw, 92px); line-height: 0.95; margin-bottom: 26px; }
.pillars-title p { color: var(--c-text-mute); font-size: 15.5px; max-width: 320px; padding-top: 26px; position: relative; }
.pillars-title p::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--c-gold); }
.pillars-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar { padding: 30px 28px 28px; }
.pillar h3 { font-size: 18px; font-weight: 700; margin: 20px 0 12px; line-height: 1.3; }
.pillar ul { list-style: none; }
.pillar li { font-size: 13.5px; color: var(--c-text-soft); padding-left: 16px; position: relative; margin-bottom: 6px; }
.pillar li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); }

/* ═══ SERVICES (one-screen bento grid) ═══ */
.services { background: var(--c-bg); padding: 92px 0 84px; }
.services .section-head {
  display: grid; grid-template-columns: auto 1fr; column-gap: 56px; align-items: end;
  margin-bottom: 26px;
}
.services .section-head .eyebrow { grid-column: 1; margin-bottom: 10px; }
.services .section-head h2 { grid-column: 1; margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; }
.services .section-head .section-lead { grid-column: 2; grid-row: 1 / span 2; justify-self: end; max-width: 520px; font-size: 15px; margin: 0; }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  grid-auto-rows: clamp(150px, calc((100vh - 330px) / 3), 225px);
}
.services-grid .svc-card:first-child { grid-column: span 2; grid-row: span 2; }
.services-grid .svc-card.svc-wide { grid-column: span 2; }
.svc-card { position: relative; overflow: hidden; }
.svc-img { position: absolute; inset: 0; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,22,23,0.96) 0%, rgba(5,22,23,0.6) 38%, rgba(5,22,23,0.05) 70%);
  transition: background 0.4s;
}
.svc-card:hover .svc-img::after { background: linear-gradient(0deg, rgba(5,22,23,0.97) 0%, rgba(5,22,23,0.8) 55%, rgba(5,22,23,0.25) 100%); }
.svc-tag {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-teal-hi); background: rgba(5,22,23,0.6); padding: 4px 9px; border-radius: 3px;
  border: 1px solid var(--c-teal-soft);
}
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 18px 16px; }
.svc-body h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; }
.svc-body p {
  font-size: 13px; line-height: 1.55; color: var(--c-text-soft);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s;
}
.svc-card:hover .svc-body p, .svc-card:focus-within .svc-body p { max-height: 110px; opacity: 1; margin-top: 6px; }
/* the featured tile always tells its story */
.services-grid .svc-card:first-child .svc-body { padding: 22px 26px 24px; }
.services-grid .svc-card:first-child .svc-body h3 { font-size: clamp(26px, 2.6vw, 36px); }
.services-grid .svc-card:first-child .svc-body p { max-height: 110px; opacity: 1; margin-top: 8px; font-size: 14.5px; max-width: 460px; }
.services-grid .svc-card:first-child .svc-tag { left: 22px; top: 20px; }

/* ═══ GALLERY ═══ */
.gallery { background: var(--c-bg-2); }
.gallery-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 24px;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid rgba(43,196,182,0.25);
  border-radius: 4px;
  color: var(--c-text-mute);
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--c-teal); color: #fff; }
.filter-btn.active { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-bg); }
.gallery-wrap { container-type: inline-size; }
.gallery-grid {
  --cols: 4; --gap: 16px;
  display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap);
  grid-auto-flow: dense;
  /* square rows; wide tiles span two columns at the same height */
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
}
.gallery-item {
  position: relative; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(43,196,182,0.12);
  transition: all 0.35s;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item:hover { transform: translateY(-4px); border-color: var(--c-gold-soft); box-shadow: 0 14px 28px rgba(0,0,0,0.45); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, filter 0.4s; }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(1.08); }
.gal-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5,22,23,0.95) 100%);
  font-family: var(--f-display); font-weight: 500; font-size: 15px;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.gallery-item:hover .gal-cap { color: var(--c-gold); }
.gallery-item.hidden { display: none; }
.gal-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--c-gold-hi);
  background: rgba(5,22,23,0.75); border: 1px solid rgba(221,170,69,0.4);
  backdrop-filter: blur(4px);
}

/* ═══ GLOBAL NETWORK ═══ */
.regions { background: var(--c-bg); }
/* World map from the profile: dotted continents + gold routes into RAK HQ */
.regions-top { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 24px; align-items: center; margin-bottom: 48px; }
.regions-top .section-head { margin-bottom: 30px; }
.regions-top .regions-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 20px; margin-bottom: 0; text-align: left; }
.world-map {
  position: relative; pointer-events: none;
  width: 112%; margin-right: -12%; aspect-ratio: 1000 / 458;
  background: url('brand/worldmap-dots.webp') center / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 58% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 78% at 58% 50%, #000 55%, transparent 100%);
}
.world-map::before { /* dim the dots so the routes lead */
  content: ''; position: absolute; inset: 0; background: rgba(6,27,28,0.45);
}
.world-map svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.world-map .route, .world-map .route-glow {
  fill: none; stroke: var(--c-gold); stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  transition: stroke-width 0.3s, opacity 0.3s;
}
.world-map .route { stroke-width: 1.4; opacity: 0.9; }
.world-map .route-glow { stroke-width: 5; opacity: 0.25; filter: url(#glow); }
.world-map .spark { fill: #FFE6A8; opacity: 0; filter: drop-shadow(0 0 4px #EBC06A); }
.world-map .city { fill: var(--c-gold-hi); stroke: #061B1C; stroke-width: 1.5; opacity: 0; }
.world-map .city-halo { fill: rgba(221,170,69,0.22); opacity: 0; transform-box: fill-box; transform-origin: center; }
.world-map text {
  font-family: var(--f-body); font-size: 13px; font-weight: 600; fill: var(--c-cream);
  paint-order: stroke; stroke: #061B1C; stroke-width: 4px; stroke-linejoin: round;
  opacity: 0; transition: fill 0.3s;
}
.world-map .hq { fill: var(--c-gold); stroke: #fff; stroke-width: 1.6; }
.world-map .hq-pulse { fill: none; stroke: var(--c-gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hqPulse 2.4s ease-out infinite; }
.world-map .hq-pulse.p2 { animation-delay: 1.2s; }
.world-map .hq-label { font-family: var(--f-display); font-size: 17px; letter-spacing: 0.05em; fill: var(--c-gold-hi); opacity: 1; }
@keyframes hqPulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.6); opacity: 0; } }

.regions.in-view .world-map .route,
.regions.in-view .world-map .route-glow { animation: drawRoute 1.8s ease-out var(--d) forwards; }
.regions.in-view .world-map .city,
.regions.in-view .world-map .city-halo { animation: fadeIn 0.6s ease calc(var(--d) + 0.9s) forwards; }
.regions.in-view .world-map .city-grp text { animation: fadeIn 0.6s ease calc(var(--d) + 1.1s) forwards; }
.regions.in-view .world-map .spark { animation: fadeIn 0.4s ease calc(var(--d) + 2s) forwards; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* hovering a country card lights up its city */
.world-map .city-grp.hl .route { stroke-width: 2.6; opacity: 1; }
.world-map .city-grp.hl .route-glow { opacity: 0.6; }
.world-map .city-grp.hl text { fill: var(--c-gold-hi); }
.world-map .city-grp.hl .city-halo { animation: haloPing 1.2s ease-out infinite; opacity: 1; }
.world-map.has-hl .city-grp:not(.hl) { opacity: 0.35; transition: opacity 0.3s; }
@keyframes haloPing { from { transform: scale(1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.region-card.hl { border-color: var(--c-gold); transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .world-map .route, .world-map .route-glow { stroke-dashoffset: 0; }
  .world-map .city, .world-map .city-halo, .world-map text { opacity: 1; }
  .world-map .spark { display: none; }
  .world-map .hq-pulse { animation: none; }
}

.regions-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(221,170,69,0.2);
  border-bottom: 1px solid rgba(221,170,69,0.2);
  margin-bottom: 48px;
  text-align: center;
}
.reg-num { font-family: var(--f-display); font-weight: 600; font-size: 42px; color: var(--c-gold); line-height: 1; }
.reg-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--c-text-mute); margin-top: 8px; }
.regions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.region-card { padding: 26px 22px; display: flex; align-items: center; gap: 16px; }
.region-card.hq { border-top-color: var(--c-teal); background: linear-gradient(170deg, rgba(43,196,182,0.22) 0%, rgba(11,46,45,0.6) 50%, rgba(5,22,23,0.85) 100%); }
.region-flag { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c-gold-soft); flex-shrink: 0; }
.region-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.region-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; color: var(--c-gold); text-transform: uppercase; margin-top: 4px; }
.regions-footer { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; color: var(--c-gold); text-transform: uppercase; }

/* ═══ LOCATION ═══ */
.location { background: var(--c-bg-2); padding: 100px 0 96px; }
.loc-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 44px; align-items: stretch; }
.loc-info h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; margin: 6px 0 14px; }
.loc-info .section-lead { font-size: 15px; margin-bottom: 24px; }
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.loc-list li { display: flex; align-items: center; gap: 14px; }
.loc-ico {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-gold); border: 1px solid var(--c-gold-soft); background: rgba(221,170,69,0.08);
}
.loc-list div { display: flex; flex-direction: column; line-height: 1.35; }
.loc-list strong { font-size: 14px; }
.loc-list span, .loc-list a { font-size: 14px; color: var(--c-text-soft); }
.loc-list a:hover { color: var(--c-gold); }
.loc-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.loc-cta .btn { display: inline-flex; align-items: center; gap: 9px; }
.loc-map {
  position: relative; min-height: 380px; overflow: hidden;
  border-radius: 16px; border: 2px solid var(--c-gold-soft);
  box-shadow: 0 0 0 6px rgba(221,170,69,0.06), 0 24px 50px rgba(0,0,0,0.5);
}
/* recolour Google's light map to sit in the dark teal theme */
.loc-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(92%) hue-rotate(160deg) saturate(0.55) brightness(0.9) contrast(0.95);
}
.loc-pin {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 30px;
  font-family: var(--f-display); font-size: 15px; letter-spacing: 0.05em; color: var(--c-gold-hi);
  background: rgba(5,22,23,0.85); border: 1px solid var(--c-gold-soft); backdrop-filter: blur(6px);
}
.loc-pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 0 rgba(221,170,69,0.6); animation: pinPing 1.8s ease-out infinite; }
@keyframes pinPing { to { box-shadow: 0 0 0 12px rgba(221,170,69,0); } }

/* ═══ EVENTS ═══ */
.events { background: var(--c-bg-2); }
.events-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.event-item {
  padding: 20px 18px;
  background: var(--c-card);
  border: 1px solid rgba(43,196,182,0.15);
  border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 14.5px;
  transition: all 0.3s;
}
.event-item:hover { border-color: var(--c-gold); transform: translateY(-4px); }
.event-icon { font-size: 22px; }
.event-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ═══ WHY US ═══ */
.why { background: var(--c-bg); }
.why-title { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.why-title img { height: 86px; width: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 30px 28px 32px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--c-gold); margin: 20px 0 10px; line-height: 1.35; }
.why-card.t-teal h3 { color: var(--c-teal-hi); }
.why-card p { font-size: 14px; color: var(--c-text-soft); line-height: 1.65; }

/* ═══ TEAM ═══ */
.team { background: var(--c-bg); padding: 96px 0 90px; }
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.team-head .eyebrow { margin-bottom: 10px; }
.team-head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; }
.team-head .section-lead { max-width: 440px; font-size: 15px; margin: 0; }

/* quote area: shows the section intro, or the hovered member's words to the client */
/* fixed box: switching quotes never changes the section height */
.team-quote { position: relative; width: 470px; max-width: 100%; height: 104px; display: flex; flex-direction: column; justify-content: flex-end; }
.tq-text { font-size: 15px; line-height: 1.7; color: var(--c-text-mute); transition: opacity 0.35s ease, transform 0.35s ease; }
.tq-by {
  display: block; margin-top: 10px; min-height: 1em;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}
.team-quote.is-quote .tq-text {
  font-family: var(--f-accent); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--c-cream);
}
.team-quote.is-quote::before {
  content: '\201C'; position: absolute; left: -34px; top: -18px;
  font-family: var(--f-accent); font-size: 80px; line-height: 1; color: var(--c-gold); opacity: 0.55;
}
.team-quote.out .tq-text, .team-quote.out .tq-by { opacity: 0; transform: translateY(8px); }
.tm.is-speaking .tm-frame { border-color: var(--c-gold); }

/* portrait tiles: an arch frame sitting low in the tile, leaving headroom
   for the cut-out portrait to rise out of the frame on hover */
.tm-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tm { position: relative; aspect-ratio: 3 / 4.7; outline: none; --top: 17%; }
.tm-frame {
  position: absolute; left: 0; right: 0; bottom: 0; top: var(--top); overflow: hidden;
  border-radius: 140px 140px 14px 14px;
  border: 1px solid rgba(43,196,182,0.3);
  background: #0B2E2D;
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
  transition: border-color 0.3s, box-shadow 0.4s;
}
.tm-lead .tm-frame { border: 2px solid var(--c-gold); box-shadow: 0 0 0 5px rgba(221,170,69,0.1), 0 16px 36px rgba(0,0,0,0.45); }
.tm-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: filter 0.5s, transform 0.7s ease; }

/* the cut-out: same box as the frame, clipped at the sides and bottom but open at the top */
.tm-cut {
  position: absolute; left: 0; right: 0; bottom: 0; top: var(--top); z-index: 1; pointer-events: none;
  clip-path: inset(-40% 0 0 0);
}
.tm-cut img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.55));
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease;
}
.tm:hover .tm-cut img, .tm:focus-within .tm-cut img { opacity: 1; transform: translateY(-7%) scale(1.1); }
.tm:hover .tm-frame img, .tm:focus-within .tm-frame img { filter: brightness(0.3) saturate(0.6) blur(2px); transform: scale(1.04); }
.tm:hover .tm-frame, .tm:focus-within .tm-frame { border-color: var(--c-gold); box-shadow: 0 0 0 5px rgba(221,170,69,0.14), 0 24px 44px rgba(0,0,0,0.55); }

.tm-info {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 70px 14px 16px; text-align: center;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(0deg, rgba(5,22,23,0.98) 0%, rgba(5,22,23,0.85) 45%, transparent 100%);
}
.tm-info h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.15; }
.tm-role { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); margin-top: 4px; }
.tm-phone { display: block; font-size: 12.5px; font-weight: 600; color: var(--c-cream); margin-top: 6px; }
.tm-phone:hover { color: var(--c-gold); }
.tm-links {
  display: flex; justify-content: center; gap: 8px;
  max-height: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.4s ease, margin 0.4s;
}
.tm-links a {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--c-teal-hi);
  border: 1px solid var(--c-teal-soft); background: rgba(5,22,23,0.6);
  transition: all 0.25s;
}
.tm-links a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-bg); }
.tm:hover .tm-links, .tm:focus-within .tm-links { max-height: 50px; opacity: 1; transform: none; margin-top: 12px; }
@media (hover: none) {
  .tm-links { max-height: 50px; opacity: 1; transform: none; margin-top: 12px; }
}

/* talent call-to-action strip */
.tm-join {
  display: flex; align-items: center; gap: 18px;
  margin-top: 22px; padding: 16px 20px;
  border: 1px solid rgba(221,170,69,0.3); border-radius: 12px;
  background: linear-gradient(90deg, rgba(23,96,90,0.35), rgba(11,46,45,0.5));
}
.tm-join-ico {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-gold); font-size: 18px; border: 1px solid var(--c-gold-soft);
}
.tm-join-text { flex: 1; display: flex; flex-direction: column; }
.tm-join-text strong { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: 0.02em; }
.tm-join-text span { font-size: 13.5px; color: var(--c-text-mute); }
.tm-join .btn { padding: 12px 24px; white-space: nowrap; }
.tm-profile { border-color: rgba(221,170,69,0.45); background: linear-gradient(90deg, rgba(221,170,69,0.12), rgba(11,46,45,0.55)); }
.tm-profile + .tm-join { margin-top: 12px; }
.tm-profile-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
.site-footer > * { position: relative; z-index: 1; }
.site-footer { background: #041112; padding-top: 60px; border-top: 1px solid rgba(221,170,69,0.18); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; padding-bottom: 44px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--c-text-mute); line-height: 1.6; max-width: 340px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-head { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: 0.14em; color: var(--c-gold); margin-bottom: 16px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 14px; color: var(--c-text-mute); padding: 5px 0; transition: color 0.2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; letter-spacing: 0.12em; color: rgba(245,238,220,0.4); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .accent { letter-spacing: 0; font-size: 13px; }

/* ═══ ZOOM MEETING REQUEST ═══ */
.nav-meet { display: inline-flex; align-items: center; gap: 8px; color: var(--c-teal-hi) !important; }
.nav-meet i { font-size: 14px; }
.mt-modal { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mt-modal[hidden] { display: none; }
.mt-backdrop { position: absolute; inset: 0; background: rgba(3,14,15,0.8); backdrop-filter: blur(6px); animation: fadeIn 0.3s ease forwards; }
.mt-dialog {
  position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 32px 34px 30px;
  background: linear-gradient(170deg, #0F3F3B 0%, #0A2826 40%, #061B1C 100%);
  border: 1px solid rgba(43,196,182,0.3); border-top: 3px solid var(--c-gold); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: mtIn 0.4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mtIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.mt-x { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; color: var(--c-text-soft); border: 1px solid rgba(255,255,255,0.12); }
.mt-x:hover { color: var(--c-gold); border-color: var(--c-gold); }
.mt-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; padding-right: 30px; }
.mt-head .eyebrow { margin-bottom: 6px; }
.mt-head h2 { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; margin-bottom: 8px; }
.mt-head p { font-size: 14px; color: var(--c-text-mute); line-height: 1.55; }
.mt-ico {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--c-bg); background: var(--c-gold);
  box-shadow: 0 0 0 6px rgba(221,170,69,0.15);
}
.mt-ico-lg { width: 70px; height: 70px; font-size: 28px; }
.mt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 14px; }
.mt-grid-3 { grid-template-columns: 1fr 1fr 1.2fr; }
.mt-field { display: flex; flex-direction: column; gap: 6px; }
.mt-field[hidden] { display: none; }
.mt-field > span, .mt-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold); }
.mt-label { margin-bottom: 8px; }
.mt-field input, .mt-field select, .mt-field textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px;
  background: rgba(5,22,23,0.7); border: 1px solid rgba(43,196,182,0.25);
  color: #fff; font: inherit; font-size: 14px; outline: none; color-scheme: dark;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mt-field textarea { resize: vertical; min-height: 96px; }
.mt-field select option { background: #0B2E2D; }
.mt-field input:focus, .mt-field select:focus, .mt-field textarea:focus { border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(43,196,182,0.15); }
.mt-field.invalid input, .mt-field.invalid select, .mt-field.invalid textarea { border-color: #E5746B; }
.mt-full { margin-bottom: 14px; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mt-chips input { position: absolute; opacity: 0; pointer-events: none; }
.mt-chips span {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 8px 15px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--c-teal-soft); color: var(--c-text-soft); transition: all 0.2s;
}
.mt-chips input:checked + span { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-bg); }
.mt-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(221,170,69,0.35); }
.mt-error { color: #F09A92; font-size: 13.5px; margin-bottom: 12px; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-actions .btn { display: inline-flex; align-items: center; gap: 9px; }
.mt-done { text-align: center; padding: 20px 0 6px; }
.mt-done .mt-ico { margin-bottom: 16px; }
.mt-done h3 { font-family: var(--f-display); font-size: 28px; margin-bottom: 8px; }
.mt-done p { color: var(--c-text-soft); margin-bottom: 20px; }
@media (max-width: 640px) {
  .mt-dialog { padding: 26px 18px 22px; }
  .mt-grid, .mt-grid-3 { grid-template-columns: 1fr; }
  .mt-head h2 { font-size: 28px; }
  .mt-actions .btn { width: 100%; justify-content: center; }
}

/* ═══ WHATSAPP FLOAT ═══ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #0B2E2D; border: 1.5px solid #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  transition: transform 0.25s;
}
.wa-float { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s; }
.wa-float.show { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s; }
.wa-float.show:hover { transform: scale(1.08); }
.wa-float img { width: 26px; height: 26px; }

/* ═══ LIGHTBOX ═══ */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4,17,18,0.96); display: none; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox.open { display: flex; }
.lb-img { max-width: 100%; max-height: 80vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.8); object-fit: contain; }
.lb-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-size: 20px; color: var(--c-gold); letter-spacing: 0.05em; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(221,170,69,0.15); border: 1.5px solid var(--c-gold-soft);
  color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--c-gold); color: var(--c-bg); }
.lb-close { top: 28px; right: 28px; }
.lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.lb-count { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 13px; letter-spacing: 0.2em; color: var(--c-text-mute); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1240px) { .nav-links { gap: 22px; } .nav-logo { height: 34px; } }
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 130px 32px 56px; }
  .hero-media {
    min-height: max(72vh, 540px);
    border-left: none; border-top: 2px solid rgba(221,170,69,0.45);
    border-radius: 50% 50% 0 0 / 56px 56px 0 0;
    box-shadow: 0 -18px 40px rgba(0,0,0,0.45);
  }
  .hero-stats { padding-left: 0; }
  .about-grid, .pillars-grid, .regions-top, .loc-grid { grid-template-columns: 1fr; }
  .loc-map { min-height: 320px; }
  .services .section-head { grid-template-columns: 1fr; row-gap: 12px; }
  .services .section-head .section-lead { grid-column: 1; grid-row: auto; justify-self: start; }
  .services-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .services-grid .svc-card:first-child { grid-column: span 3; grid-row: span 1; }
  .team-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .team-quote { width: 100%; height: 124px; }
  .team-quote.is-quote::before { left: -6px; top: -26px; font-size: 56px; }
  .tm-row { grid-template-columns: repeat(4, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 14px; margin: 0 -2px; scrollbar-width: thin; }
  .tm { scroll-snap-align: start; }
  .tm-row { padding-top: 4px; }
  .world-map { width: 100%; margin-right: 0; }
  .journey-img { max-width: 560px; margin: 0 auto; }
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { --cols: 3; }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}
/* tablets: the services grid is 2 columns here, so the lead card spans the full row (a "span 3" made a hidden 3rd column) */
@media (min-width: 769px) and (max-width: 1100px) { .services-grid .svc-card:first-child { grid-column: 1 / -1; } }
@media (min-width: 901px) and (max-width: 1140px) { .nav-links { gap: 14px; } .nav-logo, .site-nav.scrolled .nav-logo { height: 28px; } }
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: -100%;
    flex-direction: column;
    background: rgba(5,22,23,0.98);
    width: 280px; height: 100vh;
    padding: 100px 32px 40px;
    align-items: flex-start;
    gap: 24px;
    transition: right 0.35s;
    border-left: 1px solid rgba(221,170,69,0.18);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; position: relative; z-index: 2; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container, .nav-inner { padding: 0 16px; }
  .frame { --fr-size: 30px; --fr-inset: 16px; }
  .section, .site-footer { --arc: 36px; }
  .section.frame { --fr-top: 52px; }
  .world-map text { font-size: 17px; }
  .hero.frame::after { display: none; }
  .hero-content { padding: 110px 16px 48px; }
  .hero-logo { width: 300px; }
  .hero-quote { top: 28px; right: 20px; font-size: 20px; }
  /* stack caption → controls → stats in flow so they never overlap */
  .hero-media { display: flex; flex-direction: column; justify-content: flex-end; min-height: 720px; }
  .stat { padding: 16px 10px; }
  .stat-num { font-size: 28px; }
  .hs-caption, .hs-controls, .hero-stats { position: relative; left: auto; right: auto; bottom: auto; }
  .hs-caption { max-width: none; padding: 0 16px 12px; }
  .hs-controls { padding: 0 16px 16px; gap: 10px; }
  .hs-arrow { width: 34px; height: 34px; font-size: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .legacy-head { gap: 16px; }
  .legacy-cards, .pillars-cards, .services-grid, .why-grid, .regions-grid, .contact-grid { grid-template-columns: 1fr; }
  .tm-row { grid-template-columns: repeat(4, 72vw); }
  .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 10px; }
  .services-grid .svc-card:first-child { grid-column: span 2; grid-row: span 1; }
  .services-grid .svc-card:first-child .svc-body p { display: none; }
  .tm-join { flex-wrap: wrap; }
  .tm-join .btn { width: 100%; text-align: center; }
  .tm-profile-btns { width: 100%; }
  .gallery-grid { --cols: 2; --gap: 10px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 40px 16px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 22px; }
}
