:root {
  --navy: #07172d;
  --navy-2: #0b2344;
  --ink: #102038;
  --muted: #5d6b7d;
  --cyan: #2bbde7;
  --cyan-2: #74d8f4;
  --cream: #f7f8fa;
  --line: #dde5ed;
  --white: #ffffff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(7, 23, 45, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.progress {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), #a8edff);
}

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 105px 0; }
.section-dark { color: var(--white); background: var(--navy); }
.section-tint { background: var(--cream); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(7, 23, 45, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: var(--cyan); color: var(--navy);
  font-weight: 900; letter-spacing: -.06em;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 15px; }
.brand-text small { margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: #9fb4cc; }
.nav { display: flex; align-items: center; gap: 27px; font-size: 14px; }
.nav a { color: #d7e0eb; transition: .2s; }
.nav a:hover { color: var(--white); }
.nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); }
.menu-button { display: none; border: 0; background: transparent; width: 40px; height: 40px; padding: 8px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: white; border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding: 150px 0 40px; min-height: 850px; }
.hero::before {
  content: ""; position: absolute; width: 630px; height: 630px; border-radius: 50%;
  top: -240px; right: -100px; background: radial-gradient(circle, rgba(43,189,231,.24), rgba(43,189,231,0) 68%);
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 75px; align-items: center; }
.eyebrow, .kicker { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: #188fb7; }
.eyebrow { color: var(--cyan-2); display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: var(--cyan); }
.hero h1 { margin: 0; max-width: 790px; font-size: clamp(44px, 5.3vw, 74px); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--cyan-2); }
.hero-lead { max-width: 780px; margin: 28px 0 0; font-size: 20px; line-height: 1.62; color: #c8d5e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 13px 35px rgba(43,189,231,.24); }
.button-primary:hover { background: #64d6f6; }
.button-ghost { border-color: rgba(255,255,255,.25); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-full { width: 100%; border: 0; }
.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 57px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-proof div { display: grid; gap: 5px; }
.hero-proof strong { font-size: 28px; color: var(--white); }
.hero-proof span { font-size: 12px; line-height: 1.35; color: #8fa6bf; }

.portrait-panel { position: relative; align-self: end; }
.portrait-frame { position: relative; z-index: 2; overflow: hidden; aspect-ratio: .84; border-radius: 190px 190px 28px 28px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 42px 90px rgba(0,0,0,.38); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,16,32,.55), transparent 42%); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-caption { position: absolute; z-index: 3; bottom: 26px; left: 26px; right: 26px; }
.portrait-caption p { margin: 0 0 5px; font-size: 23px; font-weight: 850; }
.portrait-caption span { display: block; max-width: 330px; color: #c3d4e5; font-size: 13px; }
.portrait-notes { position: static; }
.floating-note { position: absolute; z-index: 4; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--navy); font-size: 11px; font-weight: 850; box-shadow: var(--shadow); }
.note-one { top: 22%; left: -50px; }
.note-two { top: 44%; right: -46px; background: var(--cyan); }
.trusted-line { position: relative; display: flex; align-items: center; gap: 28px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); }
.trusted-line > span { flex: 0 0 auto; font-size: 12px; color: #829ab4; }
.logo-cloud { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: 100%; overflow: hidden; }
.logo-cloud b { white-space: nowrap; color: #9db0c4; font-size: 12px; letter-spacing: .04em; }

.section-heading { max-width: 870px; margin-bottom: 50px; }
.section-heading h2, .experience-intro h2, .profile-copy h2, .contact-copy h2, .method-block h2 { margin: 0; font-size: clamp(35px, 4.4vw, 57px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child { max-width: 760px; margin: 21px 0 0; color: var(--muted); font-size: 18px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { position: relative; min-height: 295px; padding: 31px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s, border-color .25s; }
.value-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.card-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e6f8fd; color: #0c8eb9; font-weight: 850; font-size: 13px; }
.value-card h3 { margin: 55px 0 13px; font-size: 21px; line-height: 1.2; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card { min-height: 225px; padding: 27px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.topic-card > span { display: block; font-weight: 900; font-size: 12px; letter-spacing: .12em; color: #1498c5; }
.topic-card h3 { margin: 35px 0 10px; font-size: 20px; line-height: 1.2; }
.topic-card p { margin: 0; color: var(--muted); font-size: 14px; }
.topic-card-accent { background: var(--navy); color: var(--white); border-color: var(--navy); }
.topic-card-accent p { color: #afc0d2; }
.topic-card-accent > span { color: var(--cyan); font-size: 24px; }

.experience { position: relative; overflow: hidden; }
.experience::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -270px; bottom: -200px; background: radial-gradient(circle, rgba(43,189,231,.18), transparent 70%); }
.experience-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.kicker-light { color: var(--cyan-2); }
.experience-intro { position: sticky; top: 130px; }
.experience-intro p:not(.kicker) { color: #aebfd1; font-size: 17px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 24px; color: var(--cyan-2); font-weight: 800; }
.timeline { border-left: 1px solid rgba(255,255,255,.18); }
.timeline-item { position: relative; display: grid; grid-template-columns: 95px 1fr; gap: 28px; padding: 0 0 47px 32px; }
.timeline-item::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(43,189,231,.12); }
.timeline-year { color: var(--cyan-2); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.timeline-item h3 { margin: 0 0 9px; font-size: 21px; }
.timeline-item p { margin: 0; color: #aabed2; font-size: 14px; }

.formats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.format-card { display: flex; flex-direction: column; min-height: 315px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.format-card.featured { transform: translateY(-14px); background: #eaf9fd; border-color: #b7e9f6; box-shadow: 0 22px 55px rgba(25,141,177,.14); }
.format-icon { width: 61px; height: 61px; display: grid; place-items: center; border-radius: 16px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 900; }
.format-card.featured .format-icon { background: var(--cyan); color: var(--navy); }
.format-card h3 { margin: 36px 0 11px; font-size: 21px; }
.format-card p { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.format-card span { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; color: #238baa; }
.method-block { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; margin-top: 80px; padding: 48px; border-radius: 28px; background: var(--navy); color: var(--white); }
.method-block ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-block li { counter-increment: method; padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); }
.method-block li::before { content: "0" counter(method); display: block; margin-bottom: 20px; color: var(--cyan); font-weight: 900; }
.method-block li strong, .method-block li span { display: block; }
.method-block li span { margin-top: 5px; color: #9eb2c8; font-size: 13px; }

.profile-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.profile-copy p:not(.kicker) { color: var(--muted); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chips span { padding: 9px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.education-card { padding: 38px; border-radius: 25px; background: var(--white); box-shadow: var(--shadow); }
.education-card h3 { margin: 0 0 23px; font-size: 24px; }
.education-card ul { margin: 0; padding: 0; list-style: none; }
.education-card li { padding: 14px 0; border-top: 1px solid var(--line); }
.education-card li:first-child { border-top: 0; }
.education-card strong, .education-card span { display: block; }
.education-card strong { font-size: 14px; }
.education-card span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.contact-section { color: var(--white); background: linear-gradient(145deg, #091a31, #102e55); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.kicker) { color: #b2c3d6; font-size: 17px; }
.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list span { color: #8fa7c1; font-size: 12px; }
.contact-list strong { font-size: 14px; }
.contact-form { padding: 34px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 14px; font-size: 12px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; color: var(--ink); padding: 13px 14px; outline: none; transition: .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(43,189,231,.12); }
.contact-form textarea { resize: vertical; }
.form-note { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 11px; }

footer { padding: 34px 0; color: #b7c5d6; background: #051224; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; }
.footer-grid > div:first-child { display: grid; }
.footer-grid strong { color: var(--white); }
.footer-grid span, .footer-grid p { margin: 0; font-size: 11px; }
.footer-links { display: flex; gap: 18px; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1050px) {
  .nav { position: fixed; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border-radius: 18px; background: #0b2344; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr .62fr; gap: 40px; }
  .hero h1 { font-size: 52px; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid, .profile-grid, .contact-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 75px 0; }
  .brand-text small { display: none; }
  .hero { padding-top: 118px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 13vw, 59px); }
  .hero-lead { font-size: 17px; }
  .portrait-panel { max-width: 430px; margin: 15px auto 0; }
  .portrait-caption { left: 22px; right: 22px; bottom: 22px; }
  .portrait-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 0 6px; }
  .floating-note { position: static; display: inline-flex; align-items: center; max-width: 100%; }
  .note-one, .note-two { top: auto; left: auto; right: auto; }
  .trusted-line { display: block; }
  .logo-cloud { margin-top: 16px; overflow-x: auto; justify-content: flex-start; padding-bottom: 7px; }
  .split-heading, .experience-grid, .profile-grid, .contact-grid, .method-block { grid-template-columns: 1fr; gap: 35px; }
  .value-grid, .topics-grid, .formats-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 30px; }
  .experience-intro { position: static; }
  .timeline-item { grid-template-columns: 70px 1fr; padding-left: 22px; gap: 16px; }
  .format-card.featured { transform: none; }
  .method-block { padding: 29px 22px; }
  .method-block ol { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media print {
  .site-header, .progress, .hero-actions, .contact-form, footer { display: none !important; }
  .hero { padding-top: 40px; min-height: auto; }
  .section { padding: 38px 0; break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; }
}

/* Mobile portrait redesign: keep all labels away from the face */
.portrait-info { display: contents; }

@media (max-width: 760px) {
  .portrait-panel {
    max-width: 430px;
    margin: 24px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    background: rgba(255,255,255,.055);
    box-shadow: 0 28px 65px rgba(0,0,0,.28);
  }

  .portrait-frame {
    aspect-ratio: .9;
    border: 0;
    border-radius: 30px 30px 18px 18px;
    box-shadow: none;
  }

  .portrait-frame::after { display: none; }

  .portrait-frame img {
    object-position: center 8%;
  }

  .portrait-info {
    display: block;
    padding: 19px 18px 18px;
  }

  .portrait-caption {
    position: static;
  }

  .portrait-caption p {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.12;
  }

  .portrait-caption span {
    max-width: none;
    color: #c3d4e5;
    font-size: 14px;
    line-height: 1.5;
  }

  .portrait-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
  }

  .floating-note,
  .note-one,
  .note-two {
    position: static;
    inset: auto;
    box-shadow: none;
  }

  .floating-note {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .note-two {
    background: var(--cyan);
  }
}


/* Personal profile update. Original palette, layout, cards and typography retained. */
html { scroll-padding-top: 96px; }
.hero-copy, .portrait-panel, .hero-grid > *, .profile-grid > *, .contact-grid > * { min-width: 0; }
.header-controls { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.language-switch { display:flex; gap:3px; align-items:center; }
.language-switch a { font-size:11px; font-weight:800; padding:8px 7px; color:#9fb4cc; border-radius:7px; }
.language-switch a[aria-current="page"] { color:var(--white); background:rgba(255,255,255,.12); }
.nav-wrap { gap:22px; }
.nav { gap:22px; }
.brand { flex-shrink:0; }
.brand-text small { font-size:10px; letter-spacing:.07em; }
.portrait-panel { width:100%; max-width:430px; align-self:center; }
.portrait-frame::after { display:none; }
.portrait-info { display:block; padding:20px 0 0; }
.portrait-caption { position:static; }
.portrait-notes { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.floating-note, .note-one, .note-two { position:static; inset:auto; box-shadow:none; }
.floating-note { display:inline-flex; max-width:100%; align-items:center; padding:8px 12px; line-height:1.35; }
.topic-card > span { font-size:10px; letter-spacing:.075em; overflow-wrap:break-word; }
.topic-card-accent > span { font-size:24px; }
.topic-card h3 { margin-top:30px; }
.method-block .kicker { color:var(--cyan-2); }
.contact-tools { display:flex; flex-wrap:wrap; column-gap:22px; row-gap:8px; }
.contact-tools .text-link { margin-top:20px; font-size:13px; background:none; border:0; padding:0; text-align:left; }
.contact-list a { min-width:0; }
.contact-list strong { overflow-wrap:anywhere; text-align:right; }
.share-status { font-size:12px !important; min-height:1.6em; margin:12px 0 0; }
.language-note { font-size:14px !important; margin-top:24px; }
.form-note { line-height:1.5; }
a:focus-visible, button:focus-visible { outline:3px solid var(--cyan); outline-offset:5px; }
.skip-link { position:fixed; z-index:300; left:12px; top:-100px; padding:12px 18px; background:var(--white); color:var(--navy); border:2px solid var(--cyan); border-radius:10px; }
.skip-link:focus { top:12px; }
/* Content stays readable if JavaScript is blocked or unavailable. */
.reveal { opacity:1; transform:none; }
.enhanced .reveal { opacity:0; transform:translateY(24px); }
.enhanced .reveal.visible { opacity:1; transform:none; }
@media (max-width:1050px) {
  .nav { gap:0; }
  .header-controls { margin-left:auto; }
  .nav-wrap { gap:14px; }
  .timeline-item { grid-template-columns:78px 1fr; gap:18px; }
}
@media (max-width:760px) {
  .nav-wrap { gap:8px; }
  .header-controls { gap:6px; }
  .brand { gap:9px; }
  .brand-text strong { font-size:14px; }
  .language-switch a { padding:8px 6px; }
  .portrait-info { padding:19px 18px 20px; }
  .portrait-panel { align-self:auto; }
  .hero h1 { overflow-wrap:normal; }
  .hero-proof span { font-size:12px; }
  .eyebrow { font-size:10px; letter-spacing:.1em; }
  .eyebrow span { flex-shrink:0; width:24px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size:16px; }
  .contact-list a { gap:12px; }
  .contact-list strong { font-size:13px; }
  .contact-tools { column-gap:16px; }
  .timeline-item { grid-template-columns:68px 1fr; gap:13px; }
}
@media (max-width:360px) {
  .brand-mark { width:36px; height:36px; }
  .brand-text strong { font-size:13px; }
  .hero h1 { font-size:40px; }
  .button { padding:0 18px; }
  .portrait-caption p { font-size:22px; }
  .section-heading h2, .experience-intro h2, .profile-copy h2, .contact-copy h2, .method-block h2 { font-size:32px; }
  .timeline-item { grid-template-columns:1fr; gap:9px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
  .enhanced .reveal { opacity:1; transform:none; }
}
@media print {
  .enhanced .reveal { opacity:1; transform:none; }
  .contact-tools, .share-status { display:none; }
}

/* v5: shared site navigation; books are a separate page. */
.site-header { background: rgba(7,23,45,.97); }
.language-switch a { min-width:30px; text-align:center; }
#mainNav a[aria-current="page"] { color:var(--cyan-2); }
.timeline-year { white-space:nowrap; letter-spacing:.025em; }
.footer-links { flex-wrap:wrap; }
@media(min-width:1051px) { #mainNav { gap:18px; } }
