@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--color-canvas, #e5e4e0);
  color: var(--color-ink, #1d1d1d);
  font-family: Inter, Arial, sans-serif;
  font-optical-sizing: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { padding: 0; cursor: pointer; }
button:disabled { cursor: wait; }
button:disabled[data-send] { background: var(--color-panel); border-color: var(--color-orbit); }
button:disabled [data-send-caption] { margin-inline: 0; justify-self: center; width: max-content; }
a:focus-visible, button:focus-visible, .entry:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.site-shell { width: 100%; max-width: 1440px; margin-inline: auto; container-type: inline-size; }
.scene-desktop { --u: calc(100cqw / 1440); }
.scene-mobile { --u: calc(100cqw / 402); display: none; }
.scene main { display: block; }
.layer { min-width: 0; }
.scene-section { width: var(--w); height: var(--h); scroll-margin-top: calc(var(--u) * 12); }
.grid { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); isolation: isolate; }
.grid > .layer {
  position: relative;
  grid-area: 1 / 1;
  place-self: start;
  margin: var(--y) 0 0 var(--x);
  width: var(--w);
  min-width: 0;
  height: var(--h);
}
.text { padding: 0; }
.shape { display: block; pointer-events: none; }
.artwork { display: block; overflow: hidden; }
.artwork img { display: block; width: 100%; height: 100%; transform-origin: top left; }
.grid:where(a, button):hover { filter: brightness(.965); }
a.text:hover { text-decoration: underline; text-underline-offset: .2em; }

.entry {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline-offset: 1px;
  text-align: left;
  line-height: 1.15;
  color: var(--color-muted);
  min-height: 0;
}
textarea.entry { resize: none; line-height: 1.45; }
.field-error, .form-feedback { color: var(--color-form-error); line-height: 1.2; }
.form-feedback { z-index: 1; }
[data-field-line].invalid { background-color: var(--color-form-error); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 10; padding: 12px; background: #f1f0ec; }
.skip-link:focus { top: 12px; }
.missing-page { padding: 12vh 5vw; display: grid; gap: 1rem; }
.missing-page h1 { font-size: clamp(2.5rem, 8vw, 8rem); margin: 0; font-weight: 400; }
.missing-page a { text-decoration: underline; }

@media (max-width: 999px) {
  .site-shell { max-width: 520px; }
  .scene-desktop { display: none; }
  .scene-mobile { display: block; }
  .home-inquiry:has([data-error="message"]:not([hidden])) [data-design="Contact form privacy link"] {
    translate: 0 calc(var(--u) * 9);
  }
  .home-inquiry:has([data-error="message"]:not([hidden])) [data-send] { translate: 0 calc(var(--u) * 9); }
  .home-inquiry:has([data-feedback]:not([hidden])) { overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
