/* ==========================================================================
   obinnaejebi.com
   ========================================================================== */

:root {
  --emerald: #063F36;
  --emerald-deep: #04302A;
  --emerald-lift: #0B5347;
  --navy: #071A2E;
  --navy-deep: #04101F;
  --gold: #C8A15A;
  --gold-soft: #E2C894;
  --ivory: #F8F6F0;
  --white: #FFFFFF;
  --ink: #14201E;
  --ink-soft: #495653;
  --ink-mute: #646E6A;
  --rule: rgba(6, 63, 54, 0.13);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

/* --- Type ------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.65em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.5rem); font-weight: 700; letter-spacing: -0.034em; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.014em; }

p { margin: 0 0 1.2em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); max-width: 58ch; }
.section-intro { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.marker {
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  color: var(--emerald); display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem;
}
.marker::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); flex: none; }

/* --- Layout ----------------------------------------------------------- */

.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.wrap-narrow { width: min(760px, 100%); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
section { padding-block: var(--section-y); }
.on-white { background: var(--white); }

/* ==========================================================================
   CINEMATIC SURFACE
   Four stacked layers: a graded base, an off-centre key light, a fine grain,
   and a vignette. Depth comes from the light falloff, not from motion.
   ========================================================================== */

.cinematic {
  position: relative;
  isolation: isolate;
  color: rgba(248, 246, 240, 0.86);
  background:
    /* key light — tight, high and to the right */
    radial-gradient(62% 48% at 82% 4%,   rgba(28, 138, 116, 0.62) 0%, rgba(28, 138, 116, 0) 58%),
    /* bounce — a cool secondary lift so the key doesn't read as a lamp */
    radial-gradient(52% 44% at 88% 26%,  rgba(16, 96, 108, 0.34) 0%, rgba(16, 96, 108, 0) 62%),
    /* warm fill low-left, the gold in the palette doing quiet work */
    radial-gradient(64% 52% at 2% 104%,  rgba(200, 161, 90, 0.17) 0%, rgba(200, 161, 90, 0) 58%),
    /* shadow side — pulls the lower left toward true black-green */
    radial-gradient(78% 68% at 12% 62%,  rgba(2, 20, 18, 0.68) 0%, rgba(2, 20, 18, 0) 72%),
    linear-gradient(158deg, #063F36 0%, #04302A 28%, #032523 58%, #05121F 100%),
    #031B18;
}

/* Grain — an SVG turbulence field, kept far below the threshold of notice */
.cinematic::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: overlay;
}

/* Vignette — pulls the eye to the centre-left where the type sits */
.cinematic::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(112% 88% at 38% 36%, rgba(1, 9, 14, 0) 30%, rgba(1, 9, 14, 0.30) 68%, rgba(1, 9, 14, 0.62) 100%),
    linear-gradient(to bottom, rgba(1, 9, 14, 0.30) 0%, rgba(1, 9, 14, 0) 22%);
}

.cinematic h1, .cinematic h2, .cinematic h3 { color: var(--ivory); }
.cinematic .lede { color: rgba(248, 246, 240, 0.78); }
.cinematic .marker { color: var(--gold-soft); }
.cinematic strong { color: var(--ivory); font-weight: 600; }

/* A single slow light sweep across the hero. One orchestrated moment only. */
.hero-sweep {
  position: absolute; inset: -30% -10% auto -10%; height: 150%; z-index: 0; pointer-events: none;
  background: linear-gradient(104deg, transparent 40%, rgba(200, 161, 90, 0.085) 49%, rgba(226, 200, 148, 0.05) 52%, transparent 61%);
  transform: translateX(-8%);
  animation: sweep 26s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: translateX(-9%); } to { transform: translateX(9%); } }

/* Horizon — one hairline of light where the two colour fields meet */
.cinematic-edge { position: relative; }
.cinematic-edge::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(200, 161, 90, 0.55) 38%, rgba(200, 161, 90, 0.18) 72%, transparent);
}

/* --- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  padding: 0.95rem 1.75rem; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline { border-color: rgba(248, 246, 240, 0.38); color: var(--ivory); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--emerald); color: var(--ivory); }
.btn-dark:hover { background: var(--emerald-lift); }
.btn-ghost { border-color: var(--rule); color: var(--emerald); }
.btn-ghost:hover { border-color: var(--emerald); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; color: var(--emerald);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.link:hover { color: var(--emerald-lift); border-color: var(--emerald); }
.cinematic .link { color: var(--gold-soft); border-color: rgba(200, 161, 90, 0.5); }
.cinematic .link:hover { color: var(--ivory); border-color: var(--gold); }

/* --- Header ----------------------------------------------------------- */

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.85rem 1.4rem; font-weight: 600; font-family: var(--font-display); text-decoration: none;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 41, 36, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(200, 161, 90, 0.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ivory); white-space: nowrap;
}
.wordmark span { display: block; font-size: 0.7rem; font-weight: 500; color: rgba(248, 246, 240, 0.58); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; text-decoration: none;
  color: rgba(248, 246, 240, 0.74); padding: 0.4rem 0; border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.nav a:hover { color: var(--ivory); }
.nav a[aria-current="page"] { color: var(--ivory); border-bottom-color: var(--gold); }
.nav-cta { margin-left: 0.4rem; padding: 0.65rem 1.25rem !important; font-size: 0.9rem; border-bottom: none !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(200, 161, 90, 0.3);
  border-radius: var(--radius); padding: 0.55rem 0.85rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--ivory);
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--emerald-deep); padding: 1rem var(--gutter) 2rem;
    max-height: calc(100dvh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid rgba(248, 246, 240, 0.1); }
  .nav-cta { margin: 1.25rem 0 0; text-align: center; }
}

/* --- Hero ------------------------------------------------------------- */

.hero { padding-block: clamp(5rem, 13vw, 10.5rem) clamp(4.5rem, 11vw, 9rem); overflow: hidden; }
.hero-inner { max-width: 20ch; }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lede { max-width: 52ch; margin-bottom: 2.4rem; }
.hero-role {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--gold-soft); margin-bottom: 1.75rem; max-width: none;
}
.hero-role span { color: rgba(248, 246, 240, 0.5); font-weight: 500; }
.hero-inner { max-width: none; }
.hero h1 { max-width: 15ch; }
.hero-foot { margin-top: 2rem; font-size: 0.9rem; color: rgba(248, 246, 240, 0.6); }

/* --- Reach strip ------------------------------------------------------ */

.reach { background: var(--navy-deep); padding-block: 1.6rem; }
.reach ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.75rem; list-style: none; margin: 0; padding: 0;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; color: rgba(248, 246, 240, 0.66);
}
.reach li { display: flex; align-items: center; gap: 0.65rem; }
.reach li::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex: none; }

/* --- Cards ------------------------------------------------------------ */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.card {
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--emerald);
  border-radius: var(--radius); padding: clamp(1.6rem, 2.4vw, 2.1rem);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.97rem; color: var(--ink-soft); }
.card-tags {
  list-style: none; margin: 1.3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.85rem; color: var(--ink-mute);
}
.cinematic .card { background: rgba(248, 246, 240, 0.045); border-color: rgba(248, 246, 240, 0.13); border-top-color: var(--gold); backdrop-filter: blur(2px); }
.cinematic .card p { color: rgba(248, 246, 240, 0.76); }
.cinematic .card-tags { border-top-color: rgba(248, 246, 240, 0.13); color: rgba(248, 246, 240, 0.56); }

.chip {
  align-self: flex-start; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: 2px; margin-bottom: 0.9rem; border: 1px solid;
  color: #4A5B22; border-color: rgba(74, 91, 34, 0.32); background: rgba(74, 91, 34, 0.06);
}
.chip-academic { color: #6B5417; border-color: rgba(107, 84, 23, 0.32); background: rgba(107, 84, 23, 0.06); }
.chip-build { color: #22405F; border-color: rgba(34, 64, 95, 0.3); background: rgba(34, 64, 95, 0.06); }
.cinematic .chip { color: var(--gold-soft); border-color: rgba(200, 161, 90, 0.42); background: rgba(200, 161, 90, 0.1); }

/* --- Intersection ----------------------------------------------------- */

.intersection-layout { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intersection-svg { width: 100%; height: auto; overflow: visible; }

.pillar { cursor: pointer; }
.pillar circle {
  fill: rgba(248, 246, 240, 0.05); stroke: rgba(200, 161, 90, 0.4); stroke-width: 1.5;
  transition: fill 220ms ease, stroke 220ms ease;
}
.pillar text {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  fill: rgba(248, 246, 240, 0.85); text-anchor: middle; pointer-events: none; transition: fill 220ms ease;
}
.pillar:hover circle { fill: rgba(200, 161, 90, 0.16); stroke: var(--gold); }
.pillar[aria-selected="true"] circle { fill: var(--gold); stroke: var(--gold); }
.pillar[aria-selected="true"] text { fill: var(--navy-deep); }
.pillar:focus-visible circle { stroke: var(--ivory); stroke-width: 2.5; }
.spoke { stroke: rgba(200, 161, 90, 0.2); stroke-width: 1; transition: stroke 220ms ease; }
.spoke.is-active { stroke: rgba(200, 161, 90, 0.8); }
.hub circle { fill: rgba(6, 63, 54, 0.9); stroke: var(--gold); stroke-width: 1.5; }
.hub text { font-family: var(--font-display); font-size: 11px; font-weight: 700; fill: var(--gold-soft); text-anchor: middle; }

.intersection-panel { border-left: 2px solid var(--gold); padding-left: clamp(1.25rem, 3vw, 2.25rem); min-height: 250px; }
.panel-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.panel-list li {
  font-size: 0.95rem; color: rgba(248, 246, 240, 0.82);
  padding-bottom: 0.8rem; border-bottom: 1px solid rgba(248, 246, 240, 0.1);
}
.panel-list li:last-child { border-bottom: none; padding-bottom: 0; }

@media (max-width: 920px) {
  .intersection-layout { grid-template-columns: 1fr; }
  .intersection-svg { max-width: 400px; margin-inline: auto; }
  .intersection-panel { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 1.75rem; min-height: 0; }
}

/* --- Timeline --------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.cinematic .timeline { border-left-color: rgba(248, 246, 240, 0.18); }
.timeline > li { position: relative; padding: 0 0 2.75rem 2rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -5px; top: 0.6rem; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.timeline-era { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--ink-mute); margin-bottom: 0.35rem; }
.cinematic .timeline-era { color: rgba(248, 246, 240, 0.58); }

/* --- Rows ------------------------------------------------------------- */

.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 0.6rem 2rem; align-items: baseline; padding: 1.45rem 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-size: 1.0625rem; margin: 0; }
.row p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.row-status { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--emerald); white-space: nowrap; }
.row-status.is-lapsed { color: var(--ink-mute); }
.row-status.is-progress { color: #7D5A14; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

/* --- Forms ------------------------------------------------------------ */

.form { display: grid; gap: 1.25rem; max-width: 620px; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; }
.field-hint { font-size: 0.85rem; color: var(--ink-mute); margin: 0; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--emerald); outline-offset: 1px; }
.field textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { border-left: 3px solid var(--gold); padding: 0.9rem 1.1rem; background: rgba(200, 161, 90, 0.1); font-size: 0.95rem; }
.form-status[hidden] { display: none; }

/* --- Page head -------------------------------------------------------- */

.page-head { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-head h1 { max-width: 17ch; }
.crumbs { font-size: 0.85rem; color: rgba(248, 246, 240, 0.62); margin-bottom: 1.6rem; }
.crumbs a { color: rgba(248, 246, 240, 0.82); text-decoration: none; border-bottom: 1px solid rgba(200, 161, 90, 0.5); }
.crumbs span { margin-inline: 0.5rem; }

/* --- Footer ----------------------------------------------------------- */

.site-footer { background: var(--navy-deep); color: rgba(248, 246, 240, 0.7); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(120px, 1fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(248, 246, 240, 0.13); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { font-size: 0.92rem; margin-top: 1rem; color: rgba(248, 246, 240, 0.62); max-width: 32ch; }
.footer-heading { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--ivory); margin: 0 0 1rem; line-height: 1.2; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; color: rgba(248, 246, 240, 0.66); text-decoration: none; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-base { padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: 0.85rem; color: rgba(248, 246, 240, 0.52); }
.footer-base a { color: rgba(248, 246, 240, 0.66); text-decoration: none; }
.footer-legal { max-width: 72ch; font-size: 0.8rem; line-height: 1.65; color: rgba(248, 246, 240, 0.44); margin-top: 1.5rem; }

/* --- Utilities -------------------------------------------------------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: 1.4rem; }
.note { font-size: 0.88rem; color: var(--ink-mute); border-left: 2px solid var(--gold); padding-left: 1rem; max-width: 66ch; }
.cinematic .note { color: rgba(248, 246, 240, 0.62); }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 2px; }
.cinematic :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sweep { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .btn, .hero-sweep { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .cinematic { background: #fff !important; color: #000 !important; }
  .cinematic::before, .cinematic::after { display: none !important; }
  .cinematic h1, .cinematic h2, .cinematic h3, .cinematic .lede { color: #000 !important; }
  section { padding-block: 1.5rem; }
}


/* --- Executive profile ------------------------------------------------ */

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .profile-layout { grid-template-columns: 1fr; gap: 2.25rem; } }

.portrait-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(200, 161, 90, 0.45);
  max-width: 520px;
}
.portrait-frame img { width: 100%; height: auto; display: block; }
/* Grades the light studio backdrop into the section's dark field so the
   portrait sits in the page rather than on top of it. */
.portrait-frame::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3, 27, 24, 0.30) 0%, rgba(3, 27, 24, 0) 26%),
    linear-gradient(to right, rgba(3, 27, 24, 0.22) 0%, rgba(3, 27, 24, 0) 20%, rgba(3, 27, 24, 0) 82%, rgba(3, 27, 24, 0.20) 100%);
}

.profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--ivory); margin: 0 0 0.5rem;
}
.profile-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--gold-soft); margin: 0 0 0.4rem;
}
.profile-org { font-size: 0.95rem; color: rgba(248, 246, 240, 0.62); margin: 0 0 1.9rem; }

.profile-facts {
  list-style: none; margin: 2rem 0 0; padding: 1.6rem 0 0;
  border-top: 1px solid rgba(248, 246, 240, 0.15);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem;
}
.profile-facts dt {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--gold-soft); margin-bottom: 0.4rem;
}
.profile-facts dd { margin: 0; font-size: 0.93rem; color: rgba(248, 246, 240, 0.8); line-height: 1.5; }


/* --- Credential crest -------------------------------------------------- */

.crest-row {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(248, 246, 240, 0.15);
}
/* The crest is drawn dark-on-light, so it sits on its own light tile rather
   than being recoloured — the mark stays as the issuer designed it. */
.crest-tile {
  flex: none; width: 78px; height: 78px;
  background: var(--ivory); border-radius: 4px;
  display: grid; place-items: center; padding: 7px;
}
.crest-tile img { width: 100%; height: auto; }
.crest-text { min-width: 0; }
.crest-text strong {
  display: block; font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 600; color: var(--ivory); margin-bottom: 0.2rem;
}
.crest-text span { font-size: 0.87rem; color: rgba(248, 246, 240, 0.66); }

.profile-postnominals {
  font-size: 0.5em; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gold-soft); white-space: nowrap;
}

/* Professional profile redesign */
.executive-hero{background:#071d24;color:#f8f6f0;padding:70px 0 0;overflow:hidden}
.executive-grid{display:grid;grid-template-columns:1.22fr 1fr;gap:64px;align-items:center}
.executive-copy{padding:20px 0 65px}
.executive-hero .marker{color:#d9b978;font-size:.72rem;letter-spacing:.14em}
.executive-hero h1{font-size:clamp(2.5rem,5.1vw,4.8rem);line-height:1.08;letter-spacing:-.045em;margin:25px 0 32px}
.postnominals{display:block;font-family:Inter,sans-serif;font-size:1rem;font-weight:500;letter-spacing:.18em;color:#d9b978;margin-top:18px;line-height:1.6}
.executive-line{font-family:Manrope,sans-serif;font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.24;letter-spacing:-.03em;margin-bottom:22px}
.executive-line em{font-style:normal;color:#d9b978}
.executive-intro{max-width:520px;color:#ced8d7;font-size:1.05rem;line-height:1.8}
.executive-location{color:#aebfbe;font-size:.78rem;margin:28px 0 0}
.executive-portrait{position:relative;align-self:end;border-radius:170px 170px 0 0;overflow:hidden;max-width:440px}
.executive-portrait>img{width:100%;height:560px;object-fit:cover;object-position:center top;display:block}
.portrait-caption{position:absolute;inset:auto 0 0;display:flex;align-items:end;justify-content:space-between;gap:15px;padding:65px 25px 24px;background:linear-gradient(transparent,rgba(4,22,26,.94));font-size:.9rem}
.portrait-caption a{color:#e2c894;font-size:.8rem}
.credential-band{padding:25px 0;background:#eeeee5;border-bottom:1px solid #d9ded5}
.credential-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;align-items:center;gap:30px}
.credential-grid>div+div{border-left:1px solid #c9d1c9;padding-left:30px}
.credential-grid strong{display:block;color:#063f36;font:700 1.25rem Manrope,sans-serif;letter-spacing:.04em}
.credential-grid span{display:block;font-size:.8rem;margin-top:4px;color:#455651;line-height:1.5}
.credential-feature{display:flex;gap:16px;align-items:center}.credential-feature img{width:80px;height:80px;object-fit:contain}
.capability-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;margin-top:35px}
.capability-select{display:flex;flex-direction:column;gap:0}
.capability-select .pillar{display:flex;align-items:center;gap:22px;width:100%;padding:21px 17px;border:0;border-bottom:1px solid #d7dfdb;background:transparent;color:#375149;text-align:left;font:500 .85rem Inter,sans-serif;border-radius:0;transition:background .2s,color .2s;cursor:pointer}
.capability-select .pillar span{flex:1;font-size:1rem}.capability-select .pillar[aria-pressed=true]{background:#063f36;color:#fff}.capability-select .pillar:hover{background:#e8eee9;color:#063f36}
.capability-detail{background:#edf1e9;padding:45px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;min-height:430px}.capability-detail h3{font-size:2rem;line-height:1.2;letter-spacing:-.03em;margin:18px 0}.capability-detail .link{margin-top:22px}.capability-detail .marker{font-size:.67rem}
.profile-story{background:#f3f0e8}.large-copy{font-size:1.3rem;line-height:1.7;color:#123c34}
.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.method-grid details{border-top:2px solid #c8a15a;padding:24px 0}.method-grid summary{font:600 1.12rem/1.5 Manrope,sans-serif;cursor:pointer;list-style:none}.method-grid summary::after{content:' +';color:#826220}.method-grid details[open] summary::after{content:' −'}.method-grid summary span{display:block;font:500 .72rem Inter,sans-serif;letter-spacing:.08em;color:#5d6f65;margin-bottom:12px}.method-grid p{font-size:.9rem;margin-top:20px}
.company-feature{background:#063f36;color:#f8f6f0}.company-feature h2{color:#f8f6f0}.company-feature .marker{color:#e2c894}.company-feature p{color:#d3dfd7}.company-link{color:#f8f6f0;font-size:clamp(.95rem,2vw,1.3rem);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:7px;display:block}.company-feature .btn{align-self:start;margin-top:20px}
.about-profile{display:grid;grid-template-columns:.75fr 1.25fr;gap:65px;align-items:start}.about-photo{width:100%;height:auto;max-height:580px;object-fit:cover;object-position:top;border-radius:4px}.about-badge{display:flex;align-items:center;gap:20px;margin-top:20px;font-size:.82rem;color:#385449}.about-badge img{width:80px;height:80px;object-fit:contain}
.footer-col a{overflow-wrap:anywhere}.site-header .wordmark{white-space:nowrap}.site-header .wordmark span{font-size:.64rem;letter-spacing:.15em}.page-head .postnominals{color:#e2c894}
@media(max-width:1000px){.nav{visibility:hidden}.nav[data-open=true]{visibility:visible}.executive-grid{gap:35px}.executive-portrait>img{height:490px}.executive-hero h1{font-size:3.4rem}.credential-grid{gap:18px}.credential-grid>div+div{padding-left:18px}.method-grid{grid-template-columns:1fr 1fr}.about-profile{gap:35px}.capability-detail{padding:30px}}
@media(max-width:700px){.executive-hero{padding-top:30px}.executive-grid{grid-template-columns:1fr;gap:0}.executive-copy{padding-bottom:40px}.executive-hero h1{font-size:3.1rem}.executive-portrait{width:100%;max-width:400px;justify-self:center;border-radius:130px 130px 0 0}.executive-portrait>img{height:430px}.credential-grid{grid-template-columns:1fr;gap:20px}.credential-grid>div+div{padding:15px 0 0;border-left:0;border-top:1px solid #c9d1c9}.credential-feature img{width:65px;height:65px}.capability-layout,.about-profile{grid-template-columns:1fr}.capability-detail{min-height:0;padding:28px}.capability-select .pillar{padding:18px 12px}.about-profile>div:first-child{max-width:370px}.method-grid{gap:20px}.company-link{font-size:1rem}.postnominals{font-size:.9rem}}
@media(max-width:400px){.method-grid{grid-template-columns:1fr}.executive-hero h1{font-size:2.55rem}.executive-line{font-size:1.65rem}.capability-select .pillar{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.capability-detail .panel-list li{color:#375149;border-bottom-color:#d1dbd2}
/* Education and credentials: clear editorial hierarchy */
.qualification-layout,.qualification-secondary{display:grid;grid-template-columns:1fr 1.2fr;gap:70px}
.qualification-group>h3{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#576b62;padding-bottom:18px;border-bottom:2px solid #c8a15a;margin:0}
.qualification-entry{padding:23px 0;border-bottom:1px solid #e0e5df}
.qualification-entry:last-child{border-bottom:0}
.qualification-entry h4{font-family:Manrope,sans-serif;font-size:1.08rem;font-weight:600;line-height:1.5;color:#153e34;margin:0 0 5px}
.qualification-entry h4 span{display:block;font-size:.73rem;letter-spacing:.13em;color:#726039;margin-top:6px}
.qualification-entry p{font-size:.88rem;color:#52665e;margin:0;line-height:1.65}
.qualification-entry .qualification-context{font-size:.8rem;margin-top:4px}
.qualification-secondary{border-top:1px solid #d3ddd5;padding-top:38px;margin-top:40px}
@media(max-width:700px){.qualification-layout,.qualification-secondary{grid-template-columns:1fr;gap:30px}.qualification-entry{padding:19px 0}.qualification-secondary{margin-top:30px}}

/* Professional experience */
.professional-experience{background:#f3f0e8}
.experience-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(6,63,54,.2)}
.experience-item{display:grid;grid-template-columns:180px 1fr;gap:48px;padding:36px 0;border-bottom:1px solid rgba(6,63,54,.14)}
.experience-date{display:flex;flex-direction:column;font-family:Manrope,sans-serif;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6f5d36}
.experience-role{max-width:760px}
.experience-role h3{font-size:1.55rem;margin:0 0 4px;color:#123c34}
.experience-role p{margin-bottom:.8rem}
.experience-role .experience-type{font-size:.75rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#607269;margin-bottom:12px}
.experience-role .experience-company{font-family:Manrope,sans-serif;font-weight:600;color:#3f554d;margin-bottom:14px}
@media(max-width:700px){.experience-item{grid-template-columns:1fr;gap:12px;padding:28px 0}.experience-date{flex-direction:row;gap:8px}.experience-date span+span::before{content:'— ';}}
