:root {
  color-scheme: dark;
  --ink: #080b10;
  --navy: #0c1320;
  --panel: #111a28;
  --ivory: #f1eee6;
  --muted: #9ca8b8;
  --blue: #2767ff;
  --blue-bright: #5e8cff;
  --orange: #ff6b2c;
  --line: rgba(235, 240, 248, 0.18);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--display);
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
::selection { background: var(--orange); color: var(--ink); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; background: var(--ivory); color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 86px; padding: 0 clamp(22px, 4vw, 70px);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; font-size: .71rem; font-weight: 800; letter-spacing: .17em; line-height: 1.05; text-decoration: none; }
.brand small { color: #adb8ca; font-size: .48rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.site-header nav { display: flex; gap: clamp(24px, 4vw, 62px); }
.site-header nav a { padding: 32px 0; font-size: .66rem; font-weight: 800; letter-spacing: .19em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue-bright); }
.status { justify-self: end; font: 700 .6rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #5aff91; box-shadow: 0 0 14px #5aff91; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; background: url("assets/michael-hero-generated.webp") 50% 43% / cover no-repeat; filter: saturate(.86) contrast(1.04); transform: scale(1.02); animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,8,13,1) 0%, rgba(5,8,13,.96) 34%, rgba(5,8,13,.68) 52%, rgba(5,8,13,.1) 78%, rgba(5,8,13,.22) 100%), linear-gradient(0deg, rgba(5,8,13,.82), transparent 48%); }
.hero::after { position: absolute; inset: 86px auto 0 67%; z-index: -1; width: 1px; background: rgba(255,255,255,.17); content: ""; }
.hero-copy { width: min(770px, 62vw); padding: 170px clamp(24px, 6vw, 108px) 12vh; }
.eyebrow { margin: 0 0 28px; color: #c4cddd; font: 750 .66rem/1.3 ui-monospace, monospace; letter-spacing: .24em; }
.eyebrow::before { display: inline-block; width: 34px; height: 2px; margin: 0 13px 3px 0; background: var(--orange); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .88; }
h1 { max-width: 760px; font-size: clamp(4.6rem, 8.4vw, 9rem); animation: rise .9s .18s both; }
h1 em, h2 em { color: var(--blue-bright); font-weight: 400; }
.hero-intro { max-width: 550px; margin: 34px 0 36px; color: #c5cbd4; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 0 23px; border: 1px solid var(--ivory); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-fill { border-color: var(--blue); background: var(--blue); }
.button-fill:hover, .button-fill:focus-visible { background: var(--blue-bright); }
.button-ghost { background: rgba(8,11,16,.3); backdrop-filter: blur(8px); }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--ivory); color: var(--ink); }
.hero-index { position: absolute; right: 0; bottom: 0; display: flex; justify-content: space-between; width: 33%; padding: 22px 30px; border-top: 1px solid rgba(255,255,255,.17); font: 650 .55rem/1 ui-monospace, monospace; letter-spacing: .14em; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--blue); }
.ticker-track { display: flex; align-items: center; gap: 38px; width: max-content; padding: 16px 0; animation: crawl 24s linear infinite; font-size: .66rem; font-weight: 850; letter-spacing: .2em; }
.ticker-track b { color: var(--ink); }

.section { padding: clamp(84px, 10vw, 150px) clamp(24px, 6vw, 108px); }
.section-kicker { display: flex; align-items: center; gap: 16px; color: #536174; font: 800 .62rem/1 ui-monospace, monospace; letter-spacing: .2em; }
.section-kicker span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #9da8b5; border-radius: 50%; color: var(--ink); }
.section-kicker.light { color: #8591a1; }
.section-kicker.light span { color: var(--ivory); }
.profile { background: var(--ivory); color: var(--ink); }
.profile-head { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; align-items: end; margin: 60px 0 80px; }
.profile-head h2, .hobby-title-row h2, .garage h2, .closing h2 { font-size: clamp(3.2rem, 6.4vw, 7.2rem); }
.profile-head p, .hobby-title-row > p { max-width: 390px; margin: 0; color: #5b6572; font-size: 1.05rem; line-height: 1.6; }
.stat-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; border-top: 1px solid #b9bdba; border-left: 1px solid #b9bdba; }
.stat-card { min-height: 250px; padding: 28px; border-right: 1px solid #b9bdba; border-bottom: 1px solid #b9bdba; }
.stat-label { font: 750 .58rem/1 ui-monospace, monospace; letter-spacing: .16em; }
.stat-card strong { display: block; margin: 42px 0 12px; color: var(--blue); font-family: var(--serif); font-size: clamp(3.8rem, 6vw, 7rem); font-weight: 400; letter-spacing: -.07em; line-height: .7; }
.stat-card p { margin: 0; color: #66707a; font-size: .82rem; }
.stat-feature { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.stat-feature::after { position: absolute; right: -60px; bottom: -110px; width: 270px; height: 270px; border: 1px solid #2c3b52; border-radius: 50%; box-shadow: 0 0 0 45px rgba(39,103,255,.07), 0 0 0 90px rgba(39,103,255,.035); content: ""; }
.stat-feature strong { color: var(--ivory); }
.stat-feature p { color: #aeb8c4; }
.age-meter { position: absolute; right: 28px; bottom: 28px; left: 28px; z-index: 1; height: 2px; background: #334052; }
.age-meter span { display: block; width: 68%; height: 100%; background: var(--orange); }
.age-meter i { position: absolute; top: 9px; color: #7f8a9b; font: normal .55rem ui-monospace, monospace; }
.age-meter i:first-of-type { left: 0; }.age-meter i:last-of-type { left: 66%; }

.hobbies { background: var(--ink); }
.hobby-title-row { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; align-items: end; margin: 60px 0 80px; }
.hobby-title-row > p { color: var(--muted); }
.hobby-list { border-top: 1px solid var(--line); }
.hobby { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; gap: 34px; align-items: center; min-height: 210px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.hobby:hover { padding-inline: 24px; background: #0d1521; }
.hobby-number { color: var(--orange); font: .7rem ui-monospace, monospace; }
.hobby-copy p { margin: 0 0 13px; color: #66758a; font: 700 .57rem ui-monospace, monospace; letter-spacing: .18em; }
.hobby-copy h3 { max-width: 890px; margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 4.3rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.03; }
.hobby-badge { min-width: 90px; padding: 10px 12px; border: 1px solid #3c4a5d; border-radius: 99px; color: #96a2b4; font: 700 .54rem/1 ui-monospace, monospace; letter-spacing: .12em; text-align: center; }

.garage { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 6vw, 110px); align-items: center; background: #dfe3e8; color: var(--ink); }
.spec-label { margin: 76px 0 20px; color: var(--blue); font: 800 .67rem ui-monospace, monospace; letter-spacing: .2em; }
.garage h2 { font-size: clamp(3.5rem, 5.9vw, 7rem); }
.garage-copy { max-width: 470px; margin: 37px 0; color: #4f5965; line-height: 1.65; }
.specs { margin: 0; border-top: 1px solid #aab2bb; }
.specs div { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; border-bottom: 1px solid #aab2bb; }
.specs dt { color: #68727e; font: 700 .56rem ui-monospace, monospace; letter-spacing: .17em; }
.specs dd { margin: 0; font-size: .8rem; font-weight: 750; text-align: right; }
.garage-photo { position: relative; min-width: 0; }
.garage-photo::before { position: absolute; inset: -14px 14px 14px -14px; z-index: 0; border: 1px solid #9ca5af; content: ""; }
.garage-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; box-shadow: 0 22px 60px rgba(5,9,14,.24); }
.photo-caption { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 13px 16px; background: var(--ivory); font: 700 .52rem ui-monospace, monospace; letter-spacing: .13em; }

.closing { min-height: 620px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: radial-gradient(circle at 50% 50%, #172947, var(--ink) 64%); }
.closing h2 { max-width: 1000px; }
.closing a { margin-top: 52px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }
.closing a span { margin-left: 18px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 6vw, 108px); border-top: 1px solid var(--line); color: #738093; font: 700 .54rem ui-monospace, monospace; letter-spacing: .14em; }

.age-modal[hidden] { display: none; }
.age-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,4,7,.82); backdrop-filter: blur(10px); cursor: default; }
.modal-card { position: relative; width: min(560px, 100%); padding: clamp(35px, 6vw, 68px); border: 1px solid #3c4c64; background: var(--navy); box-shadow: 0 30px 100px #000; text-align: center; animation: modal-in .35s both; }
.modal-card > p { color: var(--orange); font: 800 .6rem ui-monospace, monospace; letter-spacing: .2em; }
.modal-card > strong { display: block; margin: 22px 0; font-family: var(--serif); font-size: clamp(7rem, 20vw, 12rem); font-weight: 400; letter-spacing: -.1em; line-height: .72; }
.modal-card h2 { margin: 35px 0; font-size: clamp(2rem, 5vw, 3.6rem); }

@keyframes settle { from { opacity: 0; transform: scale(1.09); } to { opacity: 1; transform: scale(1.02); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes crawl { to { transform: translateX(-50%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero-copy { width: 85%; }
  .hero-index { width: 45%; }
  .profile-head, .hobby-title-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .garage { grid-template-columns: 1fr; }
  .garage-photo { order: -1; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; padding-inline: 18px; }
  .status { font-size: .5rem; }
  .hero { min-height: 820px; }
  .hero-art { inset: 0; background-position: 67% 38%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,8,13,.98) 0%, rgba(5,8,13,.76) 55%, rgba(5,8,13,.34) 100%); }
  .hero-copy { width: 100%; padding: 260px 22px 94px; }
  h1 { font-size: clamp(4rem, 21vw, 6rem); }
  .hero-intro { font-size: 1rem; }
  .hero-index { width: 100%; }
  .section { padding: 78px 22px; }
  .profile-head, .hobby-title-row { margin: 44px 0 55px; gap: 28px; }
  .profile-head h2, .hobby-title-row h2, .garage h2, .closing h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 220px; }
  .hobby { grid-template-columns: 42px 1fr; gap: 14px; padding: 32px 0; }
  .hobby-badge { grid-column: 2; width: fit-content; }
  .hobby:hover { padding-inline: 10px; }
  .garage-photo::before { display: none; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
