/* =========================================================
   Oheneba Global Elite Agency — style.css
   Palette: Deep Navy #0F1E36 · Gold #B38F4F · Cream #FDFBF7
   ========================================================= */

:root {
  --navy: #0F1E36;
  --navy-2: #16283E;
  --navy-deep: #0A1526;
  --gold: #B38F4F;
  --gold-soft: #C9A96A;
  --cream: #FDFBF7;
  --paper: #F4F1EA;
  --ink: #1c2433;
  --muted: #5c6472;
  --line: rgba(179,143,79,.35);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip; /* prevent off-screen mobile nav from creating horizontal scroll */
}
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* NOT `hidden` — hidden turns body into a scroll container and breaks position:sticky on the header */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 92%; max-width: var(--container); margin: 0 auto; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: .74rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow.center { text-align: center; }
.eyebrow.gold { color: var(--gold-soft); }

.invitation-note {
  margin-top: 2.8rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.invitation-note.center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  color: var(--navy);
  margin-top: .35em;
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--cream); }

.rule { width: 60px; height: 2px; background: var(--gold); margin-top: 1.1rem; border: 0; }
.rule.center { margin-left: auto; margin-right: auto; }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  margin-top: .6rem;
}
.btn-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,247,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(179,143,79,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: .3rem 0;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .28s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: .6rem 1.4rem !important;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover { background: transparent; color: var(--gold) !important; }

/* Nav dropdown (Global Representation → Talent Pool) */
.nav-item.has-dropdown { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; }
.nav-caret { font-size: .58em; margin-left: .35em; transition: transform .25s ease; }
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: var(--cream);
  border: 1px solid rgba(179,143,79,.3);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15,30,54,.14);
  padding: .5rem 0;
  margin-top: .5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 200;
}
.nav-dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: .6rem 1.2rem !important;
  font-size: .78rem;
  color: var(--navy);
  white-space: nowrap;
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover { background: rgba(179,143,79,.12); color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--navy);
  transition: all .3s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, rgba(179,143,79,.14), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 76px);
  padding: 4rem 0;
}
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  margin: 1.1rem 0 1.4rem;
  letter-spacing: .01em;
}
.hero-title span { color: var(--gold-soft); }
.hero-sub {
  max-width: 30rem;
  color: rgba(253,251,247,.82);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 2.3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* portrait framing */
.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: 380px;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(179,143,79,.22);
  border-radius: 8px;
  pointer-events: none;
}
.portrait-frame img { border-radius: 3px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.portrait-frame.small { max-width: 300px; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 22px; height: 36px;
  border: 1.5px solid rgba(253,251,247,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  background: var(--gold-soft);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 3.2rem;
  align-items: start;
  margin-top: 3rem;
}
.about-text p { margin-bottom: 1.15rem; color: #3a4252; }
.about-text p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 600;
  float: left;
  line-height: .8;
  padding: .1em .12em 0 0;
  color: var(--gold);
}
.about-portrait { display: flex; justify-content: center; padding-top: .4rem; }
.about-portrait .portrait-frame { border-color: rgba(179,143,79,.5); }
.about-portrait .portrait-frame::before { border-color: rgba(179,143,79,.3); }
.about-portrait .portrait-frame img { box-shadow: 0 20px 45px rgba(15,30,54,.18); }

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.cred { text-align: center; }
.cred img { height: 92px; width: auto; margin: 0 auto 1.1rem; object-fit: contain; }
.cred img.round { height: 84px; border-radius: 50%; }
.cred h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.cred p { font-size: .92rem; color: var(--muted); max-width: 20rem; margin: 0 auto; }

/* ---------- Heritage extras (V2) ---------- */
.highlight-box {
  border-left: 3px solid var(--gold);
  background: rgba(179,143,79,.07);
  padding: 1.4rem 1.7rem;
  margin: 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  font-style: normal;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: .005em;
  border-radius: 0 4px 4px 0;
}

/* ---------- Shared lead / center helpers ---------- */
.lead {
  max-width: 46rem;
  margin: 2.2rem auto 0;
  color: #3a4252;
  font-size: 1.02rem;
  line-height: 1.75;
}
.center-text { text-align: center; }
.center-text .btn { margin-top: 2.4rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(179,143,79,.22);
  border-radius: 6px;
  padding: 2.3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease, border-color .45s ease;
}
/* Gold line that sweeps across the top on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
  z-index: 3;
}
/* Video that fills the card and swaps in on hover */
.service-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  /* Leaving: fade out fast so the paused frame is gone almost immediately.
     main.js rewinds only after this finishes (FADE_OUT_MS). */
  transition: opacity .28s ease;
}
.service-content {
  position: relative;
  z-index: 2;
  transition: opacity .4s ease, transform .4s ease;
}
/* Only swap when JS has confirmed the video actually loaded */
.service-card.video-ready:hover .service-content {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.service-card.video-ready:hover .service-video {
  opacity: 1;
  transition: opacity .5s ease; /* entering: gentler fade in */
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(15,30,54,.14);
  border-color: var(--gold);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-no {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(179,143,79,.55);
  display: block;
  margin-bottom: .5rem;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), color .45s ease;
}
.service-card:hover .service-no {
  transform: translateY(-2px) scale(1.12);
  color: var(--gold);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .9rem;
  transition: color .45s ease;
}
.service-card:hover h3 {
  color: var(--gold);
}
.service-card p { font-size: .95rem; color: #444c5c; }
.service-card strong { color: var(--navy); font-weight: 600; }

/* Flagship */
.service-card.flagship {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 2.8rem 2.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem 3rem;
  align-items: start;
}
.service-card.flagship .service-no { color: rgba(201,169,106,.6); }
.service-card.flagship h3 { color: var(--cream); font-size: 1.9rem; }
.service-card.flagship p { color: rgba(253,251,247,.82); }
.service-card.flagship strong { color: var(--gold-soft); }
.service-card.flagship:hover { transform: none; box-shadow: none; }
.service-card.flagship::before { display: none; }
.service-card.flagship:hover .service-no { transform: none; color: rgba(201,169,106,.6); }
.service-card.flagship:hover h3 { color: var(--cream); }
.ribbon {
  position: absolute;
  top: -13px; right: 32px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.flagship-list { list-style: none; align-self: center; }
.flagship-list li {
  font-size: .95rem;
  color: rgba(253,251,247,.85);
  padding: .55rem 0 .55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(179,143,79,.2);
}
.flagship-list li:last-child { border-bottom: 0; }
.flagship-list li::before {
  content: "◆";
  position: absolute; left: 0;
  color: var(--gold-soft);
  font-size: .7rem;
  top: .8rem;
}

/* =========================================================
   RECOGNITION AWARD SCHEME (V2 Section 4)
   ========================================================= */
.recognition-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 3.2rem;
  align-items: center;
  margin-top: 3.2rem;
}
.recognition-medal { display: flex; justify-content: center; }
.medal-ring {
  width: 280px; height: 415px;
  border-radius: 50%;
  border: 1px solid var(--line);
  padding: 10px;
  position: relative;
}
.medal-ring::before {
  content: "";
  position: absolute; inset: -14px;
  border: 1px solid rgba(179,143,79,.22);
  border-radius: 50%;
}
.medal-ring::after {
  content: "";
  position: absolute; inset: -28px;
  border: 1px solid rgba(179,143,79,.12);
  border-radius: 50%;
  pointer-events: none;
}
.medal-ring img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #141d30 0%, #05070d 72%);
}
.recognition-text > p { color: rgba(253,251,247,.85); font-size: 1rem; line-height: 1.75; }
.callout {
  margin-top: 2rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 1.8rem 1.8rem 2rem;
  position: relative;
  background: rgba(179,143,79,.06);
}
.callout-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: 3px;
}
.callout h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: .7rem;
}
.callout p { color: rgba(253,251,247,.8); font-size: .95rem; margin-bottom: 1.4rem; }

/* =========================================================
   LEGACY PHILANTHROPY (V2 Section 5)
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.pillar {
  text-align: center;
  padding: 2.2rem 1.6rem;
  border: 1px solid rgba(179,143,79,.28);
  border-radius: 6px;
  background: var(--cream);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,30,54,.09);
  border-color: var(--gold);
}
/* Hover video on a pillar — mirrors the service-card behaviour. The video is
   only revealed once JS confirms it can play (class .video-ready). */
.pillar .hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity .28s ease; /* fade out fast — see .service-video */
}
.pillar-content {
  position: relative;
  z-index: 2;
  transition: opacity .4s ease, transform .4s ease;
}
.pillar.video-ready:hover .pillar-content {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.pillar.video-ready:hover .hover-video {
  opacity: 1;
  transition: opacity .5s ease; /* entering: gentler fade in */
}
.pillar-icon { color: var(--gold); font-size: .85rem; }
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: .8rem 0 .5rem;
}
.pillar p { font-size: .92rem; color: var(--muted); }

/* =========================================================
   COMMUNITY IMPACT (V2 Section 6)
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 56rem;
  margin: 3rem auto 0;
  text-align: center;
}
.stat {
  padding: 1.6rem 1rem;
  border-top: 2px solid var(--gold);
  background: rgba(179,143,79,.05);
}
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-top: .4rem;
  letter-spacing: .02em;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.impact-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(179,143,79,.25);
  background: #fff;
}
.impact-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.impact-item:hover img { transform: scale(1.05); }
.impact-item figcaption {
  padding: .7rem .9rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3.2rem;
}
.g-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(179,143,79,.2);
  background: var(--navy-2);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.g-item:not(.upcoming):hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem .9rem;
  background: linear-gradient(to top, rgba(10,21,38,.92), transparent);
  color: var(--cream);
}
.g-item figcaption span {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .01em;
}
/* Badge on cards that group several photographs behind one cover */
.g-item figcaption .g-count {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: .3rem;
}
/* Upcoming cards */
.g-item.upcoming { cursor: default; background: linear-gradient(150deg, var(--navy-2), var(--navy-deep)); }
.upcoming-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
}
.upcoming-inner img { width: 74px; height: auto; opacity: .5; margin-bottom: 1rem; }
.up-label {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.up-note {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: .7rem;
}

/* =========================================================
   TALENT POOL
   ========================================================= */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}
.talent-card {
  background: var(--cream);
  border: 1px solid rgba(179,143,79,.22);
  border-radius: 6px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.talent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15,30,54,.12);
  border-color: var(--gold);
}
.talent-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--gold);
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* Photo overlays the initials monogram; if the file is missing the <img> is
   removed by its onerror handler and the monogram shows through instead. */
.avatar-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.talent-avatar span {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: .04em;
}
.talent-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}
.talent-alias {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: .3rem;
  min-height: 1.1em;
}
.talent-role {
  font-size: .82rem;
  letter-spacing: .03em;
  color: var(--muted);
  margin-top: .8rem;
  font-weight: 500;
}
.talent-bio {
  font-size: .92rem;
  color: #444c5c;
  margin-top: .9rem;
  line-height: 1.6;
  flex-grow: 1;
}
.talent-langs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-top: 1.2rem;
}
.talent-langs li {
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: .25rem .7rem;
  font-weight: 600;
}
.talent-btn {
  margin-top: 1.6rem;
  align-self: stretch;
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.talent-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Talent sub-pages (hub + individual profiles) ---------- */
.container.narrow { max-width: 760px; }
.talent-page { padding-top: clamp(3rem, 7vw, 5rem); }
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s ease;
}
.back-link:hover { color: var(--gold); }
.profile {
  text-align: center;
  border: 1px solid rgba(179,143,79,.22);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3.6rem);
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(15,30,54,.08);
}
.profile-avatar {
  width: 132px; height: 132px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.profile-avatar span {
  font-family: var(--serif);
  font-size: 2.9rem;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: .04em;
}
.profile-name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.profile-alias {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: .45rem;
}
.profile-role {
  color: var(--muted);
  font-size: .96rem;
  margin-top: .7rem;
  font-weight: 500;
}
.profile .rule.center { margin: 1.7rem auto; }
.profile-bio {
  color: #3a4252;
  font-size: 1.03rem;
  line-height: 1.78;
  max-width: 44rem;
  margin: 0 auto;
}
.profile .talent-langs { margin-top: 1.7rem; }
.profile-cta { margin-top: 2.1rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3.5rem;
  margin-top: 3rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.field label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: .5rem;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(253,251,247,.04);
  border: 1px solid rgba(179,143,79,.3);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(253,251,247,.35); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(253,251,247,.07);
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96A' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.contact-form select:invalid { color: rgba(253,251,247,.35); }
.contact-form select option {
  background: var(--navy);
  color: var(--cream);
}
.req { color: var(--gold-soft); }
.contact-form textarea { resize: vertical; }
.form-status { margin-top: 1rem; font-size: .9rem; color: var(--gold-soft); min-height: 1.2em; }

.contact-details { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.detail { padding: 1.4rem 0; border-bottom: 1px solid rgba(179,143,79,.18); }
.detail:first-child { padding-top: 0; }
.detail-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: .5rem;
  font-weight: 600;
}
.detail-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 500;
  transition: color .2s ease;
}
a.detail-value:hover { color: var(--gold-soft); }
.detail-value.addr {
  font-size: 1rem;
  font-family: var(--sans);
  font-style: normal;
  line-height: 1.6;
  color: rgba(253,251,247,.78);
}
.detail-note { display: block; font-size: .82rem; color: var(--gold); margin-top: .3rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(253,251,247,.7); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(179,143,79,.18);
}
.footer-logo { height: 120px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .82rem; letter-spacing: .04em; max-width: 26rem; color: rgba(253,251,247,.55); }
.footer-nav { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(253,251,247,.75);
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--gold-soft); }
.footer-contact .detail-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: .4rem;
  font-weight: 600;
}
.footer-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(253,251,247,.9);
  margin-bottom: 1.2rem;
  transition: color .2s ease;
}
.footer-email:hover { color: var(--gold-soft); }
.socials { display: flex; gap: .9rem; }
.socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(179,143,79,.35);
  border-radius: 50%;
  color: rgba(253,251,247,.8);
  transition: all .25s ease;
}
.socials a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: translateY(-2px); }

.footer-legal { padding-top: 2rem; }
.disclaimer { font-size: .74rem; line-height: 1.7; color: rgba(253,251,247,.45); max-width: 62rem; }
.disclaimer strong { color: rgba(253,251,247,.7); }
.copyright { font-size: .74rem; letter-spacing: .1em; color: rgba(253,251,247,.4); margin-top: 1.2rem; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(6,12,24,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 900px; text-align: center; }
.lb-figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-figure figcaption {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-top: 1.2rem;
  max-width: 42rem;
  margin-left: auto; margin-right: auto;
}
.lb-close, .lb-nav {
  position: absolute;
  background: none; border: 0;
  color: rgba(253,251,247,.8);
  cursor: pointer;
  transition: color .2s ease;
}
.lb-close { top: 24px; right: 32px; font-size: 2.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 1rem; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-close:hover, .lb-nav:hover { color: var(--gold-soft); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding: 3rem 0 4rem; min-height: auto; }
  .hero-copy { order: 2; }
  .hero-portrait { order: 1; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-scroll { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.flagship { grid-template-columns: 1fr; }
  .recognition-grid { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .callout { text-align: left; }
  .pillars { grid-template-columns: 1fr; max-width: 28rem; margin-left: auto; margin-right: auto; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-details { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 2rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-nav { align-items: center; }
  .footer-brand p, .disclaimer { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  /* mobile nav */
  .nav {
    position: fixed;
    top: 76px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 76px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem 1.8rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -14px 0 40px rgba(15,30,54,.15);
    border-left: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 1rem 0; border-bottom: 1px solid rgba(179,143,79,.15); font-size: .9rem; }
  .nav .nav-cta { margin-top: 1rem; text-align: center; width: 100%; }
  .nav-item.has-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent;
    padding: 0; margin: 0; min-width: 0;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a { padding: 1rem 0 1rem 1rem !important; width: 100%; border-bottom: 1px solid rgba(179,143,79,.15); font-size: .9rem; }
  .nav-caret { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .talent-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1rem; }
  .medal-ring { width: 210px; height: 310px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================
   CONTACT FORM MODAL (premium confirmation popup)
   ========================================================= */
.form-modal {
  position: fixed; inset: 0;
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 6vw;
}
.form-modal[hidden] { display: none; }

.fm-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,12,24,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s ease;
}
.form-modal.is-open .fm-backdrop { opacity: 1; }

.fm-dialog {
  position: relative;
  width: min(440px, 100%);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(2.6rem, 5vw, 3.4rem) clamp(1.8rem, 5vw, 2.8rem) clamp(2.2rem, 5vw, 2.8rem);
  text-align: center;
  box-shadow: 0 40px 90px rgba(6,12,24,.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.3,1);
}
.form-modal.is-open .fm-dialog { opacity: 1; transform: translateY(0) scale(1); }
.fm-dialog::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.fm-close {
  position: absolute; top: 12px; right: 18px;
  background: none; border: 0;
  font-size: 1.9rem; line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease;
}
.fm-close:hover { color: var(--gold); }

/* Icon with concentric "seal" rings echoing the medal/portrait motif */
.fm-icon {
  width: 92px; height: 92px;
  margin: 0 auto 1.4rem;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
/* Success: brand emblem (self-framed royal medallion) */
.fm-logo {
  width: 86px; height: auto;
  filter: drop-shadow(0 7px 16px rgba(15,30,54,.3));
  opacity: 0;
  transform: scale(.72) translateY(4px);
}
.form-modal.is-open .fm-logo { animation: fmLogo .6s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fmLogo {
  from { opacity: 0; transform: scale(.72) translateY(4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.form-modal.is-error .fm-logo { display: none; }

/* Error: terracotta "!" glyph (its own drawn ring) */
.fm-glyph { width: 70px; height: 70px; display: none; }
.form-modal.is-error .fm-glyph-cross { display: block; }

.fm-ring {
  fill: none; stroke: var(--gold); stroke-width: 2;
  stroke-dasharray: 145; stroke-dashoffset: 145;
}
.fm-mark {
  fill: none; stroke: var(--gold); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
}
.fm-dot { fill: var(--gold); opacity: 0; }

.form-modal.is-open .fm-ring { animation: fmRing .6s ease forwards; }
.form-modal.is-open .fm-mark { animation: fmMark .4s ease .5s forwards; }
.form-modal.is-open .fm-dot  { animation: fmDot .3s ease .85s forwards; }
@keyframes fmRing { to { stroke-dashoffset: 0; } }
@keyframes fmMark { to { stroke-dashoffset: 0; } }
@keyframes fmDot  { to { opacity: 1; } }

/* Error accent — refined terracotta, distinct but on-palette */
.form-modal.is-error .fm-ring,
.form-modal.is-error .fm-mark { stroke: #a94f3e; }
.form-modal.is-error .fm-dot { fill: #a94f3e; }
.form-modal.is-error .fm-icon::before { border-color: rgba(169,79,62,.32); }
.form-modal.is-error .fm-icon::after  { border-color: rgba(169,79,62,.16); }
.form-modal.is-error .fm-eyebrow { color: #a94f3e; }

.fm-eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .5rem;
}
.fm-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 600; color: var(--navy); line-height: 1.15;
}
.fm-message {
  color: #3a4252; font-size: 1rem; line-height: 1.7;
  margin: .8rem auto 1.8rem; max-width: 24rem;
}
.fm-dismiss { min-width: 150px; }

@media (max-width: 640px) {
  .fm-dialog { border-radius: 8px; }
}

/* Reduced motion: show the modal + icon fully, without the drawing animation */
@media (prefers-reduced-motion: reduce) {
  .fm-backdrop { opacity: 1; }
  .fm-dialog { opacity: 1; transform: none; }
  .fm-logo { opacity: 1; transform: none; }
  .fm-ring, .fm-mark { stroke-dashoffset: 0; }
  .fm-dot { opacity: 1; }
}
