/* Home — 3D hero + animated sections */

.hero { padding: 1rem 0 0; }
.hero__frame {
  position: relative;
  min-height: min(720px, calc(100svh - 5.5rem));
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(700px 360px at 80% 20%, rgba(43, 179, 159, 0.2), transparent 55%),
    linear-gradient(145deg, #0b1411 0%, #10241d 55%, #0e1a16 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(14, 21, 18, 0.18);
}
@media (min-width: 960px) {
  .hero__frame {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: min(640px, calc(100svh - 6.5rem));
  }
}

.hero__copy-pane {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
}
@media (min-width: 960px) {
  .hero__copy-pane {
    justify-content: flex-end;
    padding: 2.75rem 1.5rem 2.75rem 3.25rem;
  }
}

.hero__brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.16);
  border: 1px solid rgba(42, 157, 143, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd7ce;
}
.hero__brand-chip i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-style: normal;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0;
  font-size: 0.75rem;
}

.hero__title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span {
  display: inline-block;
  transform: translateY(110%);
}

.hero__text {
  margin: 1rem 0 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.hero__actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.hero__actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero__media-pane {
  position: relative;
  min-height: 300px;
  perspective: 1000px;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero__media-pane {
    min-height: 100%;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}
.hero__orb--a {
  width: 220px;
  height: 220px;
  top: 12%;
  right: 12%;
  background: rgba(61, 156, 240, 0.32);
  animation: pulseOrb 7s ease-in-out infinite;
}
.hero__orb--b {
  width: 160px;
  height: 160px;
  bottom: 18%;
  left: 18%;
  background: rgba(244, 162, 97, 0.28);
  animation: pulseOrb 8s ease-in-out infinite reverse;
}
.hero__orb--c {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 42%;
  left: 8%;
  border-radius: 50%;
  background: rgba(231, 111, 81, 0.22);
  filter: blur(8px);
  animation: pulseOrb 6s ease-in-out infinite;
}

.hero__3d {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__3d--main {
  width: min(68%, 340px);
  aspect-ratio: 1;
  object-fit: cover;
  top: 18%;
  left: 18%;
  right: 14%;
  margin: 0 auto;
  z-index: 2;
  animation: none !important;
  position: absolute;
}
.hero__3d--a {
  width: min(34%, 150px);
  aspect-ratio: 1;
  top: 14%;
  left: 10%;
  z-index: 3;
}
.hero__3d--b {
  width: min(30%, 128px);
  aspect-ratio: 1;
  bottom: 22%;
  right: 10%;
  z-index: 3;
}

.hero__float-stat {
  position: absolute;
  z-index: 4;
  left: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: rgba(247, 249, 248, 0.94);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(20px);
  opacity: 0;
}
@media (min-width: 960px) {
  .hero__float-stat {
    left: auto;
    right: 1.5rem;
    bottom: 1.75rem;
  }
}
.hero__float-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__float-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Stats strip under hero */
.stats-strip {
  padding: 1.5rem 0 0.25rem;
  position: relative;
  z-index: 2;
  margin-top: -0.5rem;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 0.5rem;
  padding: 1.5rem 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(31, 107, 90, 0.12);
  background:
    radial-gradient(520px 200px at 8% 0%, rgba(43, 179, 159, 0.14), transparent 55%),
    radial-gradient(480px 180px at 100% 100%, rgba(31, 107, 90, 0.1), transparent 50%),
    #fff;
  box-shadow:
    0 18px 50px rgba(14, 21, 18, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
@media (min-width: 800px) {
  .stats-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 1.85rem 0.75rem;
  }
  .stats-strip__item + .stats-strip__item {
    border-left: 1px solid rgba(31, 107, 90, 0.12);
  }
}
.stats-strip__item {
  text-align: center;
  padding: 0.55rem 0.85rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}
/* Kill any old/generic span rules that shrunk the counters */
.stats-strip__item span,
.stats-strip__item strong,
.stats-strip__item em {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}
#impact .stats-strip__value,
#home-stats .stats-strip__value {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem) !important;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
#impact .stats-strip__value.is-plus::after,
#home-stats .stats-strip__value.is-plus::after {
  content: "+";
  margin-left: 0.04em;
  color: var(--accent);
  font-weight: 800;
}
#impact .stats-strip__label,
#home-stats .stats-strip__label {
  display: block !important;
  margin: 0 !important;
  max-width: 11.5rem;
  color: var(--muted) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

/* Growth partner intro */
.partner-panel {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .partner-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
  }
}
.partner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partner-copy h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  max-width: 14ch;
}
.partner-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.partner-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.partner-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.partner-media { min-height: 320px; }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.services-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 1.5rem 1.45rem 1.45rem;
  border-radius: 24px;
  border: 1px solid rgba(31, 107, 90, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(232, 243, 239, 0.92));
  cursor: pointer;
  color: inherit;
}
.service-card:nth-child(1) { background: linear-gradient(160deg, #ffffff, #e7f6ff); }
.service-card:nth-child(2) { background: linear-gradient(160deg, #ffffff, #eaf8f2); }
.service-card:nth-child(3) { background: linear-gradient(160deg, #ffffff, #fff1e8); }
.service-card:nth-child(4) { background: linear-gradient(160deg, #ffffff, #f3eeff); }
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 179, 159, 0.22), transparent 70%);
  transition: transform 0.45s var(--ease-out);
}
.service-card:nth-child(1)::before { background: radial-gradient(circle, rgba(61, 156, 240, 0.25), transparent 70%); }
.service-card:nth-child(3)::before { background: radial-gradient(circle, rgba(244, 162, 97, 0.28), transparent 70%); }
.service-card:nth-child(4)::before { background: radial-gradient(circle, rgba(108, 99, 255, 0.22), transparent 70%); }
.service-card:hover::before { transform: translate(-20px, -20px) scale(1.2); }
.service-card__num {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service-card h3 {
  margin: 0.55rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.service-card p { margin: 0; color: var(--muted); }

/* Industries */
.industry-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1050px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
.industry-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.industry-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(159, 215, 206, 0.35);
  transform: translateY(-3px);
}
.industry-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}
.industry-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.industry-item p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  grid-column: 2;
}
@media (max-width: 420px) {
  .industry-item {
    grid-template-columns: 1fr;
  }
  .industry-item p { grid-column: 1; }
}

.process-track {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .process-track { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1100px) {
  .process-track { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}
.process-step:hover {
  border-color: rgba(31, 107, 90, 0.35);
}
.process-step > span {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.process-step h3 {
  margin: 0.45rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.process-step p { margin: 0; color: var(--muted); }

.why-panel {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .why-panel {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.25rem;
  }
}
.why-media { min-height: 360px; }
.why-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.why-copy h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
}
.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.why-stats strong {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #9fd7ce;
}
.why-stats strong span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.why-stats > div > span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

/* Selected work */
.home-work-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .home-work-grid { grid-template-columns: repeat(3, 1fr); }
}
.home-work {
  display: grid;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(31, 107, 90, 0.14);
  background: #fff;
  color: inherit;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.home-work:hover {
  border-color: rgba(31, 107, 90, 0.35);
  box-shadow: 0 20px 44px rgba(14, 21, 18, 0.1);
}
.home-work__visual {
  min-height: 190px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(61, 156, 240, 0.18), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(43, 179, 159, 0.2), transparent 45%),
    linear-gradient(160deg, #e8f3ef, #d5e7e1);
}
.home-work__visual img {
  width: min(70%, 180px);
  transition: transform 0.45s var(--ease-out);
}
.home-work__visual--3d img {
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(14, 21, 18, 0.16);
}
.home-work:hover .home-work__visual img {
  transform: translateY(-8px) scale(1.04);
}
.home-work__body {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 1.3rem 1.4rem;
}
.home-work__body span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-work__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.home-work__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Testimonials */
.quote-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
}
.quote-item {
  margin: 0;
  padding: 1.6rem 1.5rem 1.5rem;
  border-top: 3px solid var(--accent-2);
  background: transparent;
}
.quote-item__stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(14, 21, 18, 0.18);
}
.quote-item__stars .is-on {
  color: #d4a017;
}
.quote-item p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}
.quote-item footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.quote-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8f0ed;
}
.quote-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.quote-item footer span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1050px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(31, 107, 90, 0.12);
  background: linear-gradient(165deg, #ffffff, #eaf5f1);
}
.trust-item:nth-child(2) { background: linear-gradient(165deg, #ffffff, #e8f5ff); }
.trust-item:nth-child(3) { background: linear-gradient(165deg, #ffffff, #fff1e8); }
.trust-item:nth-child(4) { background: linear-gradient(165deg, #ffffff, #eef8f3); }
.trust-item h3 {
  margin: 0.85rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.stack-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
}
.stack-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, #ffffff 0%, #eaf5f1 100%);
}
.stack-card h3 {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.stack-card p { margin: 0; color: var(--muted); }

.cta-band { position: relative; }
.cta-band__3d {
  position: absolute;
  width: min(180px, 34vw);
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 22px;
  opacity: 0.92;
  pointer-events: none;
}
.cta-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.cta-band__row .btn { margin-top: 0; }
@media (max-width: 760px) {
  .cta-band__3d { display: none; }
}

.why-copy .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.why-copy .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .line span { transform: none; }
  .hero__orb { animation: none; }
}
