@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@1,500&display=swap');

:root {
  --ink: #181915;
  --paper: #f0eee7;
  --acid: #c9ff18;
  --muted: #77786f;
  --line: rgba(24,25,21,.22);
  --pad: clamp(1.25rem, 3.2vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.grain {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-header {
  height: 88px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: relative; z-index: 30; background: var(--paper);
}
.brand { font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 600; letter-spacing: -.1em; line-height: 1; }
.brand span { color: #ff4c20; }
nav { display: flex; gap: 2.5rem; font: .74rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
nav a, footer a { position: relative; }
nav a::after, footer div a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
nav a:hover::after, footer div a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: calc(100svh - 88px); padding: 1.5rem var(--pad) 2.5rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-kicker { display: flex; justify-content: space-between; text-transform: uppercase; font: .68rem "DM Mono", monospace; letter-spacing: .12em; }
.hero h1 { position: relative; z-index: 2; margin: auto 0; font-size: clamp(4.4rem, 12.7vw, 13rem); font-weight: 500; letter-spacing: -.085em; line-height: .75; max-width: 95%; }
.hero h1 em, h2 em { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-foot { display: flex; align-items: end; justify-content: space-between; position: relative; z-index: 2; }
.hero-foot p { max-width: 36rem; margin: 0; font-size: clamp(.9rem, 1.35vw, 1.15rem); line-height: 1.45; }
.round-link { width: 108px; aspect-ratio: 1; border-radius: 50%; background: var(--acid); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .6rem; text-transform: uppercase; font: .65rem "DM Mono", monospace; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.round-link:hover { transform: rotate(-8deg) scale(1.08); }
.round-link .arrow { font-size: 1.3rem; }

.air-shape { position: absolute; width: clamp(240px, 38vw, 570px); height: clamp(230px, 40vw, 600px); right: 8vw; top: 19%; filter: blur(1px); opacity: .76; }
.air-shape i { position: absolute; border-radius: 48% 52% 63% 37% / 39% 42% 58% 61%; border: 1px solid rgba(24,25,21,.4); animation: drift 8s ease-in-out infinite alternate; }
.air-shape i:nth-child(1) { inset: 4%; background: rgba(201,255,24,.35); }
.air-shape i:nth-child(2) { inset: 12%; animation-delay: -1s; }
.air-shape i:nth-child(3) { inset: 22%; background: rgba(255,76,32,.08); animation-delay: -2s; }
.air-shape i:nth-child(4) { inset: 33%; animation-delay: -3s; }
.air-shape i:nth-child(5) { inset: 45%; background: var(--acid); animation-delay: -4s; }
@keyframes drift { to { transform: rotate(17deg) scale(1.07) translate(8px, -5px); border-radius: 60% 40% 35% 65% / 48% 64% 36% 52%; } }

.ticker { border-block: 1px solid var(--ink); overflow: hidden; background: var(--acid); padding: .75rem 0; font: .72rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.ticker-track { width: max-content; display: flex; gap: 2.5rem; align-items: center; animation: marquee 28s linear infinite; }
.ticker b { font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.exhibitions, .manifesto, .visit { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.section-head { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.eyebrow { font: .67rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.section-head h2, .manifesto h2 { font-size: clamp(3.1rem, 7.7vw, 8rem); font-weight: 500; letter-spacing: -.07em; line-height: .85; margin: 0; }

.work-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 1.15rem; align-items: start; }
.work-card { cursor: crosshair; }
.work-card:nth-child(3) { margin-top: 9vw; }
.work-visual { position: relative; height: clamp(340px, 45vw, 620px); overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.work-card:not(.work-card--hero) .work-visual { height: clamp(300px, 34vw, 470px); }
.work-card:hover .work-visual, .work-card:focus .work-visual { transform: scale(.985); }
.work-card:focus { outline: none; }
.visual-bag { background: #b3c9df; display: grid; place-items: center; }
.bag { width: 45%; aspect-ratio: .75; display: grid; place-items: center; text-align: center; border: 1px solid rgba(255,255,255,.8); background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.08)); box-shadow: inset 0 0 30px rgba(255,255,255,.25), 0 20px 45px rgba(27,48,68,.16); font: 500 clamp(1.4rem, 3vw, 3rem)/.9 "DM Mono", monospace; transform: rotate(-5deg); clip-path: polygon(8% 0,92% 0,96% 100%,4% 100%); }
.tag { position: absolute; left: 1rem; bottom: 1rem; font: .58rem "DM Mono", monospace; text-transform: uppercase; }
.visual-brick { background: #d8d1c5; }
.pedestal { position: absolute; width: 38%; height: 47%; left: 30%; bottom: 0; background: #ece9e1; box-shadow: -12px 10px 28px rgba(31,24,16,.1); perspective: 500px; }
.brick { position: absolute; width: 55%; aspect-ratio: 1.65; left: 22%; top: -16%; background: #a2402a; transform: rotate(-4deg) skewY(2deg); box-shadow: 9px 12px 18px rgba(58,25,15,.25); }
.wall-label { position: absolute; right: 7%; top: 15%; font: .45rem/1.4 "DM Mono", monospace; }
.visual-loading { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.visual-loading p { text-align: center; font: 1rem/1.35 "DM Mono", monospace; letter-spacing: .12em; }
.loader { width: 76px; height: 76px; border: 1px solid #57584f; border-top-color: var(--acid); border-radius: 50%; animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.work-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: .75rem; }
.work-meta h3 { font-size: .95rem; margin: 0 0 .25rem; }
.work-meta p, .work-meta > span { font: .62rem/1.4 "DM Mono", monospace; color: var(--muted); margin: 0; }

.manifesto { background: var(--ink); color: var(--paper); }
.manifesto > .eyebrow { margin-bottom: 5rem; color: var(--acid); }
.manifesto-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 8vw; align-items: end; }
.manifesto h2 em { color: var(--acid); }
.statement { max-width: 30rem; }
.statement > p { font-size: clamp(1rem, 1.55vw, 1.28rem); line-height: 1.5; margin: 0 0 1.5rem; }
.statement-button { width: 100%; margin-top: 2rem; padding: 1.1rem 0; background: none; border: 0; border-top: 1px solid #55564f; border-bottom: 1px solid #55564f; color: var(--paper); display: flex; justify-content: space-between; cursor: pointer; font: .7rem "DM Mono", monospace; text-transform: uppercase; }
.statement-button span:last-child { font-size: 1.1rem; transition: transform .3s; }
.statement-button:hover span:last-child { transform: rotate(90deg); }

.generator { display: none; background: var(--acid); color: var(--ink); padding: clamp(3rem, 6vw, 6rem) var(--pad); }
.generator.open { display: grid; grid-template-columns: 1fr 3fr; animation: unfold .5s ease both; }
@keyframes unfold { from { opacity: 0; transform: translateY(-15px); } }
.generator blockquote { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: clamp(2rem, 4.7vw, 5rem); letter-spacing: -.04em; line-height: 1.05; margin: 0; max-width: 1200px; }
.generator button { grid-column: 2; justify-self: start; background: none; border: 0; border-bottom: 1px solid; padding: 0 0 .25rem; margin-top: 2.5rem; cursor: pointer; text-transform: uppercase; font: .65rem "DM Mono", monospace; }

.quote-band { min-height: 70vh; padding: var(--pad); display: grid; place-items: center; background: #ff4c20; }
.quote-band p { text-align: center; font-size: clamp(3.2rem, 9vw, 9rem); line-height: .88; letter-spacing: -.075em; margin: 0; }
.quote-band em { font-family: "Playfair Display", Georgia, serif; color: var(--acid); font-weight: 500; }

.visit { border-bottom: 1px solid var(--line); }
.visit .section-head h2 { font-size: clamp(3rem, 6.6vw, 7rem); }
.visit-details { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.visit-details span { display: block; font: .63rem "DM Mono", monospace; color: var(--muted); text-transform: uppercase; margin-bottom: 1rem; }
.visit-details p { margin: 0; line-height: 1.55; font-size: .9rem; }
.visit-details > a { align-self: end; display: flex; justify-content: space-between; border-bottom: 1px solid; padding-bottom: .5rem; font: .72rem "DM Mono", monospace; }

footer { padding: 2.2rem var(--pad); display: flex; justify-content: space-between; align-items: end; }
.brand--footer { font-size: clamp(2.6rem, 5vw, 5rem); }
footer p, footer div { font: .6rem "DM Mono", monospace; text-transform: uppercase; }
footer div { display: flex; gap: 1.5rem; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .site-header { height: 70px; }
  nav { display: none; }
  .menu-button { display: flex; align-items: center; gap: .7rem; border: 0; background: none; padding: .4rem 0; text-transform: uppercase; font: .65rem "DM Mono", monospace; cursor: pointer; }
  .menu-icon { width: 18px; height: 1px; background: var(--ink); position: relative; transition: transform .25s; }
  .menu-icon::after { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 1px; background: inherit; }
  .menu-button[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(90deg); }
  .mobile-nav { position: fixed; inset: 70px 0 auto; z-index: 29; padding: 2rem var(--pad); background: var(--acid); flex-direction: column; gap: 1.2rem; font-size: 2rem; letter-spacing: -.04em; }
  .mobile-nav.open { display: flex; }
  .hero { min-height: calc(100svh - 70px); }
  .hero h1 { line-height: .82; }
  .hero-foot p { width: 65%; }
  .air-shape { right: -8%; top: 27%; opacity: .55; }
  .section-head { display: block; }
  .section-head .eyebrow { margin-bottom: 2rem; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card--hero { grid-column: span 2; }
  .work-card:nth-child(3) { margin-top: 4rem; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .statement { margin-top: 4rem; }
  .generator.open { grid-template-columns: 1fr; gap: 2rem; }
  .generator button { grid-column: 1; }
  .visit-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-top: 1rem; }
  .hero-kicker span:last-child { display: none; }
  .hero h1 { font-size: clamp(4rem, 21vw, 7rem); max-width: 100%; margin-top: 18vh; }
  .hero-foot { align-items: center; }
  .hero-foot p { width: 62%; font-size: .78rem; }
  .round-link { width: 86px; }
  .air-shape { width: 70vw; height: 70vw; right: -20%; top: 35%; }
  .work-grid { display: block; }
  .work-card, .work-card:nth-child(3) { margin: 0 0 3.5rem; }
  .work-visual, .work-card:not(.work-card--hero) .work-visual { height: 110vw; max-height: 520px; }
  .manifesto > .eyebrow { margin-bottom: 3rem; }
  .manifesto-grid { gap: 0; }
  .quote-band { min-height: 55vh; }
  .visit-details { grid-template-columns: 1fr; }
  .visit-details > a { margin-top: 2rem; }
  footer { align-items: start; flex-wrap: wrap; gap: 2rem; }
  footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
