﻿:root {
  --ink: #111216;
  --paper: #f5f4f2;
  --muted: #606168;
  --rule: #c8c8c9;
  --violet: #594585;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 Inter, "Segoe UI", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid #9279d9; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: #141218; background: #dbc2f7; }
.wrap { width: min(1580px, calc(100% - clamp(40px, 8vw, 144px))); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: -120px; background: white; padding: 10px; }
.skip:focus { top: 0; }
.navrow, footer .wrap { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); }
.navrow { min-height: 77px; }
.navrow nav { margin-left: auto; display: flex; gap: 30px; }
.navrow nav a, .nav-contact { font-size: 13px; font-weight: 600; }
.navrow nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { display: inline-flex; gap: 18px; align-items: center; border-bottom: 1px solid currentColor; }
.nav-contact span { font-size: 18px; }
.home .mast, .type-exhibit { background: var(--ink); color: #f2f0f5; }
.home .mast { --wordmark-gradient: linear-gradient(105deg, #c4a6fb, #ed9fd6 49%, #ffb1a2); }
.home .navrow { border-bottom: 1px solid #ffffff30; }
.exhibit-caption { display: flex; align-items: center; justify-content: space-between; }
.exhibit-caption { padding-top: clamp(20px, 2.35vw, 34px); }
.exhibit-caption p:first-child { font: 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #b7b6c1; }
.type-surface {
  height: clamp(215px, 28vw, 450px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.type-fallback {
  font: italic 900 clamp(48px, 16vw, 310px)/1 "Arial Black", Arial, sans-serif;
  letter-spacing: -.09em;
  padding-right: .1em;
  color: #d2b0eb;
  background: linear-gradient(110deg, #ad9df9, #eab7e7, #ffb29f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#type-stage { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#type-stage:active { cursor: grabbing; }
#type-stage:focus-visible { outline-offset: -4px; }
.lens-ready .type-fallback { visibility: hidden; }
.home .nav-contact:hover { color: #ecc4dc; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.type-exhibit { padding-bottom: clamp(28px, 3.4vw, 56px); }
.section-kicker, .meta, .post-back { font: 11px/1.6 var(--mono); letter-spacing: .075em; }
.section-kicker { text-transform: uppercase; color: var(--muted); }
.section-kicker i { display: none; }
h2 { font-size: clamp(30px, 3.6vw, 59px); line-height: 1.24; letter-spacing: -.07em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: 10px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.outline:hover { background: #e6e3ea; }
.studio { background: #e6e4e6; border-block: 1px solid var(--rule); }
.studio-grid, .contact { display: grid; grid-template-columns: .9fr 1.4fr; gap: 8%; padding-block: clamp(50px, 6.5vw, 105px); }
.studio h2, .contact h2 { margin: 9px 0 18px; }
.studio .studio-wordmark { font-size: clamp(40px, 5.4vw, 86px); margin-left: -.04em; }
.studio-lead { font-size: clamp(22px, 2.25vw, 38px); font-weight: 550; line-height: 1.45; letter-spacing: -.06em; margin-bottom: 15px; }
.studio-grid p:not([class]), .contact>div>p:last-child { max-width: 54ch; color: #484950; }
.studio-grid p:not([class]) { max-width: 46em; word-break: keep-all; text-wrap: pretty; }
.studio-lead { word-break: keep-all; text-wrap: balance; }
.inquiry-form, .inquiry-form label { display: grid; gap: 7px; }
.inquiry-form { gap: 16px; }
.inquiry-form label { font-size: 13px; font-weight: 650; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inquiry-form input, select, textarea { width: 100%; min-width: 0; padding: 11px 4px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #9c9ca2; border-radius: 0; font-size: 15px; }
textarea { resize: vertical; }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.form-bottom small { color: var(--muted); }
.dark { background: var(--ink); color: white; }
.dark:hover { background: #46414d; }
.status { font-size: 14px; color: var(--violet); }
.status:empty { display: none; }
footer { border-top: 1px solid var(--rule); }
footer .wrap { min-height: 84px; }
footer small { margin-right: auto; color: var(--muted); }
footer a:not(.brand) { font-size: 13px; }
.article { max-width: 790px; width: calc(100% - 40px); min-height: 65vh; margin: 36px auto 80px; border-top: 1px solid var(--ink); padding-top: 18px; }
.post-back { color: var(--violet); }
.article .meta { margin: 36px 0 12px; color: var(--muted); }
.article h1 { font-size: clamp(32px, 4.2vw, 64px); letter-spacing: -.065em; line-height: 1.24; }
.article .summary { color: var(--muted); font-size: 18px; margin: 20px 0; }
.article-body { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); white-space: pre-wrap; line-height: 1.95; }
.article h1, .article-body { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .navrow { min-height: 65px; gap: 12px; justify-content: space-between; }
  .navrow nav { display: none; }
  .nav-contact { gap: 8px; }
  .exhibit-caption { flex-wrap: wrap; gap: 5px; }
  .exhibit-caption p:first-child { font-size: 10px; }
  .type-surface { height: clamp(165px, 43vw, 238px); }
  .studio-grid, .contact { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pair { grid-template-columns: 1fr; gap: 18px; }
  .form-bottom, footer .wrap { flex-wrap: wrap; }
  footer .wrap { gap: 12px; }
  footer small { font-size: 11px; }
}
@media (max-width: 360px) {
  .exhibit-caption { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { padding: 14px 16px; border: 1px solid var(--rule); font-size: 12.5px; line-height: 1.7; color: #484950; }
.privacy strong { color: var(--ink); font-size: 13px; }
.privacy dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 6px 0; }
.privacy dt { font-weight: 650; color: var(--ink); }
.privacy dd { margin: 0; }
.inquiry-form label.consent { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.inquiry-form .consent input { width: 18px; height: 18px; flex: none; margin: 0; padding: 0; accent-color: var(--ink); }
.post-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 56px; padding: 22px 24px; background: #e6e4e6; }
.post-cta p { font-weight: 650; letter-spacing: -.03em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.post-nav a { display: grid; gap: 4px; min-width: 0; }
.post-nav small { font: 11px/1.6 var(--mono); letter-spacing: .075em; color: var(--muted); }
.post-nav span { font-weight: 650; overflow-wrap: anywhere; word-break: keep-all; }
.post-nav a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.post-older { text-align: right; justify-items: end; grid-column: 2; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 620px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-older { text-align: left; justify-items: start; grid-column: auto; }
  .privacy dl { grid-template-columns: 1fr; }
  .privacy dd { margin-bottom: 4px; }
}

/* Contact band on the home page: the form itself opens in a dialog. */
.contact-cta { display: grid; gap: 22px; align-content: end; justify-items: start; }
.contact-cta p { max-width: 40ch; color: #484950; }
.post-cta small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }

/* Inquiry dialog, shared by every public page. */
html:has(.inquiry-dialog[open]) { overflow: hidden; }
.inquiry-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(22px, 2.6vw, 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 80px #11121640;
}
.inquiry-dialog::backdrop { background: #111216a8; }
.inquiry-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.inquiry-head h2 { margin-top: 6px; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -.06em; }
.inquiry-close { width: 40px; height: 40px; margin: -6px -8px 0 0; padding: 0; color: var(--ink); background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.inquiry-close:hover { background: #e6e3ea; }
.inquiry-context { display: grid; gap: 2px; margin-bottom: 16px; padding: 12px 14px; background: #e6e4e6; border-left: 3px solid var(--violet); }
.inquiry-context span { font: 11px/1.5 var(--mono); letter-spacing: .06em; color: var(--muted); }
.inquiry-context strong { font-weight: 650; overflow-wrap: anywhere; word-break: keep-all; }
.inquiry-context[hidden], .inquiry-done[hidden], .inquiry-form[hidden] { display: none; }
.inquiry-done { display: grid; gap: 10px; justify-items: start; padding-block: 12px 4px; }
.inquiry-done-title { font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.inquiry-done p:not([class]) { color: #484950; margin-bottom: 12px; }
@media (max-width: 620px) {
  .inquiry-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; }
}
