@font-face {
  font-family: "Metropolis";
  src: url("css/Metropolis/Metropolis-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("css/Metropolis/Metropolis-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("css/Metropolis/Metropolis-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #10233f;
  --ink-soft: #30445b;
  --teal: #0d7c76;
  --gold: #e4aa43;
  --paper: #f3f0e9;
  --surface: #ffffff;
  --line: #d8e0e5;
  --muted: #667482;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Metropolis", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(16, 35, 63, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(228, 170, 67, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.profile-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 224, 229, 0.8);
  background: rgba(243, 240, 233, 0.92);
  backdrop-filter: blur(16px);
}

.nav-inner,
.page-shell {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-brand .brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.profile-brand .brand-copy {
  color: var(--ink);
}

.profile-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.profile-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-links a {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
}

.profile-links a:hover {
  color: var(--teal);
}

.profile-menu-button {
  min-width: 64px;
  min-height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.text-link {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--teal);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.profile-hero {
  padding: clamp(56px, 8vw, 100px) 0 52px;
  background:
    radial-gradient(circle at 85% 5%, rgba(13, 124, 118, 0.14), transparent 30%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.hero-grid > *,
.section-head > *,
.pillar-grid > *,
.case-grid > *,
.thought-layout > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.profile-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.profile-hero h1 span {
  display: block;
  margin-top: 18px;
  color: var(--teal);
  font-size: 0.31em;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-summary {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid #cad5dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
}

.profile-photo-wrap {
  position: relative;
  max-width: 390px;
  justify-self: end;
}

.profile-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 26px;
  border: 2px solid rgba(13, 124, 118, 0.25);
  border-radius: 50% 50% 18px 18px;
}

.profile-photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 50% 50% 18px 18px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.14);
}

.impact-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.impact-stat {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.impact-stat:last-child {
  border-right: 0;
}

.impact-stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.1;
}

.impact-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.profile-section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.profile-section.white {
  background: var(--surface);
}

.profile-section.ink {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.ink .section-head p {
  color: rgba(255, 255, 255, 0.67);
}

.pillar-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.pillar,
.case-card,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pillar {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.pillar-index {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pillar h3,
.case-card h3 {
  margin: 26px 0 12px;
  font-size: 1.36rem;
  line-height: 1.25;
}

.pillar p,
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pillar ul {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pillar li {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 148px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.role {
  position: relative;
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.role::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 143px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.role-period {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.role h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
}

.role-title {
  margin: 4px 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 600;
}

.role p:last-child {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.case-card {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  contain: paint;
}

.case-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 184px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 42px 26px 28px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #eaf4f8, #f8fbfc);
  isolation: isolate;
}

.case-card:nth-child(2) .case-visual {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(145deg, #edf1f3, #fafbfb);
}

.case-card:nth-child(3) .case-visual {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(145deg, #faece9, #fffafa);
}

.case-visual::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -72px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(13, 124, 118, 0.06);
  border-radius: 50%;
}

.case-label {
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.case-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 390px;
  height: auto;
  max-height: 112px;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.case-card:hover .case-visual img {
  transform: translateY(-2px);
}

.case-card img {
  transition: transform 0.22s ease;
}

.case-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.case-card h3 {
  margin-top: 0;
}

.case-result {
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card a {
  display: inline-flex;
  margin-top: 0;
  padding-top: 16px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.thought-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 24px;
}

.article-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.article-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.article-list a::after {
  content: "↗";
  color: var(--teal);
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background: #eef5f3;
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.5;
}

.quote-card cite {
  display: block;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.profile-footer {
  padding: 64px 0 42px;
  background: #0b1a30;
  color: #fff;
}

.footer-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-callout h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .profile-nav {
    background: var(--paper);
    backdrop-filter: none;
  }

  body.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .profile-menu-button {
    display: block;
  }

  .profile-menu {
    position: fixed;
    inset: 70px 0 0 auto;
    width: min(90vw, 410px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 26px 24px max(28px, env(safe-area-inset-bottom));
    border-left: 1px solid var(--line);
    background: linear-gradient(160deg, #fff, var(--paper));
    box-shadow: -22px 25px 65px rgba(16, 35, 63, 0.18);
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, clip-path 0.28s ease, visibility 0.28s;
  }

  .profile-menu.open {
    opacity: 1;
    clip-path: inset(0);
    visibility: visible;
    pointer-events: auto;
  }

  .profile-links {
    display: grid;
    gap: 0;
  }

  .profile-links a {
    min-height: 62px;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 400;
  }

  .profile-links a::before {
    color: var(--teal);
    font-family: "Metropolis", system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 750;
  }

  .profile-links a:nth-child(1)::before { content: "01"; }
  .profile-links a:nth-child(2)::before { content: "02"; }
  .profile-links a:nth-child(3)::before { content: "03"; }
  .profile-links a:nth-child(4)::before { content: "04"; }

  .profile-links a::after {
    content: "→";
    color: var(--teal);
  }

  .profile-menu .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .profile-menu .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-grid,
  .section-head,
  .thought-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo-wrap {
    max-width: 420px;
    justify-self: start;
  }

  .impact-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-stat:nth-child(3) {
    border-right: 0;
  }

  .impact-stat:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .impact-stat:nth-child(4) {
    grid-column: span 1;
  }

  .impact-stat:last-child {
    grid-column: span 2;
  }

  .pillar-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar:last-child,
  .case-card:last-child {
    grid-column: 1 / -1;
  }

  .case-card:last-child .case-visual img {
    max-width: 430px;
  }
}

@media (max-width: 620px) {
  .nav-inner,
  .page-shell {
    width: min(100% - 30px, 1160px);
  }

  .profile-brand {
    font-size: 0.74rem;
  }

  .profile-brand .brand-copy {
    font-size: 0.68rem;
  }

  .profile-menu .nav-actions {
    grid-template-columns: 1fr;
  }

  .profile-hero h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .profile-photo-wrap::before {
    inset: 16px 0 -12px 14px;
  }

  .impact-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-stat,
  .impact-stat:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .impact-stat:nth-child(even) {
    border-right: 0;
  }

  .impact-stat:last-child {
    grid-column: 1 / -1;
    border: 0;
  }

  .pillar-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .pillar:last-child,
  .case-card:last-child {
    grid-column: auto;
  }

  .case-visual {
    min-height: 172px;
    padding: 40px 20px 24px;
  }

  .case-visual img,
  .case-card:last-child .case-visual img {
    max-width: 100%;
    max-height: 104px;
  }

  .timeline::before {
    left: 6px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 30px;
  }

  .role::before {
    top: 35px;
    left: 1px;
  }

  .footer-callout {
    grid-template-columns: 1fr;
  }

  .footer-callout .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media print {
  @page {
    margin: 15mm;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 10pt;
  }

  .profile-nav,
  .skip-link,
  .nav-actions,
  .profile-footer,
  .case-card img {
    display: none !important;
  }

  .profile-hero,
  .profile-section,
  .profile-section.white,
  .profile-section.ink {
    padding: 20px 0;
    background: #fff !important;
    color: #111 !important;
  }

  .profile-photo-wrap {
    max-width: 220px;
  }

  .profile-photo-wrap::before {
    display: none;
  }

  .profile-hero h1,
  .section-head h2,
  .role h3 {
    color: #111 !important;
  }

  .hero-grid {
    grid-template-columns: 1fr 220px;
  }

  .impact-row,
  .pillar,
  .case-card,
  .article-list,
  .quote-card {
    break-inside: avoid;
    box-shadow: none;
  }

  .timeline::before,
  .role::before {
    display: none;
  }

  .role {
    grid-template-columns: 100px 1fr;
    color: #111;
    border-color: #ddd;
  }

  .role p,
  .role p:last-child,
  .role-title,
  .role-period {
    color: #333 !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
