/* Generated from tokens.json by build.mjs. Do not edit. */
:root {
  --c-bg: #11130e;
  --c-surface: #191c15;
  --c-surface-2: #21251b;
  --c-wall: #2c2d21;
  --c-border: #33372a;
  --c-border-input: #85886f;
  --c-text: #ece5d3;
  --c-text-muted: #b3ae98;
  --c-text-faint: #9c9981;
  --c-accent: #b4ba93;
  --c-on-accent: #14170e;
  --c-gold: #c9aa6b;
  --c-danger: #e69a8a;
  --c-success: #a9c79a;
  --c-todo: #e0b25c;
  --f-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --f-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --s-0: 0px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 176px;
  --r-none: 0px;
  --r-sm: 2px;
  --shadow-panel: 0 30px 60px rgba(0,0,0,.45);
  --shadow-plaque: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 24px rgba(0,0,0,.35);
  --m-fast: 200ms;
  --m-base: 600ms;
  --m-slow: 1400ms;
  --m-ease: cubic-bezier(.2,.7,.2,1);
}
/* amiraik.com
   Tokens (--c-*, --f-*, --s-*, --shadow-*, --m-*) are generated from design/tokens.json
   and prepended to this file by build.mjs. */

@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('/fonts/dm-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --wrap: 1320px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --header-h: 88px;
  --hair: 1px solid var(--c-border);
  --hair-gold: color-mix(in srgb, var(--c-gold) 34%, transparent);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html[data-motion='on'] { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 1rem/1.7 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul[role='list'], ol[role='list'] { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--c-gold); color: var(--c-on-accent); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; border-radius: var(--r-sm); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--c-accent); color: var(--c-on-accent); text-decoration: none; font-size: 0.875rem; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.012em; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 1.2rem + 4.2vw, min(5.2rem, 10.5svh)); line-height: 1; font-weight: 300; }
.display em { display: block; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 300; color: color-mix(in srgb, var(--c-text) 82%, var(--c-gold)); }
.h1 { font-size: clamp(2.7rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1; font-weight: 300; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.08; font-weight: 300; }
.h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); line-height: 1.2; }
.lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.7; color: var(--c-text-muted); max-width: 46ch; }
.prose { max-width: 62ch; color: var(--c-text-muted); }
.prose p + p { margin-top: 1.25em; }
.prose p:first-child { color: var(--c-text); }
.statement { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.7rem, 1.15rem + 2.1vw, 3rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; max-width: 24em; }
.label { font: 400 0.6875rem/1.45 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-text-faint); }
.label--gold { color: var(--c-gold); }
.label b { font-weight: 400; color: var(--c-text-muted); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 28px; min-height: 52px; padding: 14px 24px;
  background: var(--c-accent); color: var(--c-on-accent); border: 1px solid var(--c-accent); border-radius: var(--r-sm);
  font: 500 0.9rem/1.2 var(--f-sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background var(--m-fast) var(--m-ease), color var(--m-fast) var(--m-ease), border-color var(--m-fast) var(--m-ease);
}
.btn::after { content: '↗' / ''; font-family: var(--f-mono); font-size: 0.95em; transition: transform var(--m-fast) var(--m-ease); }
.btn:hover { background: var(--c-text); border-color: var(--c-text); }
.btn:hover::after { transform: translate(2px, -2px); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: color-mix(in srgb, var(--c-text) 38%, transparent); }
.btn--ghost:hover { background: transparent; border-color: var(--c-text); color: var(--c-text); }
.btn--plain::after { content: none; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.link { display: inline-flex; align-items: baseline; gap: 10px; font-size: 0.9rem; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--hair-gold); transition: border-color var(--m-fast) var(--m-ease), color var(--m-fast) var(--m-ease); }
.link::after { content: '→' / ''; font-family: var(--f-mono); transition: transform var(--m-fast) var(--m-ease); }
.link:hover { border-color: var(--c-gold); color: var(--c-gold); }
.link:hover::after { transform: translateX(4px); }
.link--back::after { content: none; }
.link--back::before { content: '←' / ''; font-family: var(--f-mono); }

.todo { display: inline-block; padding: 2px 8px; border: 1px dashed color-mix(in srgb, var(--c-todo) 70%, transparent); color: var(--c-todo); font: 400 0.6875rem/1.5 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--r-sm); vertical-align: middle; }
.todo-block { padding: 20px 22px; border: 1px dashed color-mix(in srgb, var(--c-todo) 55%, transparent); color: var(--c-text-muted); font-size: 0.9rem; max-width: 62ch; }
.todo-block .todo { border: 0; padding: 0; margin-bottom: 6px; display: block; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
/* The blurred ground sits on a pseudo-element: a backdrop-filter on the header itself would trap the fixed small-screen menu inside it. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c-bg) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); opacity: 0; transition: opacity var(--m-base) var(--m-ease); }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); border-bottom: 1px solid color-mix(in srgb, var(--c-text) 13%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
/* Amiraik's own script wordmark, used as a mask so it takes the page's ivory. */
.brand__sig { display: block; flex: none; width: 124px; aspect-ratio: 720 / 215; background: currentColor; -webkit-mask: url('/assets/signature.a42abad7d6.png') center / contain no-repeat; mask: url('/assets/signature.a42abad7d6.png') center / contain no-repeat; }
.brand__sig--foot { width: 92px; color: var(--c-text-muted); }
.brand__sub { display: block; padding-left: 18px; border-left: 1px solid color-mix(in srgb, var(--c-text) 22%, transparent); font: 400 0.5625rem/2.4 var(--f-mono); letter-spacing: 0.26em; text-transform: uppercase; color: var(--c-text-faint); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__link { position: relative; padding-block: 10px; font-size: 0.875rem; color: var(--c-text-muted); text-decoration: none; transition: color var(--m-fast) var(--m-ease); }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--m-base) var(--m-ease); }
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--c-text); }
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.motion-toggle, .menu-toggle { min-height: 40px; padding: 8px 16px; background: transparent; border: 1px solid color-mix(in srgb, var(--c-text) 34%, transparent); border-radius: var(--r-sm); font: 400 0.6875rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text); cursor: pointer; white-space: nowrap; transition: border-color var(--m-fast) var(--m-ease); }
.motion-toggle:hover, .menu-toggle:hover { border-color: var(--c-text); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 32px var(--gutter) 40px; background: var(--c-bg); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity var(--m-fast) var(--m-ease), visibility 0s linear var(--m-fast); }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__link { display: block; padding-block: 14px; font: 300 2.1rem/1.1 var(--f-display); color: var(--c-text); border-bottom: var(--hair); }
  .nav__link::after { content: none; }
  .brand__sub { display: none; }
}

/* ---------- walls ---------- */
.wall { position: relative; isolation: isolate; background: radial-gradient(90% 70% at 28% 0%, color-mix(in srgb, var(--c-gold) 13%, transparent), transparent 62%), linear-gradient(180deg, var(--c-wall) 0%, color-mix(in srgb, var(--c-wall) 55%, var(--c-bg)) 58%, var(--c-bg) 100%); }
.wall::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: 0.16; mix-blend-mode: soft-light; pointer-events: none; }
.wall--deep { background: radial-gradient(80% 60% at 70% 0%, color-mix(in srgb, var(--c-gold) 8%, transparent), transparent 60%), linear-gradient(180deg, var(--c-surface-2) 0%, var(--c-bg) 100%); }
.room { background: var(--c-bg); }
.room--raised { background: var(--c-surface); }
.section { padding-block: clamp(72px, 10vw, 168px); }
.wall.section { border-top: 1px solid color-mix(in srgb, var(--c-gold) 16%, transparent); }
.section--tight { padding-block: clamp(56px, 7vw, 112px); }
.rule { border: 0; border-top: var(--hair); margin: 0; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- the hang: light, frame, wall label ---------- */
.hang { container-type: inline-size; position: relative; margin: 0; }
.hang__light { position: absolute; z-index: 0; left: -30%; right: -30%; top: -30%; height: 100%; background: radial-gradient(closest-side, rgba(255, 233, 186, 0.19), rgba(255, 233, 186, 0.07) 50%, transparent); pointer-events: none; }
.frame {
  --fw: clamp(15px, 9.2cqw, 74px);
  position: relative; z-index: 1; display: block; border: var(--fw) solid transparent;
  border-image: url('/assets/frame.7b1dbac0cc.webp') 150 / var(--fw) round;
  background: #0b0c08 padding-box;
  filter: drop-shadow(0 calc(var(--fw) * 0.42) calc(var(--fw) * 0.5) rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
  text-decoration: none;
}
.frame--slim { --fw: clamp(13px, 8cqw, 48px); }
.frame img { width: 100%; }
.frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55), inset calc(var(--fw) * 0.1) calc(var(--fw) * 0.14) calc(var(--fw) * 0.26) rgba(0, 0, 0, 0.42); }
.frame__blank { display: grid; place-items: center; padding: 12%; text-align: center; background: var(--noise), linear-gradient(160deg, #3a382c, #24241b); background-blend-mode: soft-light, normal; color: var(--c-text-muted); }
.frame__zoom { all: unset; display: block; cursor: zoom-in; width: 100%; }
.frame__zoom:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; }

.plaque { display: grid; gap: 6px; margin-top: clamp(22px, 5cqw, 38px); padding-left: 16px; border-left: 1px solid var(--hair-gold); }
.plaque__title { font: 400 clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem)/1.2 var(--f-display); text-decoration: none; }
.plaque__h { margin: 0; font: inherit; }
.plaque__title::after { content: ''; position: absolute; inset: 0; z-index: 2; }
a.plaque__title:hover { color: var(--c-gold); }
.hang .frame { transition: filter var(--m-base) var(--m-ease); }
.hang:has(a.plaque__title:hover) .frame { filter: drop-shadow(0 calc(var(--fw) * 0.5) calc(var(--fw) * 0.62) rgba(0, 0, 0, 0.56)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) brightness(1.07); }
.plaque__meta { color: var(--c-text-faint); }

.matted { position: relative; z-index: 1; margin: 0; padding: clamp(8px, 1.2vw, 14px); border: 1px solid var(--hair-gold); background: var(--c-surface); box-shadow: var(--shadow-panel); }

/* ---------- hero ---------- */
.hero { min-height: min(100svh, 1040px); display: grid; align-items: end; padding-top: calc(var(--header-h) + clamp(24px, 3.4svh, 48px)); padding-bottom: clamp(36px, 6svh, 80px); overflow: clip; }
.hero__beam { position: absolute; inset: -10% -10% 0 -10%; z-index: -1; background: linear-gradient(118deg, transparent 18%, rgba(255, 236, 196, 0.075) 33%, rgba(255, 236, 196, 0.02) 47%, transparent 56%); pointer-events: none; }
html[data-motion='on'] .hero__beam { animation: beam 16s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: 0.65; transform: translateX(-1.5%); } to { opacity: 1; transform: translateX(1.5%); } }
.hero__meta { display: flex; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 6svh, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 104px); align-items: end; }
.hero__text { display: grid; gap: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(0px, 3vw, 44px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.hero__art { width: min(100%, 560px, 56svh); justify-self: end; }
.hero__side { position: absolute; left: calc(var(--gutter) * 0.32); bottom: clamp(36px, 6svh, 80px); writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
@media (max-width: 1100px) { .hero__side { display: none; } }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; justify-self: center; width: min(100%, 430px); }
  .hero__meta span:last-child { display: none; }
}

/* ---------- page head ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 128px)); padding-bottom: clamp(48px, 7vw, 104px); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.page-head__title { display: grid; gap: 22px; }
.page-head__body { display: grid; gap: 18px; padding-bottom: 8px; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* ---------- venues ---------- */
.venues { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hair); margin-top: clamp(40px, 6vw, 80px); }
.venues li { display: grid; gap: 10px; padding: 28px 28px 4px 0; }
.venues li + li { padding-left: 28px; border-left: var(--hair); }
.venues__name { font: 400 clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem)/1.2 var(--f-display); }
@media (max-width: 700px) { .venues { grid-template-columns: 1fr; } .venues li + li { padding-left: 0; border-left: 0; border-top: var(--hair); } .venues li { padding-bottom: 24px; } }

/* ---------- gallery walls ---------- */
.hanging { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 9vw, 150px) clamp(40px, 9vw, 150px); align-items: start; }
.hanging > :nth-child(even) { margin-top: clamp(0px, 10vw, 150px); }
.hanging > * { width: min(100%, 520px); justify-self: center; }
.hanging--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 7vw, 110px) clamp(32px, 5vw, 80px); }
.hanging--three > :nth-child(even) { margin-top: 0; }
.hanging--three > :nth-child(3n + 2) { margin-top: clamp(0px, 6vw, 90px); }
.hanging--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px); }
.hanging--four > :nth-child(even) { margin-top: clamp(0px, 5vw, 72px); }
@media (max-width: 1000px) { .hanging--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hanging--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hanging--three > :nth-child(3n + 2) { margin-top: 0; } .hanging--three > :nth-child(even) { margin-top: clamp(0px, 8vw, 90px); } }
@media (max-width: 620px) { .hanging, .hanging--three, .hanging--four { grid-template-columns: 1fr; gap: 72px; } .hanging > *, .hanging--three > *, .hanging--four > * { margin-top: 0 !important; width: min(100%, 420px); } }
.hanging__note { grid-column: 1 / -1; width: 100%; margin-top: 0 !important; justify-self: stretch; }

/* ---------- split (text beside image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__text { display: grid; gap: 26px; justify-items: start; }
.split__art { width: min(100%, 560px); justify-self: center; }
.split__art--narrow { width: min(100%, 440px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* ---------- invitation band ---------- */
.invite { display: grid; gap: 28px; justify-items: center; text-align: center; }
.invite .lead { max-width: 54ch; }

/* ---------- artwork page ---------- */
.work { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(72px, 9vw, 150px); }
.work__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 8vw, 136px); align-items: center; margin-top: clamp(36px, 5vw, 72px); }
.work__art { width: min(100%, 620px); justify-self: center; }
.work__info { display: grid; gap: 22px; justify-items: start; max-width: 30rem; }
.work__artist { color: var(--c-text-muted); }
.work__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 10px; }
@media (max-width: 900px) { .work__grid { grid-template-columns: 1fr; } .work__art { width: min(100%, 460px); } }

.spec { width: 100%; border-top: var(--hair); margin-top: 6px; }
.spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 13px 0; border-bottom: var(--hair); font-size: 0.875rem; }
.spec dt { color: var(--c-text-faint); }
.spec dd { text-align: right; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--hair); }
.pager a { display: grid; gap: 10px; padding: clamp(28px, 4vw, 52px) 0; text-decoration: none; }
.pager a:last-child { text-align: right; padding-left: 24px; border-left: var(--hair); justify-items: end; }
.pager a:hover .pager__title { color: var(--c-gold); }
.pager__title { font: 300 clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem)/1.15 var(--f-display); transition: color var(--m-fast) var(--m-ease); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 400 0.6875rem/1.4 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-text-muted); }
.field input, .field textarea { width: 100%; padding: 14px 0 13px; background: transparent; border: 0; border-bottom: 1px solid var(--c-border-input); border-radius: 0; color: var(--c-text); font-size: 1rem; transition: border-color var(--m-fast) var(--m-ease); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--c-text); }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--c-gold); box-shadow: 0 1px 0 0 var(--c-gold); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--c-text); box-shadow: 0 0 0 100px var(--c-surface) inset; }
.field [aria-invalid='true'] { border-color: var(--c-danger); }
.field__error { color: var(--c-danger); font-size: 0.8125rem; min-height: 1.2em; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.form__status { font-size: 0.9rem; color: var(--c-success); max-width: 44ch; }
.form__note { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--c-text-faint); max-width: 60ch; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

.contact-card { display: grid; gap: 28px; align-content: start; }
.contact-card dl { display: grid; gap: 22px; }
.contact-card dt { margin-bottom: 6px; }
.contact-card dd { font: 400 clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem)/1.3 var(--f-display); overflow-wrap: anywhere; }
.contact-card a { text-decoration-color: var(--hair-gold); }
.contact-card a:hover { color: var(--c-gold); }

/* ---------- footer ---------- */
.site-footer { border-top: var(--hair); background: var(--c-bg); padding-block: clamp(56px, 7vw, 104px) 36px; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-footer__line { font: 300 clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem)/1.2 var(--f-display); max-width: 15em; }
.site-footer__line em { font-style: italic; }
.site-footer h2 { margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; font-size: 0.9rem; color: var(--c-text-muted); }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--c-gold); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 6vw, 88px); padding-top: 24px; border-top: var(--hair); }
@media (max-width: 800px) { .site-footer__top { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 3vw, 48px); border: 0; background: rgba(8, 9, 6, 0.96); color: var(--c-text); }
.lightbox::backdrop { background: rgba(8, 9, 6, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox__stage { min-height: 0; }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-out; }

/* ---------- motion ---------- */
html.js[data-motion='on'] .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--m-slow) var(--m-ease), transform var(--m-slow) var(--m-ease); transition-delay: var(--d, 0ms); }
html.js[data-motion='on'] .reveal.is-in { opacity: 1; transform: none; }
html[data-motion='on'] .hang__light { animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: 0.82; } to { opacity: 1; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.7s; animation-timing-function: var(--m-ease); }
html[data-motion='off'] *, html[data-motion='off'] *::before, html[data-motion='off'] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion='off']::view-transition-group(*), html[data-motion='off']::view-transition-old(*), html[data-motion='off']::view-transition-new(*) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion='on']) *, html:not([data-motion='on']) *::before, html:not([data-motion='on']) *::after { animation: none !important; transition: none !important; }
}

/* ---------- design-system page ---------- */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.ds-swatch { display: grid; gap: 8px; }
.ds-swatch i { display: block; height: 72px; border: var(--hair); }
.ds-block { display: grid; gap: 28px; padding-block: 48px; border-top: var(--hair); }
.ds-row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }

.draft-flag { position: fixed; right: 12px; bottom: 12px; z-index: 60; padding: 6px 10px; background: color-mix(in srgb, var(--c-bg) 88%, transparent); border: 1px dashed color-mix(in srgb, var(--c-todo) 60%, transparent); color: var(--c-todo); font: 400 0.625rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }

@media (max-width: 620px) { .draft-flag { display: none; } }
@media print { .site-header, .site-footer, .draft-flag, .hang__light { display: none; } body { background: #fff; color: #000; } }
