:root {
  color-scheme: light;
  --dark: #090a0d;
  --surface: #151820;
  --gold: #b08a4d;
  --bronze: #786048;
  --paper: #fbfaf7;
  --ivory: #f0d8c0;
  --ink: #111317;
  --body: #302d28;
  --wall: #b8ab92;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--wall); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--paper); background: #514335; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.hero:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 15px; left: 20px; padding: 14px 20px; border-radius: 50px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page { position: relative; isolation: isolate; overflow: clip; min-height: 100svh; background: var(--wall); }
/* The outpaint contributes wall only; the portrait is the original uploaded JPEG. */
.wall-extension { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.wall-extension img { position: absolute; right: 0; top: 0; width: 250%; max-width: none; height: 100%; object-fit: fill; }
.site-header { display: flex; justify-content: space-between; align-items: center; position: absolute; inset: 0 0 auto; padding: 32px 4.6vw; z-index: 3; }
.wordmark { display: grid; place-items: center; width: 64px; height: 64px; flex: 0 0 auto; border-radius: 6px; }
.wordmark img { display: block; width: 50px; height: auto; }
.location { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--body); }
.location-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--bronze); }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: max(100svh, 900px); padding: 155px 6vw 165px 49.5%; }
.portrait-field { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.portrait { position: absolute; left: 0; top: 0; width: auto; max-width: none; height: 100%; display: block; object-fit: contain; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, rgba(0,0,0,.93) 70%, rgba(0,0,0,.55) 84%, transparent 100%), linear-gradient(180deg, #000 0%, #000 63%, rgba(0,0,0,.88) 74%, rgba(0,0,0,.35) 89%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 62%, rgba(0,0,0,.93) 70%, rgba(0,0,0,.55) 84%, transparent 100%), linear-gradient(180deg, #000 0%, #000 63%, rgba(0,0,0,.88) 74%, rgba(0,0,0,.35) 89%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.introduction { width: 100%; max-width: 650px; margin: 0 auto; text-align: center; }
h1 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(45px, 5.5vw, 80px); line-height: 1; letter-spacing: -.045em; white-space: nowrap; margin: 0 0 23px; }
.roles { font-size: 12px; line-height: 1.7; font-weight: 600; letter-spacing: .02em; color: #1c1c1b; margin: 0 0 29px; }
.bio { margin: 0 auto; max-width: 600px; font-size: clamp(14px, 1.08vw, 16px); font-weight: 400; line-height: 1.95; color: var(--body); text-wrap: pretty; }
.bio-ending { white-space: nowrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateX(-50%); padding: 8px 18px; font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #514335; }
.scroll-line { display: block; width: 1px; height: 39px; background: linear-gradient(#786048, #78604833); position: relative; }
.scroll-line::after { content: ''; position: absolute; width: 5px; height: 5px; bottom: 0; left: -2px; border-bottom: 1px solid #786048; border-right: 1px solid #786048; transform: rotate(45deg); }
.connections { max-width: 1050px; margin: 0 auto; padding: 60px 45px 85px; scroll-margin-top: 32px; }
.destinations { display: grid; grid-template-columns: 1fr; gap: 29px; list-style: none; margin: 0; padding: 0; }
.destination-item { min-width: 0; }
.destination { position: relative; display: flex; align-items: center; gap: 28px; width: 100%; min-height: 116px; padding: 25px 40px; border: 1px solid rgba(176,138,77,.62); border-radius: 999px; text-align: left; cursor: pointer; color: var(--paper); background: linear-gradient(112deg, #2b2721f7, #111317f2 75%); box-shadow: inset 0 1px 0 #fbfaf714, 0 10px 25px #36230d13; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.destination-index { font-size: 10px; font-weight: 400; color: #c2a77e; letter-spacing: .09em; min-width: 17px; flex: 0 0 auto; }
.destination-text { display: grid; gap: 9px; min-width: 0; }
.destination-title { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.destination-description { font-size: 12px; font-weight: 400; line-height: 1.5; color: #ccc6bc; }
.destination-description em { font-style: italic; }
.destination-arrow { margin-left: auto; flex: 0 0 auto; font-size: 27px; color: var(--ivory); line-height: 1; transition: transform .3s ease; }
.destination-status { flex: 0 0 auto; margin-left: auto; font-size: 9px; font-weight: 500; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; color: #d0c3ae; padding: 7px 11px; border: 1px solid #b08a4d66; border-radius: 50px; text-align: center; }
.destination-disabled { cursor: default; background: linear-gradient(110deg, #f0ede414, #4c4a4319); color: #5e594f; border-color: #6a625a4d; box-shadow: inset 0 1px 0 #ffffff1a; }
.destination-disabled .destination-index { color: #70685e; }
.destination-disabled .destination-description { color: #625c52; }
.destination-disabled .destination-status { color: #625c52; border-color: #6a625a55; }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 40px 4.6vw 33px; }
.site-footer p { margin: 0; }
.footer-signature { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: #514335; }
.copyright { font-size: 10px; line-height: 1.5; color: #514a3e; letter-spacing: .03em; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translate(-50%, 15px); opacity: 0; visibility: hidden; pointer-events: none; max-width: min(420px, calc(100% - 40px)); padding: 15px 22px; border: 1px solid #b08a4d80; border-radius: 14px; background: #151820; color: var(--paper); box-shadow: 0 12px 55px #0005; font-size: 12px; line-height: 1.5; text-align: center; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Progressive entrances: the wall is present first, then the original portrait emerges. */
[data-reveal] { --reveal-duration: 1200ms; --reveal-delay: 0ms; }
[data-reveal="portrait"] { --reveal-duration: 2200ms; --reveal-delay: 80ms; }
[data-reveal="word"] { --reveal-duration: 700ms; }
.reveal-word { display: inline; }
[data-reveal="header"] { --reveal-delay: 120ms; }
[data-reveal="cue"] { --reveal-duration: 1000ms; --reveal-delay: 600ms; }
.reveal-ready { opacity: 0; }
.reveal-ready[data-reveal="pill"] { transform: translate3d(0,18px,0) scale(.992); }
.reveal-ready.is-revealed { opacity: 1; transition: opacity var(--reveal-duration) ease-in-out var(--reveal-delay); }
.reveal-ready[data-reveal="pill"].is-revealed { transform: none; transition: opacity 1200ms ease var(--reveal-delay), transform 1400ms cubic-bezier(.22,.61,.36,1) var(--reveal-delay); }
.reveal-ready.reveal-immediate, .reveal-ready:focus-within { opacity: 1; transition: none !important; }
.reveal-ready[data-reveal="pill"].reveal-immediate, .reveal-ready[data-reveal="pill"]:focus-within { transform: none; }
@media (hover: hover) {
  .destination:not(:disabled):hover { border-color: #b08a4d; background: linear-gradient(112deg, #383024, #151820 75%); transform: translateY(-3px); box-shadow: inset 0 1px 0 #fbfaf723, 0 14px 30px #36230d26; }
  .destination:not(:disabled):hover .destination-arrow { transform: translate(3px,-3px); }
  .scroll-cue:hover { color: #111317; }
}
@media (min-width: 901px) {
  .introduction { transform: translateY(24px); }
}
@media (min-width: 1700px) {
  .hero { padding-left: 50%; padding-right: 10%; }
  h1 { font-size: 88px; }
  .bio { font-size: 16px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero { padding-left: 49%; padding-right: 4%; padding-top: 145px; padding-bottom: 155px; }
  .portrait { left: -5%; }
  h1 { font-size: 57px; }
  .bio { font-size: 14px; line-height: 1.85; }
}
@media (max-width: 900px) {
  .site-header { padding: 23px 7vw; }
  .wordmark { width: 56px; height: 56px; }
  .wordmark img { width: 44px; }
  .location { font-size: 8px; gap: 7px; }
  .hero { display: block; min-height: 0; padding: calc(145vw - 20px) 7vw 145px; }
  .portrait { left: 0; width: 100%; height: auto; object-fit: contain; -webkit-mask-image: linear-gradient(90deg, #000 60%, rgba(0,0,0,.91) 77%, rgba(0,0,0,.47) 94%, rgba(0,0,0,.33) 100%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.96) 73%, rgba(0,0,0,.47) 88%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, rgba(0,0,0,.91) 77%, rgba(0,0,0,.47) 94%, rgba(0,0,0,.33) 100%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.96) 73%, rgba(0,0,0,.47) 88%, transparent 100%); }
  .introduction { max-width: 580px; }
  h1 { font-size: clamp(38px, 11.1vw, 72px); letter-spacing: -.045em; line-height: 1.12; margin: 0 0 19px; }
  .roles { font-size: 11px; line-height: 1.6; margin-bottom: 25px; letter-spacing: .005em; }
  .bio { font-size: 14px; line-height: 1.95; max-width: none; }
  .scroll-cue { bottom: 26px; font-size: 8px; }
  .connections { max-width: 670px; padding: 25px 6vw 45px; scroll-margin-top: 20px; }
  .destinations { gap: 23px; }
  .destination { min-height: 104px; gap: 16px; padding: 23px 24px; }
  .destination-index { min-width: 14px; font-size: 9px; }
  .destination-title { font-size: 16px; line-height: 1.35; }
  .destination-description { font-size: 11px; line-height: 1.45; }
  .destination-text { gap: 7px; }
  .destination-arrow { font-size: 23px; }
  .destination-status { font-size: 8px; padding: 6px 8px; max-width: 76px; }
  .site-footer { padding: 35px 7vw 26px; gap: 15px; }
  .footer-signature { font-size: 20px; }
  .copyright { font-size: 8px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero { padding-top: calc(114.5vw - 20px); }
  .portrait { width: 80%; left: 10%; }
  h1 { font-size: 71px; }
  .roles { font-size: 12px; }
  .bio { font-size: 15px; }
}
@media (max-width: 360px) {
  .hero { padding-left: 6vw; padding-right: 6vw; }
  h1 { font-size: 10.7vw; }
  .roles { font-size: 10px; }
  .bio { font-size: 13px; }
  .destination { padding-inline: 18px; gap: 11px; }
  .destination-title { font-size: 15px; }
  .destination-description { font-size: 10px; }
  .destination-status { max-width: 62px; font-size: 7px; }
  .site-footer { padding-inline: 6vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; }
  [data-reveal="pill"] { transform: none !important; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transition: none !important; }
  [data-reveal="pill"] { transform: none !important; }
}
