/* Sunrise Global Investments. Tokens follow design/brand.md: navy and gold, Source Serif for headlines. */

@font-face { font-family: "Figtree"; font-weight: 300; font-display: swap; src: url("/fonts/figtree-300.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("/fonts/figtree-500.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url("/fonts/sourceserif4-400.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/sourceserif4-400i.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url("/fonts/sourceserif4-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/ibmplexmono-500.woff2") format("woff2"); }

:root {
  --navy: #233563;
  --navy-deep: #18254A;
  --gold: #FECB12;
  --gold-deep: #B88C00;
  --ink: #1E2430;
  --muted: #5F6B7A;
  --rule: #D0D5DD;
  --panel: #F5F7FA;
  --mist: #E6EBF2;
  --paper: #FFFFFF;
  --sans: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); text-decoration-color: var(--gold-deep); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* Gaps the team must fill before launch */
mark.tc { background: #FFF3C4; color: #6B5200; font-family: var(--mono); font-size: .78em; padding: 1px 5px; border-radius: 2px; }

/* Masthead */
.masthead { background: var(--navy-deep); color: #fff; position: relative; z-index: 3; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.wordmark { font-family: var(--sans); font-weight: 600; letter-spacing: .2em; font-size: 14px; color: #fff; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.wordmark:hover { color: #fff; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14.5px; letter-spacing: .01em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.nav-mobile { display: none; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); }
.hero-image { min-height: 560px; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,37,74,.92) 0%, rgba(24,37,74,.72) 42%, rgba(24,37,74,.12) 78%), linear-gradient(0deg, rgba(24,37,74,.55), rgba(24,37,74,0) 45%); }
.hero-text { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 72px; width: 100%; }
.hero-plain .hero-text { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -.01em; max-width: 15em; margin: 0 0 22px; }
.page-home .hero h1 { max-width: 13em; }
.standfirst { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 36em; margin: 0; font-weight: 300; color: rgba(255,255,255,.9); }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 18px; }

/* Sections: a label column and a prose column */
.section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section.tint { background: var(--panel); border-bottom: 0; }
.split { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.split > .label h2 { margin-top: 0; }
.label .eyebrow { color: var(--gold-deep); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--navy); margin: 0 0 20px; letter-spacing: -.005em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--navy); margin: 0 0 10px; }
.prose p { margin: 0 0 1.1em; max-width: 40em; }
.prose p:last-child { margin-bottom: 0; }
.lede { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--navy-deep); }

/* Editorial rows: strategies, regions, sectors, links into pages */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows > li { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; padding: 34px 0; border-bottom: 1px solid var(--rule); }
.rows > li h3 { margin: 0; }
.rows > li p { margin: 0; max-width: 40em; }
.rows .more { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 500; }
.rows.compact > li { padding: 20px 0; grid-template-columns: 1fr; gap: 4px; }
.rows.compact > li h3 { font-size: 19px; }

/* Image band between sections */
.band { position: relative; height: 420px; overflow: hidden; margin: 0; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; right: var(--gutter); bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* Statement block for the relationship text */
.statement { border-left: 2px solid var(--gold); padding: 4px 0 4px 26px; max-width: 40em; }
.statement p { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--navy-deep); margin: 0 0 .7em; }
.statement .note { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0; }

/* People */
.people-group { margin-bottom: 72px; }
.people-group:last-child { margin-bottom: 0; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; list-style: none; margin: 0; padding: 0; }
.person { display: grid; grid-template-columns: 168px 1fr; gap: 28px; align-items: start; }
.person img { width: 168px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.person h3 { margin: 0 0 2px; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.person p { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* Research index */
.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.notes li { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.notes time, .note-meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.notes .theme { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }
.notes h3 { font-size: 23px; margin-bottom: 8px; }
.notes h3 a { text-decoration: none; color: var(--navy); }
.notes h3 a:hover { text-decoration: underline; }
.notes p { margin: 0; max-width: 40em; color: var(--ink); }

/* Note page */
.note-head { background: var(--panel); padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.note-head .eyebrow { color: var(--gold-deep); }
.note-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; color: var(--navy-deep); margin: 0 0 20px; }
.note-head .standfirst { color: var(--ink); font-weight: 400; font-family: var(--serif); font-size: 21px; }
.note-meta { margin: 22px 0 0; }
.note-figure { margin-top: 48px; }
.note .prose { padding-top: 48px; }
.note .prose h2 { font-size: 26px; margin-top: 1.6em; }
.note .prose p { max-width: none; }
.note-foot { padding-top: 40px; padding-bottom: 96px; }
.small-head { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; border-top: 1px solid var(--rule); padding-top: 28px; }
.sources { font-size: 14.5px; color: var(--muted); padding-left: 20px; margin: 0 0 28px; }
.sources a { color: var(--muted); }
.share { font-size: 15px; font-weight: 500; }
.disclaimer { font-size: 13.5px; color: var(--muted); }

/* Plain text pages */
.legal .prose h2 { font-size: 24px; margin-top: 1.4em; }
.legal .prose p, .legal .prose li { max-width: 44em; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.contact-grid h3 { font-size: 19px; }
.contact-grid p { margin: 0; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: 14.5px; padding: 64px 0 28px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.wordmark-footer { margin: 0 0 16px; }
.footer-address { margin: 0; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer-legal p { font-size: 13px; color: rgba(255,255,255,.6); margin: 22px 0 0; max-width: 62em; }
.footer mark.tc { background: rgba(254,203,18,.18); color: var(--gold); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary { list-style: none; cursor: pointer; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 8px 0 8px 14px; border-left: 2px solid var(--gold); }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile ul { position: absolute; right: 0; top: 46px; background: var(--navy-deep); list-style: none; margin: 0; padding: 12px 24px 18px; min-width: 240px; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
  .nav-mobile li a { display: block; color: #fff; text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-mobile a[aria-current="page"] { color: var(--gold); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .split, .rows > li { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 60px 0; }
  .hero-image { min-height: 480px; }
  .hero-text { padding-top: 120px; padding-bottom: 48px; }
  .hero-image::after { background: linear-gradient(0deg, rgba(24,37,74,.94) 0%, rgba(24,37,74,.72) 55%, rgba(24,37,74,.35) 100%); }
  .people { grid-template-columns: 1fr; gap: 44px; }
  .notes li { grid-template-columns: 1fr; gap: 6px; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .band { height: 260px; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 12px; letter-spacing: .14em; }
  .person { grid-template-columns: 110px 1fr; gap: 18px; }
  .person img { width: 110px; }
}

/* Investment process steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); counter-reset: none; }
.steps li { position: relative; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--paper); }
.steps .step-n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--gold-deep); }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin: 8px 0 8px; }
.steps p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); padding-left: 20px; } .steps li::before { top: 34px; left: -28px; } }

/* Structure diagram */
.flow { margin: 48px 0 0; }
.flow-svg { width: 100%; height: auto; display: block; max-width: 960px; margin: 0 auto; }
.flow-svg text { font-family: var(--sans); font-size: 17px; font-weight: 600; fill: var(--navy); }
.flow-svg .fl-sub { font-size: 14px; font-weight: 400; fill: var(--muted); }
.flow-svg .fl-box rect { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; }
.flow-svg .fl-adv rect { fill: var(--panel); }
.flow-svg .fl-core rect { fill: var(--navy); }
.flow-svg .fl-core .fl-gold { fill: var(--gold); }
.flow-svg .fl-core-t { fill: #fff; font-size: 20px; font-family: var(--serif); font-weight: 500; }
.flow-svg .fl-core-s { fill: #D7DEEA; font-size: 14px; font-weight: 400; }
.flow-svg .fl-line { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.flow-svg .fl-dash { stroke-dasharray: 5 4; }
.flow-list { display: none; }
.flow figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .flow-svg { display: none; } .flow-list { display: block; padding-left: 18px; color: var(--ink); } .flow-list li { margin-bottom: 8px; } .flow figcaption { text-align: left; } }

.band-pano img { aspect-ratio: 5.6 / 1; object-fit: cover; }
.credits { padding-left: 18px; font-size: 14px; color: var(--muted); }

/* Draft banner, shown until site.launched is true */
.wip { background: var(--gold); color: var(--navy-deep); font-size: 13px; line-height: 1.45; text-align: center; padding: 8px var(--gutter); }
.wip strong { font-weight: 700; letter-spacing: .02em; }

/* Logo */
.logo { display: inline-block; line-height: 0; }
.logo img { height: 44px; width: auto; display: block; }
.logo-footer { margin: 0 0 18px; }
.logo-footer img { height: 52px; }
@media (max-width: 700px) { .logo img { height: 34px; } }

/* Reference facts (relationship page) */
.facts { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; margin: 28px 0 8px; border-top: 1px solid var(--rule); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.facts dt { color: var(--navy); font-weight: 600; padding-right: 20px; }
.facts dd { color: var(--ink); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

/* White papers */
.button { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 12px 20px; font-weight: 600; font-size: 15px; border-bottom: 3px solid var(--gold); }
.button:hover { background: var(--navy-deep); color: #fff; }
.paper-contents { padding-left: 18px; color: var(--ink); font-size: 15px; line-height: 1.7; }

/* =====================================================================
   v2: dropdown navigation, rounded shapes, motion, people cards
   ===================================================================== */
:root { --radius: 14px; --radius-sm: 10px; --shadow: 0 10px 30px rgba(24,37,74,.10); --shadow-lift: 0 18px 40px rgba(24,37,74,.16); --ease: cubic-bezier(.2,.7,.2,1); }

/* Navigation with dropdowns */
.nav > ul { align-items: center; }
.nav li { position: relative; }
.nav li.is-current > a, .nav li.is-current > .sub-toggle { color: #fff; border-bottom-color: var(--gold); }
.sub-toggle { appearance: none; background: none; border: 0; border-bottom: 1px solid transparent; color: rgba(255,255,255,.82); font: inherit; font-size: 14.5px; letter-spacing: .01em; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.sub-toggle:hover, .has-sub:hover > .sub-toggle, .has-sub.open > .sub-toggle { color: #fff; }
.sub-toggle .caret { transition: transform .25s var(--ease); }
.has-sub:hover .caret, .has-sub.open .caret { transform: rotate(180deg); }
.nav .sub { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 250px; display: block; padding: 10px; margin: 0; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 20; }
.nav .sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub li { display: block; }
.nav .sub a { display: block; color: var(--navy); padding: 9px 12px; border-radius: 8px; border: 0; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s; }
.nav .sub a:hover { background: var(--panel); color: var(--navy-deep); }
.nav .sub a[aria-current="page"] { background: var(--mist); color: var(--navy-deep); font-weight: 600; border: 0; }
.nav-mobile details > summary { list-style: none; cursor: pointer; color: #fff; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; text-transform: none; letter-spacing: 0; font-size: 15px; border-left: 0; }
.nav-mobile details > summary::after { content: "+"; color: var(--gold); }
.nav-mobile details[open] > summary::after { content: "−"; }
.nav-mobile details ul { position: static; box-shadow: none; padding: 2px 0 8px 14px; min-width: 0; background: transparent; }
.nav-mobile details li a { font-size: 14.5px; color: rgba(255,255,255,.85); }
.nav-mobile > ul { border-radius: var(--radius-sm); }

/* Rounded shapes */
.band { margin: 0 auto; max-width: calc(var(--wrap) - 2 * var(--gutter) + 0px); border-radius: var(--radius); width: calc(100% - 2 * var(--gutter)); }
.band-pano { margin-top: 24px; margin-bottom: 24px; }
.statement { border-left: 0; background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); position: relative; }
.statement::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--gold); border-radius: 3px; }
.button, .profile-btn { border-radius: 999px; }
.button { border-bottom: 0; padding: 12px 22px; box-shadow: inset 0 -3px 0 var(--gold); }
.note-figure img, .prose img { border-radius: var(--radius); }
.flow-svg .fl-box rect, .flow-svg .fl-core rect:first-of-type { rx: 10; }
.notes > li { border-radius: var(--radius-sm); transition: background .2s; }
.facts { border-radius: var(--radius-sm); }
mark.tc { border-radius: 4px; }

/* Cards and tiles */
.card { background: #fff; border-radius: var(--radius); padding: 28px 28px 30px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .eyebrow { margin: 0 0 10px; }
.card h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.criteria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.criteria .card:nth-child(4) { grid-column: 1 / span 1; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile a:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.tile h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--navy); margin: 22px 0 10px; }
.tile p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; flex: 1; }
.tile .more { font-weight: 600; font-size: 15px; color: var(--navy); }
.tile .more::after { content: " →"; transition: margin .2s; }
.tile a:hover .more::after { margin-left: 4px; }
.tile-faces { display: flex; }
.tile-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; background: var(--gold); margin-right: -14px; box-shadow: 0 2px 8px rgba(24,37,74,.15); }

/* People profile cards */
.group-note { margin: 0 0 28px; }
.profiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.profiles.count-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.profiles.count-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.profile-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 28px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.portrait { width: 220px; height: 220px; border-radius: 50%; background: var(--gold); overflow: hidden; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gold); }
.portrait img { width: 100%; height: 100%; object-fit: contain; }
.portrait-sm { width: 96px; height: 96px; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.profile-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--navy); margin: 26px 0 6px; }
.profile-title { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin: 0 0 22px; min-height: 2.9em; }
.profile-role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin: 4px 0 4px; }
.profile-btn { margin-top: auto; appearance: none; border: 1px solid var(--navy); background: transparent; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 600; padding: 9px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.profile-btn:hover, .profile-btn:focus-visible { background: var(--navy); color: #fff; }
.profile-dialog { border: 0; padding: 0; border-radius: var(--radius); max-width: 680px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(10,18,40,.35); text-align: left; color: var(--ink); }
.profile-dialog::backdrop { background: rgba(16,26,52,.55); backdrop-filter: blur(3px); }
.profile-dialog[open] { animation: dlgIn .28s var(--ease); }
.dialog-inner { padding: 36px 40px 40px; position: relative; max-height: 85vh; overflow: auto; }
.dialog-head { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.dialog-head h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--navy); margin: 0; }
.dialog-head .profile-title { min-height: 0; margin: 0; }
.dialog-inner > p { font-size: 16px; line-height: 1.7; margin: 0; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--panel); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--mist); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* Motion: hero Ken Burns and reveal on scroll */
.hero-image { overflow: hidden; }
.hero-img { animation: kenburns 24s ease-out both; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2), .profiles .reveal:nth-child(2), .tiles .reveal:nth-child(2), .criteria .reveal:nth-child(2) { transition-delay: .08s; }
.steps li.reveal:nth-child(3), .profiles .reveal:nth-child(3), .tiles .reveal:nth-child(3), .criteria .reveal:nth-child(3) { transition-delay: .16s; }
.steps li.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) { .nav > ul { gap: 22px; } }
@media (max-width: 900px) {
  .tiles, .profiles, .criteria { grid-template-columns: 1fr 1fr; }
  .profiles.count-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tiles, .profiles, .profiles.count-2, .profiles.count-1, .criteria { grid-template-columns: 1fr; }
  .band { width: calc(100% - 2 * var(--gutter)); }
  .dialog-inner { padding: 28px 22px 30px; }
  .dialog-head { flex-direction: column; align-items: flex-start; }
  .portrait { width: 190px; height: 190px; }
}
