/* ==========================================================================
   Mii Graphic - Global Foundations
   ========================================================================== */

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Md.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Smbd.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Bd.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Xbd.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("assets/global/Behind-The-Nineties-Sans-Blk.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100%;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 4px;
}

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

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

:root {
  /* Colors */
  --color-paper: #f6eee6;
  --color-paper-variant: #efe5dc;
  --color-cassis: #642638;
  --color-cassis-hover: #7a3045;
  --color-cassis-pressed: #4e1d2b;
  --color-clay-rose: #ecb8bc;
  --color-clay-rose-soft: #f5d6d9;
  --color-sage: #dfe867;
  --color-sage-soft: #eef3a6;
  --color-powder-blue: #c1d8f0;
  --color-powder-blue-soft: #e2eef9;
  --color-topaz: #d75633;
  --color-topaz-hover: #e06a4a;
  --color-line: #dec9c1;

  /* Semantic colors */
  --color-background: var(--color-paper);
  --color-surface: var(--color-paper);
  --color-surface-muted: var(--color-paper-variant);
  --color-text: var(--color-cassis);
  --color-text-muted: rgba(100, 38, 56, 0.72);
  --color-text-subtle: rgba(100, 38, 56, 0.56);
  --color-border: rgba(100, 38, 56, 0.18);

  /* Typography */
  --font-impact: "Behind The Nineties", "Arial Black", Impact, sans-serif;
  --font-base: "aktiv-grotesk", "Aktiv Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: var(--font-base);
  --font-ui: var(--font-base);

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 2rem;
  --text-h1: clamp(4.5rem, 8vw, 7.5rem);
  --text-h2: 2rem;
  --text-h3: 1.375rem;

  --leading-tight: 0.95;
  --leading-snug: 1.15;
  --leading-normal: 1.45;
  --leading-loose: 1.65;

  --tracking-tight: -0.03em;
  --tracking-normal: 0;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8.25rem;

  --section-padding-block: clamp(3.5rem, 7vw, 8.25rem);
  --section-padding-inline: clamp(1.25rem, 4vw, 4rem);
  --grid-gap: clamp(1.25rem, 2.5vw, 2.25rem);

  /* Radius */
  --radius-xs: 0.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 0.875rem;
  --radius-lg: 1rem;
  --radius-xl: 1.125rem;
  --radius-pill: 999px;

  /* Layout */
  --site-max-width: 90rem;
  --text-max-width: 51.25rem;
  --text-narrow-width: 42.5rem;
  --header-height: 5.5rem;

  /* Motion */
  --transition-fast: 160ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-sage);
  color: var(--color-cassis);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-impact);
  font-weight: var(--font-weight-bold);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  font-style: italic;
  line-height: 0.98;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
  letter-spacing: var(--tracking-normal);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: var(--tracking-normal);
}

h4,
h5,
h6 {
  font-family: var(--font-ui);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
}

p,
li,
blockquote,
figcaption {
  max-width: var(--text-max-width);
}

p {
  color: inherit;
}

small,
.text-small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.eyebrow,
.label {
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
}

strong {
  font-weight: var(--font-weight-bold);
}

em {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Global Layout
   -------------------------------------------------------------------------- */

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

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

.section-inner {
  width: min(100%, var(--site-max-width));
  margin-inline: auto;
}

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

.flow > * + * {
  margin-top: var(--flow-space, var(--space-lg));
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: var(--color-cassis);
  color: var(--color-paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding-inline: var(--section-padding-inline);
}

.site-header__logo {
  position: relative;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  width: clamp(7.5rem, 12vw, 9.375rem);
}

.site-header__logo img,
.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-menu-button {
  position: relative;
  z-index: 120;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--color-paper);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.site-menu-button:hover {
  border-color: var(--color-sage);
}

.site-menu-toggle:focus-visible + .site-menu-button {
  outline: 3px solid var(--color-sage);
  outline-offset: 4px;
}

.site-menu-button__icon {
  grid-area: 1 / 1;
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(94%) sepia(11%) saturate(442%) hue-rotate(326deg) brightness(106%) contrast(93%);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
}

.site-menu-button__icon--close {
  opacity: 0;
  transform: scale(0.78) rotate(-12deg);
}

.site-menu-toggle:checked + .site-menu-button .site-menu-button__icon--open {
  opacity: 0;
  transform: scale(0.78) rotate(12deg);
}

.site-menu-toggle:checked + .site-menu-button .site-menu-button__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
  min-height: 100svh;
  padding: calc(var(--header-height) + var(--space-xl)) var(--section-padding-inline) var(--space-3xl);
  background: var(--color-cassis);
  color: var(--color-paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.75rem);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow),
    visibility var(--transition-slow);
}

.site-menu a {
  font-family: var(--font-ui);
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-base);
}

.site-menu a:hover {
  color: var(--color-sage);
}

.site-menu-toggle:checked ~ .site-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

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

.site-footer {
  background: var(--color-cassis);
  color: var(--color-paper);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: min(100%, var(--site-max-width));
  margin-inline: auto;
  padding: clamp(5rem, 8vw, 7.5rem) var(--section-padding-inline) clamp(2rem, 4vw, 3rem);
}

.site-footer__logo {
  grid-column: 1 / 4;
  display: inline-flex;
  align-items: flex-start;
  width: clamp(7.5rem, 12vw, 10rem);
}

.site-footer__statement {
  grid-column: 1 / 11;
  max-width: 58rem;
  color: var(--color-paper);
  font-family: var(--font-impact);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.04;
  letter-spacing: var(--tracking-tight);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.site-footer__content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  padding-top: clamp(2rem, 4vw, 4rem);
}

.site-footer__email {
  grid-column: 1 / 5;
  width: fit-content;
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  transition: color var(--transition-base);
}

.site-footer__nav {
  grid-column: 6 / 9;
  display: grid;
  gap: var(--space-sm);
}

.site-footer__socials {
  grid-column: 10 / -1;
  display: grid;
  gap: var(--space-sm);
}

.site-footer__nav a,
.site-footer__socials a {
  width: fit-content;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-footer__socials img {
  width: 1rem;
  height: 1rem;
  filter: invert(94%) sepia(11%) saturate(442%) hue-rotate(326deg) brightness(106%) contrast(93%);
  transition: filter var(--transition-base);
}

.site-footer a:hover {
  color: var(--color-sage);
}

.site-footer__socials a:hover img {
  filter: invert(93%) sepia(70%) saturate(478%) hue-rotate(12deg) brightness(99%) contrast(88%);
}

.site-footer__copyright {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: clamp(2rem, 5vw, 4rem);
  color: rgba(246, 238, 230, 0.68);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button,
.btn {
  --button-fill: var(--color-paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0.8rem 1.45rem;
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-lg);
  background: var(--color-cassis);
  color: var(--color-paper);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 0 var(--button-fill),
    0 0 0 rgba(100, 38, 56, 0);
  cursor: pointer;
  transition:
    border-color 320ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms ease,
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button::before,
.btn::before {
  content: none;
}

.button:hover,
.btn:hover {
  border-color: var(--color-cassis);
  background-color: var(--color-cassis);
  color: var(--color-cassis);
  box-shadow:
    inset 32rem 0 0 0 var(--button-fill),
    0 0.45rem 0 rgba(100, 38, 56, 0.12);
  transform: translateY(-0.125rem);
}

.button:hover::before,
.btn:hover::before {
  content: none;
}

.button:active,
.btn:active {
  border-color: var(--color-cassis-pressed);
  background: var(--color-cassis-pressed);
  color: var(--color-paper);
  transform: translateY(1px);
}

.button--secondary,
.btn--secondary {
  --button-fill: var(--color-cassis);
  background: var(--color-sage);
  color: var(--color-cassis);
}

.button--secondary::before,
.btn--secondary::before {
  content: none;
}

.button--secondary:hover,
.btn--secondary:hover {
  border-color: var(--color-cassis);
  color: var(--color-paper);
}

.button--light,
.btn--light {
  --button-fill: var(--color-sage);
  border-color: var(--color-paper);
  background: var(--color-paper);
  color: var(--color-cassis);
}

.button--light::before,
.btn--light::before {
  content: none;
}

.button--light:hover,
.btn--light:hover {
  border-color: var(--color-sage);
  color: var(--color-cassis);
}

.button--compact,
.btn--compact {
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   Tags & Pills
   -------------------------------------------------------------------------- */

.tag,
.pill,
.project-tag,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.125rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--color-sage);
  color: var(--color-cassis);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--muted,
.pill--muted {
  background: var(--color-paper-variant);
  border-color: var(--color-border);
}

.tag--dark,
.pill--dark,
.project-tag--premium {
  background: var(--color-cassis);
  color: var(--color-paper);
}

.filter-pill {
  background: var(--color-paper);
  border-color: var(--color-cassis);
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.filter-pill[hidden] {
  display: none;
}

.filter-pill:hover,
.filter-pill.is-active,
.filter-pill[aria-pressed="true"] {
  background: var(--color-cassis);
  color: var(--color-paper);
}

/* --------------------------------------------------------------------------
   Project Cards
   -------------------------------------------------------------------------- */

.project-card {
  min-width: 0;
  color: var(--color-cassis);
}

.project-card a {
  display: grid;
  gap: var(--space-lg);
}

.project-card__media,
.project-card-media {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--color-paper-variant);
}

.project-card--premium .project-card__media,
.project-card--premium .project-card-media {
  aspect-ratio: 16 / 11;
}

.project-card__media img,
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card a:hover .project-card__media img,
.project-card a:hover .project-card-media img {
  transform: scale(1.035);
}

.project-card__content,
.project-card-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-sm) var(--space-lg);
  align-items: start;
  min-width: 0;
}

.project-card__title,
.project-card-title {
  grid-column: 1 / -1;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-family: var(--font-impact);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.03;
  letter-spacing: var(--tracking-tight);
}

.project-card--standard .project-card__title,
.project-card--standard .project-card-title {
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
}

.project-card__meta,
.project-card-meta {
  min-width: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-card__tags,
.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: flex-start;
}

.project-card__badge,
.project-card-badge {
  width: fit-content;
}

/* --------------------------------------------------------------------------
   Text Cards
   -------------------------------------------------------------------------- */

.text-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.text-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 2.625rem);
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.625rem, 3vw, 2.625rem);
  border-radius: var(--radius-xl);
  background: var(--color-paper-variant);
  color: var(--color-cassis);
}

.text-card > * {
  max-width: 100%;
}

.text-card__label {
  width: fit-content;
  max-width: 100%;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-pill);
  background: rgba(100, 38, 56, 0.1);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
}

.text-card__title {
  font-family: var(--font-impact);
  font-size: clamp(2.125rem, 5vw, 5.375rem);
  font-weight: var(--font-weight-bold);
  line-height: 0.99;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.text-card--medium .text-card__title {
  font-size: clamp(2.125rem, 4vw, 3.875rem);
}

.text-card--small .text-card__title {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
}

.text-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  overflow-wrap: anywhere;
}

.text-card--sage {
  background: var(--color-sage);
}

.text-card--clay {
  background: var(--color-clay-rose);
}

.text-card--blue {
  background: var(--color-powder-blue);
}

.text-card--paper {
  background: var(--color-paper-variant);
  border: 1px solid var(--color-line);
}

.text-card--cassis {
  background: var(--color-cassis);
  color: var(--color-paper);
}

.text-card--cassis .text-card__label {
  background: rgba(246, 238, 230, 0.14);
}

.text-card--span-4 {
  grid-column: span 4;
}

.text-card--span-5 {
  grid-column: span 5;
}

.text-card--span-7 {
  grid-column: span 7;
}

.text-card--span-8 {
  grid-column: span 8;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: var(--space-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.form-field {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  color: var(--color-cassis);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-heavy);
  line-height: 1.2;
  text-transform: uppercase;
}

.form-control,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  min-height: 3.875rem;
  padding: 1rem 1.125rem;
  border: 3px solid var(--color-cassis);
  border-radius: var(--radius-xl);
  background: var(--color-paper);
  color: var(--color-cassis);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: 1.3;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

textarea,
.form-textarea {
  min-height: 12rem;
  resize: vertical;
}

select,
.form-select {
  appearance: none;
}

.form-control::placeholder,
.form-textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(100, 38, 56, 0.48);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 232, 103, 0.32);
}

.form-error {
  color: var(--color-topaz);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
}

.form-success {
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--color-sage);
  color: var(--color-cassis);
  font-weight: var(--font-weight-bold);
}

.form-status {
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-xl);
  color: var(--color-cassis);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: var(--color-sage);
}

.form-status--error {
  background: var(--color-paper);
  border-color: var(--color-topaz);
  color: var(--color-topaz);
}
}

.form-submit {
  justify-self: start;
}

/* --------------------------------------------------------------------------
   Shared UI Utilities
   -------------------------------------------------------------------------- */

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.section-heading--compact {
  max-width: 65rem;
}

.section-heading__title {
  max-width: 58.75rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.section-heading__text {
  color: var(--color-text-muted);
}

.image-frame {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--color-paper-variant);
}

.image-frame img,
.image-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
  gap: var(--grid-gap);
}

.responsive-grid--2 {
  --grid-columns: 2;
}

.responsive-grid--3 {
  --grid-columns: 3;
}

/* --------------------------------------------------------------------------
   Home Page Sections
   -------------------------------------------------------------------------- */

.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-sage);
  padding-bottom: 0;
}

.home-hero.section-pad {
  padding-top: 0;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(34rem, calc(100svh - var(--header-height) - 3.25rem), 46rem);
  padding-block: clamp(2rem, 4vh, 3rem) clamp(2rem, 4vh, 3.25rem);
  text-align: center;
}

.home-hero__content {
  position: relative;
  display: grid;
  gap: clamp(0.95rem, 1.8vw, 1.5rem);
  min-width: 0;
  justify-items: center;
  width: min(100%, 92rem);
}

.home-hero h1 {
  max-width: 88rem;
  font-size: clamp(5rem, 9.4vw, 9.75rem);
  line-height: 0.96;
}

.home-hero__lead {
  max-width: 48rem;
  color: rgba(100, 38, 56, 0.84);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.45;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
}

.home-hero__actions .button {
  white-space: nowrap;
}

.home-hero__stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero__sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-cassis);
  box-shadow: 0.45rem 0.45rem 0 var(--color-cassis);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
  animation: sticker-float 5.5s ease-in-out infinite;
}

.home-hero__sticker--food {
  top: 12%;
  right: 8%;
  transform: rotate(7deg);
}

.home-hero__sticker--print {
  top: 34%;
  right: 2%;
  background: var(--color-powder-blue-soft);
  transform: rotate(-8deg);
  animation-delay: -1.8s;
}

.home-hero__sticker--digital {
  left: 4%;
  bottom: 18%;
  background: var(--color-sage-soft);
  transform: rotate(-9deg);
  animation-delay: -3.2s;
}

.home-hero__sticker--branding {
  right: 17%;
  bottom: 6%;
  background: var(--color-clay-rose-soft);
  transform: rotate(9deg);
  animation-delay: -0.9s;
}

.home-hero__marquee {
  position: relative;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  border-top: 1px solid rgba(100, 38, 56, 0.16);
  background: var(--color-cassis);
  color: var(--color-paper);
}

.home-hero__marquee-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: hero-marquee 24s linear infinite;
}

.home-hero__marquee span {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 0.9rem clamp(1.35rem, 2.6vw, 2.6rem);
  font-size: clamp(1.25rem, 2.35vw, 2rem);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-hero__marquee span::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-topaz);
}

.hero-ornamented {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-ornamented .section-inner {
  position: relative;
  z-index: 1;
}

.hero-ornamented .section-inner > :not(.hero-stickers) {
  position: relative;
  z-index: 3;
}

.projects-hero.hero-ornamented,
.services-hero.hero-ornamented,
.about-hero.hero-ornamented,
.contact-hero.hero-ornamented,
.project-hero.hero-ornamented {
  background: var(--color-sage);
}

.projects-hero.hero-ornamented .projects-hero__grid,
.services-hero.hero-ornamented .services-hero__grid,
.about-hero.hero-ornamented .about-hero__inner,
.contact-hero.hero-ornamented .contact-hero__grid,
.project-hero.hero-ornamented .project-hero__grid {
  min-height: clamp(34rem, 70svh, 48rem);
  padding-block: clamp(2.5rem, 6vh, 5rem) clamp(3rem, 6vh, 5rem);
}

.services-hero.hero-ornamented .services-hero__grid,
.about-hero.hero-ornamented .about-hero__inner,
.contact-hero.hero-ornamented .contact-hero__grid {
  align-content: start;
  padding-top: clamp(1.5rem, 4vh, 3.25rem);
}

.projects-hero.hero-ornamented .projects-hero__grid,
.project-hero.hero-ornamented .project-hero__grid {
  align-items: center;
}

.hero-ornamented h1 {
  max-width: 88rem;
  line-height: 0.98;
  text-wrap: balance;
}

.projects-hero.hero-ornamented h1,
.services-hero.hero-ornamented h1,
.about-hero.hero-ornamented h1,
.contact-hero.hero-ornamented h1,
.project-hero.hero-ornamented h1 {
  font-size: clamp(4.25rem, 8vw, 8.5rem);
}

.project-hero.hero-ornamented .project-hero__content h1 {
  font-size: clamp(3.25rem, 6vw, 6.25rem);
}

.projects-hero.hero-ornamented .projects-hero__content,
.contact-hero.hero-ornamented .contact-hero__content,
.about-hero.hero-ornamented .about-hero__copy,
.services-hero.hero-ornamented .services-hero__lead,
.project-hero.hero-ornamented .project-hero__lead {
  max-width: 48rem;
}

.hero-ornamented :is(.home-hero__lead, .projects-hero__content p, .services-hero__lead, .about-hero__copy, .contact-hero__lead, .project-hero__lead) {
  color: rgba(100, 38, 56, 0.84);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.45;
}

.hero-stickers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-cassis);
  box-shadow: 0.45rem 0.45rem 0 var(--color-cassis);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
  animation: sticker-float 5.5s ease-in-out infinite;
}

.hero-sticker--1 {
  top: 24%;
  right: 4%;
  transform: rotate(7deg);
}

.hero-sticker--2 {
  top: 54%;
  right: 0;
  background: var(--color-powder-blue-soft);
  transform: rotate(-8deg);
  animation-delay: -1.8s;
}

.hero-sticker--3 {
  left: 2%;
  bottom: 26%;
  background: var(--color-sage-soft);
  transform: rotate(-9deg);
  animation-delay: -3.2s;
}

.hero-sticker--4 {
  right: 22%;
  bottom: 18%;
  background: var(--color-clay-rose-soft);
  transform: rotate(9deg);
  animation-delay: -0.9s;
}

.services-hero .hero-sticker--1 {
  top: 31%;
  right: 4%;
}

.services-hero .hero-sticker--2 {
  top: 55%;
  right: 1%;
}

.services-hero .hero-sticker--3 {
  left: 2%;
  bottom: 22%;
}

.services-hero .hero-sticker--4 {
  right: 24%;
  bottom: 14%;
}

.about-hero .hero-sticker--1 {
  top: 34%;
  right: 4%;
}

.about-hero .hero-sticker--2 {
  top: 60%;
  right: 1%;
}

.about-hero .hero-sticker--3 {
  left: 2%;
  bottom: 24%;
}

.about-hero .hero-sticker--4 {
  right: 4%;
  bottom: 13%;
}

.contact-hero .hero-sticker--1 {
  top: 32%;
  right: 5%;
}

.contact-hero .hero-sticker--2 {
  top: 56%;
  right: 2%;
}

.contact-hero .hero-sticker--3 {
  left: 2%;
  bottom: 27%;
}

.contact-hero .hero-sticker--4 {
  right: 22%;
  bottom: 19%;
}

@keyframes sticker-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.55rem;
  }
}

@keyframes hero-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.home-hero__note {
  display: grid;
  gap: var(--space-lg);
  align-self: stretch;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-xl);
  background: var(--color-paper);
}

.home-hero__note p {
  max-width: none;
  color: var(--color-cassis);
  font-size: var(--text-base);
}

.home-projects {
  background: var(--color-paper);
}

.home-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) var(--grid-gap);
}

.home-project-card {
  min-width: 0;
}

.home-project-card--wide {
  grid-column: 1 / -1;
  max-width: calc((100% - var(--grid-gap)) / 2);
}

.home-project-card--wide .project-card__media {
  aspect-ratio: 16 / 10;
}

.home-projects__actions {
  display: flex;
  justify-content: center;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.home-projects__actions .button {
  white-space: nowrap;
}

.home-services {
  background: var(--color-powder-blue-soft);
}

.home-about {
  background: var(--color-paper);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.home-about__copy {
  --flow-space: var(--space-lg);
  min-width: 0;
  color: var(--color-text-muted);
}

.home-about__copy .button {
  margin-top: var(--space-md);
}

.home-cta {
  background: var(--color-sage);
  color: var(--color-cassis);
}

.home-cta .eyebrow {
  color: rgba(100, 38, 56, 0.72);
}

.home-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.home-cta__inner h2 {
  max-width: 72rem;
  color: var(--color-cassis);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
}

.home-cta__inner .button {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Projects Listing Page
   -------------------------------------------------------------------------- */

.projects-hero {
  background: var(--color-paper);
}

.projects-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  text-align: center;
}

.projects-hero__content {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
  justify-items: center;
}

.projects-hero__content p {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.projects-filters {
  padding-block: var(--space-xl) var(--space-3xl);
  background: var(--color-paper);
}

.projects-filters__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.projects-list {
  background: var(--color-paper);
}

.projects-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) var(--grid-gap);
}

.project-card--listing {
  min-width: 0;
}

.project-card--listing[hidden] {
  display: none;
}

.project-card--listing .project-card__media {
  aspect-ratio: 4 / 3;
}

.project-card--listing.project-card--premium .project-card__media {
  aspect-ratio: 16 / 11;
}

/* --------------------------------------------------------------------------
   Project Detail Template
   -------------------------------------------------------------------------- */

.project-hero {
  background: var(--color-paper);
}

.project-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.project-hero__content {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
}

.project-hero__content h1 {
  max-width: 100%;
  font-size: clamp(3rem, 4.4vw, 4.625rem);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.project-hero__lead {
  max-width: 40rem;
  color: var(--color-text-muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.45;
}

.project-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.project-hero__media {
  aspect-ratio: 4 / 5;
}

.project-page .project-hero__media,
.project-page .project-split__media,
.project-page .project-gallery__item,
.project-page .project-gallery__item--full,
.project-page .project-gallery__item--tall {
  aspect-ratio: auto;
  background: transparent;
}

.project-page .project-hero__media img,
.project-page .project-split__media img,
.project-page .project-gallery__item img,
.project-page .project-hero__media video,
.project-page .project-split__media video,
.project-page .project-gallery__item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.project-summary {
  background: var(--color-powder-blue);
}

.project-summary .section-inner {
  display: grid;
  gap: var(--space-lg);
}

.project-summary p:last-child {
  max-width: 62rem;
  color: var(--color-cassis);
  font-size: clamp(1.75rem, 4vw, 3.875rem);
  font-family: var(--font-impact);
  font-weight: var(--font-weight-bold);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.project-story {
  background: var(--color-paper);
}

.project-story__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.project-story .text-card__title {
  font-size: clamp(1.75rem, 2.1vw, 2.625rem);
  line-height: 1.04;
}

.project-split {
  background: var(--color-paper);
}

.project-split--reverse {
  background: var(--color-paper-variant);
}

.project-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.project-split--reverse .project-split__copy {
  order: 2;
}

.project-split--reverse .project-split__media {
  order: 1;
}

.project-split__copy {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
}

.project-split__copy p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.project-split__media {
  aspect-ratio: 4 / 3;
}

.project-gallery {
  background: var(--color-paper);
}

.project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.project-page .project-gallery__grid {
  display: block;
  columns: 2;
  column-gap: var(--grid-gap);
}

.project-gallery__item {
  grid-column: span 6;
  aspect-ratio: 4 / 3;
}

.project-page .project-gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 var(--grid-gap);
  break-inside: avoid;
}

.project-gallery__item--full {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.project-page .project-gallery__item--full {
  column-span: none;
}

.project-gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.project-description {
  background: var(--color-paper-variant);
}

.project-description__grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.project-description__copy {
  --flow-space: var(--space-lg);
  max-width: var(--text-max-width);
  color: var(--color-text-muted);
}

.project-cta {
  background: var(--color-cassis);
  color: var(--color-paper);
}

.project-cta .eyebrow {
  color: rgba(246, 238, 230, 0.72);
}

.project-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.project-cta__inner h2 {
  max-width: 62rem;
  color: var(--color-paper);
}

.project-cta__inner .button {
  white-space: nowrap;
}

.project-next {
  background: var(--color-paper);
}

.project-next__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* --------------------------------------------------------------------------
   Services Page
   -------------------------------------------------------------------------- */

.services-hero {
  background: var(--color-sage);
}

.services-hero__grid {
  display: grid;
  place-items: center;
  min-height: clamp(34rem, 72svh, 48rem);
  text-align: center;
}

.services-hero__content {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-width: 0;
  justify-items: center;
  width: min(100%, 72rem);
}

.services-hero__lead {
  max-width: 48rem;
  color: rgba(100, 38, 56, 0.84);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  align-items: center;
}

.services-hero__actions .button {
  white-space: nowrap;
}

.services-horizontal {
  min-height: 380vh;
  padding-block: 0;
  background: var(--color-paper);
}

.services-horizontal__intro {
  display: grid;
  gap: var(--space-lg);
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.services-horizontal__intro h2 {
  max-width: 70rem;
  overflow-wrap: break-word;
}

.services-horizontal__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-height);
  display: grid;
  align-content: start;
  height: calc(100svh - var(--header-height));
  overflow: visible;
  z-index: 1;
}

.services-horizontal__viewport {
  width: 100%;
  overflow: hidden;
  padding-inline: max(var(--section-padding-inline), calc((100vw - var(--site-max-width)) / 2 + var(--section-padding-inline)));
}

.services-horizontal__track {
  display: flex;
  gap: var(--grid-gap);
  width: max-content;
  will-change: transform;
}

.service-detail-card {
  width: min(70vw, 48rem);
  min-height: 28rem;
}

.service-detail-card__list {
  display: grid;
  gap: var(--space-xs);
  color: inherit;
  font-size: var(--text-base);
  list-style: none;
}

.service-detail-card__list li {
  max-width: none;
  overflow-wrap: anywhere;
}

.service-detail-card__list li::before {
  content: "— ";
}

.services-method {
  background: var(--color-powder-blue-soft);
}

.services-method__stack {
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: var(--space-xl);
}

.method-card {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  width: min(100%, 54rem);
  min-height: min(34rem, calc(100svh - var(--header-height) - 3rem));
  justify-content: start;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.method-card:nth-child(2) {
  top: calc(var(--header-height) + var(--space-xl) + 1.5rem);
}

.method-card:nth-child(3) {
  top: calc(var(--header-height) + var(--space-xl) + 3rem);
}

.method-card:nth-child(4) {
  top: calc(var(--header-height) + var(--space-xl) + 4.5rem);
}

.method-card__list {
  display: grid;
  gap: var(--space-xs);
  color: inherit;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  list-style: none;
}

.method-card__list li {
  max-width: none;
  overflow-wrap: anywhere;
}

.method-card__list li::before {
  content: "— ";
}

.services-fit {
  background: var(--color-paper);
}

.services-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.services-cta {
  background: var(--color-cassis);
  color: var(--color-paper);
}

.services-cta .eyebrow {
  color: rgba(246, 238, 230, 0.72);
}

.services-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.services-cta__inner h2 {
  max-width: 62rem;
  color: var(--color-paper);
}

.services-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.services-cta__actions .button {
  white-space: nowrap;
}

.site-cta {
  background: var(--color-sage);
  color: var(--color-cassis);
}

.site-cta .eyebrow {
  color: rgba(100, 38, 56, 0.72);
}

.site-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.site-cta__inner h2 {
  max-width: 72rem;
  color: var(--color-cassis);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.site-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.site-cta__actions .button {
  white-space: nowrap;
}

.button--light-outline {
  border-color: var(--color-paper);
  background: transparent;
  color: var(--color-paper);
}

.button--light-outline:hover {
  border-color: var(--color-sage);
  background: var(--color-sage);
  color: var(--color-cassis);
}

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

.contact-hero {
  background: var(--color-sage);
}

.contact-hero__grid {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  min-height: clamp(28rem, 60svh, 38rem);
  text-align: center;
}

.contact-hero__content {
  display: grid;
  gap: var(--space-lg);
  justify-items: center;
  min-width: 0;
}

.contact-hero__lead {
  max-width: 42rem;
  color: rgba(100, 38, 56, 0.84);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.contact-hero__note {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 2px solid var(--color-cassis);
  border-radius: var(--radius-xl);
  background: var(--color-paper);
}

.contact-hero__note p {
  max-width: none;
  color: var(--color-cassis);
  font-size: var(--text-base);
}

.contact-main {
  background: var(--color-paper);
}

.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: var(--space-xl);
  min-width: 0;
}

.contact-info-card {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-paper-variant);
  color: var(--color-cassis);
}

.contact-info-card--dark {
  border-color: var(--color-cassis);
  background: var(--color-cassis);
  color: var(--color-paper);
}

.contact-info-card__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  text-transform: uppercase;
}

.contact-info-card a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: var(--font-weight-bold);
  transition: color var(--transition-base);
}

.contact-info-card a:hover {
  color: var(--color-sage);
}

.contact-info-card dl {
  display: grid;
  gap: var(--space-md);
}

.contact-info-card dl div {
  display: grid;
  gap: var(--space-2xs);
}

.contact-info-card dt {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  text-transform: uppercase;
}

.contact-info-card dd {
  color: inherit;
  opacity: 0.84;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-form {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--color-powder-blue-soft);
}

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

.about-hero {
  background: var(--color-sage);
}

.about-hero__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-xl);
  min-height: clamp(34rem, 72svh, 48rem);
  text-align: center;
}

.about-hero__inner h1 {
  max-width: 78rem;
}

.about-hero__copy {
  display: grid;
  gap: var(--space-md);
  max-width: 56rem;
  color: rgba(100, 38, 56, 0.84);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.about-hero__actions .button {
  white-space: nowrap;
}

.about-story,
.about-expertise,
.about-visual {
  background: var(--color-paper);
}

.about-approach,
.about-projects {
  background: var(--color-paper-variant);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-split h2 {
  max-width: 42rem;
}

.about-copy {
  display: grid;
  gap: var(--space-md);
  max-width: 58rem;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.about-copy strong {
  color: var(--color-cassis);
  font-weight: var(--font-weight-heavy);
}

.about-expertise__grid {
  align-items: stretch;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
}

.about-visual__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-visual__media {
  width: min(100%, 28rem);
  aspect-ratio: 4 / 5;
}

.about-visual__copy {
  display: grid;
  gap: var(--space-lg);
  max-width: 46rem;
}

.about-visual__copy p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

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

.text-subtle {
  color: var(--color-text-subtle);
}

.uppercase {
  text-transform: uppercase;
}

.no-list {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Responsive Foundations
   -------------------------------------------------------------------------- */

@media (max-width: 1439px) {
  .project-story__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  :root {
    --section-padding-block: clamp(4.75rem, 8vw, 6.5rem);
    --section-padding-inline: clamp(2rem, 5vw, 3rem);
    --grid-gap: clamp(1.25rem, 3vw, 1.75rem);
    --text-h1: clamp(3.75rem, 8vw, 5.75rem);
  }

  .section-inner {
    width: min(100%, var(--site-max-width));
  }

  .site-footer__inner,
  .site-footer__content {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .site-footer__logo,
  .site-footer__statement,
  .site-footer__content,
  .site-footer__email,
  .site-footer__nav,
  .site-footer__socials,
  .site-footer__copyright {
    grid-column: 1 / -1;
  }

  .site-footer__statement {
    max-width: 44rem;
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .projects-hero__grid,
  .project-hero__grid,
  .project-split__grid,
  .project-description__grid,
  .contact-main__grid,
  .home-about__grid,
  .about-split,
  .about-visual__grid {
    grid-template-columns: 1fr;
  }

  .project-hero__content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .project-split--reverse .project-split__copy,
  .project-split--reverse .project-split__media {
    order: initial;
  }

  .project-story__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-page .project-gallery__grid {
    columns: 2;
  }

  .services-horizontal {
    min-height: auto;
    padding-block: var(--section-padding-block);
    padding-bottom: var(--section-padding-block);
  }

  .services-horizontal__sticky {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .services-horizontal__viewport {
    overflow: visible;
    padding-inline: var(--section-padding-inline);
  }

  .services-horizontal__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    transform: none !important;
  }

  .service-detail-card {
    width: auto;
    min-height: 0;
  }

  .method-card,
  .method-card:nth-child(2),
  .method-card:nth-child(3),
  .method-card:nth-child(4) {
    position: static;
    top: auto;
  }

  .method-card {
    width: min(100%, 48rem);
    min-height: 0;
  }

  .contact-hero__grid,
  .services-hero__grid,
  .about-hero__inner,
  .home-hero__inner {
    min-height: auto;
  }

  .projects-hero.hero-ornamented .projects-hero__grid,
  .services-hero.hero-ornamented .services-hero__grid,
  .about-hero.hero-ornamented .about-hero__inner,
  .contact-hero.hero-ornamented .contact-hero__grid,
  .project-hero.hero-ornamented .project-hero__grid {
    min-height: clamp(34rem, 66svh, 44rem);
    padding-block: clamp(3rem, 7vw, 5rem);
  }

  .hero-ornamented h1,
  .projects-hero.hero-ornamented h1,
  .services-hero.hero-ornamented h1,
  .about-hero.hero-ornamented h1,
  .contact-hero.hero-ornamented h1,
  .project-hero.hero-ornamented h1,
  .project-hero.hero-ornamented .project-hero__content h1 {
    max-width: 56rem;
    font-size: clamp(3.4rem, 8vw, 5.75rem);
    line-height: 1;
  }

  .hero-sticker,
  .home-hero__sticker {
    transform: scale(0.88);
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding-block: clamp(4.5rem, 8vw, 6rem);
    --section-padding-inline: clamp(2rem, 5vw, 2.5rem);
    --grid-gap: 1.5rem;
    --text-h1: clamp(3.25rem, 10vw, 5rem);
    --text-h2: 1.75rem;
    --text-h3: 1.25rem;
  }

  .grid-12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .site-footer__inner,
  .site-footer__content {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .site-footer__logo,
  .site-footer__statement,
  .site-footer__content,
  .site-footer__email,
  .site-footer__nav,
  .site-footer__socials,
  .site-footer__copyright {
    grid-column: 1 / -1;
  }

  .site-footer__content {
    gap: var(--space-xl);
  }

  .text-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .text-card--span-4,
  .text-card--span-5,
  .text-card--span-7,
  .text-card--span-8 {
    grid-column: span 3;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .responsive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__inner,
  .home-about__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    min-height: auto;
  }

  .home-project-card--wide {
    max-width: none;
  }

  .projects-hero__grid {
    grid-template-columns: 1fr;
  }

  .project-hero__grid,
  .project-split__grid,
  .project-description__grid {
    grid-template-columns: 1fr;
  }

  .project-story__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-split--reverse .project-split__copy,
  .project-split--reverse .project-split__media {
    order: initial;
  }

  .services-hero__grid {
    grid-template-columns: 1fr;
  }

  .services-horizontal {
    min-height: auto;
    padding-block: var(--section-padding-block);
    padding-bottom: var(--section-padding-block);
  }

  .services-horizontal__sticky {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .services-horizontal__viewport {
    overflow: visible;
    padding-inline: var(--section-padding-inline);
  }

  .services-horizontal__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    transform: none !important;
  }

  .service-detail-card {
    width: auto;
  }

  .services-fit__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__grid,
  .contact-main__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-split,
  .about-visual__grid {
    grid-template-columns: 1fr;
  }

  .about-visual__media {
    width: min(100%, 24rem);
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding-block: clamp(3.5rem, 12vw, 4.5rem);
    --section-padding-inline: clamp(1rem, 5vw, 1.25rem);
    --grid-gap: 1.25rem;
    --text-h1: clamp(2.25rem, 9.6vw, 2.625rem);
    --text-h2: 1.5rem;
    --text-h3: 1.125rem;
  }

  body {
    font-size: var(--text-base);
  }

  h1 {
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .eyebrow {
    overflow-wrap: anywhere;
  }

  .grid-12 {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    min-height: 5rem;
  }

  .site-menu-button {
    width: 3rem;
    height: 3rem;
  }

  .site-menu {
    align-content: start;
    padding-top: calc(5rem + var(--space-3xl));
  }

  .site-footer__inner,
  .site-footer__content {
    grid-template-columns: 1fr;
  }

  .button,
  .btn {
    width: 100%;
    min-height: 3.375rem;
    padding: 0.75rem 1.1rem;
  }

  .button--compact,
  .btn--compact {
    width: fit-content;
    min-height: 2.25rem;
  }

  .project-card__content,
  .project-card-content {
    grid-template-columns: 1fr;
  }

  .project-card__title,
  .project-card-title {
    font-size: 1.75rem;
  }

  .text-card-grid,
  .responsive-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .text-card--span-4,
  .text-card--span-5,
  .text-card--span-7,
  .text-card--span-8 {
    grid-column: 1 / -1;
  }

  .text-card {
    padding: clamp(1.625rem, 8vw, 2rem);
  }

  .text-card__title,
  .text-card--medium .text-card__title,
  .text-card--small .text-card__title {
    font-size: clamp(2rem, 10vw, 2.875rem);
    line-height: 1.02;
  }

  .form-control,
  .form-select,
  .form-textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  select,
  textarea {
    min-height: 3.625rem;
    padding: 0.875rem 1rem;
    font-size: var(--text-base);
  }

  .form-submit {
    justify-self: stretch;
  }

  .home-hero__actions {
    align-items: stretch;
  }

  .home-hero h1 {
    max-width: 21rem;
    font-size: clamp(2rem, 8.4vw, 2.25rem);
    line-height: 1.02;
  }

  .hero-ornamented h1,
  .projects-hero.hero-ornamented h1,
  .services-hero.hero-ornamented h1,
  .about-hero.hero-ornamented h1,
  .contact-hero.hero-ornamented h1,
  .project-hero.hero-ornamented h1,
  .project-hero.hero-ornamented .project-hero__content h1 {
    max-width: 24rem;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    line-height: 1.02;
  }

  .projects-hero.hero-ornamented .projects-hero__grid,
  .services-hero.hero-ornamented .services-hero__grid,
  .about-hero.hero-ornamented .about-hero__inner,
  .contact-hero.hero-ornamented .contact-hero__grid,
  .project-hero.hero-ornamented .project-hero__grid {
    min-height: clamp(28rem, 62svh, 36rem);
    padding-block: clamp(2.5rem, 9vw, 4rem);
  }

  .hero-stickers,
  .home-hero__stickers {
    display: none;
  }

  .home-hero__marquee span {
    padding-block: 0.9rem;
    font-size: clamp(1.125rem, 6vw, 1.75rem);
  }

  .home-hero .eyebrow,
  .home-hero__lead {
    max-width: 21rem;
  }

  .home-hero__actions .button,
  .home-about__copy .button,
  .home-cta__inner .button,
  .home-projects__actions .button,
  .about-hero__actions .button,
  .site-cta__actions .button {
    white-space: normal;
  }

  .about-hero__inner {
    min-height: auto;
  }

  .about-hero h1 {
    max-width: 21rem;
    font-size: clamp(2rem, 8.4vw, 2.25rem);
    line-height: 1.02;
  }

  .about-hero .eyebrow,
  .about-hero__copy {
    max-width: 21rem;
  }

  .about-hero__copy {
    font-size: var(--text-base);
  }

  .about-hero__actions {
    width: 100%;
    align-items: stretch;
  }

  .home-projects__grid {
    grid-template-columns: 1fr;
  }

  .projects-list__grid {
    grid-template-columns: 1fr;
  }

  .project-story__grid,
  .project-next__grid {
    grid-template-columns: 1fr;
  }

  .project-gallery__grid {
    display: block;
    columns: 1;
  }

  .project-gallery__item,
  .project-gallery__item--full,
  .project-gallery__item--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: auto;
  }

  .project-cta__inner .button {
    white-space: normal;
  }

  .services-horizontal__track {
    grid-template-columns: 1fr;
  }

  .service-detail-card,
  .method-card {
    min-height: 0;
  }

  .method-card {
    width: 100%;
  }

  .method-card,
  .method-card:nth-child(2),
  .method-card:nth-child(3),
  .method-card:nth-child(4) {
    position: static;
    top: auto;
  }

  .services-cta__actions,
  .site-cta__actions {
    width: 100%;
  }

  .services-cta__actions .button {
    white-space: normal;
  }

  .services-hero h1 {
    max-width: 21rem;
    font-size: clamp(2rem, 8.4vw, 2.25rem);
    line-height: 1.02;
  }

  .services-hero .eyebrow,
  .services-hero__lead {
    max-width: 21rem;
  }

  .services-hero__actions {
    width: 100%;
    align-items: stretch;
  }

  .services-hero__actions .button {
    white-space: normal;
  }

  .home-project-card--wide {
    grid-column: auto;
  }

  .home-project-card--wide .project-card__media {
    aspect-ratio: 4 / 3;
  }

  p,
  li,
  blockquote,
  figcaption {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  :root {
    --section-padding-block: clamp(3rem, 11vw, 3.75rem);
    --section-padding-inline: clamp(0.875rem, 4vw, 1rem);
    --grid-gap: 1rem;
    --text-h1: clamp(2rem, 10vw, 2.35rem);
    --text-h2: 1.35rem;
  }

  .section-heading,
  .project-description__grid {
    gap: var(--space-md);
  }

  .site-header__inner {
    min-height: 4.75rem;
  }

  .site-header__logo {
    width: clamp(6.5rem, 34vw, 8rem);
  }

  .site-menu-button {
    width: 2.875rem;
    height: 2.875rem;
  }

  .site-menu {
    padding-top: calc(4.75rem + var(--space-2xl));
  }

  .button,
  .btn {
    min-height: 3.125rem;
    padding-inline: 0.95rem;
    font-size: var(--text-xs);
  }

  .project-tag,
  .tag,
  .pill {
    max-width: 100%;
    min-height: 2rem;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
  }

  .home-hero h1,
  .services-hero h1,
  .about-hero h1,
  .project-hero__content h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9.2vw, 2.25rem);
    line-height: 1.06;
  }

  .hero-ornamented h1,
  .projects-hero.hero-ornamented h1,
  .services-hero.hero-ornamented h1,
  .about-hero.hero-ornamented h1,
  .contact-hero.hero-ornamented h1,
  .project-hero.hero-ornamented h1,
  .project-hero.hero-ornamented .project-hero__content h1 {
    max-width: 22rem;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.05;
  }

  .hero-ornamented :is(.home-hero__lead, .projects-hero__content p, .services-hero__lead, .about-hero__copy, .contact-hero__lead, .project-hero__lead) {
    max-width: 22rem;
    font-size: var(--text-base);
    line-height: 1.5;
  }

  .projects-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.15rem, 12vw, 2.75rem);
    line-height: 1.05;
  }

  .home-hero__lead,
  .services-hero__lead,
  .about-hero__copy,
  .contact-hero__lead,
  .project-hero__lead,
  .projects-hero__content p {
    font-size: var(--text-base);
    line-height: 1.5;
  }

  .home-projects__grid,
  .projects-list__grid,
  .project-story__grid,
  .project-next__grid,
  .services-horizontal__track,
  .services-fit__grid {
    grid-template-columns: 1fr;
  }

  .project-card__title,
  .project-card-title {
    font-size: clamp(1.5rem, 9vw, 1.875rem);
  }

  .text-card__title,
  .text-card--medium .text-card__title,
  .text-card--small .text-card__title,
  .project-story .text-card__title {
    font-size: clamp(1.65rem, 10vw, 2.25rem);
  }

  .site-cta__inner h2,
  .home-cta__inner h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 1.06;
  }

  .site-footer {
    padding-block: clamp(3.5rem, 12vw, 5rem) var(--space-xl);
  }

  .site-footer__statement {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1.08;
  }

  .site-footer__nav,
  .site-footer__socials,
  .contact-socials {
    gap: var(--space-xs);
  }

  .contact-form,
  .contact-info-card,
  .text-card {
    padding: clamp(1.25rem, 6vw, 1.625rem);
  }
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */

.motion-ready .reveal-on-scroll,
.motion-ready .stagger-on-scroll,
.motion-ready .image-reveal-on-scroll {
  opacity: 0;
  transition-duration: 820ms;
  transition-property: opacity, transform, clip-path;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .reveal-on-scroll {
  transform: translate3d(0, 1.5rem, 0);
}

.motion-ready .stagger-on-scroll {
  transform: translate3d(0, 1rem, 0);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .image-reveal-on-scroll {
  clip-path: inset(8% 0 0 0 round var(--radius-md));
  transform: translate3d(0, 0.75rem, 0);
}

.motion-ready .reveal-on-scroll.is-visible,
.motion-ready .stagger-on-scroll.is-visible,
.motion-ready .image-reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0 round var(--radius-md));
}

.motion-ready .subtle-parallax {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: transform 180ms linear;
  will-change: transform;
}

@media (max-width: 767px) {
  .motion-ready .reveal-on-scroll,
  .motion-ready .stagger-on-scroll,
  .motion-ready .image-reveal-on-scroll {
    opacity: 1;
    transition-duration: 520ms;
    transition-delay: 0ms;
    transform: none;
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .stagger-on-scroll,
  .image-reveal-on-scroll,
  .subtle-parallax {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}
