/* Home page only. Native HTML/CSS diagrams and keyboard-accessible details. */
#main.home-main { max-width: 1160px; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.home-profile { --home-ink: #142d3e; --home-muted: #526574; --home-teal: #006e68; color: var(--home-ink); font-size: 16px; line-height: 1.65; }
.home-profile *, .home-profile *::before, .home-profile *::after { box-sizing: border-box; }
.home-profile a { color: var(--home-teal); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.home-profile a:focus-visible, .home-profile summary:focus-visible { outline: 3px solid #da8a18; outline-offset: 5px; border-radius: 3px; }
.home-profile h1, .home-profile h2, .home-profile h3, .home-profile p { margin: 0; }
.home-profile h2 { border: 0; padding: 0; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.22; letter-spacing: -.035em; }
.home-profile .home-eyebrow { margin: 0 0 .8rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.home-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3.2rem); background: #122d3d; color: #f2f7f8; border-radius: 18px; overflow: hidden; }
.home-hero .home-eyebrow { color: #9fcdce; }
.home-profile .home-hero h1 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); font-weight: 750; line-height: 1.04; letter-spacing: -.05em; }
.home-hero h1 span { color: #a7dcd5; }
.home-profile .home-position { margin: 1.25rem 0 1rem; color: #e5edf1; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.6; }
.home-hero .home-position a { color: #adf2de; }
.home-profile .home-intro { max-width: 38em; color: #c8d7df; font-size: .9rem; line-height: 1.8; }
.home-hero .home-intro a { color: inherit; }
.home-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-top: 1.8rem; }
.home-profile a.home-button { display: inline-flex; gap: 1.5rem; align-items: center; padding: .8rem 1.1rem; color: #102d39; background: #b3eddb; border: 1px solid #b3eddb; border-radius: 5px; text-decoration: none; font-weight: 700; font-size: .78rem; transition: background .15s; }
.home-profile a.home-button:hover { background: #d6f9ed; }
.home-profile .home-text-link { display: inline-flex; gap: .65rem; align-items: center; font-size: .78rem; font-weight: 650; text-decoration: none; }
.home-hero .home-text-link { color: #e0ebef; }
.home-constellation { min-width: 0; color: #a7e5d8; }
.home-constellation svg { display: block; width: 100%; max-width: 380px; margin: auto; }
.home-constellation .orbit { stroke: #477583; stroke-width: 1; stroke-dasharray: 3 8; }
.home-constellation .orbit-inner { stroke: #315769; stroke-dasharray: none; }
.home-constellation .network-line { stroke: #78b9b0; stroke-width: 1.3; }
.home-constellation .network-core { fill: #1b4150; stroke: #76bcaf; stroke-width: 1.3; }
.home-constellation .network-node { fill: #b8eedb; stroke: #122d3d; stroke-width: 5; }
.home-constellation .network-label { fill: #bad4db; font: 10px sans-serif; letter-spacing: 1.7px; }
.home-constellation .network-signature { fill: #d6f3ed; font: 600 18px sans-serif; letter-spacing: 4px; }
.home-research, .home-career { margin-top: 3.5rem; }
.home-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.5rem; }
.home-research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-profile a.research-card { position: relative; display: block; padding: 1.5rem; border: 1px solid #d6e1e4; border-top: 3px solid var(--card-accent); border-radius: 8px; background: var(--card-background); color: var(--home-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.research-card-privacy { --card-accent: #007b72; --card-background: #f0f8f5; }
.research-card-resilience { --card-accent: #3f68a2; --card-background: #f2f5fa; }
.research-card-integrity { --card-accent: #a36822; --card-background: #fbf7ef; }
.home-profile .research-card:hover { border-color: var(--card-accent); box-shadow: 0 5px 18px #142d3e0d; }
.research-icon { display: block; width: 2.4rem; height: 2.4rem; color: var(--card-accent); margin-bottom: 1.3rem; }
.research-icon svg { width: 100%; height: 100%; }
.research-number { display: block; font-size: .58rem; font-weight: 750; letter-spacing: .12em; color: var(--card-accent); margin-bottom: .5rem; }
.home-profile .research-card h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.025em; }
.home-profile .research-card p { margin-top: .8rem; padding-right: .3rem; font-size: .78rem; line-height: 1.75; color: var(--home-muted); }
.research-card-arrow { position: absolute; top: 1.3rem; right: 1.3rem; font-size: 1.2rem; color: var(--card-accent); }
.home-timeline-key { flex-shrink: 0; display: flex; align-items: center; gap: .5rem; color: var(--home-muted); font-size: .68rem; }
.home-timeline-key span { width: 9px; height: 9px; background: #007b72; border-radius: 50%; }
.home-profile .career-timeline { list-style: none; margin: 0; padding: 0; }
.career-event { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 2.2rem; margin: 0; padding-bottom: 1rem; }
.career-event::before { content: ''; position: absolute; left: 9.55rem; top: 1.6rem; bottom: -1.6rem; width: 1px; background: #ccdadd; }
.career-event::after { content: ''; position: absolute; left: calc(9.55rem - 5px); top: 1.5rem; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #567381; background: #fff; }
.career-event:last-child::before { display: none; }
.career-event-current::after { background: #007b72; border-color: #007b72; box-shadow: 0 0 0 5px #e4f2ed; }
.career-date { padding-top: 1.25rem; color: var(--home-muted); font-size: .72rem; font-weight: 650; text-align: right; }
.career-now { display: block; width: max-content; margin: .5rem 0 0 auto; padding: .1rem .5rem; border-radius: 3px; color: #006259; background: #e3f1ec; font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.career-card { display: flex; gap: 1.2rem; padding: 1.3rem 1.5rem; background: #fff; border: 1px solid #dce5e8; border-radius: 8px; }
.career-event-current .career-card { border-color: #78aaa0; background: #f5faf8; }
.career-mark { flex: 0 0 3.1rem; display: grid; place-items: center; align-self: flex-start; width: 3.1rem; height: 3.1rem; border-radius: 8px; background: #edf3f6; color: #36546b; font-size: .62rem; font-weight: 800; letter-spacing: .03em; }
.career-event-current .career-mark { background: #006a61; color: #fff; }
.career-event-education .career-mark { background: #f6f0e3; color: #825916; }
.career-description { min-width: 0; }
.home-profile .career-organisation { font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--home-muted); margin-bottom: .3rem; }
.home-profile .career-card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: .35rem; }
.home-profile .career-summary { font-size: .76rem; color: var(--home-muted); }
.career-details { margin-top: .65rem; font-size: .73rem; }
.career-details summary { width: fit-content; cursor: pointer; color: #006e68; text-underline-offset: .2em; }
.career-details summary:hover { text-decoration: underline; }
.career-original { padding-top: .8rem; overflow-wrap: anywhere; }
.career-original p { margin: 0 0 .75rem; }
.career-original img { display: block; width: auto; height: auto; max-width: 100px; max-height: 60px; object-fit: contain; margin: .5rem 0; }
.home-explore { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.7rem; padding: 1.6rem 0 1rem; margin-top: 2.5rem; border-top: 1px solid #dce5e8; font-size: .78rem; }
.home-explore p { color: var(--home-muted); margin-right: auto; }
.home-explore a { text-decoration: none; font-weight: 650; }
@media (max-width: 780px) {
  #main.home-main { padding: 0 1rem; margin-top: 1.5rem; }
  .home-hero { grid-template-columns: minmax(0, 1fr); padding: 1.8rem; }
  .home-constellation { display: none; }
  .home-research-grid { grid-template-columns: minmax(0, 1fr); }
  .home-profile .research-card { padding: 1.2rem 1.3rem 1.3rem 5rem; }
  .research-icon { position: absolute; left: 1.3rem; top: 1.5rem; }
  .home-section-heading { align-items: flex-start; flex-wrap: wrap; }
  .career-event { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-left: 1.4rem; padding-bottom: 1.5rem; }
  .career-event::before { left: .2rem; top: .65rem; bottom: -.65rem; }
  .career-event::after { left: calc(.2rem - 5px); top: .4rem; }
  .career-date { padding: 0; text-align: left; display: flex; align-items: center; gap: .7rem; }
  .career-now { margin: 0; }
  .career-card { padding: 1.1rem; gap: .85rem; }
  .career-mark { flex-basis: 2.6rem; width: 2.6rem; height: 2.6rem; }
  .home-profile .home-research, .home-profile .home-career { margin-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .home-profile *, .home-profile *::before { transition: none !important; } }
