/* Home 2 — editorial portfolio (Rachel-style)
 * Soft grey field · two typefaces only
 * Newsreader = display · Switzer = UI / body / meta
 */

html.test-fold-scroll {
  --h2-bg: #f7f7f7;
  --h2-dot: rgba(16, 16, 16, 0.06);
  --h2-dot-size: 1px;
  --h2-dot-gap: 24px;
  --h2-bg-pattern: radial-gradient(
    circle,
    var(--h2-dot) var(--h2-dot-size),
    transparent var(--h2-dot-size)
  );
  --h2-soft: #efefef;
  --h2-soft-2: #e8e8e8;
  --h2-ink: #1a1a1a;
  --h2-muted: #6b6b6b;
  --h2-muted-2: #9a9a9a;
  --h2-accent: #2e69ff;
  --h2-line: rgba(16, 16, 16, 0.1);
  --h2-surface: #ffffff;
  --h2-shadow-pill: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --h2-radius: 24px;
  --h2-pill: 999px;
  --h2-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --h2-body: var(--font-switzer), "Switzer", system-ui, sans-serif;
  /* Shared display size: hero · Research · Shayla Singh (+2px) */
  --h2-title-size: clamp(calc(2.15rem + 2px), calc(4.2vw + 2px), calc(3.35rem + 2px));
  /* Nav→hero (+ section) pad — +25% on prior 8.25/18vh/10.5 */
  --h2-space-lg: clamp(10.3125rem, 22.5vh, 13.125rem);
}

html.test-fold-scroll,
html.test-fold-scroll body {
  background-color: var(--h2-bg) !important;
  background-image: var(--h2-bg-pattern) !important;
  background-size: var(--h2-dot-gap) var(--h2-dot-gap) !important;
  background-position: 0 0 !important;
  background-attachment: fixed !important;
  color: var(--h2-ink);
  overflow-x: clip;
}

html.test-fold-scroll .test-fold-scene,
.test-fold-scene.test-fold-scroll,
html.test-fold-scroll .test-fold-second,
html.test-fold-scroll .test-page-fold,
html.test-fold-scroll .test-fold-projects,
html.test-fold-scroll .test-fold-research,
html.test-fold-scroll .test-fold-about,
html.test-fold-scroll.test-fold-dark,
html.test-fold-scroll.test-fold-dark body,
html.test-fold-scroll.test-fold-dark .test-fold-scene {
  background-color: transparent !important;
  background-image: none !important;
  color: var(--h2-ink);
}

/* —— First fold —— */
html.test-fold-scroll .test-page-fold {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.75rem, 3.5vh, 2.5rem);
  min-height: 0;
  padding-top: clamp(7.5rem, 14vh, 9.5rem);
  padding-bottom: clamp(1rem, 2.5vh, 1.75rem);
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  overflow: hidden;
  background: transparent;
}

/* Hero — serif intro left, experience list right */
html.test-fold-scroll .home2-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  flex-shrink: 0;
}

html.test-fold-scroll .home2-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  align-self: end;
  padding-top: 0;
}

html.test-fold-scroll .home2-hero-right.test-page-hero-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  max-width: 34rem;
  margin: 0 0 0 auto !important;
  padding: 0;
  align-self: end;
  text-align: left !important;
}

html.test-fold-scroll .home2-hero-right.test-page-hero-block,
html.test-fold-scroll .home2-hero-right.test-page-hero-block * {
  text-align: left !important;
}

html.test-fold-scroll .home2-intro.test-hero-lockup {
  position: relative;
  margin: 0;
  width: auto;
  max-width: 18ch;
  color: var(--h2-ink) !important;
  -webkit-text-fill-color: var(--h2-ink) !important;
  font-family: var(--h2-display) !important;
  font-size: var(--h2-title-size) !important;
  font-weight: 400 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  text-align: left;
  text-shadow: none;
  text-wrap: balance;
  padding-top: 0;
}

html.test-fold-scroll .home2-intro-em {
  font-style: italic;
  font-weight: 400;
}

html.test-fold-scroll .home2-snapshot {
  margin: 0;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-top: 0;
}

html.test-fold-scroll .home2-snapshot-line {
  margin: 0;
  color: var(--h2-muted);
  font-family: var(--h2-body);
  font-size: clamp(calc(0.875rem + 2px), calc(1.05vw + 2px), calc(1rem + 2px));
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-wrap: pretty;
}

html.test-fold-scroll .home2-tagline {
  margin: 0;
  color: var(--h2-ink);
  font-family: var(--h2-body);
  font-size: clamp(calc(1rem + 2px), calc(1.4vw + 2px), calc(1.125rem + 2px));
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

html.test-fold-scroll .home2-body {
  margin: 0;
  max-width: 32rem;
  color: var(--h2-muted);
  font-family: var(--h2-body);
  font-size: clamp(calc(0.9375rem + 2px), calc(1.2vw + 2px), calc(1.0625rem + 2px));
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-wrap: pretty;
}

html.test-fold-scroll .home2-about-support {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  color: var(--h2-muted-2);
  font-family: var(--h2-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

/* Stats — calm definition row in About */
html.test-fold-scroll .home2-stats {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin: clamp(1.75rem, 3.5vh, 2.5rem) 0 0;
  padding: clamp(1.35rem, 3vh, 1.85rem) 0 0;
  border-top: 1px solid var(--h2-line);
}

html.test-fold-scroll .home2-stats--about {
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}

html.test-fold-scroll .home2-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0 clamp(1.25rem, 2.5vw, 2rem);
  margin: 0;
}

html.test-fold-scroll .home2-stat:first-child {
  padding-left: 0;
}

html.test-fold-scroll .home2-stat:not(:first-child) {
  border-left: 1px solid var(--h2-line);
}

html.test-fold-scroll .home2-stat:last-child {
  padding-right: 0;
}

html.test-fold-scroll .home2-stat-label {
  margin: 0;
  color: var(--h2-muted-2);
  font-family: var(--h2-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.35;
  text-transform: none;
}

html.test-fold-scroll .home2-stat-value {
  margin: 0;
  order: -1;
  color: var(--h2-ink);
  font-family: var(--h2-body);
  font-size: calc(1.0625rem + 4px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

html.test-fold-scroll .home2-stat-value--text {
  font-size: calc(1.0625rem + 4px);
}

/* Hidden rule — GSAP still animates it */
html.test-fold-scroll .home2-rule.test-hero-rule {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soft grey feature stage — static cover image */
html.test-fold-scroll .home2-stage {
  position: relative;
  z-index: 2;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: var(--h2-radius);
  background: var(--h2-soft);
  min-height: clamp(16rem, 38vh, 26rem);
  height: clamp(16rem, 38vh, 26rem);
}

html.test-fold-scroll .home2-stage-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Intro animations */
.test-fold-scene.test-fold-scroll .test-hero-lockup,
.test-fold-scene.test-fold-scroll .test-page-hero-block {
  opacity: 0;
}

.test-fold-scene.test-fold-scroll .home2-stage {
  opacity: 0;
  transform: translateY(16px);
  animation: home2-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes home2-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Shared section system (Work / Research / About)
   Same rhythm, soft modules, titles, and surfaces as the hero
   ========================================================= */

html.test-fold-scroll .test-fold-second {
  background: transparent !important;
  gap: 0;
}

html.test-fold-scroll .test-fold-projects,
html.test-fold-scroll .test-fold-research {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-top: clamp(2.5rem, 6vh, 4rem);
  padding-bottom: 0;
  /* Match Header Container side inset */
  padding-left: var(--page-padding) !important;
  padding-right: var(--page-padding) !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--h2-ink);
  border-top: 0;
  scroll-margin-top: 4.125rem;
}

html.test-fold-scroll .test-fold-projects {
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
}

/* Work→Research: +25% over prior 0.5; Research→About stays matched to old gap */
html.test-fold-scroll .test-fold-research {
  padding-top: calc(var(--h2-space-lg) * 0.625);
}

html.test-fold-scroll .test-fold-about {
  padding-top: calc(var(--h2-space-lg) * 0.1);
}

html.test-fold-scroll .test-fold-about {
  --h2-about-bg: transparent;
  --h2-about-ink: var(--h2-ink);
  --h2-about-muted: var(--h2-muted);
  --h2-about-muted-2: var(--h2-muted-2);
  --h2-about-line: var(--h2-line);
  --h2-about-dot: var(--h2-dot);
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: calc(var(--h2-space-lg) * 0.1);
  padding-bottom: var(--h2-space-lg);
  padding-left: var(--page-padding) !important;
  padding-right: var(--page-padding) !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--h2-about-ink);
  border-top: 0;
  scroll-margin-top: 4.125rem;
}

/* Shared section title type — Newsreader only */
html.test-fold-scroll .home2-section-lockup,
html.test-fold-scroll .home2-section-lockup-word,
html.test-fold-scroll .research-archive-lockup,
html.test-fold-scroll .research-archive-lockup-word,
html.test-fold-scroll .test-fold-about-name {
  font-family: var(--h2-display) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  color: var(--h2-ink) !important;
  -webkit-text-fill-color: currentColor;
  background: none !important;
  -webkit-background-clip: initial;
  background-clip: initial;
}

html.test-fold-scroll .test-fold-about-name {
  font-size: var(--h2-title-size) !important;
}

/* Work + Research section titles */
html.test-fold-scroll .home2-section-lockup,
html.test-fold-scroll .home2-section-lockup-word,
html.test-fold-scroll .research-archive-lockup,
html.test-fold-scroll .research-archive-lockup-word {
  font-family: var(--h2-display) !important;
  font-size: var(--h2-title-size) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}

html.test-fold-scroll .home2-section-lockup,
html.test-fold-scroll .research-archive-lockup {
  display: flex !important;
  align-items: center;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto clamp(1rem, 2vh, 1.35rem) !important;
  padding: 0;
}

/* Work title → cards: +50% space */
html.test-fold-scroll .home2-section-lockup {
  margin-bottom: clamp(1.5rem, 3vh, 2.025rem) !important;
}

html.test-fold-scroll .test-fold-about-name {
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.35rem, 1vh, 0.6rem) !important;
  padding: 0;
}

html.test-fold-scroll .home2-section-lockup-word,
html.test-fold-scroll .research-archive-lockup-word {
  flex: 0 0 auto;
}

/* Soft grey modules — same language as .home2-stage */
html.test-fold-scroll .glass-project-grid,
html.test-fold-scroll .research-archive,
html.test-fold-scroll .test-fold-about-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* —— Caption project grid (Rachel-style) ——
 * 2-col · image on top · serif title + uppercase meta below
 */
html.test-fold-scroll .glass-project-grid--caption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.25rem, 4vw, 3.25rem) clamp(1.25rem, 2.5vw, 2rem);
}

html.test-fold-scroll .glass-project-card--caption {
  background: transparent;
  border: 0;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  overflow: visible;
  transition: none;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-link:hover,
html.test-fold-scroll
  .glass-project-card--caption
  .glass-project-card-link:focus-visible {
  opacity: 1;
  transform: none;
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-media {
  position: relative;
  border-radius: 0;
  background: var(--h2-soft);
  border: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}

html.test-fold-scroll
  .glass-project-card--caption
  .glass-project-card-link:hover
  .glass-project-card-img:not(.glass-project-card-img--hover),
html.test-fold-scroll
  .glass-project-card--caption
  .glass-project-card-link:focus-visible
  .glass-project-card-img:not(.glass-project-card-img--hover) {
  transform: scale(1.015);
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-gradient {
  display: none;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-tags {
  display: flex;
  position: absolute;
  left: auto;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  pointer-events: none;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-badge {
  display: inline-flex !important;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.5rem !important;
  border: 0 !important;
  border-radius: 0.25rem !important;
  background: rgba(16, 16, 16, 0.55) !important;
  color: #ffffff !important;
  font-family: var(--h2-body) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 0.935rem;
  padding: 0 0.75rem 0.55rem;
  width: 100%;
  border-bottom: 0;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
}

html.test-fold-scroll
  .glass-project-card--caption
  .glass-project-card-link:hover
  .glass-project-card-caption,
html.test-fold-scroll
  .glass-project-card--caption
  .glass-project-card-link:focus-visible
  .glass-project-card-caption {
  border-bottom: 0;
  /* Soft shadow under the caption — no hard line */
  box-shadow: 0 10px 12px -10px rgba(16, 16, 16, 0.35);
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-title {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--h2-ink);
  font-family: var(--h2-body) !important;
  font-size: clamp(calc(0.9375rem + 2px), calc(1.15vw + 2px), calc(1.125rem + 2px));
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: left;
  text-wrap: pretty;
}

html.test-fold-scroll .glass-project-card--caption .glass-project-card-caption-meta {
  margin: 0;
  flex: 0 1 auto;
  max-width: 46%;
  color: var(--h2-muted);
  font-family: var(--h2-body);
  font-size: clamp(calc(0.9375rem + 2px), calc(1.15vw + 2px), calc(1.125rem + 2px));
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: right;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.test-fold-scroll .glass-project-card--caption::after {
  content: none !important;
  display: none !important;
}

/* —— Work rows: iOS-style card surface each (legacy row layout) ——
 * Hierarchy: title → tags → client/outcomes on card
 */
html.test-fold-scroll .glass-project-grid--row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

html.test-fold-scroll .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption) {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

html.test-fold-scroll .glass-project-card--row {
  border-top: 0;
  background: transparent;
}

html.test-fold-scroll .glass-project-card--row:last-child {
  border-bottom: 0;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.19fr) minmax(15rem, 0.95fr);
  column-gap: clamp(2.125rem, 5.1vw, 3.825rem);
  align-items: stretch;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 1.375rem;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: var(--h2-surface);
  box-shadow:
    0 1px 2px rgba(16, 16, 16, 0.04),
    0 8px 24px rgba(16, 16, 16, 0.06);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-link:hover,
html.test-fold-scroll
  .glass-project-card--row
  .glass-project-card-link:focus-visible {
  border-color: rgba(16, 16, 16, 0.1) !important;
  background: var(--h2-surface);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(16, 16, 16, 0.04),
    0 14px 36px rgba(16, 16, 16, 0.1);
  opacity: 1;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-media {
  border-radius: 1rem;
  background: var(--h2-soft);
  border: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  order: -1;
}

html.test-fold-scroll
  .glass-project-card--row
  .glass-project-card-link:hover
  .glass-project-card-img:not(.glass-project-card-img--hover),
html.test-fold-scroll
  .glass-project-card--row
  .glass-project-card-link:focus-visible
  .glass-project-card-img:not(.glass-project-card-img--hover) {
  transform: scale(1.02);
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-copy {
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: start;
  align-self: stretch;
  gap: 0;
  min-width: 0;
  max-width: none;
  min-height: 100%;
  height: 100%;
  padding: 0.35rem 0.35rem 0.35rem 0;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 0;
  min-width: 0;
  width: 100%;
}

/* 1 — Title leads */
html.test-fold-scroll .glass-project-card--row .glass-project-card-title {
  margin: 0 !important;
  max-width: none;
  color: var(--h2-ink);
  font-family: var(--h2-display) !important;
  font-size: clamp(calc(1.375rem + 4px), calc(1.85vw + 4px), calc(1.75rem + 4px));
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
  white-space: pre-line;
}

/* Tags directly under title — match research archive tags */
html.test-fold-scroll .glass-project-card--row .glass-project-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  position: static;
  inset: auto;
  padding: 0;
  pointer-events: none;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-badge {
  display: inline-flex !important;
  align-items: center;
  margin: 0;
  padding: 0.3rem 0.7rem !important;
  border: 0 !important;
  border-radius: 0.25rem !important;
  background: var(--h2-soft-2) !important;
  color: var(--h2-ink) !important;
  font-family: var(--h2-body) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Client + stats: top aligns to vertical middle of image */
html.test-fold-scroll .glass-project-card--row .glass-project-card-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 0;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0 0 1rem !important;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-client {
  margin: 0;
  color: var(--h2-ink);
  font-family: var(--h2-body);
  font-size: clamp(calc(0.9375rem + 2px), calc(1vw + 2px), calc(1.0625rem + 2px));
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-focus {
  margin: 0;
  color: var(--h2-muted);
  font-family: var(--h2-body);
  font-size: clamp(calc(0.8125rem + 2px), calc(0.9vw + 2px), calc(0.875rem + 2px));
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* 3 — Outcomes as paired metrics */
html.test-fold-scroll .glass-project-card--row .glass-project-card-outcomes {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  width: 100%;
  border-top: 1px solid var(--h2-line);
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  min-width: 0;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-outcome-value {
  margin: 0;
  color: var(--h2-ink);
  font-family: var(--h2-body);
  font-size: calc(1.0625rem + 4px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-outcome-label {
  margin: 0;
  color: var(--h2-muted-2);
  font-family: var(--h2-body);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

html.test-fold-scroll .glass-project-card--row .glass-project-card-gradient {
  display: none;
}

html.test-fold-scroll
  .glass-project-card--row
  .glass-project-card-link:hover
  .glass-project-card-title,
html.test-fold-scroll
  .glass-project-card--row
  .glass-project-card-link:focus-visible
  .glass-project-card-title {
  color: var(--h2-ink);
  opacity: 1;
}

html.test-fold-scroll .glass-project-card--row::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  html.test-fold-scroll .glass-project-card--row .glass-project-card-link {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1rem;
    align-items: start;
    padding: 0.9rem;
    border-radius: 1.25rem;
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-copy {
    max-width: none;
    padding: 0.15rem 0.25rem 0.35rem;
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-title {
    font-size: clamp(calc(1.25rem + 4px), calc(5.5vw + 4px), calc(1.5rem + 4px));
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-copy {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-foot {
    margin-top: 1.5rem;
    padding-top: 0;
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-meta {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  html.test-fold-scroll .glass-project-card--row .glass-project-card-media {
    order: -1;
    aspect-ratio: 16 / 9;
    border-radius: 0.9rem;
  }
}

/* Legacy card styles kept for non-row fallbacks */
html.test-fold-scroll .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.375rem 2.25rem;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-link {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
  box-shadow: none;
  overflow: visible;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-body {
  order: unset;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
  padding: 0.5rem 0 0.85rem;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-link:hover,
html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-link:focus-visible {
  border-color: transparent !important;
  border-bottom-color: rgba(16, 16, 16, 0.45) !important;
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 10px -10px rgba(16, 16, 16, 0.28);
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-media {
  border-radius: 1rem;
  background: var(--h2-soft);
  border: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  order: unset;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-tags {
  display: none;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-gradient {
  display: none;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--h2-ink);
  font-family: var(--h2-body);
  font-size: clamp(1.3125rem, 1.4vw, 1.4375rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: left;
}

html.test-fold-scroll .glass-project-card-desc {
  display: none !important;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-link:hover
  .glass-project-card-title,
html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card-link:focus-visible
  .glass-project-card-title {
  color: var(--h2-ink);
  opacity: 1;
}

html.test-fold-scroll
  .glass-project-grid:not(.glass-project-grid--row):not(.glass-project-grid--caption)
  .glass-project-card::after {
  content: none !important;
  display: none !important;
}

/* —— Research —— */
html.test-fold-scroll .research-archive-lockup-word {
  font-family: var(--h2-display) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

html.test-fold-scroll .research-archive-rule {
  display: none !important;
}

html.test-fold-scroll .research-archive-columns {
  gap: var(--page-padding);
}

html.test-fold-scroll .research-archive-list {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

html.test-fold-scroll .research-archive-item {
  border-color: rgba(16, 16, 16, 0.14) !important;
}

/* Desktop: no trailing rule under each column's last item */
html.test-fold-scroll .research-archive-item:last-child {
  border-bottom: 0 !important;
}

html.test-fold-scroll .research-archive-row {
  padding: 1.725rem 0 !important;
}

html.test-fold-scroll .research-archive-name,
html.test-fold-scroll .research-archive-index {
  color: var(--h2-ink) !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
}

html.test-fold-scroll .research-archive-name {
  font-family: var(--h2-body) !important;
  font-size: clamp(1.5rem, 1.4vw, 1.625rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.3 !important;
}

html.test-fold-scroll .research-archive-index {
  font-family: var(--h2-body) !important;
  font-size: 0.875rem !important;
  color: var(--h2-muted-2) !important;
  font-weight: 500 !important;
}

html.test-fold-scroll .research-archive-meta,
html.test-fold-scroll .research-archive-arrow {
  color: var(--h2-muted) !important;
  font-family: var(--h2-body) !important;
}

html.test-fold-scroll .research-archive-item:hover .research-archive-name,
html.test-fold-scroll .research-archive-item.is-open .research-archive-name {
  color: var(--h2-ink) !important;
  opacity: 1;
}

html.test-fold-scroll .research-archive-item:hover .research-archive-external,
html.test-fold-scroll .research-archive-item.is-open .research-archive-external {
  color: var(--h2-accent) !important;
  opacity: 1;
}

html.test-fold-scroll .research-archive-panel-inner {
  background: transparent;
  align-items: start !important;
}

html.test-fold-scroll .research-archive-copy {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  height: auto;
  min-height: 0;
  padding-top: 0 !important;
}

html.test-fold-scroll .research-archive-desc {
  order: 1;
  color: var(--h2-ink) !important;
  font-family: var(--h2-body) !important;
}

html.test-fold-scroll .research-archive-tag {
  order: 2;
  margin-top: 0 !important;
  display: inline-flex !important;
  align-items: center;
  padding: 0.3rem 0.7rem !important;
  border: 0 !important;
  border-radius: 0.25rem !important;
  background: var(--h2-ink) !important;
  color: #ffffff !important;
  font-family: var(--h2-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.test-fold-scroll .research-archive-item:hover .research-archive-tag,
html.test-fold-scroll .research-archive-item.is-open .research-archive-tag {
  background: var(--h2-ink) !important;
  color: #ffffff !important;
}

html.test-fold-scroll .research-archive-media {
  border-radius: 1rem !important;
  border: 0;
  overflow: hidden;
  background: var(--h2-soft);
}

/* —— About (light) — open, hierarchical spacing —— */
html.test-fold-scroll .test-fold-about-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0;
}

html.test-fold-scroll .test-fold-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
  padding: 0 !important;
  background: transparent !important;
}

html.test-fold-scroll .test-fold-about-sidebar {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 5.5vh, 4rem);
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

html.test-fold-scroll .test-fold-about-meta-row {
  gap: clamp(2.5rem, 4vh, 3.25rem);
}

html.test-fold-scroll .test-fold-about-name {
  color: var(--h2-about-ink) !important;
  -webkit-text-fill-color: var(--h2-about-ink) !important;
  font-family: var(--h2-display) !important;
  margin: 0 0 clamp(0.35rem, 1vh, 0.6rem) !important;
}

html.test-fold-scroll .test-fold-about-title {
  color: var(--h2-about-ink) !important;
  font-family: var(--h2-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

html.test-fold-scroll .test-fold-about-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100%;
  max-width: none;
}

html.test-fold-scroll .test-fold-about-lead {
  margin: 0 0 clamp(1.75rem, 3vh, 2.25rem) !important;
  color: var(--h2-about-ink) !important;
  font-family: var(--h2-body) !important;
  font-size: clamp(calc(1.4375rem + 4px), calc(2.05vw + 4px), calc(1.75rem + 4px)) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  max-width: 36rem;
}

html.test-fold-scroll .home2-about-support {
  color: var(--h2-about-muted-2) !important;
}

html.test-fold-scroll .test-fold-about .home2-stats {
  border-top-color: var(--h2-about-line);
}

html.test-fold-scroll .test-fold-about .home2-stat:not(:first-child) {
  border-left-color: var(--h2-about-line);
}

html.test-fold-scroll .test-fold-about .home2-stat-label {
  color: var(--h2-about-muted-2) !important;
  font-size: 0.9375rem !important;
  letter-spacing: -0.01em !important;
  line-height: 1.55 !important;
}

html.test-fold-scroll .test-fold-about .home2-stat-value {
  color: var(--h2-about-ink) !important;
}

html.test-fold-scroll .test-fold-about-body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.65rem, 2.8vh, 2.1rem);
  max-width: 40.8rem;
  margin: 0 !important;
}

html.test-fold-scroll .test-fold-about-principle {
  margin: 0;
}

/* Match expertise titles (e.g. User Experience Design) */
html.test-fold-scroll .test-fold-about-principle-title,
html.test-fold-scroll .test-fold-about-body .test-fold-about-principle-title {
  margin: 0 0 0.45rem !important;
  color: var(--h2-about-ink) !important;
  font-family: var(--h2-body) !important;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
}

/* Match .test-fold-about-school (e.g. Pratt Institute, New York) */
html.test-fold-scroll .test-fold-about-principle-body,
html.test-fold-scroll .test-fold-about-body .test-fold-about-principle-body {
  margin: 0 !important;
  color: var(--h2-about-muted) !important;
  font-family: var(--h2-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.6 !important;
}

html.test-fold-scroll .test-fold-about-degree,
html.test-fold-scroll .test-fold-about-school {
  font-family: var(--h2-body) !important;
  font-size: 0.9375rem !important;
  letter-spacing: -0.01em !important;
  line-height: 1.45 !important;
}

html.test-fold-scroll .test-fold-about-degree {
  margin: 0 !important;
  font-weight: 500 !important;
  color: var(--h2-about-ink) !important;
}

html.test-fold-scroll .test-fold-about-school {
  margin: 0.2rem 0 0 !important;
  font-weight: 400 !important;
  color: var(--h2-about-muted) !important;
}

/* Space between the two education blocks */
html.test-fold-scroll .test-fold-about-school + .test-fold-about-degree {
  margin-top: 1.75rem !important;
}

html.test-fold-scroll .test-fold-about li,
html.test-fold-scroll .test-fold-about a {
  color: var(--h2-about-muted) !important;
  font-family: var(--h2-body) !important;
}

html.test-fold-scroll .test-fold-about-aside-label {
  margin: 0 0 0.7rem !important;
  color: var(--h2-accent) !important;
  font-family: var(--h2-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

html.test-fold-scroll .test-fold-about a:hover {
  color: var(--h2-about-ink) !important;
}

/* Contact icons — dark on light */
html.test-fold-scroll .test-fold-about-contact-icon-btn,
html.test-fold-scroll .test-fold-about a.test-fold-about-contact-icon-btn {
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 1px solid rgba(16, 16, 16, 0.14) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--h2-about-ink) !important;
  box-shadow: none !important;
}

html.test-fold-scroll .test-fold-about-contact-icon-btn:hover,
html.test-fold-scroll .test-fold-about-contact-icon-btn:focus-visible,
html.test-fold-scroll .test-fold-about a.test-fold-about-contact-icon-btn:hover,
html.test-fold-scroll .test-fold-about a.test-fold-about-contact-icon-btn:focus-visible {
  border-color: rgba(16, 16, 16, 0.28) !important;
  background: rgba(16, 16, 16, 0.04) !important;
  color: var(--h2-about-ink) !important;
}

html.test-fold-scroll .test-fold-about-contact-icon {
  width: 0.9rem !important;
  height: 0.9rem !important;
}

html.test-fold-scroll .test-fold-about-contact-icon--email {
  width: 1.05rem !important;
  height: 1.05rem !important;
}

/* Expertise — 2×2 grid; clear section break above */
html.test-fold-scroll .test-fold-about-expertise {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: clamp(2.5rem, 5vh, 3.5rem) !important;
  padding-top: clamp(2rem, 4vh, 2.75rem) !important;
  border-top: 1px solid var(--h2-about-line) !important;
}

/* Desktop: contact beside Background; mobile: after Expertise */
html.test-fold-scroll .test-fold-about-contact-mobile {
  display: none !important;
}

html.test-fold-scroll .test-fold-about-contact-desktop {
  display: block !important;
  min-width: 0;
}

html.test-fold-scroll .test-fold-about-expertise-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.75rem 2.25rem !important;
  width: 100% !important;
  background: transparent !important;
}

html.test-fold-scroll .test-fold-about-expertise-list > li {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.45rem !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-family: inherit !important;
}

html.test-fold-scroll .test-fold-about-expertise-list > li:first-child {
  border-top: none !important;
  padding-top: 0 !important;
}

html.test-fold-scroll .test-fold-about-expertise-list > li:last-child {
  padding-bottom: 0 !important;
}

html.test-fold-scroll .test-fold-about-expertise-title {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--h2-about-ink) !important;
  font-family: var(--h2-body) !important;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.test-fold-scroll .test-fold-about-expertise-body {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--h2-about-muted) !important;
  font-family: var(--h2-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.55 !important;
  background: none !important;
  white-space: normal !important;
}

/* Skills as a stacked list under each title (all breakpoints) */
html.test-fold-scroll .test-fold-about-expertise-sublist {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.test-fold-scroll .test-fold-about-expertise-sublist > li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--h2-about-muted) !important;
  font-family: var(--h2-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.5 !important;
  list-style: none !important;
}

html.test-fold-scroll
  .test-fold-about-expertise-sublist
  > li:not(:last-child)::after {
  content: none !important;
}

html.test-fold-scroll .test-fold-about [class*="chip"],
html.test-fold-scroll .test-fold-about [class*="pill"] {
  border: 0 !important;
  color: var(--h2-about-ink) !important;
  background: rgba(16, 16, 16, 0.06) !important;
  border-radius: var(--h2-pill) !important;
  font-family: var(--h2-body) !important;
  box-shadow: none;
}

/* —— Nav: clean header —— */
html.test-fold-scroll header[data-nav-tone],
html.test-fold-scroll header[data-nav-tone="light"],
html.test-fold-scroll header[data-nav-tone="default"] {
  background: color-mix(in srgb, var(--h2-bg) 88%, transparent) !important;
  background-color: color-mix(in srgb, var(--h2-bg) 88%, transparent) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.05) !important;
  border-bottom: 0 !important;
}

html.test-fold-scroll .home2-nav-pill {
  padding: 0.15rem;
  border-radius: var(--h2-pill);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

html.test-fold-scroll header a {
  color: var(--h2-ink) !important;
  font-family: var(--h2-body) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

html.test-fold-scroll header nav a {
  color: var(--h2-muted) !important;
  font-family: var(--h2-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
}

html.test-fold-scroll header nav a:hover {
  color: var(--h2-ink) !important;
}

html.test-fold-scroll header [data-id] {
  background: transparent !important;
}

/* Footer stays solid dark — no about dot grid */
html.test-fold-scroll footer {
  position: relative;
  background: #0a0a0a !important;
  background-image: none !important;
  color: #a3a3a3 !important;
  border-top: 0 !important;
}

html.test-fold-scroll footer::before {
  content: "";
  display: block;
  height: 1px;
  margin-left: var(--page-padding);
  margin-right: var(--page-padding);
  background: rgba(245, 245, 242, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .test-fold-scene.test-fold-scroll .home2-stage {
    animation: none;
    opacity: 1;
    transform: none;
  }

  html.test-fold-scroll .glass-project-card-link,
  html.test-fold-scroll .home2-cta {
    transition: none;
  }
}

@media (max-width: 1100px) {
  html.test-fold-scroll .home2-hero {
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  html.test-fold-scroll .home2-intro.test-hero-lockup {
    max-width: 16ch;
  }

  html.test-fold-scroll .glass-project-grid--caption {
    gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  }

  html.test-fold-scroll .test-fold-about-layout {
    gap: clamp(1.75rem, 4vw, 2.75rem);
  }
}

@media (max-width: 900px) {
  html.test-fold-scroll .test-page-fold {
    padding-top: clamp(6.5rem, 12vh, 8rem);
    padding-bottom: clamp(1.25rem, 3vh, 2rem);
    gap: 1.5rem;
    overflow: visible;
  }

  html.test-fold-scroll .home2-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }

  html.test-fold-scroll .home2-hero-left {
    order: 1;
    align-self: start;
    justify-content: flex-start;
  }

  html.test-fold-scroll .home2-hero-right.test-page-hero-block {
    margin: 0 !important;
    max-width: none;
    order: 2;
    align-items: stretch;
    align-self: start;
    justify-content: flex-start;
    padding-top: 0;
  }

  html.test-fold-scroll .home2-hero-right.test-page-hero-block,
  html.test-fold-scroll .home2-hero-right.test-page-hero-block * {
    text-align: left !important;
  }

  html.test-fold-scroll .home2-intro.test-hero-lockup {
    max-width: min(20ch, 100%);
    font-size: clamp(2rem, 7.2vw, 2.75rem) !important;
  }

  html.test-fold-scroll {
    --h2-title-size: clamp(2rem, 7.2vw, 2.75rem);
  }

  html.test-fold-scroll .home2-snapshot {
    max-width: none;
    gap: 0.85rem;
    padding-top: 0;
  }

  html.test-fold-scroll .home2-snapshot-line {
    font-size: 0.9375rem;
    max-width: 36rem;
  }

  html.test-fold-scroll .test-fold-projects {
    padding-top: clamp(2.5rem, 6vh, 4rem);
  }

  html.test-fold-scroll .test-fold-research {
    padding-top: calc(var(--h2-space-lg) * 0.4);
  }

  html.test-fold-scroll .test-fold-about {
    padding-top: calc(var(--h2-space-lg) * 0.15);
    padding-bottom: clamp(4rem, 10vh, 6rem);
  }

  /* Stack cards earlier so tablet stays readable */
  html.test-fold-scroll .glass-project-grid--caption {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0 0.35rem 0.45rem;
  }

  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-caption-meta {
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-tags {
    right: 0.55rem;
    bottom: 0.55rem;
    gap: 0.3rem;
    max-width: calc(100% - 1.1rem);
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-badge {
    font-size: 0.625rem !important;
    padding: 0.18rem 0.42rem !important;
  }

  html.test-fold-scroll .home2-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  html.test-fold-scroll .home2-stat {
    padding: 1.1rem 0;
  }

  html.test-fold-scroll .home2-stat:not(:first-child) {
    border-left: 0;
    border-top: 1px solid var(--h2-line);
  }

  html.test-fold-scroll .test-fold-about .home2-stat:not(:first-child) {
    border-top-color: var(--h2-about-line);
  }

  html.test-fold-scroll .home2-section-lockup,
  html.test-fold-scroll .home2-section-lockup-word,
  html.test-fold-scroll .research-archive-lockup,
  html.test-fold-scroll .research-archive-lockup-word,
  html.test-fold-scroll .test-fold-about-name {
    font-size: var(--h2-title-size) !important;
  }

  html.test-fold-scroll .home2-stage {
    min-height: 14rem;
    height: clamp(14rem, 42vw, 20rem);
  }

  html.test-fold-scroll .test-fold-about-layout {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  html.test-fold-scroll .test-fold-about-contact-desktop {
    display: none !important;
  }

  html.test-fold-scroll .test-fold-about-contact-mobile {
    display: block !important;
    margin-top: 2.25rem !important;
    padding-top: 1.75rem !important;
    border-top: 1px solid var(--h2-about-line) !important;
  }

  html.test-fold-scroll .test-fold-about-meta-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  html.test-fold-scroll .test-fold-about-sidebar {
    min-height: 0;
    gap: 2rem;
  }

  html.test-fold-scroll .test-fold-about-lead {
    max-width: none;
    margin-bottom: 1.5rem !important;
  }

  html.test-fold-scroll .test-fold-about-body {
    max-width: none;
    gap: 1.5rem;
  }

  html.test-fold-scroll .test-fold-about-expertise {
    margin-top: 2.25rem !important;
    padding-top: 1.75rem !important;
  }

  html.test-fold-scroll .test-fold-about-expertise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.35rem 1.25rem !important;
  }

  html.test-fold-scroll .research-archive-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Even rhythm: same padding above/below every rule when stacked */
  html.test-fold-scroll .research-archive-row {
    padding: 1.35rem 0 !important;
  }

  /* Stacked columns: keep the rule between 02 and 03 (end of first list) */
  html.test-fold-scroll
    .research-archive-columns
    .research-archive-list:not(:last-child)
    .research-archive-item:last-child {
    border-bottom: 1px solid rgba(16, 16, 16, 0.14) !important;
  }

  html.test-fold-scroll .research-archive-lockup {
    margin-bottom: 1rem !important;
  }

  html.test-fold-scroll .research-archive-tag {
    font-size: 0.6875rem !important;
    padding: 0.22rem 0.5rem !important;
    letter-spacing: 0.1em !important;
  }

  /* Expertise list view is defined globally — no mobile-only override needed */
}

@media (max-width: 700px) {
  html.test-fold-scroll .glass-project-grid--caption {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-caption {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-title,
  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-caption-meta {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  html.test-fold-scroll .test-page-fold {
    padding-top: max(5.75rem, calc(4.5rem + env(safe-area-inset-top, 0px)));
  }

  html.test-fold-scroll .home2-hero {
    gap: 1.35rem;
  }

  html.test-fold-scroll .home2-intro.test-hero-lockup {
    max-width: none;
    font-size: clamp(1.85rem, 8.5vw, 2.35rem) !important;
  }

  html.test-fold-scroll {
    --h2-title-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  html.test-fold-scroll .home2-snapshot {
    gap: 0.7rem;
  }

  html.test-fold-scroll .home2-snapshot-line {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  html.test-fold-scroll header nav a {
    font-size: 0.875rem !important;
  }

  html.test-fold-scroll .test-fold-about-meta-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  html.test-fold-scroll .test-fold-about-expertise-list {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  html.test-fold-scroll .test-fold-about-lead {
    font-size: clamp(1.35rem, 5.5vw, 1.6rem) !important;
    margin-bottom: 1.35rem !important;
  }

  html.test-fold-scroll .test-fold-about-principle-title,
  html.test-fold-scroll .test-fold-about-body .test-fold-about-principle-title,
  html.test-fold-scroll .test-fold-about-expertise-title {
    font-size: 1.0625rem !important;
  }

  html.test-fold-scroll .glass-project-card--caption .glass-project-card-tags {
    right: 0.45rem;
    bottom: 0.45rem;
  }

  html.test-fold-scroll .test-fold-about-contact-icon-btn,
  html.test-fold-scroll .test-fold-about a.test-fold-about-contact-icon-btn {
    width: 2.35rem !important;
    height: 2.35rem !important;
  }
}

/* Touch: skip lift/scale that fights scroll */
@media (hover: none) {
  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-link:hover
    .glass-project-card-img:not(.glass-project-card-img--hover),
  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-link:focus-visible
    .glass-project-card-img:not(.glass-project-card-img--hover) {
    transform: none;
  }

  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-link:hover
    .glass-project-card-caption,
  html.test-fold-scroll
    .glass-project-card--caption
    .glass-project-card-link:focus-visible
    .glass-project-card-caption {
    box-shadow: none;
  }
}
