:root {
  --bone: #e6e1d6;
  --bone-2: #d8d2c4;
  --ink: #100f0e;
  --ink-2: #1c1a18;
  --flame: #ee7f16;
  --blood: #c22b1a;
  --muted: #6d675d;
  --pad: clamp(20px, 4.4vw, 68px);
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Inter Tight", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bone); }
body { margin: 0; color: var(--ink); background: var(--bone); font: 400 18px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-optical-sizing: none; font-variation-settings: "opsz" 18; text-wrap: balance; }
h2 { font-size: clamp(44px, 6.8vw, 112px); line-height: .98; font-style: italic; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
cite { display: block; margin-top: 10px; font: 500 15px/1.3 var(--sans); color: var(--muted); }
ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blood); outline-offset: 3px; }

.demo { position: fixed; inset: 0 0 auto; z-index: 30; padding: 6px var(--pad); background: var(--ink); color: var(--bone); font-size: 13px; line-height: 1.3; text-align: center; }

.top { position: fixed; top: 29px; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px var(--pad); font-size: 16px; font-weight: 500; background: var(--bone); color: var(--ink); }
.top a { text-decoration: none; }
.top nav { display: flex; gap: 24px; }

.hero { position: relative; height: 240svh; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.word { position: absolute; top: 9svh; left: 0; right: 0; margin: 0; text-align: center; font: 800 18.4vw/.9 var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 11; letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.art { position: absolute; left: 50%; bottom: 0; width: min(47svh, 72vw); aspect-ratio: 9 / 16; transform: translateX(-50%); }
.art-still, .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-still { object-fit: cover; }
.live .art-still { visibility: hidden; }
.hero-left { position: absolute; left: var(--pad); bottom: 34px; max-width: 24vw; }
.hero-left h1 { font-size: clamp(22px, 2vw, 30px); font-family: var(--sans); font-weight: 500; line-height: 1.15; }
.hero-right { position: absolute; right: var(--pad); bottom: 34px; display: grid; justify-items: end; gap: 14px; text-align: right; font-size: 16px; line-height: 1.25; }
.hero-right b { font: 800 34px/1 var(--serif); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--ink); color: var(--bone); font-weight: 600; font-size: 17px; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--blood); }
.btn.wide { width: 100%; }

.line { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: 130px var(--pad); background: var(--ink); color: var(--bone); }
.line > p:first-child { font: italic 500 clamp(46px, 7.4vw, 124px)/.98 var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; }
.small { font-size: 18px; }
.line cite { color: #a49c8e; }

.works { padding: 120px var(--pad); background: var(--ink); color: var(--bone); }
.works-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 54px; }
.works-head h2 { max-width: 12ch; }
.works-head p { color: #a49c8e; }
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.wall figure { margin: 0; overflow: hidden; aspect-ratio: 9 / 15; background: var(--ink-2); }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.wall figure:hover img { transform: scale(1.05); }
.wall .a { grid-column: 1 / 5; }
.wall .b { grid-column: 5 / 9; margin-top: 110px; }
.wall .c { grid-column: 9 / 13; margin-top: -30px; }
.wall .d { grid-column: 2 / 5; }
.wall .e { grid-column: 5 / 9; margin-top: 70px; }
.wall .f { grid-column: 9 / 12; margin-top: -40px; }

.cover { padding: 130px var(--pad); background: var(--flame); }
.cover h2 { max-width: 13ch; margin-bottom: 56px; }
.cover-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
blockquote { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); font: 500 clamp(21px, 1.9vw, 27px)/1.22 var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 11; }
.cover cite { color: var(--ink); }

.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; padding: 130px var(--pad); }
.steps-side { position: sticky; top: 90px; align-self: start; }
.steps-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); }
.steps li { display: grid; gap: 8px; padding: 26px 0 32px; border-top: 1px solid var(--ink); }
.steps span { font: italic 800 clamp(40px, 5vw, 76px)/1 var(--serif); }
.steps p { max-width: 42ch; font-size: 20px; }

.idea { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding: 120px var(--pad); background: var(--bone-2); }
.idea > div { display: grid; gap: 16px; align-content: start; }
.idea > div p { color: var(--muted); max-width: 36ch; }
form { display: grid; gap: 22px; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
fieldset label { cursor: pointer; }
fieldset input { position: absolute; opacity: 0; }
fieldset span { display: flex; align-items: center; min-height: 46px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--ink); }
fieldset input:checked + span { background: var(--ink); color: var(--bone); }
fieldset input:focus-visible + span { outline: 2px solid var(--blood); outline-offset: 2px; }
.field { display: grid; gap: 10px; font-weight: 600; }
.field input { min-height: 50px; padding: 0 14px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 400; }
.field input::placeholder { color: var(--muted); }
output { display: block; padding: 14px; background: var(--bone); color: #4f4a42; font-size: 16px; }

.place { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 26px; padding: 80px var(--pad); background: var(--ink); color: var(--bone); }
.place h2 { font-size: clamp(32px, 4.2vw, 66px); margin-bottom: 10px; }
.place .view { margin-top: 18px; font: italic 500 20px/1.3 var(--serif); }
.place cite { color: #a49c8e; }
.place-links { display: grid; gap: 8px; text-align: right; }

footer { padding: 22px var(--pad) 36px; background: var(--ink); color: #a49c8e; font-size: 14px; border-top: 1px solid #2d2a26; }
.float { display: none; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .demo { font-size: 12px; }
  .top { top: 42px; padding-block: 10px; }
  .top nav { display: none; }
  .hero { height: 190svh; }
  .word { top: 13svh; font-size: 18.6vw; }
  .art { bottom: 128px; width: min(38svh, 62vw); }
  .hero-left { left: var(--pad); right: var(--pad); bottom: 80px; max-width: none; }
  .hero-left h1 { font-size: 21px; }
  .hero-right { left: var(--pad); right: var(--pad); bottom: 18px; display: flex; justify-content: space-between; align-items: center; text-align: left; font-size: 14px; }
  .hero-right b { font-size: 24px; }
  .hero-right .btn { min-height: 46px; padding: 0 16px; font-size: 15px; }
  .line, .steps, .idea { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .line, .works, .cover, .steps, .idea { padding-block: 84px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wall figure { grid-column: auto !important; margin-top: 0 !important; }
  .wall figure:nth-child(even) { transform: translateY(26px); }
  .cover-list { grid-template-columns: minmax(0, 1fr); }
  .steps-side { position: static; }
  .place-links { text-align: left; }
  .past .float { display: inline-flex; }
  .float { position: fixed; right: 16px; bottom: 16px; z-index: 25; align-items: center; min-height: 48px; padding: 0 20px; background: var(--blood); color: #fff; font-weight: 600; text-decoration: none; }
  footer { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wall img, .btn { transition: none; }
  .hero { height: 100svh; }
}
