:root {
  color-scheme: dark;
  --ink: #f2f1eb;
  --paper: #0c0e0f;
  --muted: #aeb2b0;
  --line: rgba(242, 241, 235, 0.24);
  --accent: #f04b23;
  --pad: clamp(1.15rem, 2.7vw, 2.8rem);
  --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: Arial, Helvetica, sans-serif; font-size: 16px; }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--accent); color: #090909; padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
.nav { position: absolute; inset: 0 0 auto; z-index: 10; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid rgba(255,255,255,.34); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.mark { display: flex; gap: .22rem; width: max-content; text-decoration: none; font-size: 1.15rem; font-weight: 700; }
.mark span:last-child { color: var(--accent); }
.nav nav { display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; }
.nav nav a:hover, .nav nav a:focus-visible { color: var(--accent); }
.place { justify-self: end; }
.hero { position: relative; min-height: 100dvh; overflow: hidden; display: grid; align-items: end; padding: 8rem var(--pad) var(--pad); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: settle 1.1s cubic-bezier(.16,1,.3,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,8,9,.78) 0, rgba(5,8,9,.22) 52%, rgba(5,8,9,.12)), linear-gradient(0deg, rgba(5,8,9,.72), transparent 46%); }
.hero-copy { position: relative; z-index: 2; max-width: 82rem; }
.kicker, .section-index, .image-note, .datum { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.kicker { margin: 0 0 1.2rem; color: #fff; }
.hero h1 { margin: 0; font-size: clamp(3.5rem, 8.6vw, 9.4rem); line-height: .82; letter-spacing: -.07em; font-weight: 600; max-width: 13ch; text-wrap: balance; }
.hero h1 span { display: block; animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
.hero h1 span:nth-child(2) { color: var(--accent); animation-delay: .09s; }
.intro { max-width: 32rem; margin: 1.7rem 0 1.6rem; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.5; }
.hero-link { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .4rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-link span { color: var(--accent); }
.image-note { position: absolute; right: var(--pad); bottom: var(--pad); z-index: 2; writing-mode: vertical-rl; }
.datum { position: absolute; right: calc(var(--pad) + 3rem); top: 8rem; z-index: 2; display: flex; gap: 1.2rem; writing-mode: vertical-rl; color: rgba(255,255,255,.66); }
.statement, .contact { padding: clamp(6rem, 12vw, 12rem) var(--pad); }
.section-index { color: var(--accent); margin: 0 0 3rem; }
.statement h2, .contact h2 { margin: 0; font-size: clamp(2.8rem, 6.5vw, 7.2rem); line-height: .95; letter-spacing: -.055em; max-width: 13ch; font-weight: 500; }
.statement-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .7fr); gap: 12vw; align-items: start; margin: 6rem 0 0 28vw; }
.statement-meta > p { margin: 0; max-width: 37rem; color: var(--muted); font-size: 1.15rem; line-height: 1.55; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); } dd { margin: 0; }
.work { padding: 0 var(--pad) 8rem; }
.work-head { border-top: 1px solid var(--line); padding-top: 1.3rem; margin-bottom: 5rem; }
.work-head h2 { font-size: clamp(2.6rem, 5.4vw, 6rem); line-height: .96; letter-spacing: -.05em; font-weight: 500; margin: 0; }
.project { display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(17rem, 24rem); gap: 1.2rem; padding: 1.2rem 0 5rem; border-top: 1px solid var(--line); }
.project-number { font-size: .78rem; color: var(--accent); }
.project-visual { aspect-ratio: 16/9; overflow: hidden; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) { .project:hover .project-visual img { transform: scale(1.025); } }
.project-copy h3 { margin: 0 0 1rem; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; }
.project-copy p { margin: 0 0 1rem; color: var(--muted); line-height: 1.5; }
.field-graphic { min-height: 28rem; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); position: relative; overflow: hidden; background: #141819; }
.field-graphic span { border-right: 1px solid var(--line); background: linear-gradient(180deg, transparent 0 52%, rgba(240,75,35,.82) 52% 54%, transparent 54%); transform: skewY(-8deg); }
.field-graphic b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: clamp(5rem, 13vw, 12rem); letter-spacing: -.08em; color: var(--accent); font-weight: 500; }
.type-graphic { min-height: 28rem; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: clamp(10rem, 28vw, 28rem); line-height: .7; letter-spacing: -.16em; overflow: hidden; }
.type-graphic span { color: var(--accent); }
.contact { border-top: 1px solid var(--line); }
.contact h2 { max-width: 12ch; }
.contact > a { display: inline-flex; gap: 1rem; margin-top: 4rem; font-size: clamp(1.4rem, 2.4vw, 2.6rem); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .6rem; }
.contact > a span { color: var(--accent); }
footer { min-height: 90px; padding: 1.3rem var(--pad); border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); 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 settle { from { scale: 1.06; filter: saturate(.5); } to { scale: 1; filter: saturate(.82); } }
@keyframes rise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; height: 64px; }
  .nav nav { gap: 1rem; }
  .place { display: none; }
  .hero { min-height: 100svh; padding-top: 7rem; }
  .hero-image { object-position: 62% center; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 6rem); line-height: .86; max-width: 7.5ch; }
  .intro { max-width: 18rem; }
  .datum, .image-note { display: none; }
  .statement-meta { grid-template-columns: 1fr; margin: 4rem 0 0; gap: 3rem; }
  .project { grid-template-columns: 2.8rem 1fr; }
  .project > :nth-child(2), .project-copy { grid-column: 2; }
  .project-number { grid-column: 1; grid-row: 1 / span 2; }
  .field-graphic, .type-graphic { min-height: 20rem; }
  footer { flex-direction: column; gap: .8rem; }
}
@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; }
}
