:root {
  --ink: #101010;
  --paper: #f1efe8;
  --blue: #2369ff;
  --blue-deep: #0a35a8;
  --acid: #d8ff43;
  --line: rgba(16, 16, 16, 0.22);
  --pad: clamp(22px, 4vw, 64px);
  --display: "Arial Narrow", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.055em; }
figure { margin: 0; }

.skip-link { position: fixed; z-index: 100; left: 12px; top: -100px; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 var(--pad);
  color: white;
  background: #0b0b0b;
  border-bottom: 1px solid #333;
  font: 11px/1 var(--mono);
  letter-spacing: .08em;
}
.brand, .site-nav a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 28px; height: 28px; place-items: center; color: #0b0b0b; background: var(--acid); font-weight: 800; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { opacity: .68; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  min-height: calc(100svh - 58px);
  padding: clamp(44px, 7vh, 90px) var(--pad) var(--pad);
  overflow: hidden;
  background: var(--paper);
}
.eyebrow { font: 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero-copy { align-self: center; position: relative; z-index: 2; max-width: 720px; }
.hero h1 { margin: 25px 0 30px; font-size: clamp(82px, 10vw, 172px); line-height: .75; }
.hero-lead { max-width: 580px; font-size: clamp(17px, 1.55vw, 24px); line-height: 1.65; }
.text-link { display: inline-flex; gap: 20px; margin-top: 34px; padding-bottom: 7px; border-bottom: 1px solid; font: 12px/1 var(--mono); text-decoration: none; }

.hero-gallery { position: relative; min-height: 660px; }
.hero-frame { position: absolute; padding: 8px; color: white; background: #101010; box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.hero-frame img { height: 100%; object-fit: cover; }
.hero-frame figcaption { padding: 9px 2px 2px; font: 9px/1 var(--mono); letter-spacing: .1em; }
.hero-frame--wide { top: 4%; right: -8%; width: 76%; transform: rotate(2deg); }
.hero-frame--phone { z-index: 2; bottom: 3%; left: 6%; width: 25%; transform: rotate(-4deg); }
.hero-frame--phone img { aspect-ratio: .462; }
.hero-frame--small { z-index: 1; right: 3%; bottom: 8%; width: 49%; transform: rotate(-1deg); }
.hero-frame--small img { aspect-ratio: 2; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); color: white; background: var(--blue); border-top: 1px solid #0f42bd; border-bottom: 1px solid #0f42bd; }
.proof-strip div { display: flex; min-height: 112px; padding: 22px var(--pad); flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.35); }
.proof-strip strong { font-size: clamp(18px, 2vw, 30px); letter-spacing: -.04em; }
.proof-strip span { font: 10px/1.4 var(--mono); letter-spacing: .08em; }

.project-index { display: grid; grid-template-columns: 1fr 2fr; padding: 100px var(--pad); border-bottom: 1px solid var(--line); }
.project-index h2 { margin-top: 12px; font-size: clamp(50px, 6vw, 96px); }
.project-index ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.project-index li { border-bottom: 1px solid var(--line); }
.project-index a { display: grid; grid-template-columns: 68px 1fr; padding: 17px 8px; font-size: clamp(16px, 1.5vw, 22px); text-decoration: none; transition: color .2s, background .2s; }
.project-index a:hover { color: white; background: var(--blue); }
.project-index a span { font: 11px/2 var(--mono); }

.project { position: relative; padding: clamp(74px, 10vw, 148px) var(--pad); border-bottom: 1px solid var(--line); scroll-margin-top: 58px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 50px; font: 10px/1.3 var(--mono); letter-spacing: .11em; }
.award { padding: 8px 10px; color: var(--ink); background: var(--acid); border: 1px solid var(--ink); font-weight: 700; }
.project h2 { font-size: clamp(64px, 9vw, 148px); line-height: .82; }
.project-lead { margin: 28px 0 18px; font-size: clamp(21px, 2.2vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.project-copy > p:not(.eyebrow):not(.project-lead) { max-width: 650px; font-size: 16px; line-height: 1.8; }
.facts { margin: 34px 0; border-top: 1px solid currentColor; }
.facts div { display: grid; grid-template-columns: 105px 1fr; padding: 13px 0; border-bottom: 1px solid currentColor; }
.facts dt { font: 10px/1.6 var(--mono); letter-spacing: .1em; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.6; }
.button { display: inline-flex; justify-content: space-between; gap: 56px; min-width: 250px; padding: 17px 18px; color: white; background: var(--ink); border: 1px solid var(--ink); font: 12px/1 var(--mono); text-decoration: none; transition: color .2s, background .2s; }
.button:hover, .button:focus-visible { color: var(--ink); background: var(--acid); }
.button--outline { margin-top: 32px; color: white; background: transparent; border-color: white; }

.project--mbti { display: grid; grid-template-columns: .7fr .95fr 1.2fr; gap: clamp(25px, 4vw, 70px); align-items: center; color: white; background: var(--blue); }
.project--mbti .project-meta { align-self: start; flex-direction: column; align-items: flex-start; margin: 0; }
.project--mbti .facts { color: rgba(255,255,255,.9); }
.phone-pair { display: flex; justify-content: center; gap: 4%; align-items: flex-end; }
.phone-pair figure { width: 45%; padding: 6px; background: #111; border-radius: 9% / 4.2%; box-shadow: 0 28px 54px rgba(0,0,0,.27); }
.phone-pair figure:first-child { transform: translateY(-7%) rotate(-2deg); }
.phone-pair figure:last-child { transform: translateY(7%) rotate(2deg); }
.phone-pair img { border-radius: 8% / 3.8%; }

.project--split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 7vw, 110px); align-items: center; }
.project-visual { position: relative; padding: clamp(22px, 4vw, 56px); }
.visual-blue { background: var(--blue); }
.project-visual img { box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.visual-label { position: absolute; left: 12px; bottom: 12px; padding: 8px; color: white; background: #111; font: 9px/1 var(--mono); }

.project--dark { color: white; background: #0b0b0b; }
.project--dark h2 { font-size: clamp(78px, 12vw, 190px); }
.project--dark .project-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 72px; }
.project--dark .project-heading .project-meta { grid-column: 1 / -1; margin: 0; }
.art-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 18px; align-items: start; }
.art-earth figcaption { padding-top: 12px; color: #aaa; font: 10px/1.5 var(--mono); }
.art-stage img { height: clamp(420px, 62vw, 900px); object-fit: cover; }
.project-note { display: grid; grid-template-columns: minmax(100px, .35fr) 1fr; gap: 40px; max-width: 900px; margin-top: 48px; padding-top: 18px; border-top: 1px solid currentColor; }
.project-note span { font: 10px/1.6 var(--mono); letter-spacing: .1em; }
.project-note p { font-size: 16px; line-height: 1.8; }

.project--dolphin { color: white; background: var(--blue-deep); }
.project-heading--row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 65px; }
.project--dolphin h2 { font-size: clamp(72px, 10vw, 170px); }
.project--dolphin h2 em { color: var(--acid); font-style: normal; }
.project--dolphin .project-heading p:last-child { max-width: 520px; font-size: 16px; line-height: 1.8; }
.video-shell { position: relative; background: #050505; border: 1px solid rgba(255,255,255,.4); }
.video-shell video { aspect-ratio: 2; object-fit: cover; }
.video-tag { position: absolute; left: 12px; top: 12px; padding: 8px; color: #0b0b0b; background: var(--acid); font: 9px/1 var(--mono); }

.project--milou { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(45px, 8vw, 130px); align-items: center; color: #1c160d; background: #d9b77b; }
.milou-collage { position: relative; min-height: 730px; }
.milou-wide { position: absolute; left: 0; top: 0; width: 88%; border: 8px solid #f5e8d0; box-shadow: 18px 22px 0 rgba(50,27,3,.18); }
.milou-square { position: absolute; right: 0; bottom: 0; width: 49%; border: 8px solid #f5e8d0; transform: rotate(3deg); }
.milou-square img { aspect-ratio: 1; object-fit: cover; }
.button--light { color: var(--ink); background: #f5e8d0; }

.project--course { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 7vw, 110px); color: white; background: #121212; align-items: center; }
.project--course h2 { font-size: clamp(58px, 7vw, 114px); }
.course-copy > p:not(.project-lead) { max-width: 610px; font-size: 16px; line-height: 1.8; }
.course-copy .button { color: #111; background: var(--acid); }
.course-copy .button:hover { background: white; }
.course-window { overflow: hidden; height: min(720px, 70vw); background: white; border: 1px solid #555; }
.browser-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; color: #111; background: #e9e9e9; border-bottom: 1px solid #bbb; }
.browser-bar i { width: 8px; height: 8px; background: #111; border-radius: 50%; }
.browser-bar span { margin-left: auto; font: 8px/1 var(--mono); }
.course-window img { object-position: top; }

.timeline { padding: clamp(80px, 10vw, 150px) var(--pad); background: var(--acid); }
.timeline-head { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; margin-bottom: 70px; }
.timeline h2 { max-width: 850px; font-size: clamp(56px, 8vw, 130px); line-height: .86; }
.timeline ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.timeline li { min-height: 250px; padding: 18px 22px; border-right: 1px solid var(--ink); }
.timeline li:last-child { border: 0; }
.timeline li span { display: block; margin-bottom: 50px; font: 11px/1 var(--mono); }
.timeline li strong { display: block; margin-bottom: 14px; font-size: 24px; }
.timeline li p { font-size: 14px; line-height: 1.7; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 130px var(--pad); color: white; background: var(--blue); }
.about-logo { padding: clamp(30px, 5vw, 70px); background: white; }
.about h2 { margin: 14px 0 28px; font-size: clamp(76px, 10vw, 160px); }
.about p:last-child { max-width: 650px; font-size: clamp(18px, 2vw, 28px); line-height: 1.6; }
footer { display: flex; justify-content: space-between; padding: 26px var(--pad); color: white; background: #0b0b0b; font: 10px/1 var(--mono); letter-spacing: .08em; }
footer a { text-decoration: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-gallery { min-height: 610px; }
  .hero-frame--wide { right: 0; width: 76%; }
  .project--mbti { grid-template-columns: .4fr 1fr; }
  .project--mbti .phone-pair { grid-column: 1 / -1; max-width: 720px; margin: 70px auto 0; }
  .project--milou { grid-template-columns: 1fr; }
  .milou-collage { min-height: 680px; }
  .project--course { grid-template-columns: 1fr; }
  .course-window { height: 680px; }
}

@media (max-width: 760px) {
  .site-header { padding: 0 16px; }
  .site-nav { gap: 14px; }
  .site-nav a:last-child { display: none; }
  .brand { font-size: 9px; }
  .hero { display: block; min-height: 0; padding-top: 68px; }
  .hero h1 { font-size: clamp(78px, 27vw, 118px); }
  .hero-copy, .hero-lead { max-width: 100%; }
  .hero-gallery { min-height: 430px; margin-top: 50px; }
  .hero-frame--wide { top: 0; width: 92%; }
  .hero-frame--phone { bottom: 0; left: 0; width: 30%; }
  .hero-frame--small { right: 0; bottom: 8%; width: 54%; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div { min-height: 105px; border-bottom: 1px solid rgba(255,255,255,.35); }
  .project-index { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 70px; }
  .project-index a { grid-template-columns: 48px 1fr; }
  .project { padding-top: 78px; padding-bottom: 78px; }
  .project h2 { font-size: clamp(58px, 20vw, 90px); }
  .project-meta { margin-bottom: 34px; }
  .project--mbti { grid-template-columns: 1fr; }
  .project--mbti .project-meta { flex-direction: row; align-items: center; }
  .phone-pair { margin-top: 40px !important; }
  .project--split { grid-template-columns: 1fr; }
  .project--split .project-copy { order: -1; }
  .project--dark .project-heading, .project-heading--row { grid-template-columns: 1fr; gap: 20px; }
  .project--dark h2, .project--dolphin h2 { font-size: clamp(68px, 23vw, 104px); }
  .art-grid { grid-template-columns: 1fr; }
  .art-stage { display: none; }
  .video-shell video { aspect-ratio: 1.35; }
  .milou-collage { min-height: 440px; }
  .project--course h2 { font-size: clamp(54px, 17vw, 82px); }
  .course-window { height: 520px; }
  .timeline-head { grid-template-columns: 1fr; gap: 20px; }
  .timeline ol { grid-template-columns: 1fr; }
  .timeline li { min-height: 220px; border-bottom: 1px solid var(--ink); }
  .about { grid-template-columns: 1fr; gap: 60px; padding-top: 90px; padding-bottom: 90px; }
  footer { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
