/* ===== base ===== */
:root {
  --bg: #f7f8fb;
  --surface: #fff;
  --ink: #0d1b2a;
  --muted: #637083;
  --line: #e5e9f0;
  --blue: #2f66d0;
  --blue-soft: #eaf0ff;
  --teal: #2aa889;
  --navy: #0e1b2b;
  --shadow: 0 24px 70px rgba(14, 27, 43, 0.11);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #626f82;
}
.section {
  padding: 110px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.section-head p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}
/* Scroll-reveal only hides content once JS has confirmed it will reveal it
   (html.js is set by an inline script in <head>), so no-JS visitors and slow
   script loads never see a blank page. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s var(--ease);
}
.js .reveal.show {
  opacity: 1;
  transform: none;
}
/* Above-the-fold hero entrance: pure CSS, so it never waits for main.js. */
.hero-in {
  animation: hero-in 0.7s var(--ease) both;
}
.hero-v12-title {
  animation-delay: 0.05s;
}
.hero-v12-intro {
  animation-delay: 0.1s;
}
.hero-v12-actions {
  animation-delay: 0.15s;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* NAV */
.nav-holder {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(980px, calc(100% - 28px));
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(229, 233, 240, 0.9);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(14, 27, 43, 0.08);
  transition:
    width 0.45s var(--ease),
    border-radius 0.45s var(--ease),
    padding 0.45s var(--ease);
}
.nav-pill.compact {
  width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 24px;
  color: #4d5c70;
  font-size: 0.83rem;
}
.nav-links a {
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--blue);
  transition: 0.25s;
}
.nav-links a:hover:after {
  right: 0;
}
.nav-cta {
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.nav-pill.compact .brand,
.nav-pill.compact .nav-links,
.nav-pill.compact .nav-cta {
  display: none;
}
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle:before,
.nav-toggle:after {
  content: "";
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle:before {
  top: 13px;
}
.nav-toggle:after {
  top: 21px;
}
.nav-pill.compact .nav-toggle {
  display: block;
}

/* HERO */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 70px;
  background: radial-gradient(
      circle at 15% 12%,
      rgba(47, 102, 208, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(42, 168, 137, 0.09),
      transparent 24%
    ),
    linear-gradient(180deg, #fbfcfe, #f7f8fb);
}
.dot-field {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(
    rgba(13, 27, 42, 0.22) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.word-window {
  display: inline-block;
  vertical-align: bottom;
  height: 1.02em;
  overflow: hidden;
  color: var(--blue);
  min-width: 5.8em;
}
.word-track {
  display: block;
  transition: transform 0.7s var(--ease);
}
.word-track span {
  display: block;
  height: 1.02em;
}
.hero-copy {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-weight: 750;
  background: #fff;
  transition: 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14, 27, 43, 0.08);
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.role-line {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #66768a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-visual {
  position: relative;
  height: 590px;
}
.hero-card {
  position: absolute;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-main {
  inset: 30px 30px 30px 20px;
  background: radial-gradient(
      circle at 50% 22%,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.15) 26%,
      transparent 43%
    ),
    linear-gradient(145deg, #e8edf5, #cbd5e4 52%, #eef2f7);
}
.hero-main:before {
  content: "YOUR PORTRAIT / SHORT VIDEO";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #5e6d82;
  border: 1px dashed #8695a8;
  padding: 9px 11px;
  border-radius: 999px;
}
.float-tag {
  position: absolute;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 35px rgba(14, 27, 43, 0.08);
  border: 1px solid #fff;
  font-weight: 750;
  font-size: 0.82rem;
  animation: float 5.8s ease-in-out infinite;
}
.float-tag.a {
  top: 8px;
  right: 0;
}
.float-tag.b {
  bottom: 76px;
  left: -6px;
  animation-delay: 1.5s;
}
.float-tag.c {
  bottom: 14px;
  right: 12px;
  animation-delay: 3s;
}
.float-tag span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-right: 8px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* SELECTED WORK — Connoisseur-inspired sliced image interactor */
.work {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.connoisseur-shell {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
}
.work-intro {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  z-index: 5;
}
.work-intro p {
  max-width: 470px;
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}
.connoisseur-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 24px;
  align-items: center;
  padding-top: 80px;
}
.work-menu {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
}
.work-option {
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
  text-align: left;
  padding: 18px 0;
  cursor: pointer;
  color: #c1c6cf;
  transition:
    color 0.42s var(--ease),
    transform 0.42s var(--ease);
  position: relative;
}
.work-option:hover {
  color: #8e99a8;
}
.work-option.active {
  color: var(--ink);
  transform: translateX(8px);
}
.work-option .num {
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1;
  font-weight: 800;
  color: #aab1bc;
  padding-top: 9px;
  transition: color 0.42s var(--ease);
}
.work-option.active .num {
  color: var(--blue);
}
.work-option .label {
  font-size: clamp(2.65rem, 4.8vw, 5.2rem);
  line-height: 0.83;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 520px;
}
.work-option:not(.active) .label {
  color: #c5c9d0;
}
.work-option.active .label {
  color: #0b0d10;
}
.work-option .mini {
  grid-column: 2;
  margin-top: 9px;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease,
    max-height 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.work-option.active .mini {
  opacity: 1;
  max-height: 90px;
  transform: none;
}

.mosaic-wrap {
  position: relative;
  height: 500px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.mosaic {
  --tile-gap: 10px;
  width: min(510px, 92%);
  aspect-ratio: 1/1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: var(--tile-gap);
  position: relative;
  transform: translateX(-18px);
  filter: drop-shadow(0 28px 38px rgba(14, 27, 43, 0.16));
}
.slice {
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: 300% 300%;
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition:
    transform 0.72s var(--ease),
    opacity 0.48s ease,
    border-radius 0.4s ease;
  box-shadow: 0 8px 18px rgba(14, 27, 43, 0.07);
}
.mosaic.ready .slice {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.slice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 42%
  );
  pointer-events: none;
}
/* background positions so all tiles reconstruct one conceptual image */
.slice:nth-child(1) {
  background-position: 0% 0%;
  transition-delay: 0.02s;
}
.slice:nth-child(2) {
  background-position: 50% 0%;
  transition-delay: 0.06s;
}
.slice:nth-child(3) {
  background-position: 100% 0%;
  transition-delay: 0.1s;
}
.slice:nth-child(4) {
  background-position: 0% 50%;
  transition-delay: 0.14s;
}
.slice:nth-child(5) {
  background-position: 50% 50%;
  transition-delay: 0.18s;
}
.slice:nth-child(6) {
  background-position: 100% 50%;
  transition-delay: 0.22s;
}
.slice:nth-child(7) {
  background-position: 0% 100%;
  transition-delay: 0.26s;
}
.slice:nth-child(8) {
  background-position: 50% 100%;
  transition-delay: 0.3s;
}
.slice:nth-child(9) {
  background-position: 100% 100%;
  transition-delay: 0.34s;
}

/* subtle alternate tile proportions to feel less generic */
.slice:nth-child(1),
.slice:nth-child(9) {
  border-radius: 18px;
}
.slice:nth-child(5) {
  border-radius: 18px;
}

.visual-caption {
  position: absolute;
  right: 7%;
  bottom: -18px;
  width: min(430px, 80%);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.visual-caption strong {
  color: var(--ink);
  font-size: 0.76rem;
}
.mosaic-accent {
  position: absolute;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(47, 102, 208, 0.08);
  filter: blur(1px);
  top: 7%;
  right: 2%;
  z-index: -1;
}
.mosaic-accent.two {
  width: 92px;
  height: 92px;
  background: rgba(42, 168, 137, 0.08);
  top: auto;
  bottom: 8%;
  right: auto;
  left: 1%;
}

/* VIDEO */
.video-section {
  height: 170vh;
  background: var(--navy);
  color: #fff;
  position: relative;
}
.video-sticky {
  height: 100svh;
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.video-top {
  position: absolute;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  z-index: 3;
}
.video-top h2 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 10px 0 0;
}
.video-frame {
  width: 38vw;
  min-width: 350px;
  aspect-ratio: 16/9;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #29394a, #0b1724);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.38);
}
.video-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(108, 142, 232, 0.35),
    transparent 25%
  );
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
}
.video-label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4d0df;
}
.video-process {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  color: #9fb0c4;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* TIMELINE */
.experience {
  background: var(--bg);
}
.timeline-wrap {
  position: relative;
  margin-top: 50px;
}
.timeline-line {
  position: absolute;
  left: 250px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dde3ec;
}
.timeline-progress {
  position: absolute;
  left: 250px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(var(--blue), var(--teal));
}
.timeline-item {
  display: grid;
  grid-template-columns: 210px 80px 1fr;
  gap: 0;
  min-height: 260px;
  padding: 18px 0 46px;
}
.timeline-year {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 5px;
}
.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
  margin-left: 31px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--bg);
}
.timeline-content {
  padding-left: 28px;
}
.timeline-content h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.035em;
}
.timeline-content .role {
  margin-top: 6px;
  color: var(--blue);
  font-weight: 700;
}
.timeline-content p {
  max-width: 680px;
  color: var(--muted);
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.timeline-tags span {
  padding: 6px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  color: #57677c;
}

/* CONTACT inverse */
.contact {
  background: #fff;
  color: var(--navy);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.contact:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(47, 102, 208, 0.09),
      transparent 26%
    ),
    radial-gradient(
      circle at 84% 72%,
      rgba(42, 168, 137, 0.08),
      transparent 26%
    );
}
.contact-inner {
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.contact h2 {
  font-size: clamp(4rem, 9vw, 9.6rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  margin: 0;
  text-transform: uppercase;
}
.contact p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 28px auto 0;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* FOOTER */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 34px;
  text-align: center;
}
.footer-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin: 0 auto 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.footer h3 {
  font-size: 1.6rem;
  margin: 0;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 28px 0;
  color: #cbd5e1;
  font-size: 0.84rem;
}
.footer-nav a {
  transition: 0.25s;
}
.footer-nav a:hover {
  color: #fff;
  transform: translateY(-3px);
}
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 42px;
}
.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dbe5ef;
  transition: 0.25s var(--ease);
}
.social:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-4px) rotate(-4deg);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8796a9;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .stack-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 500px;
  }
  .stack-stage {
    height: 530px;
  }
  .timeline-line,
  .timeline-progress {
    left: 160px;
  }
  .timeline-item {
    grid-template-columns: 130px 60px 1fr;
  }
  .timeline-dot {
    margin-left: 21px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }
  .section {
    padding: 82px 0;
  }
  .nav-links,
  .nav-cta {
    display: none !important;
  }
  .nav-pill {
    width: 62px;
    height: 62px;
    min-height: 62px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .nav-pill .brand {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding-top: 110px;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 5.2rem);
  }
  .hero-visual {
    height: 430px;
  }
  .stack-stage {
    height: 470px;
  }
  .skill-card {
    height: 340px;
  }
  .video-frame {
    min-width: 0;
    width: 80vw;
  }
  .video-process {
    gap: 8px;
    flex-wrap: wrap;
  }
  .timeline-line,
  .timeline-progress {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 48px 1fr;
    min-height: auto;
    padding: 20px 0 52px;
  }
  .timeline-year {
    grid-column: 2;
    padding: 0 0 9px;
  }
  .timeline-dot {
    grid-column: 1;
    grid-row: 1/3;
    margin-left: 11px;
    margin-top: 4px;
  }
  .timeline-content {
    grid-column: 2;
    padding-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .connoisseur-shell {
    min-height: auto;
  }
  .work-intro {
    position: relative;
    margin-bottom: 30px;
  }
  .connoisseur-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0;
    gap: 18px;
  }
  .work-menu {
    padding-left: 0;
  }
  .work-option {
    grid-template-columns: 54px 1fr;
  }
  .work-option .label {
    font-size: clamp(2.7rem, 9vw, 5rem);
  }
  .mosaic-wrap {
    height: auto;
    padding: 20px 0 50px;
  }
  .mosaic {
    width: min(520px, 86vw);
    transform: none;
  }
  .visual-caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 86vw);
    margin-top: 18px;
  }
}
@media (max-width: 700px) {
  .work-intro {
    flex-direction: column;
  }
  .work-option {
    padding: 13px 0;
    grid-template-columns: 44px 1fr;
  }
  .work-option .num {
    font-size: 1.05rem;
  }
  .work-option .label {
    font-size: clamp(2.3rem, 12vw, 4.1rem);
  }
  .work-option.active {
    transform: translateX(3px);
  }
  .work-option .mini {
    font-size: 0.76rem;
  }
  .mosaic {
    --tile-gap: 7px;
    width: 90vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== hero-v12-reference-match ===== */
:root {
  --v12-ivory: #f6f1e9;
  --v12-ivory-light: #fbf9f5;
  --v12-ink: #071b41;
  --v12-copy: #425674;
  --v12-warm: #9f795e;
  --v12-line: #dce1e8;
}

/* HERO CANVAS */
.hero.hero-v12 {
  min-height: 820px !important;
  display: block !important;
  position: relative;
  overflow: hidden;
  padding: 106px 0 26px !important;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.52),
      rgba(255, 255, 255, 0.15)
    ),
    linear-gradient(
      110deg,
      var(--v12-ivory-light) 0%,
      var(--v12-ivory) 60%,
      #eee5da 100%
    ) !important;
  border-bottom: 1px solid #e4e1dc;
}
.hero-v12-wrap {
  width: min(1320px, calc(100% - 48px));
  min-height: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(470px, 1.04fr) minmax(310px, 0.72fr) minmax(
      395px,
      0.88fr
    );
  gap: 6px;
  align-items: end;
  position: relative;
  z-index: 3;
}

/* LEFT */
.hero-v12-copy {
  align-self: center;
  padding: 22px 0 24px;
  position: relative;
  z-index: 5;
}
.hero-v12-copy .eyebrow {
  margin-bottom: 18px;
  color: #61728a;
  font-size: 0.68rem;
  letter-spacing: 0.21em;
}
.hero.hero-v12 h1.hero-v12-title {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.35rem, 5.4vw, 5.95rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--v12-ink);
}
.hero-v12-title .word-window {
  color: var(--blue);
  min-width: 5.9em;
  white-space: nowrap;
}
.hero-v12-intro {
  max-width: 555px !important;
  margin-top: 20px !important;
  color: var(--v12-copy) !important;
  font-size: 1.06rem !important;
  line-height: 1.42;
}
.hero-v12-actions {
  margin-top: 25px !important;
  gap: 13px !important;
}
.hero-v12-actions .btn {
  min-height: 52px;
  border-radius: 11px;
  padding: 0 23px;
}
.hero-v12-actions .btn-primary {
  min-width: 210px;
  background: linear-gradient(180deg, #142c4d, #0d223f);
}
.hero-v12-outline {
  min-width: 190px;
  color: #0a2148;
  border-color: #7188a6 !important;
  background: rgba(255, 255, 255, 0.38) !important;
}
.hero-v12-identity {
  margin-top: 27px;
}
.hero-v12-identity h2 {
  margin: 0;
  color: var(--v12-ink);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-v12-identity p {
  margin: 7px 0 0;
  color: #52657e;
  font-size: 0.84rem;
}
.hero-v12-identity p span {
  margin: 0 6px;
  color: #a5aeb9;
}
.hero-v12-signature {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.hero-v12-signature i {
  width: 52px;
  height: 1px;
  background: #99765d;
}
.hero-v12-signature em {
  color: #8d684e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1;
}
.hero-v12-stats {
  margin-top: 25px;
  display: flex;
  align-items: flex-end;
}
.hero-v12-stats > div {
  min-width: 112px;
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid rgba(7, 27, 65, 0.18);
}
.hero-v12-stats > div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.hero-v12-stats small {
  display: block;
  text-transform: uppercase;
  color: #69798d;
  font-size: 0.56rem;
  letter-spacing: 0.13em;
}
.hero-v12-stats strong {
  display: block;
  margin-top: 6px;
  color: #071b41;
  font-size: 1.3rem;
  line-height: 1;
}

/* CENTER PORTRAIT — STATIC, LOWER THAN NAV */
.hero-v12-person {
  height: 100%;
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: -46px;
  margin-right: -88px;
  z-index: 3;
  pointer-events: none;
}
.hero-v12-person-glow {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  z-index: 0;
}
.hero-v12-person-img {
  width: 112%;
  max-width: 520px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(60, 55, 50, 0.12));
  /* no hover/parallax transform on portrait */
}

/* RIGHT KPI STACK */
.hero-v12-kpis {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 25px 0 10px;
  margin-left: -34px;
  z-index: 6;
}
.hero-v12-kpi {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(218, 224, 232, 0.88);
  border-radius: 18px;
  padding: 17px 19px;
  box-shadow: 0 17px 39px rgba(52, 58, 69, 0.1);
  will-change: transform;
  animation: kpiFloat 5.8s ease-in-out infinite;
  transition: box-shadow 0.25s var(--ease);
}
.hero-v12-kpi:nth-child(2) {
  animation-delay: 1.35s;
}
.hero-v12-kpi:nth-child(3) {
  animation-delay: 2.7s;
}
.hero-v12-kpi:hover {
  box-shadow: 0 24px 48px rgba(52, 58, 69, 0.14);
}
@keyframes kpiFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-v12-kpi-top {
  display: grid;
  grid-template-columns: 48px 1fr 76px;
  gap: 12px;
  align-items: center;
}
.hero-v12-kpi-top.simple {
  grid-template-columns: 48px 1fr;
}
.hero-v12-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 900;
  box-shadow: 0 9px 19px rgba(0, 0, 0, 0.08);
}
.hero-v12-icon.blue {
  background: linear-gradient(180deg, #529cff, #2f68d7);
}
.hero-v12-icon.violet {
  background: linear-gradient(180deg, #8d67ff, #604af4);
}
.hero-v12-icon.green {
  background: linear-gradient(180deg, #44d799, #19b972);
}
.hero-v12-kpi-title h3 {
  margin: 0;
  color: #0b1e43;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}
.hero-v12-kpi-title p {
  margin: 1px 0 0;
  color: #627188;
  font-size: 0.7rem;
}

/* QA */
.hero-v12-ring {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  position: relative;
}
.hero-v12-ring svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.hero-v12-ring circle {
  fill: none;
  stroke-width: 9;
}
.hero-v12-ring .ring-bg {
  stroke: #e7edf2;
}
.hero-v12-ring .ring-value {
  stroke: #25c887;
  stroke-linecap: round;
  stroke-dasharray: 245;
  stroke-dashoffset: 13;
}
.hero-v12-ring b {
  position: relative;
  z-index: 1;
  color: #0c1f46;
  font-size: 0.92rem;
}
.hero-v12-qa-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.05fr;
  align-items: end;
  margin-top: 10px;
}
.hero-v12-qa-metrics > div {
  min-height: 42px;
  padding: 1px 9px 0;
  border-right: 1px solid rgba(103, 121, 145, 0.22);
}
.hero-v12-qa-metrics > div:first-child {
  padding-left: 0;
}
.hero-v12-qa-metrics > div:last-child {
  border-right: 0;
}
.hero-v12-qa-metrics strong {
  display: block;
  color: #0a1d42;
  font-size: 1.08rem;
  line-height: 1;
}
.hero-v12-qa-metrics span {
  display: block;
  color: #6a798e;
  font-size: 0.59rem;
  margin-top: 4px;
}
.hero-v12-qa-metrics .quality-note {
  text-align: center;
}
.hero-v12-qa-metrics .quality-note b {
  display: block;
  color: #53647b;
  font-size: 0.62rem;
}
.hero-v12-qa-metrics .quality-note span {
  line-height: 1.15;
}

/* AI */
.hero-v12-ai-body {
  display: grid;
  grid-template-columns: 1.36fr 0.72fr;
  gap: 14px;
  align-items: center;
  margin-top: 13px;
}
.hero-v12-ai-preview {
  height: 126px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(
      circle at 76% 34%,
      rgba(255, 185, 121, 0.43),
      transparent 24%
    ),
    linear-gradient(135deg, #152846, #2a3d62 58%, #846e62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hero-v12-ai-copy {
  position: absolute;
  left: 13px;
  top: 15px;
  z-index: 3;
  color: white;
  font-size: 0.68rem;
  line-height: 1.07;
}
.hero-v12-monitor {
  position: absolute;
  right: 20px;
  top: 34px;
  width: 99px;
  height: 58px;
  border: 4px solid #222a35;
  border-radius: 5px;
  background: #101823;
}
.hero-v12-monitor-screen {
  position: absolute;
  inset: 4px;
  background: radial-gradient(
      circle at 70% 42%,
      rgba(255, 182, 109, 0.64),
      transparent 20%
    ),
    linear-gradient(140deg, #1c2e4b, #101927);
}
.hero-v12-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: white;
  background: rgba(11, 23, 42, 0.73);
  font-size: 0.68rem;
}
.hero-v12-desk {
  position: absolute;
  right: 9px;
  bottom: 16px;
  width: 135px;
  height: 8px;
  border-radius: 5px;
  background: #4d392f;
  box-shadow: 0 8px 0 #bb8762;
}
.hero-v12-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.hero-v12-checks li {
  position: relative;
  padding-left: 27px;
  color: #52657d;
  font-size: 0.72rem;
}
.hero-v12-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #2f68d7;
  color: white;
  font-size: 0.62rem;
  font-weight: 900;
}

/* SALES */
.hero-v12-sales-body {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 12px;
  margin-top: 10px;
  align-items: end;
}
.hero-v12-sales-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-v12-sales-metrics > div {
  padding: 0 9px;
  border-right: 1px solid rgba(103, 121, 145, 0.22);
}
.hero-v12-sales-metrics > div:first-child {
  padding-left: 0;
}
.hero-v12-sales-metrics > div:last-child {
  border-right: 0;
}
.hero-v12-sales-metrics strong {
  display: block;
  color: #0a1d42;
  font-size: 1.08rem;
}
.hero-v12-sales-metrics span {
  display: block;
  color: #68778b;
  font-size: 0.59rem;
  margin-top: 3px;
}
.hero-v12-growth {
  position: relative;
  min-height: 72px;
  text-align: right;
}
.hero-v12-growth svg {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 46px;
}
.hero-v12-growth polyline {
  fill: none;
  stroke: #19bc76;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-v12-growth b {
  position: absolute;
  right: 0;
  bottom: 15px;
  color: #0aa96a;
  font-size: 1.27rem;
}
.hero-v12-growth span {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #63748a;
  font-size: 0.58rem;
}

/* BACKGROUND DETAILS */
.hero-v12-bg {
  position: absolute;
  pointer-events: none;
}
.hero-v12-circle {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.39);
}
.hero-v12-circle.c1 {
  width: 640px;
  height: 640px;
  top: -260px;
  right: 18%;
}
.hero-v12-circle.c2 {
  width: 740px;
  height: 740px;
  right: -160px;
  bottom: -430px;
}
.hero-v12-dots {
  width: 105px;
  height: 105px;
  top: 228px;
  left: 47%;
  opacity: 0.27;
  background-image: radial-gradient(#aa8b72 1.3px, transparent 1.3px);
  background-size: 13px 13px;
}
.hero-v12-plant {
  width: 105px;
  height: 225px;
  border-radius: 60% 14% 60% 14%;
  background: #73915f;
  filter: blur(6px);
  opacity: 0.22;
}
.hero-v12-plant.left {
  left: -58px;
  bottom: -38px;
  transform: rotate(25deg);
}
.hero-v12-plant.right {
  right: -45px;
  bottom: 16px;
  transform: rotate(-28deg);
}

/* Keep navigation clear of portrait */
.nav-holder {
  z-index: 100 !important;
}
.hero-v12-person {
  padding-top: 66px;
}

/* RESPONSIVE */
.hero-v12-corner-note {
  position: absolute;
  right: 26px;
  bottom: 18px;
  z-index: 7;
  text-align: right;
}
.hero-v12-corner-note em {
  display: block;
  color: #8d684e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  line-height: 0.88;
  font-style: normal;
  transform: rotate(-8deg);
}
.hero-v12-corner-note span {
  display: block;
  width: 44px;
  height: 2px;
  background: #8d684e;
  margin: 7px 0 0 auto;
  transform: rotate(-18deg);
  opacity: 0.8;
}

@media (max-width: 1160px) {
  .hero-v12-wrap {
    grid-template-columns: minmax(420px, 1fr) minmax(285px, 0.68fr) minmax(
        350px,
        0.84fr
      );
  }
  .hero-v12-person {
    margin-left: -56px;
    margin-right: -46px;
  }
  .hero-v12-person-img {
    max-width: 470px;
  }
  .hero-v12-kpis {
    margin-left: -18px;
  }
  .hero.hero-v12 h1.hero-v12-title {
    font-size: clamp(3.05rem, 5vw, 5.1rem);
  }
}
@media (max-width: 1000px) {
  .hero.hero-v12 {
    padding-top: 112px !important;
  }
  .hero-v12-wrap {
    grid-template-columns: 1fr 0.78fr;
    gap: 12px;
  }
  .hero-v12-copy {
    grid-column: 1;
  }
  .hero-v12-person {
    grid-column: 2;
    min-height: 590px;
    margin-left: -46px;
    margin-right: 0;
  }
  .hero-v12-kpis {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 0;
  }
  .hero-v12-kpi {
    height: 100%;
  }
  .hero-v12-qa-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-v12-qa-metrics .quality-note {
    display: none;
  }
  .hero-v12-ai-body,
  .hero-v12-sales-body {
    grid-template-columns: 1fr;
  }
  .hero-v12-checks {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .hero.hero-v12 {
    min-height: auto !important;
    padding: 92px 0 28px !important;
  }
  .hero-v12-wrap {
    width: min(100% - 24px, 1320px);
    grid-template-columns: 1fr;
  }
  .hero-v12-person {
    grid-column: 1;
    min-height: 500px;
    padding-top: 18px;
    margin: -10px 0 0;
  }
  .hero-v12-person-img {
    width: min(104%, 420px);
  }
  .hero-v12-person-glow {
    width: 410px;
    height: 410px;
  }
  .hero-v12-kpis {
    grid-column: 1;
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .hero-v12-corner-note {
    display: none;
  }
  .hero.hero-v12 h1.hero-v12-title {
    font-size: clamp(2.9rem, 13.5vw, 4.3rem);
  }
  .hero-v12-actions {
    flex-direction: column;
  }
  .hero-v12-actions .btn {
    width: 100%;
  }
  .hero-v12-signature em {
    font-size: 1.13rem;
  }
  .hero-v12-stats > div {
    min-width: 0;
    flex: 1;
    padding-right: 10px;
    margin-right: 10px;
  }
}

/* ===== hero-v14-portrait-fix ===== */
/* Desktop portrait refinement to match reference closer */
.hero-v12-wrap {
  min-height: 680px !important;
}
.hero-v12-person {
  min-height: 650px !important;
  margin-left: -8px !important;
  margin-right: -112px !important;
  padding-top: 74px !important;
  align-items: flex-end !important;
}
.hero-v12-person-glow {
  width: 500px !important;
  height: 500px !important;
  bottom: 0 !important;
}
.hero-v12-person-img {
  width: 97% !important;
  max-width: 450px !important;
  transform: translate(34px, 16px) !important;
  filter: drop-shadow(0 24px 28px rgba(60, 55, 50, 0.11)) !important;
}
.hero-v12-kpis {
  margin-left: -44px !important;
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-person {
    margin-left: -6px !important;
    margin-right: -74px !important;
    min-height: 590px !important;
    padding-top: 74px !important;
  }
  .hero-v12-person-img {
    max-width: 420px !important;
    width: 96% !important;
    transform: translate(24px, 14px) !important;
  }
  .hero-v12-kpis {
    margin-left: -24px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    grid-column: 2 !important;
    min-height: 560px !important;
    margin-left: -4px !important;
    margin-right: -20px !important;
    padding-top: 62px !important;
  }
  .hero-v12-person-img {
    max-width: 390px !important;
    width: 94% !important;
    transform: translate(16px, 12px) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile keeps simpler centered crop */
@media (max-width: 700px) {
  .hero-v12-person {
    min-height: 470px !important;
    margin: -8px 0 0 !important;
    padding-top: 16px !important;
  }
  .hero-v12-person-img {
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    transform: translate(0, 10px) !important;
  }
}

/* ===== hero-v15-waist-crop-fix ===== */
/* Bigger portrait, lower placement, crop at waist, keep head clear of nav */
.hero-v12-wrap {
  min-height: 690px !important;
}

.hero-v12-person {
  min-height: 660px !important;
  margin-left: 8px !important;
  margin-right: -118px !important;
  padding-top: 108px !important; /* pushes portrait down so head stays below nav */
  align-items: flex-end !important;
  overflow: hidden !important; /* clean crop so blurred lower edge is hidden */
}

.hero-v12-person-glow {
  width: 540px !important;
  height: 540px !important;
  bottom: -36px !important;
  left: 52% !important;
}

.hero-v12-person-img {
  width: 118% !important;
  max-width: 565px !important;
  transform: translate(
    42px,
    88px
  ) !important; /* larger and lower; crop near waist */
  filter: drop-shadow(0 24px 28px rgba(60, 55, 50, 0.1)) !important;
}

.hero-v12-kpis {
  margin-left: -56px !important; /* preserve overlap on larger portrait */
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-wrap {
    min-height: 660px !important;
  }
  .hero-v12-person {
    min-height: 610px !important;
    margin-left: 0 !important;
    margin-right: -92px !important;
    padding-top: 96px !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 490px !important;
    height: 490px !important;
    bottom: -26px !important;
  }
  .hero-v12-person-img {
    width: 114% !important;
    max-width: 505px !important;
    transform: translate(34px, 72px) !important;
  }
  .hero-v12-kpis {
    margin-left: -34px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    grid-column: 2 !important;
    min-height: 570px !important;
    margin-left: 0 !important;
    margin-right: -24px !important;
    padding-top: 86px !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 440px !important;
    height: 440px !important;
    bottom: -18px !important;
  }
  .hero-v12-person-img {
    width: 108% !important;
    max-width: 445px !important;
    transform: translate(22px, 58px) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-v12-person {
    min-height: 500px !important;
    padding-top: 26px !important;
    margin: -8px 0 0 !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 410px !important;
    height: 410px !important;
    bottom: -18px !important;
    left: 50% !important;
  }
  .hero-v12-person-img {
    width: min(112%, 430px) !important;
    max-width: 430px !important;
    transform: translate(0, 42px) !important;
  }
}

/* ===== hero-v16-make-portrait-much-bigger ===== */
/* Make portrait much bigger like the reference */
.hero-v12-wrap {
  min-height: 710px !important;
}

.hero-v12-person {
  min-height: 690px !important;
  margin-left: 22px !important;
  margin-right: -155px !important;
  padding-top: 112px !important; /* keep head clear of nav */
  overflow: hidden !important;
  align-items: flex-end !important;
}

.hero-v12-person-glow {
  width: 590px !important;
  height: 590px !important;
  bottom: -54px !important;
  left: 54% !important;
}

.hero-v12-person-img {
  width: 132% !important;
  max-width: 660px !important;
  transform: translate(
    72px,
    102px
  ) !important; /* bigger + lower, cropped near waist */
  filter: drop-shadow(0 26px 30px rgba(60, 55, 50, 0.11)) !important;
}

.hero-v12-kpis {
  margin-left: -78px !important; /* stronger overlap onto portrait */
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-wrap {
    min-height: 680px !important;
  }
  .hero-v12-person {
    min-height: 630px !important;
    margin-left: 10px !important;
    margin-right: -122px !important;
    padding-top: 102px !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 530px !important;
    height: 530px !important;
    bottom: -40px !important;
    left: 53% !important;
  }
  .hero-v12-person-img {
    width: 126% !important;
    max-width: 585px !important;
    transform: translate(56px, 86px) !important;
  }
  .hero-v12-kpis {
    margin-left: -54px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    grid-column: 2 !important;
    min-height: 585px !important;
    margin-left: 6px !important;
    margin-right: -36px !important;
    padding-top: 92px !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 470px !important;
    height: 470px !important;
    bottom: -28px !important;
    left: 52% !important;
  }
  .hero-v12-person-img {
    width: 118% !important;
    max-width: 500px !important;
    transform: translate(34px, 70px) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile: keep controlled */
@media (max-width: 700px) {
  .hero-v12-person {
    min-height: 510px !important;
    padding-top: 22px !important;
    margin: -6px 0 0 !important;
    overflow: hidden !important;
  }
  .hero-v12-person-glow {
    width: 430px !important;
    height: 430px !important;
    bottom: -20px !important;
    left: 50% !important;
  }
  .hero-v12-person-img {
    width: min(116%, 450px) !important;
    max-width: 450px !important;
    transform: translate(0, 48px) !important;
  }
}

/* ===== hero-v17-left-and-bottom-touch-fix ===== */
/* Shift portrait left and let it touch the bottom of the hero */
.hero-v12-wrap {
  min-height: 690px !important;
}

.hero-v12-person {
  min-height: 690px !important;
  margin-left: -18px !important; /* shift left */
  margin-right: -132px !important;
  padding-top: 112px !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  align-items: flex-end !important;
}

.hero-v12-person-glow {
  width: 590px !important;
  height: 590px !important;
  bottom: -78px !important;
  left: 50% !important;
}

.hero-v12-person-img {
  width: 132% !important;
  max-width: 660px !important;
  transform: translate(
    24px,
    126px
  ) !important; /* more left, lower so it touches bottom */
  margin-bottom: 0 !important;
  filter: drop-shadow(0 22px 26px rgba(60, 55, 50, 0.1)) !important;
}

.hero-v12-kpis {
  margin-left: -72px !important;
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-wrap {
    min-height: 660px !important;
  }
  .hero-v12-person {
    min-height: 620px !important;
    margin-left: -14px !important;
    margin-right: -108px !important;
    padding-top: 102px !important;
    padding-bottom: 0 !important;
  }
  .hero-v12-person-glow {
    width: 530px !important;
    height: 530px !important;
    bottom: -58px !important;
    left: 50% !important;
  }
  .hero-v12-person-img {
    width: 126% !important;
    max-width: 585px !important;
    transform: translate(18px, 104px) !important;
  }
  .hero-v12-kpis {
    margin-left: -50px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    grid-column: 2 !important;
    min-height: 580px !important;
    margin-left: -8px !important;
    margin-right: -30px !important;
    padding-top: 92px !important;
    padding-bottom: 0 !important;
  }
  .hero-v12-person-glow {
    width: 470px !important;
    height: 470px !important;
    bottom: -44px !important;
    left: 50% !important;
  }
  .hero-v12-person-img {
    width: 118% !important;
    max-width: 500px !important;
    transform: translate(10px, 86px) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-v12-person {
    min-height: 500px !important;
    margin: -6px 0 0 !important;
    padding-top: 22px !important;
    padding-bottom: 0 !important;
  }
  .hero-v12-person-glow {
    width: 430px !important;
    height: 430px !important;
    bottom: -36px !important;
    left: 50% !important;
  }
  .hero-v12-person-img {
    width: min(116%, 450px) !important;
    max-width: 450px !important;
    transform: translate(-6px, 64px) !important;
  }
}

/* ===== hero-v18-move-more-left ===== */
/* Move portrait further left while keeping the same size and bottom crop */
.hero-v12-person {
  margin-left: -58px !important;
  margin-right: -96px !important;
}

.hero-v12-person-img {
  transform: translate(-18px, 126px) !important;
}

.hero-v12-kpis {
  margin-left: -58px !important;
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-person {
    margin-left: -44px !important;
    margin-right: -78px !important;
  }
  .hero-v12-person-img {
    transform: translate(-10px, 104px) !important;
  }
  .hero-v12-kpis {
    margin-left: -40px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    margin-left: -26px !important;
    margin-right: -18px !important;
  }
  .hero-v12-person-img {
    transform: translate(-8px, 86px) !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-v12-person-img {
    transform: translate(-14px, 64px) !important;
  }
}

/* ===== hero-v19-a-bit-more-left ===== */
/* Small additional left shift only */
.hero-v12-person {
  margin-left: -72px !important;
  margin-right: -82px !important;
}
.hero-v12-person-img {
  transform: translate(-30px, 126px) !important;
}
.hero-v12-kpis {
  margin-left: -54px !important;
}

@media (max-width: 1160px) {
  .hero-v12-person {
    margin-left: -54px !important;
    margin-right: -66px !important;
  }
  .hero-v12-person-img {
    transform: translate(-20px, 104px) !important;
  }
}

@media (max-width: 1000px) {
  .hero-v12-person {
    margin-left: -32px !important;
    margin-right: -14px !important;
  }
  .hero-v12-person-img {
    transform: translate(-14px, 86px) !important;
  }
}

@media (max-width: 700px) {
  .hero-v12-person-img {
    transform: translate(-18px, 64px) !important;
  }
}

/* ===== hero-v20-less-headroom ===== */
/* Reduce excess space around the top navigation and hero content */
.nav-holder {
  top: 8px !important;
}

.hero.hero-v12 {
  padding-top: 82px !important;
}

.hero-v12-copy {
  padding-top: 8px !important;
}

.hero-v12-kpis {
  padding-top: 10px !important;
}

/* Keep portrait safely below nav while tightening the composition */
.hero-v12-person {
  padding-top: 98px !important;
}

/* Tablet */
@media (max-width: 1160px) {
  .hero.hero-v12 {
    padding-top: 78px !important;
  }
  .hero-v12-person {
    padding-top: 92px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero.hero-v12 {
    padding-top: 84px !important;
  }
  .hero-v12-person {
    padding-top: 86px !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .nav-holder {
    top: 6px !important;
  }
  .hero.hero-v12 {
    padding-top: 76px !important;
  }
  .hero-v12-person {
    padding-top: 18px !important;
  }
}

/* ===== hero-v21-viewport-script-fix ===== */
/* Cormorant Garamond Italic (SIL OFL), self-hosted. Used for the script-style
   accents. The earlier mid-file Google Fonts @import was ignored by browsers, so
   visitors got the generic "cursive" fallback (Comic Sans on Windows). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1) HERO = ONE CLEAN VIEWPORT */
html,
body {
  min-height: 100%;
}

.hero.hero-v12 {
  height: 100svh !important;
  min-height: 100svh !important;
  max-height: 100svh !important;
  box-sizing: border-box !important;
  padding: 76px 0 0 !important;
  overflow: hidden !important;
}

.hero-v12-wrap {
  height: calc(100svh - 76px) !important;
  min-height: 0 !important;
  max-height: calc(100svh - 76px) !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

/* Compact the left side just enough to keep all bottom content above the fold */
.hero-v12-copy {
  padding: 0 0 12px !important;
  align-self: center !important;
}
.hero-v12-copy .eyebrow {
  margin-bottom: 14px !important;
}
.hero.hero-v12 h1.hero-v12-title {
  font-size: clamp(3.1rem, 5vw, 5.45rem) !important;
  line-height: 0.91 !important;
}
.hero-v12-intro {
  margin-top: 16px !important;
  font-size: 1rem !important;
  line-height: 1.36 !important;
}
.hero-v12-actions {
  margin-top: 20px !important;
}
.hero-v12-identity {
  margin-top: 22px !important;
}
.hero-v12-signature {
  margin-top: 12px !important;
}
.hero-v12-stats {
  margin-top: 19px !important;
}

/* 2) PROFILE IMAGE: smaller, centered, waist crop, no excessive overflow */
.hero-v12-person {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  padding-top: 72px !important;
  padding-bottom: 0 !important;
  margin-left: -48px !important;
  margin-right: -70px !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.hero-v12-person-glow {
  width: 470px !important;
  height: 470px !important;
  bottom: -58px !important;
  left: 50% !important;
}

.hero-v12-person-img {
  width: auto !important;
  max-width: none !important;
  height: min(69vh, 610px) !important;
  max-height: calc(100svh - 145px) !important;
  object-fit: contain !important;
  transform: translate(-10px, 62px) !important;
  margin: 0 !important;
  filter: drop-shadow(0 22px 25px rgba(60, 55, 50, 0.1)) !important;
}

/* KPI cards overlap the portrait slightly, but remain fully visible */
.hero-v12-kpis {
  align-self: center !important;
  padding: 0 !important;
  margin-left: -36px !important;
  gap: 12px !important;
}
.hero-v12-kpi {
  padding: 15px 17px !important;
}

/* 3) AUTHENTIC SCRIPT ACCENTS */
.hero-v12-signature em,
.hero-v12-corner-note em {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.hero-v12-signature em {
  font-size: 1.8rem !important;
  line-height: 0.92 !important;
}

.hero-v12-corner-note {
  right: 22px !important;
  bottom: 13px !important;
}
.hero-v12-corner-note em {
  font-size: 1.55rem !important;
  line-height: 0.79 !important;
  transform: rotate(-7deg) !important;
}

/* Short desktop screens: compress typography/cards rather than create scroll */
@media (min-width: 1001px) and (max-height: 820px) {
  .hero.hero-v12 {
    padding-top: 68px !important;
  }
  .hero-v12-wrap {
    height: calc(100svh - 68px) !important;
    max-height: calc(100svh - 68px) !important;
  }
  .hero.hero-v12 h1.hero-v12-title {
    font-size: clamp(2.85rem, 4.55vw, 4.85rem) !important;
  }
  .hero-v12-intro {
    margin-top: 12px !important;
    font-size: 0.94rem !important;
  }
  .hero-v12-actions {
    margin-top: 15px !important;
  }
  .hero-v12-identity {
    margin-top: 16px !important;
  }
  .hero-v12-signature {
    margin-top: 9px !important;
  }
  .hero-v12-stats {
    margin-top: 14px !important;
  }
  .hero-v12-person {
    padding-top: 64px !important;
  }
  .hero-v12-person-img {
    height: min(68vh, 550px) !important;
    max-height: calc(100svh - 128px) !important;
    transform: translate(-10px, 56px) !important;
  }
  .hero-v12-kpi {
    padding: 13px 15px !important;
  }
  .hero-v12-kpis {
    gap: 10px !important;
  }
}

/* Tablet: keep section in one screen where practical */
@media (max-width: 1000px) {
  .hero.hero-v12 {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
    padding-top: 78px !important;
  }
  .hero-v12-wrap {
    height: auto !important;
    min-height: calc(100svh - 78px) !important;
    max-height: none !important;
  }
  .hero-v12-person {
    height: 560px !important;
    min-height: 560px !important;
    padding-top: 64px !important;
  }
  .hero-v12-person-img {
    height: 510px !important;
    max-height: 510px !important;
    transform: translate(-8px, 52px) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile remains stacked and readable */
@media (max-width: 700px) {
  .hero.hero-v12 {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
    padding-top: 72px !important;
  }
  .hero-v12-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .hero-v12-person {
    height: 470px !important;
    min-height: 470px !important;
    padding-top: 10px !important;
    margin: 0 !important;
  }
  .hero-v12-person-img {
    width: auto !important;
    height: 445px !important;
    max-height: 445px !important;
    transform: translate(0, 36px) !important;
  }
  .hero-v12-corner-note {
    display: none !important;
  }
}

/* ===== hero-v22-reference-spacing-scale-font ===== */
/* Script accents use Cormorant Garamond Italic (see @font-face above). */

/* 1. Reduce excessive LEFT / RIGHT whitespace.
   Keep the same centered 3-column composition, just use more viewport width. */
.hero-v12-wrap {
  width: min(1490px, calc(100% - 44px)) !important;
  grid-template-columns: minmax(490px, 1.02fr) minmax(330px, 0.74fr) minmax(
      405px,
      0.88fr
    ) !important;
  gap: 0 !important;
}

/* Give left copy a little more usable width without changing its visual hierarchy */
.hero-v12-copy {
  padding-left: 2px !important;
}

/* 2. SAME hero/person container height and SAME waist crop,
   but zoom the cutout itself so Paul appears larger like the mockup. */
.hero-v12-person {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  padding-top: 66px !important;
  margin-left: -62px !important;
  margin-right: -84px !important;
  overflow: hidden !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.hero-v12-person-img {
  width: auto !important;
  max-width: none !important;
  height: min(69vh, 610px) !important; /* keep the exact visible-height basis */
  max-height: calc(100svh - 145px) !important;
  transform-origin: 50% 100% !important;
  transform: translate(-18px, 72px) scale(1.17) !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* Keep card overlap similar to reference after portrait zoom */
.hero-v12-kpis {
  margin-left: -52px !important;
}

/* 3. Aesthetica script accents */
.hero-v12-signature em,
.hero-v12-corner-note em {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.hero-v12-signature em {
  font-size: 1.9rem !important;
  line-height: 0.9 !important;
}

.hero-v12-corner-note em {
  font-size: 1.65rem !important;
  line-height: 0.8 !important;
  transform: rotate(-7deg) !important;
}

/* Keep short desktop screens fitted to one viewport */
@media (min-width: 1001px) and (max-height: 820px) {
  .hero-v12-wrap {
    width: min(1490px, calc(100% - 38px)) !important;
  }
  .hero-v12-person {
    padding-top: 58px !important;
    margin-left: -56px !important;
    margin-right: -72px !important;
  }
  .hero-v12-person-img {
    height: min(68vh, 550px) !important;
    max-height: calc(100svh - 128px) !important;
    transform: translate(-16px, 64px) scale(1.15) !important;
  }
  .hero-v12-kpis {
    margin-left: -45px !important;
  }
}

/* Tablet */
@media (max-width: 1160px) {
  .hero-v12-wrap {
    width: min(100% - 30px, 1490px) !important;
  }
  .hero-v12-person {
    margin-left: -46px !important;
    margin-right: -64px !important;
  }
  .hero-v12-person-img {
    transform: translate(-12px, 60px) scale(1.12) !important;
  }
  .hero-v12-kpis {
    margin-left: -34px !important;
  }
}

/* The existing tablet/mobile stacking rules still take precedence structurally.
   Avoid aggressive portrait zoom on narrow screens. */
@media (max-width: 1000px) {
  .hero-v12-wrap {
    width: min(100% - 26px, 1490px) !important;
  }
  .hero-v12-person {
    margin-left: -16px !important;
    margin-right: -20px !important;
  }
  .hero-v12-person-img {
    transform: translate(-6px, 52px) scale(1.06) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

@media (max-width: 700px) {
  .hero-v12-wrap {
    width: min(100% - 20px, 1490px) !important;
  }
  .hero-v12-person {
    margin: 0 !important;
  }
  .hero-v12-person-img {
    transform: translate(0, 36px) scale(1.02) !important;
  }
}

/* ===== hero-v23-enlarge-portrait-more ===== */
/* Enlarge portrait more so it approaches the height of the headline block */
.hero-v12-person {
  margin-left: -70px !important;
  margin-right: -92px !important;
  padding-top: 62px !important;
}

.hero-v12-person-img {
  height: min(71vh, 640px) !important;
  max-height: calc(100svh - 132px) !important;
  transform-origin: 50% 100% !important;
  transform: translate(-22px, 82px) scale(1.24) !important;
}

.hero-v12-person-glow {
  width: 500px !important;
  height: 500px !important;
  bottom: -66px !important;
}

.hero-v12-kpis {
  margin-left: -58px !important;
}

/* Short desktop screens */
@media (min-width: 1001px) and (max-height: 820px) {
  .hero-v12-person {
    padding-top: 54px !important;
    margin-left: -62px !important;
    margin-right: -82px !important;
  }
  .hero-v12-person-img {
    height: min(69vh, 580px) !important;
    max-height: calc(100svh - 120px) !important;
    transform: translate(-18px, 70px) scale(1.21) !important;
  }
  .hero-v12-kpis {
    margin-left: -50px !important;
  }
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-person {
    margin-left: -52px !important;
    margin-right: -70px !important;
    padding-top: 58px !important;
  }
  .hero-v12-person-img {
    transform: translate(-16px, 68px) scale(1.18) !important;
  }
  .hero-v12-kpis {
    margin-left: -40px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    margin-left: -20px !important;
    margin-right: -24px !important;
    padding-top: 54px !important;
  }
  .hero-v12-person-img {
    transform: translate(-8px, 56px) scale(1.1) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-v12-person-img {
    transform: translate(0, 40px) scale(1.04) !important;
  }
}

/* ===== hero-v24-enlarge-portrait-again ===== */
/* Increase portrait scale again while preserving the same hero height/crop */
.hero-v12-person {
  margin-left: -78px !important;
  margin-right: -104px !important;
  padding-top: 58px !important;
}

.hero-v12-person-img {
  height: min(73vh, 670px) !important;
  max-height: calc(100svh - 122px) !important;
  transform-origin: 50% 100% !important;
  transform: translate(-26px, 92px) scale(1.33) !important;
}

.hero-v12-person-glow {
  width: 520px !important;
  height: 520px !important;
  bottom: -72px !important;
}

.hero-v12-kpis {
  margin-left: -64px !important;
}

/* Short desktop screens */
@media (min-width: 1001px) and (max-height: 820px) {
  .hero-v12-person {
    padding-top: 50px !important;
    margin-left: -70px !important;
    margin-right: -92px !important;
  }
  .hero-v12-person-img {
    height: min(71vh, 605px) !important;
    max-height: calc(100svh - 112px) !important;
    transform: translate(-22px, 80px) scale(1.29) !important;
  }
  .hero-v12-kpis {
    margin-left: -56px !important;
  }
}

/* Large tablet */
@media (max-width: 1160px) {
  .hero-v12-person {
    margin-left: -58px !important;
    margin-right: -78px !important;
    padding-top: 54px !important;
  }
  .hero-v12-person-img {
    transform: translate(-18px, 74px) scale(1.23) !important;
  }
  .hero-v12-kpis {
    margin-left: -44px !important;
  }
}

/* Mid tablet */
@media (max-width: 1000px) {
  .hero-v12-person {
    margin-left: -22px !important;
    margin-right: -26px !important;
    padding-top: 50px !important;
  }
  .hero-v12-person-img {
    transform: translate(-10px, 60px) scale(1.13) !important;
  }
  .hero-v12-kpis {
    margin-left: 0 !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-v12-person-img {
    transform: translate(0, 42px) scale(1.06) !important;
  }
}

/* ===== selected-work-v25 ===== */
/* =========================
   SELECTED WORK V25
   ========================= */
.work-v25 {
  background: #fff;
  overflow: hidden;
}
.work-v25-shell {
  min-height: 790px;
}
.work-v25-stage {
  grid-template-columns: minmax(0, 0.91fr) minmax(540px, 1.09fr);
  gap: 34px;
  min-height: 690px;
  padding-top: 82px;
}
.work-v25 .work-menu {
  padding-left: 22px;
  padding-right: 18px;
}
.work-v25 .work-option {
  grid-template-columns: 68px minmax(0, 1fr);
}
.work-v25 .work-option .label {
  font-size: clamp(2.7rem, 4.65vw, 5.05rem);
  max-width: 560px;
  line-height: 0.82;
}
.work-v25 .work-option .mini {
  max-width: 500px;
  padding-right: 28px;
}

.work-visual-wrap {
  position: relative;
  height: 570px;
  align-self: center;
}
.work-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.48s ease,
    transform 0.65s var(--ease);
}
.work-scene.active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.work-scene-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.66rem;
  color: #687587;
}
.work-scene-caption strong {
  color: #15263d;
}

/* ---------- QA: Integrated Workflow ---------- */
.qa-scene {
  display: grid;
  place-items: center;
}
.qa-canvas {
  width: min(620px, 96%);
  height: 505px;
  position: relative;
}
.qa-canvas:before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(47, 102, 208, 0.08);
  right: -30px;
  top: 70px;
}
.qa-canvas:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(42, 168, 137, 0.08);
  left: -18px;
  bottom: 24px;
}
.qa-window {
  position: absolute;
  left: 28px;
  top: 54px;
  width: 550px;
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: #111821;
  box-shadow: 0 32px 64px rgba(15, 27, 42, 0.2);
  border: 1px solid rgba(13, 27, 42, 0.15);
}
.qa-window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #788697;
  background: #161d26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.qa-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.qa-window-bar span:nth-child(1) {
  background: #ec6a5f;
}
.qa-window-bar span:nth-child(2) {
  background: #f4bf4f;
}
.qa-window-bar span:nth-child(3) {
  background: #61c554;
}
.qa-window-bar b {
  margin-left: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  color: #9ba7b6;
}
.qa-code {
  position: absolute;
  left: 0;
  top: 42px;
  bottom: 0;
  width: 56%;
  padding: 24px 18px;
  font:
    500 0.62rem/1.72 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  color: #cfd7e2;
  background: linear-gradient(180deg, #111821, #0d141d);
}
.qa-code div {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.qa-code i {
  width: 18px;
  text-align: right;
  color: #536274;
  font-style: normal;
}
.qa-code code {
  color: #d6deeb;
}
.qa-code em {
  color: #c792ea;
  font-style: normal;
}
.qa-code strong {
  color: #82aaff;
  font-weight: 600;
}

.qa-app {
  position: absolute;
  right: 14px;
  top: 58px;
  width: 43%;
  height: 316px;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.23);
}
.qa-app-head {
  height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e7ebf0;
  color: #718095;
  font-size: 0.52rem;
}
.qa-app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f66d0;
}
.qa-app-body {
  padding: 15px;
}
.qa-welcome {
  font-weight: 800;
  color: #15263d;
  font-size: 0.86rem;
}
.qa-copyline {
  height: 5px;
  border-radius: 999px;
  background: #e7ebf0;
  margin-top: 7px;
}
.qa-copyline.w1 {
  width: 74%;
}
.qa-copyline.w2 {
  width: 57%;
}
.qa-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.qa-summary div {
  background: #f7f9fc;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  padding: 8px;
}
.qa-summary small {
  display: block;
  color: #8a96a6;
  font-size: 0.42rem;
}
.qa-summary b {
  font-size: 0.68rem;
  color: #18283e;
}
.qa-table {
  margin-top: 12px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  overflow: hidden;
}
.qa-row {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 6px;
  padding: 6px 8px;
  border-top: 1px solid #eef1f5;
  color: #68778b;
  font-size: 0.44rem;
}
.qa-row.head {
  border-top: 0;
  background: #f7f9fc;
  color: #8492a2;
}
.qa-row b {
  color: #25a768;
  font-weight: 700;
}

.validation-badge {
  position: absolute;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(14, 27, 43, 0.16);
  font-size: 0.72rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
}
.validation-badge.passed {
  left: -18px;
  top: 245px;
  color: #fff;
  background: #4b9d72;
  padding: 10px 15px;
}
.validation-badge.passed span {
  margin-right: 5px;
}
.validation-badge.api {
  right: -18px;
  top: 96px;
  color: #fff;
  background: rgba(25, 31, 41, 0.82);
}
.validation-badge.responsive {
  right: -6px;
  bottom: 70px;
  color: #fff;
  background: rgba(25, 31, 41, 0.82);
}

/* ---------- AI VIDEO: Live Producer ---------- */
.ai-scene {
  display: grid;
  place-items: center;
  overflow: visible;
}
.producer-rays {
  position: absolute;
  inset: 14px -15px 0 0;
  background: repeating-conic-gradient(
    from 0deg at 58% 50%,
    rgba(111, 151, 217, 0.1) 0 2deg,
    transparent 2deg 14deg
  );
  mask-image: radial-gradient(circle at 58% 50%, #000 0 44%, transparent 76%);
  opacity: 0.7;
}
.producer-phone {
  width: 225px;
  height: 462px;
  border: 4px solid #11151c;
  border-radius: 44px;
  background: #05080d;
  padding: 8px;
  box-shadow: 0 34px 60px rgba(13, 27, 42, 0.2);
  position: relative;
  z-index: 2;
  transform: translateX(44px);
}
.producer-notch {
  position: absolute;
  width: 77px;
  height: 21px;
  background: #030507;
  border-radius: 999px;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  z-index: 5;
}
.producer-screen {
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  position: relative;
  background: #142033;
}
.producer-topbar {
  height: 44px;
  padding: 18px 12px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  color: #c8d5e5;
  background: #101926;
}
.producer-topbar b {
  color: #6fc2ff;
}
.producer-video-still {
  height: 268px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 68% 24%,
      rgba(71, 174, 229, 0.28),
      transparent 31%
    ),
    linear-gradient(145deg, #1a2e45, #263c54 58%, #132234);
}
.studio-ui {
  position: absolute;
  inset: 18px 12px auto 12px;
  height: 78px;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  gap: 5px;
  opacity: 0.82;
}
.studio-chart {
  border: 1px solid rgba(151, 214, 234, 0.24);
  background: rgba(8, 20, 33, 0.28);
  border-radius: 4px;
  position: relative;
}
.studio-chart:after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 7px;
  height: 24px;
  background: linear-gradient(
    135deg,
    transparent 0 15%,
    #59a5c9 16% 18%,
    transparent 19% 40%,
    #59a5c9 41% 43%,
    transparent 44% 62%,
    #59a5c9 63% 66%,
    transparent 67%
  );
}
.producer-person {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 115px;
  height: 175px;
  transform: translateX(-50%);
}
.producer-head {
  width: 45px;
  height: 51px;
  border-radius: 48% 48% 45% 45%;
  position: absolute;
  left: 35px;
  top: 10px;
  background: linear-gradient(145deg, #a77056, #d3a080);
}
.producer-head:before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -6px;
  height: 23px;
  border-radius: 50% 55% 33% 35%;
  background: #17202b;
}
.producer-body {
  position: absolute;
  left: 21px;
  top: 56px;
  width: 76px;
  height: 106px;
  border-radius: 34px 34px 10px 10px;
  background: linear-gradient(180deg, #182433, #0e1722);
}
.producer-arm {
  position: absolute;
  width: 18px;
  height: 78px;
  background: #9a684f;
  border-radius: 999px;
  top: 72px;
}
.producer-arm.left {
  left: 7px;
  transform: rotate(27deg);
}
.producer-arm.right {
  right: 7px;
  transform: rotate(-30deg);
}
.producer-play {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.93);
  color: #15263d;
  font-size: 1.35rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.producer-play:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff;
}
.producer-timeline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 133px;
  padding: 20px 14px;
  background: #0b111a;
}
.timeline-track {
  height: 18px;
  position: relative;
  margin-bottom: 9px;
  border-radius: 4px;
  background: #152232;
  overflow: hidden;
}
.timeline-track span {
  display: inline-block;
  height: 100%;
  background: #315d7e;
  margin-right: 2px;
}
.timeline-track i {
  display: inline-block;
  height: 100%;
  background: #a16578;
  margin-right: 2px;
}
.timeline-track.t1 span:first-child {
  width: 34%;
}
.timeline-track.t1 i {
  width: 19%;
}
.timeline-track.t1 span:last-child {
  width: 31%;
}
.timeline-track.t2 span {
  width: 52%;
}
.timeline-track.t2 i {
  width: 29%;
  background: #6e8d64;
}
.timeline-track.t3 span:first-child {
  width: 22%;
}
.timeline-track.t3 i:nth-child(2) {
  width: 16%;
}
.timeline-track.t3 span:nth-child(3) {
  width: 28%;
}
.timeline-track.t3 i:last-child {
  width: 18%;
  background: #6179a9;
}
.playhead {
  position: absolute;
  left: 57%;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: #fff;
  opacity: 0.8;
}

.glass-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.67);
  background: rgba(244, 247, 250, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(27, 42, 60, 0.13);
}
.producer-prompt {
  left: 5px;
  top: 110px;
  width: 205px;
  border-radius: 13px;
  padding: 12px;
  z-index: 4;
}
.panel-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 9px;
}
.panel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9d0da;
}
.panel-dots span:nth-child(1) {
  background: #e86861;
}
.panel-dots span:nth-child(2) {
  background: #e8c65d;
}
.panel-dots span:nth-child(3) {
  background: #56bd7b;
}
.producer-prompt b {
  font-size: 0.7rem;
  color: #17263b;
}
.producer-prompt p {
  font-size: 0.57rem;
  line-height: 1.35;
  color: #53647a;
  margin: 6px 0 9px;
}
.producer-prompt button {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 8px;
  background: #316bd4;
  color: white;
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.producer-controls {
  right: -4px;
  bottom: 70px;
  width: 215px;
  border-radius: 12px;
  padding: 11px;
  z-index: 4;
}
.control-head {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #40536a;
  font-size: 0.65rem;
}
.control-head b {
  margin-left: auto;
}
.control-line {
  height: 17px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #dce2e9;
  margin-top: 9px;
  position: relative;
}
.control-line:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  height: 5px;
  border-radius: 999px;
  background: #bbc5d1;
}
.control-line.long:after {
  width: 62%;
}
.control-line.short:after {
  width: 44%;
}

/* ---------- SALES: Glass Pipeline ---------- */
.sales-scene {
  overflow: hidden;
}
.sales-network {
  position: absolute;
  inset: -10px -30px -15px 30%;
  opacity: 0.5;
}
.sales-network svg {
  width: 100%;
  height: 100%;
}
.network-lines path {
  fill: none;
  stroke: #5c9c86;
  stroke-width: 2.2;
  opacity: 0.48;
}
.network-nodes circle {
  fill: #397d66;
  opacity: 0.78;
}
.sales-scene:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 77% 54%,
    rgba(158, 219, 194, 0.42),
    transparent 42%
  );
}
.pipeline-dashboard {
  position: absolute;
  width: 490px;
  height: 350px;
  left: 50%;
  top: 50%;
  transform: translate(-46%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(241, 248, 246, 0.75);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(40, 94, 76, 0.16);
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  z-index: 3;
}
.pipeline-sidebar {
  padding: 13px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(74, 113, 99, 0.1);
  color: #7e9b90;
  font-size: 0.7rem;
}
.pipe-brand {
  font-size: 1.05rem;
  color: #69ae94;
  margin-bottom: 3px;
}
.pipeline-sidebar .active {
  color: #3e9b7b;
}
.pipeline-sidebar i {
  flex: 1;
}
.pipeline-main {
  padding: 16px;
}
.pipeline-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pipeline-topbar small {
  display: block;
  color: #698178;
  font-size: 0.48rem;
}
.pipeline-topbar b {
  display: block;
  color: #203b32;
  font-size: 0.75rem;
  margin-top: 2px;
}
.pipeline-topbar button,
.chart-title button {
  border: 1px solid rgba(78, 120, 103, 0.15);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.46rem;
  color: #587469;
}
.glass-mini {
  background: rgba(255, 255, 255, 0.61);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 22px rgba(51, 91, 77, 0.07);
  backdrop-filter: blur(10px);
}
.pipeline-chart-card {
  height: 205px;
  border-radius: 12px;
  margin-top: 13px;
  padding: 13px;
}
.chart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-title b {
  display: block;
  color: #203b32;
  font-size: 0.62rem;
}
.chart-title span {
  display: block;
  color: #81988f;
  font-size: 0.43rem;
  margin-top: 2px;
}
.pipeline-chart {
  width: 100%;
  height: 130px;
  margin-top: 7px;
  overflow: visible;
}
.pipeline-chart .gridline {
  stroke: #d9e9e3;
  stroke-width: 1;
}
.pipeline-chart .area {
  fill: url(#salesFill);
}
.pipeline-chart .line {
  fill: none;
  stroke: #4d9c82;
  stroke-width: 4;
  stroke-linecap: round;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #849b92;
  font-size: 0.39rem;
  margin-top: -3px;
}
.pipeline-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.pipeline-metrics > div {
  border-radius: 10px;
  padding: 10px;
}
.pipeline-metrics small {
  display: block;
  color: #718981;
  font-size: 0.43rem;
}
.pipeline-metrics b {
  display: block;
  color: #203b32;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  margin-top: 4px;
}
.pipeline-metrics span {
  display: block;
  color: #45a17c;
  font-size: 0.42rem;
  margin-top: 2px;
}

/* active state refinement */
.work-v25 .work-option.active .num {
  color: #366cb6;
}
.work-v25 .work-option.active .label {
  color: #0a1018;
}
.work-v25 .work-option:not(.active) .label {
  color: #8d9095;
}
.work-v25 .work-option:not(.active) .num {
  color: #71757a;
}

/* responsive */
@media (max-width: 1050px) {
  .work-v25-stage {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
  }
  .work-v25 .work-menu {
    padding: 0;
  }
  .work-visual-wrap {
    height: 570px;
    margin-top: 12px;
  }
}
@media (max-width: 700px) {
  .work-v25-shell {
    min-height: auto;
  }
  .work-visual-wrap {
    height: 500px;
  }
  .qa-canvas {
    transform: scale(0.78);
    transform-origin: center;
  }
  .producer-phone {
    transform: translateX(12px) scale(0.88);
  }
  .producer-prompt {
    left: -2px;
    top: 120px;
    transform: scale(0.88);
    transform-origin: left top;
  }
  .producer-controls {
    right: -4px;
    bottom: 72px;
    transform: scale(0.88);
    transform-origin: right bottom;
  }
  .pipeline-dashboard {
    width: 455px;
    transform: translate(-50%, -50%) scale(0.82);
  }
  .sales-network {
    left: 5%;
  }
  .work-scene-caption {
    bottom: -22px;
    left: 8px;
    right: 8px;
    font-size: 0.55rem;
  }
}

/* ===== baybayin-logo-integration ===== */
.brand-with-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(14, 27, 43, 0.06);
  background: rgba(255, 255, 255, 0.72);
}
.nav-pill.compact .brand-mark {
  width: 34px;
  height: 34px;
  margin: 0;
}
.nav-pill.compact .brand {
  display: flex !important;
}
.nav-pill.compact .brand span {
  display: none;
}

.footer-logo-image {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.footer-logo-image img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 14px;
}

.logo-explainer {
  max-width: 760px;
  margin: 24px auto 34px;
  padding: 24px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.logo-explainer h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.logo-explainer p {
  margin: 0;
  color: #c8d3df;
  font-size: 0.9rem;
  line-height: 1.7;
}
.logo-explainer p + p {
  margin-top: 10px;
}

@media (max-width: 700px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .logo-explainer {
    padding: 18px 16px;
    margin: 20px auto 28px;
  }
}

/* ===== v27-brand-refinement ===== */
/* =========================
   HEADER / BRAND REFINEMENT
   ========================= */
.nav-holder {
  width: min(1080px, calc(100% - 34px)) !important;
  top: 10px !important;
}
.nav-pill {
  min-height: 70px !important;
  padding: 0 10px 0 14px !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 18px !important;
}
.brand-with-mark {
  gap: 10px !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.06em !important;
}
.brand-mark {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: contrast(1.15) !important;
}
.nav-links {
  font-size: 0.86rem !important;
  gap: 28px !important;
}
.nav-cta {
  padding: 12px 18px !important;
}

/* Preserve the compact behavior, but keep the monogram clear */
.nav-pill.compact {
  width: 68px !important;
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(229, 233, 240, 0.72) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 28px rgba(14, 27, 43, 0.07) !important;
}
.nav-pill.compact .brand {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.nav-pill.compact .brand-mark {
  width: 48px !important;
  height: 48px !important;
}
.nav-pill.compact .brand span {
  display: none !important;
}
.nav-pill.compact .nav-toggle {
  display: none !important;
}

/* =========================
   FOOTER LOGO
   ========================= */
.footer-logo-image {
  width: 104px !important;
  height: 104px !important;
  border-radius: 50% !important;
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}
.footer-logo-image img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  filter: contrast(1.12) !important;
}

/* About-the-mark section removed */
.logo-explainer {
  display: none !important;
}

/* =========================
   FOOTER SOCIAL / WORK PLATFORMS
   ========================= */
.social-platforms {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 28px 0 42px !important;
}
.social-circle {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
}
.linkedin-mark {
  font-weight: 900;
  font-size: 0.94rem;
  letter-spacing: -0.04em;
}
.platform-logo {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.25s var(--ease);
  line-height: 1;
}
.platform-logo:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: #fff;
}
.onlinejobs {
  gap: 7px;
  min-width: 128px;
}
.oj-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #1672b8;
  color: #fff;
  font-size: 0.45rem;
}
.oj-word {
  font-weight: 800;
  font-size: 0.77rem;
  letter-spacing: -0.02em;
}
.oj-word span {
  font-weight: 650;
  opacity: 0.82;
}
.onlinejobs:hover {
  color: #1266a7;
}

.upwork {
  min-width: 76px;
}
.upwork-word {
  color: #14a800;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: -0.08em;
}
.upwork:hover .upwork-word {
  color: #14a800;
}

.fiverr {
  min-width: 82px;
}
.fiverr-word {
  color: #1dbf73;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.055em;
}
.fiverr-word span {
  color: #1dbf73;
}
.fiverr:hover .fiverr-word {
  color: #1dbf73;
}

@media (max-width: 700px) {
  .nav-holder {
    width: calc(100% - 20px) !important;
    top: 6px !important;
  }
  .nav-pill {
    width: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(229, 233, 240, 0.72) !important;
    backdrop-filter: blur(14px) !important;
    border-radius: 50% !important;
  }
  .nav-pill .brand {
    display: flex !important;
    width: 100%;
    justify-content: center;
  }
  .nav-pill .brand span {
    display: none !important;
  }
  .brand-mark {
    width: 47px !important;
    height: 47px !important;
  }
  .nav-toggle {
    display: none !important;
  }
  .platform-logo {
    height: 42px;
    padding: 0 12px;
  }
}

/* ===== v28-white-nav-background ===== */
/* Keep the floating header nav readable over dark sections */
.nav-pill {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(229, 233, 240, 0.96) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 10px 34px rgba(14, 27, 43, 0.1) !important;
}

/* Maintain strong contrast for nav content */
.brand-with-mark,
.nav-links,
.nav-links a {
  color: var(--navy) !important;
}

.nav-pill.compact {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(229, 233, 240, 0.96) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 10px 30px rgba(14, 27, 43, 0.12) !important;
}

/* Mobile stays white as well */
@media (max-width: 700px) {
  .nav-pill {
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(229, 233, 240, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 9px 28px rgba(14, 27, 43, 0.11) !important;
  }
}

/* ===== about-section-v30 ===== */
/* =========================
   ABOUT
   ========================= */
.about-section {
  background: #f8f5ef;
  border-top: 1px solid #e7e2da;
  border-bottom: 1px solid #e7e2da;
  position: relative;
  overflow: hidden;
}
.about-section:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -210px;
  top: -230px;
  background: rgba(255, 255, 255, 0.58);
}
.about-wrap {
  position: relative;
  z-index: 2;
}
.about-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: 90px;
  align-items: start;
}
.about-heading h2 {
  margin: 15px 0 0;
  color: #0b1d3d;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.062em;
  font-weight: 850;
}
.about-heading h2 span {
  color: #9b755b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.about-copy {
  padding-top: 30px;
  max-width: 650px;
}
.about-copy p {
  margin: 0;
  color: #53647a;
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-copy p + p {
  margin-top: 18px;
}
.about-copy strong {
  color: #152a49;
}

.about-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}
.about-capability {
  min-height: 280px;
  padding: 24px;
  border: 1px solid #e2e5e9;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 15px 38px rgba(24, 38, 58, 0.055);
  position: relative;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.about-capability:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(24, 38, 58, 0.085);
}
.about-number {
  position: absolute;
  right: 22px;
  top: 20px;
  color: #a6afb9;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.about-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(13, 27, 42, 0.09);
}
.qa-icon {
  background: linear-gradient(180deg, #5996ed, #3368bc);
}
.creative-icon {
  background: linear-gradient(180deg, #a077e9, #7155bf);
}
.sales-icon {
  background: linear-gradient(180deg, #52b892, #2d8c6d);
}
.about-capability h3 {
  margin: 22px 0 8px;
  color: #0d203e;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}
.about-capability p {
  color: #66758a;
  font-size: 0.88rem;
  line-height: 1.58;
  margin: 0;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.about-tags span {
  padding: 6px 9px;
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  background: #fff;
  color: #617087;
  font-size: 0.62rem;
  font-weight: 700;
}
.about-principle {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #7b6655;
}
.about-principle > span {
  width: 58px;
  height: 1px;
  background: #a5856d;
}
.about-principle p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}
.about-principle strong {
  font-weight: 600;
  color: #594638;
}

@media (max-width: 900px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-copy {
    padding-top: 0;
    max-width: 760px;
  }
  .about-capabilities {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }
  .about-capability:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .about-capabilities {
    grid-template-columns: 1fr;
  }
  .about-capability:last-child {
    grid-column: auto;
  }
  .about-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
  .about-principle {
    align-items: flex-start;
  }
  .about-principle p {
    font-size: 1.3rem;
  }
}

/* ===== about-v31-wider-column-gap ===== */
/* Widen the gap between the About left heading and right paragraph column */
.about-top {
  gap: 130px !important;
}

/* Keep proportion balanced on medium screens */
@media (max-width: 1100px) {
  .about-top {
    gap: 80px !important;
  }
}

@media (max-width: 900px) {
  .about-top {
    gap: 24px !important;
  }
}

/* ===== resume-download-v32 ===== */
/* =========================
   DOWNLOADABLE RESUMES
   ========================= */
.resume-download {
  position: relative;
  z-index: 20;
}
.resume-download summary {
  list-style: none;
}
.resume-download summary::-webkit-details-marker {
  display: none;
}
.resume-summary {
  min-width: 190px;
  cursor: pointer;
  color: #0b2244;
  border-color: #b7c2d0 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  user-select: none;
}
.resume-summary:hover {
  background: #fff !important;
}
.resume-download-icon {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
}
.resume-chevron {
  margin-left: auto;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease);
}
.resume-download[open] .resume-chevron {
  transform: rotate(180deg);
}
.resume-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 330px;
  padding: 9px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e1e6ed;
  box-shadow: 0 22px 55px rgba(14, 27, 43, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.resume-menu-label {
  padding: 5px 8px 8px;
  color: #8290a2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.56rem;
  font-weight: 800;
}
.resume-menu-panel a {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 11px;
  transition: 0.22s var(--ease);
}
.resume-menu-panel a:hover {
  background: #f2f5f9;
  transform: translateX(2px);
}
.resume-menu-panel a + a {
  margin-top: 3px;
}
.resume-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.resume-option-icon.qa {
  background: linear-gradient(180deg, #5998ee, #3168c4);
}
.resume-option-icon.sales {
  background: linear-gradient(180deg, #51b992, #2d8e6c);
}
.resume-menu-panel strong {
  display: block;
  color: #102440;
  font-size: 0.79rem;
  line-height: 1.2;
}
.resume-menu-panel small {
  display: block;
  color: #77869a;
  margin-top: 3px;
  font-size: 0.62rem;
}
.resume-menu-panel b {
  color: #8794a4;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

/* Experience recruiter links */
.experience-intro {
  max-width: 540px;
}
.experience-intro > p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}
.experience-resume-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.experience-resume-links > span {
  margin-right: 2px;
  color: #67717d;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
  font-weight: 800;
}
.experience-resume-links a {
  padding: 8px 11px;
  border: 1px solid #dfe4eb;
  border-radius: 999px;
  background: #fff;
  color: #263d5c;
  font-size: 0.68rem;
  font-weight: 750;
  transition: 0.22s var(--ease);
}
.experience-resume-links a:hover {
  transform: translateY(-2px);
  border-color: #b9c5d4;
  box-shadow: 0 8px 22px rgba(14, 27, 43, 0.07);
}

/* Keep the hero row tidy on standard laptop widths */
@media (max-width: 1260px) {
  .hero-v12-actions {
    gap: 9px !important;
  }
  .hero-v12-actions .btn,
  .resume-summary {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .resume-summary {
    min-width: 172px;
  }
}

@media (max-width: 1000px) {
  .hero-v12-actions {
    align-items: flex-start;
  }
  .resume-menu-panel {
    left: 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .resume-download,
  .resume-summary {
    width: 100%;
  }
  .resume-menu-panel {
    width: 100%;
    min-width: 0;
  }
  .experience-resume-links {
    align-items: flex-start;
  }
}

/* ===== testimonials-v33 ===== */
/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-section {
  background: #0d1b2a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.testimonials-section:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  left: -220px;
  top: -260px;
  background: rgba(47, 102, 208, 0.12);
  filter: blur(4px);
}
.testimonials-section:after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  right: -190px;
  bottom: -250px;
  background: rgba(42, 168, 137, 0.09);
  filter: blur(3px);
}
.testimonials-wrap {
  position: relative;
  z-index: 2;
}
.testimonials-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}
.testimonials-section .eyebrow {
  color: #8fa3bb;
}
.testimonials-head h2 {
  margin: 10px 0 0;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: #fff;
}
.testimonials-intro {
  padding-bottom: 7px;
}
.testimonials-intro p {
  margin: 0;
  max-width: 470px;
  color: #adbbca;
  font-size: 0.96rem;
  line-height: 1.62;
}
.linkedin-source-link {
  display: inline-flex;
  margin-top: 15px;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 750;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: 0.22s var(--ease);
}
.linkedin-source-link:hover {
  border-color: #fff;
  transform: translateX(3px);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.testimonial-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.965);
  color: #0d1b2a;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 38px 75px rgba(0, 0, 0, 0.24);
}
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #718095;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
  font-weight: 800;
}
.linkedin-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #0a66c2;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: -0.04em;
  text-transform: none;
}
.testimonial-card blockquote {
  margin: 32px 0 18px;
  color: #102441;
  font-size: clamp(1.75rem, 2.55vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.testimonial-summary {
  color: #617087;
  font-size: 0.91rem;
  line-height: 1.66;
  margin: 0;
  max-width: 92%;
}
.testimonial-footer {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid #e7ebf0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.testimonial-footer strong {
  display: block;
  color: #102441;
  font-size: 0.94rem;
}
.testimonial-footer span {
  display: block;
  color: #8693a3;
  font-size: 0.64rem;
  margin-top: 3px;
}
.testimonial-footer a {
  color: #0a66c2;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}
.testimonial-note {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: #aebdcb;
}
.testimonial-note > span {
  width: 48px;
  height: 1px;
  background: #8093a8;
}
.testimonial-note p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .testimonials-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    min-height: 340px;
  }
}
@media (max-width: 650px) {
  .testimonial-card {
    padding: 22px;
  }
  .testimonial-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .testimonial-note {
    align-items: flex-start;
  }
  .testimonial-note p {
    font-size: 1.25rem;
  }
}

/* ===== contact-v34-styles ===== */
/* =========================
   CONTACT — RECRUITER FOCUSED
   ========================= */
.contact.contact-v34 {
  background: radial-gradient(
      circle at 12% 15%,
      rgba(47, 102, 208, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(42, 168, 137, 0.075),
      transparent 25%
    ),
    #f8f6f1;
  color: #0d1b2a;
  border-top: 1px solid #e5e1da;
  position: relative;
  overflow: hidden;
}
.contact.contact-v34:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  top: -310px;
  right: -180px;
  background: rgba(255, 255, 255, 0.66);
}
.contact-v34-inner {
  min-height: 82vh;
  padding: 100px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.82fr);
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.contact-v34-copy {
  text-align: left;
}
.availability-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  margin-bottom: 25px;
  border: 1px solid #d8e5de;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #44695b;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.availability-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35b779;
  box-shadow: 0 0 0 5px rgba(53, 183, 121, 0.12);
}
.contact-v34 .eyebrow {
  color: #748297;
}
.contact-v34 h2 {
  margin: 12px 0 0;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.84;
  letter-spacing: -0.072em;
  text-transform: none;
  color: #0b1d3d;
}
.contact-v34-lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: #607086;
  font-size: 1.02rem;
  line-height: 1.72;
}
.contact-v34-lead strong {
  color: #183152;
}
.contact-role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.contact-role-row span {
  padding: 8px 11px;
  border: 1px solid #dfe3e7;
  border-radius: 999px;
  background: #fff;
  color: #56677d;
  font-size: 0.66rem;
  font-weight: 750;
}

/* Contact action card */
.contact-v34-panel {
  padding: 24px;
  border: 1px solid rgba(218, 223, 229, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(31, 43, 58, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.contact-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2px 2px 18px;
}
.contact-panel-head small {
  display: block;
  color: #8995a4;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.57rem;
  font-weight: 800;
}
.contact-panel-head h3 {
  margin: 5px 0 0;
  color: #102541;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.contact-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #39b97d;
  box-shadow: 0 0 0 7px rgba(57, 185, 125, 0.1);
  margin: 10px 8px 0 0;
}

.contact-primary,
.contact-action {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 12px;
  align-items: center;
  border-radius: 15px;
  transition: 0.24s var(--ease);
}
.contact-primary {
  padding: 14px;
  background: #0e223f;
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 34, 63, 0.14);
}
.contact-action {
  margin-top: 9px;
  padding: 13px 14px;
  border: 1px solid #e2e6eb;
  background: #fff;
  color: #152944;
}
.contact-primary:hover,
.contact-action:hover {
  transform: translateY(-3px);
}
.contact-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}
.contact-action .contact-action-icon {
  background: #edf3fb;
  color: #23599d;
}
.contact-action .linkedin-contact {
  background: #0a66c2;
  color: #fff;
  font-size: 0.82rem;
}
.contact-primary small,
.contact-action small {
  display: block;
  opacity: 0.66;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-primary strong,
.contact-action strong {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
}
.contact-primary > span:last-child,
.contact-action > span:last-child {
  text-align: right;
  font-size: 1rem;
}

/* Resume block */
.contact-resume-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e6e9ed;
}
.contact-resume-label {
  margin-bottom: 9px;
  color: #8591a0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.57rem;
  font-weight: 800;
}
.contact-resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contact-resume-grid a {
  display: grid;
  grid-template-columns: 34px 1fr 15px;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid #e2e6eb;
  border-radius: 13px;
  background: #fbfcfd;
  transition: 0.22s var(--ease);
}
.contact-resume-grid a:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(15, 29, 48, 0.06);
}
.resume-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}
.resume-mini-icon.qa {
  background: #3e76c9;
}
.resume-mini-icon.sales {
  background: #31936e;
}
.contact-resume-grid strong {
  display: block;
  color: #1c304b;
  font-size: 0.68rem;
}
.contact-resume-grid small {
  display: block;
  color: #8995a4;
  margin-top: 2px;
  font-size: 0.52rem;
}
.contact-resume-grid b {
  color: #6f7e90;
  font-size: 0.77rem;
}

/* Platform links */
.contact-platforms {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6e9ed;
}
.contact-platforms > span {
  display: block;
  color: #8a96a5;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-platforms > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.contact-platforms a {
  padding: 7px 9px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #53657a;
  font-size: 0.61rem;
  font-weight: 750;
  transition: 0.2s var(--ease);
}
.contact-platforms a:hover {
  background: #e9edf2;
  color: #142844;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .contact-v34-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
    padding: 90px 0;
  }
  .contact-v34-copy {
    max-width: 760px;
  }
  .contact-v34-panel {
    max-width: 680px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-v34-inner {
    padding: 74px 0;
    gap: 38px;
  }
  .contact-v34 h2 {
    font-size: clamp(3.8rem, 16vw, 5.4rem);
  }
  .contact-v34-panel {
    padding: 17px;
  }
  .contact-resume-grid {
    grid-template-columns: 1fr;
  }
  .availability-pill {
    font-size: 0.58rem;
  }
}

/* ===== testimonials-v35-reference-inspired ===== */
/* =========================
   TESTIMONIALS — LIGHT ASYMMETRIC
   Inspired by the referenced 21st.dev interaction pattern.
   ========================= */
.testimonials-v35 {
  background: #f7f5ef !important;
  color: #0e203c;
  border-top: 1px solid #e8e3da;
  border-bottom: 0;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}
.testimonials-v35:before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  right: -230px;
  top: -260px;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}
.testimonials-v35:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #ddd8cf 18%,
    #ddd8cf 82%,
    transparent
  );
}
.testimonial-design-shell {
  min-height: 720px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  position: relative;
  z-index: 2;
}

/* vertical rail */
.testimonial-rail {
  border-right: 1px solid #ddd9d1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 66px 0 58px;
  min-height: 100%;
}
.testimonial-rail-word {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #172a45;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.64rem;
  font-weight: 800;
}
.testimonial-rail-track {
  width: 2px;
  height: 255px;
  background: #dedbd5;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.testimonial-rail-progress {
  display: block;
  width: 100%;
  height: 0%;
  background: #172a45;
  border-radius: 99px;
}
.testimonial-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #98a0aa;
  font-size: 0.61rem;
  letter-spacing: 0.06em;
}
.testimonial-count strong {
  color: #172a45;
  font-size: 0.83rem;
}

/* content */
.testimonial-stage {
  min-width: 0;
  padding: 72px 5.7vw 62px 6.5vw;
  display: flex;
  flex-direction: column;
}
.testimonial-stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.testimonial-stage-top .eyebrow {
  color: #8a796b;
}
.testimonial-stage-top p {
  margin: 9px 0 0;
  color: #7a8796;
  font-size: 0.82rem;
}
.testimonial-linkedin-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #263c58;
  font-size: 0.7rem;
  font-weight: 750;
  transition: transform 0.22s var(--ease);
  white-space: nowrap;
}
.testimonial-linkedin-source:hover {
  transform: translateX(3px);
}
.testimonial-linkedin-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0a66c2;
  color: #fff;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.testimonial-slides {
  flex: 1;
  position: relative;
  margin-top: 48px;
  min-height: 420px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-quote-mark {
  color: #a58d78;
  font-family: Georgia, serif;
  font-size: 5.7rem;
  line-height: 0.68;
  height: 45px;
  margin-left: -4px;
}
.testimonial-slide blockquote {
  max-width: 1020px;
  margin: 22px 0 0;
  color: #10223d;
  font-size: clamp(2.25rem, 4.05vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  font-weight: 720;
}
.testimonial-continuation {
  max-width: 720px;
  margin: 27px 0 0;
  color: #748294;
  font-size: 0.86rem;
  line-height: 1.67;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 34px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #182d49;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(19, 38, 63, 0.12);
}
.testimonial-person strong {
  display: block;
  color: #152943;
  font-size: 0.83rem;
}
.testimonial-person span {
  display: block;
  margin-top: 3px;
  color: #929ba6;
  font-size: 0.62rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
}
.testimonial-control-line {
  height: 1px;
  background: #dedbd4;
  flex: 1;
  margin-right: 12px;
}
.testimonial-arrow {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #d8d5ce;
  background: transparent;
  color: #1c314e;
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.22s var(--ease);
}
.testimonial-arrow:hover {
  background: #142943;
  color: #fff;
  border-color: #142943;
  transform: translateY(-2px);
}

/* Smooth transition into the dark video section */
.testimonials-v35 + .video-section {
  border-top: 0 !important;
}

@media (max-width: 900px) {
  .testimonial-design-shell {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 680px;
  }
  .testimonial-stage {
    padding: 60px 34px 52px 40px;
  }
  .testimonial-rail-track {
    height: 210px;
  }
  .testimonial-slide blockquote {
    font-size: clamp(2.1rem, 6vw, 3.5rem);
  }
}
@media (max-width: 650px) {
  .testimonial-design-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .testimonial-rail {
    min-height: 0;
    height: 62px;
    padding: 0 22px;
    border-right: 0;
    border-bottom: 1px solid #ddd9d1;
    flex-direction: row;
  }
  .testimonial-rail-word {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .testimonial-rail-track {
    width: 130px;
    height: 2px;
  }
  .testimonial-rail-progress {
    width: 0%;
    height: 100%;
  }
  .testimonial-stage {
    padding: 42px 22px 44px;
  }
  .testimonial-stage-top {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slides {
    margin-top: 36px;
    min-height: 500px;
  }
  .testimonial-slide blockquote {
    font-size: clamp(2rem, 9.2vw, 3rem);
  }
  .testimonial-continuation {
    font-size: 0.8rem;
  }
}

/* ===== testimonials-v36-overflow-fix ===== */
/* Fix testimonial clipping: active slide participates in document flow */
.testimonials-v35 {
  overflow: hidden !important;
}

.testimonial-design-shell {
  min-height: 0 !important;
}

.testimonial-stage {
  min-height: 0 !important;
  padding-bottom: 72px !important;
}

.testimonial-slides {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  margin-top: 48px !important;
}

.testimonial-slide {
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

.testimonial-slide.active {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Keep the recommendation readable and fully visible */
.testimonial-slide blockquote {
  max-width: 980px !important;
  font-size: clamp(2.15rem, 3.35vw, 3.75rem) !important;
  line-height: 1.035 !important;
  margin-top: 20px !important;
}

.testimonial-continuation {
  max-width: 760px !important;
  margin-top: 24px !important;
}

.testimonial-person {
  margin-top: 34px !important;
  padding-top: 0 !important;
}

.testimonial-controls {
  margin-top: 34px !important;
}

/* Make the avatar/icon more obvious */
.testimonial-avatar {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  border: 1px solid rgba(13, 32, 62, 0.08);
}

/* Ensure arrow controls stay fully visible */
.testimonial-arrow {
  flex: 0 0 43px;
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .testimonial-stage {
    padding-bottom: 58px !important;
  }
  .testimonial-slide blockquote {
    font-size: clamp(2rem, 5vw, 3rem) !important;
  }
}

@media (max-width: 650px) {
  .testimonial-stage {
    padding-bottom: 46px !important;
  }
  .testimonial-slides {
    min-height: 0 !important;
    margin-top: 34px !important;
  }
  .testimonial-slide blockquote {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem) !important;
  }
  .testimonial-person {
    margin-top: 28px !important;
  }
}

/* ===== stack-section-v37 ===== */
/* =========================
   TOOLS & TECH STACK
   ========================= */
.stack-section {
  background: #ffffff;
  border-top: 1px solid #ece8e1;
  border-bottom: 1px solid #e7e9ed;
  position: relative;
  overflow: hidden;
}
.stack-section:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  left: -260px;
  bottom: -300px;
  background: #f6f8fb;
  pointer-events: none;
}
.stack-wrap {
  position: relative;
  z-index: 2;
}
.stack-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}
.stack-head h2 {
  margin: 12px 0 0;
  color: #0c203e;
  font-size: clamp(3.1rem, 5.3vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.stack-head h2 span {
  color: #8f735f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.stack-intro {
  padding-bottom: 7px;
}
.stack-intro p {
  max-width: 520px;
  margin: 0;
  color: #6a7788;
  font-size: 0.96rem;
  line-height: 1.68;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stack-card {
  min-height: 430px;
  padding: 24px;
  border: 1px solid #e2e6eb;
  border-radius: 22px;
  background: #fbfbfa;
  box-shadow: 0 18px 45px rgba(20, 36, 56, 0.045);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease);
}
.stack-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 28px 60px rgba(20, 36, 56, 0.08);
}
.stack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stack-index {
  color: #a3abb5;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.stack-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(15, 30, 49, 0.08);
}
.stack-icon-qa {
  background: linear-gradient(180deg, #5a96ec, #356abe);
}
.stack-icon-ai {
  background: linear-gradient(180deg, #a17be5, #7357bd);
}
.stack-icon-workflow {
  background: linear-gradient(180deg, #52b892, #2f8c6d);
}

.stack-card h3 {
  margin: 24px 0 8px;
  color: #122844;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}
.stack-card > p {
  margin: 0;
  color: #748194;
  font-size: 0.83rem;
  line-height: 1.6;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}
.stack-tags span {
  padding: 7px 10px;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
  background: #fff;
  color: #536379;
  font-size: 0.61rem;
  line-height: 1;
  font-weight: 720;
  box-shadow: 0 4px 10px rgba(21, 37, 57, 0.025);
}
.stack-bottom {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: #776454;
}
.stack-bottom > span {
  width: 50px;
  height: 1px;
  background: #9b806d;
}
.stack-bottom p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .stack-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stack-card:last-child {
    grid-column: 1/-1;
    min-height: 330px;
  }
}
@media (max-width: 650px) {
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .stack-card,
  .stack-card:last-child {
    grid-column: auto;
    min-height: 0;
  }
  .stack-head h2 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }
  .stack-bottom {
    align-items: flex-start;
  }
  .stack-bottom p {
    font-size: 1.25rem;
  }
}

/* ===== sales-real-data-v38 ===== */
/* =========================
   SALES — CAPABILITIES, NOT CLAIMED METRICS
   ========================= */

/* Hero sales capability card */
.sales-capability-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  padding-top: 3px;
}
.sales-capability-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sales-capability-flow > div {
  flex: 1;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid rgba(53, 142, 109, 0.17);
  border-radius: 11px;
  background: rgba(244, 250, 247, 0.78);
}
.sales-capability-flow > div span {
  display: block;
  color: #75a08f;
  font-size: 0.47rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.sales-capability-flow > div strong {
  display: block;
  margin-top: 3px;
  color: #214b3d;
  font-size: 0.65rem;
  letter-spacing: -0.01em;
}
.sales-capability-flow > i {
  color: #73a08e;
  font-style: normal;
  font-size: 0.7rem;
}
.sales-capability-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.sales-capability-focus span {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid rgba(31, 72, 59, 0.11);
  color: #5b786d;
  font-size: 0.48rem;
  font-weight: 730;
}

/* Selected Work: research workflow instead of performance metrics */
.research-dashboard {
  max-width: 720px !important;
}
.research-main {
  min-width: 0;
}
.research-flow-card {
  padding: 21px !important;
  min-height: 330px;
}
.research-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.research-flow-head b {
  display: block;
  color: #17382f;
  font-size: 0.83rem;
}
.research-flow-head > div span {
  display: block;
  margin-top: 4px;
  color: #729087;
  font-size: 0.54rem;
}
.research-status {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(63, 151, 118, 0.12);
  border: 1px solid rgba(63, 151, 118, 0.15);
  color: #397b65;
  font-size: 0.48rem;
  font-weight: 800;
  white-space: nowrap;
}
.research-process {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  align-items: stretch;
  gap: 6px;
}
.research-step {
  position: relative;
  min-width: 0;
  padding: 14px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(78, 126, 111, 0.13);
}
.research-step-no {
  color: #9aaca6;
  font-size: 0.43rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.research-step-icon {
  width: 31px;
  height: 31px;
  margin-top: 10px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #e8f4ef;
  color: #34765f;
  font-size: 0.7rem;
  font-weight: 900;
}
.research-step strong {
  display: block;
  margin-top: 10px;
  color: #173b30;
  font-size: 0.61rem;
  line-height: 1.2;
}
.research-step small {
  display: block;
  margin-top: 5px;
  color: #789188;
  font-size: 0.47rem;
  line-height: 1.45;
}
.research-connector {
  display: grid;
  place-items: center;
  color: #75a18f;
  font-size: 0.72rem;
}
.research-capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.research-capability-row .glass-mini {
  padding: 12px !important;
}
.research-capability-row small {
  display: block;
  color: #7f9a91;
  font-size: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.research-capability-row b {
  display: block;
  margin-top: 5px;
  color: #1b4a3b;
  font-size: 0.64rem;
}
.research-capability-row span {
  display: block;
  margin-top: 4px;
  color: #81958e;
  font-size: 0.45rem;
}

@media (max-width: 760px) {
  .research-process {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .research-connector {
    display: none;
  }
}

/* ===== ai-real-work-v39 ===== */
/* =========================
   AI VIDEO — REAL PUBLISHED WORK
   ========================= */
.ai-real-work-scene {
  display: grid;
  place-items: center;
  overflow: visible;
}
.ai-real-shell {
  width: min(680px, 97%);
  min-height: 520px;
  padding: 18px;
  border-radius: 22px;
  background: radial-gradient(
      circle at 84% 0%,
      rgba(129, 92, 210, 0.1),
      transparent 28%
    ),
    linear-gradient(180deg, #fbfcff, #f5f6fa);
  border: 1px solid #e3e6ed;
  box-shadow: 0 28px 60px rgba(23, 34, 52, 0.1);
}
.ai-real-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 4px 14px;
}
.ai-real-head small {
  display: block;
  color: #86799f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.48rem;
  font-weight: 800;
}
.ai-real-head h4 {
  margin: 4px 0 0;
  color: #172641;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.ai-real-head > span {
  color: #8c96a5;
  font-size: 0.46rem;
  white-space: nowrap;
}

.ai-reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.ai-reel-card {
  min-width: 0;
  border: 1px solid #e1e5eb;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 24px rgba(27, 39, 58, 0.055);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.ai-reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(27, 39, 58, 0.1);
}
.ai-reel-thumb {
  position: relative;
  aspect-ratio: 9/11;
  overflow: hidden;
  background: #111722;
}
.ai-reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transition: transform 0.4s var(--ease);
}
.ai-reel-card:hover .ai-reel-thumb img {
  transform: scale(1.035);
}
.ai-reel-thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 10, 18, 0.33));
}
.ai-reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 18, 31, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}
.ai-reel-number {
  position: absolute;
  z-index: 2;
  left: 9px;
  top: 8px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(10, 21, 36, 0.68);
  color: #fff;
  font-size: 0.43rem;
  font-weight: 850;
}
.ai-reel-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 7px;
  padding: 9px 9px 7px;
}
.ai-reel-info strong {
  color: #1b2c46;
  font-size: 0.58rem;
  line-height: 1.22;
}
.ai-reel-info span {
  color: #755fb2;
  font-size: 0.42rem;
  font-weight: 750;
  white-space: nowrap;
}
.ai-reel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf0f3;
}
.ai-reel-metrics > div {
  padding: 7px 5px 8px;
  text-align: center;
}
.ai-reel-metrics > div + div {
  border-left: 1px solid #edf0f3;
}
.ai-reel-metrics b {
  display: block;
  color: #25364d;
  font-size: 0.57rem;
}
.ai-reel-metrics small {
  display: block;
  margin-top: 2px;
  color: #929ca9;
  font-size: 0.39rem;
}

.ai-gpt-workflow {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 18px 1fr 18px 1fr;
  gap: 6px;
  align-items: center;
}
.ai-workflow-label {
  padding: 8px 7px;
}
.ai-workflow-label small {
  display: block;
  color: #988aac;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.42rem;
  font-weight: 800;
}
.ai-workflow-label strong {
  display: block;
  margin-top: 4px;
  color: #27344a;
  font-size: 0.56rem;
}
.ai-agent {
  display: grid;
  grid-template-columns: 27px 1fr 10px;
  gap: 6px;
  align-items: center;
  padding: 7px;
  border: 1px solid #e2e4ea;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.22s var(--ease);
}
.ai-agent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 39, 56, 0.065);
}
.ai-agent > span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.53rem;
  font-weight: 900;
}
.ai-agent.rex > span {
  background: #397ec6;
}
.ai-agent.vince > span {
  background: #7658bd;
}
.ai-agent.maya > span {
  background: #36906f;
}
.ai-agent b {
  display: block;
  color: #263750;
  font-size: 0.49rem;
}
.ai-agent small {
  display: block;
  margin-top: 1px;
  color: #8c96a3;
  font-size: 0.35rem;
  line-height: 1.15;
}
.ai-agent i {
  color: #a0a7b0;
  font-style: normal;
  font-size: 0.45rem;
}
.ai-agent-arrow {
  color: #9fa8b2;
  text-align: center;
  font-size: 0.6rem;
}

/* =========================
   FEATURED REAL REEL
   ========================= */
.real-video-frame {
  aspect-ratio: 16/9 !important;
  display: grid !important;
  grid-template-columns: minmax(145px, 0.42fr) minmax(230px, 1fr);
  gap: 0;
  background: #101c2a !important;
}
.real-video-frame:before {
  display: none !important;
}
.featured-reel-media {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #0a111a;
}
.featured-reel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.featured-reel-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 10, 17, 0.03),
    rgba(4, 10, 17, 0.43)
  );
}
.featured-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  transition: 0.24s var(--ease);
}
.featured-reel-media:hover .featured-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 0, 0, 0.48);
}
.featured-watch {
  position: absolute;
  z-index: 2;
  left: 17px;
  bottom: 15px;
  color: #fff;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.featured-reel-copy {
  padding: clamp(18px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.featured-kicker {
  color: #8ea4bd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.48rem;
  font-weight: 800;
}
.featured-reel-copy h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.7vw, 3.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.featured-reel-copy p {
  max-width: 570px;
  margin: 14px 0 0;
  color: #9fb0c3;
  font-size: clamp(0.58rem, 0.82vw, 0.84rem);
  line-height: 1.55;
}
.featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 18px;
}
.featured-metrics > div {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}
.featured-metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(0.72rem, 1.2vw, 1.15rem);
}
.featured-metrics span {
  display: block;
  margin-top: 3px;
  color: #8195aa;
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.featured-insight-note {
  margin-top: 10px;
  color: #7f93a9;
  font-size: 0.42rem;
}
.ai-real-process span b {
  color: #fff;
  margin-right: 3px;
}

@media (max-width: 760px) {
  .ai-real-shell {
    min-height: 0;
  }
  .ai-reel-grid {
    gap: 6px;
  }
  .ai-gpt-workflow {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ai-workflow-label {
    grid-column: 1/-1;
  }
  .ai-agent-arrow {
    display: none;
  }
}
@media (max-width: 700px) {
  .real-video-frame {
    grid-template-columns: 34% 66% !important;
    min-width: 350px !important;
  }
  .featured-reel-copy {
    padding: 14px;
  }
  .featured-reel-copy p {
    display: none;
  }
  .featured-metrics {
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
    gap: 5px;
  }
  .featured-metrics > div {
    padding: 6px 7px;
  }
  .featured-insight-note {
    display: none;
  }
  .featured-play {
    width: 46px;
    height: 46px;
  }
}

/* ===== qa-real-data-v40 ===== */
/* =========================
   QA HERO — CAPABILITIES, NOT PLACEHOLDER METRICS
   ========================= */
.qa-capability-body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 12px;
}
.qa-capability-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.qa-capability-flow > div {
  flex: 1;
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid rgba(67, 114, 184, 0.16);
  border-radius: 11px;
  background: rgba(244, 248, 253, 0.82);
}
.qa-capability-flow > div span {
  display: block;
  color: #7f9abd;
  font-size: 0.45rem;
  letter-spacing: 0.08em;
  font-weight: 850;
}
.qa-capability-flow > div strong {
  display: block;
  margin-top: 3px;
  color: #244873;
  font-size: 0.61rem;
  letter-spacing: -0.01em;
}
.qa-capability-flow > i {
  color: #8ea5c2;
  font-style: normal;
  font-size: 0.62rem;
}
.qa-capability-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.qa-capability-focus span {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(36, 72, 115, 0.11);
  color: #607894;
  font-size: 0.47rem;
  font-weight: 730;
}

/* ===== qa-case-studies-v41 ===== */
/* =========================
   REAL QA CASE STUDIES
   ========================= */
.qa-case-scene {
  display: grid;
  place-items: center;
}
.qa-case-board {
  width: min(660px, 97%);
  height: 520px;
  padding: 16px;
  border: 1px solid #e2e6eb;
  border-radius: 22px;
  background: radial-gradient(
      circle at 92% 4%,
      rgba(61, 111, 197, 0.09),
      transparent 28%
    ),
    linear-gradient(180deg, #fcfdff, #f5f7fa);
  box-shadow: 0 30px 64px rgba(20, 34, 52, 0.11);
  overflow: hidden;
}
.qa-case-board-head {
  height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 3px 10px;
}
.qa-case-board-head small {
  display: block;
  color: #7188a6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.45rem;
  font-weight: 850;
}
.qa-case-board-head h4 {
  margin: 4px 0 0;
  color: #142944;
  font-size: 1rem;
  letter-spacing: -0.03em;
}
.qa-case-board-head > span {
  color: #8a96a5;
  font-size: 0.46rem;
  padding-top: 4px;
}

.qa-case {
  position: relative;
  border: 1px solid #e0e5eb;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(20, 34, 52, 0.045);
}
.qa-case-featured {
  min-height: 238px;
  padding: 15px 16px 13px 48px;
}
.qa-case-index {
  position: absolute;
  left: 15px;
  top: 15px;
  color: #83a0c4;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.qa-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.qa-case-meta span {
  padding: 4px 6px;
  border-radius: 999px;
  background: #edf3fb;
  color: #526e95;
  font-size: 0.41rem;
  font-weight: 800;
}
.qa-case h5 {
  margin: 8px 0 0;
  color: #132945;
  font-size: 0.88rem;
  letter-spacing: -0.025em;
}
.qa-case-intro {
  margin: 6px 0 0;
  max-width: 590px;
  color: #64758a;
  font-size: 0.53rem;
  line-height: 1.48;
}
.qa-case-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}
.qa-case-columns > div {
  padding: 8px 9px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid #edf0f4;
}
.qa-case-columns small,
.qa-case-result small {
  display: block;
  color: #637389;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.38rem;
  font-weight: 850;
}
.qa-case-columns p {
  margin: 4px 0 0;
  color: #627186;
  font-size: 0.43rem;
  line-height: 1.42;
}
.qa-case-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.qa-case-tools span {
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid #dfe5ec;
  background: #fff;
  color: #5c7089;
  font-size: 0.39rem;
  font-weight: 750;
}

.qa-case-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 9px;
}
.qa-case-small {
  min-height: 190px;
  padding: 14px 13px 12px 43px;
}
.qa-case-small p {
  margin: 7px 0 0;
  color: #68788c;
  font-size: 0.47rem;
  line-height: 1.48;
}
.qa-case-result {
  margin-top: 9px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #f5f8fc;
  border: 1px solid #e9eef4;
}
.qa-case-result strong {
  display: block;
  margin-top: 3px;
  color: #284d7b;
  font-size: 0.47rem;
  line-height: 1.3;
}
.qa-case-small .qa-case-tools {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .qa-case-board {
    height: auto;
    min-height: 500px;
  }
  .qa-case-featured {
    padding-right: 13px;
  }
  .qa-case-columns {
    grid-template-columns: 1fr;
  }
  .qa-case-small-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== v42-layout-fixes ===== */
/* =========================
   V42 LAYOUT FIXES
   ========================= */

/* ---- Selected Work: create more breathing room between left title and right content ---- */
.work-v25-stage {
  grid-template-columns: minmax(0, 0.82fr) minmax(600px, 1.18fr) !important;
  gap: 58px !important;
}
.work-v25 .work-menu {
  padding-left: 38px !important;
  padding-right: 10px !important;
}
.work-v25 .work-option {
  max-width: 440px !important;
}
.work-v25 .work-option .label {
  font-size: clamp(4.15rem, 5.15vw, 5.65rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.055em !important;
}
.work-v25 .work-option .mini {
  max-width: 360px !important;
}
.qa-case-board {
  width: min(690px, 98%) !important;
}
.qa-case-board-head {
  margin-bottom: 2px;
}
.qa-case-featured {
  padding-right: 14px !important;
}
.qa-case-columns {
  gap: 6px !important;
}
.qa-case-columns p {
  font-size: 0.42rem !important;
  line-height: 1.38 !important;
}
.qa-case-intro {
  font-size: 0.51rem !important;
}
.qa-case-small {
  min-height: 184px !important;
}

/* ---- Hero KPI cards: keep highlighted boxes fully inside ---- */
.hero-v12-kpi {
  overflow: hidden !important;
}
.hero-v12-kpi-top.simple {
  margin-bottom: 10px !important;
}
.qa-capability-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  align-items: stretch !important;
}
.qa-capability-flow > i {
  display: none !important;
}
.qa-capability-flow > div {
  padding: 8px 6px !important;
  min-width: 0 !important;
}
.qa-capability-flow > div strong {
  font-size: 0.58rem !important;
}
.qa-capability-flow > div span {
  font-size: 0.42rem !important;
}

.sales-capability-flow {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  align-items: stretch !important;
}
.sales-capability-flow > i {
  display: none !important;
}
.sales-capability-flow > div {
  padding: 8px 6px !important;
  min-width: 0 !important;
}
.sales-capability-flow > div strong {
  font-size: 0.6rem !important;
}
.sales-capability-flow > div span {
  font-size: 0.42rem !important;
}

.qa-capability-focus,
.sales-capability-focus {
  gap: 4px !important;
}
.qa-capability-focus span,
.sales-capability-focus span {
  font-size: 0.44rem !important;
  padding: 4px 6px !important;
}

@media (max-width: 1200px) {
  .work-v25-stage {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr) !important;
    gap: 42px !important;
  }
  .work-v25 .work-option .label {
    font-size: clamp(3.65rem, 4.8vw, 5rem) !important;
  }
}
@media (max-width: 980px) {
  .work-v25-stage {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .work-v25 .work-menu {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .work-v25 .work-option {
    max-width: none !important;
  }
  .qa-case-board {
    width: min(720px, 100%) !important;
  }
}

/* ===== publish-ready-v43 ===== */
/* =========================
   FINAL PUBLISH-READY POLISH
   ========================= */

/* Consistent section rhythm */
.section {
  padding: 96px 0 !important;
}
.section-head {
  margin-bottom: 40px !important;
}
.section-head p,
.stack-intro p,
.testimonials-intro p,
.contact-v34-lead {
  line-height: 1.62 !important;
}

/* HERO — keep all three CTAs on one desktop line */
.hero-v12-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100%;
  max-width: 590px;
}
.hero-v12-actions > .btn,
.hero-v12-actions > .resume-download {
  flex: 0 0 auto;
}
.hero-v12-actions .btn,
.hero-v12-actions .resume-summary {
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 15px !important;
  border-radius: 11px !important;
  font-size: 0.73rem !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.hero-v12-actions .btn-primary {
  min-width: 164px !important;
}
.hero-v12-actions .resume-summary {
  min-width: 174px !important;
}
.hero-v12-actions .hero-v12-outline {
  min-width: 148px !important;
}
.resume-download-icon {
  font-size: 0.9rem !important;
}
.resume-chevron {
  font-size: 0.72rem !important;
}

/* Slightly calmer hero copy */
.hero-v12-intro {
  max-width: 535px !important;
  font-size: 1rem !important;
  line-height: 1.48 !important;
}
.hero-v12-identity p {
  font-size: 0.79rem !important;
}

/* About */
.about-top {
  gap: 130px !important;
}
.about-copy {
  max-width: 610px !important;
  padding-top: 24px !important;
}
.about-copy p {
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
}
.about-copy p + p {
  margin-top: 16px !important;
}
.about-capabilities {
  margin-top: 54px !important;
}
.about-capability {
  min-height: 245px !important;
  padding: 22px !important;
}
.about-capability p {
  font-size: 0.84rem !important;
}
.about-principle {
  margin-top: 32px !important;
}

/* Tools */
.stack-head {
  margin-bottom: 38px !important;
}
.stack-card {
  min-height: 385px !important;
  padding: 22px !important;
}
.stack-card > p {
  font-size: 0.81rem !important;
}
.stack-bottom {
  margin-top: 30px !important;
}

/* Selected Work */
.work-v25-shell {
  min-height: 750px !important;
}
.work-v25-stage {
  min-height: 650px !important;
  padding-top: 72px !important;
}
.work-intro p {
  max-width: 430px !important;
  line-height: 1.55 !important;
}
.work-v25 .work-option .mini {
  font-size: 0.76rem !important;
  line-height: 1.42 !important;
}
.work-visual-wrap {
  height: 550px !important;
}

/* Make case-study text genuinely readable */
.qa-case-board-head small {
  font-size: 0.5rem !important;
}
.qa-case-board-head h4 {
  font-size: 1.08rem !important;
}
.qa-case-meta span {
  font-size: 0.45rem !important;
}
.qa-case h5 {
  font-size: 0.93rem !important;
}
.qa-case-intro {
  font-size: 0.56rem !important;
  line-height: 1.48 !important;
}
.qa-case-columns small,
.qa-case-result small {
  font-size: 0.42rem !important;
}
.qa-case-columns p {
  font-size: 0.48rem !important;
  line-height: 1.42 !important;
}
.qa-case-tools span {
  font-size: 0.43rem !important;
}
.qa-case-small p {
  font-size: 0.51rem !important;
  line-height: 1.45 !important;
}
.qa-case-result strong {
  font-size: 0.5rem !important;
}

/* AI Selected Work readability */
.ai-real-head small {
  font-size: 0.51rem !important;
}
.ai-real-head h4 {
  font-size: 1.08rem !important;
}
.ai-reel-info strong {
  font-size: 0.62rem !important;
}
.ai-reel-info span {
  font-size: 0.46rem !important;
}
.ai-reel-metrics b {
  font-size: 0.63rem !important;
}
.ai-reel-metrics small {
  font-size: 0.42rem !important;
}
.ai-workflow-label small {
  font-size: 0.45rem !important;
}
.ai-workflow-label strong {
  font-size: 0.6rem !important;
}
.ai-agent b {
  font-size: 0.53rem !important;
}
.ai-agent small {
  font-size: 0.4rem !important;
  line-height: 1.2 !important;
}

/* Sales Research workflow readability */
.research-flow-head b {
  font-size: 0.86rem !important;
}
.research-flow-head > div span {
  font-size: 0.57rem !important;
}
.research-status {
  font-size: 0.51rem !important;
}
.research-step strong {
  font-size: 0.65rem !important;
}
.research-step small {
  font-size: 0.51rem !important;
  line-height: 1.42 !important;
}
.research-capability-row small {
  font-size: 0.48rem !important;
}
.research-capability-row b {
  font-size: 0.67rem !important;
}
.research-capability-row span {
  font-size: 0.48rem !important;
}

/* Testimonials: readable without oversized copy */
.testimonial-design-shell {
  min-height: 0 !important;
}
.testimonial-stage {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.testimonial-slide blockquote {
  max-width: 940px !important;
  font-size: clamp(2rem, 3vw, 3.45rem) !important;
  line-height: 1.055 !important;
}
.testimonial-continuation {
  font-size: 0.84rem !important;
  max-width: 690px !important;
}
.testimonial-person {
  margin-top: 30px !important;
}

/* Featured AI project */
.featured-reel-copy p {
  font-size: clamp(0.67rem, 0.86vw, 0.88rem) !important;
  line-height: 1.56 !important;
}

/* Experience */
.timeline-wrap {
  margin-top: 42px !important;
}
.timeline-item {
  min-height: 225px !important;
  padding-bottom: 34px !important;
}
.timeline-content h3 {
  font-size: 1.85rem !important;
}
.timeline-content p {
  max-width: 650px !important;
  line-height: 1.58 !important;
}

/* Contact */
.contact-v34-inner {
  min-height: 74vh !important;
  padding: 88px 0 !important;
  gap: 82px !important;
}
.contact-v34 h2 {
  font-size: clamp(3.7rem, 6.4vw, 6.8rem) !important;
}
.contact-v34-lead {
  max-width: 620px !important;
  margin-top: 24px !important;
  font-size: 0.98rem !important;
}
.contact-role-row {
  margin-top: 22px !important;
}

/* Button language and geometry feel consistent site-wide */
.btn,
.nav-cta,
.contact-primary,
.contact-action,
.experience-resume-links a,
.contact-resume-grid a {
  border-radius: 11px;
}
.btn,
.nav-cta,
.contact-primary,
.contact-action,
.experience-resume-links a,
.contact-resume-grid a,
.testimonial-arrow {
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

/* Defensive overlap/readability rules */
.hero-v12-kpi,
.qa-case,
.ai-reel-card,
.research-step,
.contact-v34-panel {
  min-width: 0;
}
.hero-v12-kpi-title,
.qa-case-content,
.ai-reel-info,
.timeline-content,
.contact-v34-copy {
  min-width: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
strong,
span,
small {
  overflow-wrap: break-word;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

/* Tablet/mobile: preserve usability over forced one-line desktop CTA */
@media (max-width: 900px) {
  .section {
    padding: 82px 0 !important;
  }
  .about-top {
    gap: 28px !important;
  }
}
@media (max-width: 700px) {
  .hero-v12-actions {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    max-width: none !important;
  }
  .hero-v12-actions > .btn,
  .hero-v12-actions > .resume-download,
  .hero-v12-actions .resume-summary {
    width: 100% !important;
  }
  .hero-v12-actions .btn-primary,
  .hero-v12-actions .resume-summary,
  .hero-v12-actions .hero-v12-outline {
    min-width: 0 !important;
  }
  .section {
    padding: 70px 0 !important;
  }
  .contact-v34-inner {
    padding: 70px 0 !important;
  }
}

/* ===== hero-cta-final-width-v44 ===== */
@media (min-width: 701px) {
  .hero-v12-actions {
    max-width: 478px !important;
    gap: 8px !important;
  }
  .hero-v12-actions .btn,
  .hero-v12-actions .resume-summary {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 0.7rem !important;
  }
  .hero-v12-actions .btn-primary {
    min-width: 148px !important;
  }
  .hero-v12-actions .resume-summary {
    min-width: 158px !important;
  }
  .hero-v12-actions .hero-v12-outline {
    min-width: 145px !important;
  }
}

/* ===== v45-whole-word-typography-fix ===== */
/* =========================
   V45 — NEVER BREAK INSIDE WORDS
   Preserve the oversized editorial typography, but only wrap at spaces.
   ========================= */

/* Override the defensive V43 rule that allowed mid-word breaking. */
h1,
h2,
h3,
h4,
h5,
.work-option .label,
.about-heading h2,
.stack-head h2,
.testimonials-head h2,
.contact-v34 h2 {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* ABOUT:
   Keep "communication" intact. The column has enough visual weight already,
   so reduce only this display heading rather than splitting the word. */
.about-top {
  grid-template-columns: minmax(540px, 1.05fr) minmax(430px, 0.95fr) !important;
  gap: 105px !important;
}
.about-heading {
  min-width: 0;
}
.about-heading h2 {
  font-size: clamp(3.15rem, 4.65vw, 4.95rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.058em !important;
}
.about-heading h2 span {
  white-space: nowrap;
}

/* SELECTED WORK:
   Explicit <br> tags define the intended line breaks.
   Never allow ENGINEERING / CREATION / RESEARCH to fragment internally. */
.work-v25-stage {
  grid-template-columns: minmax(455px, 0.9fr) minmax(590px, 1.1fr) !important;
  gap: 48px !important;
}
.work-v25 .work-menu {
  padding-left: 24px !important;
  padding-right: 8px !important;
}
.work-v25 .work-option {
  max-width: 455px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 14px !important;
}
.work-v25 .work-option .label {
  font-size: clamp(3.45rem, 4.15vw, 4.45rem) !important;
  line-height: 0.91 !important;
  letter-spacing: -0.058em !important;
  white-space: normal !important;
}
.work-v25 .work-option .mini {
  max-width: 365px !important;
}

/* Give the visual just enough breathing room after widening the menu column. */
.qa-case-board {
  width: min(660px, 97%) !important;
}
.ai-real-shell {
  width: min(660px, 97%) !important;
}
.research-dashboard {
  width: min(660px, 97%) !important;
}

/* Other oversized headings should also wrap only between complete words. */
.stack-head h2,
.testimonials-head h2,
.contact-v34 h2 {
  text-wrap: balance;
}

/* Paragraphs may wrap naturally, but not split ordinary words. */
.about-copy p,
.stack-intro p,
.work-intro p,
.work-option .mini,
.qa-case p,
.research-step small,
.testimonial-continuation,
.timeline-content p,
.contact-v34-lead {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Medium laptop widths: scale display type instead of cutting words. */
@media (max-width: 1260px) and (min-width: 981px) {
  .about-top {
    grid-template-columns: minmax(485px, 1fr) minmax(400px, 0.92fr) !important;
    gap: 72px !important;
  }
  .about-heading h2 {
    font-size: clamp(3rem, 4.35vw, 4.45rem) !important;
  }

  .work-v25-stage {
    grid-template-columns: minmax(410px, 0.88fr) minmax(530px, 1.12fr) !important;
    gap: 34px !important;
  }
  .work-v25 .work-option {
    max-width: 410px !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .work-v25 .work-option .label {
    font-size: clamp(3.15rem, 3.85vw, 4rem) !important;
  }
}

/* Tablet/mobile: return to stacked layout and keep whole words intact. */
@media (max-width: 980px) {
  .about-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .about-heading h2 {
    max-width: 720px;
    font-size: clamp(3rem, 8vw, 4.75rem) !important;
  }

  .work-v25-stage {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .work-v25 .work-menu {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .work-v25 .work-option {
    max-width: none !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
  }
  .work-v25 .work-option .label {
    font-size: clamp(3rem, 7.6vw, 4.5rem) !important;
  }
}

@media (max-width: 600px) {
  .about-heading h2 {
    font-size: clamp(2.65rem, 12vw, 3.8rem) !important;
  }
  .work-v25 .work-option {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }
  .work-v25 .work-option .label {
    font-size: clamp(2.55rem, 11vw, 3.65rem) !important;
  }
}

/* ===== v46-mobile-responsive-fix ===== */
/* =========================
   MOBILE RESPONSIVE FINAL PASS
   ========================= */

/* Prevent accidental horizontal page scroll at all sizes. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
}

@media (max-width: 700px) {
  /* ---------- Mobile navigation ---------- */
  .nav-holder {
    top: 8px !important;
    width: calc(100% - 20px) !important;
    max-width: none !important;
  }
  .nav-pill,
  .nav-pill.compact {
    width: 100% !important;
    height: auto !important;
    min-height: 62px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    padding: 7px 8px 7px 10px !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(225, 230, 237, 0.96) !important;
    box-shadow: 0 10px 32px rgba(14, 27, 43, 0.1) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }
  .nav-pill .brand,
  .nav-pill.compact .brand {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .nav-pill .brand span,
  .nav-pill.compact .brand span {
    display: inline !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.05em !important;
  }
  .nav-pill .brand-mark,
  .nav-pill.compact .brand-mark {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }
  .nav-pill .nav-toggle,
  .nav-pill.compact .nav-toggle {
    grid-column: 2 !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    background: #f3f5f8 !important;
    position: relative !important;
  }
  .nav-toggle:before,
  .nav-toggle:after {
    left: 12px !important;
    width: 20px !important;
    height: 2px !important;
    background: #132845 !important;
    transition:
      top 0.22s ease,
      transform 0.22s ease !important;
  }
  .nav-toggle:before {
    top: 17px !important;
  }
  .nav-toggle:after {
    top: 25px !important;
  }
  .nav-pill.mobile-open .nav-toggle:before {
    top: 21px !important;
    transform: rotate(45deg) !important;
  }
  .nav-pill.mobile-open .nav-toggle:after {
    top: 21px !important;
    transform: rotate(-45deg) !important;
  }
  .nav-pill .nav-links,
  .nav-pill.compact .nav-links,
  .nav-pill .nav-cta,
  .nav-pill.compact .nav-cta {
    display: none !important;
  }
  .nav-pill.mobile-open .nav-links {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 7px 4px 4px !important;
    margin-top: 1px !important;
    border-top: 1px solid #e7ebef !important;
  }
  .nav-pill.mobile-open .nav-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    color: #2f425d !important;
    font-size: 0.82rem !important;
  }
  .nav-pill.mobile-open .nav-links a:hover,
  .nav-pill.mobile-open .nav-links a:focus-visible {
    background: #f3f5f8 !important;
  }
  .nav-pill.mobile-open .nav-links a:after {
    display: none !important;
  }
  .nav-pill.mobile-open .nav-cta {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    margin: 5px 4px 3px !important;
    width: calc(100% - 8px) !important;
  }

  /* ---------- Hero ---------- */
  .hero.hero-v12 {
    padding-top: 84px !important;
  }
  .hero-v12-copy {
    padding-top: 18px !important;
  }
  .hero-v12-intro {
    max-width: 100% !important;
  }
  .hero-v12-actions {
    width: 100% !important;
    max-width: none !important;
  }
  .hero-v12-person {
    height: 430px !important;
    min-height: 430px !important;
  }
  .hero-v12-person-img {
    height: 410px !important;
    max-height: 410px !important;
    transform: translate(0, 30px) !important;
  }
  .hero-v12-kpi {
    width: 100% !important;
  }
  .hero-v12-kpi-title h3 {
    font-size: 0.92rem !important;
  }
  .hero-v12-kpi-title p {
    font-size: 0.66rem !important;
  }

  /* ---------- About / tools ---------- */
  .about-capabilities,
  .stack-grid {
    gap: 11px !important;
  }
  .about-capability,
  .stack-card {
    border-radius: 18px !important;
  }
  .stack-card {
    padding: 20px !important;
  }

  /* ---------- Selected Work: active panel uses natural height ---------- */
  .work-v25-shell,
  .work-v25-stage {
    min-height: 0 !important;
  }
  .work-v25-stage {
    padding-top: 0 !important;
  }
  .work-visual-wrap {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
  .work-scene {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transform: none !important;
  }
  .work-scene.active {
    display: grid !important;
    pointer-events: auto !important;
  }
  .work-scene-caption {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 14px !important;
    padding: 0 4px !important;
    font-size: 0.56rem !important;
  }
  .qa-case-board,
  .ai-real-shell,
  .research-dashboard {
    width: 100% !important;
    max-width: 100% !important;
  }
  .qa-case-board {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px !important;
  }
  .qa-case-board-head {
    height: auto !important;
    min-height: 44px !important;
  }
  .qa-case-featured,
  .qa-case-small {
    min-height: 0 !important;
  }
  .qa-case-featured {
    padding: 14px 12px 13px 42px !important;
  }
  .qa-case-small {
    padding: 13px 11px 12px 39px !important;
  }
  .qa-case-columns {
    grid-template-columns: 1fr !important;
  }
  .qa-case-small-grid {
    grid-template-columns: 1fr !important;
  }
  .qa-case-intro {
    font-size: 0.7rem !important;
  }
  .qa-case-columns p,
  .qa-case-small p {
    font-size: 0.65rem !important;
  }
  .qa-case h5 {
    font-size: 0.95rem !important;
  }
  .qa-case-tools span {
    font-size: 0.54rem !important;
  }

  /* Published reels: swipeable cards instead of unreadable 3-column miniatures. */
  .ai-real-shell {
    min-height: 0 !important;
    padding: 14px !important;
  }
  .ai-real-head {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  .ai-reel-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 2px 1px 10px !important;
  }
  .ai-reel-grid::-webkit-scrollbar {
    display: none !important;
  }
  .ai-reel-card {
    flex: 0 0 min(78vw, 290px) !important;
    scroll-snap-align: start !important;
  }
  .ai-reel-thumb {
    aspect-ratio: 9/11 !important;
  }
  .ai-reel-info strong {
    font-size: 0.72rem !important;
  }
  .ai-reel-info span {
    font-size: 0.52rem !important;
  }
  .ai-reel-metrics b {
    font-size: 0.72rem !important;
  }
  .ai-reel-metrics small {
    font-size: 0.48rem !important;
  }
  .ai-gpt-workflow {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }
  .ai-workflow-label {
    grid-column: auto !important;
    padding: 8px 2px !important;
  }
  .ai-agent-arrow {
    display: none !important;
  }
  .ai-agent {
    grid-template-columns: 32px 1fr 14px !important;
    padding: 9px !important;
  }
  .ai-agent > span {
    width: 31px !important;
    height: 31px !important;
  }
  .ai-agent b {
    font-size: 0.62rem !important;
  }
  .ai-agent small {
    font-size: 0.49rem !important;
  }

  /* Sales research workflow becomes a clean vertical sequence. */
  .research-flow-card {
    min-height: 0 !important;
    padding: 14px !important;
  }
  .research-flow-head {
    flex-direction: column !important;
    margin-bottom: 14px !important;
  }
  .research-process {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .research-connector {
    display: none !important;
  }
  .research-step {
    padding: 12px !important;
  }
  .research-step strong {
    font-size: 0.76rem !important;
  }
  .research-step small {
    font-size: 0.61rem !important;
  }
  .research-capability-row {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  /* ---------- Featured AI project: normal-flow mobile section ---------- */
  .video-section.video-real-project {
    height: auto !important;
    min-height: 0 !important;
    padding: 68px 12px 60px !important;
  }
  .video-real-project .video-sticky {
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    top: auto !important;
    display: block !important;
    overflow: visible !important;
  }
  .video-real-project .video-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
  }
  .video-real-project .video-top h2 {
    font-size: clamp(2.8rem, 12vw, 4.2rem) !important;
  }
  .real-video-frame {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
    border-radius: 20px !important;
  }
  .featured-reel-media {
    min-height: 0 !important;
    aspect-ratio: 9/12 !important;
    max-height: 500px !important;
  }
  .featured-reel-copy {
    padding: 20px !important;
  }
  .featured-reel-copy p {
    display: block !important;
    font-size: 0.78rem !important;
  }
  .featured-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    margin-top: 16px !important;
  }
  .featured-insight-note {
    display: block !important;
    font-size: 0.52rem !important;
  }
  .video-real-project .video-process {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 22px 0 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 7px !important;
  }
  .video-real-project .video-process span {
    padding: 7px 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    font-size: 0.54rem !important;
  }

  /* ---------- Testimonials ---------- */
  .testimonial-stage {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .testimonial-rail {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .testimonial-rail-track {
    width: min(120px, 34vw) !important;
  }
  .testimonial-slides {
    min-height: 0 !important;
  }
  .testimonial-slide blockquote {
    font-size: clamp(1.8rem, 8vw, 2.55rem) !important;
    line-height: 1.07 !important;
  }
  .testimonial-stage-top p {
    font-size: 0.77rem !important;
  }
  .testimonial-linkedin-source {
    font-size: 0.65rem !important;
  }

  /* ---------- Experience ---------- */
  .timeline-line,
  .timeline-progress {
    left: 15px !important;
  }
  .timeline-item {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    padding-bottom: 38px !important;
  }
  .timeline-year {
    grid-column: 2 !important;
  }
  .timeline-dot {
    grid-column: 1 !important;
    margin-left: 6px !important;
  }
  .timeline-content {
    grid-column: 2 !important;
    padding-left: 0 !important;
  }
  .timeline-content h3 {
    font-size: 1.55rem !important;
  }
  .timeline-content .role {
    font-size: 0.78rem !important;
  }
  .timeline-content p {
    font-size: 0.85rem !important;
  }

  /* ---------- Contact ---------- */
  .contact-v34-inner {
    padding: 68px 0 !important;
    gap: 34px !important;
  }
  .contact-v34 h2 {
    font-size: clamp(3.25rem, 14vw, 4.5rem) !important;
  }
  .contact-v34-lead {
    font-size: 0.9rem !important;
  }
  .contact-v34-panel {
    padding: 15px !important;
    border-radius: 20px !important;
  }
  .contact-primary,
  .contact-action {
    grid-template-columns: 40px minmax(0, 1fr) 18px !important;
  }
  .contact-primary strong,
  .contact-action strong {
    font-size: 0.76rem !important;
    overflow-wrap: anywhere !important;
  }
  .contact-platforms > div {
    gap: 6px !important;
  }

  /* ---------- Footer ---------- */
  .footer-nav {
    gap: 12px !important;
  }
  .social-platforms {
    gap: 8px !important;
  }
}

/* Very narrow devices (320–360px). */
@media (max-width: 360px) {
  .hero.hero-v12 h1.hero-v12-title {
    font-size: clamp(2.65rem, 13vw, 3.4rem) !important;
  }
  .hero-v12-person {
    height: 390px !important;
    min-height: 390px !important;
  }
  .hero-v12-person-img {
    height: 380px !important;
    max-height: 380px !important;
  }
  .hero-v12-kpi {
    padding: 13px !important;
  }
  .qa-capability-flow > div,
  .sales-capability-flow > div {
    padding: 7px 4px !important;
  }
  .qa-capability-flow > div strong,
  .sales-capability-flow > div strong {
    font-size: 0.54rem !important;
  }
  .ai-reel-card {
    flex-basis: 82vw !important;
  }
  .testimonial-slide blockquote {
    font-size: clamp(1.7rem, 8.5vw, 2.25rem) !important;
  }
  .contact-v34 h2 {
    font-size: clamp(3rem, 14vw, 3.8rem) !important;
  }
}

/* ===== v47-tablet-nav-fix ===== */
/* Use the compact mobile menu on tablets too; six desktop links do not fit comfortably. */
@media (min-width: 701px) and (max-width: 900px) {
  .nav-holder {
    top: 8px !important;
    width: min(620px, calc(100% - 24px)) !important;
  }
  .nav-pill,
  .nav-pill.compact {
    width: 100% !important;
    height: auto !important;
    min-height: 64px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 7px 8px 7px 11px !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(225, 230, 237, 0.96) !important;
    box-shadow: 0 10px 32px rgba(14, 27, 43, 0.1) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }
  .nav-pill .brand,
  .nav-pill.compact .brand {
    grid-column: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: auto !important;
  }
  .nav-pill .brand span,
  .nav-pill.compact .brand span {
    display: inline !important;
  }
  .nav-pill .brand-mark,
  .nav-pill.compact .brand-mark {
    width: 46px !important;
    height: 46px !important;
  }
  .nav-pill .nav-toggle,
  .nav-pill.compact .nav-toggle {
    display: block !important;
    grid-column: 2 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    background: #f3f5f8 !important;
  }
  .nav-pill .nav-links,
  .nav-pill.compact .nav-links,
  .nav-pill .nav-cta,
  .nav-pill.compact .nav-cta {
    display: none !important;
  }
  .nav-pill.mobile-open .nav-links {
    grid-column: 1/-1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 8px !important;
    padding: 8px 4px 4px !important;
    border-top: 1px solid #e7ebef !important;
  }
  .nav-pill.mobile-open .nav-links a {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 0.8rem !important;
  }
  .nav-pill.mobile-open .nav-links a:after {
    display: none !important;
  }
  .nav-pill.mobile-open .nav-cta {
    grid-column: 1/-1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    margin: 4px !important;
    width: calc(100% - 8px) !important;
  }
  .nav-pill.mobile-open .nav-toggle:before {
    top: 21px !important;
    transform: rotate(45deg) !important;
  }
  .nav-pill.mobile-open .nav-toggle:after {
    top: 21px !important;
    transform: rotate(-45deg) !important;
  }
}

/* ===== v48-hero-responsive-rebuild ===== */
/* =========================
   V48 — TRUE RESPONSIVE HERO
   Desktop remains unchanged. Tablet and mobile recompose the hero.
   ========================= */

/* The desktop hero's minimum column widths become unsafe before ~1100px.
   Switch to a dedicated tablet composition before that happens. */
@media (max-width: 1100px) and (min-width: 701px) {
  .hero.hero-v12 {
    min-height: auto !important;
    padding: 92px 0 42px !important;
    overflow: hidden !important;
  }

  .hero-v12-wrap {
    width: min(100% - 36px, 980px) !important;
    min-height: 0 !important;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 24px !important;
    row-gap: 22px !important;
    align-items: end !important;
  }

  .hero-v12-copy {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 900px !important;
    padding: 24px 0 4px !important;
    align-self: start !important;
  }

  .hero.hero-v12 h1.hero-v12-title {
    max-width: 800px !important;
    font-size: clamp(3.45rem, 7.4vw, 5rem) !important;
    line-height: 0.92 !important;
  }

  .hero-v12-intro {
    max-width: 690px !important;
    font-size: 1rem !important;
  }

  .hero-v12-actions {
    max-width: 478px !important;
  }

  .hero-v12-identity {
    margin-top: 24px !important;
  }

  .hero-v12-stats {
    max-width: 520px !important;
    margin-top: 22px !important;
  }

  /* Portrait sits beside the KPI stack on tablets. */
  .hero-v12-person {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 520px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: end !important;
    overflow: visible !important;
  }

  .hero-v12-person-glow {
    width: min(390px, 42vw) !important;
    height: min(390px, 42vw) !important;
    bottom: 18px !important;
  }

  .hero-v12-person-img {
    width: auto !important;
    height: 500px !important;
    max-width: 118% !important;
    max-height: none !important;
    transform: translate(0, 42px) scale(1.06) !important;
    transform-origin: 50% 100% !important;
  }

  .hero-v12-kpis {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
    align-self: center !important;
  }

  .hero-v12-kpi {
    width: 100% !important;
    padding: 14px 15px !important;
    border-radius: 16px !important;
  }

  .hero-v12-kpi-top.simple {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 7px !important;
  }

  .hero-v12-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }

  .hero-v12-kpi-title h3 {
    font-size: 0.9rem !important;
  }

  .hero-v12-kpi-title p {
    font-size: 0.64rem !important;
  }

  .qa-capability-body,
  .sales-capability-body {
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .hero-v12-ai-body {
    margin-top: 8px !important;
    grid-template-columns: 1.28fr 0.72fr !important;
    gap: 10px !important;
  }

  .hero-v12-ai-preview {
    height: 105px !important;
  }

  .hero-v12-checks {
    gap: 7px !important;
  }

  .hero-v12-checks li {
    font-size: 0.64rem !important;
    padding-left: 23px !important;
  }

  .hero-v12-checks li::before {
    width: 18px !important;
    height: 18px !important;
  }

  .hero-v12-corner-note {
    display: none !important;
  }
}

/* Phones: a clean single-column hero with proportional portrait and cards. */
@media (max-width: 700px) {
  .hero.hero-v12 {
    min-height: auto !important;
    padding: 82px 0 34px !important;
    overflow: hidden !important;
  }

  .hero-v12-wrap {
    width: calc(100% - 24px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 0 !important;
    align-items: start !important;
  }

  .hero-v12-copy {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 24px 0 0 !important;
  }

  .hero-v12-copy .eyebrow {
    margin-bottom: 13px !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.16em !important;
  }

  .hero.hero-v12 h1.hero-v12-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2.7rem, 12.6vw, 3.75rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.058em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Put the rotating word on its own full line on phones.
     This removes the fixed 5.9em inline width that can push the title outside. */
  .hero-v12-title .word-window {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 1.02em !important;
    margin-top: 0.03em !important;
    white-space: nowrap !important;
  }

  .hero-v12-title .word-track {
    width: max-content !important;
  }

  .hero-v12-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  /* Keep the three requested CTAs on one line, but make them mobile-sized. */
  .hero-v12-actions {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 19px !important;
  }

  .hero-v12-actions > .btn,
  .hero-v12-actions > .resume-download,
  .hero-v12-actions .resume-summary {
    width: 100% !important;
    min-width: 0 !important;
  }

  .hero-v12-actions .btn,
  .hero-v12-actions .resume-summary {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 7px !important;
    gap: 4px !important;
    border-radius: 9px !important;
    font-size: clamp(0.56rem, 2.45vw, 0.66rem) !important;
    white-space: nowrap !important;
  }

  .hero-v12-actions .btn-primary,
  .hero-v12-actions .resume-summary,
  .hero-v12-actions .hero-v12-outline {
    min-width: 0 !important;
  }

  .hero-v12-actions .resume-download-hero {
    position: static !important;
  }

  .hero-v12-actions .resume-download-icon,
  .hero-v12-actions .resume-chevron {
    display: none !important;
  }

  .hero-v12-actions .resume-menu-panel {
    position: absolute !important;
    z-index: 30 !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 8px) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .hero-v12-identity {
    margin-top: 22px !important;
  }

  .hero-v12-identity h2 {
    font-size: 1.65rem !important;
    line-height: 1.04 !important;
  }

  .hero-v12-identity p {
    max-width: 100% !important;
    margin-top: 7px !important;
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }

  .hero-v12-signature {
    margin-top: 12px !important;
  }

  .hero-v12-signature em {
    font-size: 1.15rem !important;
  }

  .hero-v12-stats {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    margin-top: 20px !important;
  }

  .hero-v12-stats > div {
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 7px !important;
    text-align: center !important;
  }

  .hero-v12-stats > div:first-child {
    padding-left: 0 !important;
  }

  .hero-v12-stats > div:last-child {
    padding-right: 0 !important;
  }

  .hero-v12-stats small {
    font-size: 0.46rem !important;
    letter-spacing: 0.08em !important;
  }

  .hero-v12-stats strong {
    margin-top: 4px !important;
    font-size: 1rem !important;
  }

  /* Portrait scales from the actual viewport instead of keeping a fixed 410px image. */
  .hero-v12-person {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: clamp(305px, 88vw, 390px) !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    align-items: flex-end !important;
  }

  .hero-v12-person-glow {
    width: min(88vw, 360px) !important;
    height: min(88vw, 360px) !important;
    bottom: 8px !important;
  }

  .hero-v12-person-img {
    width: auto !important;
    height: clamp(315px, 91vw, 405px) !important;
    max-width: 112% !important;
    max-height: none !important;
    transform: translate(0, 28px) scale(1.04) !important;
    transform-origin: 50% 100% !important;
  }

  .hero-v12-kpis {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  .hero-v12-kpi {
    width: 100% !important;
    height: auto !important;
    padding: 13px 14px !important;
    border-radius: 15px !important;
    animation: none !important;
    transform: none !important;
  }

  .hero-v12-kpi-top.simple {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 7px !important;
  }

  .hero-v12-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    font-size: 1.05rem !important;
  }

  .hero-v12-kpi-title h3 {
    font-size: 0.88rem !important;
  }

  .hero-v12-kpi-title p {
    margin-top: 2px !important;
    font-size: 0.62rem !important;
    line-height: 1.35 !important;
  }

  .qa-capability-body,
  .sales-capability-body {
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .qa-capability-flow,
  .sales-capability-flow {
    gap: 5px !important;
  }

  .qa-capability-flow > div,
  .sales-capability-flow > div {
    padding: 7px 5px !important;
  }

  .qa-capability-focus span,
  .sales-capability-focus span {
    padding: 4px 6px !important;
    font-size: 0.43rem !important;
  }

  .hero-v12-ai-body {
    grid-template-columns: minmax(0, 1.25fr) minmax(92px, 0.75fr) !important;
    gap: 9px !important;
    margin-top: 8px !important;
  }

  .hero-v12-ai-preview {
    height: 104px !important;
  }

  .hero-v12-monitor {
    right: 12px !important;
    width: 88px !important;
  }

  .hero-v12-checks {
    gap: 6px !important;
  }

  .hero-v12-checks li {
    padding-left: 22px !important;
    font-size: 0.61rem !important;
  }

  .hero-v12-checks li::before {
    width: 17px !important;
    height: 17px !important;
  }

  .hero-v12-bg.hero-v12-dots,
  .hero-v12-plant {
    opacity: 0.14 !important;
  }
}

/* Extra-small phones: still keep the CTA row intact without clipping. */
@media (max-width: 360px) {
  .hero-v12-wrap {
    width: calc(100% - 18px) !important;
  }

  .hero.hero-v12 h1.hero-v12-title {
    font-size: clamp(2.52rem, 12.4vw, 3.15rem) !important;
  }

  .hero-v12-actions {
    gap: 4px !important;
  }

  .hero-v12-actions .btn,
  .hero-v12-actions .resume-summary {
    padding: 0 4px !important;
    font-size: 0.54rem !important;
  }

  .hero-v12-person {
    height: 292px !important;
  }

  .hero-v12-person-img {
    height: 310px !important;
  }

  .hero-v12-stats strong {
    font-size: 0.92rem !important;
  }

  .hero-v12-kpi {
    padding: 12px !important;
  }
}

/* ===== v49-mobile-clipping-and-flow-fixes ===== */
/* =========================
   V49 — MOBILE CLIPPING + FLOW FIXES
   ========================= */

@media (max-width: 700px) {
  /* ============================================================
     1. HERO KPI CARDS — NO INNER CONTENT CLIPPING
     ============================================================ */
  .hero-v12-kpis {
    overflow: visible !important;
    align-items: stretch !important;
  }

  .hero-v12-kpi {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .hero-v12-kpi-top,
  .hero-v12-kpi-top.simple,
  .hero-v12-kpi-title {
    min-width: 0 !important;
  }

  .hero-v12-kpi-title h3,
  .hero-v12-kpi-title p {
    max-width: 100% !important;
    white-space: normal !important;
  }

  /* AI KPI was still trying to preserve the desktop preview/checklist columns.
     Stack the preview first, then show the four capabilities in a 2×2 grid. */
  .hero-v12-ai-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .hero-v12-ai-preview {
    width: 100% !important;
    height: 112px !important;
  }

  .hero-v12-checks {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 10px !important;
  }

  .hero-v12-checks li {
    min-width: 0 !important;
    width: auto !important;
    padding-left: 22px !important;
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .hero-v12-monitor {
    right: 18px !important;
  }

  /* Keep QA / Sales flow cells inside their card at very narrow widths. */
  .qa-capability-flow,
  .sales-capability-flow {
    width: 100% !important;
  }

  .qa-capability-flow > div,
  .sales-capability-flow > div {
    min-width: 0 !important;
  }

  .qa-capability-flow > div strong,
  .sales-capability-flow > div strong {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* ============================================================
     2. SELECTED WORK — AI VIDEOS
     Show all three vertically. No hidden horizontal carousel.
     ============================================================ */
  .ai-real-work-scene {
    overflow: visible !important;
  }

  .ai-real-shell {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 13px !important;
  }

  .ai-reel-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }

  .ai-reel-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    scroll-snap-align: none !important;
  }

  .ai-reel-thumb {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
  }

  .ai-reel-info {
    padding: 10px 11px 8px !important;
  }

  .ai-reel-info strong {
    font-size: 0.76rem !important;
  }

  .ai-reel-info span {
    font-size: 0.54rem !important;
  }

  .ai-reel-metrics {
    min-width: 0 !important;
  }

  .ai-reel-metrics > div {
    min-width: 0 !important;
    padding: 8px 3px !important;
  }

  .ai-reel-metrics b {
    font-size: 0.72rem !important;
  }

  .ai-reel-metrics small {
    font-size: 0.46rem !important;
  }

  .ai-gpt-workflow {
    margin-top: 14px !important;
  }

  /* ============================================================
     3. SELECTED WORK — SALES RESEARCH
     Remove fixed-size/absolute desktop dashboard on mobile.
     ============================================================ */
  .sales-scene,
  .sales-research-scene {
    overflow: visible !important;
  }

  .sales-scene::before,
  .sales-network {
    display: none !important;
  }

  .pipeline-dashboard.research-dashboard,
  .research-dashboard {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
    border-radius: 18px !important;
  }

  .pipeline-sidebar {
    display: none !important;
  }

  .pipeline-main,
  .research-main {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px !important;
  }

  .pipeline-topbar {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .pipeline-topbar > div {
    min-width: 0 !important;
    flex: 1 1 150px !important;
  }

  .pipeline-topbar button {
    flex: 0 0 auto !important;
  }

  .research-flow-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 11px !important;
    overflow: visible !important;
  }

  .research-flow-head {
    width: 100% !important;
    gap: 8px !important;
  }

  .research-process {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .research-step {
    width: 100% !important;
    min-width: 0 !important;
  }

  .research-capability-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    margin-top: 9px !important;
  }

  .research-capability-row .glass-mini {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* ============================================================
     4. EXPERIENCE — TOP-DOWN READING ORDER
     Heading -> paragraph -> résumé -> timeline
     ============================================================ */
  .experience .section-head,
  .experience .experience-head {
    display: block !important;
    width: 100% !important;
    margin-bottom: 34px !important;
  }

  .experience .section-head > div:first-child {
    width: 100% !important;
  }

  .experience .section-head h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    font-size: clamp(3rem, 13vw, 4.25rem) !important;
    line-height: 0.93 !important;
  }

  .experience-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 22px !important;
  }

  .experience-intro > p {
    width: 100% !important;
    max-width: 620px !important;
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
  }

  .experience-resume-links {
    width: 100% !important;
    margin-top: 16px !important;
    align-items: center !important;
  }

  .timeline-wrap {
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* Make the same fixes robust even at the 280px width shown in testing. */
@media (max-width: 360px) {
  .hero-v12-ai-preview {
    height: 100px !important;
  }

  .hero-v12-checks {
    gap: 6px !important;
  }

  .hero-v12-checks li {
    padding-left: 20px !important;
    font-size: 0.58rem !important;
  }

  .ai-real-shell,
  .pipeline-main,
  .research-main {
    padding: 10px !important;
  }

  .ai-reel-thumb {
    aspect-ratio: 1 / 1 !important;
  }

  .pipeline-topbar {
    display: block !important;
  }

  .pipeline-topbar button {
    margin-top: 8px !important;
    max-width: 100% !important;
  }

  .research-flow-card {
    padding: 11px !important;
  }

  .research-step {
    padding: 10px !important;
  }

  .experience .section-head h2 {
    font-size: clamp(2.75rem, 13vw, 3.55rem) !important;
  }

  .experience-intro {
    margin-top: 18px !important;
  }

  .experience-resume-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    align-items: stretch !important;
  }

  .experience-resume-links > span {
    margin: 0 0 1px !important;
  }

  .experience-resume-links a {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }
}

/* ===== v50-mobile-hero-portrait-first ===== */
/* =========================
   V50 — MOBILE HERO RECOMPOSED
   Show portrait first, then compact identity + badges + CTAs.
   ========================= */
.hero-v12-mobile-intro {
  display: none;
}

@media (max-width: 700px) {
  .hero.hero-v12 {
    padding: 82px 0 30px !important;
  }

  .hero-v12-wrap {
    width: calc(100% - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  /* Hide the desktop-first copy block on phones. */
  .hero-v12-copy {
    display: none !important;
  }

  .hero-v12-person {
    order: 1 !important;
    height: clamp(360px, 58vh, 500px) !important;
    margin: 2px 0 0 !important;
    align-items: flex-end !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .hero-v12-person-glow {
    width: min(92vw, 390px) !important;
    height: min(92vw, 390px) !important;
    bottom: 12px !important;
  }

  .hero-v12-person-img {
    height: clamp(370px, 62vh, 520px) !important;
    max-width: 118% !important;
    transform: translate(0, 20px) scale(1.06) !important;
    transform-origin: 50% 100% !important;
  }

  .hero-v12-mobile-intro {
    display: flex !important;
    order: 2 !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: -42px !important;
    position: relative !important;
    z-index: 5 !important;
    padding: 0 2px !important;
  }

  .hero-v12-mobile-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 10px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.74) !important;
    border: 1px solid rgba(11, 28, 61, 0.08) !important;
    box-shadow: 0 8px 24px rgba(18, 25, 38, 0.08) !important;
    font-size: 0.56rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #65728a !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  .hero-v12-mobile-name {
    margin: 0 !important;
    font-size: clamp(1.9rem, 8vw, 2.6rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em !important;
    color: #0a234f !important;
  }

  .hero-v12-mobile-roles {
    margin: 8px auto 0 !important;
    max-width: 330px !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    color: #5c6980 !important;
  }

  .hero-v12-mobile-roles span {
    display: inline-block !important;
    margin: 0 7px !important;
    color: #90a0b8 !important;
  }

  .hero-v12-mobile-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 14px auto 0 !important;
  }

  .hero-v12-mobile-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(11, 28, 61, 0.08) !important;
    box-shadow: 0 10px 28px rgba(18, 25, 38, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #182847 !important;
  }

  .hero-v12-mobile-badge i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    font-size: 0.62rem !important;
    font-style: normal !important;
    color: #fff !important;
  }

  .hero-v12-mobile-badge.qa i {
    background: #4c8dff !important;
  }
  .hero-v12-mobile-badge.ai i {
    background: #8564ff !important;
  }
  .hero-v12-mobile-badge.sales i {
    background: #39c887 !important;
  }

  .hero-v12-mobile-signature {
    margin-top: 14px !important;
  }

  .hero-v12-mobile-signature em {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 1.32rem !important;
    font-style: normal !important;
    color: #9f734d !important;
    letter-spacing: 0.01em !important;
  }

  .hero-v12-mobile-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 15px !important;
  }

  .hero-v12-mobile-actions .btn,
  .hero-v12-mobile-actions .resume-summary {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 7px !important;
    border-radius: 10px !important;
    font-size: clamp(0.56rem, 2.45vw, 0.66rem) !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }

  .hero-v12-mobile-actions .resume-download-icon,
  .hero-v12-mobile-actions .resume-chevron {
    display: none !important;
  }

  .hero-v12-mobile-actions .resume-download-hero {
    position: relative !important;
  }

  .hero-v12-mobile-actions .resume-menu-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 8px) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    z-index: 20 !important;
  }

  .hero-v12-kpis {
    order: 3 !important;
    margin-top: 16px !important;
  }

  .hero-v12-corner-note {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .hero.hero-v12 {
    padding: 78px 0 26px !important;
  }
  .hero-v12-wrap {
    width: calc(100% - 18px) !important;
  }
  .hero-v12-person {
    height: 340px !important;
  }
  .hero-v12-person-img {
    height: 348px !important;
  }
  .hero-v12-mobile-name {
    font-size: 1.72rem !important;
  }
  .hero-v12-mobile-roles {
    font-size: 0.74rem !important;
    max-width: 280px !important;
  }
  .hero-v12-mobile-badges {
    gap: 6px !important;
  }
  .hero-v12-mobile-badge {
    padding: 7px 10px !important;
    font-size: 0.66rem !important;
  }
  .hero-v12-mobile-actions {
    gap: 4px !important;
  }
  .hero-v12-mobile-actions .btn,
  .hero-v12-mobile-actions .resume-summary {
    font-size: 0.54rem !important;
    padding: 0 4px !important;
  }
}

/* ===== v51-mobile-hero-name-readability ===== */
/* =========================
   V51 — Mobile hero name readability
   Improve contrast over the suit without adding a heavy outline.
   ========================= */
@media (max-width: 700px) {
  .hero-v12-mobile-intro {
    position: relative !important;
  }

  .hero-v12-mobile-name,
  .hero-v12-mobile-roles {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero-v12-mobile-name {
    display: inline-block !important;
    margin: 0 auto !important;
    padding: 8px 14px 6px !important;
    border-radius: 16px !important;
    background: rgba(255, 252, 247, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow:
      0 10px 26px rgba(15, 24, 38, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
    backdrop-filter: blur(12px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.05) !important;
    -webkit-text-stroke: 0.45px rgba(255, 255, 255, 0.92) !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.78),
      0 2px 14px rgba(255, 255, 255, 0.38) !important;
  }

  .hero-v12-mobile-roles {
    display: inline-block !important;
    margin: 8px auto 0 !important;
    padding: 7px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 252, 247, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    box-shadow: 0 8px 22px rgba(15, 24, 38, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.28) !important;
  }

  .hero-v12-mobile-roles span {
    color: #97a4b8 !important;
  }
}

@media (max-width: 360px) {
  .hero-v12-mobile-name {
    padding: 7px 12px 5px !important;
    border-radius: 14px !important;
  }
  .hero-v12-mobile-roles {
    padding: 6px 10px !important;
    border-radius: 12px !important;
  }
}

/* ===== v52-featured-project-desktop-fix ===== */
/* =========================
   V52 — FEATURED AI PROJECT DESKTOP FIX
   Remove the old sticky/scroll-expansion behavior on desktop.
   Keep the approved mobile presentation untouched.
   ========================= */
@media (min-width: 701px) {
  .video-section.video-real-project {
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 112px 0 88px !important;
    background: var(--navy) !important;
  }

  .video-real-project .video-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .video-real-project .video-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: min(1180px, calc(100% - 64px)) !important;
    margin: 0 auto 46px !important;
    z-index: 3 !important;
  }

  .video-real-project .video-top h2 {
    max-width: 900px !important;
    margin: 10px 0 0 !important;
    font-size: clamp(3.4rem, 5.8vw, 6rem) !important;
    line-height: 0.92 !important;
  }

  .video-real-project #videoFrame,
  .video-real-project .real-video-frame {
    position: relative !important;
    width: min(1040px, calc(100% - 80px)) !important;
    min-width: 0 !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .video-real-project .featured-reel-copy {
    padding: clamp(26px, 3vw, 44px) !important;
  }

  .video-real-project .featured-reel-copy h3 {
    font-size: clamp(2rem, 3.1vw, 3.35rem) !important;
  }

  .video-real-project .featured-reel-copy p {
    max-width: 560px !important;
    font-size: clamp(0.76rem, 0.88vw, 0.92rem) !important;
  }

  .video-real-project .featured-metrics {
    gap: 8px !important;
    margin-top: 20px !important;
  }

  .video-real-project .featured-metrics > div {
    min-width: 0 !important;
    padding: 10px !important;
  }

  .video-real-project .video-process {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(1040px, calc(100% - 80px)) !important;
    margin: 38px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  .video-real-project .video-process span {
    min-width: 0 !important;
    text-align: center !important;
    padding: 11px 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #9fb0c4 !important;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .video-section.video-real-project {
    padding: 92px 0 72px !important;
  }

  .video-real-project .video-top {
    width: calc(100% - 40px) !important;
    margin-bottom: 34px !important;
  }

  .video-real-project #videoFrame,
  .video-real-project .real-video-frame {
    width: calc(100% - 40px) !important;
  }

  .video-real-project .video-process {
    width: calc(100% - 40px) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .video-real-project .video-process span {
    font-size: 0.56rem !important;
    letter-spacing: 0.07em !important;
  }
}

/* ===== portfolio-video-modal ===== */
.portfolio-video-modal[hidden] {
  display: none !important;
}

.portfolio-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.portfolio-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 23, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio-video-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: 90vh;
  padding: 20px;
  border-radius: 24px;
  background: #0d1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  overflow: auto;
}

.portfolio-video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.portfolio-video-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-right: 40px;
}

.portfolio-video-head small {
  color: #97abc4;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.portfolio-video-head h3 {
  margin: 7px 0 0;
  color: #fff;
}

.portfolio-video-original {
  align-self: flex-start;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #10264a;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-video-frame-wrap {
  margin: 18px auto 0;
  aspect-ratio: 9 / 16;
  height: min(70vh, 700px);
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #091120;
}

.portfolio-video-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio-video-help {
  margin: 12px 0 0;
  color: #9fb0c4;
  font-size: 0.7rem;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .portfolio-video-modal {
    padding: 14px;
  }

  .portfolio-video-dialog {
    padding: 16px;
  }

  .portfolio-video-frame-wrap {
    height: min(65vh, 600px);
  }
}

/* =========================================================
   AI CREATIVE GALLERY
   ========================================================= */

.ai-gallery-section {
  background: #f7f4ee;
  overflow: hidden;
}

.ai-gallery-wrap {
  padding-top: 30px;
  padding-bottom: 30px;
}

.ai-gallery-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 52px;
}

.ai-gallery-head h2 {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #0d2348;
}

.ai-gallery-head h2 span {
  color: #9b7556;
}

.ai-gallery-intro {
  max-width: 470px;
}

.ai-gallery-intro p {
  margin: 0;
  color: #646e80;
  font-size: 0.96rem;
  line-height: 1.75;
}

.ai-gallery-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ai-gallery-types span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 35, 72, 0.1);
  background: rgba(255, 255, 255, 0.65);
  color: #536078;
  font-size: 0.62rem;
  font-weight: 700;
}

/* GRID */

.ai-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* GALLERY ITEM */

.ai-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background: #e9e5de;
  text-decoration: none;
  isolation: isolate;
}

/* IMAGE */

.ai-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.4s ease;
}

/* DARK HOVER OVERLAY */

.ai-gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(7, 18, 38, 0.88) 0%,
    rgba(7, 18, 38, 0.35) 45%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* IMAGE HOVER */

.ai-gallery-item:hover img {
  transform: scale(1.055);
}

.ai-gallery-item:hover .ai-gallery-overlay {
  opacity: 1;
}

/* CONTENT */

.ai-gallery-item-copy {
  transform: translateY(12px);
  transition: transform 0.35s ease;
}

.ai-gallery-item:hover .ai-gallery-item-copy {
  transform: translateY(0);
}

.ai-gallery-item-copy > span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ai-gallery-item-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 1.7vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.ai-gallery-item-copy p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
  line-height: 1.4;
}

/* PLAY / VIEW BUTTON */

.ai-gallery-action {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #10264a;
  font-size: 0.72rem;
  transform: translateY(12px);
  transition: transform 0.35s ease;
}

.ai-gallery-item:hover .ai-gallery-action {
  transform: translateY(0);
}

/* FOOTER */

.ai-gallery-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
}

.ai-gallery-footer > span {
  height: 1px;
  flex: 1;
  background: rgba(12, 35, 72, 0.12);
}

.ai-gallery-footer p {
  margin: 0;
  color: #656f7e;
  font-size: 0.76rem;
}

.ai-gallery-footer strong {
  color: #0d2348;
}

/* TABLET */

@media (max-width: 900px) {
  .ai-gallery-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ai-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .ai-gallery-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .ai-gallery-wrap {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ai-gallery-head {
    margin-bottom: 30px;
  }

  .ai-gallery-head h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .ai-gallery-intro p {
    font-size: 0.82rem;
  }

  .ai-gallery-footer {
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .ai-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ai-gallery-item {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }

  /* No hover on phones — keep useful information visible */
  .ai-gallery-overlay {
    opacity: 1;
    padding: 20px;
  }

  .ai-gallery-item-copy,
  .ai-gallery-action {
    transform: none;
  }
}

/* VERY SMALL */

@media (max-width: 360px) {
  .ai-gallery-types span {
    font-size: 0.57rem;
  }
}

/* =========================================================
   QA CASE STUDIES — REAL PROJECT VISUALS
   ========================================================= */

.qa-recording-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.qa-recording-dimension {
  padding: 15px;
  border-radius: 14px;
  background: #f5f7fa;
  border: 1px solid rgba(15, 41, 78, 0.07);
}

.qa-recording-dimension > small {
  display: block;
  margin-bottom: 9px;
  color: #67707f;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qa-recording-dimension > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.qa-recording-dimension span {
  padding: 5px 7px;
  border-radius: 7px;
  background: #fff;
  color: #19365e;
  font-size: 0.58rem;
  font-weight: 700;
}

/* SEGMENTATION */

.qa-recording-rule {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #10284d;
  color: #fff;
}

.qa-recording-rule-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.qa-recording-rule-head small {
  color: #91a7c5;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qa-recording-rule-head strong {
  color: #fff;
  font-size: 0.72rem;
}

.qa-segment-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qa-segment-option {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.qa-setting {
  display: inline-block;
  margin-bottom: 12px;
  color: #9eb5d3;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.qa-flow-row,
.qa-single-recording {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qa-flow-row > div,
.qa-single-recording > div {
  flex: 1;
  min-width: 0;
}

.qa-flow-row small,
.qa-single-recording small {
  display: block;
  color: #91a2ba;
  font-size: 0.48rem;
  line-height: 1.3;
}

.qa-flow-row strong,
.qa-single-recording strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 0.64rem;
}

.qa-flow-row i,
.qa-single-recording i {
  color: #6889b3;
  font-size: 0.66rem;
  font-style: normal;
}

.qa-segment-option > p {
  margin: 10px 0 0;
  color: #93a8c3;
  font-size: 0.55rem;
  line-height: 1.5;
}

/* HOLD VALIDATION */

.qa-hold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.qa-hold-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px;
  border-radius: 14px;
  text-align: center;
}

.qa-hold-card.mono {
  background: #f1f5fb;
}

.qa-hold-card.dual {
  background: #eef8f4;
}

.qa-hold-card > span {
  margin-bottom: 10px;
  color: #637082;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.qa-hold-card strong {
  color: #18365e;
  font-size: 0.7rem;
}

.qa-hold-arrow {
  margin: 7px 0;
  color: #8091a8;
}

.qa-hold-card b {
  color: #102b53;
  font-size: 0.68rem;
}

.qa-hold-card.dual b {
  color: #147454;
}

.qa-hold-card small {
  margin-top: 4px;
  color: #5c7468;
  font-size: 0.53rem;
}

/* MY ROLE */

.qa-case-role {
  margin-top: 17px;
}

.qa-case-role > small {
  display: block;
  margin-bottom: 8px;
  color: #8995a5;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qa-case-role > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qa-case-role span {
  padding: 6px 8px;
  border-radius: 7px;
  background: #edf1f5;
  color: #536279;
  font-size: 0.55rem;
  font-weight: 700;
}

/* DNC INVESTIGATION */

.qa-investigation-flow {
  display: grid;
  justify-items: stretch;
  gap: 6px;
  margin: 18px 0;
}

.qa-investigation-flow > div {
  padding: 11px 13px;
  border-radius: 11px;
  background: #f4f6f9;
  border: 1px solid rgba(14, 38, 73, 0.06);
}

.qa-investigation-flow > div small {
  color: #697078;
  font-size: 0.48rem;
}

.qa-investigation-flow > div strong {
  display: block;
  margin-top: 2px;
  color: #12315b;
  font-size: 0.7rem;
}

.qa-investigation-flow > div span {
  display: block;
  margin-top: 2px;
  color: #646f82;
  font-size: 0.55rem;
}

.qa-investigation-flow > i {
  text-align: center;
  color: #9ba7b8;
  font-style: normal;
}

.qa-mismatch-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  padding: 10px;
  border-radius: 10px;
  background: #fff4ee;
}

.qa-mismatch-result span {
  color: #8c6754;
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qa-mismatch-result strong {
  color: #c26342;
}

/* AUTOMATION */

.qa-automation-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  margin: 20px 0;
}

.qa-automation-flow > div {
  min-width: 0;
  padding: 11px 7px;
  border-radius: 10px;
  background: #f4f6f9;
  text-align: center;
}

.qa-automation-flow > div > span {
  display: block;
  color: #686f79;
  font-size: 0.45rem;
}

.qa-automation-flow strong {
  display: block;
  margin-top: 4px;
  color: #14345f;
  font-size: 0.63rem;
}

.qa-automation-flow small {
  display: block;
  margin-top: 3px;
  color: #67707d;
  font-size: 0.48rem;
  line-height: 1.3;
}

.qa-automation-flow > i {
  color: #91a0b3;
  font-style: normal;
}

/* RESPONSIVE */

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

  .qa-segment-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .qa-recording-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .qa-hold-grid {
    grid-template-columns: 1fr;
  }

  .qa-recording-rule-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .qa-flow-row {
    flex-direction: column;
    align-items: stretch;
  }

  .qa-flow-row > i {
    transform: rotate(90deg);
    text-align: center;
  }

  .qa-automation-flow {
    grid-template-columns: 1fr;
  }

  .qa-automation-flow > i {
    transform: rotate(90deg);
    text-align: center;
  }
}

@media (max-width: 360px) {
  .qa-recording-matrix {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   QA CASE STUDIES — NATURAL HEIGHT DESKTOP FIX
   ========================================================= */

@media (min-width: 901px) {
  /* When QA is active, let the work area grow with the content */
  .work-v25-stage:has(.qa-case-scene.active) {
    align-items: flex-start;
    min-height: 0;
    height: auto;
  }

  .work-visual-wrap:has(.qa-case-scene.active) {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .qa-case-scene.active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .qa-case-board {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Keep category selector visible while reading QA cases */
  .work-menu {
    position: sticky;
    top: 105px;
    align-self: flex-start;
  }

  /* Let the large QA card breathe */
  .qa-case-featured {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Case 02 + 03 remain underneath */
  .qa-case-small-grid {
    margin-top: 16px;
  }
}

@media (min-width: 1100px) {
  .work-v25-stage {
    grid-template-columns:
      minmax(390px, 0.78fr)
      minmax(0, 1.45fr);
  }
}

/* =========================================================
   QA CASE STUDIES — EXPAND TRIGGER + MODAL
   ========================================================= */

.qa-case-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #2f66d0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.qa-case-expand:hover {
  text-decoration: underline;
}

.qa-case-modal[hidden] {
  display: none !important;
}

.qa-case-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qa-case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 43, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.qa-case-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 85vh;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 41, 78, 0.08);
  box-shadow: 0 30px 90px rgba(15, 30, 55, 0.22);
  overflow: auto;
}

.qa-case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f8;
  color: #12274b;
  font-size: 0.9rem;
  cursor: pointer;
}

.qa-case-modal-head {
  padding-right: 48px;
  margin-bottom: 20px;
}

.qa-case-modal-head small {
  display: block;
  margin-bottom: 6px;
  color: #8f6e51;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qa-case-modal-head h3 {
  margin: 0;
  color: #0d2348;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

body.qa-case-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .qa-case-modal {
    padding: 14px;
  }

  .qa-case-modal-dialog {
    padding: 20px;
    max-height: 90vh;
  }
}

/* =========================================================
   QA CASE STUDIES — COVERFLOW CAROUSEL
   ========================================================= */

.qa-case-board {
  height: auto !important;
  overflow: visible !important;
}

.qa-case-carousel {
  position: relative;
  margin-top: 8px;
  padding: 0 44px;
}

.qa-case-carousel-track {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 16px;
  transition: height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.qa-case-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 88%);
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
}

.qa-case-slide .qa-case {
  height: 100%;
}

.qa-case-slide[data-position="active"] {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) scale(1) rotateY(0deg);
  pointer-events: auto;
}

.qa-case-slide[data-position="prev"] {
  z-index: 2;
  opacity: 0.4;
  filter: blur(2px);
  transform: translateX(-108%) scale(0.84) rotateY(10deg);
  pointer-events: auto;
  cursor: pointer;
}

.qa-case-slide[data-position="next"] {
  z-index: 2;
  opacity: 0.4;
  filter: blur(2px);
  transform: translateX(8%) scale(0.84) rotateY(-10deg);
  pointer-events: auto;
  cursor: pointer;
}

.qa-case-slide[data-position="hidden"] {
  z-index: 1;
  opacity: 0;
  filter: blur(3px);
  transform: translateX(-50%) scale(0.7);
  pointer-events: none;
}

.qa-case-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e6eb;
  border-radius: 50%;
  background: #fff;
  color: #274268;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 34, 52, 0.1);
  transform: translateY(-50%);
}

.qa-case-carousel-arrow:hover {
  background: #f3f6fa;
}

.qa-case-carousel-arrow.prev {
  left: 0;
}

.qa-case-carousel-arrow.next {
  right: 0;
}

.qa-case-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.qa-case-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7dee8;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.qa-case-carousel-dots button[aria-selected="true"] {
  background: #2f66d0;
  transform: scale(1.3);
}

@media (max-width: 700px) {
  .qa-case-carousel {
    padding: 0 30px;
  }

  .qa-case-slide {
    width: min(420px, 92%);
  }

  .qa-case-carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .qa-case-slide[data-position="prev"] {
    transform: translateX(-116%) scale(0.82) rotateY(10deg);
  }

  .qa-case-slide[data-position="next"] {
    transform: translateX(16%) scale(0.82) rotateY(-10deg);
  }
}

/* =========================================================
   HOW I WORK
   ========================================================= */

.how-i-work-section {
  background: #0d1d33;
  color: #fff;
  overflow: hidden;
}

.how-i-work-wrap {
  padding-top: clamp(40px, 4.5vw, 65px);
  padding-bottom: clamp(40px, 4.5vw, 65px);
}

/* HEADER */

.how-i-work-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 60px;
}

.how-i-work-head .eyebrow {
  color: #8fa3bd;
}

.how-i-work-head h2 {
  margin: 12px 0 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.how-i-work-head h2 span {
  color: #c7a88a;
}

.how-i-work-head > p {
  max-width: 500px;
  margin: 0;
  color: #9eacbf;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* FLOW */

.how-i-work-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.how-step {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.how-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.how-step-number {
  color: #7e90a8;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.how-step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #d5b899;
  font-size: 1rem;
}

.how-step-copy {
  margin-top: auto;
  padding-top: 28px;
}

.how-step-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.how-step-copy p {
  margin: 10px 0 0;
  color: #93a4b9;
  font-size: 0.68rem;
  line-height: 1.65;
}

.how-step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f647e;
  font-size: 0.85rem;
}

/* ROLE-SPECIFIC EXAMPLES */

.how-i-work-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.how-i-work-context > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.how-i-work-context small {
  color: #c7a88a;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-i-work-context span {
  color: #a7b4c5;
  font-size: 0.64rem;
  line-height: 1.45;
}

/* TABLET */

@media (max-width: 1050px) {
  .how-i-work-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .how-step-connector {
    display: none;
  }

  .how-step {
    padding: 18px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .how-i-work-wrap {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .how-i-work-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .how-i-work-head h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .how-i-work-head > p {
    font-size: 0.8rem;
  }

  .how-i-work-flow {
    grid-template-columns: 1fr;
  }

  .how-step {
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 20px;
  }

  .how-step-number {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

  .how-step-icon {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .how-step-copy {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
  }

  .how-step-copy p {
    font-size: 0.72rem;
  }

  .how-i-work-context {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }
}

/* =========================================================
   2026-09-28 — gallery filters, spec-work tile, CTA tile,
   image lightbox, contact facts, footer CI note
   ========================================================= */

.ai-gallery-types button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 35, 72, 0.1);
  background: rgba(255, 255, 255, 0.65);
  color: #536078;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.ai-gallery-types button:hover {
  border-color: rgba(12, 35, 72, 0.3);
}
.ai-gallery-types button.is-active {
  background: var(--v12-ink);
  border-color: var(--v12-ink);
  color: #fff;
}
.ai-gallery-item.is-filtered-out {
  display: none;
}

.ai-gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 27, 65, 0.88);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ai-gallery-cta {
  display: flex;
  align-items: flex-end;
  background: radial-gradient(
      120% 90% at 100% 0%,
      rgba(159, 121, 94, 0.22),
      transparent 60%
    ),
    var(--v12-ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-gallery-cta-inner {
  padding: 28px 26px;
  color: #fff;
}
.ai-gallery-cta-inner > span {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ai-gallery-cta-inner h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.ai-gallery-cta-inner p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.55;
}
.ai-gallery-cta-inner strong {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--v12-ink);
  font-size: 0.66rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}
.ai-gallery-cta:hover .ai-gallery-cta-inner strong {
  transform: translateX(4px);
}

/* image lightbox */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.image-modal[hidden] {
  display: none;
}
.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 38, 0.82);
}
.image-modal-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--v12-ink);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
}
.image-modal-head small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.image-modal-head h3 {
  margin: 4px 0 14px;
  padding-right: 48px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--v12-ink);
}
.image-modal-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #e9e5de;
}
.image-modal-brief {
  margin: 16px 0 0;
  color: var(--v12-copy);
  font-size: 0.8rem;
  line-height: 1.6;
}
body.image-modal-open {
  overflow: hidden;
}

/* contact facts */
.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid #e6e9ed;
}
.contact-facts > div {
  min-width: 0;
}
.contact-facts dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-facts dd {
  margin: 0;
  color: var(--v12-ink);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
}

/* footer CI note */
.footer-qa-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #a9b6c6;
  font-size: 0.72rem;
}
.footer-qa-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.footer-qa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(42, 168, 137, 0.2);
}

@media (max-width: 640px) {
  .contact-facts {
    grid-template-columns: 1fr;
  }
  .ai-gallery-cta-inner {
    padding: 22px 20px;
  }
}

/* 2026-09-29 — testimonial takeaway note styling */
.testimonial-note-label {
  display: block;
  margin-bottom: 4px;
  color: #9aa7b8;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.testimonial-continuation {
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid #e6e9ed;
}

/* 2026-09-29 — sales-research sample: QA-case-styled compact card,
   full detail behind "View full case study" (reuses .qa-case-modal /
   qa-case-modal.js — same mechanism as the QA case studies) */
.sales-sample-case {
  min-height: 0;
  padding: 22px 24px 22px 56px;
  max-width: 720px;
}
.sales-sample-case .qa-case-index {
  left: 24px;
  top: 22px;
  font-size: 0.62rem;
}
.sales-sample-case .qa-case-meta span {
  font-size: 0.5rem;
  padding: 6px 9px;
}
.sales-sample-case h5 {
  font-size: 1.1rem;
  margin-top: 10px;
}
.sales-sample-case > p {
  margin: 8px 0 0;
  color: #64758a;
  font-size: 0.68rem;
  line-height: 1.55;
  max-width: 640px;
}
.sales-sample-case .qa-case-result {
  margin-top: 12px;
}
.sales-sample-case .qa-case-result small {
  font-size: 0.5rem;
}
.sales-sample-case .qa-case-result strong {
  font-size: 0.68rem;
  line-height: 1.5;
}
.sales-sample-case .qa-case-role {
  margin-top: 12px;
}
.sales-sample-case .qa-case-role > small {
  font-size: 0.5rem;
}
.sales-sample-case .qa-case-role span {
  font-size: 0.56rem;
}
.sales-sample-case .qa-case-expand {
  margin-top: 14px;
  font-size: 0.66rem;
}

/* full detail rendered inside .qa-case-modal-body */
.sales-case-disclaimer {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fbeee0;
  border: 1px solid #e3c9a8;
  color: #6b4a24;
  font-size: 0.68rem;
  line-height: 1.55;
}
.sales-case-detail h4 {
  margin: 20px 0 8px;
  color: #0d2348;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}
.sales-case-detail h4:first-of-type {
  margin-top: 0;
}
.sales-case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}
.sales-case-table th,
.sales-case-table td {
  border: 1px solid #e6e9ed;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
.sales-case-table th {
  background: #0d2348;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.sales-case-table:not(.sales-case-leads) th {
  width: 100px;
  background: #f7f9fc;
  color: #526e95;
}
.sales-case-leads tr:nth-child(even) td {
  background: #f7f8fb;
}
.temp-hot {
  color: #b3261e;
  font-weight: 700;
}
.temp-warm {
  color: #9f6b00;
  font-weight: 700;
}
.temp-cold {
  color: #536078;
  font-weight: 700;
}
.temp-out {
  color: #8a2be2;
  font-weight: 700;
}
.sales-case-columns {
  margin-top: 8px;
}
.sales-case-columns small {
  font-size: 0.52rem;
}
.sales-case-columns p {
  font-size: 0.62rem;
}
.sales-case-qc {
  margin: 6px 0 0;
  padding-left: 16px;
  color: #627186;
  font-size: 0.66rem;
  line-height: 1.55;
}
.sales-case-qc li {
  margin-bottom: 5px;
}
.sample-work-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #14213b;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.sample-work-download:hover {
  transform: translateX(3px);
}

@media (max-width: 700px) {
  .sales-sample-case {
    padding: 18px 16px 18px 44px;
  }
  .sales-case-table,
  .sales-case-table th,
  .sales-case-table td {
    font-size: 0.6rem;
  }
}

/* 2026-09-29 — sample-work replaces the "Prospect Workflow" illustration
   in the Sales Research carousel scene entirely (sits where
   .pipeline-dashboard used to), centered the same way that box was. */
.sales-sample-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
}

/* 2026-09-29 — AI Video Creation: Batang 90s case card in the carousel
   pane (same pattern as the Sales sample), flow + scene strip + prompt
   expander inside the shared qa-case-modal */
.ai-sample-case {
  min-height: 0;
  margin-top: 6px;
  padding: 22px 24px 22px 56px;
}
.ai-sample-case .qa-case-index {
  left: 24px;
  top: 22px;
  font-size: 0.62rem;
}
.ai-sample-case .qa-case-meta span {
  font-size: 0.5rem;
  padding: 6px 9px;
}
.ai-sample-case h5 {
  font-size: 1.1rem;
  margin-top: 10px;
}
.ai-sample-case > p {
  margin: 8px 0 0;
  color: #64758a;
  font-size: 0.68rem;
  line-height: 1.55;
}
.ai-sample-case .qa-case-result {
  margin-top: 12px;
}
.ai-sample-case .qa-case-result small,
.ai-sample-case .qa-case-role > small {
  font-size: 0.5rem;
}
.ai-sample-case .qa-case-result strong {
  font-size: 0.68rem;
  line-height: 1.5;
}
.ai-sample-case .qa-case-role {
  margin-top: 12px;
}
.ai-sample-case .qa-case-role span {
  font-size: 0.56rem;
}
.ai-sample-case .qa-case-expand {
  margin-top: 14px;
  font-size: 0.66rem;
}

.ai-flow {
  margin: 0;
  padding-left: 20px;
  color: #627186;
  font-size: 0.7rem;
  line-height: 1.55;
}
.ai-flow li {
  margin-bottom: 7px;
}
.ai-flow b {
  color: #0d2348;
}

.ai-scene-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ai-scene-strip figure {
  margin: 0;
}
.ai-scene-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  background: #e9e5de;
}
.ai-scene-strip figcaption {
  margin-top: 6px;
  color: #627186;
  font-size: 0.62rem;
  line-height: 1.45;
}
.ai-scene-strip figcaption b {
  color: #9a7657;
  margin-right: 4px;
}

.ai-prompt {
  margin-top: 14px;
  border: 1px solid #e6e9ed;
  border-radius: 10px;
  background: #f7f9fc;
}
.ai-prompt summary {
  padding: 10px 12px;
  cursor: pointer;
  color: #0d2348;
  font-size: 0.68rem;
  font-weight: 700;
}
.ai-prompt pre {
  margin: 0;
  padding: 0 12px 12px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #43584f;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.6rem;
  line-height: 1.55;
}
.ai-prompt-note {
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid #e6e9ed;
  color: #627186;
  font-size: 0.64rem;
  line-height: 1.5;
}

.ai-case-watch {
  position: relative;
  display: block;
  width: min(260px, 100%);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #e9e5de;
}
.ai-case-watch img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.ai-case-watch span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(7, 27, 65, 0.88);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}
.ai-case-foot {
  margin: 16px 0 0;
  color: #627186;
  font-size: 0.66rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .ai-sample-case {
    padding: 18px 16px 18px 44px;
  }
  .ai-scene-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ai-gallery-badge-right {
  left: auto;
  right: 14px;
}

/* ===== a11y: legible sizes in the featured reel card =====
   The metric labels, source note, kicker and watch label were 6.7-8.3px, which
   made the page's only hard numbers (and where they come from) unreadable. */
.video-real-project .featured-metrics span {
  font-size: 0.62rem !important;
}
.video-real-project .featured-insight-note {
  font-size: 0.7rem !important;
  line-height: 1.5;
}
.video-real-project .featured-kicker {
  font-size: 0.7rem !important;
}
.video-real-project .featured-watch {
  font-size: 0.72rem !important;
}

/* ===== script accents: one italic serif everywhere ===== */
.hero-v12-signature em,
.hero-v12-corner-note em,
.hero-v12-mobile-signature em,
.about-heading h2 span,
.about-principle p,
.testimonial-note p,
.stack-head h2 span,
.stack-bottom p {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
}

/* Name alias: LinkedIn, GitHub and colleagues know him as Ryan. */
.goes-by {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #626f82;
}

/* ===== hero headline: one concrete sentence (replaces the rotating word) ===== */
.hero.hero-v12 h1.hero-v12-title {
  font-size: clamp(1.9rem, 3.1vw, 2.9rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  max-width: 15em;
}
.hero-accent {
  color: var(--blue);
}
.hero-v12-mobile-headline {
  margin: 12px auto 0;
  max-width: 24em;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--v12-ink, #071b41);
}
@media (min-width: 901px) {
  .hero-v12-mobile-headline {
    display: none;
  }
}

/* Footer GitHub link, styled to sit with the other platform marks
   (light text on the dark footer, dark on the white hover state). */
.github {
  min-width: 82px;
}
.github-word {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.github:hover .github-word {
  color: #0d1b2a;
}

/* 2026-09-29 — Résumé dropdown painted UNDER the identity block.
   .hero-in animations leave a transform on .hero-v12-actions,
   .hero-v12-identity and .hero-v12-stats, so each is its own stacking
   context painted in DOM order; the identity block (later sibling) drew
   over the dropdown panel that lives inside the actions block, and the
   panel's z-index:20 was trapped inside that lower context. Lifting the
   actions row above its later siblings lets the panel sit on top. */
.hero-v12-actions {
  position: relative;
  z-index: 30;
}
/* On mobile the actions row lives inside .hero-v12-mobile-intro (z 5),
   which the KPI cards (z 6) painted over — the panel showed ghosted
   behind them. Put both intro containers above the KPI stack. */
.hero-v12-copy,
.hero-v12-mobile-intro {
  z-index: 7 !important;
}
/* Mobile: the dropdown panel is meant to span the whole button row
   (left/right:0 against .hero-v12-actions). A later rule made the
   <details> itself the positioned ancestor, squeezing the panel into
   that one button's third of the row (text wrapping word by word).
   Un-position the <details> so the row is the containing block. */
@media (max-width: 700px) {
  .hero-v12-mobile-actions .resume-download-hero {
    position: static !important;
  }
}
/* Fully opaque dropdown: at 98% white the cards behind it still ghosted
   through as faint text. */
.resume-menu-panel {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
