@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f3f4f6;
  --ink: #111827;
  --muted: #4b5563;
  --accent: #06b6d4;
  --accent-hover: #22d3ee;
  --field: #111827;
  --field-ink: #f9fafb;
  --field-muted: #9ca3af;

  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(96px, 12vw, 180px);
  --bar: 64px;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 1.05vw, 2.125rem);
  --step-head: clamp(2.5rem, 1.4rem + 4vw, 5.25rem);
  --step-display: min(11.5vw, 25svh);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar);
  scrollbar-color: #9ca3af transparent;
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }

::selection { background: var(--accent); color: var(--ink); }
.contact ::selection { background: var(--ink); color: var(--field-ink); }

:focus-visible {
  outline: 2px solid var(--focus, var(--ink));
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px;
  left: var(--gutter);
  z-index: 30;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--field-ink);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Bar: takes the colour of the chapter under it */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--bar);
  padding-inline: var(--gutter);
  background: var(--bar-bg, var(--bg));
  color: var(--bar-ink, var(--ink));
  transition: background-color 300ms ease, color 300ms ease;
}
.bar[data-tone="surface"] { --bar-bg: var(--surface); }
.bar[data-tone="dark"] { --bar-bg: var(--field); --bar-ink: var(--field-ink); --bar-muted: var(--field-muted); --focus: var(--field-ink); }
.bar[data-tone="accent"] { --bar-bg: var(--accent); --bar-muted: var(--ink); }

.wordmark {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bar nav { display: flex; gap: clamp(12px, 2.4vw, 32px); }
.bar nav a {
  position: relative;
  padding-block: 12px;
  color: var(--bar-muted, var(--muted));
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}
.bar nav a[aria-current="true"] {
  color: var(--bar-ink, var(--ink));
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .bar nav a:hover { color: var(--bar-ink, var(--ink)); }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: max(520px, calc(100svh - var(--bar) - 72px));
  padding: clamp(16px, 3svh, 40px) var(--gutter) clamp(24px, 4svh, 48px);
}

.hero h1,
.role {
  margin-left: -0.07em;
  font-size: var(--step-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero h1 { contain: layout; white-space: nowrap; }
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .ltr { display: inline-block; }

.role {
  min-height: 1em;
  color: var(--muted);
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 0.06em;
  height: 0.8em;
  margin-left: 0.05em;
  background: var(--accent);
  vertical-align: -0.06em;
}
.js .caret { animation: blink 1060ms steps(1) infinite; }
.caret.is-typing { animation: none !important; }

@keyframes blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.lead {
  max-width: 28em;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.button {
  display: inline-block;
  flex: none;
  padding: 18px 28px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.button:active { transform: scale(0.97); }
.button.dark { background: var(--ink); color: var(--field-ink); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-hover); }
  .button.dark:hover { background: #1f2937; }
}

/* About */
.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding: var(--section) var(--gutter);
  background: var(--surface);
}

.about h2,
.projects h2,
.contact h2 {
  margin-left: -0.045em;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-side { grid-column: 1 / span 4; }

.facts {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.facts dt { color: var(--muted); font-size: var(--step-small); }
.facts a { text-underline-offset: 3px; overflow-wrap: anywhere; }

.about-body { grid-column: 5 / -1; }

.statement {
  max-width: 24em;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.about-note {
  max-width: 34em;
  margin-top: 32px;
}

.stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 72px;
}
.stack h3 { margin-bottom: 12px; font-size: var(--step-body); }
.stack li { color: var(--muted); }

/* Services */
.services {
  --focus: var(--field-ink);
  padding: var(--section) var(--gutter);
  background: var(--field);
  color: var(--field-ink);
}

.services h2,
.services h3 {
  margin-left: -0.045em;
  font-size: var(--step-head);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.services h2 {
  min-height: calc(var(--step-head) * 1.42);
  color: var(--field-muted);
}

.service-list a {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: first baseline;
  min-height: calc(var(--step-head) * 1.42);
  text-decoration: none;
}
.service-list h3 {
  grid-column: 1 / span 7;
  transition: transform 240ms var(--ease-out), color 160ms ease;
}
.service-list p {
  grid-column: 8 / -1;
  color: #d1d5db;
  transition: color 160ms ease;
}
.service-list a:active h3 { transform: translateX(6px) scale(0.99); }

@media (hover: hover) and (pointer: fine) {
  .service-list:hover h3,
  .service-list:hover p { color: var(--field-muted); }
  .service-list a:hover h3 { color: var(--field-ink); transform: translateX(12px); }
  .service-list a:hover p { color: var(--field-ink); }
}

/* Projects */
.projects { padding: var(--section) var(--gutter); }

.projects-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: last baseline;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.projects-head h2 { grid-column: 1 / span 7; }
.projects-head p { grid-column: 8 / -1; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(56px, 6.5vw, 96px) 24px;
}
.project.wide { grid-column: 1 / -1; }
.project.seven { grid-column: span 7; }
.project.five { grid-column: span 5; }

.shot {
  position: relative;
  container: shot / inline-size;
  height: clamp(320px, 27vw, 420px);
  overflow: hidden;
  background: var(--surface);
}
.project.wide .shot { height: clamp(340px, 36vw, 540px); }
.project.wide:last-child .shot { height: clamp(300px, 26vw, 400px); }

.project-text {
  display: grid;
  gap: 8px 24px;
  margin-top: 20px;
}
.project.wide .project-text {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: first baseline;
}
.project.wide .project-text > div { grid-column: 1 / span 7; }
.project.wide .project-text > p { grid-column: 8 / -1; }

.project h3 {
  font-size: var(--step-lead);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.kind { margin-top: 2px; color: var(--muted); font-size: var(--step-small); }

/* Contact */
.contact {
  --focus: var(--ink);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) 24px;
  padding: var(--section) var(--gutter);
  background: var(--accent);
  color: var(--ink);
}

.contact-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: last baseline;
}
.contact-head h2 { grid-column: 1 / span 8; font-size: var(--step-display); white-space: nowrap; }
.contact-head p { grid-column: 9 / -1; }

.contact-form { grid-column: 1 / span 7; display: grid; gap: 24px; }

.contact-form legend,
.field > span {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 500;
}

.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.needs span {
  display: block;
  padding: 10px 16px;
  border: 1px solid var(--ink); /* taste-skill-ignore: a control's edge on cyan needs 3:1 */
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.needs label:active span { transform: scale(0.97); }
.needs input:checked + span { background: var(--ink); color: var(--field-ink); }
.needs input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .needs input:not(:checked) + span:hover { background: var(--surface); }
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  caret-color: var(--ink);
  font: inherit;
  resize: vertical;
}

.field textarea[aria-invalid="true"] { outline: 2px solid var(--ink); outline-offset: 3px; }

.error { font-weight: 600; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.status { flex: 1 1 16em; }

/* Footer */
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px 32px;
  padding: 32px var(--gutter);
}

.foot-mail {
  font-weight: 500;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a,
.foot-top { text-decoration: none; }

.foot-legal,
.foot-top {
  color: var(--muted);
  font-size: var(--step-small);
}
.foot-top { justify-self: end; }

@media (hover: hover) and (pointer: fine) {
  .foot nav a:hover,
  .foot-top:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* Interface fragments */
[data-ui].app {
  position: absolute;
  top: 9%;
  left: 6%;
  right: 0;
  bottom: -12px;
  padding: 20px 20px 32px;
  border: 1px solid #e5e7eb;
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px 0 0 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  letter-spacing: 0;
  transition: transform 500ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .project:hover [data-ui].app { transform: translateY(-8px); }
}

[data-ui] .app-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
[data-ui] .app-top strong { font-weight: 600; }
[data-ui] .app-top span { color: var(--muted); }
[data-ui] .app-top b { color: var(--ink); font-weight: 600; }

[data-ui] .app-button {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

[data-ui].app-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 20px;
}
[data-ui] .week { display: flex; flex-direction: column; min-height: 0; }
[data-ui] .days {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}
[data-ui] .days > div { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
[data-ui] .days b { font-weight: 500; color: var(--muted); }
[data-ui] .days span {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 32px;
  max-height: 72px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
[data-ui] .days .off { border-color: transparent; background: var(--surface); color: var(--muted); }
[data-ui] .days .on { border-color: var(--accent); background: var(--accent); font-weight: 600; }

[data-ui] .booking-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: var(--surface);
}
[data-ui] .booking-card strong { font-weight: 600; }
[data-ui] .booking-card dl { flex: 1; display: grid; align-content: start; gap: 10px; }
[data-ui] .booking-card dl div { display: flex; justify-content: space-between; gap: 16px; }
[data-ui] .booking-card dt { color: var(--muted); }

[data-ui] table { width: 100%; border-collapse: collapse; }
[data-ui] th {
  padding: 8px 12px 8px 0;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}
[data-ui] td {
  padding: 10px 12px 10px 0;
  border-top: 1px solid #e5e7eb;
}
[data-ui] .num { text-align: right; padding-right: 32px; }
[data-ui] .flag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

[data-ui].app-order {
  left: 0;
  right: 0;
  width: min(320px, 88%);
  margin-inline: auto;
  border-right: 1px solid #e5e7eb;
  border-radius: 14px 14px 0 0;
}
[data-ui].app-order li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid #e5e7eb;
}
[data-ui] .order-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-block: 12px;
  border-top: 1px solid #e5e7eb;
}
[data-ui] .order-total b { font-weight: 600; }

[data-ui].app-tracking { display: flex; flex-direction: column; }
[data-ui].app-tracking ol { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 4px; }
[data-ui].app-tracking li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 10px 24px;
  color: var(--muted);
}
[data-ui].app-tracking li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
}
[data-ui].app-tracking li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: -20px;
  left: 6px;
  width: 1px;
  background: #d1d5db;
}
[data-ui].app-tracking .done { color: var(--ink); }
[data-ui].app-tracking .done::before { background: var(--ink); }
[data-ui].app-tracking .now { color: var(--ink); font-weight: 600; }
[data-ui].app-tracking .now::before { background: var(--accent); }

[data-ui].app-stock li {
  display: grid;
  grid-template-columns: minmax(0, 130px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 11px;
  border-top: 1px solid #e5e7eb;
}
[data-ui].app-stock li > :last-child { color: var(--muted); text-align: right; }
[data-ui].app-stock i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}
[data-ui].app-stock i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--level));
  transform-origin: left;
}
[data-ui].app-stock .low i::before { background: var(--accent); }
[data-ui].app-stock .low > :first-child { font-weight: 600; }

[data-ui].app-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
[data-ui] .lane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
}
[data-ui] .lane-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
[data-ui] .lane-top strong { font-weight: 600; }
[data-ui] .lane-top span { color: var(--muted); }
[data-ui] .deal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
}
[data-ui] .deal b { font-weight: 500; }
[data-ui] .deal.won { background: var(--accent); }

@container shot (max-width: 900px) {
  [data-ui].app-pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-ui].app-pipeline .lane:nth-child(4) { display: none; }
}

@container shot (max-width: 760px) {
  [data-ui].app-booking { grid-template-columns: minmax(0, 1fr); }
  [data-ui] .booking-card { display: none; }
}

@container shot (max-width: 640px) {
  [data-ui].app-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  [data-ui].app-pipeline .lane:nth-child(3) { display: none; }
  [data-ui] .lane { padding: 10px; }
  [data-ui] .deal { flex-direction: column; padding: 10px; }
}

@container shot (max-width: 440px) {
  [data-ui].app-invoices th:nth-child(2),
  [data-ui].app-invoices td:nth-child(2) { display: none; }
  [data-ui] .num { padding-right: 16px; }
  [data-ui].app-stock li { grid-template-columns: minmax(0, 96px) minmax(0, 1fr) auto; gap: 10px; }
}

[data-ui].draft {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
}
[data-ui].draft dl > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding-block: 10px;
  border-bottom: 1px solid #e5e7eb;
}
[data-ui].draft dt { color: var(--muted); }
[data-ui].draft dd { overflow-wrap: anywhere; }
[data-ui] .draft-actions { margin-top: 16px; }
[data-ui] .copy {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
[data-ui] .copy:active { transform: scale(0.97); }
[data-ui] .copy:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[data-ui] .draft-body {
  flex: 1;
  min-height: 11em;
  padding-top: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
[data-ui] .draft-body[data-empty="true"] { color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  [data-ui] .copy:hover { background: var(--surface); }
}

/* Entrances: one per section, shaped to its content, and only armed when the script runs */
.js [data-reveal] {
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), clip-path 900ms var(--ease-out);
}
.js [data-reveal="rise"] { opacity: 0.2; transform: translateY(20px); }
.js [data-reveal="slide"] { opacity: 0.2; transform: translateX(-20px); }
.js [data-reveal="wipe"] { clip-path: inset(0 0 14% 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0); }

.js .hero h1,
.js .role,
.js .hero-foot > * {
  animation: rise 800ms var(--ease-out) both;
}
.js .role { animation-delay: 70ms; }
.js .lead { animation-delay: 140ms; }
.js .hero-foot .button { animation-delay: 210ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-ui].app {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes drift {
      from { translate: 0 36px; }
      to { translate: 0 0; }
    }
  }
}

@media (max-width: 860px) {
  :root { --step-display: 10.6vw; }

  .hero {
    gap: 40px;
    min-height: 0;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: 19.5vw;
    line-height: 0.95;
    white-space: normal;
  }
  .role { margin-top: 0.2em; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 24px; }
  .button { text-align: center; }

  .about-side { display: contents; }
  .about h2 { grid-column: 1 / -1; order: 1; }
  .about-body { grid-column: 1 / -1; order: 2; margin-top: 32px; }
  .facts { grid-column: 1 / -1; order: 3; margin-top: 56px; }

  .services h2 { min-height: 0; margin-bottom: 32px; }
  .service-list li + li { margin-top: 24px; }
  .service-list a { display: block; min-height: 0; }
  .service-list p { margin-top: 4px; }

  .projects-head h2,
  .projects-head p { grid-column: 1 / -1; }
  .projects-head p { margin-top: 16px; }

  .project.wide,
  .project.seven,
  .project.five { grid-column: 1 / -1; }
  .project.wide .project-text { grid-template-columns: minmax(0, 1fr); }
  .project.wide .project-text > div,
  .project.wide .project-text > p { grid-column: 1; }
  .shot,
  .project.wide .shot,
  .project.wide:last-child .shot { height: 340px; }

  .contact-head { display: block; }
  .contact-head h2 { font-size: var(--step-head); }
  .contact-head p { margin-top: 16px; }
  .contact-form { grid-column: 1 / -1; }
  [data-ui].draft { grid-column: 1 / -1; }
  [data-ui].draft dl > div { grid-template-columns: 56px minmax(0, 1fr); }
  .form-actions .button { width: 100%; }
}

@media (max-width: 560px) {
  .nav-home { display: none; }
  .foot-mail,
  .foot nav { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; clip-path: none; transition: opacity 300ms ease; }
  .js .hero h1,
  .js .role,
  .js .hero-foot > * { animation: none; }
  .js .caret { animation: none; }
  .button:active,
  .needs label:active span,
  .service-list a:active h3,
  .service-list a:hover h3,
  .project:hover [data-ui].app,
  [data-ui] .copy:active { transform: none; }
  [data-ui].app { transition: none; }
}
