:root {
  --bg: #f4f4f2;
  --ink: #121211;
  --muted: #8a8983;
  --soft: #6d6c66;
  --line: #dcdcd6;
  --pill: #eaeae6;
  --pill-hover: #e0e0db;
  --dot: #c9c9c2;
  --green: #2f9e5b;
  --pad: clamp(16px, 2.25vw, 32px);
  --sans: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.3px);
  background-size: 50px 50px;
  background-position: 25px 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-left, .nav-right { display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--pill); font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  transition: background .25s var(--ease), transform .25s var(--ease);
  backdrop-filter: none;
}
a.pill:hover { background: var(--pill-hover); }
a.pill:active { transform: scale(.97); }
.pill-status { background: var(--pill); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,158,91,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,158,91,.45); } 70% { box-shadow: 0 0 0 8px rgba(47,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,91,0); } }

/* ---------- hero ---------- */
.hero { padding: clamp(120px, 18vh, 190px) var(--pad) 0; }
.hero-title {
  font-weight: 500; text-transform: uppercase; letter-spacing: -.035em; line-height: .9;
  white-space: nowrap; font-size: 9vw;
}
.hero-title .rise { display: inline-block; transform: translateY(40%); opacity: 0; animation: rise .9s var(--ease) forwards; }
.hero-title .rise:nth-child(2) { animation-delay: .08s; }
.hero-title .rise:nth-child(3) { animation-delay: .16s; }
@keyframes rise { to { transform: none; opacity: 1; } }
.hero-sub { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 22px; gap: 24px; }
.copy {
  font: inherit; font-size: 17px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; gap: 10px; align-items: baseline;
}
.copy:hover .copy-text { color: var(--ink); }
.copy-text { transition: color .2s; }
.copy-done { font-family: var(--mono); font-size: 12px; color: var(--green); text-transform: uppercase; letter-spacing: .04em; }
.hero-aside { text-align: right; text-transform: uppercase; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: .005em; }

/* ---------- intro ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 8vw; align-items: end;
  padding: clamp(110px, 18vh, 170px) var(--pad) clamp(120px, 20vh, 200px);
}
.lede { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.03em; color: var(--muted); max-width: 18em; }
.lede em { font-style: normal; }
.lede .w { transition: color .35s linear, opacity .35s linear; opacity: .28; }
.lede .w.on { opacity: 1; }
.lede .w.hl.on { color: var(--ink); }
.label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); margin-bottom: 12px; }
.expertise ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.expertise li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }

/* ---------- section heads ---------- */
.sec-head { padding: 0 var(--pad); }
.sec-head h2 { font-size: clamp(40px, 3.6vw, 52px); line-height: .95; letter-spacing: -.035em; font-weight: 500; text-transform: uppercase; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-note { text-transform: uppercase; font-size: 15px; font-weight: 500; padding-bottom: 4px; }
.work .sec-head, .list .sec-head { padding-bottom: 14px; margin: 0 var(--pad); padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }

/* ---------- work tiles ---------- */
.work { padding-bottom: clamp(80px, 14vh, 160px); }
.tiles {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--pad); row-gap: clamp(60px, 10vh, 120px);
  padding: clamp(70px, 10vh, 110px) var(--pad) 0;
}
.tile { display: flex; flex-direction: column; }
.t1 { grid-column: 1 / span 7; }
.t2 { grid-column: 9 / span 4; margin-top: 30vh; }
.t3 { grid-column: 2 / span 6; }
.t4 { grid-column: 8 / span 5; margin-top: 18vh; }
.tile-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 12px; }
.tile-head h3 { font-size: clamp(28px, 2.5vw, 36px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.tile-head p { max-width: 15em; text-align: right; color: var(--muted); font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.cover { display: block; border-radius: 14px; overflow: hidden; position: relative; isolation: isolate; aspect-ratio: 4 / 3; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .cover img { transform: scale(1.035); }
.cover-blue { background: linear-gradient(135deg, #d9e2ff, #f6e1d0); }
.cover-sun { background: #fbe9a6; aspect-ratio: 4 / 5; }
.cover-lilac { background: #e6e3f7; }
.cover-night { background: #14152a; }
.tile-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.tile-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); }

/* ---------- lists ---------- */
.list { padding-bottom: clamp(90px, 16vh, 170px); }
.rows { margin: 0 var(--pad); }
.rows li {
  display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 5fr) minmax(90px, 1fr); gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.rows .n { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.rows .t { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.rows .t small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: -.01em; margin-top: 2px; }
.rows .d { color: var(--muted); font-size: 16px; line-height: 1.45; }
.rows .m { text-align: right; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.rows li:hover .t { transform: translateX(6px); }
.rows .t { transition: transform .4s var(--ease); }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: end;
  padding: 0 var(--pad) clamp(110px, 18vh, 190px);
}
.portrait { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #2a2f3a; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--soft); max-width: 34em; margin-bottom: 14px; }
.about-text .about-lead { color: var(--ink); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.22; letter-spacing: -.03em; margin-bottom: 24px; max-width: 20em; }

/* ---------- footer ---------- */
.foot { padding: 0 var(--pad); overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.foot-links { display: flex; gap: 20px; }
.foot a:hover { color: var(--ink); }
.mark { font-weight: 500; letter-spacing: -.05em; line-height: .78; white-space: nowrap; padding: 6vw 0 0; font-size: 26vw; }
.mark .ch { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.mark.in .ch { transform: none; }

/* ---------- reveal ---------- */
.io { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.io.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-left .pill:not(.pill-name) { display: none; }
  .intro { grid-template-columns: 1fr; gap: 64px; }
  .tiles { grid-template-columns: 1fr; }
  .t1, .t2, .t3, .t4 { grid-column: 1 / -1; margin-top: 0; }
  .cover-sun { aspect-ratio: 4 / 3; }
  .rows li { grid-template-columns: 44px minmax(0, 1fr); }
  .rows .d { grid-column: 2; }
  .rows .m { grid-column: 2; text-align: left; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}
@media (max-width: 700px) {
  .hero-title { white-space: normal; font-size: 17.5vw; line-height: .88; }
  .hero-title .rise { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pill { height: 38px; padding: 0 14px; font-size: 15px; }
  .nav-right .pill:not(.pill-status) { display: none; }
  .hero-sub { flex-direction: column; }
  .hero-aside { text-align: left; }
  .tile-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tile-head p { text-align: left; }
  .sec-head.row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-row { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .io, .hero-title .rise, .mark .ch { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .lede .w { opacity: 1; }
  .lede .w.hl { color: var(--ink); }
  .dot { animation: none; }
}
