@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #edefeb;
  --paper-2: #e3e6e1;
  --surface: #f8f9f7;
  --ink: #2f3133;
  --ink-2: #5e6061;
  --line: #c9ccc6;
  --line-strong: #8d938b;
  --ocean: #1d4e57;
  --ocean-deep: #153a41;
  --night: #1b2b2e;
  --night-2: #243a3e;
  --surf: #9cc9c3;
  --on-night: #e6ebe7;
  --on-night-2: #a9b8b5;
  --danger: #a3301f;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.875rem, 1.45rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
  --step-5: clamp(2.625rem, 1.4rem + 5.4vw, 5.75rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  --space-8: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  --radius: 2px;

  --shadow-raised: 0 1px 2px rgb(27 43 46 / 0.06), 0 4px 12px rgb(27 43 46 / 0.06);
  --shadow-float: 0 2px 4px rgb(27 43 46 / 0.06), 0 12px 32px rgb(27 43 46 / 0.12), 0 32px 64px rgb(29 78 87 / 0.08);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.19 0 0 0 0 0.2 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--space-3); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.section--night :focus-visible, .site-footer :focus-visible { outline-color: var(--surf); }

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -4rem;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: var(--space-3); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.measure { max-width: 38em; }
.note { font-size: var(--step--1); color: var(--ink-2); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(237 239 235 / 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand__name span { font-stretch: 100%; font-weight: 450; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink-2); margin-top: 0.2rem; }
.brand img { height: 2.75rem; width: auto; }

.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav__list { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--space-2);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 calc(100% - 8px);
  background-clip: content-box;
}
.nav__link:not([aria-current='page']) { background-size: 0 2px; }
.nav__link:hover { color: var(--ocean); }
.nav__link[aria-current='page'] { color: var(--ocean); }
.nav__phone { font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.nav__phone:hover { color: var(--ocean); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded='true'] .icon-open,
.nav-toggle[aria-expanded='false'] .icon-close { display: none; }

.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--ocean);
  color: var(--paper);
}
.header-call svg { width: 20px; height: 20px; }

@media (max-width: 60rem) {
  .nav-toggle, .header-call { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-3) var(--gutter) var(--space-5);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-float);
    opacity: 0;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition: opacity 0.2s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .nav[data-open='true'] {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.2s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; }
  .nav__link { display: flex; font-size: var(--step-1); padding-inline: 0; border-bottom: 1px solid var(--line); background-image: none; }
  .nav .btn { width: 100%; }
}

/* Buttons */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn[disabled] { cursor: progress; opacity: 0.7; transform: none; }

.btn--primary { background: var(--ocean); color: #fff; box-shadow: var(--shadow-raised); }
.btn--primary::after { background: var(--ocean-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline::after { background: rgb(47 49 51 / 0.06); }
.btn--light { background: var(--paper); color: var(--night); }
.btn--light::after { background: #fff; }
.btn--ghost-light { border-color: rgb(230 235 231 / 0.5); color: var(--on-night); }
.btn--ghost-light::after { background: rgb(230 235 231 / 0.08); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Sections */

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
.section--alt { background-color: var(--paper-2); border-block: 1px solid var(--line); }
.section--night {
  color: var(--on-night);
  background-color: var(--night);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgb(29 78 87 / 0.55), transparent 70%),
    radial-gradient(40rem 24rem at 0% 110%, rgb(156 201 195 / 0.12), transparent 70%);
}
.section--night .lede, .section--night .note { color: var(--on-night-2); }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head > p { max-width: 36em; }
.section-head--flush { margin-bottom: 0; }
.stack { display: grid; gap: var(--space-4); align-content: start; }
@media (min-width: 60rem) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--space-6); }
}

/* Drawing language: title blocks and dimension lines */

.title-block {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.35;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.title-block > div { display: contents; }
.title-block dt, .title-block dd {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.title-block > div:last-child dt, .title-block > div:last-child dd { border-bottom: 0; }
.title-block dt { font-family: var(--font-display); font-stretch: 85%; font-weight: 500; color: var(--ink-2); border-right: 1px solid var(--line); }
.title-block dd { font-weight: 600; }

.figure { position: relative; margin: 0; }
.figure__media { position: relative; overflow: hidden; background: var(--paper-2); }
.figure__media::before,
.figure__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.figure__media::before { background: var(--ocean); mix-blend-mode: multiply; opacity: 0.1; }
.figure__media::after { background: linear-gradient(to top, rgb(27 43 46 / 0.6), rgb(27 43 46 / 0) 45%); }
.figure img { width: 100%; object-fit: cover; }
.figure__caption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  max-width: calc(100% - 2 * var(--space-3));
  min-width: 15rem;
  box-shadow: var(--shadow-float);
}

.dim {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-stretch: 85%;
  font-weight: 500;
  color: var(--ink-2);
}
.dim::before, .dim::after {
  content: '';
  flex: 1;
  height: 9px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat;
  border-inline: 1px solid var(--line-strong);
}
.dim::before { border-right: 0; }
.dim::after { border-left: 0; }

/* Home hero */

.hero { padding-block: var(--space-6) var(--space-7); }
.hero__grid { display: grid; gap: var(--space-5); }
.hero__title { max-width: 15ch; }
.hero__body { display: grid; gap: var(--space-4); align-content: start; }
.hero__media { display: grid; gap: var(--space-2); }
.hero__media .figure img { aspect-ratio: 16 / 11; }
.hero__credentials { margin-top: var(--space-6); }

@media (min-width: 60rem) {
  .hero { padding-top: var(--space-7); }
  .hero__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--space-5); row-gap: var(--space-6); }
  .hero__title { grid-column: 1 / -1; }
  .hero__body { grid-column: 1 / span 4; padding-top: var(--space-5); }
  .hero__media { grid-column: 5 / -1; }
}

.hero__title, .hero__body, .hero__media .figure { animation: rise 0.9s var(--ease-out) both; }
.hero__body { animation-delay: 0.12s; }
.hero__media .figure { animation-delay: 0.22s; }
.hero__media .dim::before, .hero__media .dim::after { animation: draw 0.9s var(--ease-out) 0.5s both; }
.hero__media .dim::before { transform-origin: right; }
.hero__media .dim::after { transform-origin: left; }
.hero .figure__caption { animation: rise 0.7s var(--ease-out) 0.7s both; }

@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes draw { from { transform: scaleX(0); } }

/* Credentials */

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
}
.credentials > div { margin-left: -1px; padding: var(--space-3); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials dt { font-family: var(--font-display); font-size: var(--step--1); font-stretch: 85%; font-weight: 500; color: var(--ink-2); }
.credentials dd { margin: 0.15rem 0 0; font-weight: 600; line-height: 1.35; }

/* Process */

.process {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process__step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-top: 1px solid rgb(230 235 231 / 0.18);
}
.process__step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-stretch: 70%;
  font-weight: 300;
  line-height: 1;
  color: var(--surf);
  font-variant-numeric: tabular-nums;
}
.process__step h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.process__step p { color: var(--on-night-2); font-size: 1rem; line-height: 1.6; }

@media (min-width: 68rem) {
  .process { grid-template-columns: repeat(7, 1fr); column-gap: var(--space-4); }
  .process__step { grid-template-columns: 1fr; align-content: start; gap: var(--space-3); padding-top: var(--space-4); }
  .process__step::before { font-size: var(--step-4); }
}

/* Services */

.service-feature {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}
.service-feature:first-child { border-top: 0; padding-top: 0; }
.service-feature .figure img { aspect-ratio: 4 / 3; }
.service-feature__body { display: grid; gap: var(--space-4); align-content: start; }
.service-feature__body h2, .service-feature__body h3 { font-size: var(--step-3); }

@media (min-width: 60rem) {
  .service-feature { grid-template-columns: 7fr 5fr; gap: var(--space-7); }
  .service-feature:nth-child(even) .figure { order: 2; }
}

.checklist { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.9rem;
  height: 1px;
  background: var(--ocean);
}

.service-index { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-index a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  text-decoration: none;
}
.service-index h3 { font-size: var(--step-2); }
.service-index p { color: var(--ink-2); margin-top: 0.25rem; max-width: 34em; }
.service-index svg { width: 1.5rem; height: 1.5rem; color: var(--ocean); transition: transform 0.35s var(--ease-spring); }
.service-index a:hover svg { transform: translateX(6px); }
.service-index a:hover h3 { color: var(--ocean); }

.compact-services { display: grid; gap: var(--space-5); }
@media (min-width: 48rem) { .compact-services { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.compact-services article { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--ink); align-content: start; }
.compact-services h2 { font-size: var(--step-3); }

/* Quote */

.quote { display: grid; gap: var(--space-4); margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-stretch: 105%;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 28ch;
}
.quote figcaption { font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; color: var(--ink-2); }
@media (min-width: 60rem) {
  .quote { grid-template-columns: 1fr 2fr; align-items: start; gap: var(--space-6); }
  .quote figcaption { order: -1; padding-top: 0.75rem; border-top: 1px solid var(--ink); }
}

/* Projects */

.project-grid { display: grid; gap: var(--space-6) var(--space-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) {
  .project-grid--feature > li:first-child { grid-column: 1 / -1; }
  .project-grid--feature > li:first-child img { aspect-ratio: 16 / 8; }
}
.project-grid .figure img { aspect-ratio: 4 / 3; }
.project-card .title-block { margin-top: calc(-1 * var(--space-6)); margin-left: var(--space-3); margin-right: var(--space-5); position: relative; box-shadow: var(--shadow-float); max-width: 24rem; }
.project-card h3 { font-size: var(--step-1); margin-top: var(--space-3); }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-5); padding: 0; list-style: none; }
.filter {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}
.filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter:active { transform: scale(0.97); }
.filter[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Page header (inner pages) */

.page-head { padding-block: var(--space-7) var(--space-6); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; gap: var(--space-4); }
.page-head h1 { font-size: var(--step-5); max-width: 16ch; }
.page-head--plain { border-bottom: 0; }
@media (min-width: 60rem) {
  .page-head__grid { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--space-6); }
}

/* About */

.about-grid { display: grid; gap: var(--space-6); }
.about-grid .figure img { aspect-ratio: 4 / 5; }
.prose { display: grid; gap: var(--space-3); max-width: 36em; }
.prose h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }
.prose p + p { margin-top: 0; }
.prose h2:not(:first-child) { margin-top: var(--space-5); }
@media (min-width: 60rem) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; }
  .about-grid .figure { position: sticky; top: 6.5rem; }
}

.wide-figure img { aspect-ratio: 16 / 9; }

/* CTA band */

.cta-band__grid { display: grid; gap: var(--space-5); }
.cta-band h2 { max-width: 14ch; }
.cta-band__contact { display: grid; gap: var(--space-4); align-content: end; }
.cta-band__phone {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-stretch: 110%;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta-band__phone:hover { color: var(--surf); }
@media (min-width: 60rem) { .cta-band__grid { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* Contact */

.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 64rem) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; } }

.contact-details { display: grid; gap: var(--space-5); }
.contact-details .title-block { font-size: 1rem; }
.contact-details h2 { font-size: var(--step-2); margin-bottom: var(--space-1); }
.contact-details .title-block dd a { text-decoration: none; }
.contact-details .title-block dd a:hover { text-decoration: underline; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.area-list li { padding: 0.2rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; background: var(--surface); }

.form-panel {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.form-panel h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }

.form { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232f3133' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--ocean); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.9375rem; font-weight: 500; }
.field__error:empty { display: none; }
.field__hint { font-size: 0.9375rem; color: var(--ink-2); }

.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { margin-bottom: 0.4rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--ocean); outline-offset: 3px; }

.form__footer { display: grid; gap: var(--space-3); }
.form__status { padding: var(--space-3); border-left: 3px solid var(--danger); background: rgb(163 48 31 / 0.06); font-weight: 500; }
.turnstile-slot { min-height: 65px; }

.form-success { display: grid; gap: var(--space-3); padding-block: var(--space-4); }
.form-success h3 { font-size: var(--step-3); }
.form-success:focus { outline: none; }

/* Legal / simple pages */

.legal { display: grid; gap: var(--space-4); max-width: 42em; }
.legal h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.legal ul { margin: 0; padding-left: 1.25rem; }

/* Footer */


.site-footer {
  border-top: 1px solid rgb(230 235 231 / 0.12);
  padding-block: var(--space-7) var(--space-5);
  color: var(--on-night);
  background: var(--night);
  font-size: 0.9375rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--surf); text-decoration: underline; }
.site-footer .brand { color: var(--on-night); }
.site-footer .brand__name span { color: var(--on-night-2); }
.footer-grid { display: grid; gap: var(--space-5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin: 0;
  border: 1px solid rgb(230 235 231 / 0.25);
}
.sheet > div { padding: 0.75rem 1rem; border: 1px solid rgb(230 235 231 / 0.12); }
.sheet dt { font-family: var(--font-display); font-stretch: 85%; font-size: var(--step--1); color: var(--on-night-2); }
.sheet dd { margin: 0.15rem 0 0; font-weight: 600; line-height: 1.4; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); color: var(--on-night-2); font-size: var(--step--1); }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
