@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  --paper: #f6efe2;
  --ink: #19323c;
  --muted: #69736f;
  --line: rgba(25, 50, 60, 0.16);
  --accent: #c74732;
  --white: #fffdf8;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --page: clamp(20px, 3.5vw, 58px);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--paper); }
body { min-height: 100dvh; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--white); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 99; top: -60px; left: 20px; padding: 10px 14px; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 20px; }

.topbar { position: fixed; z-index: 20; top: 0; left: 50%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1220px, calc(100% - (var(--page) * 2))); padding: 24px 0; transform: translateX(-50%); }
.brand { display: flex; width: fit-content; align-items: center; gap: 8px; }
.brand img { width: 18px; height: 18px; object-fit: contain; }
.wordmark { width: fit-content; font-size: 14px; font-weight: 600; letter-spacing: -.05em; }
.wordmark i { color: var(--accent); font-style: normal; }
.topbar p { margin: 0; color: var(--muted); font: 300 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.social-links { display: flex; justify-self: end; align-items: center; gap: 7px; color: var(--muted); font: 300 9px/1 var(--mono); letter-spacing: .04em; }
.social-links a { transition: color .2s ease; }
.social-links a:hover { color: var(--accent); }

.hero { min-height: 100dvh; padding: 78px var(--page) 28px; }
.hero-inner { display: grid; grid-template-columns: minmax(360px, .88fr) minmax(460px, 1.12fr); grid-template-rows: auto auto; align-content: center; width: min(1220px, 100%); min-height: calc(100dvh - 106px); margin: 0 auto; }
.hero-copy { position: relative; z-index: 4; grid-row: 1; grid-column: 1; align-self: end; width: min(100%, 520px); }
.eyebrow { margin: 0 0 18px; color: var(--muted); font: 300 10px/1 var(--mono); letter-spacing: .04em; }
.display-name { margin: 0; font-size: clamp(72px, 7.5vw, 112px); font-weight: 600; line-height: .81; letter-spacing: -.078em; white-space: nowrap; }
.display-name span { display: block; }
.display-name span:last-child { color: var(--accent); }
.display-name i { color: var(--ink); font-style: normal; }
.role { margin: 26px 0 0; font-size: clamp(20px, 2vw, 29px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.intro-copy { margin-top: 15px; }
.statement { width: 100%; max-width: none; margin: 0; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.65; text-wrap: pretty; }
.personal-drive { max-width: 34ch; margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); color: var(--ink); font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
.personal-drive strong { color: var(--accent); font-weight: 600; }

.hero-info { position: relative; z-index: 5; grid-row: 2; grid-column: 1; align-self: start; width: min(100%, 560px); margin-top: 28px; }
.profile-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-meta div { display: grid; gap: 9px; }
.profile-meta span { color: var(--muted); font: 300 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.profile-meta span em { color: var(--accent); font-style: normal; }
.profile-meta strong { font-size: clamp(28px, 2.7vw, 36px); font-weight: 500; line-height: .86; letter-spacing: -.065em; }
.profile-meta b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.delivery-scale { display: none; }

.proof { margin-top: 24px; }
.proof > p { margin: 0 0 12px; color: var(--muted); font: 300 8px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.recognition-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.recognition-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.recognition-list time { color: var(--accent); font: 400 9px/1 var(--mono); font-variant-numeric: tabular-nums; }
.recognition-list div { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 14px; }
.recognition-list strong { font-size: 11px; font-weight: 500; line-height: 1.35; }
.recognition-list span { color: var(--muted); font-size: 9px; font-weight: 300; line-height: 1.35; text-align: right; }
.credential-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 42px); padding-top: 17px; }
.credential { display: grid; min-width: 0; margin: 0; justify-items: center; text-align: center; }
.credential img { width: 72px; height: 72px; object-fit: contain; }
.credential div { display: grid; gap: 5px; margin-top: 9px; }
.credential strong { font-size: 9px; font-weight: 500; line-height: 1.2; }
.credential span { color: var(--accent); font: 400 8px/1 var(--mono); }

.portrait { position: relative; z-index: 2; grid-row: 1 / 3; grid-column: 2; align-self: center; width: calc(100% + 8vw); height: min(87dvh, 820px); margin: 0 0 -5% -8vw; pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: saturate(.92) contrast(1.01); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) and (min-width: 681px) {
  .hero-inner { grid-template-columns: minmax(310px, .9fr) minmax(390px, 1.1fr); }
  .display-name { font-size: clamp(62px, 8vw, 82px); }
  .role { font-size: 21px; }
  .portrait { width: calc(100% + 12vw); height: min(78dvh, 700px); margin-left: -12vw; }
}

@media (max-width: 680px) {
  :root { --page: 18px; }
  .topbar { grid-template-columns: 1fr 1fr; padding-top: 19px; }
  .topbar p { display: none; }
  .brand { gap: 6px; }
  .brand img { width: 16px; height: 16px; }
  .social-links { gap: 5px; font-size: 8px; }
  .hero { min-height: 100dvh; padding-top: 86px; overflow: clip; }
  .hero-inner { display: flex; min-height: auto; flex-direction: column; }
  .hero-copy { display: contents; }
  .eyebrow { order: 1; width: 100%; margin-bottom: 14px; }
  .display-name { order: 2; width: 100%; font-size: clamp(58px, 17vw, 72px); }
  .role { order: 3; width: 100%; margin-top: 20px; font-size: 18px; }
  .portrait { order: 4; width: 100%; height: min(52vh, 520px); margin: 8px 0 12px; }
  .portrait img { object-position: center bottom; }
  .intro-copy { order: 5; width: 100%; margin-top: 0; text-align: center; }
  .statement { max-width: 34ch; margin: 0 auto; font-size: 14px; line-height: 1.7; }
  .personal-drive { position: relative; max-width: 32ch; margin: 30px auto 0; padding: 16px 0 0; border-left: 0; font-size: 16px; }
  .personal-drive::before { position: absolute; top: 0; left: 50%; width: 34px; height: 2px; content: ""; background: var(--accent); transform: translateX(-50%); }
  .hero-info { order: 6; width: 100%; margin: 38px 0 0; padding-bottom: 28px; }
  .profile-meta { gap: 10px; padding: 17px 0 16px; border-bottom: 1px solid var(--line); }
  .profile-meta div { gap: 8px; }
  .profile-meta strong { font-size: clamp(28px, 9vw, 34px); }
  .profile-meta span { font-size: 7px; }
  .profile-meta span em { display: none; }
  .delivery-scale { display: block; margin: 10px 0 0; color: var(--muted); font: 300 8px/1 var(--mono); letter-spacing: .08em; text-align: right; text-transform: uppercase; }
  .delivery-scale strong { color: var(--accent); font-weight: 400; }
  .proof { margin-top: 36px; }
  .recognition-list div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .recognition-list span { text-align: left; }
  .credential-shelf { gap: 14px; padding-top: 24px; }
  .credential img { width: 58px; height: 58px; }
}

@media (max-height: 720px) and (min-width: 681px) {
  .display-name { font-size: clamp(58px, 6vw, 82px); }
  .role { margin-top: 18px; }
  .intro-copy { margin-top: 10px; }
  .hero-info { margin-top: 16px; }
  .proof { margin-top: 16px; }
  .credential-shelf { padding-top: 13px; }
  .credential img { width: 56px; height: 56px; }
  .portrait { height: 76dvh; }
}

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