/* Velvet Hare Studio
   Fonts: Fraunces and Instrument Sans, both SIL Open Font License, self-hosted. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-opsz-normal.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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-opsz-italic.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: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext-opsz-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-wght-normal.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --paper: #f7f3ed;
  --paper-2: #efe8de;
  --ink: #211a23;
  --ink-soft: #4a414c;
  --muted: #645a66;
  --line: #d9cfc3;
  --velvet: #3d1a33;
  --velvet-2: #53264a;
  --blush: #ecd3c8;
  --accent: #a3412a;
  --error: #a3241a;
  --success: #2f6b45;

  --font-serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --max: 76rem;
  --radius: 14px;
  --radius-sm: 8px;

  --step--1: clamp(0.85rem, 0.83rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 4.75rem);
  --step-5: clamp(2.75rem, 1.6rem + 5.4vw, 6.25rem);

  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-optical-sizing: auto;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.025em;
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.15s, color 0.15s;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--blush);
  color: var(--ink);
}

.visually-hidden {
  position: absolute !important;
  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: 1rem;
  top: -10rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1;
  padding-block: 0.6rem;
}
.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--velvet);
  transition: transform 0.25s ease;
}
.brand:hover .brand__mark {
  transform: translateY(-2px) rotate(-4deg);
}

.site-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding-block: 0.65rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
}

@media (max-width: 40rem) {
  .site-header__inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 0.5rem;
    gap: 0;
  }
  .site-nav {
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .site-nav ul {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .site-nav a {
    padding-block: 0.8rem;
  }
}

/* ---------- Common blocks ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.eyebrow a {
  color: inherit;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
}

.muted {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}
.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.button:hover {
  background: var(--velvet);
  border-color: var(--velvet);
}
.button:active {
  transform: translateY(1px);
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.button--ghost {
  background: transparent;
  color: var(--ink);
}
.button--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.button--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--velvet);
}
.button--light:hover {
  background: var(--blush);
  border-color: var(--blush);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 0.4rem;
}
.arrow-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.arrow-link:hover::after {
  transform: translateX(4px);
}
.arrow-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.section {
  padding-block: var(--space-section);
}
.section--tight {
  padding-block: calc(var(--space-section) * 0.6);
}
.section--flush-top {
  padding-top: 0;
}
.section--alt {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  margin: 0;
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.section-foot {
  margin-top: 2.5rem;
}

.split {
  display: grid;
  gap: 1.5rem 4rem;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split__heading {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}
.split__heading,
h2.split__heading {
  font-size: var(--step-3);
  margin: 0;
}

.prose {
  max-width: 40rem;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.2em;
}
.prose h3 {
  margin-top: 2em;
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
}
.prose ul li + li {
  margin-top: 0.5em;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.68em;
  width: 0.55rem;
  height: 1.5px;
  background: var(--accent);
}
.prose--narrow {
  max-width: 42rem;
}

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 2fr;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--muted);
  font-size: 0.95rem;
}
.facts dd {
  margin: 0;
}
@media (max-width: 30rem) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3.5rem, 2rem + 7vw, 9rem);
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
}
.hero__title {
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.hero__title em,
.page-hero h1 em {
  font-style: italic;
  color: var(--velvet-2);
}
.hero__body {
  display: grid;
  gap: 0;
}
@media (min-width: 56rem) {
  .hero__body {
    margin-left: calc(100% * 5 / 12);
  }
}

.page-hero {
  padding-top: clamp(3rem, 2rem + 5vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.page-hero--center {
  text-align: center;
  padding-bottom: var(--space-section);
}
.page-hero--center .eyebrow {
  justify-content: center;
}
.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}
.page-hero--center .button-row {
  justify-content: center;
}

/* ---------- Services (home) ---------- */

.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2.5rem 2.5rem;
}
@media (min-width: 52rem) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-item {
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}
.service-item h3 {
  font-size: var(--step-2);
  margin: 0.75rem 0 0.75rem;
}
.service-item h3 a {
  text-decoration: none;
}
.service-item h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}
.service-item p {
  color: var(--ink-soft);
}
.service-item__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
}
.service-detail + .service-detail {
  border-top: 1px solid var(--line);
}
.service-detail .split__heading .service-item__num {
  margin-bottom: 0.5rem;
}

/* ---------- Work cards ---------- */

.work-grid {
  display: grid;
  gap: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 48rem) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-card--large {
    grid-column: 1 / -1;
  }
  .work-grid--index .work-card:first-child {
    grid-column: 1 / -1;
  }
}

.work-card__link {
  display: block;
  text-decoration: none;
}
.work-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-card__link:hover .work-card__media img {
  transform: scale(1.025);
}
.work-card__title {
  font-size: var(--step-2);
  margin-bottom: 0.4rem;
}
.work-card__link:hover .work-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}
.work-card__summary {
  color: var(--ink-soft);
  max-width: 44ch;
}
.work-card__tags {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.work-card--large .work-card__title {
  font-size: var(--step-3);
}

/* ---------- Quote ---------- */

.pull-quote {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}
.pull-quote blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pull-quote blockquote p::before {
  content: '“';
}
.pull-quote blockquote p::after {
  content: '”';
}
.pull-quote figcaption {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.pull-quote figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--velvet);
  color: var(--paper);
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}
.cta-band__inner {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: end;
}
@media (min-width: 56rem) {
  .cta-band__inner {
    grid-template-columns: 7fr 5fr;
  }
}
.cta-band__heading {
  font-size: var(--step-4);
  margin: 0;
  max-width: 12ch;
}
.cta-band__body p {
  color: #e6dbe2;
  max-width: 36ch;
}
.cta-band .button-row {
  margin-top: 1.75rem;
}
.cta-band :focus-visible {
  outline-color: var(--blush);
}
.link-light {
  color: var(--paper);
  font-weight: 500;
  padding-block: 0.4rem;
  overflow-wrap: anywhere;
}

/* ---------- Steps / principles ---------- */

.steps,
.principles {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2.5rem 2.5rem;
  counter-reset: step;
}
@media (min-width: 40rem) {
  .steps,
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li,
.principles li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.steps li::before,
.principles li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.steps h3,
.principles h3 {
  margin-bottom: 0.5rem;
}
.steps p,
.principles p {
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* ---------- Case study ---------- */

.case-meta {
  display: grid;
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .case-meta {
    grid-template-columns: 1fr 1fr 2fr;
  }
}
.case-meta dt {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.case-meta dd {
  margin: 0;
}

.case-figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.case-figure img {
  width: 100%;
}
.case-figure--cover {
  margin-bottom: calc(var(--space-section) * 0.2);
}

.next-project {
  border-top: 1px solid var(--line);
}
.next-project a {
  display: block;
  padding-block: clamp(3rem, 6vw, 5rem);
  text-decoration: none;
}
.next-project .eyebrow {
  margin-bottom: 0.75rem;
}
.next-project__title {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.next-project__title::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.25s ease;
}
.next-project a:hover .next-project__title::after {
  transform: translateX(8px);
}

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

.founders {
  display: grid;
  gap: 3.5rem 3rem;
}
@media (min-width: 48rem) {
  .founders {
    grid-template-columns: repeat(2, 1fr);
  }
}
.founder img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
  margin-bottom: 1.5rem;
}
.founder h3 {
  font-size: var(--step-2);
  margin-bottom: 0.25rem;
}
.founder__role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.founder p:last-child {
  color: var(--ink-soft);
  max-width: 42ch;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 3.5rem 5rem;
}
@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 7fr 4fr;
  }
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  max-width: 40rem;
}
.field {
  display: grid;
  gap: 0.45rem;
}
.field label {
  font-weight: 600;
  font-size: 1rem;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: max(16px, 1rem);
  color: var(--ink);
  background: #fffdfa;
  border: 1.5px solid #8f8590;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea {
  resize: vertical;
  min-height: 10rem;
  line-height: 1.5;
}
.field input:hover,
.field textarea:hover {
  border-color: var(--ink);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--velvet);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--error);
}
.field__hint {
  font-size: 0.9rem;
  color: var(--muted);
}
.field__error {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--error);
}
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-form .button {
  justify-self: start;
}
.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid currentColor;
}
.form-status:focus {
  outline: none;
}
.form-status--error {
  color: var(--error);
  background: #fbeeea;
}
.form-status--success {
  color: var(--success);
  background: #ebf3ec;
}
.form-status p + p {
  margin-top: 0.4rem;
}
.form-status strong {
  font-weight: 600;
}

.form-success {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fffdfa;
}
.form-success h2 {
  font-size: var(--step-2);
}
.form-success:focus {
  outline: none;
}

.contact-aside {
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}
.contact-aside__heading {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.5rem;
}
.contact-aside__heading:first-child {
  margin-top: 0;
}
.contact-aside p {
  color: var(--ink-soft);
}
.contact-email {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  color: var(--ink);
  overflow-wrap: anywhere;
}

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

.site-footer {
  background: var(--ink);
  color: #e9e2ea;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: 2rem;
  font-size: 1rem;
}
.site-footer :focus-visible {
  outline-color: var(--blush);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem 3rem;
}
@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1.4fr;
  }
}
.brand--footer {
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.brand--footer .brand__mark {
  color: var(--blush);
}
.site-footer__intro p {
  max-width: 30ch;
  color: #c9bfca;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b7acb8;
  margin-bottom: 0.9rem;
}
.footer-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.footer-list a {
  display: inline-block;
  padding-block: 0.3rem;
  overflow-wrap: anywhere;
}
.footer-list + .footer-list {
  margin-top: 1rem;
}
.site-footer__legal {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid #463d48;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
  color: #b7acb8;
}
.site-footer__legal a {
  display: inline-block;
  padding-block: 0.3rem;
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .next-project,
  .skip-link {
    display: none;
  }
  body {
    background: #fff;
  }
}
