@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow/barlow-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow/barlow-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow/barlow-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed/barlow-condensed-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed/barlow-condensed-600-latin.woff2") format("woff2");
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #161616;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 2rem);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

a {
  color: #161616;
  text-decoration: none;
  text-decoration-skip-ink: auto;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/**
 * Site shell, shared containers, and page spacing.
 */
:root {
  color-scheme: light;
  --nunlab-radius-md: 1.5rem;
  --nunlab-radius-lg: 1.75rem;
  --nunlab-shadow-soft: 0 1rem 2.5rem rgba(22, 22, 22, 0.05);
  --nunlab-shadow-raised: 0 1rem 2.5rem rgba(22, 22, 22, 0.08);
  --nunlab-safe-top: env(safe-area-inset-top, 0px);
  --nunlab-header-offset: calc(6.9rem + var(--nunlab-safe-top));
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fbfaf7;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body:is(.has-search-overlay, .has-mobile-menu) {
  overflow: hidden;
}

.site-shell {
  min-height: 100vh;
}

.site-main {
  display: block;
  padding: 3rem 1rem 4rem;
}

.site-main--front-page {
  padding: 0 0 4rem;
}

:is(.site-header__inner, .home-section__inner, .archive-shell, .content-shell, .site-footer__inner) {
  max-width: 1280px;
  margin-inline: auto;
}

:is(.archive-shell, .content-shell) {
  padding-top: 3rem;
}

:is(.content-shell, .content-shell--project) {
  max-width: 1280px;
}

.content-shell--narrow {
  max-width: 40rem;
}

@media (max-width: 768px) {
  :root {
    --nunlab-header-offset: calc(5.9rem + var(--nunlab-safe-top));
  }
  .site-main {
    padding-top: 2rem;
  }
  .site-main--front-page {
    padding-top: 0;
  }
}
/**
 * Header, primary navigation, and search trigger.
 */
.site-header {
  padding: 1rem 1rem 0;
  padding-top: calc(var(--nunlab-safe-top) + 1rem);
  position: sticky;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 80;
  background: rgba(251, 250, 247, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.is-homepage .site-header {
  position: fixed;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid #161616;
  transition: padding 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.site-header__inner::after {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(100% - 0.7rem);
  block-size: 1.9rem;
  background: rgba(251, 250, 247, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.42) 28%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.42) 28%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
  content: "";
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.site-header--scrolled .site-header__inner {
  padding-top: 0.3rem;
  padding-bottom: 0.85rem;
}

.site-brand__link {
  color: #161616;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}

.site-brand__asset-link {
  display: block;
  inline-size: min(9.8rem, 28vw);
}

.site-brand__asset-stack {
  display: grid;
}

.site-brand__asset {
  grid-area: 1/1;
  display: block;
  inline-size: 100%;
  block-size: auto;
  transition: opacity 0.2s ease;
}

.site-brand__asset--light {
  opacity: 0;
}

.site-brand .custom-logo-link {
  display: block;
  max-width: 10rem;
}

.site-header__aside {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-navigation__menu {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.875rem;
}

.site-navigation a {
  color: #161616;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.site-navigation :is(.current-menu-item, .current_page_item, .is-section-active) > a {
  font-weight: 600;
}

.site-navigation.has-section-current :is(.current-menu-item, .current_page_item):not(.is-section-active) > a {
  font-weight: 400;
}

.site-header__utilities {
  display: flex;
  align-items: center;
  color: #161616;
}

.site-header__menu-button,
.site-header__search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-header__menu-button {
  display: none;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  transition: background-color 0.2s ease;
}

.site-header__menu-button:hover,
.site-header__menu-button:focus-visible,
.site-header__search-button:hover,
.site-header__search-button:focus-visible {
  background: rgba(22, 22, 22, 0.05);
  outline: none;
}

.site-header__menu-icon {
  display: grid;
  gap: 0.26rem;
}

.site-header__menu-line {
  display: block;
  inline-size: 1.5rem;
  block-size: 0.2rem;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.site-header--menu-open .site-header__menu-line:nth-child(1) {
  transform: translateY(0.46rem) rotate(45deg);
}

.site-header--menu-open .site-header__menu-line:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .site-header__menu-line:nth-child(3) {
  transform: translateY(-0.46rem) rotate(-45deg);
}

.site-header__search-button {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.site-header__search-icon-stack {
  display: grid;
  inline-size: 1.15rem;
  block-size: 1.15rem;
}

.site-header__search-icon {
  grid-area: 1/1;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  transition: opacity 0.2s ease;
}

.site-header__search-icon--light {
  opacity: 0;
}

.site-header__search-icon--overlay {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.site-header__search-indicator {
  position: relative;
  display: inline-flex;
  inline-size: 0.95rem;
  block-size: 0.95rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.site-header__search-indicator::after {
  position: absolute;
  inset-inline-end: -0.2rem;
  inset-block-end: -0.18rem;
  inline-size: 0.42rem;
  block-size: 1.5px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
}

.site-header__search-indicator--large {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  border-width: 2px;
}

.site-header__search-indicator--large::after {
  inset-inline-end: -0.35rem;
  inset-block-end: -0.28rem;
  inline-size: 0.7rem;
  block-size: 2px;
}

.is-homepage .site-header:not(.site-header--surface),
.site-header--on-hero {
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.5) 0%, rgba(11, 12, 13, 0.28) 58%, rgba(11, 12, 13, 0.08) 88%, rgba(11, 12, 13, 0) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-header__inner {
  border-bottom-color: transparent;
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-header__inner::after {
  opacity: 0;
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) :is(.site-brand__link, .site-navigation a, .site-header__utilities, .site-header__menu-button, .site-header__search-button) {
  color: #ffffff;
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-brand__asset--dark,
:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-header__search-icon--dark {
  opacity: 0;
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-brand__asset--light,
:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-header__search-icon--light {
  opacity: 1;
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .custom-logo-link img {
  filter: brightness(0) invert(1);
}

:is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) :is(.site-header__menu-button, .site-header__search-button):is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .site-header__inner {
    gap: 1rem;
  }
  .site-header__aside {
    gap: 0.35rem;
  }
  .site-header__menu-button {
    display: inline-flex;
  }
  .site-navigation {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    padding: 1rem 0 1.15rem;
    border-top: 1px solid #161616;
    background: rgba(251, 250, 247, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  :is(.is-homepage .site-header:not(.site-header--surface), .site-header--on-hero) .site-navigation {
    border-top-color: transparent;
    background: rgba(11, 12, 13, 0.92);
  }
  .site-header--menu-open .site-navigation {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-header--menu-open .site-header__inner {
    border-bottom-color: transparent;
  }
  .site-header--menu-open .site-header__inner::after {
    opacity: 0;
  }
  .site-navigation__menu {
    grid-auto-flow: row;
    gap: 0.85rem;
  }
  .site-navigation a {
    display: block;
    padding: 0.1rem 0;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
  }
  .site-header__search-button {
    inline-size: 2.75rem;
    block-size: 2.75rem;
  }
}
@media (max-width: 768px) {
  .site-brand__link {
    font-size: 1.65rem;
  }
  .site-header {
    padding-top: calc(var(--nunlab-safe-top) + 0.85rem);
  }
  .site-brand__asset-link {
    inline-size: min(9rem, 44vw);
  }
}
/**
 * Footer and legal link.
 */
.site-footer {
  padding: 0 1rem 3rem;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(22, 22, 22, 0.12);
}

.site-footer__title {
  color: #161616;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}

.site-footer__description {
  max-width: 42rem;
  margin-bottom: 0;
  color: #5f5b57;
  font-size: 1rem;
  line-height: 1.8;
}

.site-footer__legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__legal-menu a {
  color: #161616;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .site-footer__title {
    font-size: 1.65rem;
  }
}
/**
 * Shared links and button-like actions.
 */
:where(.section-heading__link, .content-card__link, .project-card__link, .button-link) {
  color: #161616;
}

:is(.section-heading__link, .content-card__link, .project-card__link, .button-link) {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.button-link {
  padding: 0.9rem 1.2rem;
  border: 1px solid #161616;
}

.content-card__link {
  margin-top: auto;
  padding-top: 1rem;
}

/**
 * Shared grids and content panel treatments.
 */
:is(.content-grid, .practice-grid) {
  display: grid;
  gap: 2rem;
}

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

:is(.content-grid--search, .content-grid--projects, .content-grid--notebook) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:where(.content-card, .practice-card, .text-panel, .content-empty) {
  padding: 2rem;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: var(--nunlab-radius-md);
  background: #ffffff;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}

.content-grid--notebook .content-card {
  border-color: transparent;
  box-shadow: var(--nunlab-shadow-soft);
}

.content-card__media {
  display: block;
  margin: -2rem -2rem 2rem;
  overflow: hidden;
  border-radius: var(--nunlab-radius-md) var(--nunlab-radius-md) 0 0;
  background: #d2d2d2;
}

.content-card__image {
  display: block;
  inline-size: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.content-card__meta {
  min-block-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #5f5b57;
  font-size: 0.875rem;
}

:is(.content-card__title, .practice-card__title, .content-empty__title) {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

:is(.content-card__excerpt, .text-panel p) {
  color: #161616;
}

.content-card__excerpt,
.content-card__excerpt p,
.text-panel p {
  margin-bottom: 0;
}

:where(.practice-card, .text-panel, .content-empty) {
  min-inline-size: 0;
}

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

@media (max-width: 992px) {
  :is(.content-grid--search, .content-grid--projects, .content-grid--notebook) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  :is(.content-grid, .content-grid--search, .content-grid--projects, .content-grid--notebook, .practice-grid) {
    grid-template-columns: 1fr;
  }
}
/**
 * Shared project card building blocks.
 */
.project-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.project-card__frame,
.project-card__toggle {
  display: block;
  inline-size: 100%;
  color: #ffffff;
}

.project-card__toggle {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card__media {
  position: relative;
  display: block;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--nunlab-radius-md);
  background: #cfcfcf;
  aspect-ratio: 424/635;
  touch-action: pan-y;
}

.project-card__image,
.project-card__placeholder {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
}

.project-card__image {
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.project-card__placeholder {
  background: linear-gradient(180deg, #d4d1cd 0%, #c5c2bd 100%);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(217, 217, 217, 0) 28%, rgba(28, 29, 31, 0.12) 62%, rgba(28, 29, 31, 0.58) 100%);
}

.project-card__body {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 1;
  min-inline-size: 0;
}

.project-card__title {
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.125rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.project-card__title-line {
  display: block;
}

.project-card__title-line--primary {
  font-weight: 500;
}

.project-card__title-line--emphasis {
  font-weight: 600;
}

.project-card__excerpt {
  max-width: 24rem;
  color: rgba(251, 250, 246, 0.94);
  font-size: 0.875rem;
  line-height: 1.28;
}

.project-card__excerpt p {
  margin-bottom: 0;
}

:is(.project-card__frame:hover, .project-card__toggle:hover) .project-card__image {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .project-card__title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }
}
/**
 * Project galleries and mixed media controls.
 */
:is(.entry-media img, .project-card__media img) {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.entry-media {
  margin-bottom: 3rem;
}

.project-gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.project-gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--nunlab-radius-md);
  background: #d0d0d0;
  touch-action: pan-y;
}

.project-gallery__slide {
  position: relative;
  inline-size: 100%;
  block-size: auto;
  margin: 0;
}

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

.project-gallery__image {
  display: block;
  inline-size: 100%;
  block-size: auto;
  object-fit: contain;
}

:is(.project-gallery__video-frame, .project-card__video-frame) {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
}

:is(.project-gallery__video-frame, .project-card__video-frame, .project-gallery__video-play, .project-card__video-play)[hidden] {
  display: none !important;
}

:is(.project-gallery__video-frame, .project-card__video-frame) iframe {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  border: 0;
}

:is(.project-gallery__video-play, .project-card__video-play) {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.3);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

:is(.project-gallery__video-play, .project-card__video-play):is(:hover, :focus-visible) {
  opacity: 1;
  outline: none;
}

.project-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-gallery__button {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(22, 22, 22, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #161616;
  font-size: 0.95rem;
  cursor: pointer;
}

.project-gallery__counter {
  margin: 0;
  color: #5f5b57;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/**
 * Full-screen search layer.
 */
.search-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: clamp(6rem, 18vh, 10rem) 1rem 2rem;
  background: rgba(251, 250, 247, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.search-layer[hidden] {
  display: none;
}

.search-layer.is-visible {
  opacity: 1;
  visibility: visible;
}

.search-layer__panel {
  inline-size: min(100%, 54rem);
}

.search-layer__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.6rem;
  border: 1px solid rgba(22, 22, 22, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1.25rem 3rem rgba(22, 22, 22, 0.08);
}

.search-layer__input {
  inline-size: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #161616;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.search-layer__input::placeholder {
  color: rgba(22, 22, 22, 0.72);
}

.search-layer__input:focus {
  outline: none;
}

.search-layer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 4.5rem;
  block-size: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #161616;
  cursor: pointer;
}

.search-layer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.4rem 0;
}

.search-layer__hint,
.search-layer__close {
  color: rgba(22, 22, 22, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.search-layer__close {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-layer__close:is(:hover, :focus-visible) {
  color: #161616;
  outline: none;
}

@media (max-width: 768px) {
  .search-layer {
    padding-top: clamp(5rem, 12vh, 6.5rem);
  }
  .search-layer__form {
    padding-left: 1.15rem;
  }
  .search-layer__submit {
    inline-size: 3.5rem;
    block-size: 3.5rem;
  }
  .search-layer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/**
 * Shared archive, page, and single-entry content views.
 */
.archive-header,
.entry-header {
  margin-bottom: 3rem;
}

:is(.entry--page .entry-header, .entry--page .entry-content, .entry--single .entry-header, .entry--single .entry-content) {
  max-width: 52rem;
}

.entry--project :is(.entry-header, .entry-content) {
  max-width: none;
}

.entry--single:not(.entry--project) :is(.entry-header, .entry-content, .entry-layout) {
  max-width: none;
}

.entry--single:not(.entry--project) .entry-header {
  margin-bottom: clamp(1.35rem, 2.7vw, 1.75rem);
}

.archive-eyebrow {
  margin-bottom: 0.5rem;
  color: #5f5b57;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

:is(.archive-title, .entry-title) {
  margin-bottom: 1rem;
  color: #161616;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.entry-title--project-presentation {
  display: grid;
  gap: 0.15rem;
}

.entry-title__line {
  display: block;
}

.entry-title__line--primary {
  font-weight: 500;
}

.entry-title__line--emphasis {
  font-weight: 600;
}

:is(.archive-description, .entry-meta, .entry-lead) {
  max-width: 42rem;
  color: #5f5b57;
  font-size: 1rem;
  line-height: 1.8;
}

.entry-meta {
  font-size: 0.9rem;
}

.entry-meta--notebook {
  margin-bottom: clamp(0.65rem, 1.5vw, 1rem);
  color: #5f5b57;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.35;
}

.entry-meta--notebook .entry-date {
  display: inline-block;
}

.entry-lead {
  font-size: 1.1rem;
  margin-bottom: clamp(1.6rem, 3.2vw, 2.35rem);
}

.entry-content {
  max-width: 760px;
  color: #161616;
}

.entry--single:not(.entry--project) .archive-eyebrow {
  margin-bottom: clamp(2rem, 4.2vw, 3.25rem);
}

.entry--single:not(.entry--project) .entry-title {
  margin-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
}

.entry-layout--notebook {
  display: block;
}

.entry-layout--notebook::after {
  content: "";
  display: block;
  clear: both;
}

.entry-media--notebook {
  max-width: 100%;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.entry-media--notebook img {
  display: block;
  inline-size: 100%;
  block-size: auto;
}

.entry-content--notebook {
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.85;
  -webkit-column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
  column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
  -webkit-column-count: 1;
  column-count: 1;
}

.entry-content--notebook > * {
  margin-top: 0;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.entry-content--notebook > *:last-child {
  margin-bottom: 0;
}

.entry-content--project-editorial {
  max-width: none;
}

.entry-content--project-editorial .editorial-flow--continuous {
  max-width: min(100%, 78rem);
  column-count: 1;
  column-gap: 0;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block {
  margin: 0;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block + .editorial-flow__block {
  margin-top: clamp(1rem, 2vw, 1.35rem);
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--heading {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--heading:first-child {
  margin-top: clamp(1.25rem, 2.5vw, 1.8rem);
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--heading :is(h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--body :is(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--heading + .editorial-flow__block--body {
  margin-top: clamp(0.45rem, 1vw, 0.65rem);
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--body > * + * {
  margin-top: clamp(0.95rem, 1.8vw, 1.3rem);
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image, figure) {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image img, figure img) {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 1rem;
}

.entry-content--project-editorial .editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image figcaption, figure figcaption) {
  margin-top: 0.55rem;
  color: #5f5b57;
  font-size: 0.9rem;
  line-height: 1.5;
}

.entry-content--project-editorial .editorial-flow--continuous strong {
  font-weight: 600;
}

.entry-content > * + * {
  margin-top: 2rem;
}

.entry-content p {
  margin-bottom: 0;
}

.posts-navigation {
  margin-top: 3rem;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.error-404 {
  padding-top: 4rem;
  text-align: center;
}

@media (max-width: 768px) {
  :is(.archive-title, .entry-title) {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}
@media (min-width: 576px) {
  .entry-content--notebook {
    -webkit-column-count: 2;
    column-count: 2;
  }
}
@media (min-width: 992px) {
  .entry-content--notebook {
    -webkit-column-count: 3;
    column-count: 3;
  }
}
/**
 * Standalone work archive page.
 */
.site-main--work-archive {
  padding-top: 1.5rem;
}

.work-archive {
  max-width: 1368px;
  margin-inline: auto;
}

.work-archive__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.75rem;
}

.work-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(28, 29, 31, 0.8);
  border-radius: 0.5rem;
  background: #fbfaf7;
  color: #161616;
  font-size: 0.875rem;
  line-height: 1.42;
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.08);
}

.work-filter__chevron {
  display: inline-block;
  inline-size: 0.55rem;
  block-size: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.08rem);
}

.work-section + .work-section {
  margin-top: 3.5rem;
}

.work-section__title {
  margin: 0 0 0.875rem;
  color: #161616;
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(4rem, 8vw, 6.25rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

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

.work-archive__line {
  margin-top: 6.75rem;
  border-top: 1px solid rgba(28, 29, 31, 0.32);
}

@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .work-archive__toolbar {
    justify-content: flex-start;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-archive__line {
    margin-top: 4rem;
  }
}
/**
 * Front Page Section Styles
 *
 * @package nunlab-theme
 */
.home-section {
  padding: 3rem 0;
  scroll-margin-top: calc(var(--nunlab-header-offset) + 1.75rem);
}

.home-section__inner {
  padding-inline: 1rem;
}

.home-section--hero {
  min-block-size: 180svh;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  color: #ffffff;
  background: #1a1d1e;
}

.hero-stage {
  position: relative;
  --hero-progress: 0;
}

.hero-stage__pin {
  position: sticky;
  inset-block-start: 0;
  display: flex;
  align-items: flex-end;
  min-block-size: 100svh;
  padding-top: var(--nunlab-header-offset);
  overflow: clip;
  isolation: isolate;
}

.hero-stage__media {
  position: absolute;
  inset: 0;
  background: #1a1d1e;
}

.hero-stage__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.26) 0%, rgba(11, 12, 13, 0.1) 24%, rgba(11, 12, 13, 0.12) 54%, rgba(11, 12, 13, 0.44) 100%), linear-gradient(90deg, rgba(11, 12, 13, 0.14) 0%, rgba(11, 12, 13, 0) 24%, rgba(11, 12, 13, 0) 76%, rgba(11, 12, 13, 0.1) 100%);
  opacity: calc(1 - var(--hero-progress) * 0.32);
}

.hero-stage :is(.hero-stage__video, .hero-stage__poster, .hero-stage__sequence) {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(0) contrast(1.03) brightness(calc(0.4 + var(--hero-progress) * 0.08));
  transform: scale(calc(1.035 - var(--hero-progress, 0) * 0.035));
  transform-origin: center center;
}

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

.hero-stage--sequence .hero-stage__video {
  display: none;
}

.hero-block {
  max-width: 920px;
}

.hero-block--stage {
  position: relative;
  z-index: 1;
  padding-block: clamp(7.25rem, 12vh, 10rem) clamp(5rem, 13vh, 8rem);
  opacity: clamp(0.03, 1.02 - var(--hero-progress) * 1.18, 1);
  transform: translateY(calc(var(--hero-progress) * -4rem));
  transition: opacity 0.12s linear, transform 0.12s linear;
}

.hero-block__title {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.96;
  color: #ffffff;
  text-shadow: 0 0.08rem 1.25rem rgba(0, 0, 0, 0.28);
}

.hero-block__intro {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-block--stage .button-link {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-block--stage .button-link:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.14);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading__title {
  max-width: 40rem;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.work-directory {
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.5rem);
}

.home-section :is(.practice-card, .text-panel) {
  border: 0;
  box-shadow: var(--nunlab-shadow-soft);
}

.home-section--work {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nunlab-header-offset) + 2rem);
  background: #fbfaf7;
}

.home-section--about .section-heading,
.home-section--manifesto .section-heading {
  margin-bottom: 1rem;
}

.home-section--about .home-section__inner {
  margin-top: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(22, 22, 22, 0.12);
}

.home-section :is(.text-panel--about, .text-panel--manifesto) {
  display: grid;
  gap: clamp(1.25rem, 2.8vw, 2rem);
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.text-panel--about .text-panel__lead,
.text-panel--manifesto .text-panel__lead {
  max-width: 54rem;
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.editorial-flow {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.editorial-section {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.editorial-section__heading :is(h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.editorial-section__columns {
  column-count: 3;
  column-gap: clamp(1.5rem, 3vw, 3rem);
}

.editorial-section__heading--continuous {
  margin-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
}

.editorial-section__columns--flow {
  column-count: 3;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  column-fill: balance;
}

.editorial-section__columns--flow > * {
  margin-top: 0;
  margin-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
  break-inside: auto;
  -webkit-column-break-inside: auto;
}

.editorial-section__columns--flow > *:last-child {
  margin-bottom: 0;
}

.editorial-section__columns--flow :is(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
}

.editorial-section__columns--flow :is(p, ul, ol, blockquote):last-child {
  margin-bottom: 0;
}

.editorial-section__block {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.editorial-section__block > * {
  margin-top: 0;
  margin-bottom: 0;
}

.editorial-section__block :is(.wp-block-image, figure),
.editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image, figure) {
  margin: 0;
}

.editorial-section__block :is(.wp-block-image img, figure img),
.editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image img, figure img) {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 1rem;
}

.editorial-section__block :is(.wp-block-image figcaption, figure figcaption),
.editorial-flow--continuous .editorial-flow__block--body :is(.wp-block-image figcaption, figure figcaption) {
  margin-top: 0.55rem;
  color: #5f5b57;
  font-size: 0.9rem;
  line-height: 1.5;
}

.editorial-flow--continuous {
  column-count: 3;
  column-gap: clamp(1.5rem, 3vw, 3rem);
}

.editorial-flow--continuous .editorial-flow__block {
  break-inside: auto;
  -webkit-column-break-inside: auto;
  margin: 0 0 clamp(0.9rem, 1.8vw, 1.25rem);
}

.editorial-flow--continuous .editorial-flow__block:last-child {
  margin-bottom: 0;
}

.editorial-flow--continuous .editorial-flow__block--heading {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  column-span: all;
  -webkit-column-span: all;
}

.editorial-flow--continuous .editorial-flow__block--heading:first-child {
  margin-top: 0;
}

.editorial-flow--continuous .editorial-flow__block--heading :is(h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.editorial-flow--continuous .editorial-flow__block--body > * {
  margin-top: 0;
  margin-bottom: 0;
}

.work-directory__group {
  padding-top: 0.5rem;
}

.work-directory__group-header {
  margin-bottom: clamp(1.15rem, 2.3vw, 1.9rem);
}

.work-directory__title {
  margin: 0;
  color: #161616;
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.45rem, 8.8vw, 5.7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.work-directory__empty {
  margin: 0;
  padding: 2rem 0 0;
  color: #5f5b57;
  font-size: 1rem;
  line-height: 1.8;
}

.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.project-card--directory {
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.project-card--directory.is-active {
  grid-column: 1/-1;
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: var(--nunlab-radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--nunlab-shadow-raised);
}

.project-card__frame--toggle {
  position: relative;
  display: block;
  width: 100%;
}

.project-card--directory .project-card__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 0;
}

.project-card--directory .project-card__toggle:focus-visible {
  outline: 2px solid rgba(22, 22, 22, 0.6);
  outline-offset: 0.3rem;
}

.project-card--directory .project-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--nunlab-radius-md);
  background: #d3d3d3;
  aspect-ratio: 4/5;
  margin-bottom: 0;
}

.project-card__media-nav[hidden],
.project-card__expand[hidden] {
  display: none !important;
}

.project-card--directory:not(.is-active) .project-card__video-play {
  display: none !important;
}

.project-card--directory .project-card__image,
.project-card--directory .project-card__placeholder {
  height: 100%;
}

.project-card--directory .project-card__overlay {
  opacity: 0.72;
  transition: opacity 0.3s ease-in-out;
}

.project-card--directory .project-card__toggle:hover .project-card__overlay {
  opacity: 0.94;
}

.project-card--directory .project-card__toggle:hover .project-card__image,
.project-card--directory.is-active .project-card__image {
  transform: scale(1.03);
}

.project-card--directory.is-active .project-card__overlay,
.project-card--directory.is-active .project-card__body {
  opacity: 0;
  pointer-events: none;
}

.project-card--directory.is-active .project-card__media {
  aspect-ratio: auto;
  border-radius: var(--nunlab-radius-lg) var(--nunlab-radius-lg) 0 0;
}

.project-card--directory.is-active .project-card__image,
.project-card--directory.is-active .project-card__placeholder {
  position: relative;
  display: block;
  inline-size: 100%;
  block-size: auto;
}

.project-card--directory.is-active .project-card__image {
  object-fit: contain;
  transform: none;
}

.project-card--directory.is-active .project-card__placeholder {
  min-block-size: min(70svh, 42rem);
}

.project-card--directory.is-active .project-card__video-frame {
  position: absolute;
  inset: 0;
}

.project-card__media-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.project-card--directory.is-active .project-card__media-nav {
  opacity: 1;
  pointer-events: auto;
}

.project-card__expand {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem) clamp(1.15rem, 2.5vw, 1.65rem) clamp(1.25rem, 2.8vw, 1.8rem);
  animation: work-detail-reveal 0.24s ease;
}

.project-card__expand-arrow,
.project-card__expand-counter {
  color: #ffffff;
}

.project-card__expand-arrow {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.project-card__expand-counter {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.project-card__expand-body {
  display: grid;
  gap: 1.1rem;
  min-inline-size: 0;
}

.project-card__expand-title {
  margin: 0;
  display: grid;
  gap: 0.15rem;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.project-card__expand-title-line {
  display: block;
}

.project-card__expand-title-line--primary {
  font-weight: 500;
}

.project-card__expand-title-line--emphasis {
  font-weight: 600;
}

.project-card__expand-subtitle {
  max-width: min(100%, 72rem);
  margin: 0 0 clamp(0.45rem, 1vw, 0.8rem);
  color: #5f5b57;
  font-size: clamp(1.12rem, 1.7vw, 1.55rem);
  font-weight: 400;
  line-height: 1.48;
}

.project-card__expand-content {
  color: #5f5b57;
}

.project-card__expand-content .editorial-copy--columns {
  column-count: 3;
  column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
  column-fill: balance;
}

.project-card__expand-content .editorial-copy--columns > * {
  margin-top: 0;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.15rem);
  break-inside: auto;
  -webkit-column-break-inside: auto;
}

.project-card__expand-content .editorial-copy--columns > *:last-child {
  margin-bottom: 0;
}

.project-card__expand-content .editorial-copy--columns :is(h2, h3, h4, h5, h6) {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  break-after: avoid-column;
  -webkit-column-break-after: avoid;
}

.project-card__expand-content .editorial-copy--columns strong {
  font-weight: 600;
}

.project-card__expand-content .editorial-flow {
  gap: clamp(1.6rem, 3vw, 2.25rem);
}

.project-card__expand-content .editorial-section {
  gap: clamp(0.9rem, 2vw, 1.3rem);
}

.project-card__expand-content .editorial-section__heading :is(h2, h3, h4, h5, h6) {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.project-card__expand-content .editorial-section__columns {
  column-count: 3;
  column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
}

.project-card__expand-content .editorial-section__columns--flow {
  column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
}

.project-card__expand-content .editorial-section__columns--flow > * {
  margin-bottom: clamp(0.8rem, 1.6vw, 1.15rem);
}

.project-card__expand-content .editorial-section__columns--flow > *:last-child {
  margin-bottom: 0;
}

.project-card__expand-content .editorial-section__block {
  margin-bottom: clamp(0.9rem, 1.8vw, 1.3rem);
}

.project-card__expand-content .editorial-section__block > * {
  color: inherit;
}

.project-card__expand-content .editorial-flow--continuous {
  max-width: min(100%, 72rem);
  display: block;
  column-count: 3;
  column-gap: clamp(1.4rem, 2.8vw, 2.5rem);
  column-fill: balance;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block {
  margin: 0 0 clamp(0.9rem, 1.8vw, 1.25rem);
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block:last-child {
  margin-bottom: 0;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block--heading {
  margin-top: clamp(1rem, 2vw, 1.45rem);
  margin-bottom: 0;
  column-span: none;
  -webkit-column-span: none;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block--heading:first-child {
  margin-top: 0;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block--heading :is(h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block--body :is(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.project-card__expand-content .editorial-flow--continuous .editorial-flow__block--heading + .editorial-flow__block--body {
  margin-top: clamp(0.25rem, 0.55vw, 0.4rem);
}

.project-card__expand-content .editorial-flow--continuous strong {
  font-weight: 600;
}

.project-card__expand-content :is(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.project-card__expand-content strong {
  font-weight: 600;
}

.project-card__expand-fallback p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

@keyframes work-detail-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .section-heading__title {
    max-width: 34rem;
  }
  .work-directory__title {
    font-size: clamp(3.15rem, 8.4vw, 4.9rem);
  }
  .work-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editorial-section__columns {
    column-count: 2;
  }
  .editorial-flow--continuous {
    column-count: 2;
  }
  .project-card__expand-content .editorial-section__columns {
    column-count: 2;
  }
  .project-card__expand-content .editorial-copy--columns {
    column-count: 2;
  }
  .project-card__expand-content .editorial-flow--continuous {
    column-count: 2;
  }
  .editorial-section__columns--flow {
    column-count: 2;
  }
  .project-card__expand-content .editorial-section__columns--flow {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .home-section--hero {
    min-block-size: 150svh;
  }
  .hero-block__title {
    font-size: clamp(2.6rem, 14vw, 4.25rem);
  }
  .hero-block--stage {
    padding-block-start: clamp(6.5rem, 11vh, 7.5rem);
    padding-block-end: 4rem;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-preview-grid {
    grid-template-columns: 1fr;
  }
  .home-section--about .home-section__inner {
    margin-top: 1rem;
    padding-top: 2rem;
  }
  .editorial-section__columns {
    column-count: 1;
    column-gap: 0;
  }
  .editorial-flow--continuous {
    column-count: 1;
    column-gap: 0;
  }
  .project-card__expand-content .editorial-section__columns {
    column-count: 1;
    column-gap: 0;
  }
  .project-card__expand-content .editorial-copy--columns {
    column-count: 1;
    column-gap: 0;
  }
  .project-card__expand-content .editorial-flow--continuous {
    column-count: 1;
    column-gap: 0;
  }
  .editorial-section__columns--flow {
    column-count: 1;
    column-gap: 0;
  }
  .project-card__expand-content .editorial-section__columns--flow {
    column-count: 1;
    column-gap: 0;
  }
  .work-directory__title {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }
  .project-card--directory.is-active {
    border-radius: 1.35rem;
  }
  .project-card__media-nav {
    top: 0.8rem;
    right: 0.8rem;
    left: 0.8rem;
  }
  .project-card__expand-arrow {
    padding: 0.45rem 0.7rem;
    font-size: 0.9rem;
  }
}
