/* ==========================================================================
   Ethan Greenwood — portfolio
   One family (Archivo), width axis as the expressive tool.
   Accent is layout-fluid blue, used for measurement and interaction only.
   ========================================================================== */

:root {
  --paper: #F2F3F0;
  --sheet: #FAFAF8;
  --ink: #1F2226;
  --steel: #575E66;
  --rule: #CBCFCA;
  --grid: #E1E4E0;
  --blue: #2A3BD1;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);

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

  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --max: 84rem;
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}
a:hover { color: var(--blue); }

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

p { margin: 0 0 1em; max-width: 62ch; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { top: 0.5rem; color: var(--paper); }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.wordmark {
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul a {
  display: inline-block;
  padding-block: 0.75rem;
  font-size: 0.9375rem;
  text-decoration: none;
}

@media (max-width: 599px) {
  .nav__extra { display: none; }
}
/* Very small phones: tighten the header so it fits without sideways scroll */
@media (max-width: 374px) {
  .nav { gap: 0.75rem; }
  .wordmark { font-size: 0.9375rem; }
  .nav ul { gap: 0.75rem; }
  .nav ul a { font-size: 0.875rem; }
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { border-color: var(--blue); color: var(--blue); }

.button--solid { background: var(--ink); color: var(--paper); }
.button--solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Hero: full-screen product photos -------------------------------------- */

/* The background shades like each photo's studio backdrop (darker at the top,
   lighter at the bottom), so the photo's faded edge blends into one continuous
   set behind the name. Registered colours let the shading cross-fade too. */
@property --hero-top {
  syntax: "<color>";
  inherits: true;
  initial-value: #898176;
}
@property --hero-bottom {
  syntax: "<color>";
  inherits: true;
  initial-value: #B4ACA0;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(var(--hero-top), var(--hero-bottom));
  transition: --hero-top 1.2s var(--ease), --hero-bottom 1.2s var(--ease);
}

.hero__slides {
  position: relative;
  aspect-ratio: 1;
  max-height: 62svh;
  margin-inline: auto;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  transform: scale(1.04);
  transition: transform 7s linear;
}
/* A slow drift while each photo is on screen */
.hero__slide.is-active img { transform: scale(1); }

.hero__inner {
  position: relative;
  display: grid;
  /* minmax(0, …) stops a long caption from widening the column past the screen */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: 0 var(--space-5);
}

.hero__name {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(2.75rem, 1rem + 5.5vw, 6.5rem);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.hero__lede {
  max-width: 32ch;
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--step-1);
  line-height: 1.4;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Light backing keeps the caption readable where it overlaps a dark product */
.hero__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.375rem 0.375rem 0.375rem 1rem;
  border-radius: 999px;
  background: rgb(242 243 240 / 0.82);
}
.hero__controls .icon-button { border-color: transparent; }

.hero__caption {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 2.75rem;
  margin-right: auto;
  font-weight: 600;
  text-decoration: none;
}
.hero__caption [data-hero-title] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__caption:hover { color: var(--ink); text-decoration: underline; }

.hero__count {
  flex: none;
  margin-right: 0.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__controls .icon-button { flex: none; }

@media (max-width: 899px) {
  .hero__controls { justify-self: stretch; }
}
/* Small phones: give the caption the counter's space */
@media (max-width: 479px) {
  .hero__count { display: none; }
  .hero__caption { font-size: 0.9375rem; line-height: 1.2; }
  .hero__caption [data-hero-title] { white-space: normal; }
}

.hero__toggle .icon-play,
.hero__toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }

/* Blue hover reads poorly on the grey photo backgrounds */
.hero .icon-button:hover,
.hero .button:hover { border-color: var(--ink); color: var(--ink); background: rgb(255 255 255 / 0.35); }
.hero .button--solid:hover { background: #000; color: #fff; }

@media (min-width: 900px) {
  .hero {
    height: calc(100svh - var(--header-h));
    min-height: 34rem;
    max-height: 62rem;
  }

  .hero__slides {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    max-height: none;
  }

  /* Photo sits on the right and fades into the background on its left edge */
  .hero__slide img {
    position: absolute;
    top: 0;
    right: 0;
    width: min(68%, calc(100svh - var(--header-h)));
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
    mask-image: linear-gradient(to right, transparent, #000 35%);
  }

  .hero__inner {
    height: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding-block: var(--space-5);
  }

  .hero__content { max-width: 40rem; }
}

/* Sections -------------------------------------------------------------- */

.section {
  padding-block: var(--space-7);
  border-top: 1px solid var(--rule);
}

.section__head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

@media (min-width: 900px) {
  .section__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: baseline;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.section__title {
  font-size: var(--step-4);
  font-stretch: 112%;
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0;
  color: var(--steel);
}

.section__intro--large {
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 44ch;
}

/* Work gallery ---------------------------------------------------------- */

.section--work .section__head { margin-bottom: var(--space-4); }

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.gallery-count {
  margin: 0;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.gallery-count strong { color: var(--ink); font-weight: 600; }

.gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.icon-button svg { width: 1.25rem; height: 1.25rem; }
.icon-button:hover { border-color: var(--blue); color: var(--blue); }
.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
  border-color: var(--ink);
  color: var(--ink);
}

/* Full-bleed strip that starts in line with the page content */
.gallery {
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  --slide: min(80vw, 38rem, 66svh);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0 var(--edge) var(--space-2);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.gallery:focus-visible { outline-offset: -2px; }

.slide { scroll-snap-align: start; min-width: 0; }

.slide__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #DEDBD6;
  cursor: zoom-in;
}
.slide__open img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.slide__count {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.2;
}

.slide__text { padding-top: var(--space-2); }

.slide h3 {
  font-size: var(--step-1);
  font-stretch: 112%;
  letter-spacing: -0.01em;
}

.slide p {
  margin: 0.35rem 0 0;
  color: var(--steel);
  max-width: 40ch;
}

/* Plotter reveal: the strip draws in from the left once */
.js .reveal { clip-path: inset(0 100% 0 0); }
.js .reveal.is-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease);
}

/* Lightbox -------------------------------------------------------------- */

html:has(.lightbox[open]) { overflow: hidden; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop { background: var(--paper); }

.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: var(--space-2);
  animation: lightbox-in 0.35s var(--ease);
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.97); }
}

.lightbox__top,
.lightbox__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.lightbox__figure {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  touch-action: pan-y;
}
.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 2 * var(--gutter) - 15rem);
  object-fit: contain;
}

.lightbox__thumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
}
.lightbox__thumbs[hidden] { display: none; }

.lightbox__thumb {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 2px solid transparent;
  background: #DEDBD6;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__thumb:hover { opacity: 1; }
.lightbox__thumb[aria-current="true"] {
  border-color: var(--blue);
  opacity: 1;
}

.lightbox__caption { margin: 0; }
.lightbox__caption strong {
  display: block;
  font-size: var(--step-1);
  font-stretch: 112%;
}
.lightbox__caption span { color: var(--steel); }

/* Rows (toolkit, results) ---------------------------------------------- */

.rows {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.rows > div {
  display: grid;
  grid-template-columns: minmax(7rem, 2fr) 5fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.rows dt { color: var(--steel); }
.rows dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Case study cards (home) ----------------------------------------------- */

.case-cards {
  display: grid;
  gap: var(--space-5) clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .case-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .case-card { grid-column: span 2; }
  /* The first two lead the section at a larger size */
  .case-card:nth-child(-n + 2) { grid-column: span 3; }
}

.case-card a {
  display: block;
  text-decoration: none;
}

.case-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #DEDBD6;
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card a:hover .case-card__media img { transform: scale(1.03); }

.case-card h3 {
  margin-top: var(--space-2);
  font-size: var(--step-2);
  font-stretch: 112%;
  letter-spacing: -0.015em;
}
.case-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }

.case-card p {
  margin: 0.35rem 0 0;
  color: var(--steel);
}

.slide__case {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
}

.lightbox__case { display: block; margin-top: 0.25rem; font-weight: 600; }
.lightbox__case[hidden] { display: none; }

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

.case-head {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-4) var(--space-5);
}

@media (min-width: 900px) {
  .case-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: var(--space-3) clamp(2rem, 4vw, 4rem);
  }
  .case-head .back { grid-column: 1 / -1; }
}

.back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 2.75rem;
  color: var(--steel);
  text-decoration: none;
}
.back:hover { color: var(--blue); }

.case-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(2.75rem, 1.25rem + 6vw, 6.5rem);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.case-lede {
  max-width: 36ch;
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.4;
}

.case-facts {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.case-facts > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
.case-facts dt { color: var(--steel); }
.case-facts dd { margin: 0; font-weight: 500; }

.case-hero {
  margin: 0 auto;
  max-width: var(--max);
  padding-inline: var(--gutter);
}
.case-hero img {
  width: 100%;
  max-height: 78svh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #DEDBD6;
}

.case-block {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-6) var(--space-4);
}

@media (min-width: 900px) {
  .case-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.case-block h2 {
  font-size: var(--step-3);
  font-stretch: 112%;
  letter-spacing: -0.015em;
}

.case-block p {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 44ch;
}
.case-block p:last-child { margin-bottom: 0; }

/* Process photos keep their own proportions, packed into columns */
.case-photos {
  columns: 2 16rem;
  column-gap: clamp(0.75rem, 2vw, 1.25rem);
}
.case-photos figure {
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  break-inside: avoid;
  background: #DEDBD6;
}
.case-photos img { width: 100%; }

@media (min-width: 1100px) {
  .case-photos--3 { columns: 3 14rem; }
}

.case-next {
  margin-top: var(--space-6);
  padding-block: var(--space-6);
  border-top: 1px solid var(--rule);
}
.case-next a {
  display: inline-block;
  text-decoration: none;
}
.case-next span {
  display: block;
  color: var(--steel);
}
.case-next strong {
  display: block;
  font-size: var(--step-4);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s;
}
.case-next a:hover strong { color: var(--blue); }

/* Clients --------------------------------------------------------------- */

.clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(5.5rem, 10vw, 8rem);
  padding: 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.3125rem);
  font-stretch: 112%;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

/* Every logo becomes a solid silhouette, whatever its original colour */
.client img {
  width: auto;
  height: auto;
  max-width: min(9rem, 75%);
  max-height: 2.75rem;
  filter: brightness(0);
  opacity: 0.88;
}
/* Stacked logos (mark above name) need more height to read at the same size */
.client img.is-stacked { max-height: 4rem; }
/* Very wide, thin wordmarks need more width to reach the same visual weight */
.client img.is-wide { max-width: min(13rem, 85%); }

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

.about {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}

.about__figure { margin: 0; }
.about__figure img { width: 100%; }
.about__figure figcaption {
  margin-top: 0.6rem;
  color: var(--steel);
  font-size: var(--step--1);
}

/* Services stages ------------------------------------------------------- */

.stages {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  counter-reset: stage;
}

.stage {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
  counter-increment: stage;
}

.stage::before {
  content: counter(stage);
  display: block;
  margin-bottom: var(--space-3);
  color: var(--blue);
  font-size: var(--step-4);
  font-stretch: 75%;
  font-weight: 300;
  line-height: 1;
}

.stage h3 {
  margin-bottom: 0.5rem;
  font-size: var(--step-1);
}

.stage p { color: var(--steel); }

.stage__output {
  margin: 0;
  font-size: var(--step--1);
}

@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage {
    padding-inline: var(--space-4);
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .stage:first-child { padding-left: 0; }
  .stage:last-child { border-right: 0; padding-right: 0; }
}

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

.contact__email {
  display: inline-block;
  font-size: clamp(1.6rem, 1rem + 4.2vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.copy-status {
  min-height: 1.5em;
  margin: var(--space-2) 0 0;
  color: var(--steel);
  font-size: var(--step--1);
}

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

.site-footer {
  padding-block: var(--space-4);
  border-top: 1px solid var(--rule);
  color: var(--steel);
  font-size: var(--step--1);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.site-footer p { margin: 0; }

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

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