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

html, body {
  overflow-x: clip;
  max-width: 100%;
  scroll-behavior: smooth;
}

@media (max-width: 430px) {
  .home-cta-link {
    flex-basis: 100%;
  }
}

@media (max-width: 322px) {
  .home-heading {
    font-size: 19px;
  }

  .hero-icon {
    width: 22px;
    height: 19px;
  }
}


/* ── Homepage Hero ── */
.home-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 80px 96px;
  background: #fff;
  min-height: 85vh;
  text-align: left;
}

@media (max-width: 1300px) {
  .home-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    min-height: unset;
  }
  .home-hero-video {
    width: 100%;
    max-width: 100%;
  }
  .home-hero-content {
    max-width: 100%;
  }
}

.home-hero-content {
  max-width: 560px;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.home-hero-video {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1445/960;
  background: #f0eef8;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* ── Hero slideshow ── */
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.hs-slide.active { opacity: 1; }

.hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.06);
  transition: transform 9s ease;
}
.hs-slide.active img { transform: scale(1.0); }

.hs-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(22,20,47,0.08) 0%, transparent 35%, transparent 60%, rgba(22,20,47,0.32) 100%);
  border-radius: inherit;
  pointer-events: none;
}

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hs-arrow:hover {
  background: rgba(255,255,255,0.38);
  transform: translateY(-50%) scale(1.08);
}
.hs-arrow--prev { left: 12px; }
.hs-arrow--next { right: 12px; }

.hs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
  pointer-events: none;
}
.hs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.4s ease, transform 0.4s ease;
}
.hs-dot.active {
  background: rgba(255,255,255,0.90);
  transform: scale(1.35);
}

.home-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.hero-annotation {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-annotation-arrow {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-annotation-text {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: #ff4d6d;
  line-height: 1;
}

.home-heading {
  font-family: 'Merriweather', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  color: #130061;
}

.home-heading em {
  font-style: italic;
  color: #ff4d6d;
}

.hero-icon {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 6px;
}

.hero-icon-head {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: heroDrawStroke 1.4s ease forwards;
  animation-delay: 1.2s;
}

.hero-icon-shoulders {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: heroDrawStroke 1.4s ease forwards;
  animation-delay: 1.2s;
}

.hero-dot {
  display: inline-block;
  color: #ff4d6d;
  opacity: 0;
  animation: heroDot 0.8s ease forwards;
  animation-delay: 2.2s;
}

@keyframes heroDot {
  0%   { opacity: 0; transform: scale(2.5); }
  60%  { opacity: 1; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes heroDrawStroke {
  to { stroke-dashoffset: 0; }
}

.home-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
  max-width: 660px;
}

.home-cta {
  display: inline-block;
  background: #130061;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 999px;
  padding: 14px 32px;
  text-decoration: none;
  align-self: center;
  margin-top: 8px;
}

.home-cta:hover {
  background: #0e0049;
}

.home-cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.home-cta-group .home-cta {
  margin-top: 0;
}

.home-cta-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #130061;
  text-decoration: underline;
  text-decoration-color: rgba(19, 0, 97, 0.3);
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
}

.home-hero-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ede9fb;
  border: 2px dashed #c4b8f0;
  border-radius: 16px;
}

/* ── Hero Animation: Scatter → Form ── */
/* ── Hero Animation: Two Nodes Connecting ── */
.hero-anim {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.ha-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ha-node--left {
  background: #130061;
  box-shadow: 0 0 16px rgba(19, 0, 97, 0.25);
  animation: haNodeLeft 10s ease-in-out infinite;
}

.ha-node--right {
  background: #ff4d6d;
  box-shadow: 0 0 16px rgba(255, 77, 109, 0.25);
  animation: haNodeRight 10s ease-in-out infinite;
}

.ha-connection {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  width: 180px;
  background: linear-gradient(to right, rgba(19,0,97,0.3), rgba(255,77,109,0.3));
  transform-origin: center;
  animation: haConnection 10s ease-in-out infinite;
}

@keyframes haNodeLeft {
  0%, 100% { transform: translate(calc(-50% - 160px), calc(-50% - 10px)); opacity: 0.4; }
  45%, 60%  { transform: translate(calc(-50% - 14px),  calc(-50%));        opacity: 0.9; }
}

@keyframes haNodeRight {
  0%, 100% { transform: translate(calc(-50% + 160px), calc(-50% + 10px)); opacity: 0.4; }
  45%, 60%  { transform: translate(calc(-50% + 14px),  calc(-50%));        opacity: 0.9; }
}

@keyframes haConnection {
  0%, 20%   { transform: translate(-50%, -50%) scaleX(0); opacity: 0; }
  45%, 60%  { transform: translate(-50%, -50%) scaleX(1); opacity: 1; }
  85%, 100% { transform: translate(-50%, -50%) scaleX(0); opacity: 0; }
}

/* ── Selected Work ── */
.home-work {
  padding: 80px 96px;
  background: #FAF8F4;
}

.home-work-header {
  margin-bottom: 56px;
}

.home-work-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
  margin-bottom: 10px;
}

.home-work-heading {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 700;
  color: #130061;
}

.home-work-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
  margin-top: 16px;
}

.home-work-archive-link {
  color: #130061;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-cards-wrap {
  position: relative;
}

.home-cards-wrap::after {
  display: none;
}

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

.home-cards::-webkit-scrollbar {
  display: none;
}

.home-cards-dots {
  display: none;
}

.home-cards-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0cce8;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.home-cards-dot.is-active {
  background: #130061;
  transform: scale(1.3);
}

.home-card {
  border-radius: 20px;
  padding: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease;
}

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

.home-card-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #130061;
  letter-spacing: 0.01em;
  margin-top: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.home-card:hover .home-card-cta {
  opacity: 1;
}

.home-card--toyota { background: #FDFCFF; }
.home-card--shell  { background: #FDFCFF; }
.home-card--sonnen { background: #FDFCFF; }
.home-card--gensec { background: #FDFCFF; }

.home-card--toyota .home-card-demo {
  background: radial-gradient(circle at 85% 15%, rgba(246, 234, 193, 0.35) 0%, #FDFCFF 55%);
  overflow: hidden;
  align-items: flex-start;
}

.home-card-demo--toyota-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.toyota-card-phones-desktop {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding-top: 20px;
}

.toyota-card-phone-frame {
  background: #2a2a2a;
  border-radius: 18px;
  padding: 5px;
  flex: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
}

.toyota-card-phone-screen {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19;
}

.toyota-card-phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 9px;
  background: #2a2a2a;
  border-radius: 8px;
  z-index: 10;
}

.toyota-card-phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.toyota-card-phone--center {
  width: 37%;
  position: relative;
  z-index: 2;
}

.toyota-card-phone--side {
  width: 27%;
  z-index: 1;
  filter: blur(1.5px);
  margin-top: 20px;
}

.toyota-card-phone--side:first-child {
  margin-right: -8%;
}

.toyota-card-phone--side:last-child {
  margin-left: -8%;
}

.toyota-card-mobile-img {
  display: none;
}

.home-card--shell  .home-card-demo { background: radial-gradient(circle at 85% 15%, rgba(200, 185, 240, 0.28) 0%, #FDFCFF 55%); }
.home-card--sonnen .home-card-demo {
  background: radial-gradient(circle at 85% 15%, rgba(180, 230, 210, 0.32) 0%, #FDFCFF 55%);
  align-items: flex-end;
  padding-top: 48px;
  box-sizing: border-box;
}
.home-card--gensec .home-card-demo { background: radial-gradient(circle at 85% 15%, rgba(253, 200, 200, 0.28) 0%, #FDFCFF 55%); }

.home-card-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 28px 32px 32px;
}

.home-card-company {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #130061;
}

.home-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #130061;
  line-height: 1.25;
}

.home-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.6;
}

/* ── Card image area (top) ── */
.home-card-demo {
  order: -1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0;
  overflow: hidden;
  height: 360px;
  position: relative;
}

.home-card-demo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}

.home-card--toyota .home-card-demo::after { background: none; }
.home-card--shell  .home-card-demo::after { background: none; }
.home-card--sonnen .home-card-demo::after { background: none; }
.home-card--gensec .home-card-demo::after { background: none; }

.home-card--toyota .home-card-meta,
.home-card--shell  .home-card-meta,
.home-card--sonnen .home-card-meta,
.home-card--gensec .home-card-meta { background: #F8F6FD; }



.home-card-phone-img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.home-card--relative {
  position: relative;
}

.home-card--gensec .home-card-phone-img {
  width: auto;
  height: 450px;
  max-height: none;
  object-fit: contain;
  align-self: flex-start;
  margin-top: 25px;
}

.home-card-nda {
  position: absolute;
  top: 320px;
  right: 16px;
  display: flex;
  align-items: center;
  z-index: 10;
  gap: 6px;
  background: rgba(19, 0, 97, 0.85);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.home-card-nda-icon {
  font-size: 11px;
}

.home-card-phone-img--full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-card--sonnen .home-card-phone-img--full {
  width: 80%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
  margin: 0 auto;
}


.home-card-phone-img--padded {
  height: 450px;
  width: auto;
  max-height: none;
  object-fit: contain;
  align-self: flex-start;
  margin-top: 25px;
}

.home-card-phone-img--peek {
  max-height: none;
  height: 476px;
  width: auto;
  object-fit: contain;
  display: block;
  align-self: flex-start;
  margin: -5px auto 0;
}

/* ── Archive link ── */
.home-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #130061;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: rgba(19, 0, 97, 0.06);
  border: 1px solid rgba(19, 0, 97, 0.15);
  border-radius: 999px;
  padding: 10px 20px;
  transition: background 0.2s, border-color 0.2s;
}

.home-archive-link:hover {
  background: rgba(19, 0, 97, 0.1);
  border-color: rgba(19, 0, 97, 0.25);
}

/* ── Work History Timeline ── */
.home-skills {
  background: #FAF8F4;
}

.home-skills-inner {
  padding: 16px 0 64px;
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-skills-header {
  margin-bottom: 24px;
}

.home-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
  column-rule: 1px solid #e8e4f4;
}

.home-skills-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: #777;
  line-height: 1.6;
  padding: 8px 32px 8px 20px;
  position: relative;
  break-inside: avoid;
}

.home-skills-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 8px;
  color: #ff4d6d;
  font-size: 12px;
  line-height: 1.6;
}

.home-skill-note {
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: #c4b8e8;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .home-skills-inner {
    width: calc(100% - 30px);
  }
  .home-skills-list {
    columns: 1;
    column-rule: none;
  }
  .home-skills-list li:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .home-skills-list li:nth-child(even) {
    padding-left: 20px;
  }
  .home-skills-list li:nth-child(even)::before {
    left: 0;
  }
}

.home-skills-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #888;
  line-height: 1.65;
  border: none;
  margin: 48px 0 0 0;
  padding: 32px 0 0 0;
  max-width: 100%;
  position: relative;
}

.home-skills-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background: #ff4d6d;
}

.home-skill-note {
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: #c4b8e8;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
  font-style: normal;
  letter-spacing: 0.03em;
}

.home-experience {
  background: #fff;
}

.home-experience-inner {
  padding: 80px 0;
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-experience-header {
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-experience-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
  margin-bottom: 10px;
}

.home-experience-heading {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 700;
  color: #130061;
}

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

.home-timeline-entry {
  display: grid;
  grid-template-columns: 260px 56px 1fr;
  gap: 0;
  position: relative;
}

.home-timeline-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  padding-right: 40px;
  text-align: right;
}

.home-timeline-company {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.home-timeline-dates {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #aaa;
  white-space: pre-line;
}

.home-timeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.home-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #130061;
  background: #FAF8F4;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.home-timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #130061;
}

.home-timeline-line {
  width: 2px;
  flex: 1;
  background: #d0cce8;
  min-height: 60px;
}

.home-timeline-entry:last-child .home-timeline-line {
  display: none;
}

.home-timeline-right {
  padding: 0 0 72px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-timeline-role {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: #130061;
  line-height: 1.65;
  white-space: pre-line;
}

.home-timeline-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
}

.home-timeline-bullets {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
  padding-left: 20px;
  margin: 0;
}

.home-timeline-bullets li {
  margin-bottom: 8px;
}

.home-timeline-bullets li:last-child {
  margin-bottom: 0;
}

.home-timeline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.home-timeline-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  padding: 8px 20px;
  border: none;
}

.home-timeline-pill--purple { background: #ece9f8; color: #130061; }
.home-timeline-pill--rose   { background: #fde8ee; color: #c0183c; }
.home-timeline-pill--teal   { background: #d8f0e8; color: #0a6644; }
.home-timeline-pill--amber  { background: #fff0d0; color: #7a5000; }
.home-timeline-pill--blue   { background: #dff0ff; color: #064e8c; }
.home-timeline-pill--pink   { background: #fce4f5; color: #8b1060; }

/* ── Brands Bar ── */
.home-brands {
  background: #16142f;
  padding: 48px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.home-brands-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.home-brands-track-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.home-brands-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: brandScroll 56s linear infinite;
}

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

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.home-brand-item {
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-brand-item:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.home-brand-logo {
  width: 200px;
  height: auto;
  display: block;
}

.home-brand-logo--icon {
  width: 60px;
  height: auto;
}

/* ── About ── */
.home-about {
  background: #FAF8F4;
}

.home-about-skills {
  width: 80%;
  margin: 0 auto;
  padding: 48px 0 96px;
  border-top: 1px solid #eeebf8;
}

.home-about-inner {
  display: grid;
  grid-template-columns: calc(26% + 40px) 1fr;
  grid-template-areas: "photo content";
  column-gap: 64px;
  padding: 96px 0;
  align-items: stretch;
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-about-photo {
  grid-area: photo;
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.home-about-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-traits {
  grid-area: traits;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
  margin-top: 32px;
}

.home-about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #d0ccc4;
  border-radius: 20px;
}

.home-about-photo-img {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}

.home-about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #f5e97a;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-about-badge-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #130061;
  line-height: 1;
}

.home-about-badge-label {
  font-family: 'Merriweather', serif;
  font-size: 13px;
  font-style: italic;
  color: #130061;
}


.home-about-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.open-to-work {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 8px;
  background: #e8f9ef;
  color: #1a7a3f;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  width: fit-content;
}

.open-to-work-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.home-about-heading {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 700;
  color: #130061;
  line-height: 1.2;
}

.home-about-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #130061;
  margin-top: 24px;
}

.home-about-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
}

.home-about-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.home-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.home-about-btn:hover {
  opacity: 0.85;
}

.home-about-btn--primary {
  background: #ff4d6d;
  color: #fff;
  border: none;
}

.home-about-btn--secondary {
  background: transparent;
  color: #130061;
  border: 1.5px solid #130061;
}

.about-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.about-heading-row .home-about-heading {
  margin-bottom: 0;
}

/* About toggle — Professionally / Personally */
.about-toggle {
  display: inline-flex;
  background: #f0eef8;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  flex-shrink: 0;
}

.about-toggle-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.about-toggle-btn.active {
  background: #fff;
  color: #130061;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.about-panel {
  display: none;
}

.about-personal-title {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: #130061;
  margin-bottom: 16px;
}

.about-panel.active {
  display: block;
}

/* 3D flip card for about photo */
.about-flip-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.about-flip-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  position: relative;
}

.about-flip-card.flipped .about-flip-inner {
  transform: rotateY(180deg);
}

.about-flip-front,
.about-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}

.about-flip-back {
  transform: rotateY(180deg);
}



.home-trait {
  background: #fff;
  border: 1px solid #ddd8ee;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-trait-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #130061;
  line-height: 1.3;
}

.home-trait-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.65;
}

.home-card-image {
  flex: 0 0 260px;
  height: 260px;
  margin-top: auto;
}

.home-card-image--placeholder {
  background: rgba(0,0,0,0.06);
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1300px) {
  .home-about-inner {
    grid-template-areas:
      "photo content"
      "traits traits";
    grid-template-rows: auto auto;
  }

  .home-traits {
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  /* Timeline */
  .home-experience-inner {
    padding: 80px 48px;
  }

  .home-timeline-entry {
    display: block;
    position: relative;
    padding-left: 36px;
    padding-bottom: 40px;
    border-left: 2px solid #d0cce8;
    margin-left: 8px;
  }

  .home-timeline-entry:last-child {
    border-left-color: transparent;
  }

  .home-timeline-entry::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #130061;
    background: #FAF8F4;
  }

  .home-timeline-entry::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #130061;
  }

  .home-timeline-entry:first-child {
    border-image: linear-gradient(to bottom, transparent 8px, #d0cce8 8px) 1;
  }

  .home-timeline-left {
    text-align: left;
    padding-right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2px;
  }

  .home-timeline-dates {
    margin-bottom: 22px;
  }

  .home-timeline-center {
    display: none;
  }

  .home-timeline-right {
    padding: 0;
  }
}

@media (max-width: 800px) {
  /* Nav */
  .nav {
    padding: 0 20px;
    justify-content: space-between;
  }

  /* Hero */
  .home-hero {
    padding: 56px 20px;
    min-height: 70vh;
    text-align: left;
  }

  .home-heading {
    font-size: 24px;
    line-height: 1.5;
  }

  /* Work section */
  .home-work {
    padding: 56px 20px;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .home-card {
    width: 100%;
  }

  .home-card-demo {
    height: 240px;
  }

  .home-card-nda {
    top: 200px;
    right: 16px;
  }

  .home-card--shell .home-card-phone-img {
    width: auto;
    height: 450px;
    max-height: none;
    margin-top: 25px;
    object-fit: contain;
    align-self: flex-start;
  }

  .home-cards-wrap::after {
    display: none;
  }

  .home-cards-dots {
    display: none;
  }

  /* Brands */
  .home-brands {
    padding: 40px 20px;
  }

  .home-brand-logo {
    width: 400px;
  }

  .home-brand-logo--icon {
    width: 120px;
  }

  /* Section headings */
  .home-work-heading,
  .home-about-heading,
  .home-experience-heading {
    font-size: 22px;
  }

  .home-card-title {
    font-size: 20px;
  }

  /* About */
  .home-about-inner {
    padding: 56px 20px;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .home-about-photo {
    width: 100%;
  }

  .home-about-content {
    padding: 0;
  }

  .about-heading-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .home-traits {
    grid-template-columns: 1fr;
  }

  .home-trait-title {
    font-size: 18px;
  }

  .home-timeline-role {
    font-size: 18px;
  }

  .home-about-heading {
    font-size: 22px;
  }

  .home-about-name {
    font-size: 17px;
    margin-top: 8px;
  }

  .home-about-body,
  .home-card-desc,
  .home-timeline-desc,
  .home-timeline-bullets,
  .home-body {
    font-size: 16px;
  }

  /* Experience */
  .home-experience-inner {
    padding: 56px 20px;
  }

  .home-timeline-entry {
    display: block;
    position: relative;
    padding-left: 32px;
    padding-bottom: 32px;
    border-left: 2px solid #d0cce8;
    margin-left: 8px;
  }

  .home-timeline-entry:last-child {
    border-left-color: transparent;
  }

  .home-timeline-entry::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #130061;
    background: #FAF8F4;
  }

  .home-timeline-entry::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #130061;
  }

  .home-timeline-entry:first-child {
    border-image: linear-gradient(to bottom, transparent 8px, #d0cce8 8px) 1;
  }

  .home-timeline-left {
    text-align: left;
    padding-right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2px;
  }

  .home-timeline-dates {
    margin-bottom: 22px;
  }

  .home-timeline-center {
    display: none;
  }

  .home-timeline-right {
    padding: 0;
  }

  .home-timeline-entry[data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0;
  }
  .site-footer-top,
  .site-footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .site-footer-contact {
    align-items: flex-start !important;
    width: 100%;
  }

  .site-footer-contact-link {
    justify-content: flex-start;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }
}


body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
}

/* ── Entrance Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Top Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 96px;
  height: 72px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  text-decoration: none;
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  color: #130061;
}

.nav-logo--text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.nav-logo-initials {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.nav-logo-k {
  color: #130061;
}

.nav-logo-m {
  color: #ff4d6d;
}

.nav-logo-dot {
  color: #ff4d6d;
}

.nav-logo-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b9cc8;
}

.nav-logo em {
  font-style: italic;
  color: #ff4d6d;
}

.nav-logo-short {
  display: none;
}

.nav-logo-img {
  width: 180px;
  height: auto;
  display: block;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #130061;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(19, 0, 97, 0.6);
  backdrop-filter: blur(6px);
  padding: 40px 32px;
  gap: 0;
  z-index: 999;
}

.nav-mobile-menu.is-open {
  display: flex;
}

.nav-mobile-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-mobile-contact {
  display: block;
  background: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.nav-mobile-identity {
  margin-top: auto;
  padding-top: 32px;
}

.nav-mobile-identity-name {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.nav-mobile-identity-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-linkedin {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #130061;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-linkedin:hover {
  opacity: 1;
}

.nav-open-to-work {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a7a3f;
  background: #e8f9ef;
  padding: 5px 12px;
  border-radius: 999px;
}

.nav-contact {
  background: #ff4d6d;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
}

.nav-text-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #130061;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-text-link:hover {
  opacity: 1;
}

.nav-text-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-contact:hover {
  background: #e8405f;
}

@media (max-width: 800px) {
  .nav {
    justify-content: space-between;
    padding: 0 32px;
  }

  .nav-logo-full { display: none; }
  .nav-logo-short { display: inline; font-size: 20px; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; }
}

/* ── Intro Overlay ── */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: #16142f;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.intro-logo {
  width: min(420px, 80vw);
}

.intro-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Next Project Card ── */
.next-project-wrap {
  margin: 70px 96px 60px;
}

.next-project-card {
  display: flex;
  align-items: stretch;
  background: #16142f;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 260px;
}

.next-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(19,0,97,0.18);
}

.next-project-text {
  flex: 1;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.next-project-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.next-project-title {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.next-project-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 400px;
}

.next-project-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ff4d6d;
  margin-top: 8px;
}

.next-project-visual {
  flex: 0 0 38%;
  overflow: hidden;
  position: relative;
  border-radius: 0 24px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #16142f;
  padding: 0;
}

.next-project-img {
  width: auto;
  height: 320px;
  object-fit: contain;
  object-position: top center;
  display: block;
  margin-bottom: -60px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .next-project-card {
    flex-direction: column;
  }
  .next-project-text {
    padding: 32px 28px;
  }
  .next-project-visual {
    flex: none;
    height: 260px;
    align-items: flex-start;
    justify-content: center;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }
  .next-project-img {
    width: 56%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    margin-top: auto;
    margin-bottom: -55%;
  }
  .next-project-wrap {
    width: calc(100% - 30px);
  }
}

/* ── Footer ── */
.site-footer {
  background: #16142f;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-footer-top,
.site-footer-bottom {
  padding-left: 96px;
  padding-right: 96px;
}

.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.site-footer-name {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.site-footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.site-footer-contact-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.site-footer-contact-link:hover {
  color: #fff;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.site-footer-note {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: #ffd97d;
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* ── Contact Overlay ── */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 0, 97, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.contact-modal {
  background: #fff;
  border-radius: 20px;
  padding: 68px 48px 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.contact-overlay.is-open .contact-modal {
  transform: translateY(0);
}

@media (max-width: 550px) {
  .contact-overlay {
    align-items: flex-end;
    justify-content: stretch;
  }
  .contact-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 48px 28px 40px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .contact-overlay.is-open .contact-modal {
    transform: translateY(0);
  }
}

.contact-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-close:hover {
  color: #130061;
}

.contact-heading {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 700;
  color: #130061;
  margin: 0 0 8px;
}

.contact-subtext {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #666;
  margin: 0 0 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #130061;
}

.contact-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #130061;
  background: #f5f4fa;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

.contact-input:focus {
  border-color: #130061;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  background: #ff4d6d;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 4px;
  transition: background 0.15s ease;
}

.contact-submit:hover {
  background: #e8405f;
}

.contact-divider {
  height: 1px;
  background: #eee;
  margin: 28px 0;
}

.contact-email-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-email-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #130061;
  margin: 0;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f4fa;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #130061;
  cursor: pointer;
  transition: background 0.15s ease;
  width: 100%;
  justify-content: space-between;
}

.contact-email-btn:hover {
  background: #ece9f8;
}

.contact-copy-icon {
  flex-shrink: 0;
  opacity: 0.5;
}

.contact-copied {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-copied.is-visible {
  opacity: 1;
}

/* ── Hero ── */
.hero-back-wrap {
  margin: 20px 96px 0;
  display: flex;
}

.hero {
  background: #16142f;
  margin: 20px 96px 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 420px;
  padding: 0;
  position: relative;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 48px 48px 48px 48px;
}

.hero-visual {
  flex: 0 0 45%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 700;
  color: #130061;
  line-height: 1;
}

.hero-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.back-link,
.hero-content .hero-eyebrow,
.hero-content .hero-heading,
.hero-content .hero-sub,
.hero-content .hero-date,
.hero-visual {
  opacity: 0;
  animation: heroFadeUp 0.55s ease forwards;
}

.back-link                  { animation-delay: 0.1s; }
.hero-content .hero-eyebrow { animation-delay: 0.25s; }
.hero-content .hero-heading { animation-delay: 0.35s; }
.hero-content .hero-sub     { animation-delay: 0.45s; }
.hero-content .hero-date    { animation-delay: 0.55s; }
.hero-visual                { animation-delay: 0.15s; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 15px;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.back-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-heading {
  font-family: 'Merriweather', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.hero-heading em {
  font-style: italic;
  color: #f0c040;
}

.hero-heading br {
  display: none;
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
  }
  .hero-visual {
    flex: 1;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .hero--sonnen .hero-visual {
    min-height: unset;
    justify-content: center;
    align-items: center;
  }
  .hero--sonnen .hero-visual img {
    width: 100%;
    max-width: 624px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    clip-path: none;
  }
  .hero--toyota .hero-visual {
    overflow: visible;
  }
  .hero--toyota .hero-demo {
    width: 470px;
    transform: scale(0.68);
    transform-origin: top center;
    margin-top: 20px;
    margin-bottom: calc(-904px * 0.32);
  }
  .hero-demo {
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: calc(-904px * 0.25);
  }
}

@media (max-width: 950px) {
  .hero,
  .hero-back-wrap {
    width: calc(100% - 48px);
  }
  .hero-content {
    padding: 32px;
  }
  .nav {
    padding: 0 32px;
  }
  .site-footer-top,
  .site-footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
  .case-study,
  .cs-contents-inner,
  .hero-key-visuals,
  .setup-flow-section,
  .hero,
  .hero-back-wrap,
  .next-project-wrap {
    margin-left: 32px;
    margin-right: 32px;
  }
  .showcase-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-back-wrap,
  .case-study,
  .cs-contents-inner,
  .hero-key-visuals,
  .setup-flow-section,
  .next-project-wrap {
    margin-left: 20px;
    margin-right: 20px;
  }
  .showcase-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-visual {
    height: auto;
  }
  .hero-content {
    padding: 24px;
  }
  .cs-contents-nav {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .cs-contents-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .cs-contents-link:first-child {
    margin-left: 0;
  }
  .cs-contents-link:last-child {
    border-bottom: none;
  }
  .hero-heading {
    white-space: normal;
    font-size: 32px;
  }
  .hero-heading br {
    display: block;
  }
}

.hero-sub {
  font-size: 20px;
  color: #fff;
}

.hero-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.hero-image {
  flex: 1;
  min-width: 340px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: #16142f;
}

.hero-demo {
  width: 470px;
  height: 904px;
  flex-shrink: 0;
  border: none;
  display: block;
  background: transparent;
  transform: scale(0.5);
  transform-origin: top center;
  margin-top: 0;
  margin-bottom: calc(-904px * 0.5);
}

/* ── Brand hero variants ── */
.hero--toyota,
.hero--sonnen,
.hero--shell  { background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%); }

.hero--sonnen { min-height: 600px; }

.hero--toyota { min-height: 540px; }
.hero--toyota .hero-visual { min-height: 540px; overflow: hidden; }

.hero--toyota .hero-demo {
  transform: scale(0.49);
  transform-origin: top center;
  margin-top: 60px;
  margin-bottom: calc(-904px * 0.51);
}

.hero--toyota .hero-eyebrow,
.hero--sonnen .hero-eyebrow,
.hero--shell  .hero-eyebrow { color: #ff4d6d; opacity: 1; }

.hero--toyota .hero-heading,
.hero--sonnen .hero-heading,
.hero--shell  .hero-heading { color: #130061; }

.hero--toyota .hero-stats,
.hero--sonnen .hero-stats,
.hero--shell  .hero-stats { border-top-color: rgba(19, 0, 97, 0.1); }

.hero--toyota .hero-stat-value,
.hero--sonnen .hero-stat-value,
.hero--shell  .hero-stat-value { color: #130061; }

.hero--toyota .hero-heading em,
.hero--sonnen .hero-heading em,
.hero--shell  .hero-heading em { color: #130061; font-style: italic; }

.hero--toyota .hero-sub,
.hero--sonnen .hero-sub,
.hero--shell  .hero-sub { color: #555; font-size: 18px; line-height: 1.8; }

.hero--toyota .hero-date,
.hero--sonnen .hero-date,
.hero--shell  .hero-date { color: #ff4d6d; opacity: 0.8; }

.hero--shell .hero-visual img {
  transform: translate(-50px, 30px);
}

.hero--sonnen .hero-visual {
  align-items: flex-end;
  overflow: hidden;
}

.hero--sonnen .hero-visual img {
  width: 130%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin-top: 40px;
  margin-left: 80px;
  margin-bottom: -80px;
  clip-path: inset(0 0 80px 0);
  animation: sonnen-hero-float-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes sonnen-hero-float-in {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Back link — sits above card so always uses default dark style */
.back-link { color: #130061; border-color: rgba(19, 0, 97, 0.2); }
.back-link:hover { background: rgba(19, 0, 97, 0.06); border-color: rgba(19, 0, 97, 0.3); color: #130061; }

@media (max-width: 950px) {
  .hero-demo {
    transform-origin: top left;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }
}

/* ── Hero key visuals row ── */
.hero-key-visuals {
  margin: 36px 96px 16px;
}

@media (max-width: 950px) {
  .hero-key-visuals {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 800px) {
  .hero-key-visuals {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.hero-desktop-visuals {
  margin-top: 36px;
}

.hero-desktop-visuals-row {
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
  overflow: hidden;
  padding: 40px 32px;
}

.hero-desktop-visuals-row img {
  flex: 1;
  width: 0;
  object-fit: contain;
  object-position: bottom;
  display: block;
  border-radius: 10px;
}

.hero-key-visuals-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
  overflow: hidden;
  padding: 40px 48px;
}

.hero-key-visuals-row .hero-key-visual {
  flex: 1;
  min-width: 0;
  border-radius: 0;
  background: transparent;
}

.hero-key-visuals-row .hero-key-visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-key-visuals-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 32px 24px;
  }
  .hero-key-visuals-row .hero-key-visual {
    width: 100%;
  }
  .hero-key-visuals-row .hero-key-visual img {
    width: 100%;
    height: auto;
  }
}

.hero-key-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
}

.hero.hero--sonnen ~ .hero-key-visuals .hero-key-visual {
  background: #e8edf2;
}

.hero.hero--sonnen ~ .hero-key-visuals .hero-key-visual,
.hero.hero--shell ~ .hero-key-visuals .hero-key-visual {
  aspect-ratio: unset;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero.hero--sonnen ~ .hero-key-visuals .hero-key-visual img {
  object-fit: contain;
  padding: 0;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.hero-key-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}

.hero-key-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
}

@media (max-width: 768px) {
  .hero-key-visuals {
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
  }
}

/* ── Sticky Contents Bar ── */
.cs-contents-bar {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: #fff;
  margin-top: 40px;
}

.cs-contents-inner {
  margin: 0 96px;
  padding: 16px 0 0;
}

@media (max-width: 950px) {
  .cs-contents-inner {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 800px) {
  .cs-contents-inner {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.cs-contents-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #130061;
  display: block;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.cs-contents-nav {
  display: flex;
  column-gap: 40px;
  row-gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.cs-contents-link:first-child {
  margin-left: 0;
}

.cs-contents-nav::-webkit-scrollbar { display: none; }

.cs-contents-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #999;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.cs-contents-link:hover { color: #130061; }

.cs-contents-link.active {
  font-weight: 700;
  color: #130061;
}

/* ── Iteration grid ── */
.iteration-grid {
  display: flex;
  gap: 24px;
}

.iteration-grid-item {
  flex: 1;
  min-width: 0;
}

.iteration-grid-item img {
  height: 530px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 1000px) {
  .iteration-grid {
    flex-wrap: wrap;
  }
  .iteration-grid-item {
    flex: 0 0 calc(50% - 12px);
  }
  .iteration-grid-item img {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .iteration-grid {
    flex-direction: column;
  }
  .iteration-grid-item {
    flex: 1 1 100%;
  }
  .iteration-grid-item img {
    height: auto !important;
  }
}

@media (max-width: 850px) {
  .img-row-pair {
    flex-direction: column !important;
  }
  .img-row-pair .section-img-wrap {
    flex: none !important;
    width: 100%;
  }
}

@media (max-width: 789px) {
  .cs-contents-bar {
    position: static;
  }
}

@media (max-width: 800px) {
  .greentech-img {
    max-width: 100% !important;
  }
  .greentech-row {
    flex-direction: column !important;
  }
  .toyota-testing-imgs {
    grid-template-columns: 1fr !important;
  }
  .cs-contents-link {
    font-size: 14px;
    padding: 16px 0;
  }
}

@media (max-width: 768px) {
  .cs-contents-nav {
    flex-direction: column;
    gap: 0;
    padding: 0 12px 0 0;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(0,0,0,0.07);
    border-bottom: none;
  }
  .cs-contents-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: normal;
  }
  .cs-contents-link:first-child {
    margin-left: 0;
  }
  .cs-contents-link::after {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 12px;
    opacity: 0.5;
  }
}

/* ── Case Study Body ── */
.case-study {
  background: #fff;
  margin: 0 96px;
  padding: 0 0 160px;
}

@media (max-width: 950px) {
  .case-study {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 800px) {
  .case-study {
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 80px;
  }
}

.sidebar-sticky {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  border-left: 1px solid rgba(0,0,0,0.15);
  padding-left: 16px;
}

.sidebar-nav a {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b97b0;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.sidebar-nav a:hover {
  color: #1a1060;
}

.sidebar-nav a.active {
  color: #1a1060;
  font-weight: 700;
}

/* ── Main scroll area ── */
.case-content {
  width: 100%;
  padding: 80px 0 0;
}

@media (max-width: 770px) {
  .case-study {
    flex-direction: column;
    min-height: unset;
  }

  .sidebar {
    width: 100%;
    padding: 32px 32px;
  }

  .sidebar-sticky {
    position: static;
  }

  .case-content {
    padding: 40px 0 20px;
  }
}

/* ── Section ── */
.cs-section {
  margin-bottom: 96px;
  scroll-margin-top: 170px;
}

.cs-section:last-of-type {
  margin-bottom: 0;
}

.app-screens-wrap {
  margin-top: 32px;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 20px;
  padding: 48px 48px 0 48px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
}

.app-screen-item {
  flex: 0 0 auto;
  width: 280px;
  height: 450px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

@media (max-width: 750px) {
  .app-screens-wrap {
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 0;
    gap: 32px;
  }
  .app-screen-item {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-eyebrow span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
  white-space: nowrap;
}


.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  max-width: 90%;
  color: #130061;
  margin-bottom: 32px;
}

.section-cards {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}

@media (max-width: 1200px) {
  .section-cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fbfaf8;
  border: none;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
}

.card p {
  line-height: 1.7;
}

.card-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d6d;
  margin-top: 8px;
}

.card-label + .checklist {
  margin-top: 12px;
}

.card-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* ── Checklist ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.6;
}

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

.section-row.reverse {
  flex-direction: column;
}

.section-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #777;
  max-width: 90%;
}

@media (max-width: 768px) {
  .section-body {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  /* Case study sections */
  .cs-section {
    margin-bottom: 56px;
  }

  .section-heading {
    font-size: 26px;
  }

  .subsection-heading {
    font-size: 22px;
  }

  /* Cards */
  .section-cards {
    flex-direction: column;
  }

  /* Sprint weeks */
  .sprint-weeks {
    flex-direction: column;
  }

  /* Image stacks: force column on mobile */
  .section-img-stack--row {
    flex-direction: column;
  }
  .section-img-stack--row > div {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
  }
  .section-img-stack--row .section-img-wrap {
    flex: none !important;
    min-height: 200px !important;
    height: auto !important;
  }
  .section-img-stack--row .section-img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
  }
  .sonnen-user-story-wrap {
    flex: none !important;
    width: 100% !important;
    height: 300px !important;
    min-height: unset !important;
  }
  .sonnen-user-story-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
  }

  /* Grey image containers: stack vertically */
  .section-img-grey-container {
    flex-direction: column !important;
  }

  .section-img-grey-container > div {
    width: 100% !important;
    height: auto !important;
  }

  .section-img-grey-container > div img {
    width: 100% !important;
    height: auto !important;
  }

  /* Marketing page UI image */
  .section-img-wrap[style] {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Outcome grid: single column */
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  /* Hero key visuals: ensure images don't overflow */
  .hero-key-visuals {
    overflow: hidden;
  }

  .hero-key-visual img {
    width: 100%;
    height: auto;
  }

  /* Desktop visuals: stack vertically */
  .hero-desktop-visuals-row {
    flex-direction: column;
  }
  .hero-desktop-visuals-row img {
    width: 100%;
    flex: none;
  }

  /* Next project card */
  .next-project-card {
    flex-direction: column;
  }

  /* Findings box */
  .findings-box {
    padding: 24px 20px;
  }

  /* Note box */
  .note-box {
    padding: 16px;
  }
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Showcase ── */
.showcase-section {
  margin-top: 0;
  padding: 72px 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Password overlay ── */
.pw-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #16142f;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.pw-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  padding: 48px 32px;
}

.pw-label {
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.pw-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  text-align: center;
}
.pw-input:focus { border-color: rgba(255,255,255,0.35); }

.pw-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #16142f;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.pw-btn:hover { background: #f0f0f0; }

.pw-error {
  display: none;
  color: #ff4d6d;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

/* ── Phone frame showcase ── */
.showcase-frames-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  padding-bottom: 8px;
  justify-content: center;
}

.phone-frame {
  position: relative;
  background: #2a2a2a;
  border-radius: 22px;
  padding: 6px;
  flex-shrink: 0;
  width: 165px;
  box-shadow:
    0 0 0 1px #444,
    0 0 0 2px #222,
    0 16px 40px rgba(0,0,0,0.5);
}

.phone-frame-screen {
  border-radius: 17px;
  overflow: hidden;
  position: relative;
  height: 330px;
}

.phone-frame-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.phone-frame--lg {
  width: 248px;
  border-radius: 33px;
}

.phone-frame-screen--lg {
  border-radius: 26px;
  height: 495px;
}

.phone-frame-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.showcase-title {
  font-family: 'Merriweather', serif;
  font-size: 56px;
  font-weight: 400;
  color: #fff;
}

.showcase-img-large {
  height: 640px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.showcase-grid-cell {
  background: #efefef;
  border-radius: 20px;
  overflow: hidden;
  height: 600px;
}

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

.showcase-grid-img--bottom {
  object-fit: contain;
  object-position: center top;
  padding-left: 15%;
  padding-top: 8%;
  transform: scale(1.3);
  transform-origin: center top;
}

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

.cs-subsection {
  margin-top: 48px;
}

.subsection-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #130061;
}

.section-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
}

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

.cs-highlight-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.7;
  padding: 4px 0;
}

.cs-highlight-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #130061 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  margin-top: 4px;
}

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

.cs-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1060;
}

.cs-bullet-list li strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  color: #130061;
}

.cs-bullet-list li span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #777;
  max-width: 90%;
}

@media (max-width: 768px) {
  .cs-bullet-list li span {
    max-width: 100%;
  }
}

.cs-bullet-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #130061 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  margin-top: 6px;
}

/* ── Sprint Weeks ── */
.sprint-weeks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
  align-items: stretch;
}

.sprint-week {
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid #e4e0f0;
}

.sprint-week-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c6fc4;
}

.sprint-week ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sprint-week ul li {
  font-size: 13px;
  line-height: 1.5;
  color: #1a1060;
  padding-left: 12px;
  position: relative;
}

.sprint-week ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7c6fc4;
}

@media (max-width: 900px) {
  .sprint-weeks {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .sprint-weeks {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Note Box ── */
.note-box {
  background: rgba(240, 192, 64, 0.12);
  border-left: 3px solid #f0c040;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1060;
  margin-top: 8px;
}

.note-box strong {
  font-weight: 700;
}

/* ── Implication Box ── */
.implication-box {
  background: #16142f;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.implication-title {
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 4px;
}

.implication-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.implication-box ol {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.implication-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.implication-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* ── Findings Box ── */
/* ── Pilot box ── */
.pilot-box {
  background: #fdf6e0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
@media (max-width: 800px) {
  .pilot-box {
    max-width: 100% !important;
  }

  .nda-preview-row {
    flex-direction: column !important;
  }

  .nda-preview-text,
  .nda-preview-image {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.pilot-box-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #130061;
}

.pilot-box p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #130061;
  line-height: 1.7;
}

/* ── Proposition card ── */
.proposition-card {
  background: #16142f;
  border-radius: 24px;
  padding: 48px 52px 0 52px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 80px;
  overflow: hidden;
}

.proposition-left {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-self: center;
  padding-bottom: 48px;
}

.proposition-card-header {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.proposition-card-header em {
  font-style: normal;
  color: rgba(255,255,255,0.45);
}

.proposition-tagline {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  border-left: 3px solid #f0c040;
  padding-left: 24px;
}

.proposition-values {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.proposition-phone {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: -80px;
  margin-left: 80px;
}

.proposition-phone-svg {
  width: 260px;
  height: auto;
  opacity: 0.9;
  display: block;
}

.proposition-divider {
  display: none;
}

.proposition-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.proposition-check {
  font-size: 16px;
}

.proposition-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.proposition-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proposition-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.proposition-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f0c040;
  font-weight: 700;
}

@media (max-width: 900px) {
  .proposition-values {
    grid-template-columns: 1fr;
  }
  .proposition-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .proposition-card {
    padding: 32px 28px;
  }
}

@media (max-width: 800px) {
  .feature-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 16px 0;
  }
  .feature-row-body {
    grid-column: 1 / 3;
    grid-row: 2;
    padding-top: 0;
  }
  .feature-rows-card {
    padding: 4px 20px 4px 20px;
  }
  .proposition-card {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 28px 0;
    gap: 32px;
  }
  .proposition-left {
    width: 100%;
    padding-right: 10px;
    padding-bottom: 0;
  }
  .proposition-tagline {
    margin-top: 16px;
  }
  .proposition-phone {
    margin-left: 0;
    justify-content: center;
  }
}

/* ── Feature rows ── */
.feature-rows-card {
  background: #16142f;
  border-radius: 24px;
  margin-top: 32px;
  padding: 8px 0 8px 32px;
  overflow: hidden;
}

@media (max-width: 800px) {
  .feature-rows-card {
    padding: 4px 20px;
  }
}

.feature-rows {
  display: flex;
  flex-direction: column;
}

.feature-rows-card .feature-row {
  border-top-color: rgba(255,255,255,0.08);
}

.feature-rows-card .feature-row:first-child {
  border-top: none;
}

.feature-rows-card .feature-row:last-child {
  border-bottom-color: rgba(255,255,255,0.08);
}

.feature-rows-card .feature-row-number {
  color: #fff;
}

.feature-rows-card .feature-row-title {
  color: rgba(255,255,255,0.9);
}

.feature-rows-card .feature-row-body {
  color: rgba(255,255,255,0.5);
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(19, 0, 97, 0.06);
  margin: 0 20px;
}

@media (max-width: 800px) {
  .feature-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    row-gap: 6px;
    column-gap: 12px;
    padding: 16px 0;
    margin: 0;
  }
  .feature-row-body {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}

.feature-row:last-child {
  border-bottom: 1px solid rgba(19, 0, 97, 0.06);
}

.feature-row--muted {
  opacity: 1;
}

.feature-row-number-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.feature-row-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #130061;
}

.feature-row-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(19, 0, 97, 0.6);
  line-height: 1.5;
}

.feature-row-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(19, 0, 97, 0.6);
  line-height: 1.5;
}

/* ── Feature grid (unused, kept for reference) ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.feature-card {
  border-radius: 20px;
  padding: 36px 32px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.feature-card--dark {
  background: #16142f;
}

.feature-card--light {
  background: #f0ecfb;
}

.feature-card--out-of-scope {
  background: #f4f4f6;
  opacity: 0.55;
}

.feature-bg-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
}

.feature-card--light .feature-bg-number,
.feature-card--out-of-scope .feature-bg-number {
  color: rgba(19, 0, 97, 0.06);
}

.feature-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #130061;
  line-height: 1.3;
}

.feature-card--dark .feature-title {
  color: #fff;
}

.feature-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(19, 0, 97, 0.6);
  line-height: 1.7;
}

.feature-card--dark .feature-body {
  color: rgba(255,255,255,0.6);
}

.feature-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(19, 0, 97, 0.08);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(19, 0, 97, 0.4);
  align-self: flex-start;
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .home-experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Insight quote cards ── */
.insight-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.insight-card {
  background: #fdf6e0;
  border-radius: 16px;
  padding: 24px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-card:nth-child(1) {
  max-width: 55%;
  align-self: flex-start;
}

.insight-card:nth-child(2) {
  max-width: 60%;
  align-self: flex-end;
}

.insight-card:nth-child(3) {
  max-width: 50%;
  align-self: flex-start;
  margin-left: 10%;
}

.insight-cards--row {
  flex-direction: row;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 479px) {
  .insight-cards--row {
    flex-direction: column;
  }
  .insight-cards--row .insight-card {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

.insight-cards--row .insight-card {
  flex: 1;
  max-width: 100%;
  align-self: stretch;
  margin-left: 0;
}

.insight-cards--stacked {
  flex-shrink: 0;
  width: 340px;
  gap: 16px;
}

.insight-cards--stacked .insight-card {
  max-width: 100%;
  align-self: stretch;
  margin-left: 0;
}

.insight-cards--stacked .insight-quote {
  font-size: 13px;
}

.insight-cards--stacked .insight-card:nth-child(1),
.insight-cards--stacked .insight-card:nth-child(2),
.insight-cards--stacked .insight-card:nth-child(3) {
  max-width: 100%;
  align-self: stretch;
  margin-left: 0;
}

.insight-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #130061;
  line-height: 1.7;
}

.insight-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(19, 0, 97, 0.4);
}

@media (max-width: 900px) {
  .insight-card:nth-child(1),
  .insight-card:nth-child(2),
  .insight-card:nth-child(3) {
    max-width: 100%;
    align-self: stretch;
    margin-left: 0;
  }
}

.findings-box {
  background: #16142f;
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.findings-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c040;
}

.findings-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  line-height: 1.7;
}

.section-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  min-height: 320px;
}

.section-img-wrap--clipped {
  min-height: unset;
  height: 420px;
}

.section-img-wrap--auto {
  min-height: unset;
}

.sonnen-usergroups-grid {
  display: grid;
  grid-template-columns: 2.4fr 0.9fr;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
  padding: 32px;
}

.sonnen-usergroups-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.sonnen-usergroups-grid img:first-child {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1100px) {
  .sonnen-usergroups-grid {
    grid-template-columns: 1fr;
  }
}

.toyota-heuristic-imgs {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin-top: 24px;
  width: 100%;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
  padding: 32px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.toyota-heuristic-imgs img {
  width: 22%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 800px) {
  .toyota-heuristic-imgs {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .toyota-heuristic-imgs img {
    width: 80%;
  }
}

.toyota-testing-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}

.toyota-testing-imgs img,
.toyota-testing-imgs > div {
  height: 400px !important;
  object-fit: cover !important;
  overflow: hidden;
}

@media (max-width: 800px) {
  .toyota-testing-imgs img,
  .toyota-testing-imgs > div {
    height: auto !important;
    object-fit: contain !important;
    width: 100% !important;
  }
}

.toyota-new-screens {
  display: flex;
  gap: 0;
  margin-top: 32px;
  background: linear-gradient(135deg, #fafaff 0%, #f2f2f9 100%);
  border-radius: 16px;
  padding: 32px;
  align-items: flex-start;
  justify-content: center;
}

.toyota-new-screens > div:nth-child(1) { margin-right: -13px; }
.toyota-new-screens > div:nth-child(2) { position: relative; z-index: 1; }
.toyota-new-screens > div:nth-child(3) { margin-left: -13px; }

@media (max-width: 800px) {
  .toyota-new-screens {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .toyota-new-screens > div:nth-child(1),
  .toyota-new-screens > div:nth-child(3) { margin: 0; }
  .toyota-new-screens > div { width: 100%; }
  .toyota-new-screens img { width: 80% !important; }
}

.full-bleed-img-wrap {
  margin-left: -64px;
  margin-right: -72px;
  width: calc(100% + 64px + 72px);
}

.img-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 6px;
  margin-bottom: 0;
  text-align: left;
  letter-spacing: 0.02em;
}

.section-img-grey-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f2f2f9;
  border-radius: 16px;
  padding: 24px;
  flex-shrink: 0;
  width: 100%;
  align-items: center;
}

.section-img-grey-container .section-img-wrap {
  min-height: unset;
  overflow: hidden;
  width: 50%;
  border-radius: 12px;
}

.section-img-grey-container .section-img {
  min-height: unset;
  border-radius: 12px;
}

.section-img-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 100%;
}

.section-img-stack--row {
  flex-direction: row;
}

.section-img-stack--row .section-img-wrap {
  flex: 1;
  width: auto;
  flex-shrink: 1;
  min-height: unset;
  overflow: visible;
}

.section-img-stack--row .section-img {
  height: auto;
  min-height: unset;
  object-fit: contain;
}

.section-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 20px;
}

.img-placeholder {
  width: 100%;
  height: 560px;
  background: #e8e3da;
  border-radius: 20px;
}

.outcome-grid-wrap {
  background: #f2f2f9;
  border-radius: 20px;
  padding: 40px 36px;
  margin-top: 32px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 800px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

.outcome-grid-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #e4e0f0;
}

.outcome-grid-card--highlight {
  background: #16142f;
  border-color: #16142f;
}

.outcome-grid-icon {
  width: 48px;
  height: 48px;
  background: #130061;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.outcome-grid-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.outcome-grid-stat {
  font-family: 'Merriweather', serif;
  font-size: 52px;
  font-weight: 900;
  color: #f0c040;
  line-height: 1;
}

.outcome-grid-icon--thumb {
  background: rgba(255,255,255,0.12);
}

.outcome-grid-text {
  font-size: 15px;
  line-height: 1.65;
  color: #3a3560;
  margin: 0;
}

.outcome-grid-card--highlight .outcome-grid-text {
  color: #c8c2e8;
}

[data-theme="dark"] .outcome-grid-wrap {
  background: #0e0c1e;
}

[data-theme="dark"] .outcome-grid-card {
  background: #13102a;
  border-color: #2a2545;
}

[data-theme="dark"] .outcome-grid-card--highlight {
  background: #1e1b33;
  border-color: #2a2545;
}

[data-theme="dark"] .outcome-grid-text {
  color: #9e98c8;
}

/* ── Checklist icon ── */
.check-icon {
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  margin-top: 1px;
  position: relative;
}

.check-icon svg {
  width: 31px;
  height: 31px;
}

.check-icon .tick {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
}

/* ── Setup Flow Section ── */
.setup-flow-section {
  background: #16142f;
  padding: 80px 72px 96px;
  margin: 16px 96px;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.setup-flow-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.setup-flow-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.setup-flow-heading {
  font-family: 'Merriweather', serif;
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-align: center;
  margin-top: -32px;
  line-height: 1.15;
}

/* Phones row */
.setup-flow-phones {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
}

.setup-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.setup-flow-phone-wrap {
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.45;
  transform: scale(0.92);
}

.setup-flow-step.active .setup-flow-phone-wrap {
  opacity: 1;
  transform: scale(1);
}

.setup-flow-phone-frame {
  background: #2a2a2a;
  border-radius: 24px;
  padding: 6px;
  width: 158px;
  box-shadow:
    0 0 0 1px #444,
    0 0 0 2px #222,
    0 20px 50px rgba(0,0,0,0.6);
  transition: box-shadow 0.25s ease;
}

.setup-flow-step.active .setup-flow-phone-frame {
  box-shadow:
    0 0 0 2px #9b89f5,
    0 0 0 4px rgba(155,137,245,0.25),
    0 20px 50px rgba(0,0,0,0.7);
}

.setup-flow-phone-screen {
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  height: 320px;
  background: #000;
}

.setup-flow-phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 15px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.setup-flow-phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.setup-flow-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  text-align: center;
  transition: color 0.2s ease;
}

.setup-flow-step.active .setup-flow-label {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 800px) {
  .setup-flow-section {
    padding: 48px 0 64px;
    width: calc(100% - 40px);
    margin: 16px auto !important;
    border-radius: 24px;
    overflow: hidden;
  }

  .setup-flow-inner {
    padding: 0 20px;
    max-width: none;
  }

  .setup-flow-phones {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    margin: 0 -20px;
    scrollbar-width: none;
  }

  .setup-flow-phones::-webkit-scrollbar {
    display: none;
  }

  .setup-flow-step {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(100vw - 40px);
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .setup-flow-phone-frame {
    width: 72% !important;
    max-width: 320px;
  }

  .setup-flow-phone-screen {
    height: auto;
    aspect-ratio: 9 / 19.5;
    background: #000;
  }

  .setup-flow-phone-screen img {
    object-fit: contain;
    object-position: center top;
  }

  .setup-flow-label {
    font-size: 15px;
  }

  .setup-flow-dots {
    gap: 12px;
    margin-top: 0;
  }

  .setup-flow-dot {
    width: 11px;
    height: 11px;
  }
}

/* Dots */
.setup-flow-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: -16px;
}

.setup-flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.setup-flow-dot.active {
  background: #9b89f5;
  transform: scale(1.35);
}

/* Detail card */
.setup-flow-cards {
  width: 100%;
  max-width: 640px;
  position: relative;
}

.setup-flow-card {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 36px;
  text-align: left;
  animation: cardFadeIn 0.3s ease;
}

.setup-flow-card.active {
  display: flex;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.setup-flow-card-step {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b89f5;
}

.setup-flow-card-title {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.setup-flow-card-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-top: 4px;
}

@media (max-width: 950px) {
  .setup-flow-section {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 900px) {
  .setup-flow-section {
    padding: 64px 24px 80px;
  }
  .setup-flow-phones {
    gap: 12px;
  }
  .setup-flow-phone-frame {
    width: 120px;
  }
  .setup-flow-phone-screen {
    height: 244px;
  }
  .setup-flow-heading {
    font-size: 28px;
  }
}

@media (max-width: 800px) {
  .setup-flow-phone-frame {
    width: 100% !important;
  }
  .setup-flow-phone-screen {
    height: auto;
    aspect-ratio: 9 / 19.5;
  }
}

@media (max-width: 600px) {
  .setup-flow-phone-frame {
    width: 100% !important;
  }
  .setup-flow-phone-screen {
    height: auto;
    aspect-ratio: 9 / 19.5;
  }
  .setup-flow-card {
    padding: 24px 20px;
  }
}

/* ── Theme Toggle Button ── */
.nav-theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #130061;
  opacity: 0.6;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-theme-toggle:hover {
  opacity: 1;
}

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

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

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

/* ── Dark Mode ── */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: #0d0d18;
  color: #c8c4e0;
}

/* Nav */
[data-theme="dark"] .nav,
[data-theme="dark"] .nav--home {
  background: #0d0d18;
  border-bottom-color: #1e1b33;
}

[data-theme="dark"] .nav-logo-k {
  color: #ffffff;
}

[data-theme="dark"] .nav-logo-dot {
  color: #ff4d6d;
}

[data-theme="dark"] .nav-text-link {
  color: #c4b8ff;
}

[data-theme="dark"] .nav-theme-toggle {
  color: #c4b8ff;
}

[data-theme="dark"] .nav-burger span {
  background: #c4b8ff;
}

/* Hero */
[data-theme="dark"] .home-hero {
  background: linear-gradient(135deg, #0d0d18 0%, #13102a 100%);
}

[data-theme="dark"] .home-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .home-body {
  color: #9990bb;
}

[data-theme="dark"] .home-cta {
  background: #ff4d6d;
  color: #fff;
}

[data-theme="dark"] .home-cta-link {
  color: #c4b8ff;
  text-decoration-color: rgba(196,184,255,0.3);
}

[data-theme="dark"] .home-hero-video {
  background: #1a1730;
  color: #5a527a;
  border-color: #2a2545;
}

/* About */
[data-theme="dark"] .home-about {
  background: #111122;
}

[data-theme="dark"] .home-about-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .home-about-body {
  color: #9990bb;
}

[data-theme="dark"] .about-toggle {
  background: #1e1b33;
}

[data-theme="dark"] .about-toggle-btn {
  color: #7a7099;
}

[data-theme="dark"] .about-toggle-btn.active {
  background: #2a2545;
  color: #e8e4ff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

[data-theme="dark"] .about-heading-row .home-about-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .about-flip-front,
[data-theme="dark"] .about-flip-back {
  border-radius: 20px;
}

[data-theme="dark"] .home-about-btn--primary {
  background: #ff4d6d;
}

[data-theme="dark"] .home-about-btn--secondary {
  color: #c4b8ff;
  border-color: #c4b8ff;
}

[data-theme="dark"] .open-to-work {
  background: #0d2e1a;
  color: #4ade80;
}

/* Skills */
[data-theme="dark"] .home-skills {
  background: #111122;
}

[data-theme="dark"] .home-skills-list li {
  color: #9990bb;
}

[data-theme="dark"] .home-skills-list li:nth-child(odd) {
  border-right-color: #1e1b33;
}

[data-theme="dark"] .home-skills-quote {
  color: #9990bb;
}

/* Selected Work */
[data-theme="dark"] .home-work {
  background: #0d0d18;
}

[data-theme="dark"] .home-work-eyebrow {
  color: #ff4d6d;
}

[data-theme="dark"] .home-work-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .home-archive-link {
  color: #e8e4ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .home-archive-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .home-card {
  background: #13102a;
  border-color: #2a2545;
}

[data-theme="dark"] .home-card-company {
  color: #ff4d6d;
}

[data-theme="dark"] .home-card-title {
  color: #e8e4ff;
}

[data-theme="dark"] .home-card-desc {
  color: #7a7099;
}

[data-theme="dark"] .home-card-cta {
  color: #c4b8ff;
}

[data-theme="dark"] .home-card--toyota { background: linear-gradient(135deg, #13102a, #1a1530); }
[data-theme="dark"] .home-card--shell  { background: linear-gradient(135deg, #13102a, #1a1a20); }
[data-theme="dark"] .home-card--sonnen { background: linear-gradient(135deg, #13102a, #1a1820); }
[data-theme="dark"] .home-card--gensec { background: linear-gradient(135deg, #13102a, #151520); }

/* Brands */
[data-theme="dark"] .home-brands {
  background: #0a0a14;
}

[data-theme="dark"] .home-brands-label {
  color: #4a4468;
}

[data-theme="dark"] .home-brand-logo {
  filter: invert(1) brightness(0.5);
}

/* Experience */
[data-theme="dark"] .home-experience {
  background: #0d0d18;
}

[data-theme="dark"] .home-experience-eyebrow {
  color: #ff4d6d;
}

[data-theme="dark"] .home-experience-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .home-timeline-dot {
  background: #ff4d6d;
  border-color: #0d0d18;
}

[data-theme="dark"] .home-timeline-line {
  background: #1e1b33;
}

[data-theme="dark"] .home-timeline-dates {
  color: #9990bb;
}

[data-theme="dark"] .home-timeline-company {
  color: #e8e4ff;
}

[data-theme="dark"] .home-timeline-role {
  color: #e8e4ff;
}

[data-theme="dark"] .home-timeline-desc,
[data-theme="dark"] .home-timeline-bullets {
  color: #7a7099;
}

[data-theme="dark"] .home-timeline-pill {
  background: #1e1b33;
  color: #7a7099;
  border-color: #2a2545;
}

[data-theme="dark"] .home-about-btn--secondary {
  color: #c4b8ff;
  border-color: #2a2545;
}

/* Footer */
[data-theme="dark"] .site-footer {
  background: #080810;
  border-top-color: #1e1b33;
}

[data-theme="dark"] .site-footer-name {
  color: #e8e4ff;
}

[data-theme="dark"] .site-footer-tagline,
[data-theme="dark"] .site-footer-text,
[data-theme="dark"] .site-footer-note {
  color: #4a4468;
}

[data-theme="dark"] .site-footer-contact-link {
  color: #7a7099;
}

/* Contact modal */
[data-theme="dark"] .contact-modal {
  background: #13102a;
  border-color: #2a2545;
}

[data-theme="dark"] .contact-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .contact-subtext,
[data-theme="dark"] .contact-label {
  color: #7a7099;
}

[data-theme="dark"] .contact-input {
  background: #1e1b33;
  border-color: #2a2545;
  color: #e8e4ff;
}

[data-theme="dark"] .contact-divider {
  background: #1e1b33;
}

[data-theme="dark"] .contact-email-label {
  color: #4a4468;
}

[data-theme="dark"] .contact-email-btn {
  color: #c4b8ff;
  border-color: #2a2545;
  background: #1e1b33;
}

/* Case study pages */
[data-theme="dark"] .case-hero {
  background: linear-gradient(135deg, #0d0d18 0%, #13102a 100%) !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-sub,
[data-theme="dark"] .hero-eyebrow {
  color: #e8e4ff;
}

[data-theme="dark"] .case-content,
[data-theme="dark"] .cs-section {
  background: #0d0d18;
}

[data-theme="dark"] .section-heading,
[data-theme="dark"] .subsection-heading {
  color: #e8e4ff;
}

[data-theme="dark"] .section-body {
  color: #7a7099;
}

[data-theme="dark"] .section-eyebrow span {
  color: #ff4d6d;
}

[data-theme="dark"] .card {
  background: #13102a;
  border-color: #2a2545;
}

[data-theme="dark"] .card-label {
  color: #ff4d6d;
}

[data-theme="dark"] .card p {
  color: #7a7099;
}

[data-theme="dark"] .note-box {
  background: #1e1b33;
  border-color: #2a2545;
  color: #7a7099;
}

[data-theme="dark"] .findings-box {
  background: #1e1b33;
  border-color: #2a2545;
}

[data-theme="dark"] .findings-label {
  color: #ff4d6d;
}

[data-theme="dark"] .findings-list li {
  color: #7a7099;
}

[data-theme="dark"] .sprint-week {
  background: #13102a;
  border-color: #2a2545;
}

[data-theme="dark"] .sprint-week-label {
  color: #ff4d6d;
}

[data-theme="dark"] .sprint-week li {
  color: #7a7099;
}

[data-theme="dark"] .cs-nav {
  background: #0d0d18;
  border-right-color: #1e1b33;
}

[data-theme="dark"] .cs-nav-link {
  color: #4a4468;
}

[data-theme="dark"] .cs-nav-link.active,
[data-theme="dark"] .cs-nav-link:hover {
  color: #e8e4ff;
}

[data-theme="dark"] .nav-mobile-menu {
  background: #0d0d18;
  border-color: #1e1b33;
}

[data-theme="dark"] .nav-mobile-link {
  color: #c4b8ff;
}

/* Dark mode card image gradients */
[data-theme="dark"] .home-card--toyota .home-card-demo::after,
[data-theme="dark"] .home-card--shell  .home-card-demo::after,
[data-theme="dark"] .home-card--sonnen .home-card-demo::after,
[data-theme="dark"] .home-card--gensec .home-card-demo::after { background: none; }

/* Dark mode — all cards same dark background as Toyota */
[data-theme="dark"] .home-card--shell,
[data-theme="dark"] .home-card--sonnen,
[data-theme="dark"] .home-card--gensec {
  background: linear-gradient(135deg, #13102a, #1a1530);
}


/* Dark mode brands */
[data-theme="dark"] .home-brands-label {
  color: #e8e4ff;
}

[data-theme="dark"] .home-brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}


/* Dark mode — card image area background */
[data-theme="dark"] .home-card-demo {
  background: #2a2450;
}

/* Dark mode — reset meta background */
[data-theme="dark"] .home-card--toyota .home-card-meta,
[data-theme="dark"] .home-card--shell  .home-card-meta,
[data-theme="dark"] .home-card--sonnen .home-card-meta,
[data-theme="dark"] .home-card--gensec .home-card-meta {
  background: none;
}

/* ── Dark Mode — Case Study Pages ── */

/* Hero: light variants (Shell, Sonnen) */
[data-theme="dark"] .hero--shell,
[data-theme="dark"] .hero--sonnen,
[data-theme="dark"] .hero--toyota {
  background: #1a1730;
}
[data-theme="dark"] .hero--toyota .hero-eyebrow { color: #ff4d6d; opacity: 1; }
[data-theme="dark"] .hero--toyota .hero-heading { color: #e8e4ff; }
[data-theme="dark"] .hero--toyota .hero-heading em { color: #e8e4ff; }
[data-theme="dark"] .hero--toyota .hero-sub { color: #a8a4c0; }
[data-theme="dark"] .hero--toyota .hero-visual { background: #1a1730 !important; }
[data-theme="dark"] .hero--toyota .hero-demo { background: #1a1730 !important; }
[data-theme="dark"] .hero--shell .hero-eyebrow,
[data-theme="dark"] .hero--sonnen .hero-eyebrow { color: #ff4d6d; opacity: 1; }
[data-theme="dark"] .hero--shell .hero-heading,
[data-theme="dark"] .hero--sonnen .hero-heading { color: #e8e4ff; }
[data-theme="dark"] .hero--shell .hero-heading em,
[data-theme="dark"] .hero--sonnen .hero-heading em { color: #e8e4ff; }
[data-theme="dark"] .hero--shell .hero-sub,
[data-theme="dark"] .hero--sonnen .hero-sub { color: #a8a4c0; }
[data-theme="dark"] .hero--shell .hero-date,
[data-theme="dark"] .hero--sonnen .hero-date { color: #ff4d6d; opacity: 0.8; }
[data-theme="dark"] .hero--shell .hero-stats { border-top-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .hero--shell .hero-stat-value { color: #e8e4ff; }

/* Back link */
[data-theme="dark"] .back-link { background: #1e1b33; color: #a8a4c0; }
[data-theme="dark"] .back-link:hover { background: #2a2650; color: #e8e4ff; }

/* Contents bar */
[data-theme="dark"] .cs-contents-bar { background: rgba(13, 13, 24, 0.92); border-bottom-color: #1e1b33; }
[data-theme="dark"] .cs-contents-link { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .cs-contents-link:hover { color: #e8e4ff; }
[data-theme="dark"] .cs-contents-link.active { color: #c4b8ff; }
[data-theme="dark"] .cs-contents-nav { border-top-color: rgba(255,255,255,0.12); border-bottom-color: rgba(255,255,255,0.12); }

/* Section text */
[data-theme="dark"] .section-eyebrow span { background: #1e1b33; color: #a8a4c0; }
[data-theme="dark"] .section-heading { color: #e8e4ff; }
[data-theme="dark"] .subsection-heading { color: #e8e4ff; }
[data-theme="dark"] .section-body { color: #a8a4c0; }
[data-theme="dark"] .section-list li { color: #a8a4c0; }
[data-theme="dark"] .img-caption { color: #6e6a88; }

/* Cards (context section) */
[data-theme="dark"] .card { background: #1a1730; border-color: #2a2650; }
[data-theme="dark"] .card p,
[data-theme="dark"] .card li { color: #a8a4c0; }
[data-theme="dark"] .card-label,
[data-theme="dark"] .card-section-label { color: #6e6a88; }

/* Checklist */
[data-theme="dark"] .checklist li { color: #a8a4c0; }

/* Findings box */
[data-theme="dark"] .findings-box { background: #1a1730; border-color: #2a2650; }
[data-theme="dark"] .findings-label { color: #c4b8ff; }
[data-theme="dark"] .findings-list li { color: #a8a4c0; }

/* Pilot / note boxes */
[data-theme="dark"] .pilot-box { background: #1a1730; border: 1.5px solid #2a2650; }
[data-theme="dark"] .pilot-box-label { color: #e8e4ff; }
[data-theme="dark"] .pilot-box p { color: #a8a4c0; }
[data-theme="dark"] .note-box { background: #1a1730; border-color: #2a2650; color: #a8a4c0; }

/* Sprint weeks */
[data-theme="dark"] .sprint-week { background: #1a1730; border-color: #2a2650; }
[data-theme="dark"] .sprint-week-label { color: #6e6a88; }
[data-theme="dark"] .sprint-week-title { color: #e8e4ff; }
[data-theme="dark"] .sprint-week-body { color: #a8a4c0; }

/* Feature rows */
[data-theme="dark"] .feature-rows-card { background: #1a1730; border-color: #2a2650; }
[data-theme="dark"] .feature-row-number { color: #6e6a88; }
[data-theme="dark"] .feature-row-title { color: #e8e4ff; }
[data-theme="dark"] .feature-row-body { color: #a8a4c0; }

/* Bullet list */
[data-theme="dark"] .cs-bullet-list li { color: #a8a4c0; }
[data-theme="dark"] .cs-bullet-list li strong { color: #e8e4ff; }
[data-theme="dark"] .cs-bullet-list li span { color: #a8a4c0; }
[data-theme="dark"] .cs-bullet-list li::before { background-color: #c4b8ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='%2316142f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Image containers with light backgrounds */
[data-theme="dark"] .hero-key-visual { background: #1a1730; }
[data-theme="dark"] .hero-desktop-visuals-row { background: #1a1730; }
[data-theme="dark"] .section-img-grey-container { background: #1a1730; }
[data-theme="dark"] .app-screens-wrap { background: #1a1730; }

/* Next project */
[data-theme="dark"] .next-project-card { background: #1a1730; }
[data-theme="dark"] .next-project-eyebrow { color: #6e6a88; }
[data-theme="dark"] .next-project-title { color: #e8e4ff; }
[data-theme="dark"] .next-project-desc { color: #a8a4c0; }
[data-theme="dark"] .next-project-cta { color: #c4b8ff; }
[data-theme="dark"] .next-project-visual { background: #0d0b1e; }

/* Footer */
[data-theme="dark"] .site-footer { border-top-color: #1e1b33; }
[data-theme="dark"] .site-footer-name { color: #e8e4ff; }
[data-theme="dark"] .site-footer-tagline,
[data-theme="dark"] .site-footer-text,
[data-theme="dark"] .site-footer-note { color: #6e6a88; }
[data-theme="dark"] .site-footer-contact-link { color: #a8a4c0; }

/* Password overlay */
[data-theme="dark"] .pw-modal { background: #1a1730; }
[data-theme="dark"] .pw-label { color: #a8a4c0; }
[data-theme="dark"] .pw-input { background: #0d0d18; border-color: #2a2650; color: #e8e4ff; }

[data-theme="dark"] .case-study { background: transparent; }

[data-theme="dark"] .next-project-visual { background: #1a1730; }

[data-theme="dark"] .check-icon svg path {
  fill: rgba(196, 184, 255, 0.15);
  stroke: #c4b8ff;
}
[data-theme="dark"] .check-icon .tick path {
  stroke: #e8e4ff;
  fill: none;
}
