body.page-about {
  background: var(--bg-light);
}

.page-about .site-header {
  background: linear-gradient(180deg, rgba(2, 11, 24, 0.38), rgba(2, 11, 24, 0));
}

.page-about .site-header::after {
  opacity: 1;
}

.about-hero {
  position: relative;
  overflow: clip;
  min-height: 860px;
  padding-top: 118px;
  background:
    radial-gradient(900px 620px at 18% 32%, rgba(201, 160, 14, 0.12), transparent 58%),
    radial-gradient(760px 500px at 85% 28%, rgba(109, 146, 198, 0.16), transparent 66%),
    linear-gradient(90deg, #020b18 0%, #041327 42%, #081d36 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 500px at var(--mx, 78%) var(--my, 24%), rgba(255, 255, 255, 0.16), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.about-hero-bg,
.about-hero-sparks,
.about-hero-circuit,
.about-hero-lightbar {
  position: absolute;
  pointer-events: none;
}

.about-hero-bg {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 24, 0.96) 0%, rgba(2, 11, 24, 0.84) 30%, rgba(2, 11, 24, 0.38) 52%, rgba(2, 11, 24, 0.14) 70%, rgba(2, 11, 24, 0.05) 100%),
    radial-gradient(620px 380px at 70% 34%, rgba(180, 206, 244, 0.10), transparent 70%),
    radial-gradient(460px 320px at 84% 68%, rgba(255, 194, 65, 0.10), transparent 72%);
}

.about-hero-lightbar {
  top: 28px;
  right: 4%;
  width: min(60vw, 980px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(248, 252, 255, 0.9), rgba(255, 255, 255, 0));
  filter: blur(6px);
  opacity: 0.82;
}

.about-hero-circuit {
  inset: 18px auto 0 0;
  width: min(52vw, 860px);
  height: 650px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: circuitFloat 11s ease-in-out infinite;
}

.about-hero-sparks {
  inset: 0;
  background:
    radial-gradient(circle at 9% 18%, rgba(224, 186, 46, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 20% 24%, rgba(224, 186, 46, 0.82) 0 5px, transparent 6px),
    radial-gradient(circle at 22% 38%, rgba(224, 186, 46, 0.64) 0 4px, transparent 5px),
    radial-gradient(circle at 17% 56%, rgba(224, 186, 46, 0.5) 0 3px, transparent 4px),
    radial-gradient(circle at 71% 66%, rgba(224, 186, 46, 0.56) 0 4px, transparent 5px),
    radial-gradient(circle at 87% 36%, rgba(224, 186, 46, 0.36) 0 4px, transparent 5px);
  opacity: 0.9;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  min-height: calc(860px - 118px);
  gap: 36px;
  padding: 98px 0 110px;
}

.about-hero-copy {
  max-width: 780px;
  color: #fff;
}

.about-hero-kicker {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 3.15vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 640;
}

.about-hero-copy h1 {
  margin: 0;
  max-width: 18.5ch;
  font-size: clamp(2.2rem, 2.65vw, 3rem);
  line-height: 1.26;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.about-hero-text {
  max-width: 770px;
  margin: 28px 0 0;
  font-size: clamp(1.03rem, 1.38vw, 1.42rem);
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.01em;
}

.about-hero-copy .btn {
  margin-top: 34px;
}

.about-hero-visual {
  position: relative;
  min-height: 520px;
}

.about-hero-cube-shell {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(44vw, 640px);
  max-width: 100%;
  animation: cubeBob 9s ease-in-out infinite;
}

.about-hero-cube-motion {
  position: relative;
  transform: translate3d(var(--cube-x, 0px), var(--cube-y, 0px), 0) rotateX(var(--cube-rx, 0deg)) rotateY(var(--cube-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.46));
}

.about-hero-cube-motion::before {
  content: "";
  position: absolute;
  inset: 12% 10% 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 137, 0.22), transparent 66%);
  filter: blur(38px);
  opacity: 0.7;
}

.about-hero-cube-motion img {
  width: 100%;
  height: auto;
  mask-image: radial-gradient(ellipse at 62% 52%, #000 0 48%, rgba(0, 0, 0, 0.96) 66%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 62% 52%, #000 0 48%, rgba(0, 0, 0, 0.96) 66%, transparent 90%);
}

.about-story {
  padding: 114px 0 126px;
  background: var(--bg-light);
}

.about-story-inner {
  text-align: center;
}

.about-story-copy {
  max-width: 920px;
  margin: 48px auto 0;
}

.about-story-copy p {
  margin: 0;
  font-size: clamp(1.18rem, 1.45vw, 1.58rem);
  line-height: 1.8;
  color: var(--text-soft);
  letter-spacing: -0.014em;
}

.about-story-copy p + p {
  margin-top: 28px;
}

.about-expertise {
  overflow: clip;
  padding: 98px 0 114px;
  color: #fff;
  background:
    radial-gradient(760px 460px at 82% 18%, rgba(152, 181, 224, 0.16), transparent 72%),
    linear-gradient(90deg, #020b18 0%, #041225 46%, #08192f 100%);
}

.about-expertise::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(2, 11, 24, 0), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.about-expertise-blur,
.about-expertise-circuit,
.about-expertise-glow {
  position: absolute;
  pointer-events: none;
}

.about-expertise-circuit {
  inset: 24px auto 0 0;
  width: min(48vw, 760px);
  height: 620px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.56;
  mix-blend-mode: screen;
  animation: circuitFloat 12s ease-in-out infinite;
}

.about-expertise-blur {
  inset: 0;
  background:
    radial-gradient(580px 320px at 16% 62%, rgba(224, 186, 46, 0.10), transparent 70%),
    radial-gradient(560px 380px at 72% 24%, rgba(166, 196, 234, 0.14), transparent 74%);
  filter: blur(6px);
}

.about-expertise-glow {
  right: -7%;
  bottom: -12%;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 191, 48, 0.18), rgba(236, 191, 48, 0.02) 54%, transparent 70%);
  filter: blur(18px);
}

.about-expertise > .container {
  position: relative;
  z-index: 1;
}

.about-expertise-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2.5rem, 4vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.042em;
  font-weight: 650;
}

.about-expertise-intro {
  max-width: 900px;
  margin: 22px auto 0;
  text-align: center;
  font-size: clamp(1rem, 1.3vw, 1.34rem);
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.86);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.expertise-card {
  position: relative;
  min-height: 228px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(7, 17, 33, 0.62), rgba(7, 17, 33, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04));
  opacity: 0.9;
}

.expertise-card:hover {
  transform: translateY(-7px);
  border-color: rgba(224, 186, 46, 0.4);
  background: linear-gradient(180deg, rgba(10, 22, 42, 0.7), rgba(7, 17, 33, 0.54));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
}

.expertise-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.expertise-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
  margin-top: 2px;
}

.expertise-icon svg {
  width: 100%;
  height: 100%;
}

.expertise-card h3 {
  margin: 0;
  max-width: 15ch;
  font-size: 1.68rem;
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 590;
  color: #fff;
}

.expertise-card p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.84);
}

.page-about .site-footer {
  padding-top: 98px;
  padding-bottom: 104px;
  border-top: 1px solid rgba(22, 21, 26, 0.05);
}

.page-about .footer-col h2,
.page-about .footer-col h3 {
  font-weight: 600;
}

.page-about .footer-col p {
  max-width: 420px;
}

@keyframes cubeBob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@media (max-width: 1400px) {
  .about-hero-copy {
    max-width: 700px;
  }

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

@media (max-width: 1180px) {
  .about-hero {
    min-height: 820px;
  }

  .about-hero-inner {
    min-height: calc(820px - 118px);
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 24px;
    padding-top: 110px;
  }

  .about-hero-copy h1 {
    max-width: 17ch;
  }

  .about-hero-cube-shell {
    width: min(50vw, 560px);
  }

  .about-expertise-title {
    max-width: 12ch;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .page-about .site-header {
    background: rgba(3, 11, 24, 0.42);
    backdrop-filter: blur(14px);
  }

  .about-hero {
    min-height: 960px;
    padding-top: 90px;
  }

  .about-hero-inner {
    position: relative;
    min-height: calc(960px - 90px);
    display: block;
    padding: 76px 0 84px;
  }

  .about-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 100%;
  }

  .about-hero-kicker {
    max-width: 11ch;
  }

  .about-hero-copy h1 {
    max-width: 15ch;
  }

  .about-hero-text {
    max-width: 92%;
  }

  .about-hero-visual {
    position: absolute;
    inset: 112px 0 auto 0;
    min-height: 0;
    height: 52%;
    pointer-events: none;
  }

  .about-hero-cube-shell {
    right: -3%;
    bottom: 0;
    width: min(88vw, 580px);
    opacity: 0.54;
  }

  .about-hero-bg {
    background:
      linear-gradient(180deg, rgba(2, 11, 24, 0.34), rgba(2, 11, 24, 0.84) 58%, rgba(2, 11, 24, 1)),
      linear-gradient(90deg, rgba(2, 11, 24, 0.96) 0%, rgba(2, 11, 24, 0.66) 44%, rgba(2, 11, 24, 0.1) 100%);
  }

  .about-hero-circuit {
    inset: 88px auto auto -8px;
    width: min(86vw, 560px);
    height: 430px;
    opacity: 0.74;
  }

  .about-story {
    padding: 84px 0 88px;
  }

  .about-story-copy {
    margin-top: 38px;
  }

  .about-expertise {
    padding: 82px 0 88px;
  }

  .expertise-grid,
  .page-about .footer-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    gap: 16px;
    margin-top: 42px;
  }

  .expertise-card {
    min-height: 0;
  }

  .page-about .site-footer {
    padding-top: 76px;
    padding-bottom: 82px;
  }
}

@media (max-width: 560px) {
  .about-hero {
    min-height: 860px;
  }

  .about-hero-inner {
    min-height: calc(860px - 90px);
    padding-top: 56px;
  }

  .about-hero-kicker {
    font-size: clamp(2.45rem, 10vw, 3rem);
  }

  .about-hero-copy h1 {
    font-size: clamp(1.8rem, 6.3vw, 2.4rem);
    line-height: 1.32;
  }

  .about-hero-text,
  .about-expertise-intro,
  .about-story-copy p,
  .expertise-card p {
    font-size: 0.995rem;
  }

  .expertise-card h3 {
    font-size: 1.28rem;
  }

  .expertise-icon {
    width: 30px;
    height: 30px;
  }

  .about-expertise-title {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .about-hero-copy .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Client polish update */
.about-hero {
  min-height: 800px;
  padding-top: 126px;
}

.about-hero-inner {
  min-height: calc(800px - 126px);
  padding: 82px 0 96px;
}

.about-hero-kicker {
  font-size: clamp(2.1rem, 2.55vw, 2.85rem);
}

.about-hero-copy h1 {
  font-size: clamp(1.9rem, 2.3vw, 2.5rem);
}

.about-hero-text {
  font-size: clamp(0.98rem, 1.14vw, 1.16rem);
  line-height: 1.72;
}

.about-story {
  padding: 96px 0 108px;
}

.about-story-copy {
  margin-top: 38px;
}

.about-story-copy p {
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.76;
}

.about-expertise {
  padding: 88px 0 100px;
}

.about-expertise-title {
  font-size: clamp(2.2rem, 3.35vw, 3.45rem);
}

.about-expertise-intro {
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  line-height: 1.76;
}

.expertise-card h3 {
  font-size: 1.12rem;
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.72;
}

@media (max-width: 1180px) {
  .about-hero {
    padding-top: 112px;
  }
}

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