html {
  scroll-behavior: smooth;
}

:root {
  /* CORE NEUTRAL SCALE */
  --gray-0: hsl(0 0% 100%);
  --gray-50: hsl(210 20% 98%);
  --gray-100: hsl(210 20% 96%);
  --gray-200: hsl(210 16% 92%);
  --gray-300: hsl(210 14% 86%);
  --gray-400: hsl(210 10% 64%);
  --gray-500: hsl(210 8% 46%);
  --gray-600: hsl(210 10% 32%);
  --gray-700: hsl(210 12% 22%);
  --gray-800: hsl(210 14% 14%);
  --gray-900: hsl(210 16% 10%);

  /* SEMANTIC TOKENS */
  --bg: var(--gray-50);
  --bg-2: var(--gray-100);
  --surface: var(--gray-0);
  --surface-2: var(--gray-100);
  --card: var(--gray-0);

  --text: var(--gray-900);
  --text-soft: var(--gray-600);
  --text-muted: var(--gray-500);

  --line: hsla(210, 10%, 10%, 0.08);
  --line-strong: hsla(210, 10%, 10%, 0.16);

  /* ACCENT */
  --accent: #6e7bff;
  --accent-light: hsl(232 100% 97%);
  --accent-dark: hsl(232 42% 26%);
  --highlight: var(--accent);

  /* CHART */
  --chart-1: #6e7bff;
  --chart-2: #8a94ff;
  --chart-3: #a9b1ff;
  --chart-4: #c5caff;
  --chart-5: #e0e3ff;

  /* SHADOWS */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.06);

  /* RADIUS */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* SPACING */
  --page-pad: clamp(24px, 4vw, 56px);
  --section-pad: clamp(24px, 4vw, 56px);
  --sidebar-width: 220px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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



h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1,
h2,
.dash-header,
.dash-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  max-width: 100%;
  color: var(--text-soft);
  line-height: 1.65;
}

.container {
  padding: 2%;
}

/* =========================
   SIDEBAR / NAV
========================= */

.navProfile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 28px;
}

.name {
  align-self: center;
  margin-top: 8px;
  color: var(--text);
  line-height: 1;
  font-size: 0.8em;
}

.profilePic {
  width: 56px;
  height: 56px;
  align-self: center;
  margin-top: auto;
  padding: 12px;
  border-radius: 50%;
}

.logoImg {
  width: 56px;
  height: auto;
}

#navBar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--sidebar-width);
  height: 100vh;
  padding: 28px 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-right: 1px solid var(--line);
}

#sideNavigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}

#sideNavigation a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.85em;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

#sideNavigation a:hover,
#sideNavigation a:focus-visible,
#sideNavigation a.highlight {
  background: var(--accent-light);
  color: var(--accent-dark);
  outline: none;
}

#sideNavigation .navGroup {
  width: 100%;
}

#sideNavigation .subMenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 4px 0 0 16px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  transition: max-height 220ms ease, opacity 180ms ease;
}

#sideNavigation .navGroup:hover .subMenu,
#sideNavigation .navGroup:focus-within .subMenu {
  max-height: 500px;
  opacity: 1;
}

#sideNavigation .subMenu a {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.navLink {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navIcon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding-right: 12px;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-soft);
  text-decoration: none;
}

.icon-link svg {
  width: 24px;
  height: 24px;
}

.icon-link:hover {
  background-color: var(--accent);
  border-radius: 50%;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* =========================
   PAGE / SECTIONS
========================= */

#page {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  background: var(--bg);
}

#page section {
  scroll-margin-top: 84px;
}

section:target {
  outline: none;
}

#infoSection,
.servicesSection,
#carouselSection,
.contactSection,
#aboutSection,
#playPage {
  padding: var(--section-pad) var(--page-pad);
}

/* =========================================
   CASE-STUDY ARTIFACT ROWS
========================================= */

#page .caseStudy {
  --case-space: clamp(64px, 6vw, 104px);
  --case-content-space: clamp(32px, 4vw, 64px);
}

#page .caseStudy .artifactGrid:not(.single) {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 32px;
  margin-top: clamp(40px, 5vw, 72px);
}

#page .caseStudy .artifactGrid + .artifactGrid {
  margin-top: clamp(56px, 6vw, 88px);
}

#page .caseStudy .artifactGrid > * {
  min-width: 0;
}

#page .caseStudy .artifactInsightCard {
  align-self: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#page .caseStudy .artifactInsightCard h4 {
  max-width: 10ch;
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 3.4vw, 3.6rem);
  line-height: 0.98;
}

#page .caseStudy .artifactInsightCard p {
  max-width: 34rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

#page .caseStudy .artifactImageCard {
  padding: 0;
  overflow: hidden;
}

#page .caseStudy .artifactImageCard figcaption {
  padding: 24px 24px 0;
}

#page .caseStudy .artifactImageCard img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  #page .caseStudy .artifactGrid:not(.single) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #page .caseStudy .artifactGrid:not(.single) > * {
    grid-column: 1;
  }

  #page .caseStudy .artifactInsightCard h4 {
    max-width: 14ch;
  }
}

/* =========================
   CASE STUDY STICKY NAV
========================= */

.csNav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 18px;
  white-space: nowrap;
  background: rgba(246, 246, 243, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.csNav a {
  padding: 8px 14px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: all 0.2s ease;
}



.csNav::-webkit-scrollbar {
  height: 6px;
}

.csNav::-webkit-scrollbar-thumb {
  background: rgba(23, 23, 23, 0.18);
  border-radius: 999px;
}

/* =========================
   HERO
========================= */

#heroGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 5vw, 56px);
  background: var(--bg);
}

.heroCard {
  grid-column: 1;
  align-self: center;
  max-width: 520px;
  padding-left: 32px;
  background: transparent;
}

.heroImage {
  grid-column: 2;
  align-self: center;
  width: 100%;
  max-width: 560px;
}

.heroImage img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.heroKPI {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0px;
  margin-bottom: 56px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kpi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kpi-num {
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.kpi-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

/* =========================
   GLOBAL CARD SURFACE
========================= */

.infoBlock,
.serviceCard,
.card,
.skillCard,
.galleryItem,
.contactCard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.infoBlock,
.serviceCard,
.skillCard,
.card,
.contactCard {
  padding: 24px;
}

/* =========================
   INFO / SERVICES
========================= */

#infoSection,
.servicesSection,
#carouselSection,
.contactSection {
  background: var(--bg);
}

.infoGrid,
.caseGrid,
.metaGrid,
.servicesGrid {
  display: grid;
}

.infoGrid {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.caseGrid {
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.metaGrid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.sectionHeader {
  max-width: 640px;
  margin-bottom: 48px;
}

.sectionHeader h2 {
  margin-bottom: 14px;
}

.servicesGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.serviceCard {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.serviceCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* =========================
   BUTTONS
========================= */

.ctaButton,
.primaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--chart-1);
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ctaButton:hover,
.primaryButton:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.ghostButton,
.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ghostButton:hover,
.secondaryButton:hover {
  background: var(--surface-2);
  border-color: var(--text-muted);
}

/* =========================
   CAROUSEL
========================= */

#studies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  box-sizing: border-box;
}

.carouselWrapper {
  overflow: hidden;
}

.carouselTrack {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
}

.carouselTrack:active {
  cursor: grabbing;
}

.carouselTrack::-webkit-scrollbar {
  display: none;
}

.projectCard {
  flex: 0 0 380px;
  min-height: 620px;
  padding: 16px 16px 24px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--card) 100%);
  border: none;
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: 0 24px 48px -20px rgba(30, 32, 60, 0.22);
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.projectCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -20px rgba(30, 32, 60, 0.28);
}

.projectCard .cardImage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 19 / 21;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--accent-light), var(--chart-5) 60%, var(--gray-50));
  border: none;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  padding: 28px;
}

.projectCard .cardImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
}

.projectCard .cardImage--placeholder {
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
}

.projectCard .cardImage--placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.projectCard .cardImage--placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.projectMeta {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projectCard h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.projectCard h3,
.serviceCard h3,
.contactCard h3 {
  margin: 0 0 10px;
}

.projectCard p,
.serviceCard p,
.contactCard p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.carouselNav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.carouselBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.carouselBtn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* =========================
   DASHBOARD
========================= */

.dash {
  max-width: 95%;
  margin: 0 auto;
  padding: 32px 20px;
  color: var(--text);
}

.dash-head {
  margin-bottom: 20px;
}

.dash-title {
  margin: 36px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.dash-subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.dash-grid-stack,
.dash-stack {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.dash-stack {
  gap: 12px;
}

.dash-stack .card-header {
  padding-bottom: 8px;
}

.dash-stack .card-body {
  padding-top: 8px;
}

.card-header {
  margin-bottom: 14px;
}

.card-title {
  margin-top: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-meta,
.muted {
  color: var(--text-muted);
}

.card-meta {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

/* PIE */
.pie-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.pie {
  position: relative;
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    conic-gradient(
      var(--chart-1) 0 calc(var(--ux) * 1%),
      var(--chart-2) calc(var(--ux) * 1%) calc((var(--ux) + var(--ui)) * 1%),
      var(--chart-3) calc((var(--ux) + var(--ui)) * 1%) calc((var(--ux) + var(--ui) + var(--ds)) * 1%),
      var(--chart-4) calc((var(--ux) + var(--ui) + var(--ds)) * 1%) calc((var(--ux) + var(--ui) + var(--ds) + var(--fe)) * 1%),
      var(--chart-5) calc((var(--ux) + var(--ui) + var(--ds) + var(--fe)) * 1%) 100%
    );
}

.pie::after {
  content: "";
  position: absolute;
  inset: 23%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.legend {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.94rem;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.sw-ux { background: var(--chart-1); }
.sw-ui { background: var(--chart-2); }
.sw-ds { background: var(--chart-3); }
.sw-fe { background: var(--chart-4); }
.sw-gd { background: var(--chart-5); }

/* BARS */
.bars {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.94rem;
}

.bar-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

/* PROCESS */
.process-card {
  overflow: hidden;
}

.process-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 78px;
}

.process-dot {
  width: 14px;
  height: 14px;
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
}

.process-step.active .process-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.process-step.partial .process-dot {
  background: var(--surface);
  border-color: var(--accent);
}

.process-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}

.process-step.active .process-label {
  color: var(--text);
}

.process-line {
  height: 2px;
  background: var(--line);
  border-radius: 999px;
}

.process-line.active {
  background: var(--accent);
}

.process-line.partial {
  background: linear-gradient(to right, var(--accent), var(--line));
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.82rem;
  background: var(--chart-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}

/* TIMELINE */
.timeline-legend li,
.team-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.connector {
  flex: 1;
  margin: 0 6px;
  border-bottom: 1px dotted rgba(23, 23, 23, 0.3);
}

/* RESEARCH / GALLERY */
.research-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.research-shot {
  display: grid;
  gap: 8px;
  margin: 0;
}

.research-link {
  display: block;
}

.research-shot img,
.card-image img,
.galleryItem img {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.research-shot img,
.card-image img {
  height: 220px;
}

.research-shot figcaption {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.card-image {
  margin-top: 14px;
}

.card-body--split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
}

/* =========================
   ABOUT HERO
========================= */

.aboutHero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.aboutIntro {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  padding: 48px 0 0 40px;
}

.aboutEyebrow {
  margin: 0 0 12px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.aboutIntro h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.aboutIntro p:last-child {
  max-width: 420px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.aboutStage {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
}

.portraitBase {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(52vw, 1028px);
  height: auto;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

/* MASKS */
.maskLayer {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(6px at var(--origin-x, 50%) var(--origin-y, 50%));
  transition:
    clip-path 3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.maskLayer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(160vmax at var(--origin-x, 50%) var(--origin-y, 50%));
}

.maskLayer.is-closing {
  opacity: 1;
  visibility: visible;
  clip-path: circle(6px at var(--origin-x, 50%) var(--origin-y, 50%));
  transition:
    clip-path 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.maskMedia {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.maskLayer.is-active .maskMedia {
  transform: scale(1);
}

.maskLayer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
}

.closeBtn {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  opacity: 0;
  cursor: pointer;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: none;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  transform: translateY(-10px);
  transition:
    opacity 0.9s ease 0.95s,
    transform 0.9s ease 0.95s,
    background 0.25s ease;
}

.maskLayer.is-active .closeBtn {
  opacity: 1;
  transform: translateY(0);
}

.closeBtn:hover {
  background: #fff;
}

/* PANEL CONTENT */
.panelContent {
  position: absolute;
  z-index: 4;
  width: min(420px, 32vw);
  height: min(420px, 32vw);
  padding: 42px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(42px);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.maskLayer.is-active .panelContent {
  opacity: 1;
  transform: translateY(0);
}

.panelContent h2 {
  margin-bottom: 0px;
  padding-top: 70px;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 0.95;
  font-weight: 500;
  text-align: center;
}

.panelContent p {
  margin: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

/* Panel placements */
.maskLayer[data-panel="why"] .panelContent {
  top: 34%;
  left: 10%;
}

.maskLayer[data-panel="love"] .panelContent {
  top: 10%;
  right: 32%;
}

.maskLayer[data-panel="not-designing"] .panelContent {
  top: 33%;
  right: 8%;
}

.maskLayer[data-panel="grow"] .panelContent {
  right: 10%;
  bottom: 8%;
}

.maskLayer[data-panel="abroad"] .panelContent {
  left: 8%;
  bottom: 10%;
}

/* ORBIT BUTTONS */
.orbitBtn {
  position: absolute;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.orbitBtn:hover {
  transform: translateY(-3px) scale(1.04);
}

.orbitBtn.is-active {
  transform: translateY(-3px) scale(1.06);
}

.orbitBtn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
  border-radius: 14px;
}

.orbitBtn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.orbitBtn:hover .orbitBtn__icon,
.orbitBtn.is-active .orbitBtn__icon {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  transform: scale(1.08);
}

.orbitBtn__icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  opacity: 0;
  border-radius: 50%;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.orbitBtn:hover .orbitBtn__icon::after,
.orbitBtn.is-active .orbitBtn__icon::after {
  opacity: 1;
  transform: scale(1);
}

.orbitBtn__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
}

.orbitBtn__icon svg:hover {
  fill:#6e7bff;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.orbitBtn__label {
  display: block;
  max-width: none;
  overflow: hidden;
  color: #111;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-wrap: balance;
}

.orbitBtn span {
  position: static;
  inset: auto;
  padding: 0;
}

.orbitBtn::after {
  content: none;
}

/* Trigger positions */
.orbitBtn--why {
  top: 42%;
  left: 10%;
}

.orbitBtn--love {
  top: 25%;
  right: 50%;
}

.orbitBtn--not-designing {
  top: 42%;
  right: 22%;
}

.orbitBtn--grow {
  right: 9%;
  bottom: 10%;
}

.orbitBtn--abroad {
  left: 3%;
  bottom: 10%;
}

/* Masked state */
.aboutHero.is-masked .aboutIntro {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.aboutHero.is-masked .orbitBtn {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.aboutHero.is-masked .portraitBase {
  opacity: 0;
}

.aboutIntro,
.orbitBtn,
.portraitBase {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* =========================
   PLAY PAGE
========================= */

.playHero {
  max-width: 700px;
  margin-bottom: 64px;
}

.playHero h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.playIntro {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.7;
}

.gallerySection {
  margin-bottom: 84px;
}

.galleryGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.galleryItem {
  overflow: hidden;
  padding: 0;
  background-color: var(--surface);
}

.galleryItem img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.galleryItem:hover img {
  opacity: 0.94;
  transform: scale(1.02);
}

/* =========================
   CONTACT
========================= */

.contactGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 48px;
}

.contactIntro p {
  max-width: 650px;
}

.contactActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.contactMeta p {
  margin: 8px 0;
  color: var(--text-soft);
}

.contactCard {
  width: 380px;
  height: 380px;
  overflow: hidden;
  padding: 0;
  border-radius: 60%;
}

.contactCard img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .pie-layout {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 1000px) {
  .servicesGrid,
  .skillsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================
   RESPONSIVE ABOUT SECTION
========================= */
@media (max-width: 980px) {
  .aboutHero {
    min-height: 960px;
  }

  .aboutIntro {
    max-width: 100%;
    padding: 32px 24px 0;
  }

  .aboutIntro p:last-child {
    max-width: 560px;
  }

  .portraitBase {
    width: min(78vw, 620px);
  }

  .panelContent {
    width: min(320px, 82vw);
  }

  .maskLayer[data-panel="why"] .panelContent {
    top:auto;
    left: auto;
  }

  .maskLayer[data-panel="love"] .panelContent {
    top: auto;
    right: auto;
  }

  .maskLayer[data-panel="not-designing"] .panelContent {
    top: auto;
    right: auto;
  }

  .maskLayer[data-panel="grow"] .panelContent {
    right: auto;
    bottom: auto;
  }

  .maskLayer[data-panel="abroad"] .panelContent {
    left: auto;
    bottom: auto;
  }

  .orbitBtn {
    width: 48px;
    height: 48px;
  }

  .orbitBtn span {
    padding: 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 920px) {
  .dash-grid-2,
  .dash-grid-4,
  .pie-layout {
    grid-template-columns: 1fr;
  }

  .pie {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  #heroGrid {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .heroImage {
    display: none;
  }

  .heroCard {
    position: relative;
    z-index: 1;
  }

  .heroCard,
  .heroImage,
  .heroKPI {
    grid-column: 1;
  }

  .heroKPI {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding-top: 28px;
  }

  .dash-grid-2 {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .process-line {
    display: none;
  }

  .process-step {
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
  }

  .process-label {
    text-align: left;
  }
/* =========================
   RESPONSIVE NAV
========================= */
  #navBar {
    position: sticky;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.94);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .social-icons {
    display: none;
  }

  .logoImg {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .profilePic {
    position: absolute;
    top: 10px;
  }

  .navTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  .navLinks {
    position: absolute;
    top: 70px;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .navLinks.active {
    display: flex;
  }

  #sideNavigation {
    display: none;
  }

  #page,
  #footer {
    margin-left: 0;
  }

  #heroGrid,
  .caseGrid,
  .contactGrid,
  .card-body--split,
  .aboutContainer,
  .infoGrid,
  .research-gallery {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .servicesGrid,
  .galleryGrid,
  .skillsGrid {
    grid-template-columns: 1fr;
  }

  .playHero,
  .gallerySection {
    margin-left: 0;
  }

  .research-shot img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .aboutHero {
    display: flex;
    flex-direction: column;
    align-items: left;
    min-height: auto;
    padding: 32px 20px 48px;
    text-align: left;
  }

  .aboutIntro {
    max-width: 480px;
    padding: 0;
    margin-bottom: 24px;
  }

  .aboutIntro h1 {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .aboutIntro p {
    max-width: 100%;
  }

  .aboutStage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: auto;
  }

  .portraitBase {
    display: none;
  }

  .orbitBtn {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: auto;
  }

  .orbitRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    margin-top: 12px;
  }

  .orbitBtn__icon {
    width: 56px;
    height: 56px;
  }

  .orbitBtn__icon svg {
    width: 22px;
    height: 22px;
  }

  .orbitBtn__label {
    font-size: 0.75rem;
  }

  .panelContent {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(92vw, 340px);
    height: auto;
    margin: 24px auto 0;
    border-radius: 24px;
  }
}

@media (max-width: 700px) {
  .timelineBar {
    flex-direction: column;
  }

  .timelineSeg {
    width: 100%;
  }

  #footer {
    padding: 24px 20px;
    text-align: center;
  }

  .footerNavigation {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .portraitBase {
    width: min(96vw, 380px);
  }

  .panelContent {
    width: min(88vw, 320px);
    padding: 20px;
    border-radius: 20px;
  }

  .panelContent h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .panelContent p {
    font-size: 0.95rem;
  }

  .orbitBtn {
    width: 136px;
    height: 136px;
  }

  .orbitBtn span {
    padding: 14px;
    font-size: 0.76rem;
  }

  .orbitBtn--why {
    top: 23%;
    left: 2%;
  }

  .orbitBtn--love {
    top: 8%;
    right: 1%;
  }

  .orbitBtn--not-designing {
    top: 46%;
    right: -1%;
  }

  .orbitBtn--grow {
    right: 1%;
    bottom: 7%;
  }

  .orbitBtn--abroad {
    left: -2%;
    bottom: 16%;
  }
}

@media (max-width: 600px) {
  .servicesGrid,
  .skillsGrid {
    grid-template-columns: 1fr;
  }

  .heroKPI {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .kpi {
    min-height: 68px;
  }

  .kpi-top {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .kpi-num {
    font-size: 1.3rem;
  }

  .contactCard {
    display: none;
  }
}

@media (max-width: 560px) {
  .heroCard {
    text-align: center;
    align-items: center;
  }

  .heroActions {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .kpi-num {
    font-size: 0.95rem;
    font-weight: 600;
  }
}

@media (max-width: 520px) {
  .dash-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   CASE STUDY SHELL — prevents the document from sliding
   horizontally underneath the fixed desktop sidebar.
===================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* The page shell owns the sidebar offset and available width. */
#page {
  width: calc(100% - var(--sidebar-width));
  max-width: calc(100% - var(--sidebar-width));
  min-width: 0;
  overflow-x: hidden;
}

/* The inner wrapper owns the case-study typography and layout only. */
#page > .caseStudy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  #page {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

/* =========================================
   PROJECT 90 CASE STUDY
   Replace all previous case-study CSS with this block
========================================= */

#page .caseStudy,
#page.caseStudy {
  --case-max: 1440px;
  --case-reading: 680px;
  --case-nav-height: 92px;
  --case-rule: hsla(210, 10%, 10%, 0.14);
  --case-gap: clamp(28px, 4vw, 56px);
  --case-section-space: clamp(72px, 11vw, 148px);

  width: 100%;
  min-width: 0;
  padding: var(--case-nav-height) 0 0;
  overflow-x: clip;
}

/* Main content wrapper */
#page .caseStudyInner,
#page.caseStudy .container {
  width: min(100%, var(--case-max));
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 48px);
  box-sizing: border-box;
}

/* =========================================
   FIXED CASE STUDY PROGRESS NAV
========================================= */

.csNav {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  z-index: 100;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;

  width: calc(100vw - var(--sidebar-width));
  height: var(--case-nav-height);
  padding: 14px clamp(24px, 4vw, 64px);
  box-sizing: border-box;

  background: rgb(255, 255, 255);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.csNav[hidden] {
  display: none;
}

.csNavStep {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  min-width: 0;
  color: var(--text-soft);
  text-align: center;
  text-decoration: none;
}

.csNavStep:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 1px;
  background: var(--line-strong);
}

.csNavNumber {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;

  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.csNavLabel {
  max-width: 150px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
}

.csNavStep.is-active {
  color: var(--text);
}

.csNavStep.is-active .csNavNumber {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.csNavStep.is-complete .csNavNumber {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.csNavStep.is-complete:not(:last-child)::after {
  background: var(--accent);
}


/* =========================================
   SECTION SPACING
========================================= */

#page .caseStudy section,
#page.caseStudy section {
  width: 100%;
  padding-block: var(--case-section-space);
  scroll-margin-top: calc(var(--case-nav-height) + 30px);
}

#page .caseStudy #overview,
#page.caseStudy #overview {
  padding-top: clamp(64px, 9vw, 120px);
}

/* Reflection section starts right below the fixed progress nav instead of
   inheriting the full inter-section --case-section-space top padding. */
#page .caseStudy #reflection,
#page.caseStudy #reflection {
  padding-top: clamp(64px, 6vw, 80px);
}

/* Mobile App case study only — pulls the hero headline/text up toward
   center. Scoped to .caseStudy--mobileApp so no other case study hero
   is affected. */
#page .caseStudy--mobileApp #overview,
#page.caseStudy--mobileApp #overview {
  padding-top: clamp(8px, 2vw, 28px);
}

/* =========================================
   EDITORIAL HEADERS
========================================= */

#page .caseStudy .sectionHeader,
#page.caseStudy .sectionHeader {
  max-width: 760px;
  margin: 0;
}

#page .caseStudy .sectionHeader h1,
#page .caseStudy .sectionHeader h2,
#page.caseStudy .sectionHeader h1,
#page.caseStudy .sectionHeader h2 {
  max-width: 14ch;
  margin: 0 0 20px;
}

#page .caseStudy .sectionHeader p,
#page.caseStudy .sectionHeader p {
  max-width: var(--case-reading);
}

#page .caseStudy .aboutEyebrow,
#page.caseStudy .aboutEyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* =========================================
   REMOVE CARD-HEAVY LOOK INSIDE CASE STUDY
========================================= */

#page .caseStudy .card,
#page .caseStudy .overviewIntroCard,
#page .caseStudy .project-summary-card,
#page.caseStudy .card,
#page.caseStudy .overviewIntroCard,
#page.caseStudy .project-summary-card {
  padding: 24px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* =========================================
   OVERVIEW
========================================= */

#page .caseStudy .overviewHero,
#page.caseStudy .overviewHero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

#page .caseStudy .overviewChallengeCard,
#page.caseStudy .overviewChallengeCard {
  max-width: 100%;
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: 24px;
  border-top: 1px solid var(--case-rule);
}

/* =========================================
   TWO-COLUMN TEXT + ARTIFACT LAYOUT
========================================= */

#page .caseStudy .dash-grid-2,
#page .caseStudy .caseGrid,
#page.caseStudy .dash-grid-2,
#page.caseStudy .caseGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: var(--case-gap);
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
}

#page .caseStudy .dash-grid-2 > *,
#page .caseStudy .caseGrid > *,
#page.caseStudy .dash-grid-2 > *,
#page.caseStudy .caseGrid > * {
  min-width: 0;
}

#page .caseStudy .dash-grid-2 figure,
#page.caseStudy .dash-grid-2 figure {
  margin: 0;
  align-self: center;
}

/* =========================================
   SUMMARY GRID
========================================= */

#page .caseStudy .summary-grid,
#page.caseStudy .summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px var(--case-gap);

  margin: 28px 0 0;
  padding: 28px 0 0;

  list-style: none;
  border-top: 1px solid var(--case-rule);
}

#page .caseStudy .summary-grid h3,
#page.caseStudy .summary-grid h3 {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#page .caseStudy .summary-grid p,
#page.caseStudy .summary-grid p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* =========================================
   ARTIFACTS
========================================= */

#page .caseStudy .artifactGrid,
#page.caseStudy .artifactGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 9vw, 120px);
  margin-top: clamp(56px, 8vw, 96px);
}

#page .caseStudy .artifactGrid.is-paired,
#page.caseStudy .artifactGrid.is-paired {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--case-gap);
}

#page .caseStudy .artifactPlaceholder,
#page .caseStudy .artifactCard,
#page.caseStudy .artifactPlaceholder,
#page.caseStudy .artifactCard {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#page .caseStudy .artifactLabel,
#page.caseStudy .artifactLabel {
  display: block;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#page .caseStudy .artifactPlaceholder h4,
#page .caseStudy .artifactCard h4,
#page.caseStudy .artifactPlaceholder h4,
#page.caseStudy .artifactCard h4 {
  max-width: 16ch;
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

#page .caseStudy .artifactPlaceholder p,
#page .caseStudy .artifactCard p,
#page.caseStudy .artifactPlaceholder p,
#page.caseStudy .artifactCard p {
  max-width: var(--case-reading);
  line-height: 1.75;
}

/* Images */
#page .caseStudy img,
#page.caseStudy img {
  display: block;
  max-width: 100%;
}

#page .caseStudy .artifactPlaceholder img,
#page .caseStudy .artifactCard img,
#page .caseStudy .card > img,
#page.caseStudy .artifactPlaceholder img,
#page.caseStudy .artifactCard img,
#page.caseStudy .card > img {
  width: 100%;
  height: auto;
  margin-top: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}


.dash-grid-2 .artifactBlock {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* =========================================
   RESEARCH / SIDE-BY-SIDE IMAGES
========================================= */

#page .caseStudy .research-gallery,
#page.caseStudy .research-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--case-gap);
  margin-top: 28px;
}

#page .caseStudy .research-shot,
#page.caseStudy .research-shot {
  display: block;
  min-width: 0;
  margin: 0;
}

#page .caseStudy .research-shot img,
#page.caseStudy .research-shot img {
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

/* =========================================
   PROCESS / REFLECTION
========================================= */

#page .caseStudy .dash-grid-stack,
#page.caseStudy .dash-grid-stack {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  margin-top: clamp(48px, 7vw, 88px);
}

/* Reflection eyebrow → heading gap only; other sections using
   .dash-grid-stack (e.g. Process) keep the larger default above. */
#page .caseStudy #reflection .dash-grid-stack,
#page.caseStudy #reflection .dash-grid-stack {
  margin-top: clamp(28px, 3vw, 40px);
}

#page .caseStudy .process-card,
#page.caseStudy .process-card {
  margin-top: clamp(48px, 7vw, 88px);
}

#page .caseStudy .card-header,
#page.caseStudy .card-header {
  margin-bottom: 16px;
}

#page .caseStudy .card-title,
#page.caseStudy .card-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
}

#page .caseStudy .card-meta,
#page.caseStudy .card-meta {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
}


/* Current HTML has sections directly inside .caseStudy */
#page.caseStudy > section {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(28px, 4vw, 64px);
  box-sizing: border-box;
}

/* Tighten the oversized vertical whitespace */
#page.caseStudy {
  --case-section-space: clamp(64px, 8vw, 108px);
}

#page.caseStudy .artifactGrid {
  gap: clamp(40px, 6vw, 72px);
}







/* =====================================================
   RECRUITER BRIEF BUILDER
   Compact viewport layout + portfolio branding
===================================================== */

.recruiterBrief,
.recruiterBrief * {
  box-sizing: border-box;
}

.recruiterBrief {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(18px, 2.4vh, 28px) clamp(24px, 3vw, 48px);
  background: var(--bg);
}

.briefReport {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(10px, 1.5vh, 16px);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.briefHeader {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-bottom: 18px;
}

.briefHeader h2 {
  max-width: none;
  margin: 0 0 10px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.briefHeader p {
  max-width: 650px;
  margin: 0;

  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.45;
}

/* =========================
   FILTER TOOLBAR
========================= */

.briefFilterBar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.briefDropdown {
  position: relative;
}

.briefDropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.briefDropdown summary::-webkit-details-marker {
  display: none;
}

.briefDropdown summary::marker {
  content: "";
}

.briefDropdown summary:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.briefDropdown summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.briefDropdown[open] summary {
  color: var(--accent-dark);
  background: var(--accent-light);
  border-color: var(--accent);
}

.briefDropdownChevron {
  color: var(--text-muted);
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.briefDropdown[open] .briefDropdownChevron {
  transform: rotate(180deg);
}

.briefDropdownMenu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 60;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 220px;
  max-width: 290px;
  max-height: 330px;
  padding: 10px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.briefDropdownWide .briefDropdownMenu {
  min-width: 260px;
}

.briefFilterBar > .briefDropdown:nth-of-type(4) .briefDropdownMenu {
  right: 0;
  left: auto;
}

.briefDropdownHeading {
  margin: 0 0 5px;
  padding: 0 7px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.filterOption {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 7px;
  color: var(--text-soft);
  border-radius: var(--radius-xs);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filterOption:hover {
  color: var(--text);
  background: var(--surface-2);
}

.filterOption input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.filterOption input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.briefBuildButton {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 38px;
  margin-left: auto;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
}

/* =========================
   DASHBOARD SHELL
========================= */

.briefReportShell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 1.6vw, 18px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.recruiterBrief .card {
  padding: clamp(14px, 1.6vw, 18px);
  border-radius: var(--radius-sm);
}

/* =========================
   SUMMARY
========================= */

.reportSummary {
  min-height: 0;
  margin: 0;
}

.reportLabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 5px 8px;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.reportLabel::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.reportSummaryTitle {
  margin: 0 0 4px;
  font-family:Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: none;
}

.reportSummaryCopy {
  max-width: 1000px;
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  line-height: 1.45;
}

.reportSummary.is-empty .reportSummaryTitle,
.recommendationCard.is-empty #recommendationTitle {
  color: var(--text-muted);
}

/* =========================
   REPORT GRID
========================= */

.reportGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.78fr);
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}

.reportColumn {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.reportCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.reportCardTitle {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* =========================
   COMPARISON CHART
========================= */

.capabilityCard {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}

.briefChartScroller {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.briefChartInner {
  width: 100%;
  min-width: 560px;
}

.briefChartBody {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
}

.briefChartScale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: clamp(180px, 25vh, 235px);
  padding-bottom: 1px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  line-height: 1;
  text-align: right;
}

.briefChartCanvas {
  position: relative;
  height: clamp(180px, 25vh, 235px);
  overflow: hidden;
  background-image: linear-gradient(to top, var(--line) 1px, transparent 1px);
  background-size: 100% 25%;
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.briefChartGroups {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  align-items: end;
  gap: clamp(8px, 1.4vw, 18px);
  padding: 0 clamp(8px, 1.4vw, 18px);
}

.briefChartGroup,
.briefChartGroupBars {
  height: 100%;
  min-height: 0;
}

.briefChartGroupBars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 0.65vw, 8px);
}

.briefComparisonBar {
  flex: 0 0 clamp(12px, 1.45vw, 22px);
  width: clamp(12px, 1.45vw, 22px);
  height: 0;
  min-height: 0;
  border-radius: 6px 6px 0 0;
  transition: height 650ms cubic-bezier(0.16, 1, 0.3, 1), opacity 250ms ease;
}

.briefComparisonBar--supervisor {
  background: var(--chart-1);
}

.briefComparisonBar--mobile {
  background: var(--chart-3);
}

.briefComparisonBar--admin {
  background: var(--gray-500);
}

.briefChartEmpty {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(280px, 80%);
  margin: 0;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.briefChartEmpty[hidden] {
  display: none;
}

.briefChartLabels {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: clamp(8px, 1.4vw, 18px);
  margin: 8px 0 0 38px;
  padding: 0 clamp(8px, 1.4vw, 18px);
}

.briefChartLabels span {
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.briefChartLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.briefChartLegend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
}

.briefLegendDot,
.briefSkillLegendDot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.briefLegendDot--supervisor,
.briefSkillLegendDot--1 {
  background: var(--chart-1);
}

.briefLegendDot--mobile,
.briefSkillLegendDot--2 {
  background: var(--chart-3);
}

.briefLegendDot--admin,
.briefSkillLegendDot--3 {
  background: var(--gray-500);
}

/* =========================
   SKILL EMPHASIS
========================= */

.briefSkillCard {
  min-height: 108px;
}

.briefSkillTrack {
  display: flex;
  width: 100%;
  height: 22px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}

.briefSkillSegment {
  width: 0;
  height: 100%;
  transition: width 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.briefSkillSegment--one {
  background: var(--chart-1);
}

.briefSkillSegment--two {
  background: var(--chart-3);
}

.briefSkillSegment--three {
  background: var(--gray-500);
}

.briefSkillLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 10px;
}

.briefSkillLegendItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
}

.briefEmptyCopy {
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* =========================
   CASE STUDY RECOMMENDATION
========================= */

.recommendationCard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;

  background: var(--accent-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.recommendationBody {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(16px, 2vw, 22px);
  overflow: visible;

  background: var(--accent-light);
}
.recommendationEyebrow {
  margin: 0 0 10px;

  color: var(--accent-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.recommendationTitleRow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#recommendationTitle {
  margin: 0;

  font-family:Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.recommendationArrow {
  flex: 0 0 auto;
  margin-top: 4px;

  color: var(--accent-dark);
  font-size: 1.1rem;
  line-height: 1;
}

#recommendationDescription {
  max-width: 520px;
  margin: 10px 0 0;

  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.recommendationTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.recommendationTags .tag {
  padding: 5px 9px;

  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);

  font-size: 0.7rem;
}

.recommendationReason {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.recommendationReasonTitle {
  margin: 0 0 6px;

  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.recommendationReason p {
  margin: 0;

  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.recommendationActions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  min-height: 56px;
  padding: 8px 14px;

  background: var(--accent-light);
  border-top: 1px solid var(--line-strong);
}

.recommendationActions [hidden] {
  display: none;
}

.recommendationActions .primaryButton {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 0.76rem;
}

@media (max-width: 1050px) {
  .recommendationCard {
    height: auto;
  }

  .recommendationBody {
    overflow-y: visible;
  }
}

/* =========================
   DESKTOP LAYOUT HEIGHT
========================= */

@media (min-width: 1051px) {
  .recruiterBrief {
    align-items: start;
    height: auto;
    min-height: 115svh;
    max-height: none;
    overflow: visible;
    padding-top: clamp(28px, 4vh, 48px);
    padding-bottom: clamp(40px, 6vh, 72px);
  }

  .briefReport {
    height: auto;
    min-height: 0;
  }

  .briefReportShell,
  .reportGrid,
  .reportColumn,
  .capabilityCard,
  .recommendationCard {
    height: auto;
    min-height: 0;
  }

  .recommendationBody {
    overflow: visible;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
  .recruiterBrief {
    align-items: start;
    min-height: auto;
  }

  .briefHeader {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reportGrid {
    grid-template-columns: 1fr;
  }

  .reportColumn {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 900px) {
  .briefFilterBar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .briefDropdown,
  .briefDropdown summary {
    width: 100%;
  }

  .briefDropdownMenu,
  .briefDropdownWide .briefDropdownMenu,
  .briefFilterBar > .briefDropdown:nth-of-type(4) .briefDropdownMenu {
    right: auto;
    left: 0;
    width: 100%;
    min-width: 100%;
  }

  .briefBuildButton {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {
  .recruiterBrief {
    padding: 24px 18px;
  }

  .briefHeader h2 {
    font-size: 2.3rem;
  }

  .briefFilterBar {
    grid-template-columns: 1fr;
  }

  .briefDropdownMenu,
  .briefDropdownWide .briefDropdownMenu,
  .briefFilterBar > .briefDropdown:nth-of-type(4) .briefDropdownMenu {
    position: static;
    width: 100%;
    min-width: 100%;
    margin-top: 7px;
    box-shadow: var(--shadow-sm);
  }

  .briefBuildButton {
    grid-column: auto;
  }

  .briefReportShell {
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .briefChartInner {
    min-width: 520px;
  }

  .recommendationActions .primaryButton {
    width: 100%;
  }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  .briefDropdownChevron,
  .briefComparisonBar,
  .briefSkillSegment {
    transition: none;
  }
}











/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {
  #page .caseStudy,
  #page.caseStudy {
    --case-nav-height: 82px;
  }

  .csNav {
    left: 0;
    width: 100%;
    height: 82px;
    padding: 12px 16px;
    overflow-x: auto;
    grid-template-columns: repeat(5, 132px);
    justify-content: start;
  }

  .csNavStep {
    gap: 6px;
  }

  .csNavNumber {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .csNavLabel {
    font-size: 0.68rem;
  }

  .csNavStep:not(:last-child)::after {
    top: 14px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
  }

  #page .caseStudyInner,
  #page.caseStudy .container {
    padding-inline: 24px;
  }

  #page .caseStudy .overviewHero,
  #page .caseStudy .dash-grid-2,
  #page .caseStudy .caseGrid,
  #page.caseStudy .overviewHero,
  #page.caseStudy .dash-grid-2,
  #page.caseStudy .caseGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #page .caseStudy .summary-grid,
  #page.caseStudy .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page .caseStudy .artifactGrid.is-paired,
  #page .caseStudy .research-gallery,
  #page.caseStudy .artifactGrid.is-paired,
  #page.caseStudy .research-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #page .caseStudy .summary-grid,
  #page.caseStudy .summary-grid {
    grid-template-columns: 1fr;
  }

  #page .caseStudy .sectionHeader h1,
  #page .caseStudy .sectionHeader h2,
  #page.caseStudy .sectionHeader h1,
  #page.caseStudy .sectionHeader h2 {
    max-width: 100%;
  }
}

/* ========================================
   MOBILE NAVIGATION
======================================== */

.mobileNav {
  display: none;
}

@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Hide desktop navigation */
  #navBar {
    display: none;
  }

  /* Mobile navigation bar */
  .mobileNav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: auto;
    min-height: 64px;
    padding: 10px 20px;

    background: #ffffff;
    border-bottom: 1px solid #dddddd;
  }

  /* Logo */
  .mobileNavLogo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .mobileNavLogo img {
    display: block;
    width: 42px;
    height: auto;
  }

  /* Hamburger button */
  .mobileMenuButton {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 44px;
    height: 44px;
    margin-left: 16px;
    padding: 0;

    color: #111111;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

 

  .mobileMenuButton[aria-expanded="true"] .menuOpenIcon {
    display: none;
  }

  .mobileMenuButton[aria-expanded="true"] .menuCloseIcon {
    display: block;
  }

  /* Full-screen dropdown menu */
  .mobileMenu {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    width: auto;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    padding: 16px 20px 28px;
    overflow-y: auto;

    background: #ffffff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
  }

  .mobileMenu.isOpen {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
  }

  /* Hamburger and close icons */

.mobileMenuButton svg {
  width: 28px;
  height: 28px;
}

/* Default state: show hamburger only */
.mobileMenuButton .menuOpenIcon {
  display: block;
}

.mobileMenuButton .menuCloseIcon {
  display: none;
}

/* Open state: show close icon only */
.mobileMenuButton[aria-expanded="true"] .menuOpenIcon {
  display: none;
}

.mobileMenuButton[aria-expanded="true"] .menuCloseIcon {
  display: block;
}

  /* Menu links */
  .mobileMenu a {
    display: block;
    width: 100%;
    padding: 13px 0;

    color: #111111;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none;

    border-bottom: 1px solid #eeeeee;
  }

  .mobileMenu a:hover,
  .mobileMenu a:focus-visible {
    text-decoration: underline;
  }

  /* Case-study label */
  .mobileMenuLabel {
    padding: 20px 0 6px;

    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Prevent content from sitting behind fixed nav */
  body {
    padding-top: 64px;
  }

  body.mobileMenuOpen {
    overflow: hidden;
  }
}

/* =========================================
   CASE STUDY VIEW TOGGLE (FULL / RECRUITER BRIEF)
========================================= */

.caseViewToggle {
  display: flex;
  width: fit-content;
  gap: 4px;
  margin: 28px clamp(24px, 3vw, 48px) 0 auto;
  padding: 4px;

  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.caseViewBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;

  color: var(--text-soft);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);

  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

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

.caseViewBtn.is-active {
  color: #fff;
  background: var(--accent);
}

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

.caseViewBtnMeta {
  color: inherit;
  font-weight: 500;
  opacity: 0.75;
}

.recruiterSummary,
.caseStudy > .caseSection,
.csNav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.csView-fade-enter {
  opacity: 0;
  transform: translateY(3px);
}

@media (prefers-reduced-motion: reduce) {
  .recruiterSummary,
  .caseStudy > .caseSection,
  .csNav {
    transition: none;
  }
}

/* =========================================
   RECRUITER BRIEF (90-SECOND SUMMARY)
========================================= */

.recruiterSummary {
  max-width: none;
  margin: 28px clamp(24px, 3vw, 48px) clamp(72px, 11vw, 148px);
}

.recruiterSummary .aboutEyebrow {
  color: var(--accent-dark);
}

.recruiterSummary h1 {
  margin: 6px 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.recruiterSummaryLede {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.recruiterSummaryBlock {
  margin: 0 0 20px;
}

.recruiterSummaryBlock h3 {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recruiterSummaryBlock p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.recruiterSummary .summary-grid {
  margin-top: 24px;
  padding-top: 24px;
}

.recruiterSummary .tags {
  margin-top: 4px;
}

.recruiterSummaryActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--case-rule, var(--line));
}

.recruiterSummaryReadMore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;

  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-pill);

  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.recruiterSummaryReadMore:hover {
  background: var(--accent-dark);
}

.recruiterSummaryHint {
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 560px) {
  .caseViewToggle {
    width: calc(100% - 48px);
  }

  .caseViewBtn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================
   IMAGE EXPAND VIEW
========================================= */

.imageZoom {
  position: relative;
  cursor: zoom-in;
  outline-offset: 4px;
}

.imageZoom img {
  display: block;
}

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

.imageZoomBtn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;

  color: #fff;
  background: rgba(18, 18, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
  pointer-events: none;
}

.imageZoomBtn svg {
  width: 17px;
  height: 17px;
}

.imageZoom:hover .imageZoomBtn,
.imageZoom:focus-visible .imageZoomBtn {
  opacity: 1;
  transform: scale(1);
}

.imageZoom:hover img {
  filter: brightness(0.97);
}

@media (hover: none) {
  .imageZoomBtn {
    opacity: 1;
    transform: none;
    background: rgba(18, 18, 20, 0.5);
  }
}

.imageModal {
  max-width: min(94vw, 1440px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}

.imageModal::backdrop {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.imageModal[open] {
  animation: imageModalIn 0.2s ease;
}

@keyframes imageModalIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.imageModal img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1440px);
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.imageModalClose {
  position: fixed;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(18, 18, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.imageModalClose:hover {
  background: rgba(18, 18, 20, 0.85);
  transform: scale(1.06);
}

.imageModalClose:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .imageZoomBtn {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
  }

  .imageModalClose {
    width: 38px;
    height: 38px;
  }
}