:root {
  --paper: #efebe3;
  --paper-2: #e6e1d6;
  --ink: #151513;
  --ink-soft: #5b5850;
  --line: rgba(21, 21, 19, .16);
  --accent: #e0461b;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--paper); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }

/* paper grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #fff;
}
.mark { display: inline-flex; align-items: baseline; gap: 12px; }
.mark-glyph { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.mark-glyph em { font-style: normal; opacity: .55; }
.mark-name { font-family: var(--serif); font-size: 22px; line-height: 1; }
.top-nav { display: flex; gap: 28px; font-size: 14px; }
.top-nav a { position: relative; }
.top-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.top-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-meta { justify-self: end; font-size: 11px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 40px;
  overflow: hidden;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; width: 100%; pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.kicker { color: var(--ink-soft); margin: 0 0 3vh; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 14.5vw, 260px);
  line-height: .86; letter-spacing: -.035em;
  margin: 0;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .indent { padding-left: 12vw; }
.hero-title em { color: var(--accent); }
.hero-title .word { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .hero-title .word { transform: none; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: 6vh; padding-top: 18px; border-top: 1px solid var(--line);
}
.hero-lede { max-width: 30ch; margin: 0; font-size: clamp(16px, 1.4vw, 20px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue svg { animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--paper);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 4vw; padding: 18px 0;
  font-family: var(--serif); font-size: clamp(28px, 4vw, 56px); line-height: 1;
  animation: slide 38s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--accent); font-size: .6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 16vh, 200px) var(--gutter); }
.section-head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-bottom: clamp(48px, 9vh, 110px); }
.label { color: var(--ink-soft); padding-top: .9em; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(40px, 6.4vw, 108px); line-height: .95; letter-spacing: -.025em;
}
.section-head h2 em { color: var(--ink-soft); }

/* disciplines */
.disciplines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.disc {
  position: relative; padding: 36px 32px 44px 0; min-height: 360px;
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--ink);
  transition: background .6s var(--ease), color .6s var(--ease);
}
.disc + .disc { border-left: 1px solid var(--ink); padding-left: 32px; }
.disc-num { color: var(--accent); }
.disc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 72px); line-height: 1; margin: 40px 0 18px; letter-spacing: -.02em; }
.disc p { max-width: 36ch; margin: 0; color: var(--ink-soft); font-size: 17px; transition: color .6s var(--ease); }
.disc-tags { margin-top: auto; padding-top: 32px; }
.disc-arrow { position: absolute; top: 28px; right: 28px; font-size: 28px; transition: transform .6s var(--ease); }
.disc:hover { background: var(--ink); color: var(--paper); }
.disc:hover p { color: rgba(239,235,227,.65); }
.disc:hover .disc-arrow { transform: rotate(45deg); color: var(--accent); }
.disc:first-child:hover { padding-left: 24px; }
.disc:first-child { transition: background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease); }

/* statement */
.statement { padding: clamp(80px, 14vh, 180px) var(--gutter); background: var(--paper-2); }
.statement-text {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--serif); font-size: clamp(36px, 5.6vw, 96px); line-height: 1.02; letter-spacing: -.02em;
  text-align: center;
}
.statement-text .w { opacity: .14; transition: opacity .4s linear; }
.statement-text .w.on { opacity: 1; }

/* atelier */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.person { display: flex; flex-direction: column; gap: 18px; }
.person-plate {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
.person-plate.alt { background: var(--accent); color: var(--ink); }
.person-plate span { font-family: var(--serif); font-style: italic; font-size: clamp(120px, 20vw, 320px); line-height: 1; letter-spacing: -.06em; transition: transform 1.2s var(--ease); }
.person-plate::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.08) 3px 4px);
}
.person:hover .person-plate span { transform: scale(1.08) rotate(-3deg); }
.person h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 48px); line-height: 1; margin: 0 0 8px; }
.person p { margin: 0; color: var(--ink-soft); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(56px, 10vh, 120px) 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; }
.facts dt { color: var(--ink-soft); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink); }

/* contact */
.contact {
  background: var(--ink); color: var(--paper);
  padding: clamp(96px, 18vh, 220px) var(--gutter);
}
.contact .label { color: rgba(239,235,227,.55); display: block; margin-bottom: 4vh; }
.contact-link { display: block; }
.contact-line {
  display: block; font-family: var(--serif); font-size: clamp(64px, 13vw, 230px); line-height: .9; letter-spacing: -.035em;
  transition: color .5s var(--ease), transform .8s var(--ease);
}
.contact-link:hover .contact-line { color: var(--accent); transform: translateX(1.5vw); font-style: italic; }
.contact-mail { display: inline-block; margin-top: 4vh; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 0 var(--gutter) 24px; overflow: hidden; }
.foot-big {
  font-family: var(--serif); font-size: 19.5vw; line-height: .78; letter-spacing: -.05em;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(239,235,227,.28);
  margin: 0 -.02em; padding-top: 4vh; user-select: none;
}
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(239,235,227,.18); color: rgba(239,235,227,.7); }
.foot-row a:hover { color: var(--accent); }

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

/* ---------- legal page ---------- */
.legal { padding: 140px var(--gutter) 120px; max-width: 1100px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 140px); line-height: .9; letter-spacing: -.03em; margin: 0 0 8vh; }
.legal section { display: grid; grid-template-columns: 1fr 2.4fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-soft); margin: 4px 0 0; }
.legal p { margin: 0 0 10px; font-size: 17px; max-width: 60ch; }
.legal dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; font-size: 16px; }
.legal dt { color: var(--ink-soft); }
.legal dd { margin: 0; }
.legal a { border-bottom: 1px solid var(--line); }
.legal a:hover { border-color: var(--accent); color: var(--accent); }
.back { display: inline-block; margin-bottom: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .top { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .mark-name { font-size: 19px; }
  .hero-title { font-size: 19vw; }
  .hero-title .indent { padding-left: 6vw; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .disciplines { grid-template-columns: 1fr; }
  .disc { min-height: 0; padding: 28px 0 36px; }
  .disc + .disc { border-left: 0; padding-left: 0; }
  .disc:first-child:hover { padding-left: 0; }
  .disc:hover { background: transparent; color: inherit; }
  .disc:hover p { color: var(--ink-soft); }
  .people { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-bottom: 1px solid var(--line); }
  .legal section { grid-template-columns: 1fr; gap: 12px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
}
