/* ==========================================================================
   Gregory Muryn-Mukha — Portfolio
   Single stylesheet: tokens, reset, layout, components, interactions
   ========================================================================== */

/* ---------- @font-face: UCity Pro ---------- */
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-SemiboldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UCity Pro';
  src: url('fonts/UCityProWeb-BlackItalic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --text: #181212;
  --text-body: #211B1C;
  --text-muted: #837D7D;
  --border: #E5E5E5;
  /* Accent (OKLAB perceptually uniform) */
  --accent-900: #3C000A;
  --accent-800: #61091C;
  --accent-700: #891D30;
  --accent-600: #B43145;
  --accent-500: #E0465C;
  --accent-400: #EF6C78;
  --accent-300: #FC8E95;
  --accent-200: #FFAEB2;
  --accent-100: #FFCED1;
  --accent-50: #FFDEE0;
  --accent-25: #FFE6E8;
  --accent: #E0465C;
  --accent-hover: #B43145;

  /* Neutral — warm gray, OKLAB perceptually uniform */
  --neutral-950: #0F0A0A;
  --neutral-900: #181212;
  --neutral-850: #211B1C;
  --neutral-800: #2B2525;
  --neutral-750: #352F2F;
  --neutral-700: #3F393A;
  --neutral-650: #4A4444;
  --neutral-600: #554F4F;
  --neutral-550: #605A5A;
  --neutral-500: #6B6666;
  --neutral-450: #777171;
  --neutral-400: #837D7D;
  --neutral-350: #8F8989;
  --neutral-300: #9B9596;
  --neutral-250: #A7A2A2;
  --neutral-200: #B4AFAF;
  --neutral-150: #C1BBBB;
  --neutral-100: #CDC8C8;
  --neutral-75: #DAD6D6;
  --neutral-50: #E8E3E3;
  --neutral-25: #F5F0F0;
  --neutral-0: #FFFEFE;

  --font: 'UCity Pro', system-ui, -apple-system, sans-serif;
  --sidebar-width: 192px;
  --content-max: 1080px;
}

/* ---------- Shiny Hover Animation ---------- */
@keyframes shiny-sweep {
  0%   { background-position: 100% center; }
  100% { background-position: -100% center; }
}

.shiny-hover {
  background-image: linear-gradient(
    90deg,
    var(--text) 0%,
    var(--text) 46%,
    var(--accent-400) 49%,
    var(--accent-500) 50%,
    var(--accent-400) 51%,
    var(--text) 54%,
    var(--text) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0s;
}

.shiny-hover:hover {
  animation: shiny-sweep 1.5s ease-in-out;
}

.cta-block__content:hover .shiny-hover {
  animation: shiny-sweep 1.2s ease-in-out;
}

.shiny-hover--blue {
  background-image: linear-gradient(
    90deg,
    var(--text-body) 0%,
    var(--text-body) 46%,
    #5A9BFE 49%,
    #2D80FD 50%,
    #5A9BFE 51%,
    var(--text-body) 54%,
    var(--text-body) 100%
  );
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

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

hr {
  border: none;
}

strong {
  font-weight: 600;
}

blockquote {
  margin: 0;
}

/* ---------- Mobile Header ---------- */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg);
  transition: transform 0.3s ease;
}

.mobile-logo {
  display: flex;
  align-items: center;
}

.mobile-logo img {
  display: block;
  height: 38px;
  width: auto;
}

/* Inline nav in mobile header — hidden by default */
.mobile-header__nav {
  display: none;
}

.mobile-header__link {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.mobile-header__link.active {
  color: var(--text);
}

/* Show inline nav and hide hamburger at 800px+ (still mobile header) */
@media (min-width: 800px) and (max-width: 1295px) {
  .mobile-header__nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-left: auto;
  }
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-link {
  font-family: var(--font);
  font-size: 24px;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: var(--accent);
}

.mobile-menu-divider {
  width: 40px;
  border-top: 1px solid var(--border);
}

.mobile-menu-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 64px;
}

.mobile-menu-bottom .mobile-menu-link {
  color: var(--neutral-550);
}

/* ---------- Sidebar (Desktop — hidden on mobile) ---------- */
.sidebar {
  display: none;
}

/* ---------- Main Content ---------- */
.content {
  padding: 0 24px 48px;
}

/* ---------- Centered Block ---------- */
.centered {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sections ---------- */
.section {
  padding-top: 128px;
}

.section--hero {
  padding-top: 154px;
}

.section--contact {
  padding-bottom: 0;
}

.section-divider {
  border-top: 1px solid var(--border);
  margin-top: 128px;
}

.section-heading {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 600;
  line-height: 57.6px;
  letter-spacing: -2.4px;
  color: var(--text);
  margin-bottom: 48px;
}

/* ---------- Hero / About ---------- */
.hero-name {
  font-family: var(--font);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 57px;
}

.hero-tagline {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-location {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-bio {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.7px;
  color: var(--text-body);
  margin-bottom: 0;
}

.hero-bio p {
  margin: 0;
}

.hero-bio--location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--neutral-500);
  font-weight: 400;
}

/* Animated Globe Icon */
.globe-wrap {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  position: relative;
  top: -1px;
}

.globe-svg {
  width: 22px;
  height: 22px;
  overflow: visible;
}

/* Meridian ellipses animate their rx to simulate rotation */
.globe-meridian {
  transform-origin: 11px 11px;
  will-change: transform;
  transform: scaleX(0.4);
}

.globe-meridian.m2 {
  transform: scaleX(0.4);
}

.globe-spinning .globe-meridian {
  animation: meridian-burst 1.75s ease-out forwards;
}

.globe-spinning .globe-meridian.m2 {
  animation-delay: -0.625s;
}


@keyframes meridian-burst {
  0%    { transform: scaleX(0.4); }
  12.5% { transform: scaleX(1); }
  25%   { transform: scaleX(0.4); }
  37.5% { transform: scaleX(0.15); }
  50%   { transform: scaleX(0.4); }
  62.5% { transform: scaleX(1); }
  75%   { transform: scaleX(0.4); }
  87.5% { transform: scaleX(0.15); }
  100%  { transform: scaleX(0.4); }
}

/* ---------- Social Proof ---------- */
.social-proof {
  display: flex;
  gap: 12px;
  padding-top: 69px;
  align-items: stretch;
}

.social-proof__left {
  flex: 1;
  min-width: 0;
}

.sp-card {
  border-radius: 44px;
  overflow: hidden;
}

/* Testimonial scroll — desktop only, handled in desktop media query */

/* Services Card */
.sp-card--services {
  background: rgba(255, 230, 232, 0.48);
  height: 364px;
  position: relative;
  padding: 12px 0 12px 12px;
  display: flex;
  align-items: center;
}

.sp-card--services::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 44px;
  box-shadow:
    inset 0 6px 14px 0 #FFF3F4,
    inset 0 -12px 24px 0 #FFF3F4;
  z-index: 3;
  pointer-events: none;
}

.sp-services__wheel {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 100%;
  overflow: hidden;
}

.sp-wheel__track {
  position: absolute;
  inset: 0;
}

.sp-wheel__item {
  position: absolute;
  font-size: 20px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: -1px;
  color: var(--neutral-500);
  opacity: 0.4;
  white-space: nowrap;
  transform-origin: left center;
  will-change: transform, filter, opacity;
}


.sp-services__pill-stack {
  position: absolute;
  left: 262px;
  top: 0;
  bottom: 0;
  width: 272px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
  z-index: 1;
  box-sizing: border-box;
}

.sp-stack__card {
  flex-shrink: 0;
  overflow: hidden;
}

.sp-stack__card--active {
  font-size: 20px;
  font-weight: 400;
  line-height: 128%;
  letter-spacing: -1px;
  color: var(--text-body);
  display: flex;
  align-items: center;
}

.sp-stack__card--active span {
  display: block;
}

.sp-services__arrow {
  position: absolute;
  left: 22px;
  top: calc(50% - 2px);
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Backed-by Card */
.sp-card--backed {
  background: rgba(191, 239, 212, 0.32);
  height: 173px;
  padding: 41px 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sp-backed__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: -1px;
  color: var(--neutral-600);
  margin: 0;
  text-align: center;
}

.sp-backed__logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.sp-backed__logo {
  display: block;
  opacity: 0.88;
}

/* Testimonial Card */
.sp-card--testimonial {
  background: rgba(239, 246, 255, 0.88);
  flex: 1;
  min-width: 0;
  height: 364px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-bottom: 33px;
}

.sp-testimonial__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: #F1F7FF;
  z-index: 2;
}

.sp-testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-testimonial__avatar {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: #D1E3FF;
  box-shadow:
    inset 0 2px 0 0 rgba(193, 197, 240, 0.56),
    0 2px 0 0 rgba(255, 255, 255, 0.56);
  padding: 4px;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
}

.sp-testimonial__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 36px;
  object-fit: cover;
  display: block;
}

.sp-testimonial__avatar::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 56px;
  height: 56px;
  border-radius: 36px;
  box-shadow:
    inset 0 2px 0 0 rgba(24, 18, 18, 0.08),
    0 2px 0 0 rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.sp-testimonial__details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 0 5px;
}

.sp-testimonial__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 25.6px;
  letter-spacing: -1px;
  color: var(--neutral-700);
}

.sp-testimonial__role {
  font-size: 17px;
  font-weight: 400;
  line-height: 21.8px;
  letter-spacing: -1px;
  color: var(--neutral-500);
}

.sp-testimonial__nav {
  display: flex;
  gap: 4px;
  background: rgba(209, 227, 255, 0.64);
  box-shadow:
    inset 0 2px 0 0 rgba(193, 197, 240, 0.20),
    0 2px 0 0 rgba(255, 255, 255, 0.40);
  border-radius: 1000px;
  padding: 4px;
  box-sizing: border-box;
}

.sp-testimonial__btn {
  width: 56px;
  height: 56px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 255, 255, 1),
    0 1px 0 0 rgba(22, 24, 29, 0.02),
    0 0 0 1px rgba(22, 24, 29, 0.02),
    0 1px 8px -4px rgba(22, 24, 29, 0.04),
    0 4px 12px -6px rgba(22, 24, 29, 0.04),
    0 1px 3px 1px rgba(22, 24, 29, 0.01);
}

.sp-testimonial__btn svg {
  display: block;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* Hover */
.sp-testimonial__btn:hover:not(:disabled):not(.sp-testimonial__btn--pressed) {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(0, 46, 113, 0.05),
    0 2px 8px 0 rgba(0, 46, 113, 0.02),
    0 4px 12px -20px rgba(0, 46, 113, 0.04),
    0 6px 16px -20px rgba(0, 46, 113, 0.06),
    0 8px 20px -20px rgba(0, 46, 113, 0.08),
    0 10px 24px -20px rgba(0, 46, 113, 0.11),
    0 12px 26px -20px rgba(0, 46, 113, 0.13),
    0 14px 28px -20px rgba(0, 46, 113, 0.15);
}

.sp-testimonial__btn:hover:not(:disabled):not(.sp-testimonial__btn--pressed) svg {
  opacity: 1;
}

/* Pressed (mouse down) */
.sp-testimonial__btn--pressed {
  background: rgba(255, 255, 255, 0.48) !important;
  box-shadow: 0 1px 0 0 rgba(0, 46, 113, 0.04) !important;
  transition: none !important;
}

.sp-testimonial__btn--pressed svg {
  opacity: 0.56 !important;
}

/* Disabled */
.sp-testimonial__btn:disabled {
  background: transparent;
  box-shadow: none;
  cursor: not-allowed;
}

.sp-testimonial__btn:disabled svg {
  opacity: 0.32;
}

.sp-testimonial__quote {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -1px;
  color: var(--text-body);
  padding: 0 40px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.sp-testimonial__quote p:first-child {
  text-indent: -0.36em;
}

.sp-testimonial__quote p {
  margin: 0 0 9px;
}

.sp-testimonial__quote p:last-child {
  margin-bottom: 0;
}

/* Pagination dots — hidden on desktop */
.sp-testimonial__dots {
  display: none;
  gap: 8px;
  justify-content: center;
  padding: 8px 0 4px;
}

.sp-testimonial__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C1C5F0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sp-testimonial__dot--active {
  background: #002E71;
  transform: scale(1.33);
}

/* Testimonial scroll — use container query to only scroll when card is compressed */
.sp-card--testimonial {
  container-type: inline-size;
}

@container (max-width: 533px) {
  .sp-testimonial__quote {
    overflow-y: auto;
    min-height: 0;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #B5D3FF #F1F7FF;
  }
  .sp-testimonial__quote::-webkit-scrollbar {
    width: 6px;
  }
  .sp-testimonial__quote::-webkit-scrollbar-track {
    background: #F1F7FF;
    border-radius: 3px;
  }
  .sp-testimonial__quote::-webkit-scrollbar-thumb {
    background: #B5D3FF;
    border-radius: 3px;
  }
}

/* Lock testimonial height when side by side and compressed */
@media (min-width: 1000px) {
  .social-proof {
    container-type: inline-size;
  }
}

@container (max-width: 1079px) {
  .sp-card--testimonial {
    height: 364px;
    overflow: hidden;
  }
}

/* ---------- Logos Section ---------- */
.logos-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 131px 0 127px;
}

.logos-section__divider {
  flex: 1;
  height: 1px;
  background: #F5F0F0;
}

.logos-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logos-section__title {
  font-size: 17px;
  font-weight: 400;
  line-height: 21.8px;
  letter-spacing: -1px;
  color: #352F2F;
  margin: 0;
  white-space: nowrap;
}

.logos-section__logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logos-section__logos img {
  display: block;
}

/* ---------- Section Heading 2 ---------- */
.section-heading-2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0;
}

/* ---------- Case Studies ---------- */
.case-studies {
  scroll-margin-top: 80px;
  padding-top: 0;
}

.case-study {
  display: flex;
  flex-direction: column;
  gap: 31px;
  position: sticky;
  top: 56px;
  z-index: 1;
  will-change: opacity, filter;
}

.case-study + .case-study {
  background: var(--bg);
  border-radius: 64px 64px 0 0;
  margin-top: 80px;
  padding-top: 72px;
  margin-left: -32px;
  margin-right: -32px;
  padding-left: 32px;
  padding-right: 32px;
}

.case-study__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.case-study__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.case-study__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-study__title {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0;
}

.case-study__caption {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.7px;
  margin: 0;
}

.case-study__caption-desc { color: var(--neutral-800); }
.case-study__caption-dot { color: var(--neutral-200); font-weight: 600; }
.case-study__caption-year { color: var(--neutral-500); }

/* Read Case Study Button */
.case-study__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 17px 16px 22px;
  background: #2D80FD;
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  line-height: 21.8px;
  letter-spacing: -0.5px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow:
    0 6px 16px -8px rgba(0, 46, 113, 0.08),
    0 4px 12px -6px rgba(0, 46, 113, 0.06),
    0 3px 8px -4px rgba(0, 46, 113, 0.06),
    0 2px 6px -3px rgba(0, 46, 113, 0.04),
    0 1px 4px -2px rgba(0, 46, 113, 0.04),
    0 1px 3px -1px rgba(0, 46, 113, 0.02),
    0 1px 2px 0 rgba(0, 46, 113, 0.01),
    0 -1px 0 1px rgba(0, 46, 113, 0.16) inset;
}

.case-study__btn:hover {
  background: #1A6FE8;
  box-shadow:
    0 6px 32px -12px rgba(0, 46, 113, 0.16),
    0 4px 24px -12px rgba(0, 46, 113, 0.12),
    0 4px 12px -4px rgba(0, 46, 113, 0.08),
    0 3px 8px -3px rgba(0, 46, 113, 0.06),
    0 2px 4px -2px rgba(0, 46, 113, 0.04),
    0 2px 4px -1px rgba(0, 46, 113, 0.02),
    0 1px 3px 0 rgba(0, 46, 113, 0.01),
    0 -1px 0 1px rgba(0, 46, 113, 0.16) inset,
    0 1px 2px -1px rgba(0, 46, 113, 0.32) inset;
}

.case-study__btn:active {
  background: rgba(45, 128, 253, 0.72);
  box-shadow: none;
}

.case-study__btn:active span,
.case-study__btn:active svg {
  opacity: 0.88;
}

/* Website Button */
.case-study__website-btn {
  width: 56px;
  height: 56px;
  border-radius: 100px;
  background: #F5F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--neutral-600);
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  box-shadow: inset 0 2px 0 0 rgba(22, 24, 28, 0.02);
}

.case-study__website-btn:hover {
  background: linear-gradient(rgba(15, 10, 10, 0.04), rgba(15, 10, 10, 0.04)), #F5F0F0;
  color: var(--neutral-700);
}

.case-study__website-btn:active {
  background: linear-gradient(rgba(15, 10, 10, 0.08), rgba(15, 10, 10, 0.08)), #F5F0F0;
  box-shadow: inset 0 2px 0 0 rgba(22, 24, 28, 0.04);
  color: var(--neutral-900);
}

.case-study__website-btn .globe-svg {
  width: 20px;
  height: 20px;
}

.case-study__website-btn:hover .globe-svg {
  animation: none;
}

.case-study__website-btn:hover .globe-meridian {
  animation: meridian-burst 1.75s ease-out forwards;
}

.case-study__website-btn:hover .globe-meridian.m2 {
  animation-delay: -0.625s;
}

.case-study__btn span {
  position: relative;
  top: 0.5px;
}

.case-study__btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.case-study__btn:hover svg {
  animation: arrow-nudge 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes arrow-nudge {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(6px); }
  60%  { transform: translateX(-2px); }
  80%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

/* Case Study Image */
.case-study__image-wrap {
  background: rgba(209, 227, 255, 0.72);
  border-radius: 52px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.case-study__tilt {
  position: relative;
  will-change: transform;
  border-radius: 14px;
  z-index: 2;
}

.case-study__tilt .tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.case-study__image-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(255, 255, 255, 1) 8deg,
      transparent 16deg,
      transparent 40deg,
      rgba(255, 255, 255, 0.85) 48deg,
      transparent 56deg,
      transparent 90deg,
      rgba(255, 255, 255, 0.95) 98deg,
      transparent 106deg,
      transparent 140deg,
      rgba(255, 255, 255, 0.75) 148deg,
      transparent 156deg,
      transparent 190deg,
      rgba(255, 255, 255, 0.9) 198deg,
      transparent 206deg,
      transparent 250deg,
      rgba(255, 255, 255, 0.8) 258deg,
      transparent 266deg,
      transparent 310deg,
      rgba(255, 255, 255, 0.7) 318deg,
      transparent 326deg,
      transparent 360deg
    );
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  filter: blur(40px);
  animation: rays-rotate 40s linear infinite;
}

@keyframes rays-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.case-study__image {
  width: 100%;
  display: block;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 2px 0 0 rgba(11, 72, 158, 0.06),
    0 50px 60px -25px rgba(11, 72, 158, 0.22);
}

video.case-study__image {
  width: 100%;
  height: auto;
}

.case-study__crop-wrap {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow:
    0 2px 0 0 rgba(11, 72, 158, 0.06),
    0 50px 60px -25px rgba(11, 72, 158, 0.22);
}

.case-study__image--crop-top {
  border-radius: 0;
  box-shadow: none;
}

.case-study__image--crop-1 { margin-top: -1px; }
.case-study__image--crop-2 { margin-top: -2px; }

.case-study__video-border {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
  box-shadow:
    0 2px 0 0 rgba(11, 72, 158, 0.06),
    0 50px 60px -25px rgba(11, 72, 158, 0.22);
}

.case-study__video-border::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.64);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.case-study__video-border--border-visible::after {
  opacity: 1;
}

.case-study__video-border .case-study__image {
  border-radius: 0;
  box-shadow: none;
}

/* ---------- Experience Section ---------- */
.experience-section {
  padding-top: 156px;
  padding-bottom: 80px;
  scroll-margin-top: 40px;
}

.experience__heading {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0 0 49px;
}

.experience__rows {
  display: flex;
  flex-direction: column;
  gap: 43px;
}

.experience__row {
  display: flex;
  gap: 24px;
  padding: 18px 20px;
  margin: -18px -20px;
  border-radius: 28px;
  transition: background 0.2s ease;
}

.experience__row:hover {
  background: rgba(245, 240, 240, 0.48);
}

.experience__row:hover .experience__desc,
.experience__row:hover .experience__caption {
  color: var(--neutral-700);
}

.experience__left {
  display: flex;
  gap: 24px;
  align-items: center;
  width: 360px;
  flex-shrink: 0;
}

.experience__logo {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: center center;
}

.experience__row:hover .experience__logo {
  animation: logo-tilt 2s ease-in-out;
}

@keyframes logo-tilt {
  0%   { transform: perspective(300px) rotateY(0deg) rotateX(0deg) scale(1); }
  10%  { transform: perspective(300px) rotateY(7deg) rotateX(-3.5deg) scale(1.06); }
  25%  { transform: perspective(300px) rotateY(-3deg) rotateX(2deg) scale(1.03); }
  40%  { transform: perspective(300px) rotateY(1.5deg) rotateX(-1deg) scale(1.015); }
  55%  { transform: perspective(300px) rotateY(-0.7deg) rotateX(0.4deg) scale(1.007); }
  70%  { transform: perspective(300px) rotateY(0.3deg) rotateX(-0.15deg) scale(1.003); }
  85%  { transform: perspective(300px) rotateY(-0.1deg) rotateX(0.05deg) scale(1.001); }
  100% { transform: perspective(300px) rotateY(0deg) rotateX(0deg) scale(1); }
}


.experience__details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 1px;
}

.experience__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 25.6px;
  letter-spacing: -1px;
  color: var(--text-body);
}

.experience__caption {
  font-size: 17px;
  font-weight: 400;
  line-height: 21.8px;
  letter-spacing: -1px;
  color: var(--neutral-600);
}

.experience__caption-dot {
  color: var(--neutral-200);
}

.experience__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -1px;
  color: var(--neutral-600);
  margin: 0;
  width: 680px;
  max-width: 100%;
  flex-shrink: 1;
  padding-top: 1px;
}

/* Experience mobile */
@media (max-width: 999px) {
  .experience__row {
    flex-direction: column;
    gap: 16px;
  }
  .experience__left {
    width: 100%;
    gap: 20px;
  }
  .experience__desc {
    width: 100%;
    font-size: 17px;
  }
  .experience__rows {
    gap: 41px;
  }
  .experience__heading {
    margin-bottom: 29px;
  }
  .experience-section {
    padding-top: 76px;
  }
}

/* ---------- CTA Block ---------- */
.cta-block {
  padding-top: 38px;
  text-align: center;
}

.cta-block__content {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(239, 246, 255, 1);
  border-radius: 84px;
  padding: 12px 12px 12px 32px;
  box-shadow: inset 0 1.5px 0 0 rgba(11, 72, 158, 0.04);
}

.cta-block__label {
  font-size: 17px;
  font-weight: 600;
  line-height: 21.8px;
  letter-spacing: -1px;
  color: var(--text-body);
}

.cta-block__label--mobile {
  display: none;
}

@media (max-width: 600px) {
  .hero-name {
    margin-bottom: 33px;
  }
  .cta-block__label--desktop {
    display: none;
  }
  .cta-block__label--mobile {
    display: inline;
  }
}

/* ---------- Publications Section ---------- */
.publications-section {
  padding-top: 116px;
  padding-bottom: 80px;
}

.publications__heading {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0 0 51px;
}

.publications__content {
  display: flex;
  gap: 40px;
}

/* Articles */
.publications__articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 520px;
  min-width: 0;
}

.pub-article {
  display: flex;
  gap: 24px;
  background: rgba(239, 246, 255, 0.80);
  border-radius: 40px;
  padding: 12px 24px 12px 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pub-article:hover {
  background: rgba(239, 246, 255, 1);
}

.pub-article__image {
  width: 148px;
  height: 148px;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
}

.pub-article__image {
  position: relative;
}

.pub-article__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-article:nth-child(2) .pub-article__bg {
  object-position: left top;
}


.pub-article__logo {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  bottom: 0;
  left: 0;
}

.pub-article__tilt {
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: center center;
}

.pub-article__details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 0 7px;
}

.pub-article__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 26.6px;
  letter-spacing: -1px;
  color: var(--text-body);
  margin: 0;
}

.pub-article__caption {
  font-size: 17px;
  font-weight: 400;
  line-height: 22.6px;
  letter-spacing: -1px;
  color: var(--neutral-600);
  margin: 0;
}

/* Tools */
.publications__tools {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 40px;
  padding-top: 12px;
  flex: 1 1 480px;
  min-width: 0;
}

.pub-tool {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 12px;
  margin: -12px;
  border-radius: 26px;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.pub-tool__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.pub-tool__details {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  padding-top: 1px;
}

.pub-tool__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 25.6px;
  letter-spacing: -1px;
  color: var(--text-body);
}

.pub-tool__dot {
  color: var(--neutral-200);
}

.pub-tool__caption {
  font-size: 17px;
  font-weight: 400;
  line-height: 21.8px;
  letter-spacing: -1px;
  color: var(--neutral-600);
}

.pub-tool:hover {
  background: rgba(239, 246, 255, 0.8);
}

.pub-tool:hover .pub-tool__logo {
  animation: logo-tilt 2s ease-in-out;
}

/* Publications mobile */
@media (max-width: 999px) {
  .publications__content {
    flex-direction: column;
    gap: 48px;
  }
  .publications__articles {
    width: 100%;
  }
  .publications__tools {
    padding-left: 0;
    padding-top: 0;
    flex: none;
    width: 100%;
  }
  .publications__articles {
    flex: none;
  }
  .pub-tool {
    gap: 20px;
  }
  .publications-section {
    padding-top: 76px;
  }
  .publications__heading {
    margin-bottom: 30px;
  }
  .experience-section {
    padding-bottom: 0;
  }
  .cta-block {
    padding-top: 72px;
  }
  .publications-section {
    padding-top: 77px;
  }
}

@media (max-width: 600px) {
  .pub-article {
    flex-direction: column;
    border-radius: 26px;
    padding: 12px;
  }
  .pub-article__details {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
  }
  .pub-article__logo {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    left: auto;
    right: 12px;
    bottom: auto;
    top: 12px;
  }
  .pub-article__image {
    width: 100%;
    height: 200px;
    border-radius: 14px;
  }
}

/* No sidebar (<1296px) — keep desktop layout, just hide sidebar */
@media (max-width: 1295px) {
  .content {
    margin-left: 0;
    padding: 0 24px 48px;
  }
}

/* Social proof mobile */
@media (max-width: 999px) {
  .social-proof {
    flex-direction: column;
    gap: 24px;
  }
  .social-proof__left {
    width: 100%;
  }
  .sp-card--services {
    height: 300px;
    min-height: 300px;
  }
  .sp-services__pill-stack {
    left: auto;
    right: 12px;
  }
  .sp-card--testimonial {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 16px;
  }
  .sp-testimonial__nav {
    display: none;
  }
  .sp-card--testimonial .sp-testimonial__quote {
    padding: 0 24px 0;
  }
  .sp-testimonial__dots {
    display: flex;
  }
  .sp-stack__card--active {
    padding: 22px 20px 23px;
  }
}

/* Tablet: shift wheel right, center cards in remaining space */
@media (min-width: 700px) and (max-width: 999px) {
  .sp-services__arrow {
    left: 62px;
  }
  .sp-services__wheel {
    left: 48px;
    overflow: visible;
    width: 300px;
  }
  .sp-services__pill-stack {
    left: 50%;
    right: auto;
    transform: translateX(-10%);
  }
}


/* Very narrow mobile: hide cards, show only wheel */
@media (max-width: 553px) {
  .sp-services__pill-stack {
    display: none;
  }
  .sp-card--services {
    height: 240px;
    min-height: 240px;
  }
  .sp-services__arrow {
    left: 54px;
    top: 50%;
  }
  .sp-services__wheel {
    left: 36px;
    width: 320px;
    overflow: visible;
  }
  .sp-wheel__item {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (max-width: 899px) {
  .case-study__website-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .case-study + .case-study {
    margin-top: 0;
    padding-top: 25px;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 0;
  }
  .case-study__caption-dot,
  .case-study__caption-year {
    display: none;
  }
  .case-study__btn {
    display: none;
  }
  .cta-block__btn {
    display: inline-flex !important;
    padding-right: 22px;
  }
  .cta-block__btn svg {
    display: none;
  }
  .cta-block__content {
    padding: 12px 12px 12px 28px;
  }
  .cta-block__label {
    white-space: normal;
    text-align: left;
    position: relative;
    top: 1px;
  }
  .case-study {
    cursor: pointer;
  }
  .case-study__image {
    border-radius: 12px;
  }
  .case-study__image-wrap {
    border-radius: 26px;
    padding: 12px;
  }
  .case-study__caption {
    font-size: 17px;
    line-height: 140%;
  }
  .case-study {
    gap: 19px;
  }
}

@media (min-width: 393px) and (max-width: 767px) {
  .cta-block__content {
    padding: 12px 12px 12px 32px;
  }
}

@media (max-width: 619px) {
  .logos-section__divider {
    display: none;
  }
  .logos-section {
    justify-content: center;
  }
}

@media (max-width: 999px) {
  .logos-section {
    padding: 76px 0 77px;
  }
}

@media (max-width: 480px) {
  .hero-bio {
    font-size: 20px;
    line-height: 140%;
  }
  .hero-bio--location {
    font-size: 20px;
    line-height: 140%;
  }
}

@media (max-width: 507px) {
  .pub-tool__title-full,
  .pub-tool__caption-full {
    display: none;
  }
}

@media (min-width: 508px) {
  .pub-tool__title-short,
  .pub-tool__caption-short {
    display: none;
  }
}

@media (max-width: 392px) {
  .cta-block__content {
    gap: 20px;
  }
}

@media (max-width: 379px) {
  .sp-services__arrow {
    left: 30px;
  }
  .sp-services__wheel {
    left: 12px;
  }
}

/* ---------- Skills ---------- */
.skills {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 12px;
  margin-bottom: 0;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-body);
  background: transparent;
}

/* ---------- Logo Bar ---------- */
.logo-bar {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 79px;
}

.logo-bar__logo {
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: var(--text);
  letter-spacing: -0.18px;
}

/* ---------- Work Grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.work-card {
  display: block;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  border: none;
  transition: transform 0.2s ease;
}

a.work-card {
  cursor: pointer;
}

a.work-card:hover {
  transform: translateY(-3px);
}

.work-card--static {
  cursor: default;
  opacity: 0.8;
}

.work-card--static:hover {
  transform: none;
}

.work-card__image {
  width: 100%;
  aspect-ratio: 16 / 13;
  border-radius: 24px;
  overflow: hidden;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__body {
  padding: 16px 0 0;
}

.work-card__company {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text);
}

.work-card__company em,
.work-card__company i {
  font-style: italic;
  font-weight: 400;
}

.work-card__role {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 24px;
}

/* ---------- Experience ---------- */
.experience-group {
  margin-bottom: 56px;
}

.experience-group-label {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  letter-spacing: -1.2px;
  color: var(--text);
  margin-bottom: 24px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.timeline-date {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-muted);
}

.timeline-role {
  font-size: 17px;
  font-weight: 600;
  line-height: 25.5px;
  color: var(--text);
}

.timeline-company {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testimonials {
  margin-top: 16px;
}

.testimonial {
  margin-bottom: 48px;
}

.testimonial__quote {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.96px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.testimonial__quote strong {
  font-weight: 800;
}

.testimonial__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.testimonial__role {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 30px;
  margin-bottom: 16px;
  margin-bottom: 16px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 32px;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  height: 51px;
  padding: 0 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
}

.contact-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-link .arrow {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.contact-link:hover .arrow {
  transform: translate(2px, -2px);
}

.contact-meta {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-muted);
  margin-top: 0;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 128px;
  padding: 32px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: var(--text-muted);
}

/* ---------- Case Study Pages ---------- */

/* Case nav bar */
.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.case-nav .back-link {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.case-nav .back-link:hover {
  color: var(--text);
}

.case-nav__wordmark {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Case hero */
.case-hero {
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 24px;
  position: relative;
}

.case-hero__company {
  font-family: var(--font);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.case-hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.case-hero__role {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Case metadata */
.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  max-width: var(--content-max);
  margin: 0 auto;
}

.case-meta__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.case-meta__value {
  font-size: 16px;
  color: var(--text);
}

/* Case sections */
.case-content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.case-section {
  padding: 48px 0;
}

.case-section__heading {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.case-section__body {
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
}

.case-section__body p {
  margin-bottom: 12px;
}

.case-section__body p:last-child {
  margin-bottom: 0;
}

.case-section__image {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
}

/* Case footer */
.case-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Case Study: Dilara-style ---------- */

/* Floating back button */
.case-back {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: var(--font);
}

.case-back:hover {
  background: #333;
  transform: scale(1.02);
}

/* Full-bleed hero */
.case-hero--full {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px clamp(24px, 5vw, 64px);
  overflow: hidden;
}

.case-hero--full__company {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.case-hero--full__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.case-hero--full__role {
  position: absolute;
  top: 24px;
  right: clamp(24px, 5vw, 64px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Case study sections */
.case-block {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 64px);
}

.case-block--white {
  background: #fff;
}

.case-block--light {
  background: #F5F5F3;
}

.case-block--dark {
  background: var(--text);
  color: #fff;
}

.case-block--dark .case-block__heading {
  color: #fff;
}

.case-block--dark .case-block__body {
  color: rgba(255, 255, 255, 0.7);
}

.case-block__inner {
  max-width: 960px;
  margin: 0 auto;
}

.case-block__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.case-block__heading--editorial {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.case-block__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}

.case-block__body p {
  margin-bottom: 16px;
}

.case-block__body p:last-child {
  margin-bottom: 0;
}

.case-block__contributions {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 16px;
}

.case-block__contributions strong {
  color: var(--text);
}

/* Objectives vs Outcome grid */
.obj-outcome {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 32px;
}

.obj-outcome__col h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.obj-outcome__col ul {
  list-style: none;
  padding: 0;
}

.obj-outcome__col li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}

.obj-outcome__col li:last-child {
  border-bottom: none;
}

.obj-outcome__col li strong {
  color: var(--text);
  font-weight: 700;
}

/* 3-column insight/principle cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.card-grid__item {
  padding: 24px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.case-block--dark .card-grid__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-grid__item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-grid__item p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.55;
}

.case-block--dark .card-grid__item h4 {
  color: #fff;
}

.case-block--dark .card-grid__item p {
  color: rgba(255, 255, 255, 0.6);
}

/* Image showcase */
.case-image {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
}

.case-image--no-radius {
  border-radius: 0;
}

.case-caption {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -20px;
  margin-bottom: 32px;
}

.case-caption strong {
  color: var(--text);
}

.case-block--dark .case-caption strong {
  color: #fff;
}

.case-block--dark .case-caption {
  color: rgba(255, 255, 255, 0.5);
}

/* Screenshot grid (dark sections) */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Case study footer */
.case-study-footer {
  padding: 48px clamp(24px, 5vw, 64px);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Publications Page ---------- */
.pub-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.pub-entry__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pub-entry__meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pub-entry__desc {
  color: var(--text-body);
}

.pub-entry__badge {
  display: inline;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Signature Draw Animation ---------- */
.signature-wrap {
  position: relative;
  width: 123px;
  height: 48px;
}

.signature-wrap svg {
  width: 123px;
  height: 48px;
  display: block;
}

.signature-wrap svg path {
  transition: opacity 0.08s ease;
}

/* ---------- Cat Cursor Easter Egg ---------- */
.cat-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
  width: 96px;
  height: 96px;
}

.cat-cursor--visible {
  display: block;
}

/* The blob canvas is the background "ink blot" */
.cat-cursor .blob-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Cat sits on top of the blob */
.cat-cursor .cat {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  height: 41%;
  width: 46%;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.cat-cursor--cat-visible .cat {
  opacity: 1;
}


.cat-cursor .ear {
  position: absolute;
  top: -30%;
  height: 60%;
  width: 25%;
  background: #fff;
}

.cat-cursor .ear::before,
.cat-cursor .ear::after {
  content: '';
  position: absolute;
  bottom: 24%;
  height: 10%;
  width: 5%;
  border-radius: 50%;
  background: #161616;
}

.cat-cursor .ear::after {
  transform-origin: 50% 100%;
}

.cat-cursor .ear--left {
  left: -7%;
  border-radius: 70% 30% 0% 0% / 100% 100% 0% 0%;
  transform: rotate(-15deg);
}

.cat-cursor .ear--left::before,
.cat-cursor .ear--left::after {
  right: 10%;
}

.cat-cursor .ear--left::after {
  transform: rotate(-45deg);
}

.cat-cursor .ear--right {
  right: -7%;
  border-radius: 30% 70% 0% 0% / 100% 100% 0% 0%;
  transform: rotate(15deg);
}

.cat-cursor .ear--right::before,
.cat-cursor .ear--right::after {
  left: 10%;
}

.cat-cursor .ear--right::after {
  transform: rotate(45deg);
}

.cat-cursor .face {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #161616;
  border-radius: 50%;
}

.cat-cursor .eye {
  position: absolute;
  top: 35%;
  height: 30%;
  width: 31%;
  background: #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.cat-cursor .eye::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 100%;
  border-radius: 0 0 50% 50% / 0 0 40% 40%;
  background: #161616;
  animation: cat-blink 4s infinite ease-in;
}

.cat-cursor .eye::before {
  content: '';
  position: absolute;
  top: 60%;
  height: 10%;
  width: 15%;
  background: #fff;
  border-radius: 50%;
}

.cat-cursor .eye--left {
  left: 0;
}

.cat-cursor .eye--left::before {
  right: -5%;
}

.cat-cursor .eye--right {
  right: 0;
}

.cat-cursor .eye--right::before {
  left: -5%;
}

.cat-cursor .eye-pupil {
  position: absolute;
  top: 25%;
  height: 50%;
  width: 20%;
  background: #161616;
  border-radius: 50%;
  animation: cat-look 4s infinite;
}

.cat-cursor .eye--left .eye-pupil {
  right: 30%;
}

.cat-cursor .eye--right .eye-pupil {
  left: 30%;
}

.cat-cursor .eye-pupil::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -5%;
  height: 20%;
  width: 35%;
  border-radius: 50%;
  background: #fff;
}

.cat-cursor .muzzle {
  position: absolute;
  top: 60%;
  left: 50%;
  height: 6%;
  width: 10%;
  background: #fff;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}

@keyframes cat-blink {
  0% { height: 0; }
  90% { height: 0; }
  92.5% { height: 100%; }
  95% { height: 0; }
  97.5% { height: 100%; }
  100% { height: 0; }
}

@keyframes cat-look {
  0% { transform: translate(0); }
  5% { transform: translate(50%, -25%); }
  10% { transform: translate(50%, -25%); }
  15% { transform: translate(-100%, -25%); }
  20% { transform: translate(-100%, -25%); }
  25% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); }
}

/* ---------- Desktop Breakpoint (1296px+) ---------- */
@media (min-width: 1296px) {

  /* Hide mobile header */
  .mobile-header {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  /* Show sidebar */
  .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    padding: 40px 0 40px 32px;
    z-index: 50;
  }

  .sidebar-top {
    display: flex;
    flex-direction: column;
  }

  .sidebar-name {
    display: block;
    margin-bottom: 27px;
    position: relative;
    width: 123px;
    height: 48px;
  }

  .sidebar-name img {
    width: 123px;
    height: 48px;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    font-size: 15px;
    font-weight: 600;
    line-height: 22.5px;
    height: 32px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding: 0;
    transition: color 0.2s ease;
  }

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

  .nav-link.active {
    color: var(--text);
    font-weight: 600;
  }

  .sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sidebar-divider {
    border-top: 1px solid var(--border);
    margin-bottom: 8px;
  }

  .sidebar-external {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    color: var(--text-muted);
    transition: color 0.2s ease;
  }

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

  /* Content offset */
  .content {
    margin-left: var(--sidebar-width);
    padding: 0 40px 48px;
  }


  /* Work grid on desktop */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 64px;
  }

  /* Timeline grid on desktop */
  .timeline-item {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  /* Case meta 4-col on desktop */
  .case-meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .obj-outcome {
    grid-template-columns: 1fr 1fr;
  }

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

/* ---------- Sidebar: narrower padding at <1328px ---------- */
@media (min-width: 1296px) and (max-width: 1327px) {
  .content {
    padding: 0 24px 48px;
  }
}

/* ---------- Sidebar: narrower at <1400px ---------- */
@media (min-width: 1296px) and (max-width: 1399px) {
  :root {
    --sidebar-width: 160px;
  }
}

/* ---------- Sidebar: compact at <1340px ---------- */
@media (min-width: 1296px) and (max-width: 1339px) {
  :root {
    --sidebar-width: 148px;
  }
  .sidebar {
    padding: 28px 0 28px 20px;
  }
}

/* ---------- Content side padding when sidebar hidden but still desktop ---------- */
@media (min-width: 1000px) and (max-width: 1295px) {
  .content {
    padding: 0 24px 48px;
  }
}

/* ---------- Services widget tighter at <1130px ---------- */
@media (max-width: 1127px) {
  .publications__tools {
    padding-left: 0;
  }
}

@media (min-width: 1000px) and (max-width: 1129px) {
  .sp-services__arrow {
    left: 14px;
  }
  .sp-services__wheel {
    left: -12px;
  }
  .sp-services__pill-stack {
    left: 238px;
  }
}

/* ---------- About Section ---------- */
.about-section {
  padding-top: 77px;
  padding-bottom: 0;
}

/* About Body: text left, photos right on desktop */
/* About Body: text + photos side by side on desktop */
.about__body {
  display: flex;
  gap: 48px;
}

/* About Hero Photo — single portrait, desktop only */
.about__hero-photo {
  flex-shrink: 0;
  width: 350px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  will-change: transform, opacity;
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), translate 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.about__hero-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.about__hero-photo.about__hero-photo--visible {
  opacity: 1;
  translate: 0 0;
}

.about__hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Photos — mobile only strip */
.about__photos {
  display: none;
}

.about__photo {
  overflow: hidden;
}

.about__photo.about__photo--animated {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.about__photo.about__photo--visible {
  opacity: 1;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 41.6px;
  letter-spacing: -2px;
  color: #181212;
  margin: 0;
  padding-bottom: 43px;
  text-align: left;
}

.about__content {
  font-size: 24px;
  font-weight: 400;
  line-height: 33.6px;
  letter-spacing: -0.7px;
  color: #211B1C;
}

.about__content p {
  margin: 0 0 21px;
}

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

.about__footer {
  display: flex;
  padding-top: 89px;
}

.about__cta-card {
  flex: 0 0 586px;
  background: rgba(239, 246, 255, 0.8);
  border-radius: 40px;
  padding: 33px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.about__cta-br {
  display: none;
}

.about__cta-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  letter-spacing: -1px;
  color: #211B1C;
  text-align: center;
}

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

.about__email-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(209, 227, 255, 0.64);
  border: none;
  border-radius: 1000px;
  padding: 4px 4px 4px 24px;
  box-shadow:
    inset 0 1.5px 0 0 rgba(193, 197, 240, 0.2),
    0 1.5px 0 0 rgba(255, 255, 255, 0.40);
}

.about__email-text {
  flex: 1;
  font-size: 17px;
  font-weight: 400;
  line-height: 21.76px;
  letter-spacing: -1px;
  color: #2B2525;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about__icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 255, 255, 1),
    0 1px 0 0 rgba(22, 24, 29, 0.02),
    0 0 0 1px rgba(22, 24, 29, 0.02),
    0 1px 8px -4px rgba(22, 24, 29, 0.04),
    0 4px 12px -6px rgba(22, 24, 29, 0.04),
    0 1px 3px 1px rgba(22, 24, 29, 0.01);
}

.about__icon-btn img {
  display: block;
}

#aboutCopyEmail img {
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

#aboutCopyEmail:hover img {
  opacity: 1;
}

.about__icon-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(0, 46, 113, 0.05),
    0 2px 8px 0 rgba(0, 46, 113, 0.02),
    0 4px 12px -20px rgba(0, 46, 113, 0.04),
    0 6px 16px -20px rgba(0, 46, 113, 0.06),
    0 8px 20px -20px rgba(0, 46, 113, 0.08),
    0 10px 24px -20px rgba(0, 46, 113, 0.11),
    0 12px 26px -20px rgba(0, 46, 113, 0.13),
    0 14px 28px -20px rgba(0, 46, 113, 0.15);
}

.about__icon-btn:active {
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 1px 0 0 rgba(0, 46, 113, 0.04);
  transition: none;
}

.about__icon-btn:active img {
  opacity: 0.56;
}

.about__book-btn {
  flex-shrink: 0;
}

/* Ask AI block */
.about__ask-ai {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 33px 0 40px;
  gap: 18px;
}

.about__ask-ai-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 33.6px;
  letter-spacing: -1px;
  color: #352F2F;
  text-align: center;
}

.about__ai-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(232, 227, 227, 0.64);
  border: none;
  border-radius: 1000px;
  padding: 4px;
  box-shadow:
    inset 0 1.5px 0 0 rgba(24, 18, 18, 0.04),
    0 2px 0 0 rgba(255, 255, 255, 0.40);
}


/* ---------- Footer ---------- */
.site-footer {
  padding: 99px 0 0;
  margin-bottom: -8px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 17px;
  font-weight: 400;
  line-height: 21.76px;
  letter-spacing: -1px;
  color: #2B2525;
}

.footer__copyright strong {
  font-weight: 600;
}

.footer__socials {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.footer__social:hover {
  opacity: 0.7;
}

.footer__social img {
  display: block;
}

/* ---------- About / Footer Responsive ---------- */
@media (max-width: 1110px) {
  .about__body {
    gap: 16px;
  }
}

@media (max-width: 1079px) {
  .about__hero-photo {
    width: 28vw;
  }
}

@media (max-width: 900px) {
  .about-section {
    padding-top: 21px;
  }

  .about__body {
    flex-direction: column;
    gap: 0;
  }

  .about__hero-photo {
    display: none;
  }

  .about__photos {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 2px;
    height: 220px;
    margin-bottom: 32px;
    order: -1;
    border-radius: 24px;
    overflow: hidden;
  }

  .about__photo {
    flex: 1;
    min-width: 0;
    border-radius: 0;
    height: 100%;
    opacity: 1;
    translate: none;
  }

  .about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  @media (min-width: 700px) {
    .about__photos {
      height: 288px;
    }

    .about__photo img {
      object-position: center 10%;
    }
  }

  .about__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1.5px;
    padding-bottom: 32px;
  }

  .about__content {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -0.5px;
  }

  .about__content p {
    margin-bottom: 16px;
  }

  .about__footer {
    flex-direction: column;
    align-items: center;
    padding-top: 71px;
  }

  .about__cta-card {
    flex: none;
    border-radius: 32px;
    padding: 28px 28px 32px;
  }

  .about__ask-ai {
    padding: 40px 0 32px;
  }

  .about__ask-ai-title {
    font-size: 24px;
  }

  .site-footer {
    padding-top: 48px;
  }
}

@media (max-width: 767px) {
  .about__book-btn {
    display: inline-flex !important;
    padding-right: 22px;
  }

  .about__book-btn svg {
    display: none;
  }
}

@media (max-width: 544px) {
  .about__cta-controls {
    flex-direction: column;
  }

  .about__email-pill {
    width: 100%;
  }

  .about__email-text {
    text-align: center;
  }

  .about__book-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .about__cta-br {
    display: block;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding-top: 0;
  }

  .about__photos {
    height: 180px;
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .about__heading {
    font-size: 28px;
    line-height: 32px;
    padding-bottom: 24px;
  }

  .about__content {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.3px;
  }

  .about__content p {
    margin-bottom: 14px;
  }

  .about__footer {
    padding-top: 52px;
  }

  .about__ask-ai {
    gap: 12px;
  }

  .about__ask-ai-title {
    font-size: 20px;
  }

  .site-footer {
    padding-top: 23px;
  }

  .about__cta-card {
    padding: 20px 20px 24px;
    border-radius: 28px;
    gap: 16px;
  }

  .about__cta-title {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.7px;
  }

  .about__email-pill {
    gap: 12px;
    padding-left: 16px;
  }

  .about__email-text {
    font-size: 17px;
    letter-spacing: -1px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__copyright {
    font-size: 15px;
    letter-spacing: -0.5px;
  }
}

/* ---------- Page Load & Scroll Reveal ---------- */
.reveal-load {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
}

.reveal-load--active {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Publications & About sections breathe slower */
.publications__articles.reveal-scroll,
.publications__tools.reveal-scroll,
.about__heading.reveal-scroll,
.about__footer.reveal-scroll {
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.publications__tools.reveal-scroll {
  transition-delay: 120ms;
}

.reveal-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sidebar load — container fades, children stagger */
.sidebar.reveal-load {
  transform: translateY(0);
  opacity: 1;
}

.sidebar.reveal-load--active {
  transform: translateY(0);
}

.sidebar .reveal-load {
  opacity: 0;
  transform: translateY(6px);
}

.sidebar .reveal-load--active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Stagger experience rows */
.experience__row.reveal-scroll:nth-child(1) { transition-delay: 0ms; }
.experience__row.reveal-scroll:nth-child(2) { transition-delay: 40ms; }
.experience__row.reveal-scroll:nth-child(3) { transition-delay: 80ms; }
.experience__row.reveal-scroll:nth-child(4) { transition-delay: 120ms; }
.experience__row.reveal-scroll:nth-child(5) { transition-delay: 160ms; }
.experience__row.reveal-scroll:nth-child(6) { transition-delay: 200ms; }
.experience__row.reveal-scroll:nth-child(7) { transition-delay: 240ms; }
.experience__row.reveal-scroll:nth-child(8) { transition-delay: 280ms; }

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .shiny-hover:hover {
    animation: none;
  }

  .globe-spinning .globe-meridian {
    animation: none !important;
  }

  .work-card {
    transition: none;
  }

  a.work-card:hover {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
