:root {
  color-scheme: light;
  --paper: #f2f0ea;
  --ink: #111111;
  --red: #d51b17;
  --muted: #67655f;
  --line: rgba(17,17,17,.25);
  --pad: clamp(1.1rem, 2.5vw, 2.6rem);
  --duration-fast: 250ms;
  --duration-reveal: 500ms;
  --distance-reveal: 12px;
  --ease-smooth-out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--red); color: white; padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
header { position: absolute; z-index: 10; inset: 0 0 auto; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid rgba(255,255,255,.4); color: white; font-size: .73rem; line-height: .9; letter-spacing: .06em; text-transform: uppercase; }
.wordmark { font-weight: 800; text-decoration: none; width: max-content; }
header nav { display: flex; gap: 1.8rem; }
header nav a { text-decoration: none; }
header nav a:hover, header nav a:focus-visible { color: #ff504a; }
.availability { justify-self: end; display: flex; gap: .6rem; align-items: center; }
.availability i { width: .48rem; height: .48rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .25rem rgba(227,27,23,.22); }
.hero { min-height: 100dvh; position: relative; display: grid; grid-template-columns: minmax(0, 45%) 1fr; overflow: hidden; background: #0b0b0b; color: white; }
.portrait-wrap { grid-column: 1; width: 100%; height: 100dvh; overflow: hidden; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 42%; filter: saturate(.88) contrast(1.04); animation: portrait-in 1.1s cubic-bezier(.16,1,.3,1) both; }
.red-plane { position: absolute; z-index: 2; left: 39%; top: 0; width: clamp(4rem, 9vw, 10rem); height: 100%; background: rgba(227,27,23,.84); mix-blend-mode: screen; transform: skewX(-4deg); transform-origin: top; animation: plane-in 1s cubic-bezier(.16,1,.3,1) both; }
.hero-copy { grid-column: 2; align-self: end; position: relative; z-index: 3; padding: 8rem var(--pad) clamp(2.2rem, 5vw, 5rem) clamp(3rem, 7vw, 9rem); max-width: 72rem; }
.role, .work-title > span, .label { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.role { color: #c7c4bc; margin: 0 0 1.5rem; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(3.8rem, 7.7vw, 9rem); letter-spacing: -.068em; line-height: .85; text-wrap: balance; }
.hero h1 em { display: inline-block; font-weight: 500; font-style: italic; color: #ff352e; line-height: 1.1; padding-bottom: .06em; }
.hero-note { max-width: 31rem; color: #c7c4bc; font-size: 1.05rem; line-height: 1.5; margin: 1.8rem 0 1.4rem; }
.text-link { display: inline-flex; gap: .8rem; text-decoration: none; padding-bottom: .3rem; border-bottom: 1px solid; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { color: #ff352e; }
.coordinate { position: absolute; z-index: 4; top: 6rem; left: calc(45% + 2.5rem); font: .68rem/1.4 monospace; color: #aba9a2; }
.ticker { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--red); color: white; padding: 1rem 0; white-space: nowrap; }
.ticker div { width: max-content; font-size: clamp(1rem, 1.8vw, 1.8rem); letter-spacing: -.02em; animation: ticker 24s linear infinite; }
.work { padding: clamp(6rem, 12vw, 12rem) var(--pad); }
.work-title { display: grid; grid-template-columns: minmax(10rem, .36fr) 1fr; align-items: start; border-bottom: 1px solid var(--ink); padding-bottom: 4rem; }
.work-title > span { color: var(--red); padding-top: .55rem; }
.work h2 { margin: 0; font-size: clamp(4rem, 10vw, 11rem); font-weight: 500; line-height: .82; letter-spacing: -.07em; }
.project { display: grid; grid-template-columns: 4rem 1.5fr 1fr 5rem 2rem; gap: 1rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.project::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform var(--duration-fast) var(--ease-smooth-out); z-index: -1; }
.project:focus-visible::before { transform: scaleY(1); }
.project:focus-visible { color: white; padding-inline: .8rem; outline: 2px solid white; outline-offset: -4px; }
.project { transition: padding var(--duration-fast) var(--ease-smooth-out), color 150ms; }
@media (hover: hover) {
  .project:hover::before { transform: scaleY(1); }
  .project:hover { color: white; padding-inline: .8rem; }
}
.project .num, .project .type, .project .year { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.project .name { font-size: clamp(1.8rem, 4vw, 4.5rem); letter-spacing: -.04em; }
.project .type { color: var(--muted); }
.project:focus-visible .type { color: white; }
.project b { font-size: 1.2rem; color: var(--red); }
.project:focus-visible b { color: white; }
.profile { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(17rem, .8fr); gap: 7vw; padding: 0 var(--pad) clamp(6rem, 12vw, 12rem); }
.profile-copy { grid-column: 1; }
.label { color: var(--red); margin: 0 0 2rem; }
.profile h2 { margin: 0; max-width: 12ch; font-size: clamp(2.6rem, 6vw, 6.5rem); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
.profile-copy > p:last-child { margin: 3rem 0 0 25%; max-width: 36rem; font-size: 1.12rem; line-height: 1.55; color: var(--muted); }
.profile-facts { grid-column: 2; align-self: end; }
.profile-facts div { border-top: 1px solid var(--line); padding: 1rem 0; display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.profile-facts span { color: var(--muted); font-size: .8rem; }
.profile-facts strong { font-size: .9rem; font-weight: 500; }
.profile-crop { grid-column: 1 / -1; height: clamp(24rem, 60vw, 52rem); overflow: hidden; margin-top: 3rem; background: #111; }
.profile-crop img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; filter: grayscale(1) contrast(1.1); }
.contact { background: #0c0c0c; color: white; min-height: 72vh; padding: clamp(5rem, 10vw, 10rem) var(--pad) 2rem; display: grid; grid-template-rows: auto 1fr auto; }
.contact p { margin: 0; color: #aaa; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.contact a { align-self: center; width: max-content; max-width: 100%; font-size: clamp(2.8rem, 8vw, 9rem); line-height: .95; letter-spacing: -.06em; text-decoration: none; border-bottom: .06em solid var(--red); }
.contact span { justify-self: end; color: #777; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.reveal { opacity: 0; transform: translateY(var(--distance-reveal)); transition: opacity var(--duration-reveal) ease-in-out, transform var(--duration-reveal) ease-in-out; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes portrait-in { from { transform: scale(1.08); filter: saturate(0); } to { transform: scale(1); filter: saturate(.88) contrast(1.04); } }
@keyframes plane-in { from { transform: translateY(-105%) skewX(-4deg); } to { transform: translateY(0) skewX(-4deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  header { grid-template-columns: 1fr auto; height: 64px; }
  header nav { gap: 1rem; }
  .availability { display: none; }
  .hero { min-height: 100svh; grid-template-columns: 1fr; padding-bottom: 1.2rem; }
  .portrait-wrap { grid-column: 1; grid-row: 1; height: 48svh; }
  .portrait-wrap img { object-position: 44% 35%; }
  .red-plane { left: 57%; height: 48svh; width: 4.5rem; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 1.7rem var(--pad) .6rem; }
  .hero h1 { font-size: clamp(2.9rem, 12.4vw, 4.4rem); line-height: .88; }
  .role { margin-bottom: .85rem; }
  .hero-note { margin: 1rem 0 .85rem; font-size: .96rem; }
  .coordinate { top: 5rem; left: auto; right: var(--pad); }
  .work-title { grid-template-columns: 1fr; gap: 1rem; }
  .project { grid-template-columns: 2rem 1fr auto; gap: .7rem; }
  .project .name { grid-column: 2; }
  .project .type { grid-column: 2; }
  .project .year { grid-column: 3; grid-row: 1; }
  .project b { grid-column: 3; grid-row: 2; }
  .profile { grid-template-columns: 1fr; }
  .profile-facts { grid-column: 1; }
  .profile-copy > p:last-child { margin-left: 0; }
  .profile-crop { grid-column: 1; height: 32rem; }
  .contact { min-height: 60vh; }
  .contact a { font-size: clamp(2rem, 10vw, 4.5rem); word-break: break-word; }
}
@media (hover: hover) {
  .project:hover .type, .project:hover b { color: white; }
}
@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; }
}
