/* Malcolm Adediran — Scheme B · Harmattan Bridge */
:root {
  --bg: #e2e0d8;
  --bg-soft: #d6d3c9;
  --bg-deep: #c9c5b8;
  --ink: #1a211c;
  --ink-soft: #3d473f;
  --ink-faint: #6b746c;
  --olive: #243528;
  --olive-mid: #34503c;
  --terracotta: #b85c38;
  --terracotta-soft: rgba(184, 92, 56, 0.14);
  --paper: #f3f1ea;
  --line: rgba(36, 53, 40, 0.16);
  --line-strong: rgba(36, 53, 40, 0.28);
  --font-display: "Literata", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 1.75rem);
  --measure: min(1180px, calc(100% - (var(--gutter) * 2)));
  --header-h: 3.75rem;
  --section-y: clamp(2.75rem, 8vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter__item,
  .hero-enter--media,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.06rem);
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(184, 92, 56, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 40% at 0% 30%, rgba(52, 80, 60, 0.1), transparent 45%),
    linear-gradient(180deg, #e8e6de 0%, var(--bg) 40%, #d9d6cc 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: none;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol,
dl,
h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.65rem 1rem;
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: calc(0.75rem + var(--safe-top));
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-top: var(--safe-top);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: rgba(226, 224, 216, 0.97);
  color: var(--ink);
}

.site-header.is-scrolled {
  background: #e2e0d8;
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: var(--measure);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: max(0px, var(--safe-left)) max(0px, var(--safe-right));
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
}

.brand-word {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(70vw, 18rem);
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 1.35rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active {
  color: var(--terracotta);
  opacity: 1;
}

.nav-toggle {
  margin-left: 0;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 1100px) {
  .brand {
    flex: 0 1 auto;
  }

  .brand-word {
    max-width: none;
  }

  .site-nav {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: grid;
  padding:
    0.35rem
    max(var(--gutter), var(--safe-left))
    calc(1.25rem + var(--safe-bottom))
    max(var(--gutter), var(--safe-right));
  background: var(--olive);
  color: #f3f1ea;
  max-height: min(70vh, calc(100dvh - var(--header-h) - var(--safe-top)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 1rem 0.15rem;
  border-bottom: 1px solid rgba(243, 241, 234, 0.12);
  font-size: 1.05rem;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(26, 33, 28, 0.45);
}

.nav-backdrop[hidden] {
  display: none;
}

@media (min-width: 1100px) {
  .mobile-nav,
  .nav-backdrop {
    display: none !important;
  }
}

/* —— Hero · 50% portrait plane —— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--bg);
  min-height: 0;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  order: 2;
  background:
    radial-gradient(ellipse 70% 55% at 12% 88%, rgba(184, 92, 56, 0.14), transparent 58%),
    radial-gradient(ellipse 55% 45% at 90% 8%, rgba(52, 80, 60, 0.1), transparent 50%),
    linear-gradient(155deg, #ebe8e0 0%, #e2e0d8 42%, #d5d1c5 100%);
  color: var(--ink-soft);
  padding:
    clamp(1.75rem, 4vw, 2.5rem)
    max(var(--gutter), var(--safe-right))
    clamp(2.25rem, 5vw, 3.5rem)
    max(var(--gutter), var(--safe-left));
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(226, 224, 216, 0.2) 0%, transparent 16%);
  opacity: 0.9;
}

@media (min-width: 960px) {
  .hero-copy {
    order: 0;
    padding:
      calc(var(--header-h) + var(--safe-top) + 2rem)
      clamp(1.5rem, 3.5vw, 3rem)
      clamp(3rem, 7vw, 5rem)
      max(var(--gutter), calc((100% - var(--measure)) / 2), var(--safe-left));
  }

  .hero-copy::after {
    background:
      linear-gradient(90deg, transparent 55%, rgba(226, 224, 216, 0.25) 78%, rgba(26, 33, 28, 0.06) 100%),
      linear-gradient(180deg, rgba(226, 224, 216, 0.45) 0%, transparent 22%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
}

.hero-media {
  position: relative;
  order: 1;
  min-height: clamp(220px, 42vh, 380px);
  overflow: hidden;
  background: #1a241d;
  margin-top: calc(var(--header-h) + var(--safe-top));
  contain: paint;
}

@media (min-width: 720px) and (max-width: 959px) {
  .hero-media {
    min-height: clamp(280px, 48vh, 460px);
  }
}

@media (min-width: 960px) {
  .hero-media {
    order: 0;
    min-height: 100%;
    margin-top: 0;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 42vh, 380px);
  object-fit: cover;
  object-position: center 12%;
}

@media (min-width: 720px) and (max-width: 959px) {
  .hero-media img {
    min-height: clamp(280px, 48vh, 460px);
  }
}

@media (min-width: 960px) {
  .hero-media img {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(226, 224, 216, 0.12) 0%,
      transparent 20%,
      transparent 55%,
      rgba(26, 33, 28, 0.5) 100%
    ),
    radial-gradient(ellipse 90% 70% at 50% 30%, transparent 45%, rgba(20, 28, 22, 0.22) 100%);
}

@media (min-width: 960px) {
  .hero-media::before {
    background:
      linear-gradient(
        90deg,
        rgba(226, 224, 216, 0.72) 0%,
        rgba(226, 224, 216, 0.28) 14%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(26, 33, 28, 0.22) 0%,
        transparent 28%,
        transparent 58%,
        rgba(26, 33, 28, 0.45) 100%
      ),
      radial-gradient(ellipse 70% 55% at 70% 40%, transparent 40%, rgba(20, 28, 22, 0.28) 100%);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(184, 92, 56, 0.08) 0%,
    transparent 36%,
    transparent 70%,
    rgba(52, 80, 60, 0.1) 100%
  );
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}

.reveal-line {
  position: relative;
  display: inline-block;
}

.reveal-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  animation: rule-draw 1s var(--ease) 0.4s forwards;
}

@keyframes rule-draw {
  to {
    transform: scaleX(1);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.hero-given,
.hero-family {
  display: block;
}

.hero-given {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 500;
}

.hero-family {
  font-size: clamp(2.85rem, 7.5vw, 5rem);
  font-weight: 700;
}

.hero-role {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero-lede {
  max-width: 34rem;
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.hero-chips li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: #9a4a2c;
}

.hero-photo-cap {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  bottom: calc(1.1rem + var(--safe-bottom));
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 959px) {
  .hero-photo-cap {
    text-align: center;
  }
}

/* —— Bridge band —— */
.bridge {
  background: var(--olive);
  color: #f3f1ea;
  padding: clamp(1.5rem, 4vw, 2.25rem) 0;
}

.bridge-track {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 720px) {
  .bridge-track {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
  }
}

.bridge-kicker {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4a08a;
  margin-bottom: 0.35rem;
}

.bridge-pole strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
}

.bridge-pole--end {
  text-align: left;
}

@media (min-width: 720px) {
  .bridge-pole--end {
    text-align: right;
  }
}

.bridge-mid {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  color: var(--terracotta);
}

.bridge-line {
  width: clamp(2rem, 8vw, 5rem);
  height: 1px;
  background: rgba(243, 241, 234, 0.28);
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.bridge.is-inview .bridge-line {
  transform: scaleX(1);
}

.bridge-glyph {
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.35s;
}

.bridge.is-inview .bridge-glyph {
  opacity: 1;
}

/* —— Sections —— */
.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-rule {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--measure)) / 2));
  right: max(var(--gutter), calc((100% - var(--measure)) / 2));
  top: 0;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.95s var(--ease);
}

.section.is-inview .section-rule {
  transform: scaleX(1);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-dek {
  margin-top: 0.75rem;
  max-width: 32rem;
  color: var(--ink-faint);
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head--wide .section-dek {
  max-width: 40rem;
}

/* —— About mosaic —— */
.about-mosaic {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 720px) and (max-width: 959px) {
  .about-mosaic {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "photo facts"
      "copy copy";
    column-gap: 1.5rem;
    align-items: start;
  }

  .about-figure { grid-area: photo; }
  .about-facts { grid-area: facts; }
  .about-copy { grid-area: copy; }
}

@media (min-width: 960px) {
  .about-mosaic {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "photo facts"
      "photo copy";
    column-gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }

  .about-figure { grid-area: photo; }
  .about-facts { grid-area: facts; }
  .about-copy { grid-area: copy; }
}

.about-figure {
  overflow: hidden;
  background: var(--bg-soft);
  contain: paint;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(70vh, 560px);
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 960px) {
  .about-figure img {
    aspect-ratio: 3 / 4;
    max-height: none;
  }
}

.about-facts {
  border-top: 2px solid var(--terracotta);
  padding-top: 1rem;
}

.fact {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 0;
}

.fact dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.fact dd {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

/* —— Education split —— */
.section--edu {
  background: var(--olive);
  color: rgba(243, 241, 234, 0.82);
  padding: 0;
}

.section--edu .section-rule {
  display: none;
}

.section--edu .section-label {
  color: #e0a888;
}

.section--edu .section-title {
  color: #f5f2ea;
}

.section--edu .section-dek {
  color: rgba(243, 241, 234, 0.62);
}

.edu-band {
  display: grid;
}

@media (min-width: 960px) {
  .edu-band {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    min-height: 85vh;
  }
}

.edu-visual {
  overflow: hidden;
  min-height: clamp(220px, 38vh, 360px);
  background: #1a241d;
  contain: paint;
}

.edu-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 38vh, 360px);
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
}

@media (min-width: 720px) and (max-width: 959px) {
  .edu-visual,
  .edu-visual img {
    min-height: clamp(280px, 44vh, 420px);
  }
}

@media (min-width: 960px) {
  .edu-visual,
  .edu-visual img {
    min-height: 100%;
  }
}

.edu-panel {
  padding:
    clamp(2.5rem, 7vw, 4.5rem)
    clamp(1.25rem, 4vw, 3.5rem)
    clamp(3rem, 8vw, 5rem);
}

.edu-list {
  display: grid;
  gap: 1.75rem;
}

.edu-item {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 241, 234, 0.16);
}

@media (min-width: 720px) {
  .edu-item {
    grid-template-columns: auto minmax(110px, 0.5fr) minmax(0, 1.4fr);
    gap: 0.85rem 1.1rem;
  }
}

.edu-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #e0a888;
  font-weight: 600;
}

.edu-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: rgba(243, 241, 234, 0.55);
}

.edu-meta time {
  color: rgba(243, 241, 234, 0.78);
}

.edu-school {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #f5f2ea;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.edu-degree {
  color: #e0a888;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cred-row {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 241, 234, 0.16);
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .cred-row {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.cred-row-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, 0.5);
}

.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.cred-pills strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f5f2ea;
}

.cred-pills span {
  font-size: 0.8rem;
  color: rgba(243, 241, 234, 0.55);
}

/* —— Career ledger —— */
.career-ledger {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
}

.career-entry {
  display: grid;
  gap: 0.75rem 1.5rem;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.career-year {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--olive);
  letter-spacing: -0.04em;
  opacity: 0.22;
}

@media (min-width: 720px) and (max-width: 959px) {
  .career-entry {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem 1rem;
  }

  .career-entry--right {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .career-entry--right .career-year,
  .career-entry--right .career-body {
    order: initial;
    text-align: left;
    margin-left: 0;
    max-width: none;
  }
}

@media (min-width: 960px) {
  .career-entry {
    grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .career-entry--right {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.35fr);
  }

  .career-entry--right .career-year {
    order: 2;
    text-align: right;
  }

  .career-entry--right .career-body {
    order: 1;
    margin-left: auto;
    max-width: 38rem;
  }
}

.career-entry--now .career-year {
  color: var(--terracotta);
  opacity: 0.55;
}

.career-phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}

.career-body time {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 0.55rem;
}

.career-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.career-body p:last-child {
  max-width: 42rem;
}

/* —— Expertise —— */
.section--expertise {
  padding: 0;
  background: var(--paper);
}

.section--expertise .section-rule {
  display: none;
}

.expertise-shell {
  display: grid;
}

@media (min-width: 960px) {
  .expertise-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  }
}

.expertise-panel {
  padding:
    clamp(2.25rem, 6vw, 5rem)
    0
    clamp(2.5rem, 7vw, 5rem);
  width: min(36rem, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

@media (min-width: 960px) {
  .expertise-panel {
    order: -1;
    width: auto;
    max-width: none;
    margin: 0;
    padding-left: max(var(--gutter), calc((100% - var(--measure)) / 2));
    padding-right: clamp(1.5rem, 4vw, 3rem);
  }
}

.expertise-visual {
  overflow: hidden;
  min-height: clamp(220px, 40vh, 380px);
  background: var(--bg-deep);
  contain: paint;
}

.expertise-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 40vh, 380px);
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 720px) and (max-width: 959px) {
  .expertise-visual,
  .expertise-visual img {
    min-height: clamp(280px, 46vh, 440px);
  }
}

@media (min-width: 960px) {
  .expertise-visual,
  .expertise-visual img {
    min-height: 100%;
  }
}

.expertise-copy {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.domain-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.35rem;
}

.domain-flow li {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink);
  font-weight: 600;
  padding-right: 0.85rem;
  margin-right: 0.35rem;
  border-right: 1px solid var(--line-strong);
  line-height: 1.35;
}

.domain-flow li:last-child {
  border-right: 0;
}

/* —— Profile —— */
.section--profile {
  background:
    linear-gradient(180deg, transparent, rgba(184, 92, 56, 0.05)),
    var(--bg);
}

.tag-cloud {
  columns: 1;
  gap: 0;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 720px) {
  .tag-cloud {
    columns: 2;
    column-gap: 2.5rem;
  }
}

.tag-cloud li {
  break-inside: avoid;
  padding: 0.85rem 0 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  position: relative;
}

.tag-cloud li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--terracotta);
  border-radius: 50%;
}

.profile-sum {
  max-width: 46rem;
  padding: 1.75rem 0 0;
  border-top: 2px solid var(--olive);
}

.profile-sum p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.profile-sum footer {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  background: var(--olive);
  color: rgba(243, 241, 234, 0.72);
  padding:
    clamp(2.75rem, 7vw, 4rem)
    0
    calc(1.75rem + var(--safe-bottom));
}

.footer-shell {
  display: grid;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #f5f2ea;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-role {
  margin-bottom: 0.65rem;
}

.footer-sign {
  color: #e0a888;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(243, 241, 234, 0.14);
}

.footer-copy {
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(243, 241, 234, 0.7);
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #e0a888;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* —— Responsive polish —— */
@media (max-width: 479px) {
  body {
    font-size: 0.97rem;
    line-height: 1.6;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    max-width: 100%;
  }

  .hero-given {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .hero-family {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .hero-chips {
    gap: 0.4rem;
  }

  .hero-chips li {
    font-size: 0.64rem;
    padding: 0.35rem 0.55rem;
    letter-spacing: 0.04em;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .bridge-pole strong {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .domain-flow li {
    font-size: 1rem;
    padding-right: 0.65rem;
    margin-right: 0.2rem;
  }

  .footer-nav {
    gap: 0.65rem 1rem;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 480px) and (max-width: 719px) {
  .hero-given {
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .hero-family {
    font-size: clamp(2.7rem, 9vw, 3.7rem);
  }

  .about-figure {
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  :root {
    --header-h: 4rem;
  }

  .site-nav {
    display: none;
  }

  .edu-panel {
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
  }

  .expertise-panel {
    width: min(40rem, calc(100% - (var(--gutter) * 2)));
  }

  .tag-cloud {
    column-gap: 1.75rem;
  }
}

@media (min-width: 960px) and (max-width: 1099px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-given {
    font-size: clamp(2.8rem, 5vw, 3.6rem);
  }

  .hero-family {
    font-size: clamp(3rem, 5.5vw, 4rem);
  }

  .edu-band {
    min-height: 0;
  }
}

@media (max-width: 959px) {
  .career-body h3 {
    font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  }

  .profile-sum p {
    font-size: clamp(1.1rem, 3.8vw, 1.35rem);
  }
}

@media (min-width: 1100px) {
  .brand-word {
    max-width: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .hero-cta,
  .footer-nav a,
  .site-nav a,
  .mobile-nav a {
    -webkit-tap-highlight-color: rgba(184, 92, 56, 0.2);
  }
}

@supports (padding: max(0px)) {
  .site-header {
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
  }
}

/* —— Entrance motion —— */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-soft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-enter__item {
  opacity: 0;
  animation: rise-in 0.85s var(--ease) forwards;
  animation-delay: calc(0.12s + (var(--i, 0) * 0.09s));
}

.hero-enter--media {
  opacity: 0;
  animation: fade-soft 1.05s var(--ease) 0.18s forwards;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.2rem, 0);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-figure[data-reveal],
.edu-visual[data-reveal],
.expertise-visual[data-reveal] {
  transform: translate3d(0, 0.85rem, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.career-entry[data-reveal] {
  transform: translate3d(0, 1rem, 0);
}

.career-entry--right[data-reveal] {
  transform: translate3d(0.6rem, 1rem, 0);
}

@media (min-width: 960px) {
  .career-entry--right[data-reveal] {
    transform: translate3d(-0.6rem, 1rem, 0);
  }

  .career-entry--right[data-reveal].is-visible {
    transform: translate3d(0, 0, 0);
  }
}
