/* ========== CSS Custom Properties ========== */
:root {
  /* Colors */
  --color-bg: #FAFAF8;
  --color-text: #1A1A18;
  --color-muted: #A0A09A;
  --color-muted-accessible: #757575;
  --color-border: #E8E8E4;
  --color-section-divider: #C5C5BF;
  --color-white: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-overlay: rgba(0, 0, 0, 0.4);
  --color-panel-bg: #1A1A18;
  --color-panel-text: #FFFFFF;
  --color-brand-orange: #e85a2f;
  --color-brand-orange-hover: #cf4f28;
  --site-hero-bg: var(--color-brand-orange);
  --site-hero-ink: #1a1a18;
  --site-hero-muted: color-mix(in srgb, var(--site-hero-ink) 68%, transparent);
  --color-dusty-rose: #c9897f;
  --color-nav-active-bg: var(--color-brand-orange);
  --color-nav-active-text: #FFFFFF;
  --color-nav-hover-bg: #5C5C5C;
  --color-nav-hover-text: #F5F0E8;
  --see-all-work-bg: #2e2e2e;
  --see-all-work-text: #f5f0e8;
  --see-all-work-hover-bg: #3a3a3a;
  --connect-tile-bg: #2e2e2e;
  --connect-tile-text: #f5f0e8;

  /* Hero bands — inverted from page theme */
  --hero-band-bg: #1a1a18;
  --hero-band-text: #f5f0e8;
  --hero-band-muted: #c8c4bc;
  --hero-band-cta-border: #f5f0e8;

  /* Typography */
  --font-sans: 'Helvetica Neue', Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --font-barlow: 'Barlow Condensed', var(--font-sans);
  --font-poppins: 'Poppins', var(--font-sans);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-lora: 'Lora', Georgia, serif;
  --font-section: 'PP Right Grotesk Tight', var(--font-sans);

  --text-xs: 0.6875rem;   /* 11px */
  --text-sm: 0.75rem;     /* 12px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px */
  --text-lg: 1.5rem;      /* 24px */
  --text-xl: 2.5rem;      /* 40px */
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);
  --text-section-num: 5rem; /* 80px */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-section: clamp(4rem, 10vh, 7rem);

  /* Layout */
  --max-width: 72rem;
  --layout-max-wide: 1600px;
  --nav-height: calc(4rem + 20px);
  --page-title-top-gap: 200px;
  --page-main-top-pad: clamp(2rem, 5vw, 3.5rem);
  --page-content-top-offset: calc(var(--nav-height) + var(--page-main-top-pad) + var(--page-title-top-gap));
  --work-tile-anchor-peek: clamp(4.5rem, 11vh, 6rem);
  --radius-sm: 6px;
  --panel-width: 50vw;

  /* Transitions */
  --transition-nav: border-color 0.3s ease, background-color 0.3s ease;
  --transition-panel: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0D0D0B;
  --color-text: #F5F0E8;
  --color-muted: rgba(245, 240, 232, 0.55);
  --color-muted-accessible: #A8A39B;
  --color-border: rgba(245, 240, 232, 0.12);
  --color-section-divider: rgba(245, 240, 232, 0.2);
  --color-surface: #141412;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-panel-bg: #1A1A18;
  --color-panel-text: #F5F0E8;
  --see-all-work-bg: #242422;
  --see-all-work-text: #f5f0e8;
  --see-all-work-hover-bg: #323230;
  --connect-tile-bg: #242422;
  --connect-tile-text: #f5f0e8;
  --hero-band-bg: #fafaf8;
  --hero-band-text: #1a1a18;
  --hero-band-muted: #686868;
  --hero-band-cta-border: #1a1a18;
}

/* ========== Custom Fonts ========== */
@font-face {
  font-family: 'PP Right Grotesk Tight';
  src: url('fonts/PP-Right-Grotesk-Tight.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-section);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Nav ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-nav);
}

.site-nav.is-scrolled {
  background-color: var(--color-surface);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
}

.nav-projects-trigger .project-count {
  color: var(--color-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  width: 2rem;
  min-height: 2rem;
  height: auto;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.nav-toggle span:nth-child(3) {
  width: 50%;
  align-self: flex-start;
}

.nav-toggle.is-open span:nth-child(1) {
  width: 100%;
  align-self: stretch;
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  width: 100%;
  align-self: stretch;
  transform: translateY(-10px) rotate(-45deg);
}

[data-theme="dark"] .nav-toggle span {
  background-color: var(--site-hero-ink);
}

/* ========== Theme Toggle ========== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  background: transparent;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--color-border);
}

.theme-icon {
  display: block;
}

.theme-icon--sun {
  display: none;
}

[data-theme="dark"] .theme-icon--moon {
  display: none;
}

[data-theme="dark"] .theme-icon--sun {
  display: block;
}

.nav-identity {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
  text-decoration: none;
}

.nav-identity-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.nav-identity-mark {
  flex-shrink: 0;
  width: auto;
  height: calc((0.875rem * 1.15) + 0.125rem + (0.75rem * 1.15));
  object-fit: contain;
}

.nav-identity-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav-identity-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
}

.nav-inner--centered {
  position: relative;
  justify-content: center;
}

.nav-inner--centered .nav-left {
  font-size: calc(var(--text-sm) * 1.4);
  font-weight: 500;
}

.nav-inner--centered .theme-toggle {
  position: absolute;
  right: var(--space-md);
  z-index: 1;
}

.nav-leading {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-width: 0;
}

.nav-inner--case-study .case-back {
  position: static;
  flex-shrink: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(var(--text-sm) * 1.4 * 0.7);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-hero-ink);
  text-decoration: none;
}

.nav-inner--case-study .case-back:hover {
  opacity: 0.75;
}

.nav-inner--case-study {
  position: relative;
  max-width: none;
  width: 100%;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-inner--case-study .theme-toggle {
  flex-shrink: 0;
}

.site-nav--bar {
  background-color: var(--site-hero-bg);
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
}

.site-nav--bar .nav-inner--centered {
  max-width: none;
  width: 100%;
}

.site-nav--bar.is-scrolled {
  background-color: var(--site-hero-bg);
  border-bottom-color: rgba(26, 26, 24, 0.12);
}

.home-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

[data-theme="dark"] .home-tile-tag {
  background: rgba(13, 13, 11, 0.82);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

/* ========== Work Page (DMCG-style nav + hero) ========== */
.page-work {
  --site-gutter: var(--space-md);
}

.page-work .nav-inner.nav-inner--case-study {
  justify-content: space-between;
}

@media (min-width: 901px) {
  .page-case-study.page-work .nav-inner--case-study .nav-left.nav-wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .page-case-study.page-work .nav-inner--case-study .nav-leading {
    flex: 1;
    min-width: 0;
  }

  .page-case-study.page-work .nav-inner--case-study .nav-left.nav-wordmark {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    margin-left: auto;
  }
}

.page-work .nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  width: 100%;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.page-work .nav-inner.nav-inner--centered {
  justify-content: center;
}

.page-work .nav-inner:not(.nav-inner--centered):not(.nav-inner--case-study) {
  justify-content: space-between;
  gap: var(--space-md);
}

.page-work .nav-right-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.page-work .nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
}

.page-work .nav-left.nav-identity {
  align-items: center;
  gap: 10px;
}

.page-work .nav-identity-mark {
  height: calc((0.9375rem * 1.15) + 0.125rem + (0.8125rem * 1.15));
}

.page-work .nav-identity-name {
  font-size: 0.9375rem;
}

.page-work .nav-identity-role {
  font-size: 0.8125rem;
}

.page-work .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-text);
  flex-shrink: 0;
}

.page-work .nav-center {
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.page-work .nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 1.5vw, 1rem);
  flex-shrink: 0;
}

.site-nav--bar .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.875rem);
}

.site-nav--bar .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav--bar .nav-link:not([aria-current="page"]):hover {
  background-color: var(--color-nav-hover-bg);
  color: var(--color-nav-hover-text);
}

.site-nav--bar .nav-link[aria-current="page"] {
  background-color: var(--color-nav-active-bg);
  color: var(--color-nav-active-text);
}

.site-nav--bar .nav-link[aria-current="page"]:hover {
  background-color: var(--color-nav-active-bg);
  color: var(--color-nav-active-text);
}

.site-nav--bar .nav-link:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.page-work .nav-projects-icon {
  display: inline-flex;
  gap: 3px;
}

.page-work .nav-projects-icon span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-text);
}

.page-work .hero {
  min-height: auto;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-height) + 160px) var(--site-gutter) var(--space-lg);
  background: var(--site-hero-bg);
  color: var(--site-hero-ink);
}

.page-work .hero-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-work .hero-illustration {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

.page-work .hero-illustration img {
  display: block;
  width: 100%;
  max-width: 19.008rem;
  height: auto;
}

.page-work .hero-text {
  container-type: inline-size;
  min-width: 0;
  flex: none;
  width: 100%;
  max-width: none;
  text-align: left;
}

.page-work .hero-headline {
  font-family: var(--font-section);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  width: 100%;
  max-width: none;
  font-size: 4.4cqi; /* fallback until JS fits to container */
  margin-bottom: 0;
  text-transform: uppercase;
}

.page-work .hero-headline--wrap {
  white-space: normal;
  text-wrap: wrap;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.03;
}

.page-home .hero-text .hero-headline--wrap {
  position: relative;
  width: 100%;
}

.page-home .hero-headline--split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 0.9;
}

.page-home .hero-headline-line--lead {
  line-height: 0.88;
}

.page-home .hero-headline-line--tagline {
  font-size: 0.36em;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-top: -0.06em;
}

@media (min-width: 769px) {
  .page-home .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.625rem, 1.5vw, 1.25rem);
  }

  .page-home .hero-illustration {
    flex-shrink: 0;
    align-self: center;
    margin: 0;
  }

  .page-home .hero-illustration img {
    width: clamp(14rem, 22vw, 18rem);
    max-width: none;
  }

  .page-home .hero-text {
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

.hero-headline-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.page-work .hero-headline-line {
  display: block;
  white-space: nowrap;
}

.page-work .hero-subhead {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--color-muted-accessible);
  margin-top: 0;
  max-width: none;
}

.page-work .hero-links {
  display: none;
}

.page-work .home-projects {
  padding: 0 0 var(--space-xl);
  background: var(--color-surface);
}

.page-work .story-section {
  border-top: 1px solid var(--color-section-divider);
}

/* ========== Work Page Sections (Two Column + Circled Numbers) ========== */
.page-work .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

.page-work .section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.page-work .section-number {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  opacity: 1;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.page-work .section-label {
  margin: 0;
  font-family: var(--font-section);
  font-size: calc(var(--text-base) * 2.1);
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-work .section-body-col {
  min-width: 0;
}

.page-work .section-disclaimer {
  display: none;
}

@media (min-width: 769px) {
  .page-work {
    --work-side-padding: max(2.5%, 50px);
    --site-gutter: var(--work-side-padding);
  }

  .nav-inner--centered .theme-toggle {
    right: var(--work-side-padding);
  }

  .page-work .home-projects-marquee {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-work .hero-inner,
  .page-work .section-inner,
  .page-work .site-footer {
    max-width: none;
  }

  .page-work .section-inner {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
    gap: clamp(2rem, 8vw, 6rem);
  }

  .work-page {
    padding-top: calc(var(--nav-height) + var(--page-main-top-pad));
  }

  .page-work-list .work-page__content {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-work-list .work-featured-title {
    padding-top: var(--page-title-top-gap);
  }

  .page-work .story-section {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-case-study.page-work .story-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-work .site-footer {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-work .section-number {
    width: calc(2.25rem * 1.4);
    height: calc(2.25rem * 1.4);
    font-size: calc(0.95rem * 1.4);
  }

  .page-work .section-label {
    font-size: calc(var(--text-base) * 2.94);
  }
}

.page-work .site-footer {
  border-top: 1px solid var(--color-section-divider);
}

/* ========== Hero ========== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: var(--space-md);
}

.hero-subhead {
  font-size: var(--text-md);
  font-weight: 500;
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ========== Text Links ========== */
.text-link {
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--color-muted);
}

.text-link--emphasis {
  font-size: var(--text-md);
}

.text-link--muted {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ========== Story Sections ========== */
.story-section {
  padding: var(--space-section) var(--space-md);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.section-number {
  font-family: var(--font-serif);
  font-size: var(--text-section-num);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  opacity: 0.12;
  user-select: none;
  flex-shrink: 0;
}

.section-label {
  font-size: var(--text-lg);
  font-weight: 600;
}

.section-disclaimer {
  font-style: italic;
  color: var(--color-muted);
  font-size: var(--text-md);
  margin-bottom: var(--space-md);
  max-width: 40rem;
}

.section-body {
  font-size: var(--text-md);
  max-width: 40rem;
  margin-bottom: var(--space-md);
}

.section-body:last-child {
  margin-bottom: 0;
}

.section-mantra {
  font-size: var(--text-md);
  font-weight: 500;
  max-width: 40rem;
  margin-bottom: var(--space-lg);
  padding: 0;
  border: none;
}

.section-pullquote {
  font-style: italic;
  font-size: calc(var(--text-base) * 1.2);
  color: var(--color-muted-accessible);
  max-width: none;
  margin-bottom: var(--space-md);
}

.section-closing {
  font-weight: 500;
  margin-top: var(--space-lg);
  max-width: 40rem;
}

/* ========== Work Cards (Section 4) ========== */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.work-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.work-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.work-card-body {
  font-size: var(--text-base);
}

/* ========== Project Cards (Section 5) ========== */
.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  transition: border-color 0.2s ease;
}

.project-card:hover {
  border-color: var(--color-muted);
}

.project-title {
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.project-tags {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.project-body {
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}

/* ========== AI List (Section 6) ========== */
.ai-list {
  list-style: none;
  counter-reset: ai-counter;
  max-width: 40rem;
}

.ai-item {
  counter-increment: ai-counter;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.ai-item:last-child {
  border-bottom: none;
}

.ai-level {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.ai-level::before {
  content: counter(ai-counter) ". ";
  color: var(--color-muted);
}

.ai-desc {
  font-size: var(--text-base);
}

/* ========== CTA (Section 7) ========== */
.cta-row {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem calc(1.6rem + 20px);
  border: 1px solid var(--color-brand-orange);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--color-brand-orange);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
  background: var(--color-dusty-rose);
  border-color: var(--color-dusty-rose);
  color: #fff;
}

.cta-button--sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.secondary-links {
  font-size: var(--text-sm);
}

.link-sep {
  margin: 0 var(--space-xs);
  color: var(--color-muted);
}

/* ========== Footer ========== */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.footer-art {
  width: 120px;
  margin-bottom: var(--space-md);
}

.footer-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.footer-art-placeholder {
  width: 120px;
  height: 120px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;
  padding: var(--space-xs);
  margin-bottom: var(--space-md);
}

.site-footer--case {
  max-width: none;
  margin: 0;
  padding: var(--space-xl) var(--site-gutter) var(--space-lg);
  border-top: 1px solid var(--color-section-divider);
}

@media (min-width: 769px) {
  .page-case-study .site-footer--case {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }
}

.footer-meta,
.footer-social {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.8;
}

.footer-social a:hover {
  color: var(--color-text);
}

/* ========== Projects Panel ========== */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.panel-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.panel-overlay[hidden] {
  display: none;
}

.projects-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--panel-width);
  height: 100vh;
  background: var(--color-panel-bg);
  color: var(--color-panel-text);
  z-index: 201;
  transform: translateX(100%);
  transition: var(--transition-panel);
  overflow-y: auto;
  padding: var(--space-lg) var(--space-md);
}

.projects-panel.is-open {
  transform: translateX(0);
}

.panel-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-panel-text);
  opacity: 0.7;
  padding: var(--space-xs);
}

.panel-close:hover {
  opacity: 1;
}

.panel-heading {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.panel-list {
  list-style: none;
}

.panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-item-title {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.panel-item-tags {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.panel-arrow {
  font-size: var(--text-lg);
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.panel-arrow:hover {
  opacity: 1;
}

.panel-arrow--disabled {
  opacity: 0.25;
  cursor: default;
}

body.panel-open {
  overflow: hidden;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .page-work .section-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .page-work .hero-headline {
    white-space: normal;
    text-wrap: initial;
    letter-spacing: 0.02em;
  }

  .page-work .hero-headline--wrap {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.03;
  }

  .page-home .hero-headline-line--tagline {
    font-size: 0.4em;
  }

  .page-home.page-work .hero {
    padding: 0 0 var(--space-lg);
  }

  .page-home.page-work .hero-inner {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }

  .page-home.page-work .hero-illustration {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home.page-work .hero-text {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
  }

  .page-home.page-work .hero-headline--wrap {
    width: 100%;
    max-width: 100%;
    font-size: 60px;
    text-align: center;
  }

  .page-home.page-work .hero-headline--split {
    line-height: 1.2;
    gap: 0.12em;
    align-items: center;
  }

  .page-home.page-work .hero-headline-line--lead,
  .page-home.page-work .hero-headline-line--tagline {
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
  }

  .page-home.page-work .hero-headline-line--lead {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-home.page-work .hero-headline-line--tagline {
    font-size: 0.52em;
    margin-top: 0.2em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-home.page-work .home-intro-body {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-home.page-work .home-intro-body--lead {
    font-size: 24px;
    line-height: 1.25;
  }

  .client-logos-copy .section-body {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-home.page-work #tile-about,
  .page-home.page-work .media-block-stack {
    display: none;
  }

  .page-home.page-work .home-intro-portrait {
    float: none;
    width: auto;
    max-width: min(82vw, 22rem);
    margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  }

  .page-work .hero-inner {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
  }

  .page-work .hero-text {
    max-width: none;
    text-align: left;
  }

  .page-work .hero-illustration {
    justify-self: center;
  }

  .page-work .hero-illustration img {
    max-width: min(70vw, 12.096rem);
  }

  .about-intro-headline,
  .about-intro-headline--wrap {
    font-size: clamp(2.25rem, 11.25vw, 3.75rem);
  }

  .page-contact .contact-page__content {
    max-width: min(52rem, 100%);
  }

  .contact-page__title {
    font-size: 72px;
    padding-top: 0;
  }

  .about-intro-subtitle {
    font-size: clamp(1rem, 4.5vw, 1.375rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .about-intro-cta-row {
    margin-bottom: clamp(2rem, 5vw, 3rem);
    width: 100%;
    justify-content: flex-end;
  }

  .about-intro-cta-row .home-intro-cta.about-hero-cta {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  .about-resume-headline {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .about-intro-bio {
    grid-template-columns: 1fr;
  }

  .about-intro-portrait {
    order: 0;
    justify-self: center;
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: min(72vw, 18rem);
  }

  .about-intro-portrait--illustration {
    width: min(57.6vw, 14.4rem);
    max-width: min(57.6vw, 14.4rem);
  }

  .about-intro-portrait img {
    height: auto;
  }

  .about-intro-bio-copy p {
    font-size: clamp(1.0625rem, 4vw, 1.25rem);
  }

  .about-display-hero-inner {
    flex-direction: column;
    gap: clamp(1.25rem, 4vw, 2rem);
  }

  .about-display-hero-illustration {
    align-self: center;
  }

  .about-display-hero-illustration img {
    width: min(72vw, 14rem);
  }

  .about-hero-headline__lead {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .about-hero-headline__tagline {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
  }

  .about-hero-body {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
  }

  :root {
    --nav-height: 48px;
  }

  .site-nav--bar .nav-inner,
  .page-work .site-nav--bar .nav-inner:not(.nav-inner--centered):not(.nav-inner--case-study) {
    position: relative;
    justify-content: flex-end;
  }

  .site-nav--bar .nav-wordmark,
  .page-work .site-nav--bar .nav-left.nav-wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-nav--bar .nav-right {
    gap: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav--bar .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-xs);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav--bar .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav--bar .nav-link {
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-identity-role {
    display: none;
  }

  .nav-left.nav-identity {
    min-width: 0;
    flex: 1;
  }

  .nav-identity-text {
    min-width: 0;
  }

  .nav-identity-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-inner--case-study .nav-identity {
    display: none;
  }

  .nav-inner--case-study .nav-leading {
    flex: 1;
    min-width: 0;
  }

  .nav-inner--case-study .case-back {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section-number {
    font-size: 3rem;
  }

  .three-col,
  .two-col {
    grid-template-columns: 1fr;
  }

  .projects-panel {
    width: 100%;
  }
}

/* ========== Home Page (Landing) ========== */
.page-home {
  background-color: var(--color-bg);
  /* Kill horizontal rubber-band from off-canvas UI (nav drawer, etc.) */
  overflow-x: clip;
}

.site-nav--home {
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-nav--home.is-scrolled {
  border-bottom-color: var(--color-border);
}

.home-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.home-nav-left,
.home-nav-right {
  font-size: var(--text-sm);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.home-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text);
}

.home-nav-collab {
  position: relative;
  width: 14px;
  height: 14px;
}

.home-nav-collab::before,
.home-nav-collab::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-text);
  border-radius: 50%;
}

.home-nav-collab::before {
  top: 0;
  left: 0;
}

.home-nav-collab::after {
  bottom: 0;
  right: 0;
}

.home-hero {
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-lg);
}

.home-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  max-width: 22ch;
}

.home-subhead {
  font-size: var(--text-md);
  color: var(--color-muted);
  font-weight: 400;
}

.home-projects {
  padding: 0 0 var(--space-xl);
  overflow: hidden;
}

.home-projects-marquee {
  overflow: hidden;
  padding: 0 var(--space-md) var(--space-sm);
}

.home-projects-marquee.is-static {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-projects-marquee.is-static::-webkit-scrollbar {
  display: none;
}

.home-projects-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

.home-projects-marquee:not(.is-static) .home-projects-track {
  animation: projects-marquee 50s linear infinite;
}

.home-projects-marquee:not(.is-static):hover .home-projects-track {
  animation-play-state: paused;
}

@keyframes projects-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-projects-marquee:not(.is-static) .home-projects-track {
    animation: none;
  }
}

.project-card {
  position: relative;
  flex: 0 0 clamp(280px, 32vw, 380px);
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
  background-color: #2a2a28;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  border-radius: 16px;
  pointer-events: none;
}

.project-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.project-card-title {
  font-family: 'PP Right Grotesk Tight', Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.project-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card .tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.project-card--fedex {
  background-image: url("images/FedEx/FedEx_Showcase_Preview.png");
}

.project-card--jpm {
  background: linear-gradient(160deg, #e8e8e4 0%, #c8c8c4 50%, #a0a09a 100%);
}

.project-card--paints {
  background: linear-gradient(160deg, #f5e6d3 0%, #e8b4a0 40%, #6b8cae 100%);
}

.project-card--placeholder {
  background: var(--color-border);
}

.project-card--healthcare {
  background: linear-gradient(160deg, #dce8e4 0%, #7aab9a 50%, #2d5a4a 100%);
}

.project-card--ai {
  background: linear-gradient(160deg, #e8e0f0 0%, #8b7cb8 50%, #3d2d5c 100%);
}

@media (max-width: 768px) {
  .project-card {
    flex: 0 0 min(85vw, 380px);
    min-height: 360px;
  }
}

.home-tile {
  position: relative;
  flex: 0 0 clamp(260px, 28vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  color: var(--color-white);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.home-tile:hover {
  transform: translateY(-4px);
}

.home-tile--placeholder {
  cursor: default;
}

.home-tile--placeholder:hover {
  transform: none;
}

.home-tile-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-tile-visual--fedex {
  background-color: #2a2a28;
  background-image: url("images/FedEx/FedEx_Showcase_Preview.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-tile-visual--jpm {
  background: linear-gradient(160deg, #e8e8e4 0%, #c8c8c4 50%, #a0a09a 100%);
}

.home-tile-visual--paints {
  background: linear-gradient(160deg, #f5e6d3 0%, #e8b4a0 40%, #6b8cae 100%);
}

.home-tile-visual--placeholder {
  background: var(--color-border);
}

.home-tile-visual--healthcare {
  background: linear-gradient(160deg, #dce8e4 0%, #7aab9a 50%, #2d5a4a 100%);
}

.home-tile-visual--ai {
  background: linear-gradient(160deg, #e8e0f0 0%, #8b7cb8 50%, #3d2d5c 100%);
}

.home-tile-title {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.home-tile-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.home-tile-tag {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
}

.home-bio {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md);
}

.home-bio-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 6rem);
  align-items: start;
}

.home-bio-col p {
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 36rem;
}

.home-bio-col p:last-child {
  margin-bottom: 0;
}

.home-bio-cta {
  margin-top: var(--space-md);
}

.home-pill-link {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-pill-link:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.home-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
}

.home-footer-links a:hover {
  color: var(--color-muted);
}

.home-footer-location {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.home-footer-legal {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 48rem;
}

@media (max-width: 768px) {
  .home-bio-inner {
    grid-template-columns: 1fr;
  }

  .home-bio-col--empty {
    display: none;
  }

  .home-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-headline {
    max-width: none;
  }
}

/* ========== Home Intro (below hero, above tiles) ========== */
.home-intro {
  padding: 0 var(--space-md) var(--space-xl);
  background: var(--color-bg);
}

.home-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-intro-copy {
  margin: 0 0 0 auto;
  max-width: 118ch;
  width: 100%;
}

.home-intro-body {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
  text-align: left;
}

.home-intro-body + .home-intro-body {
  margin-top: 1.25rem;
}

.home-intro-body--lead {
  font-size: 32px;
}

.home-intro-link-row {
  margin: 1.25rem 0 0;
}

.page-home.page-work .home-intro-link {
  color: #f5f0e8;
}

.page-home.page-work .home-intro-link:hover {
  color: rgba(245, 240, 232, 0.72);
}

.home-intro-cta-row {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  width: 100%;
}

.home-intro-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 0.45rem 1rem;
  border: 1px solid #1A1A18;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--color-muted-accessible);
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-intro-cta:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #fff;
}

[data-theme="dark"] .home-intro-cta {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

[data-theme="dark"] .home-intro-cta:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #fff;
}

@media (min-width: 769px) {
  .page-work .home-intro {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-work .home-intro-inner {
    max-width: none;
  }

  .home-intro-copy {
    width: min(100%, 99%);
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .home-intro-copy {
    margin-left: 0;
    max-width: none;
  }

  .home-intro-cta {
    font-size: 0.8125rem;
  }
}

.page-home.page-work .home-intro {
  padding-top: 100px;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  padding-bottom: var(--space-xl);
}

.page-home.page-work .home-intro-tagline {
  margin: 0 0 clamp(0.5rem, 1vw, 0.875rem);
  color: #f5f0e8;
  text-transform: uppercase;
  font-size: 72px;
  line-height: 0.92;
}

.page-home.page-work .home-intro-tagline .home-hero-headline__tagline-line {
  display: block;
}

.page-home.page-work .home-intro-tagline .home-hero-headline__tagline-line + .home-hero-headline__tagline-line::before {
  content: none;
}

.page-home.page-work .home-intro .home-intro-tagline,
.page-home.page-work .home-intro-tagline.home-hero-headline__tagline,
.page-home.page-work .home-intro-tagline .home-hero-headline__tagline-line {
  color: #f5f0e8;
}

.page-home.page-work .home-intro-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-home.page-work .home-intro-copy {
  max-width: none;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.page-home.page-work .home-intro-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home.page-work .home-intro-body--lead {
  margin-top: 0;
}

.page-home.page-work .home-intro-portrait {
  float: none;
  width: auto;
  max-width: min(82vw, 22rem);
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  shape-outside: none;
  shape-margin: 0;
}

.page-home.page-work .home-intro-portrait img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 16px;
}

.page-home.page-work .home-intro-portrait--illustration img {
  object-fit: contain;
  object-position: center center;
}

.page-home.page-work .home-media-showcase__grid {
  display: block;
}

.page-home.page-work .home-media-showcase__grid .media-card--landscape {
  width: 100%;
  aspect-ratio: 935 / 526;
}

.home-media-showcase {
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--site-gutter) clamp(2rem, 5vw, 3rem);
  background: var(--color-bg);
}

.page-home.page-work .home-media-showcase {
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

/* ========== Home — Team Statement ========== */
.home-team-statement {
  background: #FFFFFF;
  color: #1A1A18;
  padding: 140px 140px 200px;
  box-sizing: border-box;
}

.home-team-statement__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-team-statement__inner--sandwich {
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: stretch;
}

.home-team-statement__header {
  max-width: 52rem;
}

.home-team-statement__header .home-how-i-work__title {
  margin-bottom: 0;
}

.home-team-statement__figure {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.home-team-statement__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1482 / 1475;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

.home-team-statement__image--brain {
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.home-team-statement__text {
  margin: 0;
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: left;
  text-wrap: pretty;
  color: #1A1A18;
}

.home-team-statement__text + .home-team-statement__text {
  margin-top: 0.75em;
}

.home-team-statement__text .word {
  color: color-mix(in srgb, #1A1A18 28%, transparent);
  transition: color 0.2s ease;
}

.home-team-statement__text .word.is-revealed {
  color: #1A1A18;
}

@media (prefers-reduced-motion: reduce) {
  .home-team-statement__text .word {
    color: #1A1A18;
    transition: none;
  }
}

@media (max-width: 768px) {
  .page-home main {
    display: flex;
    flex-direction: column;
  }

  .page-home main > * {
    order: 10;
  }

  .page-home main > #top { order: 1; }
  .page-home main > #client-logo-strip { order: 2; }
  .page-home main > #selected-works { order: 3; }
  .page-home main > #case-tiles { order: 4; }
  .page-home main > #about { order: 5; }
  .page-home main > #hybrid-mind { order: 6; }
  .page-home main > #what-i-do-best { order: 7; }
  .page-home main > .about-band--contrast { order: 8; }

  .home-team-statement {
    padding: clamp(3rem, 10vw, 5rem) var(--site-gutter);
  }

  .page-home.page-work .home-team-statement {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-team-statement__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-team-statement__inner--sandwich {
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }

  .home-team-statement__figure {
    width: 100%;
  }

  .home-team-statement__image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
  }
}

@media (min-width: 1600px) {
  .page-home.page-work .home-team-statement {
    padding-left: 0;
    padding-right: 0;
  }

  .page-home.page-work .home-team-statement__inner {
    max-width: var(--layout-max-wide);
    margin-left: auto;
    margin-right: auto;
    padding-left: 140px;
    padding-right: 140px;
  }
}

/* ========== Home — How I Work ========== */
.home-how-i-work {
  --home-metro-line: #e04f4f;
  --home-metro-line-soft: rgba(224, 79, 79, 0.45);
  padding: 140px var(--site-gutter);
  background: #FFFFFF;
  color: #1a1a18;
}

.home-how-i-work__inner {
  max-width: none;
  margin: 0 auto;
}

.home-how-i-work__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
}

.home-how-i-work__copy {
  min-width: 0;
}

.home-how-i-work__media {
  margin: 0;
  min-width: 0;
}

.home-how-i-work__media img {
  display: block;
  width: 100%;
  height: auto;
}

.home-how-i-work__title {
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a1a18;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.home-how-i-work__intro {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: #1a1a18;
  margin: 0;
  max-width: 52rem;
}

.home-how-i-work__intro + .home-how-i-work__intro {
  margin-top: 1.25rem;
}

.home-how-i-work__timeline {
  position: relative;
  min-width: 0;
  width: 100%;
}

.home-how-i-work__timeline-track {
  position: relative;
}

.home-how-i-work__timeline--metro {
  --home-metro-cap: 34px;
  --home-metro-spine-left: 13px;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-track::before {
  display: none;
}

/* Spine drawn per item so it ends at the last dot instead of running
   to the bottom of the last card. Each item (except the last) draws a
   segment from its own top down to the next item's dot. */
.home-how-i-work__timeline--metro .home-how-i-work__timeline-list::after {
  display: none;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:not(:last-child)::before {
  display: none;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:first-child::before {
  display: none;
}

.home-how-i-work__terminus--start::after {
  display: none;
}

.home-how-i-work__terminus--end::before {
  display: none;
}

.home-how-i-work__terminus {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.65rem, 1.25vw, 0.85rem);
}

.home-how-i-work__terminus--start {
  padding-bottom: calc(clamp(0.85rem, 1.75vw, 1.15rem) + 20px);
}

.home-how-i-work__terminus--end {
  padding-top: clamp(0.85rem, 1.75vw, 1.15rem);
}

.home-how-i-work__terminus--start .home-how-i-work__station--cap,
.home-how-i-work__terminus--end .home-how-i-work__station--cap {
  flex: 0 0 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-how-i-work__terminus--start .home-how-i-work__timeline-dot--cap,
.home-how-i-work__terminus--end .home-how-i-work__timeline-dot--cap {
  width: 34px;
  height: 34px;
  border-width: 5px;
}

.home-how-i-work__terminus-label {
  margin: 0;
  flex: 0 0 auto;
  align-self: center;
  min-height: var(--home-metro-cap, 34px);
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: #e04f4f;
}

.home-how-i-work__station--cap {
  padding-top: 0;
}

.home-how-i-work__station--cap::after {
  display: none;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-dot--cap {
  width: 34px;
  height: 34px;
  border-width: 5px;
  background: #F5F1EA;
}

.home-how-i-work__timeline-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-label--start {
  color: var(--home-metro-line-soft);
  width: auto;
  padding-left: calc(28px + 0.65rem);
  margin-bottom: 0.85rem;
  text-align: left;
}

.home-how-i-work__timeline-label--start {
  color: rgba(245, 240, 232, 0.55);
  padding-left: 6px;
  margin-bottom: 1rem;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-label--end {
  color: var(--home-metro-line);
  width: auto;
  padding-left: calc(28px + 0.65rem);
  margin-top: 0.85rem;
  text-align: left;
}

.home-how-i-work__timeline-label--end {
  color: #c8962a;
  padding-left: 6px;
  margin-top: 0.5rem;
}

.home-how-i-work__timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-list::before {
  display: none;
}

.home-how-i-work__timeline-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  border-left: 2px dotted rgba(245, 240, 232, 0.32);
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  align-items: start;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
}

.home-how-i-work__timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding-bottom: clamp(3rem, 5.5vw, 4.25rem);
  position: relative;
}

.home-how-i-work__timeline-item:last-child {
  padding-bottom: 0;
}

.home-how-i-work__station {
  display: none;
}

.home-how-i-work__station::after {
  display: none;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:first-child .home-how-i-work__station::after {
  top: calc(clamp(1.35rem, 2.5vw, 1.65rem) + 8px);
  left: calc(50% + 8px);
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-dot {
  display: none;
}

.home-how-i-work__timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #c8962a;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-card {
  min-width: 0;
  padding: 60px;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 24, 0.16);
  background: rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  --hiw-active-bg: #306CB3;
}

/* Scroll-active swatches (hover stays blue) */
.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(1) .home-how-i-work__timeline-card {
  --hiw-active-bg: #FD9A40; /* Discover */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(2) .home-how-i-work__timeline-card {
  --hiw-active-bg: #E65B38; /* Define */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(3) .home-how-i-work__timeline-card {
  --hiw-active-bg: #D03C3B; /* Design */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(4) .home-how-i-work__timeline-card {
  --hiw-active-bg: #37B859; /* Validate */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(5) .home-how-i-work__timeline-card {
  --hiw-active-bg: #3895E6; /* Build */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-item:nth-child(6) .home-how-i-work__timeline-card {
  --hiw-active-bg: #635DCD; /* Deliver */
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-card.is-active {
  background: var(--hiw-active-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: var(--hiw-active-bg);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-card.is-active .home-how-i-work__timeline-title,
.home-how-i-work__timeline--metro .home-how-i-work__timeline-card.is-active .home-how-i-work__timeline-desc {
  color: #ffffff;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-card::before {
  content: none;
}

.home-how-i-work__timeline-card {
  min-width: 0;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-section);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #1a1a18;
}

.home-how-i-work__timeline-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-section);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #1a1a18;
}

.home-how-i-work__timeline--metro .home-how-i-work__timeline-desc {
  margin: 4px 0 0;
  font-family: var(--font-lora);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  color: #1a1a18;
}

.home-how-i-work__timeline-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(26, 26, 24, 0.72);
}

@media (hover: hover) {
  .home-ai-thinking__card,
  .home-how-i-work__timeline--metro .home-how-i-work__timeline-card {
    transition:
      background-color 0.35s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      transform 0.25s ease,
      backdrop-filter 0.35s ease,
      -webkit-backdrop-filter 0.35s ease;
    cursor: default;
  }

  .home-about-frank__theme {
    transition:
      background-color 0.18s ease-out,
      border-color 0.18s ease-out,
      box-shadow 0.18s ease-out;
    cursor: default;
  }

  .home-about-frank__theme .home-about-frank__theme-title,
  .home-about-frank__theme .home-about-frank__theme-desc {
    transition: color 0.18s ease-out;
  }

  .home-ai-thinking__card:hover {
    background: #755797;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-6px);
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-card:hover {
    background: #306CB3;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: #306CB3;
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .home-about-frank__theme:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
    transition:
      background-color 0.16s ease-in,
      border-color 0.16s ease-in,
      box-shadow 0.16s ease-in;
  }

  .page-home.page-work .home-about-frank__theme:hover {
    background-color: rgba(255, 255, 255, 0.6);
  }

  .home-about-frank__theme:hover .home-about-frank__theme-title,
  .home-about-frank__theme:hover .home-about-frank__theme-desc {
    color: #1a1a18;
    transition: color 0.16s ease-in;
  }

  .home-ai-thinking__card:hover .home-ai-thinking__card-title,
  .home-ai-thinking__card:hover .home-ai-thinking__card-desc {
    color: #ffffff;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-card:hover .home-how-i-work__timeline-title,
  .home-how-i-work__timeline--metro .home-how-i-work__timeline-card:hover .home-how-i-work__timeline-desc {
    color: #ffffff;
  }

  #ai-thinking .home-ai-thinking__card:hover {
    background: #306CB3;
    border-color: #306CB3;
    transform: none;
  }
}

.home-how-i-work__note {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--color-section-divider);
  font-family: var(--font-lora);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-muted-accessible);
  max-width: 42rem;
}

@media (min-width: 769px) {
  .home-how-i-work__layout {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .home-how-i-work--hybrid .home-how-i-work__layout {
    grid-template-columns: 1fr;
  }

  .page-home.page-work .home-how-i-work__copy {
    position: sticky;
    top: calc(var(--nav-height) + 2.5rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .page-home.page-work .home-how-i-work--hybrid .home-how-i-work__copy {
    position: static;
    padding-right: 0;
  }

  .home-how-i-work__title {
    font-size: 72px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  }

  .home-how-i-work__intro {
    font-size: 24px;
    line-height: 1.6;
    max-width: none;
  }

  .home-how-i-work__timeline {
    padding-top: 0.35rem;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-title {
    font-size: 64px;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-desc {
    font-size: 24px;
    line-height: 1.6;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-item {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
  }

  .home-how-i-work__timeline--metro {
    --home-metro-cap: 38px;
    --home-metro-spine-left: 15px;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__terminus {
    gap: clamp(0.75rem, 1.5vw, 1rem);
  }

  .home-how-i-work__terminus--start .home-how-i-work__station--cap,
  .home-how-i-work__terminus--end .home-how-i-work__station--cap {
    flex-basis: 32px;
  }

  .home-how-i-work__terminus--start .home-how-i-work__timeline-dot--cap,
  .home-how-i-work__terminus--end .home-how-i-work__timeline-dot--cap,
  .home-how-i-work__timeline--metro .home-how-i-work__timeline-dot--cap {
    width: 38px;
    height: 38px;
    border-width: 5px;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-list::before {
    display: none;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__timeline-dot {
    width: 18px;
    height: 18px;
  }

  .home-how-i-work__timeline--metro .home-how-i-work__station::after {
    left: calc(50% + 9px);
    top: calc(clamp(1.35rem, 2.5vw, 1.65rem) + 9px);
    width: clamp(1.5rem, 2.5vw, 2.25rem);
  }

  .home-how-i-work__timeline-title {
    font-size: 1.5rem;
  }

  .home-how-i-work__timeline-desc {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .home-how-i-work__timeline-item {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
    padding-bottom: clamp(3.5rem, 4.5vw, 5rem);
  }

  .home-how-i-work__timeline-dot {
    width: 16px;
    height: 16px;
    margin-top: 0.45rem;
  }

  .home-how-i-work__timeline-list::before {
    left: 7px;
  }

  .home-how-i-work__timeline-label--start {
    margin-bottom: 1.25rem;
  }
}

/* ========== Home — AI Thinking ========== */
/* Temporarily hidden on the landing page. Remove this rule to restore. */
#ai-thinking {
  display: none !important;
}

.home-ai-thinking {
  padding: 200px var(--site-gutter);
  background: #000000;
  color: #f5f0e8;
}

@media (max-width: 768px) {
  .home-ai-thinking {
    padding-top: 40px;
  }
}

.home-ai-thinking__inner {
  max-width: none;
  margin: 0 auto;
}

.home-ai-thinking__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
}

.home-ai-thinking__copy {
  min-width: 0;
}

.home-ai-thinking__title {
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f5f0e8;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

#ai-thinking .home-ai-thinking__title {
  max-width: 12em;
  text-wrap: balance;
}

#ai-thinking .home-ai-thinking__title-nowrap {
  white-space: nowrap;
}

.home-ai-thinking__subtitle {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: #f5f0e8;
  margin: 0;
  max-width: 52rem;
}

.home-ai-thinking__subtitle + .home-ai-thinking__subtitle {
  margin-top: 1.25rem;
}

.home-ai-thinking__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  min-width: 0;
  width: 100%;
}

@media (max-width: 640px) {
  .home-ai-thinking__cards {
    grid-template-columns: 1fr;
  }

  #ai-thinking .home-ai-thinking__cards {
    grid-template-columns: 1fr;
  }
}

#ai-thinking .home-ai-thinking__cards {
  grid-template-columns: 1fr;
  gap: 32px;
}

#ai-thinking .home-ai-thinking__card {
  border: 1px solid rgba(26, 26, 24, 0.16);
  background: rgba(0, 0, 0, 0.04);
}

#ai-thinking .home-ai-thinking__card-title {
  font-size: 28px;
  text-transform: none;
  color: #1A1A18;
}

#ai-thinking .home-ai-thinking__card-desc {
  font-size: 24px;
  color: #1A1A18;
}

#ai-thinking .home-ai-thinking__card.is-active {
  background: #306CB3;
  border-color: #306CB3;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#ai-thinking .home-ai-thinking__card.is-active .home-ai-thinking__card-title,
#ai-thinking .home-ai-thinking__card.is-active .home-ai-thinking__card-desc {
  color: #ffffff;
}

/* What I Do Best uses the same base card styles,
   but should remain a single-column sticky stack. */
.what-i-do-best .home-ai-thinking__cards {
  grid-template-columns: 1fr;
}

.home-ai-thinking__card {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #755797;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-ai-thinking__card-title {
  font-family: var(--font-poppins);
  font-size: calc(1.125rem + 4px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: #ffffff;
}

.home-ai-thinking__card-desc {
  font-family: var(--font-lora);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0.25rem 0 0;
  padding-top: 0;
  border-top: none;
}

.home-ai-thinking__card-desc + .home-ai-thinking__card-desc {
  margin-top: 1rem;
}

.home-ai-thinking__card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding-top: 1rem;
  padding-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-ai-thinking__card-chips li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  padding-left: 0;
  color: #ffffff;
}

.home-stroke-aside {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.35rem, 3.5vw, 2rem);
  background: transparent;
}

.home-stroke-aside__text {
  font-family: var(--font-lora);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  max-width: none;
}

.home-ai-thinking__cta-row {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.home-ai-thinking__cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

@media (min-width: 769px) {
  .home-ai-thinking__layout {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .page-home.page-work .home-ai-thinking__copy {
    position: sticky;
    top: calc(var(--nav-height) + 2.5rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .home-ai-thinking__title {
    font-size: 72px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  }

  .home-ai-thinking__subtitle {
    font-size: 24px;
    line-height: 1.6;
    max-width: none;
  }

  .home-ai-thinking__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    padding-top: 0.35rem;
  }

  #ai-thinking .home-ai-thinking__cards {
    grid-template-columns: 1fr;
  }

  .home-ai-thinking__card-desc {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

/* ========== Home — What I Do Best ========== */
.what-i-do-best {
  padding: 140px 80px;
  background: #FFFFFF;
  color: #1A1A18;
  box-sizing: border-box;
}

.what-i-do-best__eyebrow {
  margin: 0;
  font-size: 32px;
  color: #e85a2f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.what-i-do-best .home-ai-thinking__title,
.what-i-do-best .home-ai-thinking__subtitle {
  color: #1A1A18;
}

.what-i-do-best__copy .home-ai-thinking__subtitle {
  margin-bottom: 1.25rem;
}

@media (min-width: 769px) {
  .what-i-do-best__copy {
    position: sticky;
    top: calc(var(--nav-height) + 2.5rem);
  }
}

.what-i-do-best__cards-stack {
  height: auto;
  display: flow-root;
}

/* No-JS fallback only. main.js measures tops, handoff margins, rotation,
   z-index, and last-card runway from live card + viewport geometry. */
.what-i-do-best__cards-stack::after {
  content: '';
  display: block;
  height: calc(clamp(14rem, 32vh, 22rem) + 12rem);
}

.what-i-do-best__cards-stack.is-js-stacked::after {
  content: none;
}

.what-i-do-best__stack-runway {
  width: 100%;
  pointer-events: none;
}

.what-i-do-best__card {
  position: sticky;
  top: calc(var(--nav-height) + 2.5rem);
  margin-bottom: clamp(14rem, 32vh, 22rem);
  padding: 60px;
  border-radius: 24px;
  background: var(--wid-card-bg, #635DCD);
  color: #ffffff;
  border: none;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.22),
    0 3px 10px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transform-origin: center center;
}

/* Swatch order: purple on the outside (1 + 6), then coral, blue, green, red */
.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(1),
.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(6) {
  --wid-card-bg: #635DCD;
  --wid-card-bg-hover: #5249b8;
}

.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(2) {
  --wid-card-bg: #E45C3F;
  --wid-card-bg-hover: #cc4f35;
}

.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(3) {
  --wid-card-bg: #3E97E3;
  --wid-card-bg-hover: #3486cc;
}

.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(4) {
  --wid-card-bg: #3EB75D;
  --wid-card-bg-hover: #349e50;
}

.what-i-do-best__cards-stack .what-i-do-best__card:nth-child(5) {
  --wid-card-bg: #CE3E3F;
  --wid-card-bg-hover: #b53435;
}

.what-i-do-best__cards-stack .what-i-do-best__card:last-of-type {
  margin-bottom: 0;
}

.what-i-do-best__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0px;
  background: #E04F4F;
}

.what-i-do-best__card-tag {
  /* Keep eyebrow copy in the HTML; change to block to restore it. */
  display: none;
  margin: 0 0 1rem;
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  padding: 0;
  color: #ffffff;
}

.what-i-do-best__card .home-ai-thinking__card-title {
  font-size: clamp(1.375rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #ffffff;
}

.what-i-do-best__card-num {
  margin-right: 0.45em;
  color: inherit;
}

.what-i-do-best__card .home-ai-thinking__card-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 1.25rem;
}

.what-i-do-best__card .home-ai-thinking__card-desc:has(+ .home-ai-thinking__card-desc) {
  margin-bottom: 0;
}

.what-i-do-best__card .home-ai-thinking__card-desc + .home-ai-thinking__card-desc {
  font-weight: 700;
  margin-top: 0;
}

.what-i-do-best__card .home-ai-thinking__card-desc + .home-ai-thinking__card-desc::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 20px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.what-i-do-best__card-list-title {
  margin: 0;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.what-i-do-best__card-list-title + .what-i-do-best__card-list {
  padding-top: 0;
  border-top: none;
}

.what-i-do-best__card-list {
  margin: 0;
  padding: 1.25rem 0 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: disc;
  font-family: var(--font-lora);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: #ffffff;
}

.what-i-do-best__card-list--inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding-left: 0;
  list-style: none;
}

.what-i-do-best__card-list--inline span:not(:last-child) {
  margin-right: 0;
}

.what-i-do-best__card-list li + li {
  margin-top: 0.4rem;
}

@media (hover: hover) {
  .what-i-do-best__card:hover {
    background: var(--wid-card-bg-hover, #5249b8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow:
      0 10px 34px rgba(0, 0, 0, 0.22),
      0 3px 10px rgba(0, 0, 0, 0.14);
  }

  .what-i-do-best__card:hover .home-ai-thinking__card-title {
    color: #ffffff;
  }

  .what-i-do-best__card:hover .home-ai-thinking__card-desc {
    color: #ffffff;
  }
}

@media (max-width: 768px) {
  .what-i-do-best__cards-stack {
    padding-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .what-i-do-best .home-ai-thinking__cards,
  .what-i-do-best__cards {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .what-i-do-best__card-list--inline {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 1rem;
  }

  .what-i-do-best__card-list {
    display: none;
  }

  .what-i-do-best__cards-stack::after {
    content: none;
  }

  .what-i-do-best__stack-runway {
    display: none;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card {
    position: relative;
    transform: none;
    margin-top: 0;
    margin-bottom: 2rem;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px;
    /* Keep swatch fills on white section so tile colors/type stay readable */
    background: var(--wid-card-bg, #635DCD);
    color: #ffffff;
    box-shadow: none;
    overflow: visible;
    border: none;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card:hover {
    background: var(--wid-card-bg-hover, #5249b8);
    box-shadow: none;
    border: none;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card:not(:last-of-type)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 50px;
    height: 1px;
    margin-top: 40px;
    margin-left: -25px;
    background: rgba(255, 255, 255, 0.8);
    transform: rotate(-20deg);
    transform-origin: center center;
    pointer-events: none;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card:nth-child(n) {
    position: relative;
    transform: none;
    margin-top: 0;
    margin-bottom: 2rem;
    top: auto;
    z-index: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card:nth-child(n):hover {
    transform: none;
  }

  .what-i-do-best__cards-stack .what-i-do-best__card:not(:last-of-type) {
    margin-bottom: calc(81px + 1.25rem);
  }

  .what-i-do-best__card .home-ai-thinking__card-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .what-i-do-best__card .home-ai-thinking__card-desc {
    font-size: 1.0625rem;
  }
}

/* ========== Home — Lead Statement ========== */
.home-lead-statement {
  background: #000000;
  color: #ffffff;
  padding: 200px 80px 140px;
  box-sizing: border-box;
}

.home-lead-statement__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin: 0 auto;
}

.home-lead-statement__copy {
  position: relative;
  min-width: 0;
}

.home-lead-statement__copy p {
  margin: 0 0 1.8rem;
  font-family: var(--font-lora);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.home-lead-statement__copy p:last-child {
  margin-bottom: 0;
}

.home-lead-statement__portrait {
  margin: 0;
  justify-self: start;
  text-align: left;
  line-height: 0;
}

/* Desktop height synced to copy in main.js so the section wraps the tree. */
.home-lead-statement__portrait img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: top left;
  margin: 0;
  vertical-align: top;
}

@media (max-width: 768px) {
  .home-lead-statement {
    padding: 48px 20px 140px;
  }

  .home-lead-statement__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-lead-statement__portrait img {
    width: 160px;
    height: auto !important;
    max-width: 160px;
  }

  .home-lead-statement__copy p {
    font-size: 1.375rem;
    line-height: 1.5;
  }
}

/* ========== Home — Connect CTA ========== */
.home-connect-cta {
  background: #FFFFFF;
  color: #1A1A18;
  padding: 140px 80px 160px;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.home-connect-cta__inner {
  max-width: none;
  margin: 0 auto;
}

.home-connect-cta__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-connect-cta__eyebrow {
  margin: 0 0 0.75rem;
}

.home-connect-cta__title {
  margin: 0;
  font-family: var(--font-section);
  font-size: 140px;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1A1A18;
}

.home-connect-cta__title-line {
  display: block;
}

.home-connect-cta__visual {
  margin: 0;
  max-width: min(100%, 28rem);
  justify-self: start;
}

.home-connect-cta__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-connect-cta__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.home-connect-cta__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 1.5rem;
}

.home-connect-cta__name {
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1A1A18;
}

.home-connect-cta__role {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(26, 26, 24, 0.62);
}

.home-connect-cta__prompt {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: #1A1A18;
}

.home-connect-cta__email {
  font-family: var(--font-section);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #1A1A18;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.home-connect-cta__email:hover,
.home-connect-cta__email:focus-visible {
  color: #e85a2f;
}

.home-connect-cta__phone {
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: #1A1A18;
  text-decoration: none;
}

.home-connect-cta__phone:hover,
.home-connect-cta__phone:focus-visible {
  color: #e85a2f;
}

.home-connect-cta__availability {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-family: var(--font-lora);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(26, 26, 24, 0.78);
}

@media (min-width: 769px) {
  .home-connect-cta__hero {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas: "visual intro";
    gap: clamp(2rem, 5vw, 5rem);
  }

  .home-connect-cta__intro {
    grid-area: intro;
  }

  .home-connect-cta__visual {
    grid-area: visual;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-connect-cta {
    padding: 48px 20px 64px;
  }

  .home-connect-cta__title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  .home-connect-cta__visual {
    justify-self: start;
    max-width: min(100%, 20rem);
  }
}

/* ========== Home — Superpowers ========== */
.home-about-frank {
  padding: 140px var(--site-gutter);
  background: linear-gradient(165deg, #143a6e 0%, #0a2b5e 35%, #061a3a 70%, #020d20 100%);
  color: #f5f0e8;
}

.home-about-frank__inner {
  max-width: none;
  margin: 0 auto;
}

.home-about-frank__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
}

.home-about-frank__copy {
  min-width: 0;
}

.home-about-frank__copy .home-stroke-aside {
  margin: 0;
  padding: 0;
}

.home-about-frank__copy .home-stroke-aside__text {
  font-family: var(--font-lora);
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #f5f0e8;
}

.home-about-frank__copy .home-stroke-aside__text + .home-stroke-aside__text {
  margin-top: 1.25rem;
}

.home-about-frank__title {
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f5f0e8;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.home-about-frank__themes-stack {
  min-width: 0;
  width: 100%;
}

.home-about-frank__theme-spacer,
.home-about-frank__themes-release {
  display: none;
}

.home-about-frank__themes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1rem);
  min-width: 0;
  width: 100%;
}

.home-about-frank__theme {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 12px;
  border: 1px solid rgba(245, 240, 232, 0.28);
  background: rgba(0, 0, 0, 0.1);
}

.home-about-frank__theme-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: #f5f0e8;
}

.home-about-frank__theme-desc {
  font-family: var(--font-lora);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #f5f0e8;
  margin: 0;
  max-width: none;
}

.home-about-frank__theme-desc + .home-about-frank__theme-desc {
  margin-top: 0.85rem;
}

.home-about-frank__cta-row {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.page-home.page-work .home-about-frank {
  padding-bottom: 40px;
}

.home-about-frank__cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

@media (min-width: 769px) {
  .home-about-frank__layout {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .page-home.page-work .home-about-frank__copy {
    position: sticky;
    top: calc(var(--nav-height) + 2.5rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .home-about-frank__title {
    font-size: 72px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  }

  .home-about-frank__copy .home-stroke-aside__text {
    font-size: 24px;
    line-height: 1.6;
  }

  .home-about-frank__themes {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0.35rem;
  }

  .home-about-frank__theme-desc {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

.page-home.page-work .media-block {
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.page-home.page-work .media-block-inner {
  max-width: none;
}

.page-home.page-work .client-logos-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px var(--site-gutter);
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .page-home.page-work .client-logos-inner {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .page-home.page-work .client-logos-grid {
    gap: 16px;
    width: 100%;
  }
}

@media (min-width: 769px) {
  .page-home.page-work .home-intro-body {
    margin-right: 0;
  }

  /* Float layout: illustration left, text right, body copy wraps
     beneath the illustration once it runs past its height. flow-root
     contains the float so it can't bleed into the next section. */
  .page-home.page-work .home-intro-copy {
    margin-right: 0;
    display: flow-root;
  }

  .page-home.page-work .home-intro-text {
    display: block;
  }

  .page-home.page-work .home-intro-portrait {
    float: left;
    width: clamp(20rem, 30vw, 28rem);
    max-width: 45%;
    margin: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 1.75rem) 0;
  }
}

@media (min-width: 769px) {
  .page-home.page-work .media-block-grid.home-media-showcase__grid {
    display: block;
  }

  .page-home.page-work .media-block-grid.home-media-showcase__grid .media-card--landscape {
    width: 100%;
    aspect-ratio: 935 / 526;
  }
}

@media (min-width: 769px) {
  .page-home.page-work .media-block-grid:not(.home-media-showcase__grid) {
    display: grid;
    grid-template-columns: minmax(0, 1.897fr) minmax(0, 0.75fr);
    align-items: start;
  }

  .page-home.page-work .media-block-stack {
    width: auto;
    min-width: 0;
  }

  .page-home.page-work .media-block-grid .media-card--landscape {
    width: 100%;
    aspect-ratio: 1360 / 717;
  }

  .page-home.page-work .media-block-grid .media-card--portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 1600px) {
  .page-work {
    --work-side-padding: max(5%, 100px);
    --site-gutter: var(--work-side-padding);
  }

  .page-home.page-work .home-intro,
  .page-home.page-work .home-media-showcase,
  .page-home.page-work .home-how-i-work,
  .page-home.page-work .home-ai-thinking,
  .page-home.page-work .home-about-frank,
  .page-home.page-work .media-block {
    padding-left: 0;
    padding-right: 0;
  }

  .page-home.page-work .home-intro-inner,
  .page-home.page-work .about-intro--home-hero .about-intro-wrap,
  .page-home.page-work .home-media-showcase .media-block-inner,
  .page-home.page-work .home-how-i-work__inner,
  .page-home.page-work .home-ai-thinking__inner,
  .page-home.page-work .home-about-frank__inner,
  .page-home.page-work .client-logos-inner {
    max-width: var(--layout-max-wide);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home.page-work .home-intro-body {
    margin-right: 0;
  }

  .page-home.page-work .home-intro-copy {
    margin-right: 0;
  }
}

/* ========== Media Block ========== */
.media-block {
  padding: 0 var(--space-page) 80px;
}

.media-block-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.media-block-grid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.media-block-stack {
  width: 36%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-block-clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.media-block-recent {
  width: 100%;
  background: var(--color-bg);
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.media-block-recent-title {
  font-family: var(--font-section);
  font-size: clamp(3.51rem, 8.19vw, 5.85rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 1.25rem;
  text-align: left;
}

@media (min-width: 769px) {
  .page-work .media-block-recent {
    padding-left: 0;
    padding-right: 0;
  }
}

.media-card[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.media-card--duo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.media-card {
  position: relative;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.media-card--landscape {
  width: 62%;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
}

.media-card--landscape.media-card--photo-only {
  align-items: stretch;
  justify-content: stretch;
}

.media-card--landscape.media-card--photo-only .media-card-photo {
  object-fit: cover;
  object-position: center;
}

.media-card--portrait {
  width: 100%;
  aspect-ratio: 5 / 8;
  align-items: flex-end;
  justify-content: flex-start;
  background: #1a1a1a;
}

.media-card--portrait.media-card--photo-only {
  align-items: stretch;
  justify-content: stretch;
}

.media-card--portrait.media-card--photo-only::before {
  display: none;
}

.media-card--fedex {
  background: linear-gradient(160deg, #1a1028 0%, #3d2858 45%, #7c4dab 100%);
}

.media-card--cisco {
  background: linear-gradient(160deg, #0c1a30 0%, #1a3366 45%, #2b5494 100%);
}

.media-card--chase {
  background: linear-gradient(160deg, #0a2d52 0%, #117aca 45%, #3d9fd9 100%);
}

.media-card--globe {
  background: linear-gradient(160deg, #142824 0%, #2a5248 45%, #3d7568 100%);
}

.media-card--mufg {
  background: linear-gradient(160deg, #1a1520 0%, #3d2d48 45%, #5a4560 100%);
}

.media-card--tmobile {
  background: linear-gradient(160deg, #2a1018 0%, #6b1838 45%, #b81050 100%);
}

.media-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.media-card--portrait::before,
.media-card--duo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.12) 62%,
    transparent 78%
  );
  pointer-events: none;
}

.media-card--duo .media-card-logo {
  display: block;
  position: static;
  height: clamp(44px, 7vw, 64px);
  width: auto;
  max-width: min(220px, 55%);
  object-fit: contain;
  object-position: left center;
  margin: 0 0 0.625rem;
  filter: brightness(0) invert(1);
}

.media-card-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 100%;
  width: 100%;
}

.media-card-overlay-title {
  font-family: var(--font-section);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.media-card-overlay-body {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1rem;
  max-width: 32ch;
}

.media-card-overlay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.media-card--duo:hover .media-card-overlay-cta,
a.media-card--portrait:hover .media-card-overlay-cta,
.media-card-overlay-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.media-card--duo .media-card-overlay {
  padding: 24px;
}

.media-card--duo .media-card-overlay-body {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: 36ch;
}

.media-card--portrait .media-card-overlay {
  padding: 24px;
}

.media-card--portrait .media-card-overlay-body {
  font-size: 0.875rem;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.media-card-label {
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}

@media (max-width: 768px) {
  .media-block-grid {
    flex-direction: column;
  }

  .media-block-stack {
    width: 100%;
  }

  .media-card--landscape,
  .media-card--portrait {
    width: 100%;
  }

  .media-block-clients {
    grid-template-columns: 1fr;
  }

  .media-card--duo {
    aspect-ratio: 16 / 10;
  }
}

/* ========== Work Page (Featured) ========== */
.work-page-main {
  background: var(--color-bg);
}

.work-page__content {
  padding: clamp(2rem, 5vw, 3rem) var(--site-gutter) var(--space-xl);
}

.work-page {
  padding: calc(var(--nav-height) + 20px) var(--site-gutter) var(--space-xl);
  background: var(--color-bg);
}

.is-offstage {
  display: none !important;
}

.work-featured-title {
  font-family: var(--font-section);
  font-size: clamp(4.5rem, 10.5vw, 7.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
}

.page-work-list .work-featured-title {
  padding-top: 0;
}

.work-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.6vw, 2.4rem);
  width: 100%;
}

.work-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3.25fr);
  min-height: clamp(280px, 40vh, 420px);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  position: relative;
  isolation: isolate;
  background: transparent;
  --tile-halo: rgba(255, 255, 255, 0.7);
  --tile-halo-glow: rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.55s ease-out;
}

.work-showcase-card:hover,
.work-showcase-card:focus-within {
  box-shadow:
    0 0 0 2px var(--tile-halo),
    0 0 28px 4px var(--tile-halo-glow);
  transition: box-shadow 0.1s ease-in;
}

.work-showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.work-showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 1;
}

.work-showcase-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  min-height: 100%;
  padding: 24px clamp(1.8rem, 3.6vw, 2.4rem);
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.work-showcase-card__eyebrow {
  height: clamp(21px, 2.64vw, 29px);
  width: auto;
  max-width: min(117px, 53%);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 1;
  flex-shrink: 0;
}

.work-showcase-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.work-showcase-card__headline {
  font-family: var(--font-section);
  font-size: clamp(calc(2.22rem + 10px), calc(3.6vw + 10px), calc(3rem + 10px));
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: min(100%, 11em);
  margin: 0;
  opacity: 1;
}

.work-showcase-card__meta {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  max-width: min(100%, 26em);
  opacity: 1;
}

.work-showcase-card__cta.cta-button {
  align-self: flex-start;
  margin: 0;
  opacity: 1;
  padding: 0.6rem calc(1.38rem + 24px);
  font-size: 0.975rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #fff;
  position: relative;
  z-index: 2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.work-showcase-card__cta.cta-button:hover {
  background: #1e8196;
  border-color: #1e8196;
  color: #fff;
}

.work-showcase-card__cta.cta-button--coming-soon {
  background: rgba(110, 110, 110, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  cursor: default;
  pointer-events: none;
}

.work-showcase-card__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px clamp(1.5rem, 3.6vw, 2.4rem);
  overflow: hidden;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.work-showcase-card__visual-media {
  width: min(100%, 420px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center right;
}

.work-showcase-card__visual-logo {
  width: min(72%, 320px);
  height: auto;
  max-height: 65%;
  object-fit: contain;
  object-position: right center;
  filter: brightness(0) invert(1);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

/* Showcase tile preview — drop into .work-showcase-card__visual--preview on any tile */
.work-showcase-card__visual--preview {
  align-items: stretch;
  justify-content: stretch;
  padding: clamp(0.35rem, 0.9vw, 0.55rem);
  padding-left: 0;
}

.work-showcase-card__preview-link {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.work-showcase-card__preview-link:focus-visible {
  outline: 2px solid var(--color-brand-orange);
  outline-offset: 2px;
  border-radius: 8px;
}

.work-showcase-card__preview-link .work-showcase-preview {
  width: 100%;
  max-width: none;
}

.work-showcase-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: clamp(200px, 32vh, 360px);
  margin: 0;
  opacity: 1;
}

/* Composite preview image — label + frame baked into asset; no duplicate chrome */
.work-showcase-preview--composite .work-showcase-preview__label {
  display: none;
}

.work-showcase-preview--composite .work-showcase-preview__frame {
  flex: 1;
  display: flex;
  min-height: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 8px;
  overflow: hidden;
}

.work-showcase-preview--composite .work-showcase-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.work-showcase-preview__label {
  position: absolute;
  top: clamp(0.65rem, 1.5vw, 1rem);
  right: clamp(0.65rem, 1.5vw, 1rem);
  z-index: 2;
  font-family: var(--font-section);
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  max-width: 10em;
  pointer-events: none;
}

.work-showcase-preview__frame {
  flex: 1;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.work-showcase-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.work-showcase-preview__frame--empty {
  min-height: clamp(160px, 24vh, 280px);
  background: rgba(0, 0, 0, 0.2);
}

.work-showcase-card__visual--pending .work-showcase-preview__label {
  display: none;
}

.work-showcase-card--fedex {
  --tile-halo: rgba(154, 111, 212, 0.9);
  --tile-halo-glow: rgba(124, 77, 171, 0.55);
}

.work-showcase-card--fedex::after {
  background: linear-gradient(160deg, #1a1028 0%, #3d2858 45%, #7c4dab 100%);
}

.work-showcase-card--cisco {
  --tile-halo: rgba(63, 127, 208, 0.9);
  --tile-halo-glow: rgba(43, 84, 148, 0.55);
}

.work-showcase-card--cisco::after {
  background: linear-gradient(160deg, #0c1a30 0%, #1a3366 45%, #2b5494 100%);
}

.work-showcase-card--cisco .work-showcase-card__eyebrow {
  height: clamp(25px, 3.17vw, 35px);
  max-width: min(140px, 64%);
}

.work-showcase-card--chase {
  --tile-halo: rgba(74, 168, 230, 0.9);
  --tile-halo-glow: rgba(61, 159, 217, 0.55);
}

.work-showcase-card--chase::after {
  background: linear-gradient(160deg, #0a2d52 0%, #117aca 45%, #3d9fd9 100%);
}

.work-showcase-card--globe {
  --tile-halo: rgba(79, 147, 132, 0.9);
  --tile-halo-glow: rgba(61, 117, 104, 0.55);
}

.work-showcase-card--globe::after {
  background: linear-gradient(160deg, #142824 0%, #2a5248 45%, #3d7568 100%);
}

.work-showcase-card--mufg {
  --tile-halo: rgba(122, 98, 136, 0.9);
  --tile-halo-glow: rgba(90, 69, 96, 0.55);
}

.work-showcase-card--mufg::after {
  background: linear-gradient(160deg, #1a1520 0%, #3d2d48 45%, #5a4560 100%);
}

.work-showcase-card--tmobile {
  --tile-halo: rgba(232, 64, 127, 0.9);
  --tile-halo-glow: rgba(184, 16, 80, 0.55);
}

.work-showcase-card--tmobile::after {
  background: linear-gradient(160deg, #2a1018 0%, #6b1838 45%, #b81050 100%);
}

.see-all-work-tile.work-cta-band {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.page-work .work-page-cta-stack {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.contact-page__body {
  max-width: 42em;
}

/* ========== Contact Page ========== */
.page-contact {
  background: var(--color-bg);
}

.contact-page-main {
  background: var(--color-bg);
}

.contact-page__content {
  padding: clamp(2rem, 5vw, 3rem) calc(100px + var(--site-gutter)) clamp(3rem, 8vw, 5rem);
  max-width: min(52rem, 100%);
  margin: 0 auto;
  container-type: inline-size;
}

.contact-page {
  padding: calc(var(--nav-height) + 20px) var(--site-gutter) clamp(3rem, 8vw, 5rem);
  min-height: calc(100dvh - var(--nav-height));
}

.contact-page__inner {
  max-width: min(52rem, 100%);
  margin: 0 auto;
  container-type: inline-size;
}

.contact-page__title {
  font-family: var(--font-section);
  font-size: clamp(2.8125rem, 7.2cqi, 6.375rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding-top: 0;
  color: var(--color-text);
}

.contact-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(7.5rem, 18vw, 11.25rem);
  grid-template-rows: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-portrait {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: center;
}

.contact-portrait__frame {
  width: clamp(7.5rem, 18vw, 11.25rem);
  height: clamp(7.5rem, 18vw, 11.25rem);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f7941d;
  background: #f7941d;
}

.contact-portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.contact-portrait__caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.75rem;
}

.contact-portrait__name {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

.contact-portrait__role {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  line-height: 1.3;
  color: var(--color-muted-accessible);
}

.contact-bubble {
  --contact-bubble-bg: #E8EDF3;
  --contact-bubble-text: #1a1a18;
  grid-column: 1;
  grid-row: 1 / -1;
  position: relative;
  padding: 10px;
  border-radius: 10px;
  background: var(--contact-bubble-bg);
  color: var(--contact-bubble-text);
  margin-bottom: 1.5rem;
}

.contact-bubble::before,
.contact-bubble::after {
  content: '';
  position: absolute;
  background: var(--contact-bubble-bg);
  border-radius: 50%;
}

.contact-bubble::before {
  top: auto;
  bottom: -0.65rem;
  right: clamp(2.5rem, 12%, 5rem);
  left: auto;
  width: 1.25rem;
  height: 1.25rem;
}

.contact-bubble::after {
  top: auto;
  bottom: -1.85rem;
  right: clamp(1rem, 6%, 3.5rem);
  left: auto;
  width: 0.65rem;
  height: 0.65rem;
}

.contact-bubble__text {
  font-family: var(--font-sans);
  font-size: clamp(1.38125rem, 2.86vw, 1.625rem);
  font-weight: 400;
  line-height: 1.65;
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  max-width: 38em;
}

.contact-bubble__text:last-of-type {
  margin-bottom: clamp(1.75rem, 4.5vw, 2.5rem);
}

.contact-bubble__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.contact-bubble__cta-row .contact-bubble__cta {
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
}

.contact-bubble__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem clamp(1.5rem, 4vw, 2rem);
  border: 2px solid var(--contact-bubble-text);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--contact-bubble-text);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-bubble__cta:hover,
.contact-bubble__cta:focus-visible {
  background: var(--contact-bubble-text);
  border-color: var(--contact-bubble-text);
  color: #fff;
}

.contact-options__title {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-muted-accessible);
  margin: 0 0 1rem;
}

.contact-options__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-options__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--color-text);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-options__btn:hover,
.contact-options__btn:focus-visible {
  background: var(--color-brand-orange);
  color: #fff;
  border-color: var(--color-brand-orange);
}

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

.page-contact .contact-page__content {
  padding-left: calc(100px + var(--site-gutter));
  padding-right: calc(100px + var(--site-gutter));
}

@media (min-width: 769px) {
  .page-contact .contact-page__content {
    padding-left: calc(100px + var(--work-side-padding));
    padding-right: calc(100px + var(--work-side-padding));
  }

  .ai-page {
    padding-top: calc(var(--nav-height) + var(--page-main-top-pad));
  }

  .ai-page__title {
    padding-top: var(--page-title-top-gap);
  }

  .page-ai .ai-page__content,
  .page-ai .ai-page {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-ai .about-intro-wrap.ai-page__content {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-ai .ai-page__section-label {
    font-size: calc(var(--text-base) * 2.94);
  }

  .page-ai .ai-post__title {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  }

  .page-ai .ai-post-list {
    margin-left: calc(-1 * var(--work-side-padding));
    margin-right: calc(-1 * var(--work-side-padding));
  }

  .page-ai .ai-post {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-ai .ai-article__inner {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }
}

/* ========== AI Thinking Page ========== */
.page-ai {
  background: var(--color-bg);
  --ai-post-zebra-dark: var(--color-bg);
  --ai-post-zebra-gray: color-mix(in srgb, var(--color-text) 5%, var(--color-bg));
}

[data-theme="dark"] .page-ai {
  --ai-post-zebra-dark: #0d0d0b;
  --ai-post-zebra-gray: #161614;
}

.ai-page-main {
  background: var(--color-bg);
}

.about-hero--inverted .ai-page__lede p {
  color: var(--about-hero-muted);
}

.ai-page__content {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.ai-page__section-label {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-barlow);
  font-size: calc(var(--text-base) * 2.1);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-text);
}

.ai-page__lede {
  margin-top: 0;
}

.ai-page {
  padding: calc(var(--nav-height) + 20px) var(--site-gutter) clamp(2rem, 5vw, 3rem);
}

.ai-page__inner {
  max-width: min(42rem, 100%);
  margin: 0 auto;
}

.ai-page__title {
  font-family: var(--font-section);
  font-size: clamp(2.8125rem, 7.2cqi, 4.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  padding-top: 0;
  color: var(--color-text);
}

.ai-page__intro {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.ai-post-list {
  display: flex;
  flex-direction: column;
  margin-left: calc(-1 * var(--site-gutter));
  margin-right: calc(-1 * var(--site-gutter));
}

.ai-post {
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--site-gutter);
  border-top: none;
}

.ai-post:nth-child(odd) {
  background: var(--ai-post-zebra-dark);
}

.ai-post:nth-child(even) {
  background: var(--ai-post-zebra-gray);
}

.ai-post:last-child {
  border-bottom: none;
}

.ai-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-accessible);
}

.ai-post__tag {
  color: var(--color-text);
}

.ai-post__title {
  font-family: var(--font-barlow);
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.ai-post__title a {
  color: var(--color-text);
  text-decoration: none;
}

.ai-post__title a:hover,
.ai-post__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ai-post__excerpt {
  font-family: var(--font-lora);
  font-size: clamp(1.125rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 1rem;
  max-width: 52rem;
}

.ai-post__link {
  font-size: 1rem;
}

.ai-page__footer-note {
  font-family: var(--font-lora);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--color-muted-accessible);
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  max-width: 36rem;
}

/* AI article (detail) */
.ai-article {
  padding: calc(var(--nav-height) + 20px) var(--site-gutter) clamp(3rem, 8vw, 5rem);
}

.ai-article__inner {
  max-width: min(40rem, 100%);
  margin: 0 auto;
}

.ai-article__back {
  display: inline-block;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-size: 0.9375rem;
}

.ai-article__title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-text);
}

.ai-article__lead {
  font-family: var(--font-lora);
  font-size: 1.375rem;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 1.5rem;
}

.ai-article__body p {
  font-family: var(--font-lora);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 1.25rem;
}

.ai-article__heading {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.ai-article__status {
  font-style: italic;
  color: var(--color-muted-accessible);
}

.ai-article__footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--color-section-divider);
}

@media (min-width: 769px) {
  .ai-article {
    padding-top: calc(var(--nav-height) + var(--page-main-top-pad));
  }
}

@media (max-width: 768px) {
  .page-contact .contact-page__content {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .contact-portrait {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }

  .contact-bubble {
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .contact-scene {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .contact-portrait {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .contact-portrait__frame {
    flex-shrink: 0;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0;
  }

  .contact-portrait__caption {
    margin-top: 0;
  }

  .contact-bubble {
    grid-column: 1;
    grid-row: 2;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    border-radius: 10px;
  }

  .contact-bubble::before {
    top: -0.65rem;
    bottom: auto;
    left: calc(var(--site-gutter) + 2.75rem - 0.625rem);
    right: auto;
    width: 1.25rem;
    height: 1.25rem;
  }

  .contact-bubble::after {
    top: -1.85rem;
    bottom: auto;
    left: calc(var(--site-gutter) + 2rem - 0.325rem);
    right: auto;
    width: 0.65rem;
    height: 0.65rem;
  }
}

.connect-section {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--color-section-divider);
}

.connect-tile-section {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.connect-tile {
  display: block;
  width: 100%;
  padding: calc(clamp(1.75rem, 4vw, 2.75rem) + 100px) 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--color-text);
  text-decoration: none;
}

.connect-tile__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.connect-tile__title {
  font-family: var(--font-section);
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: inherit;
  flex-shrink: 0;
}

.connect-tile__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.connect-tile__link {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.connect-tile__link:hover,
.connect-tile__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.connect-tile__link--email {
  order: -1;
  margin-right: auto;
}

.connect-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.connect-tile__icon img {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
}

.connect-tile__icon:hover,
.connect-tile__icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.connect-tile__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 85%, transparent);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.connect-tile__button:hover,
.connect-tile__button:focus-visible {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #fff;
}

.connect-tile__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
}

.connect-tile__label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--connect-tile-text) 72%, transparent);
  margin: 0 0 var(--space-sm);
}

.connect-tile__body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 0;
  color: inherit;
}

.connect-tile__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.connect-tile__social {
  margin: 1.25rem 0 0;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 1.5;
}

.connect-tile__social a {
  color: color-mix(in srgb, var(--connect-tile-text) 82%, transparent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.connect-tile__social .link-sep {
  color: color-mix(in srgb, var(--connect-tile-text) 45%, transparent);
}

@media (max-width: 768px) {
  .connect-tile__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .connect-tile__actions {
    width: 100%;
    justify-content: flex-start;
    row-gap: 1rem;
  }

  .connect-tile__actions::before {
    content: '';
    flex-basis: 100%;
    order: 2;
    width: 0;
    height: 0;
  }

  .connect-tile__link--email {
    order: 1;
    margin-right: 0;
  }

  .connect-tile__link:not(.connect-tile__link--email) {
    order: 1;
  }

  .connect-tile__icon {
    order: 3;
  }
}

/* ========== Footer Redesign (Figma) ========== */
.site-footer-redesign {
  position: relative;
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-brand-orange);
  color: #010101;
  padding: 100px 0 60px;
  overflow: hidden;
}

.site-footer-redesign__wordmark-row {
  display: flex;
  justify-content: flex-start;
  padding: 0 80px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.site-footer-redesign__wordmark {
  font-family: var(--font-section);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #010101;
  text-decoration: none;
}

.site-footer-redesign__wordmark:hover {
  opacity: 0.75;
}

.site-footer-redesign__columns {
  display: flex;
  justify-content: space-between;
  gap: 199px;
  padding: 0 80px;
}

.site-footer-redesign__left {
  max-width: 620px;
  min-width: 0;
}

.site-footer-redesign__bio {
  font-family: var(--font-poppins);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #010101;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}

.site-footer-redesign__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer-redesign__contact-link {
  font-family: var(--font-poppins);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: #010101;
  text-decoration: none;
}

.site-footer-redesign__contact-link:hover,
.site-footer-redesign__contact-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer-redesign__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.site-footer-redesign__nav-link {
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #010101;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  padding-bottom: 4px;
}

.site-footer-redesign__nav-link:hover,
.site-footer-redesign__nav-link:focus-visible {
  opacity: 0.7;
}

.site-footer-redesign__art {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 90px;
  width: 212px;
  height: 221px;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer-redesign__art img[hidden] {
  display: none;
}

.site-footer-redesign__art img:not([hidden]) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer-redesign__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  padding: 0 80px;
  margin-top: auto;
}

.site-footer-redesign__byline,
.site-footer-redesign__copyright {
  font-family: var(--font-poppins);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #010101;
  margin: 0;
}

.site-footer-redesign__copyright {
  text-align: right;
}

@media (max-width: 768px) {
  .site-footer-redesign {
    padding-top: 20px;
  }

  .site-footer-redesign__wordmark-row {
    justify-content: flex-start;
    padding: 0 var(--space-md);
    width: 100%;
    box-sizing: border-box;
  }

  .site-footer-redesign__columns {
    flex-direction: column;
    gap: clamp(2rem, 8vw, 3rem);
    padding: 0 var(--space-md);
  }

  .page-home .site-footer-redesign__bio {
    display: none;
  }

  .site-footer-redesign__nav {
    align-items: flex-start;
  }

  .site-footer-redesign__art {
    position: static;
    margin: clamp(2rem, 8vw, 3rem) auto 0;
  }

  .site-footer-redesign__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: 0 var(--space-md);
    margin-top: clamp(2rem, 8vw, 3rem);
  }

  .site-footer-redesign__copyright {
    text-align: left;
  }
}

.connect-section__title {
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.connect-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
}

.connect-block__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-accessible);
  margin: 0 0 var(--space-sm);
}

.connect-block__body {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 0;
}

.connect-block__body a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  .work-showcase-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .work-showcase-card::after {
    opacity: 1;
  }

  .work-showcase-card::before {
    background: transparent;
  }

  .work-showcase-card__eyebrow,
  .work-showcase-card__headline,
  .work-showcase-card__meta,
  .work-showcase-card__cta.cta-button {
    opacity: 1;
  }

  .work-showcase-card__visual {
    display: none;
  }

  .work-showcase-card__content {
    order: 1;
    grid-column: 1;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
    min-height: auto;
  }

  .work-showcase-card--compact .work-showcase-card__headline {
    margin-top: 0;
    margin-bottom: 0;
  }

  .work-showcase-card__headline {
    max-width: none;
  }
}

.work-showcase-card--compact .work-showcase-card__content {
  padding: 24px clamp(1.5rem, 3.6vw, 2.1rem);
}

.work-showcase-card--compact .work-showcase-card__headline {
  font-size: clamp(calc(2.22rem + 10px), calc(3.6vw + 10px), calc(3rem + 10px));
  max-width: min(100%, 11em);
}

.work-showcase-card[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.page-work .work-showcase-card[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--work-tile-anchor-peek));
}

.home-recent-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.home-recent-header .media-block-recent-title {
  margin-bottom: 0;
}

.home-recent-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.home-recent-cta-stack .home-cta-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  margin-top: 0;
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.75rem, 4.5vw, 2.75rem);
  border-radius: 16px;
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-cta-tile__arrow {
  flex-shrink: 0;
  font-size: 1.35em;
  line-height: 1;
}

.home-cta-tile--see-all-work {
  font-family: var(--font-section);
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.home-recent-cta-stack .home-cta-tile--see-all-work {
  font-size: clamp(2rem, 4vw, 50px);
  line-height: 1.1;
}

.home-recent-cta-stack .home-cta-tile--see-all-work .home-cta-tile__arrow {
  font-size: 1.35em;
}

.home-cta-tile--see-all-work:hover,
.home-cta-tile--see-all-work:focus-visible {
  background: #1e8196;
  border-color: #1e8196;
  color: #fff;
}

[data-theme="dark"] .home-cta-tile--see-all-work {
  border-color: #fff;
  color: #fff;
}

[data-theme="dark"] .home-cta-tile--see-all-work:hover,
[data-theme="dark"] .home-cta-tile--see-all-work:focus-visible {
  background: #1e8196;
  border-color: #1e8196;
  color: #fff;
}

.home-cta-tile--work-with-me {
  font-family: var(--font-section);
  background: var(--color-brand-orange);
  border: 1px solid transparent;
  color: #fff;
}

.home-recent-cta-stack .home-cta-tile--work-with-me {
  font-size: clamp(2rem, 4vw, 50px);
  line-height: 1.1;
}

.home-recent-cta-stack .home-cta-tile--work-with-me .home-cta-tile__arrow {
  font-size: 1.35em;
}

.home-cta-tile--work-with-me:hover,
.home-cta-tile--work-with-me:focus-visible {
  background: #1e8196;
  border-color: #1e8196;
  color: #fff;
}

.home-recent .work-cta-band {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-home .home-recent .work-cta-band {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.see-all-work-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.75rem, 4.5vw, 2.75rem);
  border-radius: 16px;
  background: rgba(245, 240, 232, 0.7);
  color: var(--color-text);
  border: none;
  opacity: 0.7;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.see-all-work-tile:hover {
  background: rgba(245, 240, 232, 0.9);
  color: var(--color-text);
  opacity: 1;
}

.see-all-work-tile:focus-visible {
  opacity: 1;
}

.see-all-work-tile__arrow {
  flex-shrink: 0;
  font-size: 1.35em;
  line-height: 1;
}

.home-recent-all {
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}

.page-home .work-cta-band,
.page-home .connect-section,
.page-home .connect-tile-section {
  max-width: var(--layout-max-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}

.page-home .connect-tile-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.page-home .work-cta-band.see-all-work-tile {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.page-home .connect-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 769px) {
  .page-work .connect-tile-section,
  .page-about .connect-tile-section,
  .page-contact .connect-tile-section,
  .page-ai .connect-tile-section {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }
}

@media (min-width: 1600px) {
  .page-home .work-cta-band,
  .page-home .connect-section,
  .page-home .connect-tile-section {
    padding-left: max(5%, 100px);
    padding-right: max(5%, 100px);
  }
}

.work-featured-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.work-featured-grid .media-card--duo {
  aspect-ratio: auto;
  min-height: clamp(300px, 38vw, 480px);
}

.work-featured-grid .media-card--duo .media-card-overlay {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.work-featured-grid .media-card--duo .media-card-logo {
  height: clamp(52px, 8vw, 80px);
  max-width: min(280px, 45%);
  margin-bottom: 0.875rem;
}

.work-featured-grid .media-card--duo .media-card-overlay-body {
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 1.25rem;
}

.work-featured-grid .media-card-overlay-cta {
  font-size: 0.8125rem;
  padding: 0.65rem 1.35rem;
}

/* ========== Client Logos Section ========== */
.client-logos-section {
  padding: 80px var(--space-md);
  --client-logo-card-bg: #E9E9E9;
  background: #151a1f;
  color: #f5f0e8;
}

.media-block .client-logos-section {
  width: 100%;
  padding: 80px 0;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.client-logos-copy .section-label {
  font-size: 72px;
  line-height: 0.92;
  margin: 0 0 20px;
  text-transform: uppercase;
  color: #f5f0e8;
}

.client-logos-copy .section-body {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: #f5f0e8;
  margin: 0;
  text-align: left;
  max-width: none;
}

.client-logos-copy .section-body + .section-body {
  margin-top: 1.25rem;
}

.client-logos-copy .cta-button--trusted-partner {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.client-logos-copy .cta-button--trusted-partner:hover {
  background: #1e8196;
  border-color: #1e8196;
  color: #fff;
}

@media (min-width: 769px) {
  .client-logos-copy .section-label {
    font-size: 72px;
  }
}

.client-logos-inner {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.client-logos-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 12px;
  background-color: var(--client-logo-card-bg);
}

.client-logos-card img {
  max-width: 168px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .page-work .client-logos-section {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-work .media-block .client-logos-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .page-home.page-work .media-block .client-logos-section {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }

  .page-work .client-logos-inner {
    max-width: none;
  }

  .page-work .media-block .client-logos-inner {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .client-logos-inner {
    grid-template-columns: 1fr;
  }

  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .client-logos-card {
    height: clamp(5.5rem, 24vw, 6.75rem);
  }

  .client-logos-card img {
    max-width: min(100%, 7.5rem);
    max-height: 2.75rem;
  }
}

/* ========== Case Study Pages ========== */
.page-case-study {
  background-color: var(--color-bg);
}

.case-study {
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-xl);
}

.page-case-study.page-work .case-study {
  padding: var(--nav-height) 0 var(--space-xl);
}

.page-case-study.page-work .case-study--fedex,
.page-case-study.page-work .case-study--cisco,
.page-case-study.page-work .case-study--globe,
.page-case-study.page-work .case-study--chase,
.page-case-study.page-work .case-study--editorial {
  padding-top: 0;
  background-color: var(--color-bg);
}

.page-case-study .case-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  aspect-ratio: unset;
  min-height: 0;
  height: clamp(288px, 60vh, 624px);
}

.page-case-study .case-study--cisco .case-hero {
  height: clamp(374px, 78vh, 811px);
}

.page-case-study .case-study--fedex .case-hero {
  height: clamp(374px, 78vh, 811px);
}

@media (min-width: 901px) {
  .page-case-study .case-study--fedex .case-hero {
    height: 400px;
    min-height: 400px;
  }
}

.page-case-study .case-study--long .case-hero {
  margin-bottom: 0;
}

.page-case-study .case-intro-band {
  --case-surface-text: var(--hero-band-text);
  --case-surface-muted: var(--hero-band-muted);
  --case-surface-bg: var(--hero-band-bg);
  --color-text: var(--case-surface-text);
  --color-muted-accessible: var(--case-surface-muted);
  background: var(--case-surface-bg);
  color: var(--case-surface-text);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  padding-top: calc(clamp(2rem, 5vw, 3.5rem) + 50px);
  padding-bottom: calc(clamp(2rem, 5vw, 3.5rem) + 50px);
  margin-bottom: 0;
}

.page-case-study .case-study-wrap {
  --case-surface-text: #1a1a18;
  --case-surface-muted: #757575;
  --case-surface-bg: #fff;
  --color-text: var(--case-surface-text);
  --color-muted: var(--case-surface-muted);
  --color-muted-accessible: var(--case-surface-muted);
  --color-border: #e8e8e4;
  --color-surface: #f5f5f3;
  --color-section-divider: #c5c5bf;
  background: var(--case-surface-bg);
  color: var(--case-surface-text);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  padding-bottom: var(--space-xl);
}

.page-case-study .case-study-wrap > .story-section:first-child {
  border-top: none;
}

.page-case-study .connect-tile-section {
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.case-hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto var(--space-lg);
  aspect-ratio: 16 / 9;
  min-height: clamp(240px, 50vw, 520px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-hero-visual--fedex {
  background-color: #755797;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("images/FedEx/FedEx_Showcase_Preview.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-hero-visual--jpm {
  background: linear-gradient(160deg, #1c1c22 0%, #3a3a44 45%, #5c5c68 100%);
}

.case-hero-visual--cisco {
  background-color: #0c1a30;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%),
    url("images/Cisco/Cisco_hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-hero-visual--chase {
  background-color: #2461A8;
  background-image: url("images/Case Study Tiles/Tile_Chase_Help.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-hero-visual--globe {
  background-color: #1a1020;
  background-image: url("images/Globe/hero/Globe_hero-p-1080.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-study--globe .case-hero-visual--globe {
  inset: 0;
  background-color: #1a1020;
  background-image: url("images/Globe/hero/Globe_hero-p-1080.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-case-study .case-study--globe .case-hero {
  height: clamp(415px, 74.9vw, 893px);
}

.case-hero-visual--mufg {
  background: linear-gradient(160deg, #1a1520 0%, #3d2d48 45%, #5a4560 100%);
}

.case-hero-visual--tmobile {
  background: linear-gradient(160deg, #2a1018 0%, #6b1838 45%, #b81050 100%);
}

.case-hero-visual--about {
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hero-about-photo {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
}

.case-hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.case-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  text-align: center;
  width: 100%;
  height: 100%;
}

.case-hero-title {
  font-family: var(--font-section);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 18ch;
}

.case-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-bottom: var(--space-sm);
}

.case-hero-tag {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--color-white);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.case-content {
  max-width: 42rem;
  margin: 0 auto;
}

.case-lead {
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.case-body p {
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.case-body p:last-child {
  margin-bottom: 0;
}

.case-coming-soon {
  font-style: italic;
  color: var(--color-muted-accessible);
}

.case-credits {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.case-credits-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.case-credits-list {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-muted-accessible);
}

.case-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.case-footer .text-link,
.case-footer--long .text-link {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.case-footer .text-link.case-footer__to-top,
.case-footer--long .text-link.case-footer__to-top,
.case-footer .text-link.case-next,
.case-footer--long .text-link.case-next {
  text-decoration: none;
}

.case-footer__to-top-arrow,
.case-footer__next-arrow {
  display: inline-block;
  font-size: 1.3em;
  line-height: 1;
  vertical-align: -0.05em;
}

.case-footer__next-arrow {
  transform: rotate(90deg);
  margin-left: 0.15em;
}

.case-next {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-case-study .case-hero {
    display: none;
  }

  .page-case-study .case-study--fedex .case-hero,
  .page-case-study .case-study--cisco .case-hero,
  .page-case-study .case-study--globe .case-hero,
  .page-case-study .case-study--chase .case-hero {
    display: block;
    height: 140px;
    min-height: 140px;
  }

  .case-hero-about-photo {
    height: 100%;
    max-width: none;
  }
}

/* ========== Long-form Case Study ========== */
.case-study--long {
  padding-bottom: 0;
}

.case-study-wrap {
  max-width: none;
  margin: 0;
}

.case-study--long .case-hero {
  max-width: none;
  margin-bottom: var(--space-xl);
}

.case-hero-title--wide {
  max-width: 22ch;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-section-divider);
}

.case-meta-item dt {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-accessible);
  margin-bottom: 0.35rem;
}

.case-meta-item dd {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0;
}

.case-intro {
  max-width: 42rem;
  margin-bottom: var(--space-xl);
}

.case-study--fedex .section-body,
.case-study--cisco .section-body,
.case-study--globe .section-body,
.case-study--chase .section-body {
  font-family: var(--font-lora);
  font-size: clamp(1.125rem, 2.2vw, 24px);
  line-height: 1.6;
}

.case-study--fedex .case-intro-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: none;
  opacity: 1;
}

[data-theme="dark"] .case-study--fedex .case-intro-logo {
  filter: none;
  opacity: 1;
}

.case-study--cisco .case-intro-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: none;
  opacity: 1;
}

.case-study--chase .case-intro-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: none;
  opacity: 1;
}

.case-study--globe .case-intro-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: none;
  opacity: 1;
}

.case-study--fedex .case-intro-block,
.case-study--cisco .case-intro-block,
.case-study--globe .case-intro-block,
.case-study--chase .case-intro-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 0;
  text-align: left;
  max-width: none;
}

.case-study--fedex .case-intro-details,
.case-study--cisco .case-intro-details,
.case-study--globe .case-intro-details,
.case-study--chase .case-intro-details {
  min-width: 0;
}

.case-study--globe .case-intro-band {
  --case-surface-bg: var(--case-intro-band-bg, #8E4A83);
  --hero-band-bg: var(--case-intro-band-bg, #8E4A83);
  --case-surface-text: #ffffff;
  --case-surface-muted: #ffffff;
  --color-text: #ffffff;
  --color-muted-accessible: #ffffff;
  background: var(--case-intro-band-bg, #8E4A83);
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.case-study--fedex .case-intro-band {
  --case-surface-bg: var(--case-intro-band-bg, #604680);
  --hero-band-bg: var(--case-intro-band-bg, #604680);
  background: var(--case-intro-band-bg, #604680);
  padding-top: 40px;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.case-study--cisco .case-intro-band {
  --case-surface-bg: var(--case-intro-band-bg, #2C548F);
  --hero-band-bg: var(--case-intro-band-bg, #2C548F);
  background: var(--case-intro-band-bg, #2C548F);
  padding-top: 40px;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.case-study--chase .case-intro-band {
  --case-surface-bg: var(--case-intro-band-bg, #2461A8);
  --hero-band-bg: var(--case-intro-band-bg, #2461A8);
  background: var(--case-intro-band-bg, #2461A8);
  padding-top: 40px;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.case-study--fedex .case-hero,
.case-study--fedex .connect-tile-section,
.case-study--cisco .case-hero,
.case-study--cisco .connect-tile-section,
.case-study--globe .case-hero,
.case-study--globe .connect-tile-section {
  background-color: var(--color-bg);
}

.case-study--chase .case-hero,
.case-study--chase .connect-tile-section {
  background-color: #2461A8;
}

.case-study--cisco .case-intro-brand,
.case-study--globe .case-intro-brand,
.case-study--chase .case-intro-brand {
  font-family: var(--font-barlow);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--case-surface-text);
  margin: 0 0 0.75rem;
}

.case-study--fedex .case-intro-client,
.case-study--cisco .case-intro-client,
.case-study--globe .case-intro-client,
.case-study--chase .case-intro-client {
  font-family: var(--font-barlow);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--case-surface-text);
  margin: 0 0 0.65rem;
}

.case-study--fedex .case-intro-services,
.case-study--cisco .case-intro-services,
.case-study--globe .case-intro-services,
.case-study--chase .case-intro-services {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--case-surface-muted);
  margin: 0 0 0.5rem;
}

.case-study--fedex .case-intro-meta,
.case-study--cisco .case-intro-meta,
.case-study--globe .case-intro-meta,
.case-study--chase .case-intro-meta {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--case-surface-muted);
  margin: 0;
}

.case-study--fedex .case-intro-summary,
.case-study--cisco .case-intro-summary,
.case-study--globe .case-intro-summary,
.case-study--chase .case-intro-summary {
  font-family: var(--font-lora);
  font-size: clamp(1.125rem, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--case-surface-text);
  margin: 0;
  min-width: 0;
  align-self: center;
}

.case-study--fedex .case-hero-visual--fedex {
  inset: 0;
  background-color: #755797;
  background-image: url("images/FedEx/FedEx_Showcase_Preview.png");
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-study--cisco .case-hero-visual--cisco {
  inset: 0;
  background-color: #0c1a30;
  background-image: url("images/Cisco/Cisco_hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-study--chase .case-hero-visual--chase {
  inset: 0;
  background-color: #2461A8;
  background-image: url("images/Case Study Tiles/Tile_Chase_Help.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-study--fedex .case-intro-band__inner,
.case-study--cisco .case-intro-band__inner,
.case-study--globe .case-intro-band__inner,
.case-study--chase .case-intro-band__inner {
  max-width: none;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .page-case-study.page-work .case-study-wrap,
  .page-case-study.page-work .case-intro-band,
  .page-case-study.page-work .connect-tile-section {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }
}

@media (max-width: 768px) {
  .page-case-study .case-intro-band,
  .page-case-study .case-study--fedex .case-intro-band,
  .page-case-study .case-study--cisco .case-intro-band,
  .page-case-study .case-study--globe .case-intro-band,
  .page-case-study .case-study--chase .case-intro-band {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .case-study--fedex .case-intro-block,
  .case-study--cisco .case-intro-block,
  .case-study--globe .case-intro-block,
.case-study--chase .case-intro-block {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .case-study--fedex .case-intro-summary,
  .case-study--cisco .case-intro-summary,
  .case-study--globe .case-intro-summary,
.case-study--chase .case-intro-summary {
    align-self: start;
  }
}

.case-study--cisco .case-placeholder-img,
.case-study--globe .case-placeholder-img,
.case-study--chase .case-placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 400px);
  height: 250px;
  margin: 0 auto;
  background: #e5e5e5;
  border: 1px dashed #bdbdbd;
  color: #757575;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.case-study--cisco .case-placeholder-img--hero,
.case-study--globe .case-placeholder-img--hero,
.case-study--chase .case-placeholder-img--hero {
  width: 100%;
  max-width: none;
  height: clamp(220px, 36vw, 420px);
}

.case-study--cisco .case-placeholder-img--inline,
.case-study--globe .case-placeholder-img--inline,
.case-study--chase .case-placeholder-img--inline {
  margin: 1.25rem 0 0;
}

.case-study--cisco .case-story-section .case-media,
.case-study--globe .case-story-section .case-media,
.case-study--chase .case-story-section .case-media {
  margin-top: 1.25rem;
}

.case-study--chase .case-project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.case-study--chase .case-project-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.case-study--chase .case-project-entry__title {
  font-family: var(--font-barlow);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: var(--case-surface-text);
}

.case-study--chase .case-project-entry .case-figure {
  margin: 0;
}

.case-study--chase .case-metrics--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 36rem;
  width: 100%;
}

.case-study--chase .case-work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 6vw, 5.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
}

.case-study--chase .case-work-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-study--chase .case-work-block__title {
  font-family: var(--font-barlow);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--case-surface-text);
}

.case-study--chase .case-work-block__body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.2vw, 2.75rem);
}

.case-study--chase .case-work-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 42rem;
}

.case-study--chase .case-work-item__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--case-surface-muted, #757575);
}

.case-study--chase .case-work-item .section-body {
  margin: 0;
  max-width: none;
}

.case-study--chase .case-work-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.case-study--chase .case-work-figures .case-figure {
  margin: 0;
}

.case-study--chase .case-work-figures .case-placeholder-img {
  width: 100%;
  max-width: none;
  height: 140px;
  margin: 0;
}

@media (max-width: 768px) {
  .case-study--chase .case-project-entry {
    grid-template-columns: 1fr;
  }

  .case-study--chase .case-work-figures {
    grid-template-columns: 1fr;
  }
}


.page-case-study .ai-level {
  font-family: var(--font-lora);
  font-size: clamp(1.0625rem, 2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.page-case-study .case-study-wrap .ai-list {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-case-study .case-study-wrap .ai-level strong {
  font-weight: 600;
}

.case-study--fedex .case-impact-list,
.case-study--fedex .case-insight-body {
  font-family: var(--font-lora);
  font-size: clamp(1rem, 1.8vw, 18px);
  line-height: 1.6;
}

.case-study--fedex .case-impact-note {
  font-family: var(--font-lora);
  font-size: clamp(calc(1.125rem - 2pt), calc(2.15vw - 2pt), calc(1.375rem - 2pt));
  font-weight: 600;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #1a1a18;
  margin: var(--space-md) 0 0;
  margin-top: auto;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.case-study--fedex .case-insight {
  background: linear-gradient(160deg, #1a1028 0%, #3d2858 45%, #7c4dab 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  height: auto;
}

.case-study--fedex .case-impact-card:nth-child(1) {
  background: linear-gradient(160deg, #4a1218 0%, #9b1c2f 55%, #d63045 100%);
}

.case-study--fedex .case-impact-card:nth-child(2) {
  background: linear-gradient(160deg, #1a1028 0%, #3d2858 45%, #7c4dab 100%);
}

.case-study--fedex .case-impact-card:nth-child(3) {
  background: linear-gradient(160deg, #0f3d24 0%, #2d7a4f 55%, #4caf7a 100%);
}

.case-study--fedex .case-metric,
.case-study--cisco .case-metric,
.case-study--globe .case-metric,
.case-study--chase .case-metric {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.case-study--fedex .case-metric:nth-child(1),
.case-study--cisco .case-metric:nth-child(1),
.case-study--globe .case-metric:nth-child(1),
.case-study--chase .case-metric:nth-child(1) {
  background: linear-gradient(160deg, #1a1028 0%, #3d2858 45%, #7c4dab 100%);
}

.case-study--fedex .case-metric:nth-child(2),
.case-study--cisco .case-metric:nth-child(2),
.case-study--globe .case-metric:nth-child(2),
.case-study--chase .case-metric:nth-child(2) {
  background: linear-gradient(160deg, #0f3d24 0%, #2d7a4f 55%, #4caf7a 100%);
}

.case-study--fedex .case-metric:nth-child(3),
.case-study--cisco .case-metric:nth-child(3),
.case-study--globe .case-metric:nth-child(3),
.case-study--chase .case-metric:nth-child(3) {
  background: linear-gradient(160deg, #0f3d24 0%, #2d7a4f 55%, #4caf7a 100%);
}

.case-study--fedex .case-metric:nth-child(4),
.case-study--cisco .case-metric:nth-child(4),
.case-study--globe .case-metric:nth-child(4),
.case-study--chase .case-metric:nth-child(4) {
  background: linear-gradient(160deg, #4a1218 0%, #9b1c2f 55%, #d63045 100%);
}

.case-study--fedex .case-metric-label,
.case-study--fedex .case-metric-caption,
.case-study--cisco .case-metric-label,
.case-study--cisco .case-metric-caption,
.case-study--globe .case-metric-label,
.case-study--globe .case-metric-caption,
.case-study--chase .case-metric-label,
.case-study--chase .case-metric-caption {
  color: rgba(255, 255, 255, 0.78);
}

.case-study--fedex .case-metric-value,
.case-study--cisco .case-metric-value,
.case-study--globe .case-metric-value,
.case-study--chase .case-metric-value {
  color: #fff;
}

.case-study--fedex .case-impact-title,
.case-study--fedex .case-insight-title {
  font-size: clamp(1.375rem, 2.75vw, 1.875rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
  color: #fff;
}

.case-study--fedex .case-impact-list li {
  color: rgba(255, 255, 255, 0.95);
}

.case-study--fedex .case-impact-card {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-study--fedex .case-insight-note {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: #1a1a18;
  flex: 0 0 auto;
  margin: 0 0 var(--space-sm);
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.case-study--fedex .case-insight-body {
  color: rgba(255, 255, 255, 0.95);
  flex: 0 0 auto;
  margin-bottom: var(--space-sm);
}

.case-study--fedex .case-insight-figure {
  margin: 0 calc(var(--space-md) * -1) 0;
  margin-top: 0;
  border-radius: 0 0 11px 11px;
  flex: 0 0 auto;
}

.case-study--fedex .case-insight-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.case-study--long .story-section {
  padding-left: 0;
  padding-right: 0;
}

.page-case-study.page-work .story-section {
  padding-left: 0;
  padding-right: 0;
}

.case-study--long .section-heading {
  align-items: flex-start;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-study--cisco .case-metrics--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 36rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-case-study .section-inner > .case-metrics {
  grid-column: 1 / -1;
  width: 100%;
}

.case-metric {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}

.case-metric-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-accessible);
  margin-bottom: 0.35rem;
}

.case-metric-value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.case-metric-caption {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-muted-accessible);
}

.case-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.page-case-study .section-inner > .case-impact-grid {
  grid-column: 1 / -1;
  width: 100%;
}

.page-case-study .section-inner > .case-insights {
  grid-column: 1 / -1;
  width: 100%;
}

.page-case-study .section-inner > .case-figure--full {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: var(--space-lg);
}

/* Portrait Vimeo prototype embeds — three-up on desktop, stacked on mobile */
.page-case-study .section-inner > .case-prototype-videos {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 25.875rem));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: var(--space-md);
}

.case-prototype-video {
  margin: 0;
  min-width: 0;
}

.case-prototype-video__embed {
  position: relative;
  width: 100%;
  padding-top: 177.92%;
  overflow: hidden;
  background: var(--color-border);
  border-radius: 12px;
}

.case-prototype-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-prototype-video__caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .page-case-study .section-inner > .case-prototype-videos {
    grid-template-columns: minmax(0, 31.5rem);
  }
}

/* Globe: centered portrait still (e.g. phone photo) */
.page-case-study .section-inner > .case-figure--phone {
  grid-column: 1 / -1;
  width: min(100%, 18rem);
  margin-top: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
}

.page-case-study .section-inner > .case-figure--phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Globe Personas: title + body left, sticky-stack images right */
.page-case-study.page-work .section-inner.section-inner--personas {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

.page-case-study.page-work .section-inner.section-inner--personas .section-text-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  grid-column: auto;
  align-self: start;
}

.page-case-study.page-work .section-inner.section-inner--personas .section-body {
  max-width: none;
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid {
  --persona-stack-top: calc(var(--nav-height, 4rem) + 1.5rem);
  --persona-stack-peek: 56px;
  --persona-stack-gap: 20px;
  grid-column: auto;
  width: 100%;
  display: flow-root;
  margin: 0;
  min-width: 0;
}

/* Sticky runway so the last persona can finish pinning */
.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid::after {
  content: '';
  display: block;
  height: 20px;
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure {
  position: sticky;
  top: var(--persona-stack-top);
  margin: 0 0 var(--persona-stack-gap);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-border, #e8e4dc);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.14),
    0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(1) {
  z-index: 1;
  top: var(--persona-stack-top);
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(2) {
  z-index: 2;
  top: calc(var(--persona-stack-top) + var(--persona-stack-peek));
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(3) {
  z-index: 3;
  top: calc(var(--persona-stack-top) + (var(--persona-stack-peek) * 2));
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(4) {
  z-index: 4;
  top: calc(var(--persona-stack-top) + (var(--persona-stack-peek) * 3));
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(n+5) {
  z-index: 5;
  top: calc(var(--persona-stack-top) + (var(--persona-stack-peek) * 3));
}

.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(5) { z-index: 5; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(6) { z-index: 6; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(7) { z-index: 7; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(8) { z-index: 8; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(9) { z-index: 9; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(10) { z-index: 10; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(11) { z-index: 11; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(12) { z-index: 12; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(13) { z-index: 13; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(14) { z-index: 14; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(15) { z-index: 15; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(16) { z-index: 16; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(17) { z-index: 17; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(18) { z-index: 18; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(19) { z-index: 19; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(20) { z-index: 20; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(21) { z-index: 21; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(22) { z-index: 22; }
.page-case-study.page-work .case-study--cisco .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(23) { z-index: 23; }

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:last-child {
  margin-bottom: 0;
}

.page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  vertical-align: middle;
}

@media (min-width: 769px) {
  .page-case-study.page-work .section-inner.section-inner--personas {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  /* Early Concepts: 40% text / 60% images */
  .page-case-study.page-work .section-inner.section-inner--early-concepts {
    grid-template-columns: 2fr 3fr;
  }

  /* The Flow: 60% text / 40% images */
  .page-case-study.page-work .section-inner.section-inner--flow {
    grid-template-columns: 3fr 2fr;
  }

  .page-case-study.page-work .section-inner.section-inner--personas .section-text-col {
    position: sticky;
    top: calc(var(--nav-height, 4rem) + 1.5rem);
  }

  .page-case-study.page-work .section-inner.section-inner--story-map {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 100px;
  }

  .page-case-study.page-work .section-inner.section-inner--story-map .section-body {
    max-width: 60rem;
  }
}

@media (max-width: 768px) {
  .page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid::after {
    content: none;
  }

  .page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure,
  .page-case-study.page-work .section-inner.section-inner--personas .case-persona-grid .case-figure:nth-child(n) {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
    box-shadow: none;
  }
}

/* Persona text column: click-to-expand journey thumbnail */
.page-case-study .case-lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.page-case-study .case-lightbox-trigger img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.page-case-study .case-lightbox-trigger__hint {
  position: absolute;
  left: 10px;
  bottom: 10px;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.page-case-study .case-lightbox-trigger:focus-visible {
  outline: 2px solid #306CB3;
  outline-offset: 3px;
}

/* Expanded image overlay */
.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.case-lightbox[hidden] {
  display: none;
}

.case-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  cursor: pointer;
}

.case-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 72rem);
  max-height: 92vh;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.case-lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.case-lightbox__close {
  position: sticky;
  top: 0.75rem;
  float: right;
  z-index: 2;
  margin: 0.75rem 0.75rem 0 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-lightbox__close:hover {
  background: rgba(0, 0, 0, 0.88);
}

.case-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.case-lightbox-open {
  overflow: hidden;
}

/* Globe: early concept phone stills — three-up portrait */
.page-case-study .section-inner > .case-phone-stills {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 17.25rem));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: var(--space-md);
}

.case-phone-still {
  margin: 0;
  min-width: 0;
}

.case-phone-still img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.case-phone-still__caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text);
}

/* Globe: wide user-flow diagram — pan on smaller screens */
.page-case-study .section-inner > .case-figure--flow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-case-study .section-inner > .case-figure--flow img {
  width: max(100%, 56rem);
  max-width: none;
  height: auto;
  display: block;
}

.case-figure-pair .case-figure--contain {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-figure-pair .case-figure--contain img {
  width: auto;
  max-width: 100%;
  max-height: 28rem;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-case-study .section-inner > .case-phone-stills {
    grid-template-columns: minmax(0, 21rem);
  }
}

/* Title + body left, image right (e.g. Training User Flow) */
.page-case-study .section-inner--text-media {
  align-items: start;
}

.page-case-study .section-inner--text-media .section-text-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.page-case-study .section-inner--text-media .case-figure--media {
  margin: 0;
  min-width: 0;
}

.page-case-study .section-inner--text-media .case-figure--media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .page-case-study .section-inner--text-media {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.35fr);
    gap: clamp(2rem, 6vw, 4rem);
  }
}

.page-case-study .section-inner > .case-figure--lead {
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.page-case-study .section-inner > .case-figures-stack,
.page-case-study .section-inner > .case-figure-pair,
.page-case-study .section-inner > .case-figure-duo-row {
  grid-column: 1 / -1;
  width: 100%;
}

.case-impact-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}

.case-impact-title {
  font-size: calc(var(--text-sm) * 1.3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.case-impact-list {
  margin: 0 0 var(--space-sm);
  padding-left: 1.1rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
}

.case-impact-list li {
  margin-bottom: 0.35rem;
}

.case-impact-note {
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-muted-accessible);
  margin: 0;
}

.case-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  align-items: start;
}

.case-insight {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.case-insight-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.case-insight-body {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.case-insight-note {
  font-size: var(--text-xs);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-muted-accessible);
  margin: 0;
}

.case-footer--long {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0 var(--space-xl);
  border-top: 1px solid var(--color-section-divider);
}

.case-hero-logo {
  width: clamp(72px, 10vw, 112px);
  height: auto;
  filter: brightness(0) invert(1);
}

.case-figure {
  margin: var(--space-lg) 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-border);
}

.case-figure--captioned {
  position: relative;
}

.case-figure__caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  margin: 0;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: clamp(0.90921875rem, 1.653125vw, 1.07453125rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  text-align: right;
  background: linear-gradient(
    to right,
    rgba(61, 40, 88, 0) 0%,
    rgba(61, 40, 88, 0.55) 42%,
    rgba(61, 40, 88, 0.8) 68%,
    rgba(61, 40, 88, 0.8) 100%
  );
  border-radius: 10px;
  box-shadow: none;
}

.case-figure--intro {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-figures-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-figure-pair .case-figure {
  margin-top: 0;
}

.case-figure-duo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-figure-duo-row .case-figure-pair {
  margin-top: 0;
}

.case-insight-figure {
  margin: var(--space-md) 0 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-border);
}

.case-insight-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-wrap > .case-figure--intro {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
  .page-case-study.page-work .case-study-wrap > .case-figure--intro {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .page-case-study.page-work .case-study {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about.page-work .case-study {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-case-study.page-work .case-study-wrap,
  .page-case-study.page-work .case-study--long .case-hero,
  .page-about.page-work .case-study--long .case-hero {
    max-width: none;
  }

  .page-case-study.page-work .case-study--long .story-section,
  .page-about.page-work .case-study--long .story-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .case-impact-grid,
  .case-insights {
    grid-template-columns: 1fr;
  }

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

  .case-figure-duo-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .case-figure-pair {
    grid-template-columns: 1fr;
  }
}

/* ========== About Page ========== */
.page-about {
  background-color: var(--color-bg);
}

.about-page-main {
  background: var(--color-bg);
}

.about-intro-block {
  --about-hero-bg: var(--site-hero-bg);
  --about-hero-text: var(--site-hero-ink);
  --about-hero-muted: var(--site-hero-muted);
  --about-hero-cta-border: var(--site-hero-ink);
  --about-hero-cta-bg: transparent;
  background: var(--about-hero-bg);
  color: var(--about-hero-text);
  padding-top: calc(var(--nav-height) + 20px);
}

.about-intro-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  container-type: inline-size;
}

.about-intro {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* ========== Home hero body (below title band) ========== */
.home-hero-body {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--color-bg);
  color: var(--color-text);
}

.page-home.page-work .home-hero-body__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.page-home.page-work .home-hero-body .hero-illustration {
  margin: 0;
  flex-shrink: 0;
}

.page-home.page-work .home-hero-body .hero-illustration img {
  display: block;
  width: min(70vw, 19.008rem);
  max-width: 100%;
  height: auto;
}

.home-hero-tagline {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-barlow);
  font-size: clamp(1.35rem, 3.4cqi, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: pretty;
  color: inherit;
}

@media (min-width: 769px) {
  .page-home.page-work .home-hero-body__inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
  }

  .page-home.page-work .home-hero-body .hero-illustration {
    align-self: center;
  }

  .page-home.page-work .home-hero-body .hero-illustration img {
    width: clamp(14rem, 22vw, 18rem);
    max-width: none;
  }

  .page-home.page-work .home-hero-tagline {
    flex: 1;
    min-width: 0;
  }
}

.about-intro-headline {
  margin: 0 0 clamp(0.875rem, 1.8vw, 1.5rem);
  width: 100%;
  max-width: none;
  min-width: 0;
  font-family: var(--font-section);
  font-size: clamp(2.8125rem, 7.2cqi, 6.375rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: inherit;
}

.about-intro-subtitle {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
  max-width: none;
  font-family: var(--font-barlow);
  font-size: clamp(1.25rem, 3.2cqi, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: inherit;
  text-wrap: pretty;
}

.about-intro-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  width: 100%;
  max-width: 100%;
}

.about-intro-cta-row .home-intro-cta.about-hero-cta {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.about-intro-headline--wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.about-intro-headline-line {
  display: block;
  width: 100%;
  min-width: 0;
  line-height: 0.92;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Home hero — illustration left, headline right */
.page-home.page-work .home-hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.page-home.page-work .home-hero-layout__art {
  margin: 0;
  flex-shrink: 0;
}

.page-home.page-work .home-hero-layout__art img {
  display: block;
  width: min(56vw, 15.206rem);
  max-width: 100%;
  height: auto;
}

.page-home.page-work .home-hero-layout__text {
  width: 100%;
  min-width: 0;
}

.page-home.page-work .about-intro--home-hero .home-hero-headline {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .page-home.page-work .home-hero-layout {
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
  }

  .page-home.page-work .home-hero-layout__text {
    flex: 1;
    min-width: 0;
  }

  .page-home.page-work .home-hero-layout__art img {
    width: clamp(11.2rem, 17.6vw, 14.4rem);
    max-width: none;
  }
}

/* Home hero — stacked greeting + tagline within fixed band height */
.page-home.page-work .home-hero-headline {
  font-size: unset;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: normal;
}

.page-home.page-work .home-hero-headline__greeting {
  color: var(--hero-band-text);
}

.page-home.page-work .about-intro--home-hero .home-hero-headline__tagline {
  color: #686868;
}

.page-home.page-work .home-hero-headline__role {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 2.4vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--hero-band-muted);
  margin: clamp(0.35rem, 0.75vw, 0.65rem) 0 0;
}

.page-home.page-work .home-hero-headline__greeting {
  font-size: clamp(2.75rem, 12vw, 120px);
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.page-home.page-work .home-hero-headline__tagline {
  font-size: clamp(2.8125rem, 7.2cqi, 6.375rem);
  line-height: 0.92;
  margin-top: 0;
  text-transform: uppercase;
}

.page-home.page-work .home-intro .home-intro-tagline,
.page-home.page-work .home-intro-tagline.home-hero-headline__tagline,
.page-home.page-work .home-intro-tagline .home-hero-headline__tagline-line {
  color: #f5f0e8;
  text-transform: uppercase;
}

.page-home.page-work .home-intro-tagline.home-hero-headline__tagline {
  font-size: 72px;
  line-height: 0.92;
}

@media (min-width: 769px) {
  .page-home.page-work .home-hero-headline__greeting {
    font-size: 120px;
  }

  .page-home.page-work .home-hero-headline__tagline-line + .home-hero-headline__tagline-line::before {
    content: ' ';
  }
}

.about-band--dark {
  --about-band-bg: #1a1a18;
  --about-band-text: #f5f0e8;
  --about-band-muted: #c8c4bc;
  --about-hero-text: var(--about-band-text);
  --about-hero-muted: var(--about-band-muted);
  background: var(--about-band-bg);
  color: var(--about-band-text);
}

[data-theme="dark"] .about-band--dark {
  --about-band-bg: var(--color-surface);
  --about-band-text: var(--color-text);
  --about-band-muted: var(--color-muted-accessible);
}

.about-band--dark .about-intro-subtitle,
.about-band--dark .about-profile-headline {
  color: var(--about-band-text);
}

.about-band--dark .about-intro-bio-copy p {
  color: var(--about-band-muted);
}

.about-band--profile-light {
  --about-band-bg: #ffffff;
  --about-band-text: #1a1a18;
  --about-band-muted: #4a4a48;
  --about-hero-text: var(--about-band-text);
  --about-hero-muted: var(--about-band-muted);
  background: var(--about-band-bg);
  color: var(--about-band-text);
}

.about-band--profile-light .about-intro-subtitle,
.about-band--profile-light .about-profile-headline {
  color: var(--about-band-text);
}

.about-band--profile-light .about-intro-bio-copy p {
  color: var(--about-band-muted);
}

.about-intro--profile {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.about-intro--profile .about-intro-bio {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.about-band--contrast {
  --about-band-bg: #ffffff;
  --about-band-text: #000000;
  --about-band-muted: rgba(0, 0, 0, 0.72);
  --about-band-divider: rgba(0, 0, 0, 0.18);
  --about-hero-text: var(--about-band-text);
  --about-hero-muted: var(--about-band-muted);
  background: var(--about-band-bg);
  color: var(--about-band-text);
}

[data-theme="dark"] .about-band--contrast {
  --about-band-bg: #ffffff;
  --about-band-text: #000000;
  --about-band-muted: rgba(0, 0, 0, 0.72);
  --about-band-divider: rgba(0, 0, 0, 0.18);
}

.about-band--contrast .about-resume {
  border-top: none;
}

.about-band--contrast .about-resume-section-label {
  color: var(--about-band-text);
}

.about-band--contrast .about-resume-intro {
  color: var(--about-band-muted);
}

.about-band--contrast .about-resume-row {
  border-bottom-color: var(--about-band-divider);
  color: var(--about-band-text);
}

.about-band--contrast .about-resume-row:first-child {
  border-top-color: var(--about-band-divider);
}

.about-band--contrast .about-resume-date,
.about-band--contrast .about-resume-type,
.about-band--contrast .about-resume-role {
  color: var(--about-band-muted);
}

.about-band--contrast .about-hero-cta {
  background: transparent;
  border-color: var(--about-band-text);
  color: var(--about-band-text);
}

.about-band--contrast .about-hero-cta:hover,
.about-band--contrast .about-hero-cta:focus-visible {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #fff;
}

.about-intro-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2rem);
}

.about-intro-bio-copy {
  min-width: 0;
  align-self: stretch;
  width: 100%;
}

.about-intro-bio-copy p {
  margin: 0 0 1.35em;
  font-family: var(--font-lora);
  font-size: clamp(1.125rem, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--about-hero-muted);
  text-wrap: pretty;
}

.about-intro-bio-copy p:last-child {
  margin-bottom: 0;
}

.about-intro-portrait {
  margin: 0 auto;
  align-self: center;
  width: min(57.6vw, 14.4rem);
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  max-width: min(57.6vw, 14.4rem);
}

.about-intro-portrait--illustration {
  width: min(57.6vw, 14.4rem);
  max-width: min(57.6vw, 14.4rem);
}

.about-intro-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center 15%;
}

.about-intro-portrait--illustration img {
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.about-resume {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  border-top: 1px solid color-mix(in srgb, var(--about-hero-text) 14%, transparent);
}

.about-resume-headline {
  margin: 0;
  max-width: none;
  width: 100%;
  font-family: var(--font-section);
  font-size: clamp(2.25rem, 5.76cqi, 5.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: none;
  text-wrap: balance;
  color: inherit;
}

.about-resume-section-label {
  margin: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-section);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--about-hero-text);
}

.about-resume-intro {
  margin: 0 0 40px;
  max-width: 60ch;
  font-family: Inter, var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--about-hero-muted);
}

.about-resume-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-resume-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.9fr) minmax(0, 2.5fr) minmax(0, 2.2fr);
  gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 1.35rem 20px;
  border-radius: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--about-hero-text) 14%, transparent);
  font-family: Inter, var(--font-sans);
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  line-height: 1.5;
  color: inherit;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.about-resume-row:first-child {
  border-top: none;
}

.about-resume-date {
  color: var(--about-hero-muted);
  white-space: nowrap;
}

.about-resume-date--via {
  padding-left: 40px;
}

.about-resume-row--via {
  background: rgba(0, 0, 0, 0.1);
  font-size: calc(clamp(1.125rem, 2.2vw, 1.75rem) - 4px);
}

.about-resume-row:not(.about-resume-row--via) {
  border-bottom: 3px solid rgba(0, 0, 0, 0.5);
}

.about-resume-row.about-resume-row--pad-top {
  padding-top: calc(1.35rem + 20px);
}

.about-resume-row.about-resume-row--pad-top-lg {
  padding-top: calc(1.35rem + 40px);
}

.about-resume-row--group {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.about-resume-toggle {
  display: block;
  justify-self: end;
  align-self: center;
  width: 12px;
  height: 12px;
  margin-right: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.about-resume-row--group[aria-expanded="false"] .about-resume-toggle {
  transform: rotate(-45deg);
}

.about-resume-row--via.is-collapsed {
  display: none;
}

/* Keep company + parenthetical on a single line on narrow screens */
@media (max-width: 480px) {
  .about-resume-row:not(.about-resume-row--via) .about-resume-company {
    font-size: min(1.125rem, calc(5.5vw - 5px));
  }
}

/* Three columns are cramped on small laptops; step the type down so no row wraps */
@media (min-width: 769px) and (max-width: 950px) {
  .about-resume-row {
    font-size: 1rem;
  }

  .about-resume-row--via {
    font-size: 0.875rem;
  }
}

.about-resume-company {
  font-weight: 500;
  white-space: nowrap;
}

.about-resume-type {
  font-weight: 400;
  font-size: 0.8em;
  color: var(--about-hero-muted);
  white-space: nowrap;
}

.about-resume-role {
  text-align: right;
  color: var(--about-hero-muted);
}

.about-resume-row.is-active {
  background: #306CB3;
  border-color: #306CB3;
  color: #ffffff;
}

.about-resume-row.is-active .about-resume-date,
.about-resume-row.is-active .about-resume-type,
.about-resume-row.is-active .about-resume-role {
  color: #ffffff;
}

/* Timeline Popup — styles kept for when the popover is re-enabled */
.about-resume-row--has-popover {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .about-resume-row--has-popover {
    cursor: pointer;
  }
}

.about-resume-row--has-popover:focus-visible {
  outline: 2px solid #306CB3;
  outline-offset: 2px;
}

.about-resume-popover {
  box-sizing: border-box;
  position: relative;
  grid-column: 1 / -1;
  z-index: 10001;
  width: min(28rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: min(70vh, 32rem);
  overflow: auto;
  padding: 2.75rem 1.35rem 1.35rem;
  border: 1px solid rgba(26, 26, 24, 0.14);
  border-radius: 12px;
  background: #FFF;
  color: #1a1a18;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.1);
  -webkit-overflow-scrolling: touch;
}

.about-resume-popover[hidden] {
  display: none !important;
}

.about-resume-popover.is-fixed {
  position: fixed;
}

.about-resume-popover.is-sheet {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  top: auto;
  width: auto;
  max-width: none;
  max-height: min(52vh, 28rem);
  border-radius: 16px 16px 12px 12px;
}

.about-resume-popover__backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.55);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.about-resume-popover__backdrop[hidden] {
  display: none !important;
}

.about-resume-popover__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(26, 26, 24, 0.08);
  color: #1a1a18;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.about-resume-popover__close:hover,
.about-resume-popover__close:focus-visible {
  background: rgba(26, 26, 24, 0.14);
}

.about-resume-popover__close:focus-visible {
  outline: 2px solid #1a1a18;
  outline-offset: 2px;
}

.about-resume-popover__content {
  clear: both;
}

.about-resume-popover.is-fixed,
.about-resume-popover.is-sheet {
  position: fixed;
}

.about-resume-popover__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-barlow);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.55);
}

.about-resume-popover__title + .about-resume-popover__text + .about-resume-popover__title {
  margin-top: 1.15rem;
}

.about-resume-popover__text {
  margin: 0;
  font-family: Inter, var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: #1a1a18;
  text-wrap: pretty;
}

.about-resume-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.about-resume-cta-row .about-hero-cta {
  flex: 0 1 auto;
  width: auto;
  min-width: min(100%, 11rem);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.about-hero-cta--ghost {
  background: transparent !important;
}

.about-hero-cta--ghost:hover {
  background: var(--color-brand-orange) !important;
  border-color: var(--color-brand-orange) !important;
  color: #fff !important;
}

@media (min-width: 769px) {
  .about-intro-block {
    padding-top: calc(var(--nav-height) + var(--page-main-top-pad));
  }

  .about-intro {
    padding-top: var(--page-title-top-gap);
  }

  .about-intro--profile {
    padding-top: clamp(2.5rem, 6vw, 4rem);
  }

  .about-intro-bio {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }

  .about-intro-bio-copy {
    align-self: center;
    width: auto;
  }

  .about-intro-portrait {
    margin: 0;
    justify-self: start;
    width: auto;
    aspect-ratio: 4 / 5;
    max-width: clamp(18rem, 34vw, 32rem);
  }

  .about-intro-portrait--illustration {
    width: clamp(14.4rem, 27.2vw, 25.6rem);
    max-width: clamp(14.4rem, 27.2vw, 25.6rem);
  }

  .about-intro-wrap {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .about-intro-headline,
  .about-resume-headline {
    max-width: none;
  }

  .about-resume-section-label {
    font-size: 72px;
  }
}

@media (max-width: 768px) {
  .about-resume .about-intro-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .about-resume-section-label,
  .about-resume-intro,
  .about-resume-cta-row {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-resume-list {
    width: 100%;
  }

  .about-resume-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about-resume-row--group {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
  }

  .about-resume-row--group .about-resume-date,
  .about-resume-row--group .about-resume-company {
    grid-column: 1;
  }

  .about-resume-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 10px;
    height: 10px;
    margin-right: 4px;
  }

  .about-resume-row--group[aria-expanded="false"] .about-resume-toggle {
    margin-top: -4px;
  }

  .about-resume-role {
    text-align: left;
  }

  .about-resume-cta-row {
    justify-content: stretch;
  }

  .about-resume-cta-row .about-hero-cta {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }
}

.about-display-hero {
  padding-top: var(--page-content-top-offset);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.about-hero--inverted {
  --about-hero-bg: var(--site-hero-bg);
  --about-hero-text: var(--site-hero-ink);
  --about-hero-muted: var(--site-hero-muted);
  --about-hero-cta-border: var(--site-hero-ink);
  --about-hero-cta-bg: transparent;
  background: var(--about-hero-bg);
  color: var(--about-hero-text);
}

/* About page: blue hero band + nav, white text */
.page-about .about-intro-block.about-hero--inverted {
  --about-hero-bg: #2868B6;
  --about-hero-text: #fff;
  --about-hero-muted: rgba(255, 255, 255, 0.72);
  --about-hero-cta-border: #fff;
}

.page-about .site-nav--bar,
.page-about .site-nav--bar.is-scrolled {
  background-color: #2868B6;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-about .nav-wordmark,
.page-about .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-about .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-about .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: #2868B6;
}

.page-about .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

/* FedEx case study: nav matches intro band, white chrome */
.page-case-study:has(.case-study--fedex) {
  --case-intro-band-bg: #604680;
}

.page-case-study:has(.case-study--fedex) .site-nav--bar,
.page-case-study:has(.case-study--fedex) .site-nav--bar.is-scrolled {
  background-color: var(--case-intro-band-bg);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-case-study:has(.case-study--fedex) .nav-wordmark,
.page-case-study:has(.case-study--fedex) .nav-left.nav-wordmark,
.page-case-study:has(.case-study--fedex) .nav-inner--case-study .case-back,
.page-case-study:has(.case-study--fedex) .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-case-study:has(.case-study--fedex) .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-case-study:has(.case-study--fedex) .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: var(--case-intro-band-bg);
}

.page-case-study:has(.case-study--fedex) .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

/* Cisco case study: nav matches intro band, white chrome */
.page-case-study:has(.case-study--cisco) {
  --case-intro-band-bg: #2C548F;
}

.page-case-study:has(.case-study--cisco) .site-nav--bar,
.page-case-study:has(.case-study--cisco) .site-nav--bar.is-scrolled {
  background-color: var(--case-intro-band-bg);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-case-study:has(.case-study--cisco) .nav-wordmark,
.page-case-study:has(.case-study--cisco) .nav-left.nav-wordmark,
.page-case-study:has(.case-study--cisco) .nav-inner--case-study .case-back,
.page-case-study:has(.case-study--cisco) .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-case-study:has(.case-study--cisco) .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-case-study:has(.case-study--cisco) .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: var(--case-intro-band-bg);
}

.page-case-study:has(.case-study--cisco) .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

/* Globe case study: nav matches intro band, white chrome */
.page-case-study:has(.case-study--globe) {
  --case-intro-band-bg: #8E4A83;
}

.page-case-study:has(.case-study--globe) .site-nav--bar,
.page-case-study:has(.case-study--globe) .site-nav--bar.is-scrolled {
  background-color: var(--case-intro-band-bg);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-case-study:has(.case-study--globe) .nav-wordmark,
.page-case-study:has(.case-study--globe) .nav-left.nav-wordmark,
.page-case-study:has(.case-study--globe) .nav-inner--case-study .case-back,
.page-case-study:has(.case-study--globe) .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-case-study:has(.case-study--globe) .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-case-study:has(.case-study--globe) .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: var(--case-intro-band-bg);
}

.page-case-study:has(.case-study--globe) .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

/* Chase case study: nav matches intro band, white chrome */
.page-case-study:has(.case-study--chase) {
  --case-intro-band-bg: #2461A8;
}

.page-case-study:has(.case-study--chase) .site-nav--bar,
.page-case-study:has(.case-study--chase) .site-nav--bar.is-scrolled {
  background-color: var(--case-intro-band-bg);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-case-study:has(.case-study--chase) .nav-wordmark,
.page-case-study:has(.case-study--chase) .nav-left.nav-wordmark,
.page-case-study:has(.case-study--chase) .nav-inner--case-study .case-back,
.page-case-study:has(.case-study--chase) .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-case-study:has(.case-study--chase) .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-case-study:has(.case-study--chase) .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: var(--case-intro-band-bg);
}

.page-case-study:has(.case-study--chase) .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

/* Contact page: purple hero band + nav, white text */
.page-contact .about-intro-block.about-hero--inverted {
  --about-hero-bg: #755797;
  --about-hero-text: #fff;
  --about-hero-muted: rgba(255, 255, 255, 0.72);
  --about-hero-cta-border: #fff;
}

.page-contact .site-nav--bar,
.page-contact .site-nav--bar.is-scrolled {
  background-color: #755797;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-contact .nav-wordmark,
.page-contact .site-nav--bar .nav-connect-cta {
  color: #fff;
}

.page-contact .site-nav--bar .nav-connect-cta {
  border-color: #fff;
}

.page-contact .site-nav--bar .nav-connect-cta:hover {
  background-color: #fff;
  color: #755797;
}

.page-contact .site-nav--bar .nav-toggle span {
  background-color: #fff;
}

.page-contact.page-work .nav-left.nav-wordmark {
  color: #fff;
}

.about-display-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: none;
  text-align: center;
}

.about-display-hero-illustration {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

.about-display-hero-illustration img {
  display: block;
  width: min(72vw, 14rem);
  max-width: none;
  height: auto;
}

.about-display-hero-text {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  line-height: 0.9;
}

.about-hero-headline__lead {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-section);
  font-size: clamp(2.5rem, 7.5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
  color: inherit;
}

.about-hero-headline__tagline {
  display: block;
  margin-top: 0.35em;
  font-family: var(--font-section);
  font-size: clamp(1.125rem, 2.8vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: inherit;
}

.about-hero-body {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: var(--about-hero-muted);
  margin: 0;
  text-wrap: pretty;
}

.about-hero-cta-row {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: min(100%, 18rem);
  width: 100%;
}

.about-hero-cta-row .about-hero-cta {
  flex: 0 1 auto;
  width: 100%;
}

.about-hero--inverted .about-hero-cta {
  background: var(--about-hero-cta-bg);
  border-color: var(--about-hero-cta-border);
  color: var(--about-hero-text);
}

.about-hero--inverted .about-hero-cta:hover {
  background: var(--about-hero-text);
  border-color: var(--about-hero-text);
  color: var(--about-hero-bg);
}

@media (min-width: 769px) {
  .about-display-hero-illustration img {
    width: clamp(12rem, 22vw, 16rem);
  }
}

.about-page.case-study--long {
  padding-top: 0;
  padding-bottom: 0;
}

.about-portfolio-statement {
  --about-portfolio-text: #f5f8fc;
  --about-portfolio-muted: #a8b6c8;
  background: linear-gradient(
    168deg,
    #152d52 0%,
    #10243f 38%,
    #0c1a30 72%,
    #081222 100%
  );
  color: var(--about-portfolio-text);
  padding: clamp(3rem, 8vw, 5.5rem) var(--site-gutter);
}

.about-portfolio-statement-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  container-type: inline-size;
}

.about-portfolio-statement-text {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-barlow);
  font-size: clamp(2rem, 6cqi, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-align: left;
  text-wrap: pretty;
  color: inherit;
}

.about-portfolio-statement-text--follow {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.about-skills-section-label {
  margin: calc(clamp(3rem, 8vw, 5rem) + 100px) 0 clamp(1.5rem, 3.5vw, 2.5rem);
  font-family: var(--font-barlow);
  font-size: calc(var(--text-base) * 2.1);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: left;
  color: var(--about-portfolio-text);
}

.about-skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 0;
  padding-top: 0;
}

.about-skills-heading {
  margin: 0 0 1.25rem;
  font-family: var(--font-barlow);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--about-portfolio-text);
}

.about-skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-skills-list li {
  padding: 0.65rem 0;
  font-family: Inter, var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--about-portfolio-muted);
}

.about-skills-list li:first-child {
  padding-top: 0;
}

@media (min-width: 769px) {
  .about-portfolio-statement {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .about-portfolio-statement-text {
    font-size: clamp(2.25rem, 5.5cqi, 4.25rem);
  }

  .about-skills-section-label {
    font-size: calc(var(--text-base) * 2.94);
  }
}

@media (max-width: 768px) {
  .about-portfolio-statement-text {
    font-size: clamp(1.625rem, 7vw, 2.25rem);
  }

  .about-skills-section-label {
    margin-top: calc(clamp(2.5rem, 7vw, 3.5rem) + 100px);
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
  }

  .about-skills {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 0;
  }
}

.about-home-carryover .story-section {
  padding: var(--space-section) var(--site-gutter);
}

.about-home-carryover .section-inner {
  max-width: none;
}

.about-home-carryover .section-heading {
  align-items: center;
}

@media (min-width: 769px) {
  .page-about .about-home-carryover .story-section {
    padding-left: var(--work-side-padding);
    padding-right: var(--work-side-padding);
  }

  .page-about .about-home-carryover .section-inner {
    max-width: none;
  }
}

.about-page-detail .story-section:first-child {
  border-top: none;
}

.about-page-detail .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

.about-page-detail .section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about-page-detail .section-label {
  margin: 0;
  font-family: var(--font-section);
  font-size: calc(var(--text-base) * 2.1);
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (min-width: 769px) {
  .about-page-detail .section-inner {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
    gap: clamp(2rem, 8vw, 6rem);
  }

  .about-page-detail .section-label {
    font-size: calc(var(--text-base) * 2.94);
  }

  .about-page-detail .section-number {
    width: calc(2.25rem * 1.4);
    height: calc(2.25rem * 1.4);
    font-size: calc(0.95rem * 1.4);
  }
}

.page-about .story-section {
  border-top: 1px solid var(--color-section-divider);
}

.page-about .section-body {
  font-family: var(--font-lora);
  font-size: 24px;
  line-height: 1.6;
  color: var(--color-text);
}

.page-about .ai-level {
  font-family: var(--font-lora);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.about-career-inner {
  align-items: start;
}

.about-career-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-lg);
  -webkit-overflow-scrolling: touch;
}

.about-career-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.about-career-table th,
.about-career-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.about-career-table th {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-accessible);
}

.about-career-table tbody tr:last-child td {
  border-bottom: none;
}

/* Home mobile overrides (keep at end of file for cascade priority) */
@media (max-width: 768px) {
  .page-home.page-work .mobile-only-hide {
    display: none !important;
  }

  .page-home.page-work .home-intro-portrait {
    display: none;
  }

  .page-home.page-work .home-intro-text {
    grid-column: 1;
  }

  .page-home.page-work .home-hero-layout {
    align-items: center;
    text-align: center;
  }

  .page-home.page-work .about-intro--home-hero .about-intro-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-home.page-work .home-hero-headline__greeting {
    font-size: 72px;
  }

  .page-home.page-work .home-hero-headline__tagline {
    font-size: 48px;
    line-height: 1.15;
    margin-top: 0;
  }

  .page-home.page-work .home-hero-headline__tagline-line {
    display: block;
  }

  .page-home.page-work .home-hero-tagline {
    font-size: clamp(1rem, 4.5vw, 1.375rem);
    text-align: center;
  }

  .page-home.page-work .home-intro-tagline {
    font-size: 32px;
    line-height: 1.05;
  }

  .page-home.page-work .home-intro-tagline .home-hero-headline__tagline-line {
    display: block;
    white-space: nowrap;
  }

  .page-home.page-work .home-intro-body {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-home.page-work .home-intro-body--lead {
    font-size: 24px;
    line-height: 1.25;
  }

  .page-home.page-work .home-how-i-work,
  .page-home.page-work .home-ai-thinking,
  .page-home.page-work .home-about-frank,
  .page-home.page-work .what-i-do-best {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-home.page-work .what-i-do-best {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-home.page-work .home-how-i-work__title,
  .page-home.page-work .home-ai-thinking__title,
  .page-home.page-work .home-about-frank__title {
    font-size: 60px;
  }

  #how-i-work {
    display: none;
  }

  #ai-thinking {
    display: none;
  }

  .client-logos-copy .section-body {
    font-size: 20px;
    line-height: 1.2;
  }

  .client-logos-copy .section-label {
    font-size: 72px;
  }

  .page-work .site-nav--bar .nav-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .page-work .nav-left.nav-identity {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }

  .page-work .site-nav--bar .nav-right {
    flex: 0 0 auto;
  }

  .page-about .about-intro-bio-copy p,
  .page-about .section-body {
    font-family: var(--font-lora);
    font-size: 20px;
    line-height: 1.2;
  }

  .page-about .about-resume-company {
    font-size: 24px;
  }

  .page-about .about-resume-type {
    font-size: 18px;
  }

  .page-home.page-work .home-how-i-work__intro,
  .page-home.page-work .home-how-i-work__timeline-desc {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-home.page-work .home-ai-thinking__subtitle,
  .page-home.page-work .home-ai-thinking__card-desc {
    font-size: 20px;
    line-height: 1.2;
  }

  .home-ai-thinking__card-title {
    font-size: 18px;
  }

  .page-home.page-work .home-about-frank__copy .home-stroke-aside__text:first-child {
    font-size: 24px;
    line-height: 1.6;
  }

  .page-home.page-work .home-about-frank__copy .home-stroke-aside__text + .home-stroke-aside__text {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-home.page-work .home-about-frank,
  .page-home.page-work .home-about-frank__inner,
  .page-home.page-work .home-about-frank__layout,
  .page-home.page-work .home-about-frank__themes-stack,
  .page-home.page-work .home-about-frank__themes {
    overflow: visible;
  }

  .page-home.page-work .home-about-frank__layout {
    align-items: start;
  }

  .page-home.page-work .home-about-frank__themes-stack {
    --stack-top-base: calc(var(--nav-height) + 0.75rem);
    --stack-step: 0.65rem;
    --stack-runway: 22vh;
    --stack-release: min(18vh, 9rem);
    align-self: start;
    width: 100%;
  }

  .page-home.page-work .home-about-frank__themes {
    display: block;
    gap: 0;
    padding-bottom: 0;
  }

  .page-home.page-work .home-about-frank__theme-spacer {
    display: block;
    height: var(--stack-runway);
    pointer-events: none;
  }

  .page-home.page-work .home-about-frank__themes-release {
    display: block;
    height: var(--stack-release);
    pointer-events: none;
  }

  .page-home.page-work .home-about-frank__theme {
    position: -webkit-sticky;
    position: sticky;
    margin-bottom: 0;
    margin-top: 0;
    box-sizing: border-box;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="1"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 0);
    z-index: 1;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="2"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 1);
    z-index: 2;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="3"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 2);
    z-index: 3;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="4"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 3);
    z-index: 4;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="5"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 4);
    z-index: 5;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="6"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 5);
    z-index: 6;
  }

  .page-home.page-work .home-about-frank__theme[data-stack-index="7"] {
    top: calc(var(--stack-top-base) + var(--stack-step) * 6);
    z-index: 7;
  }

  .page-home.page-work .home-about-frank__theme-desc {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-ai .ai-page__intro,
  .page-ai .ai-page__lede p,
  .page-ai .ai-post__excerpt,
  .page-ai .ai-article__body p,
  .page-ai .ai-article__lead {
    font-size: 20px;
    line-height: 1.2;
  }

  .page-ai .about-intro-subtitle {
    display: none !important;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .page-home.page-work .home-about-frank__theme {
    position: static;
    top: auto;
    z-index: auto;
    margin-top: 0;
    min-height: 0;
  }

  .page-home.page-work .home-about-frank__themes {
    display: grid;
    gap: clamp(0.75rem, 2vw, 1rem);
    padding-bottom: 0;
  }

  .page-home.page-work .home-about-frank__theme-spacer,
  .page-home.page-work .home-about-frank__themes-release {
    display: none;
  }
}

/* ========== Homepage color system test — remove this block to revert ========== */
.page-home.page-work {
  --home-color-global: #100b18;
  --home-color-work: #171022;
  --home-color-how-i-work: #FFFFFF;
  --home-color-ai: #0d0d0b;
  --home-color-about: #261648;
  --home-color-trusted: #3a285a;
}

.page-home.page-work .home-intro,
.page-home.page-work .connect-tile-section {
  background: var(--home-color-global);
}

.page-home.page-work .home-how-i-work {
  background: var(--home-color-how-i-work);
}

.page-home.page-work .home-team-statement--hybrid {
  background: #FFFFFF;
  padding-top: 200px;
}

.page-home.page-work #how-i-work .home-how-i-work__title,
.page-home.page-work #how-i-work .home-how-i-work__intro {
  color: #1A1A18;
}

.page-home.page-work .what-i-do-best {
  background: #FFFFFF;
  color: #1A1A18;
}

.page-home.page-work .home-intro-body {
  color: #f5f0e8;
}

.page-home.page-work .home-media-showcase,
.page-home.page-work .media-block-recent,
.page-home.page-work .home-recent {
  background: var(--home-color-work);
}

.page-home.page-work .media-block-recent,
.page-home.page-work .home-recent {
  padding-top: 100px;
  padding-bottom: 300px;
}

.page-home.page-work .media-block {
  padding-bottom: 0;
  background: var(--home-color-work);
}

.page-home.page-work .home-recent-header {
  margin-bottom: 40px;
}

.page-home.page-work .media-block-recent-title,
.page-home.page-work .home-recent-header .media-block-recent-title {
  color: #f5f0e8;
}

.page-home.page-work .home-ai-thinking {
  background-color: #000000;
  background-image: none;
  color: #FFFFFF;
}

.page-home.page-work #ai-thinking .home-ai-thinking__title,
.page-home.page-work #ai-thinking .home-ai-thinking__subtitle {
  color: #FFFFFF;
}

.page-home.page-work #ai-thinking .what-i-do-best__eyebrow {
  color: #FFFFFF;
}

.page-home.page-work #ai-thinking .home-ai-thinking__card-title,
.page-home.page-work #ai-thinking .home-ai-thinking__card-desc {
  color: #FFFFFF;
}

.page-home.page-work #ai-thinking .home-ai-thinking__card {
  border-color: rgba(255, 255, 255, 0.3);
}

.page-home.page-work #ai-thinking .home-ai-thinking__card.is-active,
.page-home.page-work #ai-thinking .home-ai-thinking__card:hover {
  border-color: transparent;
}

.page-home.page-work .home-about-frank {
  background-color: var(--home-color-ai);
  background-image: none;
}

.page-home.page-work .home-about-frank__theme {
  background-color: var(--home-color-ai);
  border: 1px solid rgba(245, 240, 232, 0.28);
}

.page-home.page-work .client-logos-section {
  background: var(--home-color-trusted);
  color: #f5f0e8;
  --client-logo-card-bg: #e9e9e9;
  margin-top: 0;
}

.page-home.page-work .media-block .client-logos-section {
  margin-top: 0;
}

.page-home.page-work .media-block {
  padding-top: 0;
}

.page-home.page-work .client-logos-copy .section-label,
.page-home.page-work .client-logos-copy .section-body {
  color: #f5f0e8;
}

.page-home.page-work .client-logos-card {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-home.page-work .client-logos-card img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

@media (hover: hover) {
  .page-home.page-work .client-logos-card:hover {
    background-color: var(--client-logo-card-bg);
    border-color: rgba(245, 240, 232, 0.28);
  }

  .page-home.page-work .client-logos-card:hover img {
    filter: grayscale(100%) brightness(0);
    opacity: 0.9;
  }
}

/* Mobile — carry desktop purple section backgrounds edge-to-edge */
@media (max-width: 768px) {
  .page-home.page-work {
    background-color: var(--home-color-global);
  }

  .page-home.page-work .home-intro,
  .page-home.page-work .connect-tile-section {
    background-color: var(--home-color-global);
  }

  .page-home.page-work .home-media-showcase,
  .page-home.page-work .media-block-recent,
  .page-home.page-work .home-recent {
    background-color: var(--home-color-work);
  }

  .page-home.page-work .home-how-i-work {
    background-color: var(--home-color-how-i-work);
  }

  .page-home.page-work .home-team-statement--hybrid {
    background-color: #FFFFFF;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .page-home.page-work .what-i-do-best {
    background-color: #FFFFFF;
  }

  .page-home.page-work .home-ai-thinking {
    background-color: #000000;
    background-image: none;
  }

  .page-home.page-work .home-about-frank {
    background-color: var(--home-color-ai);
    background-image: none;
  }

  .page-home.page-work .client-logos-section {
    background-color: var(--home-color-trusted);
  }

  .page-home.page-work .media-block {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .page-home.page-work .media-block-recent,
  .page-home.page-work .home-recent {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    box-sizing: border-box;
  }

  .page-home.page-work .connect-tile-section {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ========== Editorial nav overlay + homepage hero (Figma) ========== */
:root {
  --nav-overlay-bg: #0a0a0a;
  --nav-overlay-width: min(92vw, 28rem);
  --nav-overlay-duration: 500ms;
  --nav-overlay-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-hero-bg: var(--site-hero-bg);
  --home-hero-ink: var(--site-hero-ink);
}

body.nav-menu-open {
  overflow: hidden;
}

/* Wordmark */
.nav-wordmark,
.page-work .nav-left.nav-wordmark {
  font-family: var(--font-section);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--site-hero-ink);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.nav-wordmark:hover {
  opacity: 0.75;
}

.page-about.page-work .nav-left.nav-wordmark {
  color: #fff;
}

/* Connect pill in nav bar */
.nav-connect-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--site-hero-ink);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1px solid var(--site-hero-ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-connect-cta:hover {
  background-color: var(--site-hero-ink);
  color: var(--site-hero-bg);
}

.nav-connect-cta + .nav-toggle {
  margin-left: 20px;
}

/* Hamburger visible on all breakpoints */
.nav-toggle {
  display: flex;
  position: relative;
  z-index: 202;
}

/* TEMP: Menu icon disabled (easy to reinstate)
   - Remove this rule to restore the hamburger icon. */
.nav-toggle {
  display: none !important;
}

.site-nav--bar .nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.875rem);
}

@media (min-width: 901px) {
  .page-work .nav-inner {
    padding-left: 80px;
    padding-right: 80px;
  }
}

/* Backdrop dim */
.nav-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--nav-overlay-duration) var(--nav-overlay-ease);
}

.nav-overlay-backdrop:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay panel — slides from right */
.site-nav--bar .nav-links.nav-links--overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: var(--nav-overlay-width);
  z-index: 160;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 140px clamp(1.5rem, 5vw, 2.5rem) 2.5rem;
  background: var(--nav-overlay-bg);
  border: none;
  transform: translateX(100%);
  opacity: 1;
  pointer-events: none;
  transition: transform var(--nav-overlay-duration) var(--nav-overlay-ease);
  overflow: visible;
}

.site-nav--bar .nav-links.nav-links--overlay.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.nav-overlay-close {
  position: absolute;
  top: clamp(1rem, 3vh, 1.5rem);
  right: clamp(1rem, 4vw, 1.5rem);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-overlay-close span {
  display: block;
  transform: translateY(-0.05em);
}

.site-nav--bar .nav-links--overlay.is-open .nav-overlay-close {
  opacity: 1;
  transition-delay: 0.08s;
}

.nav-overlay-close:hover {
  opacity: 0.65;
}

.nav-overlay-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.nav-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 1.5vh, 0.75rem);
}

.nav-links__list li {
  margin: 0;
  padding: 0;
}

.site-nav--bar .nav-links--overlay .nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  padding: 0.15rem 0;
  border-radius: 0;
  background: transparent;
  white-space: normal;
  opacity: 0;
  transform: translateX(1.25rem);
  transition:
    opacity 0.4s var(--nav-overlay-ease),
    transform 0.4s var(--nav-overlay-ease),
    color 0.65s ease;
}

.site-nav--bar .nav-links--overlay.is-open .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.site-nav--bar .nav-links--overlay.is-open .nav-links__list li:nth-child(1) .nav-link { transition-delay: 0.12s, 0.12s, 0s; }
.site-nav--bar .nav-links--overlay.is-open .nav-links__list li:nth-child(2) .nav-link { transition-delay: 0.18s, 0.18s, 0s; }
.site-nav--bar .nav-links--overlay.is-open .nav-links__list li:nth-child(3) .nav-link { transition-delay: 0.24s, 0.24s, 0s; }
.site-nav--bar .nav-links--overlay.is-open .nav-links__list li:nth-child(4) .nav-link { transition-delay: 0.3s, 0.3s, 0s; }

.site-nav--bar .nav-links--overlay .nav-link:hover,
.site-nav--bar .nav-links--overlay .nav-link:focus-visible {
  color: var(--color-brand-orange);
  background: transparent;
  transition:
    opacity 0.4s var(--nav-overlay-ease),
    transform 0.4s var(--nav-overlay-ease),
    color 0.1s ease;
}

.site-nav--bar .nav-links--overlay .nav-link[aria-current="page"] {
  color: var(--color-brand-orange);
  background: transparent;
  transition:
    opacity 0.4s var(--nav-overlay-ease),
    transform 0.4s var(--nav-overlay-ease),
    color 0.1s ease;
}

.page-about .site-nav--bar .nav-links--overlay .nav-link:hover,
.page-about .site-nav--bar .nav-links--overlay .nav-link:focus-visible,
.page-about .site-nav--bar .nav-links--overlay .nav-link[aria-current="page"] {
  color: #2868B6;
}

.page-contact .site-nav--bar .nav-links--overlay .nav-link:hover,
.page-contact .site-nav--bar .nav-links--overlay .nav-link:focus-visible,
.page-contact .site-nav--bar .nav-links--overlay .nav-link[aria-current="page"] {
  color: #755797;
}

.site-nav--bar .nav-links--overlay .nav-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.site-nav {
  z-index: 200;
}

/* Homepage: nav transparent over hero until scroll */
.page-home.page-work .site-nav--bar:not(.is-scrolled) {
  background-color: transparent;
  border-bottom-color: transparent;
}

.page-home.page-work .site-nav--bar.is-scrolled {
  background-color: var(--home-hero-bg);
  border-bottom-color: rgba(26, 26, 24, 0.12);
}

/* Homepage: nav slides up after scroll idle, returns on next scroll */
.page-home .site-nav {
  transition: var(--transition-nav), transform 0.35s ease-in-out;
}

.page-home .site-nav.nav-hidden {
  transform: translateY(-100%);
}

.page-home.page-work .nav-toggle span {
  background-color: var(--site-hero-ink);
}

/* Editorial homepage hero — orange top / cream bottom on all breakpoints */
/* Homepage hero shell: min 90dvh for ~10% peek when content allows.
   Orange sizes to content; cream starts flush below and fills the rest. */
.page-home .hero {
  position: relative;
  height: auto;
  min-height: 90dvh;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #EBE2C6;
  color: var(--home-hero-ink);
  --hero-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

.page-home .hero-stage {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: none;
  margin: 0;
  /* nav clearance + gap under wordmark before hero art / title */
  padding: calc(var(--nav-height) + clamp(1.5rem, 4vh, 2.75rem)) var(--hero-gutter) clamp(2.5rem, 6vh, 4rem);
  overflow: visible;
  background: var(--home-hero-bg);
  color: var(--home-hero-ink);
}

.page-home .hero-lower {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  background: #EBE2C6;
  color: var(--color-text);
}

.page-home .hero-title-wrap {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 0;
  padding-bottom: 0;
  min-height: 0;
}

.page-home .hero-title {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  --hero-scale: 1.4;
}

.page-home .hero-name-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
}

.page-home .hero-name-block--first,
.page-home .hero-name-block--last {
  padding: 0;
}

.page-home .hero-first,
.page-home .hero-last {
  font-family: var(--font-section);
  font-weight: 400;
  font-size: clamp(calc(3.25rem * var(--hero-scale)), calc(13vw * var(--hero-scale)), calc(10.5rem * var(--hero-scale)));
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--home-hero-ink);
  text-align: right;
}

.page-home .hero-art {
  flex: 0 0 auto;
  align-self: center;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero-art img {
  display: block;
  width: clamp(calc(9rem * var(--hero-scale)), calc(20vw * var(--hero-scale)), calc(16rem * var(--hero-scale)));
  height: auto;
}

.page-home .hero-role {
  display: block;
  margin: 0;
  font-family: var(--font-poppins);
  font-size: calc(24px * var(--hero-scale));
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-align: right;
  color: var(--home-hero-ink);
}

.page-home .hero-role--ghost {
  opacity: 0;
  user-select: none;
  pointer-events: none;
}

.page-home .hero-subhead {
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) var(--hero-gutter) clamp(1rem, 2.5vh, 1.75rem);
  box-sizing: border-box;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  background: transparent;
  color: var(--color-text);
}

.page-home .hero-subhead__lead {
  grid-row: 1;
  margin: 0 0 0.75rem;
  font-family: var(--font-poppins);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-text);
}

.page-home .hero-subhead__body-group {
  grid-row: 2;
  margin: 0;
}

.page-home .hero-subhead__body {
  margin: 0 auto;
  max-width: 42rem;
  font-family: var(--font-lora);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-text);
}

.page-home .hero-subhead__body + .hero-subhead__body {
  margin-top: 0.35rem;
  max-width: 56rem;
}

.page-home .hero-subhead__work-link {
  margin-top: 40px;
  font-size: 16px;
}

.page-home .hero .hero-subhead__work-link.nav-connect-cta {
  color: var(--home-hero-ink);
  border-color: transparent;
  background-color: #FD9A40;
}

.page-home .hero .hero-subhead__work-link.nav-connect-cta:hover {
  color: var(--home-hero-ink);
  border-color: transparent;
  background-color: #EBE2C6;
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  flex: 0 0 auto;
  margin: 0;
  padding: clamp(0.75rem, 2vh, 1.25rem) var(--hero-gutter) clamp(1.25rem, 3vh, 2rem);
  font-family: var(--font-sans);
  font-size: clamp(0.625rem, 1.4vw, 0.6875rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--color-text);
  background: transparent;
  box-sizing: border-box;
}

.page-home .hero-meta p {
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  max-width: calc(50% - 0.5rem);
}

.page-home .hero-meta p:nth-child(1) {
  text-align: left;
}

.page-home .hero-meta p:nth-child(2) {
  text-align: right;
  margin-left: auto;
}

@media (min-width: 901px) {
  .page-home.page-work {
    --site-gutter: 80px;
  }

  .page-home .hero {
    --hero-gutter: 80px;
  }

  .page-home .hero-role--ghost {
    display: none;
  }

  .page-home .hero-name-block {
    align-items: center;
  }

  .page-home .hero-first,
  .page-home .hero-last,
  .page-home .hero-role {
    text-align: center;
  }

  .page-home .hero-role {
    max-width: none;
  }

  .page-home .hero-first,
  .page-home .hero-last {
    font-size: clamp(calc(5.5rem * var(--hero-scale)), calc(10.5vw * var(--hero-scale)), calc(13rem * var(--hero-scale)));
  }

  .page-home .hero-art img {
    width: clamp(calc(11rem * var(--hero-scale)), calc(16vw * var(--hero-scale)), calc(20rem * var(--hero-scale)));
  }

  .page-home .hero-role {
    font-size: clamp(calc(24px * var(--hero-scale)), calc(1.65vw * var(--hero-scale)), calc(32px * var(--hero-scale)));
  }

  .page-home .hero-meta {
    font-size: clamp(0.6875rem, 0.85vw, 0.8125rem);
  }
}

@media (min-width: 1400px) {
  .page-home .hero-first,
  .page-home .hero-last {
    font-size: clamp(calc(7rem * var(--hero-scale)), calc(9.5vw * var(--hero-scale)), calc(15rem * var(--hero-scale)));
  }

  .page-home .hero-art img {
    width: clamp(calc(14rem * var(--hero-scale)), calc(14vw * var(--hero-scale)), calc(22rem * var(--hero-scale)));
  }

  .page-home .hero-title {
    gap: 8px;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .page-home .hero-title-wrap {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    container-type: inline-size;
    container-name: hero-name;
  }

  .page-home .hero-title-wrap .hero-title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    column-gap: clamp(0.5rem, 1.4vw, 1.1rem);
    row-gap: 0.85rem;
    --hero-scale: 1;
  }

  .page-home .hero-name-block--first,
  .page-home .hero-name-block--last {
    display: contents;
  }

  .page-home .hero-art {
    order: 1;
    flex: 0 0 100%;
    align-self: center;
    margin: 0 auto 0.35rem;
  }

  .page-home .hero-art img {
    width: clamp(14rem, 28vw, 22rem);
    height: auto;
    max-width: 100%;
  }

  .page-home .hero-first {
    order: 2;
  }

  .page-home .hero-last {
    order: 3;
  }

  .page-home .hero-first,
  .page-home .hero-last {
    width: auto;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(8.25rem, 22.8cqi, 12.55rem);
    font-weight: 400;
  }

  .page-home .hero-role--ghost {
    display: none;
  }

  .page-home .hero-role {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 0;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(1.1rem, 2.2vw, 1.75rem);
    font-weight: 600;
  }

  .page-home .hero-meta {
    letter-spacing: 0.07em;
    column-gap: clamp(0.5rem, 1.5vw, 1rem);
    padding-left: clamp(1rem, 3vw, var(--hero-gutter));
    padding-right: clamp(1rem, 3vw, var(--hero-gutter));
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .page-home .hero-meta {
    letter-spacing: 0.05em;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-title-wrap {
    justify-content: center;
  }

  .page-home .hero-title {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    gap: 8px;
    --hero-scale: 1.4;
  }

  .page-home .hero-name-block--first,
  .page-home .hero-name-block--last {
    flex: 0 0 auto;
    width: auto;
    align-items: flex-end;
  }

  .page-home .hero-first,
  .page-home .hero-last {
    text-align: right;
    width: auto;
  }

  .page-home .hero-role {
    text-align: right;
    width: auto;
  }

}

@media (max-width: 900px) {
  /* Mobile: same content-sized orange + filling cream; no forced half-heights. */
  .page-home.page-work .hero,
  .page-home .hero {
    height: auto;
    min-height: 90dvh;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .page-home .hero-stage {
    flex: 0 0 auto;
    min-height: 0;
    padding-bottom: clamp(2rem, 6vh, 3.5rem);
  }

  .page-home .hero-lower {
    flex: 1 1 auto;
    min-height: 0;
  }

  .page-home .hero-title-wrap {
    justify-content: center;
  }

  /* Flatten the two name blocks so FRANK + BARNHARDT share one row,
     with the portrait and the role each on their own centered row.
     Extra selector specificity keeps these gaps from being reset to 0
     by the max-width: 1199px rule that follows. */
  .page-home .hero-title-wrap .hero-title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    column-gap: clamp(0.4rem, 2vw, 1rem);
    row-gap: 0.75rem;
    width: 100%;
    max-width: 100%;
  }

  .page-home .hero-name-block--first,
  .page-home .hero-name-block--last {
    display: contents;
  }

  .page-home .hero-first,
  .page-home .hero-last {
    width: auto;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(2.25rem, 17vw, 9rem);
  }

  .page-home .hero-first {
    order: 2;
  }

  .page-home .hero-last {
    order: 3;
  }

  .page-home .hero-role--ghost {
    display: none;
  }

  .page-home .hero-art {
    order: 1;
    flex: 0 0 100%;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .hero-role {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.95rem, 4.5vw, 1.6rem);
  }

  .page-home .hero-subhead__lead {
    white-space: nowrap;
  }

  .page-home .hero-subhead__lead-line {
    display: inline;
  }
}

@media (max-width: 767px) {
  .site-nav--bar .nav-connect-cta {
    display: none;
  }
}

@media (max-width: 1199px) {
  .page-home .hero-title {
    gap: 0;
  }

  .page-home .hero-art {
    order: 1;
    margin-bottom: clamp(0.75rem, 3vh, 2rem);
  }

  .page-home .hero-name-block--first {
    order: 2;
  }

  .page-home .hero-name-block--last {
    order: 3;
  }

  .page-home .hero-meta {
    text-align: initial;
    column-gap: 0.75rem;
    font-size: 0.8125rem;
  }

  .page-home .hero-meta p:nth-child(1) {
    text-align: left;
  }

  .page-home .hero-meta p:nth-child(2) {
    text-align: right;
  }
}

@media (max-width: 900px) {
  .page-home .hero-subhead__lead {
    grid-row: 1;
    margin-bottom: 10px;
  }

  .page-home .hero-subhead__body-group {
    grid-row: 2;
    margin: 0;
  }

  /* Mobile/tablet CTA hover */
  .page-home .hero .hero-subhead__work-link.nav-connect-cta:hover {
    background-color: #E65B38;
  }

  .site-nav--bar .nav-links.nav-links--overlay {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-overlay-backdrop,
  .site-nav--bar .nav-links.nav-links--overlay,
  .site-nav--bar .nav-links--overlay .nav-link {
    transition: none;
  }

  .site-nav--bar .nav-links--overlay .nav-link {
    opacity: 1;
    transform: none;
  }

  .site-nav--bar .nav-links--overlay.is-open .nav-links__list li:nth-child(n) .nav-link {
    transition-delay: 0s;
  }

  .page-home .site-nav.nav-hidden {
    transform: none;
  }
}

/* ========== Works Section Redesign (Figma) ========== */
.works-section-redesign {
  background: #020104;
  color: #f5f0e8;
  padding: 200px var(--site-gutter) 80px;
  box-sizing: border-box;
}

.works-section-redesign--logos {
  padding-top: 180px;
  padding-bottom: 40px;
}

.works-section-redesign--selected {
  padding-top: 40px;
  padding-bottom: 40px;
}

.works-section-redesign__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.works-section-redesign__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
}

.works-section-redesign__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.works-section-redesign__heading .what-i-do-best__eyebrow {
  margin: 0;
}

.works-section-redesign__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: center;
  margin-bottom: 200px;
}

.works-section-redesign__title {
  margin: 0;
  font-family: var(--font-section);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.works-section-redesign__subtext {
  margin: 0;
  max-width: 22em;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.35vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(245, 240, 232, 0.78);
  text-align: right;
}

.works-section-redesign__subtext-line {
  display: block;
}

.works-section-redesign__subtext-mobile {
  display: none;
}

.works-section-redesign__divider {
  display: none;
}

.works-section-redesign__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(4.9rem, 11.2vw, 7rem);
  padding: 0.5rem;
}

.works-section-redesign__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 16.1rem);
  max-height: clamp(2.8rem, 6.3vw, 4.2rem);
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(0.72);
  opacity: 1;
}

.works-section-redesign__logo img[alt="Cisco"] {
  max-height: clamp(3.85rem, 8.4vw, 5.6rem);
  max-width: min(100%, 18.2rem);
}

.works-section-redesign__logo img[alt="EA"] {
  max-height: calc(clamp(2.8rem, 6.3vw, 4.2rem) * 1.2);
  max-width: calc(min(100%, 16.1rem) * 1.2);
}

@media (max-width: 768px) {
  .works-section-redesign {
    padding-bottom: 20px;
  }

  .works-section-redesign--logos {
    display: none;
  }

  .works-section-redesign__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 30px;
  }

  .works-section-redesign__logo--hide-mobile {
    display: none;
  }

  .works-section-redesign__subtext {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .works-section-redesign {
    padding-top: 40px;
  }

  .works-section-redesign__header {
    flex-direction: column;
    align-items: stretch;
  }

  .works-section-redesign__subtext {
    text-align: left;
    max-width: none;
    width: 100%;
    min-width: 0;
    font-size: clamp(0.6875rem, 3.45vw, 0.875rem);
  }

  .works-section-redesign__subtext-desktop {
    display: none;
  }

  .works-section-redesign__subtext-mobile {
    display: block;
    white-space: nowrap;
  }
}

/* ========== Case Study Tiles Grid ========== */
.case-tiles {
  --case-tile-height: 600px;
  background: #020104;
  color: #f5f0e8;
  padding: 0 var(--site-gutter) 200px;
  box-sizing: border-box;
}

.case-tiles__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.case-tiles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.case-tile {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  cursor: default;
}

/* Hidden for now — markup kept for MUFG and Vestis */
.case-tile--mufg,
.case-tile--vestis {
  display: none;
}

.case-tile[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.case-tile__hit {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.case-tile--fedex {
  cursor: pointer;
}

/* FedEx desktop hover panel — other tiles keep shared caption hover */
.case-tile__fedex-hover {
  display: none;
}

@media (min-width: 641px) {
  .case-tile--fedex .case-tile__media {
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .case-tile__fedex-hover {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      linear-gradient(111.12deg, #755797 15.68%, #5A3C7D 81.43%),
      url("images/Case Study Tiles/Tile_FedEx.png");
    background-size: cover;
    background-position: center;
    transition: opacity 0.28s ease;
  }

  .case-tile__fedex-hover-content {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px;
    color: #fff;
  }

  .case-tile__fedex-hover-logo {
    display: block;
    width: clamp(6.6rem, 14.4vw, 9rem);
    height: auto;
    margin: 0 0 0.85rem;
  }

  .case-tile__fedex-hover-title {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 28.8px;
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__fedex-hover-body {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 19.2px;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__fedex-hover-job {
    margin: auto 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #fff;
  }

  .case-tile__fedex-hover-role {
    margin: 0 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile__fedex-hover-date {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile--fedex:hover .case-tile__fedex-hover,
  .case-tile--fedex:focus-within .case-tile__fedex-hover,
  .case-tile--fedex .case-tile__hit:focus-visible .case-tile__fedex-hover {
    opacity: 1;
  }

  .case-tile--fedex:hover .case-tile__media,
  .case-tile--fedex:focus-within .case-tile__media,
  .case-tile--fedex .case-tile__hit:focus-visible .case-tile__media {
    border-color: rgba(255, 157, 77, 0.5);
    box-shadow: 0 0 12px 2px rgba(255, 157, 77, 0.5);
  }

  /* Keep FedEx resting image stable; suppress shared caption overlay hover */
  .case-tile--fedex:hover .case-tile__media::after,
  .case-tile--fedex:focus-within .case-tile__media::after,
  .case-tile--fedex .case-tile__hit:hover .case-tile__media::after,
  .case-tile--fedex .case-tile__hit:focus-visible .case-tile__media::after {
    opacity: 0;
  }

  .case-tile--fedex:hover .case-tile__caption,
  .case-tile--fedex:focus-within .case-tile__caption,
  .case-tile--fedex .case-tile__hit:hover .case-tile__caption,
  .case-tile--fedex .case-tile__hit:focus-visible .case-tile__caption {
    opacity: 0;
  }

  .case-tile--fedex:hover .case-tile__image,
  .case-tile--fedex:focus-within .case-tile__image,
  .case-tile--fedex .case-tile__hit:hover .case-tile__image,
  .case-tile--fedex .case-tile__hit:focus-visible .case-tile__image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-tile__fedex-hover {
    transition: none;
  }
}

.case-tile--cisco {
  cursor: pointer;
}

/* Cisco desktop hover panel — mirrors FedEx pattern */
.case-tile__cisco-hover {
  display: none;
}

@media (min-width: 641px) {
  .case-tile--cisco .case-tile__media {
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .case-tile__cisco-hover {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      linear-gradient(111.12deg, #755797 15.68%, #5A3C7D 81.43%),
      url("images/Case Study Tiles/Tile_Cisco.png");
    background-size: cover;
    background-position: center;
    transition: opacity 0.28s ease;
  }

  .case-tile__cisco-hover-content {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px;
    color: #fff;
  }

  .case-tile__cisco-hover-logo {
    display: block;
    width: clamp(5.28rem, 11.52vw, 7.2rem);
    height: auto;
    margin: 0 0 0.85rem;
  }

  .case-tile__cisco-hover-title {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 28.8px;
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__cisco-hover-body {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 19.2px;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__cisco-hover-job {
    margin: auto 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #fff;
  }

  .case-tile__cisco-hover-role {
    margin: 0 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile__cisco-hover-date {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile--cisco:hover .case-tile__cisco-hover,
  .case-tile--cisco:focus-within .case-tile__cisco-hover {
    opacity: 1;
  }

  .case-tile--cisco:hover .case-tile__media,
  .case-tile--cisco:focus-within .case-tile__media {
    border-color: #FF9D4D;
    box-shadow: 0 0 12px 2px rgba(255, 157, 77, 0.5);
  }

  /* Keep Cisco resting image stable; suppress shared caption overlay hover */
  .case-tile--cisco:hover .case-tile__media::after,
  .case-tile--cisco:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile--cisco:hover .case-tile__caption,
  .case-tile--cisco:focus-within .case-tile__caption {
    opacity: 0;
  }

  .case-tile--cisco:hover .case-tile__image,
  .case-tile--cisco:focus-within .case-tile__image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-tile__cisco-hover {
    transition: none;
  }
}

.case-tile--chase {
  cursor: pointer;
}

/* Chase desktop hover panel — mirrors FedEx/Cisco pattern */
.case-tile__chase-hover {
  display: none;
}

@media (min-width: 641px) {
  .case-tile--chase .case-tile__media {
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .case-tile__chase-hover {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      linear-gradient(111.12deg, #755797 15.68%, #5A3C7D 81.43%),
      url("images/Case Study Tiles/Tile_Chase_Help.png");
    background-size: cover;
    background-position: center;
    transition: opacity 0.28s ease;
  }

  .case-tile__chase-hover-content {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px;
    color: #fff;
  }

  .case-tile__chase-hover-logo {
    display: block;
    /* 20% smaller than Cisco's original logo size (5.5rem / 12vw / 7.5rem) */
    width: clamp(5.28rem, 11.52vw, 7.2rem);
    height: auto;
    margin: 0 0 0.85rem;
  }

  .case-tile__chase-hover-title {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 28.8px;
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__chase-hover-body {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 19.2px;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__chase-hover-job {
    margin: auto 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #fff;
  }

  .case-tile__chase-hover-role {
    margin: 0 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile__chase-hover-date {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile--chase:hover .case-tile__chase-hover,
  .case-tile--chase:focus-within .case-tile__chase-hover {
    opacity: 1;
  }

  .case-tile--chase:hover .case-tile__media,
  .case-tile--chase:focus-within .case-tile__media {
    border-color: #FF9D4D;
    box-shadow: 0 0 12px 2px rgba(255, 157, 77, 0.5);
  }

  .case-tile--chase:hover .case-tile__media::after,
  .case-tile--chase:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile--chase:hover .case-tile__image,
  .case-tile--chase:focus-within .case-tile__image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-tile__chase-hover {
    transition: none;
  }
}

.case-tile--globe {
  cursor: pointer;
}

/* Globe desktop hover panel — mirrors FedEx/Cisco/Chase pattern */
.case-tile__globe-hover {
  display: none;
}

@media (min-width: 641px) {
  .case-tile--globe .case-tile__media {
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .case-tile__globe-hover {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      linear-gradient(111.12deg, #755797 15.68%, #5A3C7D 81.43%),
      url("images/Case Study Tiles/Tile_Globe.png");
    background-size: cover;
    background-position: center;
    transition: opacity 0.28s ease;
  }

  .case-tile__globe-hover-content {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px;
    color: #fff;
  }

  .case-tile__globe-hover-logo {
    display: block;
    /* 30% larger than previous Globe hover logo */
    width: clamp(6.864rem, 14.976vw, 9.36rem);
    height: auto;
    margin: 0 0 0.85rem;
  }

  .case-tile__globe-hover-title {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 28.8px;
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__globe-hover-body {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 19.2px;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
  }

  .case-tile__globe-hover-job {
    margin: auto 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #fff;
  }

  .case-tile__globe-hover-role {
    margin: 0 0 0.2rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile__globe-hover-date {
    margin: 0;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
  }

  .case-tile--globe:hover .case-tile__globe-hover,
  .case-tile--globe:focus-within .case-tile__globe-hover {
    opacity: 1;
  }

  .case-tile--globe:hover .case-tile__media,
  .case-tile--globe:focus-within .case-tile__media {
    border-color: #FF9D4D;
    box-shadow: 0 0 12px 2px rgba(255, 157, 77, 0.5);
  }

  .case-tile--globe:hover .case-tile__media::after,
  .case-tile--globe:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile--globe:hover .case-tile__image,
  .case-tile--globe:focus-within .case-tile__image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-tile__globe-hover {
    transition: none;
  }
}

.case-tile__cta {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.case-tile__media {
  position: relative;
  width: 100%;
  height: var(--case-tile-height);
  aspect-ratio: auto;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.case-tile__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.case-tile__placeholder {
  width: 100%;
  height: 100%;
  background: #6d6d6d;
}

.case-tile__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  transition: transform 0.45s ease;
}

.case-tile__caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--case-tile-height);
  aspect-ratio: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.case-tile__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}

.case-tile__title strong {
  font-weight: 700;
}

.case-tile__body {
  margin: 0.35rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.case-tile__status {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

.case-tile__status--coming-soon {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #262626;
  color: #fff;
}

.case-tile:hover .case-tile__media::after,
.case-tile:focus-within .case-tile__media::after,
.case-tile__hit:hover .case-tile__media::after,
.case-tile__hit:focus-visible .case-tile__media::after {
  opacity: 1;
}

.case-tile:hover .case-tile__caption,
.case-tile:focus-within .case-tile__caption,
.case-tile__hit:hover .case-tile__caption,
.case-tile__hit:focus-visible .case-tile__caption {
  opacity: 1;
}

/* Cisco/Chase/Globe: shared caption hover must stay hidden under brand hover panels */
@media (min-width: 641px) {
  .case-tile.case-tile--cisco:hover .case-tile__caption,
  .case-tile.case-tile--cisco:focus-within .case-tile__caption {
    opacity: 0;
    visibility: hidden;
  }

  .case-tile.case-tile--cisco:hover .case-tile__media::after,
  .case-tile.case-tile--cisco:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile.case-tile--cisco:hover .case-tile__image,
  .case-tile.case-tile--cisco:focus-within .case-tile__image {
    transform: none;
  }

  .case-tile.case-tile--chase:hover .case-tile__caption,
  .case-tile.case-tile--chase:focus-within .case-tile__caption {
    opacity: 0;
    visibility: hidden;
  }

  .case-tile.case-tile--chase:hover .case-tile__media::after,
  .case-tile.case-tile--chase:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile.case-tile--chase:hover .case-tile__image,
  .case-tile.case-tile--chase:focus-within .case-tile__image {
    transform: none;
  }

  .case-tile.case-tile--globe:hover .case-tile__caption,
  .case-tile.case-tile--globe:focus-within .case-tile__caption {
    opacity: 0;
    visibility: hidden;
  }

  .case-tile.case-tile--globe:hover .case-tile__media::after,
  .case-tile.case-tile--globe:focus-within .case-tile__media::after {
    opacity: 0;
  }

  .case-tile.case-tile--globe:hover .case-tile__image,
  .case-tile.case-tile--globe:focus-within .case-tile__image {
    transform: none;
  }
}

.case-tile:hover .case-tile__image,
.case-tile:focus-within .case-tile__image,
.case-tile__hit:hover .case-tile__image,
.case-tile__hit:focus-visible .case-tile__image {
  transform: rotate(-0.9deg) scale(1.02);
}

@media (min-width: 641px) {
  .case-tile.case-tile--cisco:hover .case-tile__image,
  .case-tile.case-tile--cisco:focus-within .case-tile__image,
  .case-tile.case-tile--chase:hover .case-tile__image,
  .case-tile.case-tile--chase:focus-within .case-tile__image,
  .case-tile.case-tile--globe:hover .case-tile__image,
  .case-tile.case-tile--globe:focus-within .case-tile__image {
    transform: none;
  }
}

@media (max-width: 640px) {
  .case-tiles {
    --case-tile-height: auto;
    padding-bottom: 40px;
  }

  .case-tiles__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-tile--fedex .case-tile__caption,
  .case-tile--cisco .case-tile__caption,
  .case-tile--chase .case-tile__caption,
  .case-tile--globe .case-tile__caption {
    display: none;
  }

  .case-tile__body {
    display: none;
  }

  .case-tile__media::after,
  .case-tile:hover .case-tile__media::after,
  .case-tile:focus-within .case-tile__media::after,
  .case-tile__hit:hover .case-tile__media::after,
  .case-tile__hit:focus-visible .case-tile__media::after {
    opacity: 0;
  }

  .case-tile:hover .case-tile__image,
  .case-tile:focus-within .case-tile__image,
  .case-tile__hit:hover .case-tile__image,
  .case-tile__hit:focus-visible .case-tile__image {
    transform: none;
  }

  /* Same default art as desktop; tap goes straight to case study */
  .case-tile--fedex .case-tile__media,
  .case-tile--cisco .case-tile__media,
  .case-tile--chase .case-tile__media,
  .case-tile--globe .case-tile__media {
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 1440 / 903;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
  }

  .case-tile--fedex .case-tile__image,
  .case-tile--cisco .case-tile__image,
  .case-tile--chase .case-tile__image,
  .case-tile--globe .case-tile__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .case-tile__fedex-hover,
  .case-tile__cisco-hover,
  .case-tile__chase-hover,
  .case-tile__globe-hover {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-tile__media::after,
  .case-tile__caption,
  .case-tile__image {
    transition: none;
  }

  .case-tile:hover .case-tile__media::after,
  .case-tile:focus-within .case-tile__media::after,
  .case-tile__hit:hover .case-tile__media::after,
  .case-tile__hit:focus-visible .case-tile__media::after {
    opacity: 1;
  }

  .case-tile:hover .case-tile__caption,
  .case-tile:focus-within .case-tile__caption,
  .case-tile__hit:hover .case-tile__caption,
  .case-tile__hit:focus-visible .case-tile__caption {
    opacity: 1;
  }

  .case-tile:hover .case-tile__image,
  .case-tile:focus-within .case-tile__image,
  .case-tile__hit:hover .case-tile__image,
  .case-tile__hit:focus-visible .case-tile__image {
    transform: none;
  }
}
