@font-face {
  font-family: "Casino Serif";
  src: url("../fonts/casino-serif-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Casino Serif";
  src: url("../fonts/casino-serif-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Casino Sans";
  src: url("../fonts/casino-sans-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Casino Sans";
  src: url("../fonts/casino-sans-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Areal";
  src: url("../fonts/areal-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Areal";
  src: url("../fonts/areal-regular-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Areal";
  src: url("../fonts/areal-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Areal";
  src: url("../fonts/areal-medium-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@property --grid-columns {
  syntax: "<integer>";
  inherits: true;
  initial-value: 1;
}

:root {
  --paper: #fff;
  --highlight: var(--surface-muted);
  --highlight-pad-x: 11px;
  --highlight-pad-y: 4px;
  --highlight-pad-bottom: 2px;
  --filter-active-bg: #111;
  --filter-active-text: var(--paper);
  --ink: #111;
  --blue: #029aff;
  --accent: black;
  --accent-cv-link: var(--blue);
  --muted: #6d6d6d;
  --surface-muted: #EEEFEE;
  --carousel-surface-hover: #d9dad9;
  --carousel-control: #9a9a9a;
  --image-overlay: transparent;
  --column: 31rem;
  --intro-column: 32rem;
  --project-column: 76rem;
  --space-unit: 10px;
  --space-2: calc(var(--space-unit) * 2);
  --space-3: calc(var(--space-unit) * 3);
  --space-4: calc(var(--space-unit) * 4);
  --space-6: calc(var(--space-unit) * 6);
  --space-8: calc(var(--space-unit) * 8);
  --grid-gap: var(--space-unit);
  --edge-offset: var(--space-unit);
  --gutter-tight: var(--space-unit);
  --ui-nav-size: 1rem;
  --ui-nav-line: 1.25;
  --ui-label-track: 0.12em;
  --header-nav-size: clamp(1rem, 1.7vw, 1.25rem);
  --home-title-size: var(--header-nav-size);
  --project-title-size: clamp(0.875rem, 1.45vw, 1.05rem);
  --grid-project-title-size: clamp(0.72rem, 1.15vw, 0.85rem);
  --grid-tag-size: clamp(0.6875rem, 1vw, 0.8125rem);
  --grid-carousel-pad: var(--space-2);
  --carousel-crossfade-duration: 1.15s;
  --carousel-crossfade-easing: cubic-bezier(0.42, 0, 0.2, 1);
  --home-filter-title-gap: var(--space-2);
  --home-filter-sticky-top: calc(
    var(--edge-offset) + var(--home-title-size) + var(--highlight-pad-y) +
      var(--highlight-pad-bottom) + var(--home-filter-title-gap)
  );
  --carousel-inset-left: clamp(1.75rem, 3.5vw, 2.75rem);
  --project-carousel-max-height: min(90vh, 70rem);
  --gutter: clamp(var(--space-2), 2vw, var(--space-4));
  --grid-feed-width: min(calc(100vw - (2 * var(--gutter-tight))), 118rem);
  --about-panel-width: min(25rem, 38vw);
  --about-motion-duration: 420ms;
  --about-motion-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --header-control-size: 1.45rem;
  --footer: var(--blue);
  --footer-text: #fff;
  --filter-hover: var(--blue);
  --hit-gradient: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* HAL Typefaces specimen palette (client preview) */
html[data-palette="hal"] {
  --paper: #ffffff;
  --ink: #000000;
  --accent: #000000;
  --blue: #2e5bff;
  --muted: #9eb7b7;
  --surface-muted: #e8ecec;
  --highlight: #e8ecec;
  --filter-active-bg: #000000;
  --filter-active-text: #ffffff;
  --carousel-surface-hover: #c5d0d0;
  --carousel-control: #7a8f8f;
  --accent-cv-link: var(--blue);
  --footer: #ff5c22;
  --footer-text: #ffffff;
  --filter-hover: var(--blue);
  --hit-gradient: color-mix(in srgb, var(--accent) 18%, transparent);
  --mark: #fff200;
}

html[data-theme="dark"] {
  --paper: #000;
  --ink: #fff;
  --accent: #fff;
  --highlight: #111;
  --filter-active-bg: #fff;
  --filter-active-text: #000;
  --surface-muted: #111;
  --carousel-surface-hover: #1f1f1f;
  --carousel-control: #cfcfcf;
  --muted: #a3a3a3;
  --accent-cv-link: var(--blue);
  --footer: #111;
  --footer-text: #fff;
  --filter-hover: var(--blue);
  --hit-gradient: color-mix(in srgb, var(--ink) 22%, transparent);
  --image-overlay: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.32;
}

.site-canvas > main {
  flex: 1 0 auto;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.utility-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-unit);
  pointer-events: none;
}

.menu-toggle--panel,
.menu-toggle--link,
.header-about,
.header-writing,
.sticky-site-title,
.theme-switch,
.header-controls {
  pointer-events: auto;
}

.menu-toggle--link {
  display: none;
}

.menu-toggle--panel {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: var(--edge-offset);
  padding: 10px 2px;
  background: #000;
  color: #fff;
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  transition:
    left var(--about-motion-duration) var(--about-motion-easing),
    background 160ms ease,
    color 420ms ease;
}

body.is-about-open .menu-toggle--panel {
  left: calc(var(--about-panel-width) + var(--edge-offset));
}

.menu-toggle--panel:hover,
.menu-toggle--panel:focus-visible {
  outline: 0;
  background: var(--blue);
  color: #fff;
}

html[data-theme="dark"] .menu-toggle--panel {
  background: #fff;
  color: #000;
}

html[data-theme="dark"] .menu-toggle--panel:hover,
html[data-theme="dark"] .menu-toggle--panel:focus-visible {
  background: var(--blue);
  color: #fff;
}

html[data-home-concept="a"] .menu-toggle--panel,
html:not([data-home-concept]) .menu-toggle--panel {
  background: transparent;
  color: #fff;
  text-shadow: none;
}

html[data-home-concept="a"] .menu-toggle--panel.is-on-light,
html:not([data-home-concept]) .menu-toggle--panel.is-on-light {
  color: #111;
}

html[data-home-concept="a"] .menu-toggle--panel:hover,
html[data-home-concept="a"] .menu-toggle--panel:focus-visible,
html:not([data-home-concept]) .menu-toggle--panel:hover,
html:not([data-home-concept]) .menu-toggle--panel:focus-visible {
  background: transparent;
  color: var(--blue);
}

html[data-theme="dark"][data-home-concept="a"] .menu-toggle--panel,
html[data-theme="dark"]:not([data-home-concept]) .menu-toggle--panel {
  background: transparent;
  color: #fff;
}

html[data-theme="dark"][data-home-concept="a"] .menu-toggle--panel.is-on-light,
html[data-theme="dark"]:not([data-home-concept]) .menu-toggle--panel.is-on-light {
  color: #111;
}

a.menu-toggle--link {
  text-decoration: none;
}

.menu-toggle__mobile {
  display: none;
}

.header-controls .menu-toggle--link {
  display: none;
}

.header-about,
.header-writing {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--header-nav-size);
  font-weight: 400;
  line-height: var(--ui-nav-line);
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.header-writing {
  cursor: pointer;
}

.header-about:hover,
.header-about:focus-visible,
.header-writing:hover,
.header-writing:focus-visible {
  color: var(--accent);
  outline: 0;
}

html[data-home-concept] .menu-toggle--panel {
  display: none;
}

html[data-home-concept] .header-about,
html[data-home-concept] .header-writing {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "Casino Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
}

html[data-home-concept] .header-about::after,
html[data-home-concept] .header-writing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  height: max(1px, 0.05em);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--about-motion-easing);
}

html[data-home-concept] .header-about:hover::after,
html[data-home-concept] .header-about:focus-visible::after,
html[data-home-concept] .header-about[aria-expanded="true"]::after,
html[data-home-concept] .header-writing:hover::after,
html[data-home-concept] .header-writing:focus-visible::after {
  transform: scaleX(1);
}

html[data-home-concept="a"] .header-about,
html[data-home-concept="a"] .header-writing {
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  transition: color 420ms ease;
}

html[data-home-concept="a"] .header-controls.is-on-light .header-about,
html[data-home-concept="a"] .header-controls.is-on-light .header-writing {
  color: #111;
}

html[data-home-concept="a"] .header-controls .header-about:hover,
html[data-home-concept="a"] .header-controls .header-about:focus-visible,
html[data-home-concept="a"] .header-controls .header-writing:hover,
html[data-home-concept="a"] .header-controls .header-writing:focus-visible {
  color: var(--blue);
}

html[data-home-concept="c"] .header-about,
html[data-home-concept="c"] .header-writing {
  font-size: var(--home-brand-size);
}

html[data-home-concept="b"] .header-about,
html[data-home-concept="b"] .header-writing {
  font-size: var(--text-header-size);
}

body.project-page,
body.home {
  --subpage-header-size: clamp(1.35rem, 2.3vw, 1.85rem);
  --subpage-nav-size: clamp(1.15rem, 1.75vw, 1.45rem);
  --subpage-header-top: clamp(1rem, 2.4vh, 1.5rem);
  --subpage-margin: clamp(1.25rem, 3.5vw, 3rem);
}

body.project-page .utility-header {
  height: calc(var(--subpage-header-size) + (2 * var(--subpage-header-top)));
  padding: 0;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.project-page .sticky-site-title {
  position: fixed;
  top: var(--subpage-header-top);
  left: var(--subpage-margin);
  max-width: none;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--subpage-header-size);
  letter-spacing: -0.01em;
  line-height: 1;
  transform: none;
  transition: color 200ms ease;
}

body.project-page .sticky-site-title::after,
body.project-page .header-about::after,
body.project-page .header-writing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  height: max(1px, 0.05em);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--about-motion-easing);
}

body.project-page a.sticky-site-title:hover,
body.project-page a.sticky-site-title:focus-visible {
  background: transparent;
  color: var(--blue);
}

body.project-page .sticky-site-title:hover::after,
body.project-page .sticky-site-title:focus-visible::after,
body.project-page .header-about:hover::after,
body.project-page .header-about:focus-visible::after,
body.project-page .header-about[aria-expanded="true"]::after,
body.project-page .header-writing:hover::after,
body.project-page .header-writing:focus-visible::after,
body.project-page .header-controls [aria-current="page"]::after {
  transform: scaleX(1);
}

html body.project-page .header-controls {
  top: var(--subpage-header-top);
  right: var(--subpage-margin);
  height: var(--subpage-header-size);
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

body.project-page .header-about,
body.project-page .header-writing {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: var(--subpage-nav-size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

body.project-page .header-about:hover,
body.project-page .header-about:focus-visible,
body.project-page .header-writing:hover,
body.project-page .header-writing:focus-visible {
  color: var(--blue);
}

html[data-home-concept] .header-controls .menu-toggle--link {
  display: none !important;
}

.header-controls {
  position: fixed;
  z-index: 25;
  top: var(--edge-offset);
  right: var(--edge-offset);
  display: flex;
  align-items: center;
  gap: 22px;
}

html[data-home-concept="a"] .header-controls,
html:not([data-home-concept]) .header-controls {
  --header-control-size: 2rem;
  top: var(--home-brand-top);
  right: var(--home-brand-left);
  height: var(--home-brand-size);
  gap: clamp(1.1rem, 2.1vw, 2.1rem);
}

html[data-home-concept="a"] .header-controls .theme-switch {
  margin-left: clamp(0.4rem, 1vw, 1rem);
}

body.project-page .header-controls .theme-switch {
  margin-left: clamp(0.25rem, 0.6vw, 0.6rem);
}

html[data-home-concept="b"] .header-controls {
  top: var(--text-header-top);
  right: calc((var(--text-canvas-width) - var(--text-page-width)) / 2);
  height: var(--text-header-size);
}

html[data-home-concept="c"] .header-controls {
  top: var(--home-small-header-top);
  right: calc((100vw - var(--grid-feed-width)) / 2);
  height: var(--home-brand-size);
}

.header-controls .theme-switch {
  position: static;
}

.theme-switch {
  display: flex;
  align-items: center;
}

.theme-switch__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  background: transparent;
}

.theme-switch__button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.theme-switch__dial {
  display: block;
  width: var(--header-control-size);
  height: var(--header-control-size);
  border-radius: 50%;
  background: conic-gradient(from 270deg, #fff 0deg 180deg, #111 180deg 360deg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent);
  transition:
    transform 560ms cubic-bezier(0.42, 0, 0.2, 1),
    background 220ms ease;
  transform: rotate(0deg);
}

.theme-switch__button[data-theme-mode="dark"] .theme-switch__dial {
  background: conic-gradient(from 270deg, #111 0deg 180deg, #fff 180deg 360deg);
  transform: rotate(180deg);
}

.grid-view-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--header-control-size) + 0.55rem);
  height: calc(var(--header-control-size) + 0.55rem);
  padding: 0;
  background: var(--surface-muted);
  color: var(--ink);
}

.grid-view-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.grid-view-toggle:hover,
.grid-view-toggle:focus-visible {
  color: var(--ink);
  background: var(--surface-muted);
}

.grid-view-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: var(--surface-muted);
}

.grid-view-toggle__icon {
  display: block;
  width: var(--header-control-size);
  height: var(--header-control-size);
}

.grid-view-toggle__svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.grid-view-toggle__svg--list {
  display: none;
}

.grid-view-toggle[aria-pressed="true"] .grid-view-toggle__svg--grid {
  display: none;
}

.grid-view-toggle[aria-pressed="true"] .grid-view-toggle__svg--list {
  display: block;
}

.site-canvas {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  transition:
    margin-left var(--about-motion-duration) var(--about-motion-easing),
    width var(--about-motion-duration) var(--about-motion-easing);
}

body.is-about-open {
  overflow-x: hidden;
  --grid-feed-width: min(
    calc(100vw - var(--about-panel-width) - (2 * var(--gutter-tight))),
    118rem
  );
}

body.is-about-open .site-canvas {
  width: calc(100% - var(--about-panel-width));
  margin-left: var(--about-panel-width);
}

.site-menu {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: grid;
  width: var(--about-panel-width);
  padding: 1rem 1.4rem 1.5rem;
  background: var(--surface-muted);
  color: var(--ink);
  grid-template-rows: 1fr;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform var(--about-motion-duration) var(--about-motion-easing);
}

.site-menu.is-open {
  pointer-events: auto;
  transform: translateX(0);
}

.site-menu__body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.site-menu.is-open .menu-about-nav {
  overflow-y: auto;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  font-family: "Areal", Arial, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 50%;
  color: var(--ink);
  line-height: 0;
}

.menu-close:hover,
.menu-close:focus-visible {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  outline: 0;
}

.menu-close__icon {
  position: relative;
  display: block;
  width: 0.85rem;
  height: 0.85rem;
}

.menu-close__icon::before,
.menu-close__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

.menu-close__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-menu nav,
.menu-about-nav {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  overflow-y: auto;
  gap: 0.5rem;
}

.menu-about-panel {
  width: 100%;
}

.site-menu .introduction,
.site-menu .introduction-more__inner {
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 1.45;
}

.menu-about-panel .intro-block,
.menu-about-panel .introduction {
  width: 100%;
  max-width: 100%;
}

.menu-about-panel .introduction .intro-portrait {
  width: 100%;
  max-width: 100%;
  margin: 20px 0 1.5rem;
  padding: 0;
  aspect-ratio: unset;
  height: auto;
  overflow: hidden;
  background: #707070;
}

.menu-about-panel .introduction .intro-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.18);
  mix-blend-mode: screen;
}

.menu-about-panel .about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-unit);
  margin-top: 1.15em;
}

.menu-about-panel .about-actions .read-more-toggle,
.menu-about-panel .about-actions .cv-link {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--carousel-control);
  color: var(--surface-muted);
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.2;
  text-decoration: none;
}

.menu-about-panel .about-actions .cv-link {
  background: var(--blue);
}

.menu-about-panel .about-actions .read-more-toggle:hover,
.menu-about-panel .about-actions .read-more-toggle:focus-visible,
.menu-about-panel .about-actions .cv-link:hover,
.menu-about-panel .about-actions .cv-link:focus-visible {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
  outline: 0;
}

.site-menu .read-more-toggle,
.site-menu .cv-link {
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.about-name {
  display: inline;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--blue);
  color: var(--footer-text);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.menu-about-heading {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.about-detail .menu-about-panel {
  max-width: 100%;
}

.about-detail .menu-about-heading {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  letter-spacing: 0.16em;
  text-align: center;
}

.menu-contact {
  width: fit-content;
}

.concept-widget {
  position: fixed;
  z-index: 45;
  right: var(--edge-offset);
  bottom: var(--edge-offset);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.45rem;
}

.concept-widget__toggle {
  padding: 0.45rem 0.7rem 0.4rem;
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px color-mix(in srgb, #000 16%, transparent);
  transition:
    background 160ms ease,
    color 160ms ease;
}

.concept-widget__toggle:hover,
.concept-widget__toggle:focus-visible {
  outline: 0;
  background: var(--blue);
  color: var(--footer-text);
}

.concept-widget.is-open .concept-widget__toggle {
  background: var(--surface-muted);
  color: var(--ink);
  box-shadow: none;
}

.concept-switcher {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0.55rem;
  background: var(--paper);
  box-shadow: 0 10px 28px color-mix(in srgb, #000 14%, transparent);
}

.concept-switcher[hidden] {
  display: none !important;
}

.concept-switcher__label {
  margin: 0;
  color: var(--muted);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.concept-switcher__options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
}

.concept-switcher__option {
  padding: 0.35rem 0.55rem 0.28rem;
  background: var(--surface-muted);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.concept-switcher__option[aria-pressed="true"] {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
}

.concept-switcher__option:hover,
.concept-switcher__option:focus-visible {
  outline: 0;
  background: var(--blue);
  color: var(--footer-text);
}

.concept-switcher__option[aria-pressed="true"]:hover,
.concept-switcher__option[aria-pressed="true"]:focus-visible {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
}

.home-hero {
  position: relative;
  display: none;
  min-height: 100vh;
}

.home-hero[hidden] {
  display: none !important;
}

html[data-home-concept="a"] {
  --home-brand-top: clamp(1rem, 2.5vw, 1.75rem);
  --home-brand-left: clamp(1.75rem, 4.5vw, 3.25rem);
  --home-brand-size: clamp(2.75rem, 7vw, 5.5rem);
}

html[data-home-concept="a"] .home-hero--fullscreen {
  display: block;
}

html[data-home-concept="b"] .home-hero--text {
  display: flex;
}

html[data-home-concept="c"] {
  --home-brand-size: clamp(1.55rem, 3.4vw, 2.5rem);
  --home-small-header-top: clamp(1rem, 2.5vh, 1.75rem);
  --home-small-margin: clamp(1.25rem, 3.5vw, 3rem);
}

html[data-home-concept="c"] body {
  --header-control-size: 1.7rem;
  --grid-feed-width: min(calc(100vw - (2 * var(--home-small-margin))), 118rem);
}

html[data-home-concept="c"] body.is-about-open {
  --grid-feed-width: min(
    calc(100vw - var(--about-panel-width) - (2 * var(--home-small-margin))),
    118rem
  );
}

html[data-home-concept="c"] .home-hero--small {
  display: flex;
}

html:not([data-home-concept]) {
  --home-brand-top: clamp(1rem, 2.5vw, 1.75rem);
  --home-brand-left: clamp(1.75rem, 4.5vw, 3.25rem);
  --home-brand-size: clamp(2.75rem, 7vw, 5.5rem);
}

html:not([data-home-concept]) .home-hero--fullscreen {
  display: block;
}

.home-hero h1:not(.home-hero__brand) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: 0;
  opacity: 0;
  white-space: nowrap;
}

.home-hero--fullscreen > .home-hero__brand {
  pointer-events: none;
}

.home-hero .scroll-cue {
  z-index: 2;
}

.home-hero__brand {
  margin: 0;
  font-family: "Casino Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.home-hero--fullscreen .home-hero__brand {
  position: absolute;
  z-index: 3;
  top: var(--home-brand-top);
  left: var(--home-brand-left);
  max-width: min(28rem, calc(100vw - 5.5rem));
  color: #fff;
  font-size: var(--home-brand-size);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
  text-shadow: none;
  transition: color 420ms ease;
}

.home-hero--fullscreen.is-brand-on-light .home-hero__brand {
  color: var(--ink);
}

html[data-theme="dark"] .home-hero--fullscreen.is-brand-on-light .home-hero__brand {
  color: #111;
}

.home-hero--fullscreen .scroll-cue {
  left: 50%;
  right: auto;
  bottom: clamp(1.25rem, 4vh, 2.75rem);
  transform: translateX(-50%);
  color: #fff;
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: none;
  text-transform: none;
  transition: color 420ms ease;
}

.home-hero--fullscreen .scroll-cue.is-on-light {
  color: var(--ink);
}

html[data-theme="dark"] .home-hero--fullscreen .scroll-cue.is-on-light {
  color: #111;
}

.home-hero--fullscreen .scroll-cue:hover,
.home-hero--fullscreen .scroll-cue:focus-visible {
  color: var(--blue);
}

.hero-carousel-caption {
  display: flex;
  gap: var(--space-2);
  margin: 0;
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(0.72rem, 0.95vw, 0.85rem);
  font-weight: 400;
  letter-spacing: var(--ui-label-track);
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-carousel-caption__count {
  font-variant-numeric: tabular-nums;
}

.hero-carousel--fullscreen .hero-carousel-caption {
  position: absolute;
  z-index: 3;
  left: var(--home-brand-left);
  bottom: calc(clamp(1.25rem, 4vh, 2.75rem) + 0.35em);
  max-width: calc(50vw - var(--home-brand-left) - 9rem);
  color: #fff;
  transition: color 420ms ease;
}

.hero-carousel--fullscreen .hero-carousel-caption.is-on-light {
  color: #111;
}

html[data-home-concept="a"] .menu-toggle--panel,
html:not([data-home-concept]) .menu-toggle--panel {
  left: var(--home-brand-left);
  padding: 0;
}

html[data-home-concept="a"] body.is-about-open .menu-toggle--panel,
html:not([data-home-concept]) body.is-about-open .menu-toggle--panel {
  left: calc(var(--about-panel-width) + var(--home-brand-left));
}

html[data-home-concept="a"] .header-controls .grid-view-toggle,
html:not([data-home-concept]) .header-controls .grid-view-toggle {
  background: transparent;
  color: #fff;
  transition: color 420ms ease;
}

html[data-home-concept="a"] .header-controls.is-on-light .grid-view-toggle,
html:not([data-home-concept]) .header-controls.is-on-light .grid-view-toggle {
  color: #111;
}

html[data-home-concept="a"] .header-controls .grid-view-toggle:hover,
html[data-home-concept="a"] .header-controls .grid-view-toggle:focus-visible,
html:not([data-home-concept]) .header-controls .grid-view-toggle:hover,
html:not([data-home-concept]) .header-controls .grid-view-toggle:focus-visible {
  color: var(--blue);
}

html[data-home-concept="b"] body {
  --text-canvas-width: 100vw;
  --text-page-margin: clamp(1.25rem, 5vw, 4.5rem);
  --text-page-width: min(
    calc(var(--text-canvas-width) - (2 * var(--text-page-margin))),
    76rem
  );
  --text-header-size: clamp(1.55rem, 3.4vw, 2.5rem);
  --header-control-size: 1.7rem;
  --text-header-top: clamp(1.25rem, 3vh, 2rem);
}

html[data-home-concept="b"] body.is-about-open {
  --text-canvas-width: calc(100vw - var(--about-panel-width));
}

.home-hero--text {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: var(--text-header-top) 0 0;
  background: var(--paper);
}

.home-hero-text {
  display: grid;
  width: var(--text-page-width);
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(3.5rem, 12vh, 7.5rem);
}

.home-hero--text .home-hero__brand {
  position: static;
  margin: 0;
  color: var(--ink);
  font-size: var(--text-header-size);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
}

.home-hero__bio {
  max-width: 28em;
  margin: 0;
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.05vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.38;
  text-wrap: pretty;
}

.home-hero--text .scroll-cue {
  display: none;
}

html[data-home-concept="b"] .home-work {
  margin-top: clamp(5rem, 16vh, 10rem);
  padding-top: 0;
}

.home-hero--small {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  min-height: 100vh;
  padding: var(--home-small-header-top) 0 clamp(1.25rem, 3vh, 2rem);
  background: var(--paper);
}

.home-hero--small > .home-hero__brand {
  position: relative;
  z-index: 3;
  top: auto;
  left: auto;
  width: var(--grid-feed-width);
  max-width: 100%;
  margin: 0 auto;
  color: var(--ink);
  font-size: var(--home-brand-size);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
  text-shadow: none;
  pointer-events: none;
}

.home-hero--small .scroll-cue {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  margin: 0;
  transform: none;
  color: var(--ink);
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: var(--home-brand-size);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: none;
  text-transform: none;
}

.home-hero--small .scroll-cue:hover,
.home-hero--small .scroll-cue:focus-visible {
  color: var(--accent);
}

html[data-home-concept="a"] .sticky-site-title,
html[data-home-concept="b"] .sticky-site-title,
html[data-home-concept="c"] .sticky-site-title {
  opacity: 0;
  pointer-events: none;
}

.hero-carousel {
  min-height: 100vh;
}

.hero-carousel--fullscreen {
  min-height: 100vh;
}

.hero-carousel--small {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: var(--space-2);
  width: var(--grid-feed-width);
  max-width: 100%;
  min-height: 0;
  margin: 0 auto;
}

.hero-carousel-viewport {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding:
    clamp(5rem, 14vh, 8rem)
    var(--gutter)
    clamp(4rem, 10vh, 6rem)
    calc(var(--gutter) + var(--carousel-inset-left));
  background: var(--paper);
}

.hero-carousel--fullscreen .hero-carousel-viewport {
  min-height: 100vh;
  padding: 0;
  background: #111;
}

.hero-carousel--fullscreen .hero-carousel-viewport::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, #000 38%, transparent),
    transparent
  );
}

.hero-carousel--small .hero-carousel-viewport {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.hero-carousel-stage {
  position: relative;
  flex-shrink: 0;
  width: min(calc(86vw - var(--carousel-inset-left)), calc(var(--project-column) - 2rem));
  min-width: min(calc(86vw - var(--carousel-inset-left)), calc(var(--project-column) - 2rem));
  height: min(68vh, calc(100vh - clamp(10rem, 26vh, 15rem)));
  background: var(--surface-muted);
}

.hero-carousel--fullscreen .hero-carousel-stage {
  width: 100%;
  min-width: 100%;
  height: 100vh;
  background: #111;
}

.hero-carousel--small .hero-carousel-stage {
  --hero-frame-pad: clamp(0.85rem, 2vw, 1.5rem);
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  height: auto;
  min-height: 16rem;
  background: #eeefee;
}

html[data-home-concept="c"] .home-hero--small {
  justify-content: flex-start;
  gap: clamp(0.85rem, 2vh, 1.35rem);
  height: 100vh;
  height: 100dvh;
  min-height: 32rem;
  padding-bottom: var(--home-small-header-top);
}

html[data-home-concept="c"] .hero-carousel--small {
  flex: 1 1 auto;
  min-height: 0;
}

html[data-home-concept="c"] .hero-carousel--small .hero-carousel-viewport {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.hero-carousel--small .hero-carousel-caption {
  justify-content: space-between;
  color: var(--ink);
}

.hero-carousel--small .hero-carousel-caption__count {
  order: 2;
}

.hero-carousel-stage .carousel-hit {
  z-index: 4;
}

.hero-carousel-stage .carousel-hit--previous::before {
  background: linear-gradient(to right, var(--hit-gradient), transparent);
}

.hero-carousel-stage .carousel-hit--next::before {
  background: linear-gradient(to left, var(--hit-gradient), transparent);
}

.hero-carousel--fullscreen .carousel-hit--previous::before {
  background: linear-gradient(to right, color-mix(in srgb, #000 35%, transparent), transparent);
}

.hero-carousel--fullscreen .carousel-hit--next::before {
  background: linear-gradient(to left, color-mix(in srgb, #000 35%, transparent), transparent);
}

.hero-carousel-stage .carousel-hit:focus-visible {
  outline-color: var(--accent);
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(1.25rem, 3.6vw, 2.85rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--carousel-crossfade-duration) var(--carousel-crossfade-easing);
}

.hero-carousel--fullscreen .hero-carousel-slide {
  padding: 0;
}

.hero-carousel--small .hero-carousel-slide {
  padding: 0;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  pointer-events: none;
}

.hero-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--image-overlay);
  pointer-events: none;
  transition: background 220ms ease;
}

.hero-carousel--small .hero-carousel-slide::after {
  inset: var(--hero-frame-pad);
}

.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-carousel--fullscreen .hero-carousel-slide img {
  object-fit: cover;
}

.hero-carousel--fullscreen .hero-carousel-slide--split,
.hero-carousel--fullscreen .hero-carousel-slide--center {
  background: var(--paper);
}

.hero-carousel--fullscreen .hero-carousel-slide--split {
  justify-content: flex-end;
}

.hero-carousel--fullscreen .hero-carousel-slide--split img,
.hero-carousel--fullscreen .hero-carousel-slide--center img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.hero-carousel--fullscreen .hero-carousel-slide--split img {
  max-width: 68%;
}

.hero-carousel--fullscreen .hero-carousel-slide--center img {
  max-width: 100%;
}

.hero-carousel--fullscreen .hero-carousel-slide--pair {
  gap: clamp(4px, 0.45vw, 8px);
  background: var(--paper);
}

.hero-carousel--fullscreen .hero-carousel-slide--pair img {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
}

.hero-carousel--fullscreen .hero-carousel-viewport::after {
  transition: opacity var(--carousel-crossfade-duration) var(--carousel-crossfade-easing);
}

.hero-carousel--fullscreen .hero-carousel-viewport:has(.hero-carousel-slide--split.is-active)::after,
.hero-carousel--fullscreen .hero-carousel-viewport:has(.hero-carousel-slide--center.is-active)::after {
  opacity: 0;
}

@media (max-aspect-ratio: 1 / 1) {
  .hero-carousel--fullscreen .hero-carousel-slide--split img,
  .hero-carousel--fullscreen .hero-carousel-slide--center img {
    width: 100%;
    max-width: none;
  }

  .hero-carousel--fullscreen .hero-carousel-slide--pair {
    gap: 0;
  }

  .hero-carousel--fullscreen .hero-carousel-slide--pair img:first-child {
    flex-grow: 1 !important;
    width: 100%;
    object-fit: cover;
  }

  .hero-carousel--fullscreen .hero-carousel-slide--pair img:not(:first-child) {
    display: none;
  }

  .hero-carousel--fullscreen .hero-carousel-viewport:has(.hero-carousel-slide--split.is-active)::after,
  .hero-carousel--fullscreen .hero-carousel-viewport:has(.hero-carousel-slide--center.is-active)::after {
    opacity: 1;
  }
}

.hero-carousel--small .hero-carousel-slide img {
  position: absolute;
  top: var(--hero-frame-pad);
  right: var(--hero-frame-pad);
  bottom: var(--hero-frame-pad);
  left: var(--hero-frame-pad);
  width: calc(100% - (2 * var(--hero-frame-pad)));
  height: calc(100% - (2 * var(--hero-frame-pad)));
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.home-intro {
  position: relative;
  display: flex;
  width: min(100% - (2 * var(--gutter)), var(--intro-column));
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.home-intro h1,
.sticky-site-title,
.menu-toggle--link {
  margin: 0;
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--header-nav-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.menu-toggle--panel {
  margin: 0;
  text-align: center;
}

.sticky-site-title {
  position: absolute;
  top: var(--edge-offset);
  left: 50%;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  color: var(--ink);
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: var(--home-title-size);
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 1;
  text-decoration: none;
  transform: translateX(-50%);
  background: var(--highlight);
}

a.sticky-site-title {
  pointer-events: auto;
}

a.sticky-site-title:hover,
a.sticky-site-title:focus-visible {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
  outline: 0;
}

.home-intro h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: 0;
  opacity: 0;
  white-space: nowrap;
}

.about-page {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.about-page main {
  flex: 1 0 auto;
}

.about-detail {
  width: min(100% - (2 * var(--gutter)), var(--intro-column));
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) 0 clamp(3rem, 8vh, 5rem);
}

.about-page .project-detail.about-detail {
  width: min(100% - (2 * var(--gutter)), var(--intro-column));
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.about-detail .menu-about-panel {
  font-size: inherit;
}

.about-detail .introduction .intro-portrait {
  width: 100%;
  max-width: 100%;
  margin: 20px 0 2.75rem;
  aspect-ratio: unset;
  height: auto;
}

.about-detail .introduction .intro-portrait img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-detail .introduction {
  width: 100%;
  max-width: 36em;
  margin-inline: auto;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.42;
}

.about-work {
  --grid-feed-width: min(calc(100vw - (2 * var(--subpage-margin))), 110rem);
  width: var(--grid-feed-width);
  margin: 0 auto;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.about-work .project-feed {
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.intro-block {
  width: 100%;
  margin: 0 auto;
}

.intro-portrait {
  position: relative;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: #707070;
}

.intro-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--image-overlay);
  pointer-events: none;
  transition: background 220ms ease;
}

.intro-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.18);
  mix-blend-mode: screen;
  object-fit: cover;
  object-position: 50% 36%;
}

.introduction {
  width: 100%;
  margin: 0;
  font-size: 1.15rem;
}

.introduction p {
  margin: 0;
}

.introduction p + p {
  margin-top: 1.15em;
}

.introduction-extended {
  margin-top: 1.15em;
}

.introduction-extended p {
  margin: 0;
}

.introduction-extended p + p {
  margin-top: 1.15em;
}

.introduction-more {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition:
    grid-template-rows 560ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.introduction-more.is-open {
  grid-template-rows: 1fr;
  margin-top: 1.15em;
}

.introduction-more__inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition:
    opacity 480ms cubic-bezier(0.22, 1, 0.36, 1) 40ms,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.introduction-more.is-open .introduction-more__inner {
  opacity: 1;
  transform: translateY(0);
}

.read-more-toggle {
  display: inline-block;
  margin-top: 1em;
  padding: 0;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.read-more-toggle:hover,
.read-more-toggle:focus-visible {
  color: var(--ink);
}

.cv-link {
  display: inline-block;
  margin-top: 0.85em;
  margin-left: 1.15rem;
  color: var(--accent-cv-link);
  font-family: "Areal", Arial, sans-serif;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.cv-link:hover,
.cv-link:focus-visible {
  color: var(--ink);
}

.cv-page .cv-detail {
  width: min(90vw, 54rem);
  margin-right: auto;
  margin-left: auto;
}

.cv-detail-header {
  margin-bottom: 3rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 54rem;
  text-align: center;
}

.cv-page .project-detail-title {
  justify-content: center;
}

.cv-download {
  margin: 0 0 1.5rem;
  font-family: "Areal", Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
}

.cv-download a {
  color: var(--accent);
}

.cv-lede {
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
  font-family: "Areal", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.45;
  text-align: center;
}

.cv-lede p {
  margin: 0;
}

.cv-lede p + p {
  margin-top: 0.35em;
}

.cv-content {
  width: 100%;
  max-width: 54rem;
  margin-right: auto;
  margin-left: auto;
  font-family: "Areal", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

.cv-content h2 {
  margin: 2.75rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-content h2:first-child {
  margin-top: 0;
}

.cv-content h3 {
  margin: 1.75rem 0 0.85rem;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cv-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cv-entry {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0 1.35rem;
  margin-bottom: 0.45rem;
}

.cv-entry--new-year {
  margin-top: 1.65rem;
}

.cv-entry--continued {
  margin-top: 0.55rem;
}

.cv-entry--new-year + .cv-entry--continued {
  margin-top: 0.55rem;
}

.cv-content h2 + .cv-entry,
.cv-content h3 + .cv-entry,
.cv-content .cv-note + .cv-entry {
  margin-top: 0;
}

.cv-year {
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.cv-entry-body {
  min-width: 0;
}

.cv-entry-body p {
  margin: 0;
}

.cv-content a {
  word-break: break-word;
  color: var(--accent);
}

.cv-content a:hover,
.cv-content a:focus-visible {
  color: var(--blue);
}

.cv-content a.cv-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-left: 0.4em;
  padding: 0.28em 0.6em 0.22em;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  border-radius: 999px;
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: var(--ui-label-track);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: 0.12em;
  white-space: nowrap;
  word-break: normal;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.cv-ref__arrow {
  display: inline-block;
  font-size: 1.1em;
  transition: transform 200ms ease;
}

.cv-content a.cv-ref:hover,
.cv-content a.cv-ref:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  outline: 0;
}

.cv-content a.cv-ref:hover .cv-ref__arrow,
.cv-content a.cv-ref:focus-visible .cv-ref__arrow {
  transform: translate(0.12em, -0.12em);
}

.writing-lede {
  max-width: 34em;
  margin: 0 auto;
  font-family: "Casino Serif", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

.writing-lede p {
  margin: 0 0 0.75em;
}

.writing-lede p:last-child {
  margin-bottom: 0;
}

.writing-lede .cv-link {
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.writing-page .cv-entry-body,
.writing-page .cv-entry-body p {
  font-family: "Casino Serif", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.48;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .cv-entry {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0 0.85rem;
  }
}

.scroll-cue {
  position: absolute;
  bottom: var(--edge-offset);
  left: 50%;
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--accent);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: min(88vw, var(--project-column));
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-6);
}

.home-work {
  position: relative;
  z-index: 5;
  background: var(--paper);
}

.home .project-filters {
  position: sticky;
  z-index: 18;
  top: var(--space-3);
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter-tight));
  margin: var(--space-6) auto 0;
  padding: 0;
  background: var(--surface-muted);
}

.home #project-feed {
  scroll-margin-top: calc(2.5rem + var(--space-3) + var(--space-3));
}

.home .project-feed {
  padding-top: var(--space-6);
}

.home .project-card {
  scroll-margin-top: calc(2.5rem + var(--space-3) + var(--space-3));
}

.project-feed .project-card.is-filter-hidden {
  display: none !important;
}

.project-filter {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--grid-tag-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--ui-label-track);
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease;
}

a.project-filter {
  text-decoration: none;
}

.project-filters-top {
  color: var(--filter-active-text);
  background: var(--filter-active-bg);
  letter-spacing: var(--ui-label-track);
  text-transform: none;
}

.home .project-filters-top {
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
}

.home .project-filter:not(.is-active, [aria-pressed="true"]) {
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
}

.project-filter.is-active,
.project-filter[aria-pressed="true"] {
  color: var(--filter-active-text);
  background: var(--filter-active-bg);
  text-decoration: none;
}

.home .project-filter.is-active,
.home .project-filter[aria-pressed="true"] {
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
}

.project-filters .project-filter:not(.is-active, [aria-pressed="true"]):hover,
.project-filters .project-filter:not(.is-active, [aria-pressed="true"]):focus-visible {
  background: var(--blue);
  color: var(--footer-text);
}

.project-filter.is-active:hover,
.project-filter.is-active:focus-visible,
.project-filter[aria-pressed="true"]:hover,
.project-filter[aria-pressed="true"]:focus-visible {
  color: var(--filter-active-text);
  background: var(--filter-active-bg);
}

.project-filter.project-filters-top:hover,
.project-filter.project-filters-top:focus-visible {
  color: var(--filter-active-text);
}

.project-feed {
  display: flex;
  flex-direction: column;
  padding: 0 0 20vh;
}

.project-card {
  width: min(88vw, var(--project-column));
  margin: 0 0 clamp(4.5rem, 13vh, 8.5rem);
  align-self: center;
  scroll-margin-top: 5rem;
}

.project-card:last-child {
  margin-bottom: 10vh;
}


.home.is-grid-view .project-filters,
html.grid-view-pending body.home .project-filters {
  position: sticky;
  z-index: 18;
  top: var(--space-3);
  left: auto;
  right: auto;
  align-items: stretch;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter-tight));
  margin: var(--space-4) auto 0;
  padding: 0;
  background: var(--surface-muted);
  transform: none;
  transition: none;
}

body.is-about-open.home.is-grid-view .project-filters,
html.grid-view-pending body.is-about-open.home .project-filters {
  left: auto;
}

.home.is-grid-view .project-feed,
html.grid-view-pending body.home .project-feed {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gap);
  width: var(--grid-feed-width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-3) var(--gutter-tight) var(--space-8);
  transition:
    --grid-columns var(--about-motion-duration) var(--about-motion-easing),
    width var(--about-motion-duration) var(--about-motion-easing),
    gap var(--about-motion-duration) var(--about-motion-easing);
}

@media (min-width: 720px) {
  .home.is-grid-view .project-feed,
  html.grid-view-pending body.home .project-feed {
    --grid-columns: 2;
  }
}

@media (min-width: 1024px) {
  .home.is-grid-view .project-feed,
  html.grid-view-pending body.home .project-feed {
    --grid-columns: 3;
  }
}

@media (min-width: 1280px) {
  .home.is-grid-view .project-feed,
  html.grid-view-pending body.home .project-feed {
    --grid-columns: 4;
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  body.is-about-open.home.is-grid-view .project-feed,
  html.grid-view-pending body.is-about-open.home .project-feed {
    --grid-columns: 1;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body.is-about-open.home.is-grid-view .project-feed,
  html.grid-view-pending body.is-about-open.home .project-feed {
    --grid-columns: 2;
    width: min(100%, var(--grid-feed-width));
  }
}

@media (min-width: 1280px) {
  body.is-about-open.home.is-grid-view .project-feed,
  html.grid-view-pending body.is-about-open.home .project-feed {
    --grid-columns: 3;
    width: min(100%, var(--grid-feed-width));
  }
}

html[data-home-concept="b"] .home.is-grid-view .project-feed,
html[data-home-concept="b"].grid-view-pending body.home .project-feed {
  width: var(--text-page-width);
  padding: var(--space-4) 0 var(--space-8);
  column-gap: clamp(1rem, 2.5vw, 2rem);
  row-gap: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 720px) {
  html[data-home-concept="b"] .home.is-grid-view .project-feed,
  html[data-home-concept="b"].grid-view-pending body.home .project-feed {
    --grid-columns: 2;
  }

  html[data-home-concept="b"] .home .project-filters {
    margin: 0 0 0 calc((100% - var(--text-page-width)) / 2);
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  html[data-home-concept="b"] body.is-about-open.home.is-grid-view .project-feed,
  html[data-home-concept="b"].grid-view-pending body.is-about-open.home .project-feed {
    --grid-columns: 1;
  }
}

.project-filters-view {
  display: none;
}

html[data-home-concept="a"] body {
  --grid-feed-width: min(calc(100vw - (2 * var(--home-brand-left))), 110rem);
}

html[data-home-concept="a"] body.is-about-open {
  --grid-feed-width: min(
    calc(100vw - var(--about-panel-width) - (2 * var(--home-brand-left))),
    110rem
  );
}

html[data-home-concept="a"] .header-controls .grid-view-toggle {
  display: none;
}

html[data-home-concept="a"] .project-filters .project-filters-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0 calc(var(--highlight-pad-x) * 0.9);
  border-left: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: transparent;
  color: var(--ink);
  transition:
    background 200ms ease,
    color 200ms ease;
}

html[data-home-concept="a"] .project-filters .project-filters-view .grid-view-toggle__icon {
  width: 0.95em;
  height: 0.95em;
  font-size: var(--grid-tag-size);
}

html[data-home-concept="a"] .project-filters .project-filters-view:hover,
html[data-home-concept="a"] .project-filters .project-filters-view:focus-visible {
  background: var(--blue);
  color: var(--footer-text);
  outline: 0;
}

.portfolio-grid.home.is-grid-view .project-filters,
html[data-home-concept="a"].grid-view-pending body.home .project-filters {
  margin: var(--space-6) 0 0 calc((100% - var(--grid-feed-width)) / 2);
}

.portfolio-grid.home.is-grid-view .project-feed,
html[data-home-concept="a"].grid-view-pending body.home .project-feed {
  padding: var(--space-6) 0 var(--space-8);
  column-gap: clamp(1rem, 2vw, 1.75rem);
  row-gap: clamp(2.75rem, 5vw, 4.25rem);
  counter-reset: project;
}

@media (min-width: 1024px) {
  .portfolio-grid.home.is-grid-view .project-feed,
  html[data-home-concept="a"].grid-view-pending body.home .project-feed {
    --grid-columns: 3;
  }

  html[data-home-concept="a"] body.is-about-open.home.is-grid-view .project-feed,
  html[data-home-concept="a"].grid-view-pending body.is-about-open.home .project-feed {
    --grid-columns: 2;
  }
}

.portfolio-grid.home.is-grid-view .project-card,
html[data-home-concept="a"].grid-view-pending body.home .project-card {
  gap: 0.85rem;
  counter-increment: project;
}

.portfolio-grid.home.is-grid-view .project-card h2,
html[data-home-concept="a"].grid-view-pending body.home .project-card h2 {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0;
  background: transparent;
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: none;
}

.portfolio-grid.home.is-grid-view .project-card h2::after,
html[data-home-concept="a"].grid-view-pending body.home .project-card h2::after {
  content: counter(project, decimal-leading-zero);
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--grid-tag-size);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ui-label-track);
}

.portfolio-grid.home.is-grid-view .project-card h2 a,
html[data-home-concept="a"].grid-view-pending body.home .project-card h2 a {
  transition: color 200ms ease;
}

.portfolio-grid.home.is-grid-view .project-card:has(.carousel-frame:hover) h2 a,
.portfolio-grid.home.is-grid-view .project-card h2 a:hover,
.portfolio-grid.home.is-grid-view .project-card h2 a:focus-visible {
  color: var(--blue);
}

.portfolio-grid.home.is-grid-view .carousel-meta,
html[data-home-concept="a"].grid-view-pending body.home .carousel-meta {
  padding: 0 var(--grid-carousel-pad) var(--grid-carousel-pad);
}

.home.is-grid-view .project-card,
html.grid-view-pending body.home .project-card {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  width: 100%;
  margin: 0;
  transform: none !important;
  align-self: stretch;
  scroll-margin-top: calc(2.5rem + var(--space-3) + var(--space-3));
  transition: opacity var(--about-motion-duration) var(--about-motion-easing);
}

.home.is-grid-view .project-collaborators,
.home.is-grid-view .project-subtitle,
html.grid-view-pending body.home .project-collaborators,
html.grid-view-pending body.home .project-subtitle {
  display: none;
}

.home.is-grid-view .project-card h2,
html.grid-view-pending body.home .project-card h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-size: var(--grid-project-title-size);
  line-height: 1.25;
}

.home.is-grid-view .project-card[data-categories="exhibitions"] h2,
html.grid-view-pending body.home .project-card[data-categories="exhibitions"] h2 {
  font-size: clamp(0.62rem, 0.95vw, 0.78rem);
  line-height: 1.3;
  max-width: 100%;
}

.home.is-grid-view .project-card .carousel,
html.grid-view-pending body.home .project-card .carousel {
  width: 100%;
  margin: 0;
}

.home.is-grid-view .project-card .carousel-frame,
html.grid-view-pending body.home .project-card .carousel-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: var(--surface-muted);
  transition: background 200ms ease;
}

.home.is-grid-view .project-card .carousel-viewport,
html.grid-view-pending body.home .project-card .carousel-viewport {
  position: relative;
  width: 100%;
  max-height: none;
  flex: 1 1 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-muted);
}

.home.is-grid-view .project-card .carousel-slide,
html.grid-view-pending body.home .project-card .carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--grid-carousel-pad);
  opacity: 0;
  visibility: visible;
  z-index: 0;
  transition: opacity var(--carousel-crossfade-duration) var(--carousel-crossfade-easing);
}

.home.is-grid-view .project-card .carousel-slide.is-active,
html.grid-view-pending body.home .project-card .carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.home.is-grid-view .project-card .carousel-slide img,
html.grid-view-pending body.home .project-card .carousel-slide img {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.home.is-grid-view .project-card .carousel-slide::after,
html.grid-view-pending body.home .project-card .carousel-slide::after {
  inset: var(--grid-carousel-pad);
}

.home.is-grid-view .project-card [data-carousel],
html.grid-view-pending body.home .project-card [data-carousel] {
  pointer-events: none;
}

.home.is-grid-view .project-card .carousel-hit,
html.grid-view-pending body.home .project-card .carousel-hit {
  display: none;
}

.home.is-grid-view .carousel-project-link,
html.grid-view-pending body.home .carousel-project-link {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  pointer-events: auto;
}

.home.is-grid-view .carousel-project-link::before,
html.grid-view-pending body.home .carousel-project-link::before {
  content: none;
}

.home.is-grid-view .carousel-meta__nav,
html.grid-view-pending body.home .carousel-meta__nav {
  display: none;
}

.home.is-grid-view .carousel-meta,
html.grid-view-pending body.home .carousel-meta {
  position: relative;
  z-index: 6;
  flex-shrink: 0;
  justify-content: flex-start;
  margin: 0;
  padding: var(--space-unit);
  gap: var(--space-unit);
  background: transparent;
  pointer-events: auto;
}

.home.is-grid-view .carousel-meta__count,
html.grid-view-pending body.home .carousel-meta__count {
  display: none;
}

.home.is-grid-view .carousel-meta__tag,
html.grid-view-pending body.home .carousel-meta__tag {
  min-height: auto;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--paper);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--grid-tag-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--ui-label-track);
  text-transform: uppercase;
  pointer-events: auto;
}

.home.is-grid-view .carousel-meta__tags,
html.grid-view-pending body.home .carousel-meta__tags {
  justify-content: flex-start;
  padding: 0;
  gap: var(--space-unit);
}

.home.is-grid-view .carousel-meta,
html.grid-view-pending body.home .carousel-meta,
.home.is-grid-view .carousel-meta__tag,
html.grid-view-pending body.home .carousel-meta__tag {
  transition: background 200ms ease, color 200ms ease;
}

@media (hover: hover) {
  .home.is-grid-view .carousel-frame:hover,
  html.grid-view-pending body.home .carousel-frame:hover {
    background: var(--carousel-surface-hover);
  }

  .home.is-grid-view .carousel-frame:hover .carousel-viewport,
  html.grid-view-pending body.home .carousel-frame:hover .carousel-viewport,
  .home.is-grid-view .carousel-frame:hover .carousel-meta,
  html.grid-view-pending body.home .carousel-frame:hover .carousel-meta {
    background: transparent;
  }
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.project-card h2 {
  width: fit-content;
  max-width: calc(100% - var(--carousel-inset-left));
  margin: 0 0 0.75rem var(--carousel-inset-left);
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--highlight);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--project-title-size);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-collaborators,
.project-subtitle {
  width: fit-content;
  max-width: calc(100% - var(--carousel-inset-left));
  margin: 0 0 1rem var(--carousel-inset-left);
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--highlight);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-subtitle {
  padding: var(--highlight-pad-y) 0 var(--highlight-pad-bottom) var(--highlight-pad-x);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.project-subtitle:not(:has(+ .project-collaborators)) {
  margin-bottom: 1rem;
}

.project-collaborators:has(+ .project-subtitle) {
  margin-bottom: 0.35rem;
}

.project-subtitle__lead {
  vertical-align: baseline;
}

.project-subtitle__book {
  display: inline;
  vertical-align: baseline;
  margin: calc(-1 * var(--highlight-pad-y)) 0 calc(-1 * var(--highlight-pad-bottom));
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom) 0.2em;
  background: #4a4a4a;
  color: #fff;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

html[data-theme="dark"] .project-subtitle__book {
  background: color-mix(in srgb, var(--highlight) 62%, #111);
  color: var(--ink);
}

.project-detail-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.project-detail h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--highlight);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--project-title-size);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-detail-year {
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-card h2 a {
  color: inherit;
  text-decoration: none;
}

.home:not(.is-grid-view) .project-card h2:has(a:hover),
.home:not(.is-grid-view) .project-card h2:has(a:focus-visible) {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
}

.home:not(.is-grid-view) .project-card h2 a:hover,
.home:not(.is-grid-view) .project-card h2 a:focus-visible {
  color: var(--filter-active-text);
}

/* Project titles: list feed and project pages */
.home:not(.is-grid-view) .project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home:not(.is-grid-view) .project-card h2 {
  max-width: 100%;
  margin: 0 0 0.6rem;
}

.project-detail h1 {
  max-width: 100%;
  margin: 0 0 0.6rem;
  padding: 0;
  background: transparent;
  font-family: "Casino Sans", Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-transform: none;
  text-wrap: balance;
}

.home:not(.is-grid-view) .project-card .project-collaborators,
.home:not(.is-grid-view) .project-card .project-subtitle {
  max-width: 100%;
  margin: 0 0 0.3rem;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--grid-tag-size);
  line-height: 1.45;
}

.home:not(.is-grid-view) .project-card .project-subtitle {
  white-space: nowrap;
}

.home:not(.is-grid-view) .project-card .project-subtitle__book {
  margin: 0 0 0 0.15em;
  padding: 0.15em 0.4em 0.1em;
  background: #4a4a4a;
  color: #fff;
  font-weight: 400;
}

.home:not(.is-grid-view) .project-card .carousel {
  width: 100%;
  margin: clamp(0.5rem, 1.2vh, 0.85rem) 0 0;
}

.home:not(.is-grid-view) .project-card .carousel-frame,
.project-detail .carousel-frame {
  display: flex;
  flex-direction: column;
}

.home:not(.is-grid-view) .project-card .carousel-meta,
.project-detail .carousel-meta {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0.65rem 0 0;
}

.home:not(.is-grid-view) .project-card .carousel-meta__tags,
.project-detail .carousel-meta__tags {
  justify-content: flex-start;
}

.home:not(.is-grid-view) .project-card .carousel-play,
.project-detail .carousel-play {
  width: 2.15rem;
  height: 2.15rem;
}

.project-detail-year {
  color: var(--muted);
  font-size: var(--grid-tag-size);
  letter-spacing: var(--ui-label-track);
}

/* Homepage header: compact bar once the hero is scrolled past */
html body.home .utility-header {
  height: calc(var(--subpage-header-size) + (2 * var(--subpage-header-top)));
  padding: 0;
}

html body.home .sticky-site-title {
  position: fixed;
  top: var(--subpage-header-top);
  left: var(--subpage-margin);
  max-width: none;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--subpage-header-size);
  letter-spacing: -0.01em;
  line-height: 1;
  transform: none;
  transition: opacity 320ms ease, color 200ms ease;
}

html body.home.compact-header .sticky-site-title {
  opacity: 1;
  pointer-events: auto;
}

html body.home a.sticky-site-title:hover,
html body.home a.sticky-site-title:focus-visible {
  background: transparent;
  color: var(--blue);
}

html body.home .header-controls {
  transition: top 320ms ease, right 320ms ease, height 320ms ease, gap 320ms ease;
}

html body.home .header-about,
html body.home .header-writing {
  transition: color 420ms ease, font-size 320ms ease;
}

html body.home.compact-header .header-controls {
  --header-control-size: 1.45rem;
  top: var(--subpage-header-top);
  right: var(--subpage-margin);
  height: var(--subpage-header-size);
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

html body.home.compact-header .header-about,
html body.home.compact-header .header-writing {
  font-size: var(--subpage-nav-size);
}

html body.home.compact-header .header-controls .theme-switch {
  margin-left: clamp(0.25rem, 0.6vw, 0.6rem);
}

html body.home .project-filters {
  --filters-pad: calc(var(--subpage-header-top) + (var(--subpage-header-size) - 1.35rem) / 2);
  top: max(var(--space-3), var(--filters-pad));
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter-tight));
  margin: var(--space-6) auto 0;
  padding: 0;
  background: var(--surface-muted);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html body.home.portfolio-grid.is-grid-view .project-filters,
html[data-home-concept="a"].grid-view-pending body.home .project-filters {
  margin: var(--space-6) 0 0 calc((100% - var(--grid-feed-width)) / 2);
}

@media (max-width: 1100px) {
  html body.home .project-filters {
    top: calc(var(--subpage-header-size) + (2 * var(--subpage-header-top)));
  }
}

.project-credit {
  margin: 2rem 0 2.5rem;
}

.credit-label {
  margin: 0;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credit-text {
  margin: 0.35rem 0 1.35rem;
  font-size: 1em;
  line-height: 1.45;
}

.credit-text:last-child {
  margin-bottom: 0;
}

.carousel {
  width: calc(100% - var(--carousel-inset-left));
  margin: 0 0 1.5rem var(--carousel-inset-left);
}

.project-card .carousel {
  width: calc(100% - var(--carousel-inset-left));
  margin-bottom: 2rem;
}

.project-detail .carousel {
  width: 100%;
  margin: 0 0 2rem;
}

.carousel-section-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  background: var(--highlight);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-detail .detail-summary + .carousel-section-title {
  margin-top: 2rem;
}

.project-card .carousel-frame,
.project-detail .carousel-frame {
  width: min(100%, calc(var(--project-carousel-max-height) * 4 / 3));
  max-width: 100%;
}

.project-card .carousel-viewport,
.project-detail .carousel-viewport {
  width: 100%;
  max-height: var(--project-carousel-max-height);
  aspect-ratio: 4 / 3;
}

.project-card .carousel-meta,
.project-detail .carousel-meta {
  width: 100%;
}

.project-card .carousel-slide,
.project-detail .carousel-slide {
  padding: clamp(0.85rem, 2vw, 1.75rem);
}

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

.carousel-stage {
  position: relative;
  display: block;
  width: 100%;
}

.carousel-stage:has([data-previous]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.75rem);
}

.carousel-stage .carousel-viewport {
  width: 100%;
}

.carousel-stage:has([data-previous]) .carousel-viewport {
  grid-column: 2;
}

.carousel-stage .carousel-nav {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  color: #d0d0d0;
  line-height: 0;
  cursor: pointer;
}

.carousel-stage .carousel-nav--previous {
  grid-column: 1;
}

.carousel-stage .carousel-nav--next {
  grid-column: 3;
}

.carousel-nav__icon {
  display: block;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.carousel-nav--previous .carousel-nav__icon {
  border-right: 24px solid currentColor;
}

.carousel-nav--next .carousel-nav__icon {
  border-left: 24px solid currentColor;
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  color: #9a9a9a;
  outline: 0;
}

html[data-theme="dark"] .carousel-stage .carousel-nav {
  color: #5a5a5a;
}

html[data-theme="dark"] .carousel-nav:hover,
html[data-theme="dark"] .carousel-nav:focus-visible {
  color: #9a9a9a;
}

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.75rem;
}

.carousel-meta__tags {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
}

.carousel-meta__tag {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  max-width: 100%;
  padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--grid-tag-size);
  font-weight: 400;
  letter-spacing: var(--ui-label-track);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.carousel-meta__tag.is-active,
.carousel-meta__tag[aria-pressed="true"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.carousel-meta__tag:hover,
.carousel-meta__tag:focus-visible {
  color: var(--accent);
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-muted);
  transition: background 200ms ease;
}

@media (hover: hover) {
  .project-card .carousel-frame:hover .carousel-viewport {
    background: var(--carousel-surface-hover);
  }
}

.carousel-project-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  cursor: pointer;
}

.carousel-hit {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  background: transparent;
}

.carousel-hit::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.carousel-hit--previous {
  left: 0;
  cursor: w-resize;
}

.carousel-hit--previous::before {
  background: linear-gradient(to right, var(--hit-gradient), transparent);
}

.carousel-hit--next {
  right: 0;
  cursor: e-resize;
}

.carousel-hit--next::before {
  background: linear-gradient(to left, var(--hit-gradient), transparent);
}

.carousel-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.carousel-hit:focus-visible::before {
  opacity: 1;
}

@media (hover: hover) {
  .project-card .carousel-hit:hover::before {
    opacity: 1;
  }
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(1.25rem, 3.6vw, 2.85rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--carousel-crossfade-duration) var(--carousel-crossfade-easing);
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: none;
}

.carousel--flipbook .carousel-slide {
  --flip-fade: 320ms;
  transition: opacity 0s linear var(--flip-fade);
}

.carousel--flipbook .carousel-slide.is-active {
  z-index: 1;
  transition: opacity var(--flip-fade) ease-in-out;
}

.carousel--flipbook .carousel-viewport {
  cursor: pointer;
}

.carousel-play {
  display: inline-flex;
  width: 2.85rem;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--ink);
  line-height: 0;
}

.carousel-play:hover,
.carousel-play:focus-visible {
  background: var(--ink);
  color: var(--surface-muted);
  outline: 0;
}

.carousel-play__icon {
  display: block;
  width: 12px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.carousel-play[aria-pressed="true"] .carousel-play__icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  border-right: 0;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--image-overlay);
  pointer-events: none;
  transition: background 220ms ease;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home:not(.is-grid-view) .project-card .carousel-viewport,
.project-detail .carousel-viewport {
  aspect-ratio: var(--carousel-ratio, 4 / 3);
  background: transparent;
}

.home:not(.is-grid-view) .project-card .carousel-viewport.is-sized,
.project-detail .carousel-viewport.is-sized {
  transition: height 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home.is-grid-view .project-card .carousel-viewport,
html.grid-view-pending body.home .project-card .carousel-viewport {
  height: auto !important;
}

.home:not(.is-grid-view) .project-card .carousel-slide,
.project-detail .carousel-slide {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.home:not(.is-grid-view) .project-card .carousel-slide img,
.project-detail .carousel-slide img {
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: clamp(0.4rem, 1.2vw, 1rem);
  background: var(--surface-muted);
  transition: background 200ms ease;
}

.home:not(.is-grid-view) .project-card .carousel-slide::after,
.project-detail .carousel-slide::after {
  content: none;
}

@media (hover: hover) {
  .home:not(.is-grid-view) .project-card .carousel-frame:hover .carousel-slide img {
    background: var(--carousel-surface-hover);
  }
}

.carousel-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 80%;
  padding: 0.3rem 0.45rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.7rem;
}

.carousel--placeholder .carousel-frame {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-muted);
}

.home.is-grid-view .carousel--placeholder .image-placeholder,
html.grid-view-pending body.home .carousel--placeholder .image-placeholder {
  flex: 1 1 auto;
  width: 100%;
}

.image-placeholder {
  display: flex;
  padding: 1rem;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), #b8b8b8 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to top right, transparent calc(50% - 0.5px), #b8b8b8 50%, transparent calc(50% + 0.5px)),
    #f3f3f3;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.image-placeholder span:first-child {
  align-self: flex-start;
}

.image-placeholder span:last-child {
  align-self: flex-end;
  text-align: right;
}

.project-excerpt {
  font-size: 1.3rem;
  line-height: 1.34;
}

.project-excerpt p {
  margin: 0;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 1rem;
}

.site-footer {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding: var(--space-3) var(--gutter);
  background: var(--footer);
  color: var(--footer-text);
  font-family: "Areal", Arial, sans-serif;
  font-size: var(--grid-tag-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--ui-label-track);
}

.site-footer a {
  color: var(--footer-text);
  font: inherit;
  letter-spacing: inherit;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

.project-page {
  --project-column: 64rem;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.45;
}

.project-detail {
  width: min(88vw, var(--project-column));
  margin: 0 auto;
  padding: var(--space-8) 0 calc(var(--space-8) * 2);
}

.project-detail-header {
  width: 100%;
  margin: 0 0 2rem;
  padding-top: clamp(6rem, 14vh, 10rem);
}

.detail-meta {
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-summary,
.about-page .introduction {
  font-family: "Casino Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.detail-summary {
  /* max-width: 40rem; */
  margin: 4rem 0 6rem;
  font-size: 1.4em;
  line-height: 1.5;
}

.detail-summary p {
  margin: 0 0 1.15em;
}

.detail-summary p:last-child {
  margin-bottom: 0;
}

.detail-list {
  margin-top: var(--space-8);
}

.detail-list h2 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid;
  color: var(--accent);
  font-family: "Areal", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list div > p {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid #bbb;
}

@media (max-width: 600px) {
  :root {
    --ui-nav-size: 1rem;
    --home-title-size: var(--ui-nav-size);
    --home-filter-title-gap: var(--space-unit);
    --home-mobile-filter-height: 2.35rem;
    --carousel-inset-left: 0px;
  }

  .concept-widget {
    max-width: calc(100vw - 2 * var(--edge-offset));
  }

  .concept-switcher__option {
    padding: 0.3rem 0.4rem 0.24rem;
    font-size: 0.55rem;
  }

  html[data-home-concept="a"],
  html:not([data-home-concept]) {
    --home-brand-top: var(--edge-offset);
    --home-brand-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  html[data-home-concept="c"] {
    --home-brand-size: clamp(1.35rem, 6.5vw, 1.85rem);
    --home-small-header-top: clamp(0.85rem, 2vh, 1.25rem);
  }

  .home-hero--fullscreen .home-hero__brand {
    left: var(--space-3);
    max-width: min(20rem, calc(100vw - 4.5rem));
  }

  .home-hero--fullscreen .scroll-cue,
  .menu-toggle--panel {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }

  .home-hero--fullscreen .scroll-cue {
    bottom: var(--edge-offset);
  }

  .hero-carousel--fullscreen .hero-carousel-caption {
    display: none;
  }

  .portfolio-grid.home.is-grid-view .project-filters,
  html[data-home-concept="a"].grid-view-pending body.home .project-filters {
    margin: var(--space-3) auto 0;
  }

  html[data-home-concept="c"] body {
    --header-control-size: 1.45rem;
  }

  html[data-home-concept="b"] body {
    --text-header-size: clamp(1.35rem, 6.5vw, 1.85rem);
    --header-control-size: 1.45rem;
    --text-header-top: var(--space-2);
  }

  html[data-home-concept] .header-about,
  html[data-home-concept] .header-writing,
  body.project-page .header-about,
  body.project-page .header-writing {
    display: none;
  }

  body.project-page,
  body.home {
    --subpage-header-size: clamp(1.3rem, 6vw, 1.6rem);
    --subpage-header-top: var(--space-2);
    --subpage-margin: var(--space-2);
  }


  html[data-home-concept] .header-controls .menu-toggle--link {
    display: flex !important;
  }

  html[data-home-concept="b"] body.home .project-filters {
    top: calc(var(--space-2) + 3.25rem);
  }

  .home-hero-text {
    row-gap: var(--space-6);
  }

  .home-hero__bio {
    font-size: 1.1rem;
    line-height: 1.42;
  }

  html[data-home-concept="b"] .home-work {
    margin-top: var(--space-8);
  }

  .home-hero--small {
    gap: var(--space-2);
    padding-bottom: var(--space-3);
  }

  .hero-carousel--small .hero-carousel-stage {
    --hero-frame-pad: var(--space-2);
    min-height: 12rem;
  }

  body {
    font-size: 18px;
  }

  .project-page {
    font-size: 14px;
  }

  .project-page .detail-summary {
    font-size: 1.2em;
  }

  .site-menu,
  body.is-about-open .site-canvas {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .site-menu {
    display: none;
  }

  .menu-toggle--panel {
    display: none;
  }

  .header-controls .menu-toggle--link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 0;
    border-radius: 50%;
    background: var(--highlight);
    color: var(--ink);
    font-size: 0.85rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent);
  }

  .header-controls .menu-toggle--link:hover,
  .header-controls .menu-toggle--link:focus-visible {
    outline: 0;
    background: var(--filter-active-bg);
    color: var(--filter-active-text);
  }

  .header-controls .menu-toggle--link .menu-toggle__mobile {
    display: inline;
  }

  .utility-header {
    padding: var(--space-unit);
  }

  .header-controls .grid-view-toggle {
    display: none;
  }

  .header-controls {
    gap: var(--space-unit);
  }


  .sticky-site-title {
    max-width: min(14rem, calc(100vw - 7rem));
    font-size: var(--home-title-size);
  }

  .home-intro {
    padding-top: 6rem;
  }

  .introduction {
    width: 100%;
  }

  .about-detail .introduction .intro-portrait {
    width: 100%;
    margin-top: 20px;
  }

  .about-detail .introduction {
    max-width: min(40em, 100%);
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .home .project-filters,
  .home.is-grid-view .project-filters,
  html.grid-view-pending body.home .project-filters {
    position: sticky;
    z-index: 18;
    top: var(--space-2);
    bottom: auto;
    left: auto;
    right: auto;
    width: fit-content;
    max-width: calc(100% - 2 * var(--edge-offset));
    margin: var(--space-3) auto 0;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: var(--surface-muted);
    transform: none;
    transition: none;
  }

  body.is-about-open.home.is-grid-view .project-filters,
  html.grid-view-pending body.is-about-open.home .project-filters {
    left: auto;
    transform: none;
  }

  .home .project-filters::-webkit-scrollbar {
    display: none;
  }

  .home .project-filter,
  .home .project-filters-top {
    flex: 1 0 auto;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
  }

  .home .project-filter:not(.is-active, [aria-pressed="true"]),
  .home .project-filter.is-active,
  .home .project-filter[aria-pressed="true"],
  .home .project-filters-top {
    padding: 0.4rem 0.35rem 0.32rem;
    font-family: "Areal", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .home #project-feed,
  .home .project-card {
    scroll-margin-top: calc(2.35rem + var(--space-3) + var(--space-2));
  }

  .home .project-feed {
    padding-bottom: 25vh;
  }

  .home.is-grid-view .project-feed,
  html.grid-view-pending body.home .project-feed {
    padding-top: var(--space-3);
    padding-bottom: var(--space-8);
  }

  .project-subtitle {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    white-space: normal;
  }

  .home:not(.is-grid-view) .project-card .project-subtitle {
    white-space: normal;
  }

  .project-subtitle__lead {
    display: block;
    padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
  }

  .project-subtitle__book {
    display: block;
    margin: 0;
    padding: var(--highlight-pad-y) var(--highlight-pad-x) var(--highlight-pad-bottom);
    box-decoration-break: initial;
    -webkit-box-decoration-break: initial;
  }

  .project-feed {
    padding-top: 2rem;
  }

  .project-card {
    margin-right: auto;
    margin-bottom: clamp(3.5rem, 9vh, 5.5rem);
    margin-left: auto;
    transform: none;
  }

  .project-card h2,
  .project-collaborators,
  .project-subtitle {
    max-width: 100%;
    margin-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 1rem var(--gutter);
  }

  .site-footer p:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-canvas,
  .site-menu,
  .home.is-grid-view .project-filters,
  html.grid-view-pending body.home .project-filters {
    transition: none;
  }

  .theme-switch__dial {
    transition: none;
  }

  .carousel-slide {
    transition: none;
  }

  .hero-carousel-slide {
    transition: none;
  }

  .sticky-site-title {
    transition: none;
  }

  .introduction-more,
  .introduction-more__inner {
    transition: none;
  }
}
