/* THE DEEP WINK design system: paper white, bold collage color, hand-cut edges.
   One spacing scale (--s-*), one control radius (--radius), one section rhythm (--section). */

:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --paper-2: #f2ede2;
  --paper-3: #e9e2d3;
  --white: #fffdf8;
  --ink: #1b1717;
  --ink-2: #4b4542;
  --muted: #776f68;
  --line: rgba(27, 23, 23, 0.14);
  --line-strong: rgba(27, 23, 23, 0.32);
  --red: #e6432b;
  --cobalt: #1f4fd8;
  --mustard: #f3b93b;
  --pink: #f2679f;
  --teal: #16a396;
  --lilac: #8a6be0;
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 0.625rem;
  --maxw: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-body: "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --cut-a: polygon(1.2% 0.9%, 24% 0, 47% 1.6%, 76% 0.4%, 98.8% 1.3%, 100% 27%, 99.1% 52%, 100% 76%, 98.9% 99.2%, 75% 100%, 52% 98.5%, 23% 100%, 0.8% 99%, 0 73%, 1.3% 49%, 0 23%);
  --cut-b: polygon(0 2.2%, 21% 0.4%, 45% 2%, 71% 0, 100% 1.6%, 98.8% 31%, 100% 56%, 98.6% 81%, 99.6% 100%, 73% 98.4%, 48% 100%, 22% 98.7%, 0.6% 100%, 1.6% 71%, 0 46%, 1% 21%);
  --cut-c: polygon(0.6% 0, 30% 1.8%, 55% 0.2%, 80% 1.4%, 99.4% 0, 100% 24%, 98.7% 50%, 100% 78%, 99% 100%, 70% 98.2%, 44% 100%, 18% 98.6%, 0 99.4%, 1.4% 76%, 0.2% 48%, 1.2% 25%);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The scroll shell: the document is pinned, the site scrolls inside #siteScroll. */
#siteScroll {
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  padding: var(--s-2) var(--s-4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.skip-link:focus {
  left: var(--s-4);
  top: var(--s-4);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Header: sticky inside the shell, condenses on scroll ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
  padding-block: var(--s-3);
  transition: min-height 200ms ease, padding 200ms ease;
}

.site-header.is-condensed .header-inner {
  min-height: 3.5rem;
  padding-block: var(--s-2);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  line-height: 1;
}

.brand-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  transition: opacity 200ms ease, max-height 200ms ease;
  max-height: 1rem;
}

.site-header.is-condensed .brand-eyebrow {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink-2);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--radius);
  position: relative;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--s-2);
  right: var(--s-2);
  bottom: 0;
  height: 0.28rem;
  background: var(--mustard);
  clip-path: var(--cut-b);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle-bar {
  top: calc(50% - 1px);
}

.nav-toggle-bar::before {
  left: 0;
  right: 0;
  top: -7px;
}

.nav-toggle-bar::after {
  left: 0;
  right: 0;
  top: 7px;
}

@media (max-width: 56rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-1);
    padding: var(--s-4) var(--gutter) var(--s-5);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav .nav-link {
    font-size: 1.15rem;
    padding: var(--s-3) var(--s-3);
  }

  .site-nav .nav-cta {
    margin-top: var(--s-3);
  }
}

/* ---------- Controls: one radius ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 2.75rem;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px) rotate(-0.6deg);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-accent {
  background: var(--mustard);
  border-color: var(--mustard);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: var(--s-1) var(--s-4);
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s-3);
}

.eyebrow-cobalt {
  color: var(--cobalt);
}

.eyebrow-teal {
  color: var(--teal);
}

.tag {
  display: inline-block;
  padding: 0.15rem var(--s-3);
  background: var(--mustard);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: var(--cut-c);
  transform: rotate(-2deg);
}

.tag-pink {
  background: var(--pink);
  color: var(--white);
}

.tag-cobalt {
  background: var(--cobalt);
  color: var(--white);
}

.tag-teal {
  background: var(--teal);
  color: var(--white);
}

/* ---------- Paper: hand-cut edges with a colored sheet behind ---------- */

.paper {
  position: relative;
  --cut: var(--cut-a);
  --accent: var(--mustard);
}

.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  clip-path: var(--cut);
  transform: translate(7px, 9px) rotate(-1.1deg);
}

.paper-body {
  position: relative;
  background: var(--white);
  clip-path: var(--cut);
  padding: var(--s-6);
  height: 100%;
}

.paper-b {
  --cut: var(--cut-b);
}

.paper-c {
  --cut: var(--cut-c);
}

.accent-mustard {
  --accent: var(--mustard);
}

.accent-cobalt {
  --accent: var(--cobalt);
}

.accent-red {
  --accent: var(--red);
}

.accent-pink {
  --accent: var(--pink);
}

.accent-teal {
  --accent: var(--teal);
}

.accent-lilac {
  --accent: var(--lilac);
}

.tape {
  position: absolute;
  top: -0.7rem;
  left: 1.6rem;
  width: 5.5rem;
  height: 1.35rem;
  background: rgba(243, 185, 59, 0.82);
  transform: rotate(-5deg);
  z-index: 2;
}

.tape-right {
  left: auto;
  right: 1.6rem;
  transform: rotate(4deg);
  background: rgba(31, 79, 216, 0.75);
}

/* ---------- Layout rhythm ---------- */

.site-main {
  min-height: 60vh;
}

.section {
  padding-block: var(--section);
}

.section-tight {
  padding-block: calc(var(--section) * 0.6);
}

.section-paper {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: var(--s-6);
  max-width: 44rem;
}

.section-head h2,
.route-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.route-hero {
  padding-block: calc(var(--section) * 0.8) calc(var(--section) * 0.5);
}

.route-hero .lead {
  margin-top: var(--s-5);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  max-width: 48rem;
  color: var(--ink-2);
}

.prose {
  max-width: 64ch;
}

.prose p + p {
  margin-top: var(--s-4);
}

.prose-lg {
  font-size: 1.15rem;
}

.grid {
  display: grid;
  gap: var(--s-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.stack-tight {
  gap: var(--s-2);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid var(--mustard);
}

.link-arrow:hover {
  border-bottom-color: var(--red);
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.to-fill {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-2);
  background: var(--white);
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 34ch;
}

.quote cite {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Home ---------- */

.hero {
  padding-block: calc(var(--section) * 0.9) var(--section);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-8);
  align-items: center;
}

@media (max-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
}

.hero h1 {
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hl {
  position: relative;
  display: inline-block;
  padding-inline: 0.12em;
  color: var(--ink);
  isolation: isolate;
}

.hl::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.05em;
  background: var(--mustard);
  clip-path: var(--cut-b);
  transform: rotate(-1.4deg);
  z-index: -1;
}

.hero .lead {
  margin-top: var(--s-5);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 34rem;
  color: var(--ink-2);
}

.hero-actions {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero-art {
  position: relative;
  transform: rotate(1.5deg);
  max-width: 26rem;
  margin-inline: auto;
}

.hero-art .paper-body {
  padding: var(--s-3);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-art figcaption {
  padding: var(--s-3) var(--s-2) var(--s-1);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.hero-chip {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  z-index: 3;
  transform: rotate(6deg);
}

.marquee {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--white);
  padding-block: var(--s-3);
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  padding-inline: var(--s-4);
}

.marquee-track span + span {
  margin-left: 1.5em;
}

html.is-final .marquee-track {
  animation: marquee 48s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.door h2 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.door p {
  margin-top: var(--s-3);
  color: var(--ink-2);
}

.door .btn {
  margin-top: var(--s-5);
}

.door .paper-body {
  display: flex;
  flex-direction: column;
}

.door .btn,
.door .tag {
  margin-top: auto;
  align-self: flex-start;
}

.door .tag {
  margin-top: var(--s-5);
}

.worlds-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.worlds-sub {
  margin-top: var(--s-3);
  font-size: 1.2rem;
  color: var(--ink-2);
}

.works-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
}

@media (max-width: 64rem) {
  .works-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .works-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
  }
}

.work-card {
  text-decoration: none;
}

.work-card:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.work-card:nth-child(even) {
  transform: rotate(0.7deg);
}

.work-card .paper-body {
  padding: var(--s-3) var(--s-3) var(--s-4);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-3);
}

.work-card .work-title {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.work-card .work-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Shop ---------- */

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-block: 1px solid var(--line);
  margin-block: var(--s-6);
}

.shop-table {
  min-height: 6rem;
}

.shop-empty {
  padding: var(--s-6);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-2);
}

.shop[data-live="true"] .shop-empty {
  display: none;
}

.shop[data-filter="collages"] [data-dw-category]:not([data-dw-category="collages"]),
.shop[data-filter="opem-prints"] [data-dw-category]:not([data-dw-category="opem-prints"]),
.shop[data-filter="originals"] [data-dw-category]:not([data-dw-category="originals"]) {
  display: none;
}

.record-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: var(--s-3);
}

.record {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  clip-path: var(--cut-b);
  border-left: 6px solid var(--mustard);
}

.record[data-dw-category="opem-prints"] {
  border-left-color: var(--cobalt);
}

.record[data-dw-category="originals"] {
  border-left-color: var(--red);
}

.record-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}

.record-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.shop-group + .shop-group {
  margin-top: var(--s-6);
}

.shop-group h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-3);
  text-transform: lowercase;
}

/* ---------- OPEMs ---------- */

.opem-head h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.02em;
}

.opem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--s-6) var(--s-5);
}

.opem-card {
  display: block;
  text-decoration: none;
  transform: rotate(-0.6deg);
  transition: transform 150ms ease;
}

.opem-card:nth-child(3n) {
  transform: rotate(0.8deg);
}

.opem-card:nth-child(4n) {
  transform: rotate(-1.2deg);
}

.opem-card:hover {
  transform: rotate(0) translateY(-3px);
}

.opem-card .paper-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 11rem;
}

.opem-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.opem-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.opem-card .opem-cta {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.opem-single .paper-body {
  padding: clamp(2rem, 6vw, 4rem);
}

.opem-single .opem-text {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  max-width: 22ch;
}

.opem-actions {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.opem-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.opem-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  max-width: 28ch;
  color: var(--ink-2);
}

.opem-nav a:hover {
  color: var(--ink);
}

.opem-nav small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  gap: var(--s-8);
  align-items: start;
}

@media (max-width: 56rem) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

.portrait {
  transform: rotate(2deg);
}

.portrait .paper-body {
  padding: var(--s-3);
}

.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-block h2 {
  font-size: 1.9rem;
  text-transform: lowercase;
}

.about-block p {
  margin-top: var(--s-3);
  color: var(--ink-2);
}

.about-block .btn {
  margin-top: var(--s-5);
}

.tedx-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: var(--cut-c);
}

.tedx-block h3 {
  font-size: 1.5rem;
  margin-top: var(--s-4);
}

.tedx-block ul {
  margin: var(--s-3) 0 0;
  padding-left: 1.1rem;
  color: var(--ink-2);
}

.tedx-block li + li {
  margin-top: var(--s-2);
}

.kicker {
  font-family: var(--font-display);
  font-weight: 800;
  margin-top: var(--s-4);
}

/* ---------- Sources (materials, framing) ---------- */

.source .paper-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.source h3 {
  font-size: 1.3rem;
}

.source p {
  color: var(--ink-2);
}

.source .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Forms (Cloud runtime inherits these hooks) ---------- */

.form-shell {
  max-width: 40rem;
}

.dw-form {
  display: grid;
  gap: var(--s-4);
}

.dw-form-group {
  display: grid;
  gap: var(--s-2);
}

.dw-form-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dw-form-input {
  width: 100%;
  min-height: 2.9rem;
  padding: var(--s-2) var(--s-3);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

textarea.dw-form-input {
  min-height: 8rem;
  resize: vertical;
}

.dw-form-input:focus {
  outline: 3px solid var(--mustard);
  outline-offset: 1px;
  border-color: var(--ink);
}

.dw-form-note {
  font-size: 0.95rem;
  color: var(--ink-2);
}

.form-frame {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--white);
  clip-path: var(--cut-a);
}

.opem-chosen {
  margin-block: var(--s-5);
}

.opem-chosen .paper-body {
  padding: var(--s-5);
}

.connect-list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section);
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  padding-block: var(--s-7) var(--s-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--s-6);
}

.footer-col p,
.footer-col a {
  color: var(--ink-2);
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-head {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: var(--s-3);
  text-transform: lowercase;
}

.footer-nav {
  display: grid;
  gap: var(--s-1);
}

.footer-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-2);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-credit {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.dw-credit {
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  #siteScroll {
    scroll-behavior: auto;
  }
}
