/* Mobile-first Liquid Portfolio CSS based on Figma design */
:root {
  /* Light Mode Color Variables */
  --bg-dark: #ffffff;
  --bg-overlay: rgba(255, 255, 255, 0.9);
  --bg-nav: rgba(255, 255, 255, 0.95);
  --bg-button: rgba(0, 0, 0, 0.05);
  --bg-10: rgba(0, 0, 0, 0.1);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b6b6b;
  --gradient-start: #ff00f7;
  --gradient-end: #b300b2;
  --label-bg-start: rgba(255, 0, 247, 0.08);
  --label-bg-end: rgba(179, 0, 178, 0.08);
  --bg-pink: rgba(255, 0, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Screen reader only class for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

.frame {
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Background Vector */
.bg-vector {
  position: absolute;
  top: -301px;
  left: 0.13px;
  width: 2252.676px;
  height: 1650.352px;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-vector img {
  transform: rotate(108.848deg) scaleY(-1) skewX(358.921deg);
  width: 1101.56px;
  height: 1991.84px;
}

/* Right Navigation */
.right-nav {
  position: fixed;
  right: 8px;
  left: 8px;
  bottom: 12px;

  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Iteration Grid */
.iteration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.iteration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.iteration-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (min-width: 1024px) {
  .right-nav {
    bottom: auto;
    left: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 320px;
  }

  .nav-container {
    transform: rotate(90deg);
    width: fit-content;
    border-radius: 0 0 12px 12px;
  }
  
  .iteration-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-item {
  font-family: 'SF Pro', sans-serif;
  font-size: 14px;
  letter-spacing: 0.075em;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  flex: 1;
  text-align: center;
  text-transform: uppercase;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
}

/* Hover underline only enabled on desktop via media query below */

.nav-item.active {
  background: linear-gradient(to right, var(--text-primary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-item.active::after {
  width: 100%;
  background: linear-gradient(to right, var(--text-primary), var(--gradient-end));
}

/* Header */
.header {
  position: fixed;
  top: 12px;
  left: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  width: 132px;
  height: 18px;
  text-decoration: none;
  display: block;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-btn img {
  width: 100%;
  height: 100%;
}

/* Main Container */
.container {
  padding: 84px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

@media (min-width: 1024px) {
  .row {
    flex-direction: row;
    gap: 60px;
  }
}

.align-vert { justify-content: center; }

.full-width { width: 100%; }

.gap-L { gap: 24px; }

.no-gap { gap: 0; }

/* Screen Images Grid */
.screen-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.screen-row {
  display: flex;
  gap: 24px;
}

.screen-col {
  flex: 1;
}

.double-col { flex: 2; }

.padding-bottom { padding-bottom: 24px; }

.rounded-border { border-radius: 12px; }

p { max-width: 720px; }

.section-title.big-title {
  font-size: 40px;
  text-align: center;
  opacity: 0.10;
  background: linear-gradient(135deg, #323232, #cbcaca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .section-title.big-title { font-size: 80px; }
}

/* validation */
.validation img {
  width: 100%;
}

/* Screens */
.screen-views {
  width: 100%;
}

.screen-views img { width: 100%; }

/* Process Section */
.process-section {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  width: 100%;
}

.process-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.process-content p {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  text-align: left;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-img img {
  width: 80%;
  max-width: 320px;
  margin: auto;
}

/* Testimonials */
.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.testimonial-card {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card .quote { font-style: italic; }

.testimonial-card img {
  width: 100%;
}

p.testimonial-title { font-size: 14px; }

.testimonial-title .link {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

a { color: var(--gradient-start); }

/* Text selection highlighting */
::selection {
  background-color: var(--gradient-start);
  color: white;
}

::-moz-selection {
  background-color: var(--gradient-start);
  color: white;
}

@media (min-width: 1024px) {
  .testimonial-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
  margin: 16px 0 8px;
}
.phone-mock {
  height: 340px;
  border-radius: 24px;
}

.before-after-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ba-label {
  text-align: center;
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-secondary);
}

/* Improvement cards layout */
.improvement-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .improvements .improvement-tags {
    grid-template-columns: 1fr 1fr;
  }
  .phone-mock { height: 420px; }

  .improvement-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
/* Comparison table (flex) */
.comparison-flex {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
}
.comparison-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-row:last-of-type {border: none; }
.comparison-row .comparison-cell:last-child { border-right: none; }

.comparison-row .comparison-cell {
  flex: 1;
  padding: 12px;
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.comparison-row .comparison-cell.comparison-cell-label {
  flex: 1.2;
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-primary);
}
.comparison-header .comparison-cell {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-secondary);
}

@media (min-width: 1024px) {
  .comparison-row .comparison-cell.label { flex: 1.2; }
  .comparison-row .comparison-cell { flex: 1; }
}
/* Outcome */
.outcome-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0 0;
}
.outcome-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.outcome-metric-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 28px;
  line-height: 36px;
  background: linear-gradient(to right, var(--text-primary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.outcome-metric-label {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-secondary);
}

@media (min-width: 1024px) {
  .outcome-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
  }
  .outcome-metric-value {
    font-size: 36px;
    line-height: 44px;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 84px 0 0;
}

.hero-section.process-hero { gap: 12px; }

.hero-logo {
  width: 175.932px;
  height: 16px;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-tagline {
  font-family: 'SF Pro', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
  max-width: 600px;
  font-weight: 400;
}

.hero-subtitle {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
  max-width: 600px;
  font-weight: 400;
}

/* Brands */
.brands {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.brands-grid {
  display: flex;
  gap: 24px;
  width: 100%;
  overflow: hidden;
  padding-bottom: 8px;
  position: relative;
}

.brand-logo {
  flex-shrink: 0;
  width: 120px;
  height: 68px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* All brand logos visible on all screen sizes */

/* Infinite carousel animation for 13 logos */
.brands-grid {
  animation: scroll 45s linear infinite;
  width: max-content;
}

.brands-grid:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(-33.3333%);
  }
  100% {
    transform: translateX(-66.6666%);
  }
}

/* Cases */
.cases {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 48px;
  width: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
  color: var(--text-primary);
  width: 100%;
  max-width: 600px;
}

.section-label {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 100;
}

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
}
@media (min-width: 1024px) {
  .cases-grid {
    padding: 60px 0;
  }
}

.case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 0;
  overflow: hidden;
  width: 100%;
}

.case-logo {
  height: 36px;
  position: relative;
}

.case-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(135deg, #323232, #cbcaca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
}

.logo-placeholder {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  height: 100%;
}

.case-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-primary);
  width: 100%;
}

.case-subtitle {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
}

.case-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.case-metrics {
  display: flex;
  gap: 24px;
  padding: 6px 0;
  width: 100%;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 33%;
  max-width: 33%;
}

.metric-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  background: linear-gradient(to right, var(--text-primary), var(--gradient-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-secondary);
}

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
  width: 100%;
}

.label {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.07));
}

.cta {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  margin-top: 12px;
  position: relative;
  width: fit-content;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
}

.cta-text {
  font-family: 'SF Pro', sans-serif;
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-arrow img {
  width: 100%;
}

.card {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
}

.card-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-family: 'Unbounded', sans-serif;
}

.card.outstanding {
  background: var(--bg-pink);
  border: none;
}

.card.outstanding p {
  font-size: 18px;
}

/* Case Study Pages */
.case-study-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 48px 0;
}

/* Case study hero elements */
.case-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.case-hero-visual {
  width: 100%;
}

.case-hero-visual img {
  width: 100%;
}

/* Hero split layout */
.case-hero-content,
.case-hero-visual {
  width: 100%;
}

.case-hero-visual .img-placeholder {
  height: clamp(220px, 28vw, 420px);
}

.case-study-header .case-heading {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.case-study-header .case-logo {
  width: 200px;
  height: 36px;
  position: relative;
  width: fit-content;
}

.case-study-header .case-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study-header .case-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  text-align: left;
  width: 100%;
  max-width: 800px;
}

.case-study-header .case-subtitle {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-secondary);
  text-align: left;
}

/* Case metrics */

.case-metrics-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  padding: 24px 0;
}

.case-metrics-section .metric {
  max-width: none;
  width: 100%;
  align-items: center;
}

.case-metrics-section .metric .metric-value {
  font-size: 60px;
  line-height: 72px;
}

/* Fluid placeholders for case images */
.img-placeholder {
  width: 100%;
  min-height: 200px;
}

/* Case content typography */
.case-content-section ul,
.case-content-section ol {
  padding-left: 20px;
  display: grid;
  row-gap: 8px;
}
.case-content-section li {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Problem steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}
.step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  line-height: 36px;
  width: 48px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-primary);
}
.step-desc {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
}

.case-content-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  padding: 24px 0;
}

/* Context section */
.case-context .section-title {
  color: var(--text-primary);
}

.case-context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
}

.case-context-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
}

.case-context-term {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-secondary);
  padding-top: 4px;
}

.case-context-desc {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

.case-content-section p {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.back-to-portfolio {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 60px 0;
}

/* Testimonial */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 60px 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 96px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  position: relative;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./images/quote.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  border-radius: 16px;
  z-index: 1;
}

.testimonial-quote,
.testimonial-author {
  position: relative;
  z-index: 2;
}

.testimonial-quote {
  font-family: 'SF Pro', sans-serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  max-width: 640px;
  text-align: center;
}

.testimonial-author {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-secondary);
  font-style: normal;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: auto;
  padding: 24px 8px 96px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.footer-links, .copyright { width: 160px; }

.copyright {
  text-align: center;
}

@media (min-width: 1024px) {
  .footer-links { justify-content: flex-end; }
  .copyright { text-align: left; }
}

.footer-links .link {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  width: fit-content;
}

.footer-links .link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.sep {
  color: var(--bg-button);
}

.footnote {
  font-family: 'SF Pro Text', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-muted);
}

.footnote .link {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  width: fit-content;
}

.footnote .link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-muted);
  transition: width 0.3s ease;
}

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

/* Tablet (iPad mini 8.3" - 744px) */
@media (min-width: 744px) {
  .header {
    left: 32px;
    right: 32px;
    transform: none;
  }
  
  .container {
    padding: 84px 48px 24px;
  }
  
  .brands-grid {
    justify-content: initial;
    overflow-x: hidden;
  }
  
  .tablet-only {
    display: block;
  }
  
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
  }
  
  .footer-links {
    order: 2;
  }
  
  .footnote {
    order: 1;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header {
    left: 48px;
    right: 48px;
  }
  
  .container {
    padding: 84px 64px 24px;
  }
  
  .hero-section{
    padding: 120px 0;
  }
  
  .cases {
    padding-top: 60px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .brands-grid {
    gap: 32px;
  }
  
  .brand-logo {
    width: 140px;
    height: 80px;
  }
  
  /* Case Study Pages Desktop */

.case-study-header .case-title { font-size: 32px; }
  
  .case-study-header .case-logo { height: 60px; }


  /* Hero metrics spacing on desktop */
  .case-metrics-section { flex-direction: row; }


  .hero-metrics {
    gap: 24px;
  }

  /* Desktop two-column hero */
  .case-study-header {
    align-items: stretch;
    flex-direction: row;
    gap: 0;
    align-items: center;
    padding: 120px 0;
  }
  .case-hero-content,
  .case-hero-visual {
    width: auto;
  }
  .case-hero-content {
    max-width: 780px;
    justify-self: center;
  }
  
  /* Hover effects */
  .social-btn:hover {
    transform: scale(1.075);
    transition: all 0.2s ease;
  }
  
  .cta:hover::after {
    width: 100%;
  }
  
  /* Enable nav hover underline on desktop only */
  .nav-item:hover::after {
    width: 100%;
  }
  
  .footer-links .link:hover::after {
    width: 100%;
  }
  
  .footnote .link:hover::after {
    width: 100%;
  }

  .footer {
    padding: 18px 64px;
  }
 
  /* Case studies horizontal layout */
  .case {
    flex-direction: row-reverse;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
  }
  
  .case-content {
    flex: 1;
    max-width: 560px;
  }
  
  .case-logo {
    width: 360px;
    height: 114px;
    flex-shrink: 0;
  }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .container {
    padding: 84px 80px 24px;
  }
  
  .hero-tagline {
    max-width: 800px;
  }
  
  .brands-grid {
    gap: 40px;
  }
  
  .brand-logo {
    width: 160px;
    height: 90px;
  }
}

/* Extra Large Desktop (1600px+) - Figma XXL Design */
@media (min-width: 1600px) {
  
}

/* Light Mode Specific Adjustments */
.case-study {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}

.hero-metrics {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px 16px;
}

.screen-views {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px;
}


.case-context-grid {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.design-system {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.learnings {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.footer {
  background: var(--bg-nav);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== PROCESS PAGE STYLES ===== */

/* Process Overview */
.process .section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (min-width: 1024px) {
  .process .section-header {
    flex-direction: row;
    gap: 24px;
  }
}
.process .logo {
  height: 84px;
  position: relative;
  width: fit-content;
  margin-bottom: 12px;
}
.process .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-overview {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.process-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.process-button {
  padding: 12px 24px;
  border-radius: 24px;
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.process-button.active {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
}

/* Mindset Section */
.mindset-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.mindset-subtitle {
  font-family: 'SF Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.value-card {
  padding: 16px 24px;
  border-radius: 12px;
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Why This Matters */
.why-matters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-icon {
  color: #00bfff;
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.why-item p {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* Value Sections */
.value-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.value-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-number {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.value-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}

.value-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.value-principle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}

.principle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

.principle-list li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.principle-list li::before {
  content: '⚡️';
  font-size: 16px;
  flex-shrink: 0;
}

/* Case Study Cards */
.case-study-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-study-card .case-logo {
  width: fit-content;
  height: 48px;
}

.case-study-card .case-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study-card .case-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-context,
.case-problem,
.case-solution {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-context strong,
.case-problem strong,
.case-solution strong {
  color: var(--text-primary);
  font-weight: 600;
}

.case-problem ul,
.case-solution ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.case-problem li,
.case-solution li {
  margin-bottom: 4px;
}

@media (min-width: 1024px) {
  .value-content {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
  
  .value-principle {
    flex: 1;
  }
}

/* Journey Section */
.journey-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.journey-text {
  flex: 1;
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.journey-list li {
  font-family: 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.journey-list strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.journey-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1;
}

@media (min-width: 1024px) {
  .journey-content {
    flex-direction: row;
    gap: 60px;
  }
  
  .journey-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-list li {
  font-family: 'SF Pro', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.about-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.character-icon {
  font-size: 80px;
}

@media (min-width: 1024px) {
  .about-content {
    flex-direction: row;
    gap: 60px;
    align-items: center;
  }
  
  .character-placeholder {
    width: 300px;
    height: 300px;
  }
  
  .character-icon {
    font-size: 120px;
  }
}

/* Thank You Section */
.thank-you-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-link {
  font-family: 'SF Pro', sans-serif;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--gradient-start);
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--gradient-start);
  text-decoration-color: var(--text-primary);
}

@media (min-width: 1024px) {
  .contact-info {
    flex-direction: row;
    gap: 40px;
  }
}
