:root {
  --ink: #0a0810;
  --ink-2: #121019;
  --paper: #f7f5f2;
  --muted: #aba5b0;
  --purple: #9b16ff;
  --purple-dark: #6600ae;
  --purple-soft: #c277ff;
  --line: rgba(255,255,255,.15);
  --acid: #dfef62;
  --max: 1240px;
  --pad: clamp(1.2rem, 4vw, 4rem);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; color: var(--paper); background: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { color: var(--paper); background: var(--purple); }
.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: 1000; top: 1rem; left: 1rem; transform: translateY(-160%); padding: .8rem 1rem; color: var(--ink); background: var(--acid); font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .08em; }
.section { padding: clamp(6.5rem, 11vw, 10rem) 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled { background: rgba(10,8,16,.88); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: block; width: 154px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.5rem); font-size: .9rem; font-weight: 700; }
.main-nav a { color: rgba(247,245,242,.74); text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav .nav-cta { padding: .65rem 1rem; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.menu-toggle { display: none; color: var(--paper); background: transparent; border: 0; padding: .5rem; }

.hero { position: relative; min-height: 940px; display: grid; align-items: center; overflow: hidden; padding: 8.5rem 0 5rem; background: radial-gradient(circle at 82% 42%, rgba(155,22,255,.22), transparent 28%), linear-gradient(135deg,#0a0810 0%,#0c0912 58%,#1b0629 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,black,transparent 72%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.72fr); gap: clamp(3rem,6vw,7rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem; color: var(--purple-soft); font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
.hero h1 { max-width: 790px; margin: 0; font-size: clamp(3.4rem,6.7vw,6.9rem); font-weight: 800; line-height: .91; letter-spacing: -.067em; text-wrap: balance; }
.hero h1 em { color: var(--purple-soft); font-style: normal; }
.hero-copy { max-width: 690px; margin: 2rem 0 0; color: #bdb7c1; font-size: clamp(1.02rem,1.7vw,1.25rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 53px; padding: .8rem 1.3rem; border: 1px solid transparent; font-size: .92rem; font-weight: 800; text-decoration: none; transition: transform .2s ease,background .2s ease,border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--purple); box-shadow: 0 12px 40px rgba(155,22,255,.25); }
.button-primary:hover { background: #ac3cff; }
.text-link { font-size: .9rem; font-weight: 700; text-underline-offset: .35rem; }
.hero-roles { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 3.1rem; }
.hero-roles span { padding: .45rem .7rem; color: #8f8995; border: 1px solid var(--line); font-size: .72rem; }
.hero-portrait { position: relative; margin: 0; }
.portrait-frame { position: relative; padding: 10px; border: 1px solid rgba(194,119,255,.4); transform: rotate(1.4deg); }
.portrait-frame::before { content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; background: var(--purple); transform: rotate(-2.6deg); }
.portrait-frame img { width: 100%; aspect-ratio: .75; object-fit: cover; object-position: 50% 36%; filter: contrast(1.06); }
.hero-portrait figcaption { margin: 2.7rem 0 0 1rem; color: #8c8691; font-size: .82rem; }
.hero-portrait figcaption .mono { color: var(--paper); font-size: .74rem; }
.hero-slash { position: absolute; right: -3vw; bottom: -70px; width: 53%; height: 150px; background: var(--purple); transform: skewY(-5deg); opacity: .94; }

.ticker { position: relative; z-index: 3; overflow: hidden; color: #fff; background: var(--purple); border-block: 1px solid rgba(255,255,255,.26); }
.ticker-track { display: flex; align-items: center; width: max-content; padding: .9rem 0; animation: ticker 24s linear infinite; }
.ticker span { padding-inline: 1.25rem; font-size: clamp(1rem,2vw,1.45rem); font-weight: 800; letter-spacing: .1em; }
.ticker i { color: var(--acid); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.photo-journal { padding-top: clamp(8rem,12vw,11rem); }
.journal-heading { display: grid; grid-template-columns: .4fr 1fr; gap: 2rem; align-items: start; margin-bottom: 3.5rem; }
.section-kicker { margin: .65rem 0 0; color: var(--purple-soft); font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; }
.journal-heading h2,.section-heading h2,.about h2,.journey h2,.closing h2 { margin: 0; font-size: clamp(2.45rem,4.7vw,4.8rem); line-height: 1.04; letter-spacing: -.052em; text-wrap: balance; }
.journal-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 310px 310px; gap: 1rem; }
.journal-card { position: relative; min-height: 0; margin: 0; overflow: hidden; background: var(--ink-2); }
.journal-wide { grid-row: 1 / 3; }
.journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.journal-card:hover img { transform: scale(1.035); }
.journal-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(10,8,16,.88)); }
.journal-card figcaption { position: absolute; z-index: 2; inset: auto 1.3rem 1.2rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.journal-card figcaption span { font-size: 1.1rem; font-weight: 700; }
.journal-card figcaption small { color: var(--purple-soft); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-align: right; }

.universe { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: .42fr 1fr; gap: clamp(2rem,5vw,6rem); align-items: start; margin-bottom: clamp(4rem,7vw,7rem); }
.universe .section-kicker,.projects .section-kicker { color: #7511bd; }
.heading-mark { margin-top: 2.5rem; color: var(--purple); font-size: 3rem; }
.axis-list { border-top: 1px solid rgba(10,8,16,.18); }
.axis { display: grid; grid-template-columns: 80px minmax(260px,.6fr) minmax(0,1fr); gap: clamp(1.5rem,4vw,4.5rem); align-items: center; min-height: 330px; padding: 2rem 0; border-bottom: 1px solid rgba(10,8,16,.18); }
.axis-number { align-self: start; padding-top: .6rem; color: #837d86; font-size: .75rem; }
.axis-photo { height: 265px; overflow: hidden; background: #ded9e0; }
.axis-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.axis:hover .axis-photo img { transform: scale(1.04); }
.axis-photo-portrait img { object-position: 50% 45%; }
.axis-copy > .mono { margin: 0 0 .7rem; color: #7511bd; font-size: .75rem; }
.axis-copy h3 { max-width: 570px; margin: 0 0 .9rem; font-size: clamp(1.85rem,3.2vw,3.35rem); line-height: 1.05; letter-spacing: -.045em; }
.axis-copy > p:last-child { max-width: 600px; margin: 0; color: #5c5660; }

.about { background: var(--ink-2); }
.about-grid { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1fr); gap: clamp(3rem,7vw,8rem); align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo::before { content: ""; position: absolute; z-index: 2; inset: 1rem -1rem -1rem 1rem; border: 1px solid rgba(194,119,255,.4); pointer-events: none; }
.about-photo img { width: 100%; aspect-ratio: .8; object-fit: cover; }
.photo-stamp { position: absolute; z-index: 3; right: -1rem; bottom: 1.5rem; padding: .7rem 1rem; color: #fff; background: var(--purple); font-size: .72rem; }
.about-copy .section-kicker { margin-bottom: 1.5rem; }
.about-copy .lead { margin: 2rem 0 1.2rem; color: #fff; font-size: clamp(1.15rem,1.8vw,1.45rem); font-weight: 700; }
.about-copy > p:not(.section-kicker):not(.lead) { color: var(--muted); }
.about blockquote { margin: 2.6rem 0 0; padding: 0 0 0 1.25rem; color: #fff; border-left: 3px solid var(--purple); font-size: clamp(1.25rem,2vw,1.75rem); line-height: 1.35; font-weight: 600; }

.projects { background: var(--paper); color: var(--ink); }
.section-note { max-width: 280px; margin: 1.4rem 0 0; color: #625c65; }
.project-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: 360px 360px; gap: 1rem; }
.project-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; padding: clamp(1.5rem,3vw,2.4rem); border: 1px solid rgba(10,8,16,.2); background: #fff; }
.project-purple { grid-row: 1 / 3; color: #fff; background: linear-gradient(155deg,#a324ff 0%,#6500aa 75%); border: 0; }
.project-count,.project-type,.project-status { font-size: .72rem; letter-spacing: .08em; }
.project-count { margin: 0; color: rgba(255,255,255,.58); }
.project-card:not(.project-purple) .project-count { color: #827c85; }
.project-type { display: block; margin-bottom: 1rem; color: currentColor; opacity: .75; }
.project-card h3 { margin: 0 0 1rem; font-size: clamp(2.3rem,4.2vw,4.5rem); line-height: .96; letter-spacing: -.055em; }
.project-purple h3 { font-size: clamp(3.4rem,6vw,6rem); }
.project-card p:not(.project-count) { max-width: 550px; margin: 0; opacity: .78; }
.project-card a { width: max-content; font-weight: 800; text-underline-offset: .35rem; }
.project-status { color: #7511bd; }
.project-photo { position: relative; justify-content: end; overflow: hidden; color: #fff; border: 0; }
.project-photo > img,.project-photo-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-photo-shade { background: linear-gradient(0deg,rgba(10,8,16,.94),rgba(10,8,16,.08)); }
.project-photo-content { position: relative; z-index: 2; }
.project-photo h3 { font-size: clamp(2.4rem,4vw,4rem); }

.journey { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(3rem,7vw,8rem); }
.journey-heading { position: sticky; top: 120px; align-self: start; }
.journey-heading .section-kicker { margin-bottom: 1.5rem; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 1rem; bottom: 1rem; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 68px 44px 1fr; min-height: 170px; align-items: start; }
.timeline .year { padding-top: .1rem; color: #8e8792; font-size: .76rem; }
.timeline .dot { position: relative; z-index: 2; width: 11px; height: 11px; margin: .35rem auto 0; background: var(--ink); border: 2px solid #706a75; border-radius: 50%; }
.timeline .dot.active { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 0 7px rgba(155,22,255,.14); }
.timeline h3 { margin: 0 0 .35rem; font-size: 1.55rem; letter-spacing: -.03em; }
.timeline p { max-width: 590px; margin: 0; color: #9f99a3; }

.closing { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; }
.closing-bg,.closing-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-bg { object-position: 50% 54%; filter: saturate(.7); }
.closing-shade { background: linear-gradient(90deg,rgba(10,8,16,.98) 0%,rgba(10,8,16,.86) 48%,rgba(10,8,16,.43) 100%),linear-gradient(0deg,rgba(96,0,160,.4),transparent 55%); }
.closing-content { position: relative; z-index: 2; padding-block: 7rem; }
.closing-shield { position: absolute; right: 2%; top: 50%; width: min(31vw,390px); transform: translateY(-50%) rotate(2deg); opacity: .15; }
.closing .eyebrow { color: var(--purple-soft); }
.closing h2 { max-width: 900px; font-size: clamp(3rem,5.8vw,6rem); }
.closing-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.8rem; }
.button-light { color: var(--ink); background: #fff; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.48); }
.button-ghost:hover { background: rgba(255,255,255,.1); }

.site-footer { display: grid; grid-template-columns: 180px 1fr auto; gap: 2rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; color: #88818e; font-size: .8rem; }
.footer-logo img { width: 160px; height: auto; }
.social-links { display: flex; gap: 1.2rem; }
.social-links a { text-underline-offset: .25rem; }
.copyright { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease,transform .72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .site-header { height: 70px; }
  .brand { width: 135px; }
  .menu-toggle { position: relative; z-index: 3; display: grid; gap: 6px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.3rem; padding: var(--pad); background: rgba(10,8,16,.98); transform: translateX(100%); transition: transform .3s ease; font-size: 1.5rem; }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-cta { margin-top: 1rem; font-size: 1rem; }
  .hero { min-height: auto; padding: 8rem 0 7rem; }
  .hero-grid { grid-template-columns: 1fr .65fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.2rem,8.2vw,5.5rem); }
  .hero-portrait figcaption { margin-left: 0; }
  .journal-heading,.section-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .heading-mark { display: none; }
  .axis { grid-template-columns: 60px minmax(220px,.55fr) 1fr; gap: 1.5rem; }
  .about-grid { gap: 3.5rem; }
  .project-grid { grid-template-rows: 330px 330px; }
  .journey { grid-template-columns: 1fr; }
  .journey-heading { position: static; }
}

@media (max-width: 700px) {
  :root { --pad: 1.1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy-block { order: 2; }
  .hero-portrait { order: 1; width: min(78vw,390px); margin: 0 auto 2rem; }
  .hero h1 { font-size: clamp(3.1rem,14vw,5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-roles { margin-top: 2.2rem; }
  .journal-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3,320px); }
  .journal-wide { grid-row: auto; }
  .journal-card figcaption { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .journal-card figcaption small { text-align: left; }
  .axis { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
  .axis-number { padding-top: 0; }
  .axis-photo { height: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: min(82vw,430px); }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card,.project-purple,.project-photo { grid-row: auto; min-height: 390px; }
  .timeline::before { left: 20px; }
  .timeline li { grid-template-columns: 40px 1fr; min-height: 190px; }
  .timeline .year { grid-column: 2; margin-bottom: .55rem; color: var(--purple-soft); }
  .timeline .dot { grid-column: 1; grid-row: 1 / span 2; margin-top: .2rem; }
  .timeline li > div { grid-column: 2; }
  .closing { min-height: 730px; }
  .closing-shade { background: linear-gradient(0deg,rgba(10,8,16,.98) 0%,rgba(10,8,16,.78) 72%,rgba(10,8,16,.36)); }
  .closing-shield { right: -16%; top: 22%; width: 66vw; }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p:not(.copyright) { display: none; }
  .social-links { flex-wrap: wrap; }
}

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