@charset "UTF-8";
:root {
  --step--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
  --step-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);
  --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
  --space-2xs: clamp(0.5625rem, 0.5369rem + 0.1136vw, 0.625rem);
  --space-xs: clamp(0.875rem, 0.8494rem + 0.1136vw, 0.9375rem);
  --space-s: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
  --space-m: clamp(1.6875rem, 1.6108rem + 0.3409vw, 1.875rem);
  --space-l: clamp(2.25rem, 2.1477rem + 0.4545vw, 2.5rem);
  --space-xl: clamp(3.375rem, 3.2216rem + 0.6818vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4.2955rem + 0.9091vw, 5rem);
  --space-3xl: clamp(6.75rem, 6.4432rem + 1.3636vw, 7.5rem);
  --space-3xs-2xs: clamp(0.3125rem, 0.1847rem + 0.5682vw, 0.625rem);
  --space-2xs-xs: clamp(0.5625rem, 0.4091rem + 0.6818vw, 0.9375rem);
  --space-xs-s: clamp(0.875rem, 0.7216rem + 0.6818vw, 1.25rem);
  --space-s-m: clamp(1.125rem, 0.8182rem + 1.3636vw, 1.875rem);
  --space-m-l: clamp(1.6875rem, 1.3551rem + 1.4773vw, 2.5rem);
  --space-l-xl: clamp(2.25rem, 1.6364rem + 2.7273vw, 3.75rem);
  --space-xl-2xl: clamp(3.375rem, 2.7102rem + 2.9545vw, 5rem);
  --space-2xl-3xl: clamp(4.5rem, 3.2727rem + 5.4545vw, 7.5rem);
  --space-s-l: clamp(1.125rem, 0.5625rem + 2.5vw, 2.5rem);
  --color-primary: #903636;
  --color-primary-hover: #3d0017;
  --color-text: #223d4a;
  --color-text-muted: #4d6f69;
  --color-bg: #b46743;
  --color-surface: #e8d8af;
  --color-overlay: rgba(232, 216, 175, 0.7);
  --color-error: #c00;
}

[data-theme=dark] {
  --color-primary: #f8c487;
  --color-primary-hover: #ebe57b;
  --color-text: #e8d8af;
  --color-text-muted: #cd7967;
  --color-bg: #4d6f69;
  --color-surface: #223d4a;
  --color-overlay: rgba(34, 61, 74, 0.7);
  --color-error: #f66;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

ul,
ol {
  padding-inline-start: var(--space-s);
}

:target {
  scroll-margin-block: 5ex;
}

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

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed/BarlowCondensed-Light.woff2") format("woff2"), url("../fonts/BarlowCondensed/BarlowCondensed-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed/BarlowCondensed-LightItalic.woff2") format("woff2"), url("../fonts/BarlowCondensed/BarlowCondensed-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed/BarlowCondensed-Medium.woff2") format("woff2"), url("../fonts/BarlowCondensed/BarlowCondensed-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed/BarlowCondensed-MediumItalic.woff2") format("woff2"), url("../fonts/BarlowCondensed/BarlowCondensed-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow/Barlow-Light.woff2") format("woff2"), url("../fonts/Barlow/Barlow-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow/Barlow-LightItalic.woff2") format("woff2"), url("../fonts/Barlow/Barlow-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow/Barlow-SemiBold.woff2") format("woff2"), url("../fonts/Barlow/Barlow-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow/Barlow-SemiBoldItalic.woff2") format("woff2"), url("../fonts/Barlow/Barlow-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-Light.woff2") format("woff2"), url("../fonts/Spectral/Spectral-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-LightItalic.woff2") format("woff2"), url("../fonts/Spectral/Spectral-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-Medium.woff2") format("woff2"), url("../fonts/Spectral/Spectral-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-MediumItalic.woff2") format("woff2"), url("../fonts/Spectral/Spectral-MediumItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-Bold.woff2") format("woff2"), url("../fonts/Spectral/Spectral-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral/Spectral-BoldItalic.woff2") format("woff2"), url("../fonts/Spectral/Spectral-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral SC";
  src: url("../fonts/SpectralSC/SpectralSC-SemiBold.woff2") format("woff2"), url("../fonts/SpectralSC/SpectralSC-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral SC";
  src: url("../fonts/SpectralSC/SpectralSC-SemiBoldItalic.woff2") format("woff2"), url("../fonts/SpectralSC/SpectralSC-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
body {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.4;
  font-kerning: auto;
  color: var(--color-text);
  background-color: var(--color-surface);
}

figure {
  margin-block: var(--space-m);
}

figcaption {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-block-start: var(--space-2xs);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-primary);
}

h1 {
  font-size: var(--step-5);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

h5 {
  font-size: var(--step-0);
}

h6 {
  font-size: var(--step-0);
  font-weight: 300;
}

p,
ul,
ol {
  font-size: var(--step-0);
  max-width: 65ch;
  margin-block: 0 var(--space-s);
}

main ul:not([class]) > li + li,
main ol:not([class]) > li + li {
  margin-block-start: var(--space-3xs);
}

small {
  font-size: var(--step--1);
}

blockquote {
  font-size: var(--step-1);
  font-style: italic;
  padding-inline-start: var(--space-m);
  border-inline-start: 3px solid var(--color-primary);
}

strong {
  color: var(--color-primary);
}

a:not([class]) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:not([class]):hover {
  color: var(--color-primary-hover);
}
a:not([class]):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-block-end: 1px solid var(--color-bg);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 65ch;
  margin-inline: auto;
  padding: var(--space-xs) var(--space-m);
}

.site-nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.site-nav__logo {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1;
}
.site-nav__logo:hover {
  color: var(--color-primary-hover);
}
.site-nav__logo:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.site-nav__logo svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.site-nav__list {
  display: flex;
  align-items: baseline;
  gap: var(--space-m);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-nav__list a {
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3xs);
}
.site-nav__list a:hover {
  color: var(--color-primary);
}
.site-nav__list a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.site-nav__list a[aria-current=page] {
  color: var(--color-primary);
}

.site-nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-text);
}
.site-nav__theme-toggle:hover {
  color: var(--color-primary);
}
.site-nav__theme-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.site-nav__theme-toggle svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.site-nav__theme-item {
  display: none;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-text);
}
.site-nav__toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav__toggle-icon {
  position: relative;
}
.site-nav__toggle-icon::before, .site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}
.site-nav__toggle-icon::before {
  top: -6px;
}
.site-nav__toggle-icon::after {
  top: 6px;
}

.site-nav__toggle[aria-expanded=true] .site-nav__toggle-icon {
  background: transparent;
}
.site-nav__toggle[aria-expanded=true] .site-nav__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav__toggle[aria-expanded=true] .site-nav__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-m);
  padding: var(--space-2xs) var(--space-s);
  background: var(--color-primary);
  color: var(--color-surface);
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus {
  top: var(--space-xs);
}

@media (max-width: 767px) {
  .site-nav__toggle {
    display: flex;
  }
  .site-nav {
    position: relative;
  }
  .site-nav__theme-toggle--desktop {
    display: none;
  }
  .site-nav__theme-item {
    display: list-item;
    padding-block-start: var(--space-xs);
    border-block-start: 1px solid var(--color-bg);
    margin-block-start: var(--space-xs);
  }
  .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--space-m);
    background: var(--color-surface);
    border-block-end: 1px solid var(--color-bg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  }
  .site-nav__list.is-open {
    max-height: 20rem;
    opacity: 1;
    padding-block: var(--space-s) var(--space-m);
  }
  .site-nav__list a {
    display: block;
    padding-block: var(--space-xs);
    font-size: var(--step-0);
  }
}
footer[role=contentinfo] {
  max-width: 65ch;
  margin-inline: auto;
  padding: var(--space-m);
  border-top: 1px solid var(--color-bg);
}

.footer__links {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-s);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links a {
  display: flex;
  color: var(--color-primary);
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--color-primary-hover);
}
.footer__links a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer__links a svg {
  width: 1.5rem;
  height: 1.5rem;
}

.case-study-content,
.work-content {
  display: none;
}

.auth-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--space-l) var(--space-m);
  text-align: center;
}

.auth-gate__inner {
  width: 100%;
  max-width: 28rem;
}

.auth-gate__heading {
  font-size: var(--step-3);
  margin-block-end: var(--space-xs);
}

.auth-gate__description {
  font-size: var(--step-0);
  color: var(--color-text-muted);
  margin-block-end: var(--space-m);
  max-width: none;
}

.auth-gate__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.auth-gate__label {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  text-align: start;
}

.auth-gate__input {
  font-family: inherit;
  font-size: var(--step-0);
  padding: var(--space-xs) var(--space-s);
  border: 2px solid var(--color-text-muted);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s ease;
}
.auth-gate__input:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}
.auth-gate__input[aria-invalid=true] {
  border-color: var(--color-error);
}

.auth-gate__submit {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step-0);
  font-weight: 600;
  padding: var(--space-xs) var(--space-s);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-surface);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.auth-gate__submit:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.auth-gate__submit:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.auth-gate__feedback {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-error);
  text-align: start;
}
.auth-gate__feedback[hidden] {
  display: none;
}

.auth-gate__noscript {
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-block-start: var(--space-s);
}

.auth-logout {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step-0);
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.auth-logout:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}
.auth-logout:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.home main {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.home__hero {
  padding-block: var(--space-2xl-3xl) var(--space-xl-2xl);
}
.home__hero h1 {
  max-width: 20ch;
}
.home__hero figure {
  margin: var(--space-s) 0;
}
.home__hero p {
  margin-block-start: var(--space-s);
  color: var(--color-text-muted);
}

.home__nav {
  padding-block-end: var(--space-xl-2xl);
}

.home__nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
  justify-items: center;
}
@media (min-width: 540px) {
  .home__nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home__nav-circle {
  display: block;
  position: relative;
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
}
.home__nav-circle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}
.home__nav-circle img,
.home__nav-circle .home__nav-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home__nav-circle .home__nav-svg {
  color: var(--color-text);
}

.home__nav-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-overlay);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.home__nav-circle:hover .home__nav-overlay, .home__nav-circle:focus-visible .home__nav-overlay {
  background-color: transparent;
}

.home__nav-label {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: var(--step-3);
  font-style: italic;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
.home__nav-circle:hover .home__nav-label, .home__nav-circle:focus-visible .home__nav-label {
  opacity: 0;
}

.work-content[style*=display] {
  display: block;
}

.work-content__inner {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
  padding-block: var(--space-l-xl) var(--space-xl-2xl);
}

.work-content__heading {
  margin-block-end: var(--space-3xs);
}
.work-content__heading--themes {
  margin-block-start: var(--space-s);
}

.work-content__description {
  color: var(--color-text-muted);
  margin-block-end: var(--space-l);
}

.work-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 0;
  margin-block: var(--space-s) var(--space-l);
  padding-block-end: var(--space-m);
  border-block-end: 1px solid var(--color-bg);
  max-width: none;
}
.work-diagram .work-diagram__col--themes {
  grid-column: 1;
  grid-row: 1;
}
.work-diagram .work-diagram__col--cases {
  grid-column: 3;
  grid-row: 1;
}

.work-diagram__label {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: var(--step--2);
  font-weight: 500;
  color: var(--color-primary);
  margin-block-end: var(--space-3xs);
}
@media (min-width: 40em) {
  .work-diagram__label {
    font-size: var(--step--1);
  }
}

.work-diagram__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.work-diagram__col a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: var(--step--2);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3xs) 0;
  transition: color 0.2s ease;
}
@media (min-width: 40em) {
  .work-diagram__col a {
    font-size: var(--step--1);
  }
}
.work-diagram__col a:hover, .work-diagram__col a:focus-visible {
  color: var(--color-primary-hover);
}
.work-diagram__col a.is-active {
  color: var(--color-primary-hover);
  font-weight: 500;
}

.work-diagram__col--themes {
  text-align: right;
  padding-inline-end: var(--space-xs);
}

.work-diagram__col--cases {
  text-align: left;
  padding-inline-start: var(--space-xs);
}

.work-diagram__svg {
  grid-column: 1/-1;
  grid-row: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.work-diagram__svg line {
  stroke: var(--color-bg);
  stroke-width: 1;
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}
.work-diagram__svg line.is-active {
  stroke: var(--color-primary-hover);
  stroke-width: 1.5;
}

.work-diagram--active .work-diagram__col a:not(.is-active) {
  color: var(--color-bg);
}

.work-list {
  list-style: none;
  max-width: none;
  padding: 0;
}

.work-list__item + .work-list__item {
  margin-block-start: var(--space-m);
  padding-block-start: var(--space-m);
  border-block-start: 1px solid var(--color-bg);
}

@media (min-width: 40em) {
  .work-list__item {
    display: flex;
    gap: var(--space-s);
  }
}
.work-list__thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-bg);
  margin-block-end: var(--space-2xs);
}
.work-list__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .work-list__thumbnail {
    flex: 0 0 40%;
    align-self: start;
    margin-block-end: 0;
  }
}

.work-list__title {
  margin-block-end: var(--space-3xs);
}
.work-list__title a {
  color: var(--color-primary);
  text-decoration: none;
}
.work-list__title a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}
.work-list__title a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.work-list__summary {
  margin-block-end: 0;
}

.work-list__meta {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-block-start: var(--space-3xs);
  margin-block-end: 0;
  padding: 0;
}
.work-list__meta div {
  display: flex;
  gap: 0.3em;
}
.work-list__meta dt {
  font-weight: 600;
}
.work-list__meta dt::after {
  content: ":";
}
.work-list__meta dd {
  margin-inline-start: 0;
}

.work-content__footer {
  margin-block-start: var(--space-l);
  padding-block-start: var(--space-m);
  border-block-start: 1px solid var(--color-bg);
}

.case-study-content[style*=display] {
  display: block;
}

.case-study__hero {
  max-width: 65ch;
  margin-inline: auto;
  padding-block: var(--space-l-xl) var(--space-m-l);
  padding-inline: var(--space-m);
}

.case-study__signout {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.case-study__signout:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.case-study__signout:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.case-study__title {
  margin-block-start: var(--space-s);
}

.case-study__subtitle {
  font-size: var(--step-1);
  color: var(--color-text-muted);
  max-width: none;
}

.case-study__meta {
  margin-block-start: var(--space-m);
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
}
.case-study__meta div {
  display: flex;
  gap: 0.3em;
}
.case-study__meta dt {
  font-weight: 600;
  color: var(--color-text-muted);
}
.case-study__meta dt::after {
  content: ":";
}
.case-study__meta dd {
  margin: 0;
}

.case-study__section {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
  padding-block-end: var(--space-l-xl);
}
.case-study__section > * + * {
  margin-block-start: var(--space-s);
}
.case-study__section > h2 {
  margin-block-end: var(--space-s);
}
.case-study__section > h3 {
  margin-block-start: var(--space-m);
}

.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-s);
  margin-block-start: var(--space-s);
}
.case-study__metrics > div {
  padding: var(--space-s);
  border: 1px solid var(--color-bg);
  border-radius: 4px;
}
.case-study__metrics dt {
  font-family: "Barlow", "Arial", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-study__metrics dd {
  margin: 0;
  margin-block-start: var(--space-3xs);
}

.case-study__image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  margin-block: var(--space-m);
  margin-inline: 0;
}
.case-study__image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.case-study__image-grid figure {
  margin: 0;
}
.case-study__image-grid figcaption {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  color: var(--color-muted);
  margin-block-start: var(--space-3xs);
}
@media (max-width: 567px) {
  .case-study__image-grid {
    grid-template-columns: 1fr;
  }
}

.case-study__section figure {
  margin-block: var(--space-m);
  margin-inline: 0;
}

.case-study__section figure img,
.case-study__section figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.case-study__section figcaption {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-block-start: var(--space-2xs);
}

.case-study__section table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: var(--step--1);
  margin-block: var(--space-m);
}

.case-study__section tr {
  border-block-end: 1px solid var(--color-bg);
}

.case-study__section th,
.case-study__section td {
  padding: var(--space-3xs) var(--space-2xs) var(--space-2xs);
  text-align: left;
  vertical-align: top;
}

.case-study__section th {
  font-weight: 500;
  color: var(--color-primary);
}

.case-study__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  background: var(--color-bg);
  border-radius: 4px;
}
.case-study__placeholder p {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step-0);
  color: var(--color-text-muted);
  margin: 0;
  max-width: none;
}

.case-study__footer {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
  padding-block: var(--space-m) var(--space-l);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  border-block-start: 1px solid var(--color-bg);
}

.case-study__nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.case-study__nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step-0);
  line-height: 1.4;
  color: var(--color-primary);
  text-decoration: none;
}
.case-study__nav a svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}
.case-study__nav a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}
.case-study__nav a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.slideshow img {
  display: block;
  width: 100%;
  height: auto;
}
.slideshow img:not(:first-child) {
  position: absolute;
  inset: 0;
}
.slideshow:not([class*="--"]) img {
  animation: slideshow-fade-5 15s infinite;
}
.slideshow:not([class*="--"]) img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow:not([class*="--"]) img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow:not([class*="--"]) img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow:not([class*="--"]) img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow:not([class*="--"]) img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--6 img {
  animation: slideshow-fade-6 18s infinite;
}
.slideshow--6 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--6 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--6 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--6 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--6 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--6 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--4 img {
  animation: slideshow-fade-4 12s infinite;
}
.slideshow--4 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--4 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--4 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--4 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--3 img {
  animation: slideshow-fade-3 9s infinite;
}
.slideshow--3 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--3 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--3 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--6 img {
  animation: slideshow-fade-6 18s infinite;
}
.slideshow--6 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--6 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--6 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--6 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--6 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--6 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--7 img {
  animation: slideshow-fade-7 21s infinite;
}
.slideshow--7 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--7 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--7 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--7 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--7 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--7 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--7 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--8 img {
  animation: slideshow-fade-8 24s infinite;
}
.slideshow--8 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--8 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--8 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--8 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--8 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--8 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--8 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--8 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--8-slow img {
  animation: slideshow-fade-8 40s infinite;
}
.slideshow--8-slow img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--8-slow img:nth-child(2) {
  animation-delay: 5s;
}
.slideshow--8-slow img:nth-child(3) {
  animation-delay: 10s;
}
.slideshow--8-slow img:nth-child(4) {
  animation-delay: 15s;
}
.slideshow--8-slow img:nth-child(5) {
  animation-delay: 20s;
}
.slideshow--8-slow img:nth-child(6) {
  animation-delay: 25s;
}
.slideshow--8-slow img:nth-child(7) {
  animation-delay: 30s;
}
.slideshow--8-slow img:nth-child(8) {
  animation-delay: 35s;
}
.slideshow--9 img {
  animation: slideshow-fade-9 27s infinite;
}
.slideshow--9 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--9 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--9 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--9 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--9 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--9 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--9 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--9 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--9 img:nth-child(9) {
  animation-delay: 24s;
}
.slideshow--10 img {
  animation: slideshow-fade-10 30s infinite;
}
.slideshow--10 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--10 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--10 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--10 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--10 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--10 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--10 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--10 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--10 img:nth-child(9) {
  animation-delay: 24s;
}
.slideshow--10 img:nth-child(10) {
  animation-delay: 27s;
}
.slideshow--12 img {
  animation: slideshow-fade-12 36s infinite;
}
.slideshow--12 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--12 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--12 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--12 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--12 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--12 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--12 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--12 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--12 img:nth-child(9) {
  animation-delay: 24s;
}
.slideshow--12 img:nth-child(10) {
  animation-delay: 27s;
}
.slideshow--12 img:nth-child(11) {
  animation-delay: 30s;
}
.slideshow--12 img:nth-child(12) {
  animation-delay: 33s;
}
.slideshow--13 img {
  animation: slideshow-fade-13 65s infinite;
}
.slideshow--13 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--13 img:nth-child(2) {
  animation-delay: 5s;
}
.slideshow--13 img:nth-child(3) {
  animation-delay: 10s;
}
.slideshow--13 img:nth-child(4) {
  animation-delay: 15s;
}
.slideshow--13 img:nth-child(5) {
  animation-delay: 20s;
}
.slideshow--13 img:nth-child(6) {
  animation-delay: 25s;
}
.slideshow--13 img:nth-child(7) {
  animation-delay: 30s;
}
.slideshow--13 img:nth-child(8) {
  animation-delay: 35s;
}
.slideshow--13 img:nth-child(9) {
  animation-delay: 40s;
}
.slideshow--13 img:nth-child(10) {
  animation-delay: 45s;
}
.slideshow--13 img:nth-child(11) {
  animation-delay: 50s;
}
.slideshow--13 img:nth-child(12) {
  animation-delay: 55s;
}
.slideshow--13 img:nth-child(13) {
  animation-delay: 60s;
}
.slideshow--14 img {
  animation: slideshow-fade-14 70s infinite;
}
.slideshow--14 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--14 img:nth-child(2) {
  animation-delay: 5s;
}
.slideshow--14 img:nth-child(3) {
  animation-delay: 10s;
}
.slideshow--14 img:nth-child(4) {
  animation-delay: 15s;
}
.slideshow--14 img:nth-child(5) {
  animation-delay: 20s;
}
.slideshow--14 img:nth-child(6) {
  animation-delay: 25s;
}
.slideshow--14 img:nth-child(7) {
  animation-delay: 30s;
}
.slideshow--14 img:nth-child(8) {
  animation-delay: 35s;
}
.slideshow--14 img:nth-child(9) {
  animation-delay: 40s;
}
.slideshow--14 img:nth-child(10) {
  animation-delay: 45s;
}
.slideshow--14 img:nth-child(11) {
  animation-delay: 50s;
}
.slideshow--14 img:nth-child(12) {
  animation-delay: 55s;
}
.slideshow--14 img:nth-child(13) {
  animation-delay: 60s;
}
.slideshow--14 img:nth-child(14) {
  animation-delay: 65s;
}
.slideshow--17 img {
  animation: slideshow-fade-17 51s infinite;
}
.slideshow--17 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--17 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--17 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--17 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--17 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--17 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--17 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--17 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--17 img:nth-child(9) {
  animation-delay: 24s;
}
.slideshow--17 img:nth-child(10) {
  animation-delay: 27s;
}
.slideshow--17 img:nth-child(11) {
  animation-delay: 30s;
}
.slideshow--17 img:nth-child(12) {
  animation-delay: 33s;
}
.slideshow--17 img:nth-child(13) {
  animation-delay: 36s;
}
.slideshow--17 img:nth-child(14) {
  animation-delay: 39s;
}
.slideshow--17 img:nth-child(15) {
  animation-delay: 42s;
}
.slideshow--17 img:nth-child(16) {
  animation-delay: 45s;
}
.slideshow--17 img:nth-child(17) {
  animation-delay: 48s;
}
.slideshow--24 img {
  animation: slideshow-fade-24 72s infinite;
}
.slideshow--24 img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow--24 img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow--24 img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow--24 img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow--24 img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow--24 img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow--24 img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow--24 img:nth-child(8) {
  animation-delay: 21s;
}
.slideshow--24 img:nth-child(9) {
  animation-delay: 24s;
}
.slideshow--24 img:nth-child(10) {
  animation-delay: 27s;
}
.slideshow--24 img:nth-child(11) {
  animation-delay: 30s;
}
.slideshow--24 img:nth-child(12) {
  animation-delay: 33s;
}
.slideshow--24 img:nth-child(13) {
  animation-delay: 36s;
}
.slideshow--24 img:nth-child(14) {
  animation-delay: 39s;
}
.slideshow--24 img:nth-child(15) {
  animation-delay: 42s;
}
.slideshow--24 img:nth-child(16) {
  animation-delay: 45s;
}
.slideshow--24 img:nth-child(17) {
  animation-delay: 48s;
}
.slideshow--24 img:nth-child(18) {
  animation-delay: 51s;
}
.slideshow--24 img:nth-child(19) {
  animation-delay: 54s;
}
.slideshow--24 img:nth-child(20) {
  animation-delay: 57s;
}
.slideshow--24 img:nth-child(21) {
  animation-delay: 60s;
}
.slideshow--24 img:nth-child(22) {
  animation-delay: 63s;
}
.slideshow--24 img:nth-child(23) {
  animation-delay: 66s;
}
.slideshow--24 img:nth-child(24) {
  animation-delay: 69s;
}

@keyframes slideshow-fade-5 {
  0% {
    opacity: 1;
  }
  16% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-6 {
  0% {
    opacity: 1;
  }
  13.67% {
    opacity: 1;
  }
  16.67% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-3 {
  0% {
    opacity: 1;
  }
  29% {
    opacity: 1;
  }
  33.33% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-4 {
  0% {
    opacity: 1;
  }
  21% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-6 {
  0% {
    opacity: 1;
  }
  13.67% {
    opacity: 1;
  }
  16.67% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-7 {
  0% {
    opacity: 1;
  }
  11.43% {
    opacity: 1;
  }
  14.29% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-8 {
  0% {
    opacity: 1;
  }
  9.5% {
    opacity: 1;
  }
  12.5% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-9 {
  0% {
    opacity: 1;
  }
  8.11% {
    opacity: 1;
  }
  11.11% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-10 {
  0% {
    opacity: 1;
  }
  7% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-12 {
  0% {
    opacity: 1;
  }
  5.33% {
    opacity: 1;
  }
  8.33% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-13 {
  0% {
    opacity: 1;
  }
  4.69% {
    opacity: 1;
  }
  7.69% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-14 {
  0% {
    opacity: 1;
  }
  4.14% {
    opacity: 1;
  }
  7.14% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-17 {
  0% {
    opacity: 1;
  }
  2.88% {
    opacity: 1;
  }
  5.88% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideshow-fade-24 {
  0% {
    opacity: 1;
  }
  1.17% {
    opacity: 1;
  }
  4.17% {
    opacity: 0;
  }
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow img {
    animation: none;
  }
  .slideshow img:not(:first-child) {
    opacity: 0;
  }
}
.case-study__section pre {
  font-family: "Menlo", "Consolas", "Monaco", monospace;
  font-size: min(var(--step--2), 2.7vw);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  padding-block: var(--space-s-m);
  padding-inline: 0;
  overflow-x: auto;
  margin-block: var(--space-s);
}

.case-study__section pre strong {
  color: var(--color-primary);
  font-weight: 700;
}

.executive-summary ul {
  list-style: none;
}
.executive-summary ul li::marker {
  content: "→ ";
  color: var(--color-primary);
  font-weight: bold;
}

.process main {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.process main > section:first-child {
  padding-block-start: var(--space-2xl-3xl);
}
.process main > section:first-child h1 {
  max-width: 20ch;
}
.process main > section:first-child > p {
  margin-block-start: var(--space-s);
  color: var(--color-text-muted);
}

.process main > section + section {
  padding-block-end: var(--space-l-xl);
}
.process main > section + section > * + * {
  margin-block-start: var(--space-s);
}
.process main > section + section > h2 {
  margin-block-end: var(--space-s);
}

.about main {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.about main > section:first-child {
  padding-block-start: var(--space-2xl-3xl);
}
.about main > section:first-child h1 {
  max-width: 20ch;
}
.about main > section:first-child > p {
  margin-block-start: var(--space-s);
  color: var(--color-text-muted);
}

.about main > section + section {
  padding-block-end: var(--space-l-xl);
}
.about main > section + section > * + * {
  margin-block-start: var(--space-s);
}
.about main > section + section > h2 {
  margin-block-end: var(--space-s);
}

.cv main {
  max-width: 65ch;
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.cv main > section:first-child {
  padding-block: var(--space-2xl-3xl) var(--space-l);
}
.cv main > section:first-child h1 {
  max-width: 20ch;
}
.cv main > section:first-child > p {
  margin-block-start: var(--space-s);
  color: var(--color-text-muted);
}

.cv main > section + section {
  padding-block-end: var(--space-l-xl);
}
.cv main > section + section > * + * {
  margin-block-start: var(--space-s);
}
.cv main > section + section > h2 {
  margin-block-end: var(--space-s);
}

.cv__photo {
  border-radius: 50%;
  margin-block-start: var(--space-s);
  margin-block-end: var(--space-m);
}

.cv__photo--print {
  display: none;
}

.cv__header p {
  margin-block-start: 0;
}

.cv__entry + .cv__entry {
  margin-block-start: var(--space-m);
  padding-block-start: var(--space-m);
  border-block-start: 1px solid var(--color-bg);
}
.cv__entry h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}
.cv__entry ul {
  margin-block-start: var(--space-2xs);
  padding-inline-start: var(--space-s);
}
.cv__entry li + li {
  margin-block-start: var(--space-3xs);
}

.cv__meta {
  font-family: "Barlow", "Arial", sans-serif;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-block-start: var(--space-3xs);
}

.cv__skills div + div {
  margin-block-start: var(--space-s);
}
.cv__skills dt {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  color: var(--color-primary);
}
.cv__skills dd {
  margin-inline-start: 0;
  margin-block-start: var(--space-3xs);
}

@media print {
  .site-header,
  .site-nav,
  .skip-link,
  .cv__download,
  footer[role=contentinfo] {
    display: none !important;
  }
  .cv main {
    max-width: none;
    padding: 0;
    color: #000;
  }
  .cv main > section:first-child {
    padding-block: 0 var(--space-xs);
  }
  .cv main > section + section {
    padding-block-end: var(--space-xs);
  }
  * {
    color: #000 !important;
    background: none !important;
    box-shadow: none !important;
  }
  a {
    text-decoration: none !important;
  }
  h2, h3 {
    break-after: avoid;
  }
  .cv__photo:not(.cv__photo--print) {
    display: none !important;
  }
  .cv__photo--print {
    display: inline-block !important;
    margin: 0;
  }
  .cv__header {
    display: flex;
    align-items: center;
    gap: 0.75em;
  }
  .cv__entry {
    break-inside: avoid;
  }
  .cv__entry + .cv__entry {
    margin-block-start: var(--space-2xs);
    padding-block-start: var(--space-2xs);
  }
  .cv__page-break {
    break-before: page;
  }
  .cv__skills {
    break-inside: avoid;
  }
  @page {
    size: A4;
    margin: 1.5cm;
  }
  body {
    font-size: 11pt;
    line-height: 1.4;
  }
  h1 {
    font-size: 20pt;
  }
  h2 {
    font-size: 14pt;
  }
  h3 {
    font-size: 12pt;
  }
}
