/* Creative layer — kinetic Wasl identity */

body {
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(0, 104, 48, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at -10% 30%, rgba(47, 191, 123, 0.06), transparent 45%),
    var(--paper);
}

/* Base hero shell — magnet skin overrides in hero-magnet.css */
.hero.hero-brand {
  isolation: isolate;
  min-height: 100svh;
  align-items: center;
}

.hero.hero-brand::before {
  display: none;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-panel-light {
  position: absolute;
  inset: 0 42% 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(47, 191, 123, 0.16), transparent 55%),
    linear-gradient(165deg, #f4faf6 0%, #e4f2ea 55%, #d8ecdf 100%);
}

.hero-panel-dark {
  position: absolute;
  inset: 0 0 0 48%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(145deg, #008040 0%, #006830 48%, #014d2a 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  animation: panel-breathe 12s ease-in-out infinite alternate;
}

.hero-arc {
  position: absolute;
  right: -8%;
  top: 12%;
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.05);
  animation: ring-breathe 6s ease-in-out infinite;
}

.hero-ambient .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-ambient .orb-a {
  width: 36vw;
  height: 36vw;
  max-width: 460px;
  max-height: 460px;
  right: 4%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.hero-ambient .orb-b {
  width: 28vw;
  height: 28vw;
  max-width: 320px;
  max-height: 320px;
  left: 6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 104, 48, 0.18), transparent 70%);
  animation-delay: -4s;
}

.hero-grid {
  z-index: 1;
  align-items: center;
  gap: 2rem 3rem;
  padding: 8.5rem 0 5.5rem;
}

.hero-copy {
  position: relative;
  max-width: 36rem;
}

.hero-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 104, 48, 0.14);
  backdrop-filter: blur(10px);
  color: var(--logo);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(1, 56, 32, 0.06);
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #008040;
  box-shadow: 0 0 0 0 rgba(0, 128, 64, 0.45);
  animation: pulse 2s ease-out infinite;
}

.hero-hook {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  min-height: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  color: #006830;
}

.hook-label {
  display: inline-grid;
  place-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 104, 48, 0.1);
  border: 1px solid rgba(0, 104, 48, 0.2);
  color: #006830;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#hero-hook-text {
  display: inline-block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#hero-hook-text.is-swap {
  opacity: 0;
  transform: translateY(8px);
}

.hero-title {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.15rem;
  max-width: 13ch;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #013820;
}

.hero-title-kicker {
  display: block;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3f6b52;
  margin-bottom: 0.35rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(2.55rem, 7vw, 4.55rem);
}

.hero-title-accent {
  position: relative;
  width: fit-content;
  color: #006830;
  overflow: hidden;
}

.hero-title-accent .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em) rotateX(40deg);
  animation: char-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.045s);
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  width: 100%;
  height: 0.09em;
  border-radius: 999px;
  background: linear-gradient(90deg, #006830, #2fbf7b);
  transform-origin: left;
  animation: underline-draw 1s ease forwards 1.1s;
  transform: scaleX(0);
}

.hero-title-end {
  position: relative;
  min-height: 1.15em;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  letter-spacing: -0.03em;
  color: #02512c;
}

.title-swap {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.title-swap.is-swap {
  opacity: 0;
  transform: translateY(12px);
}

.hero .lead {
  max-width: 36ch;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #3f6b52;
  margin-bottom: 1.45rem;
}

.btn-hook {
  position: relative;
  animation: cta-glow 2.8s ease-in-out infinite;
}

.btn-hook::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(0, 104, 48, 0.35);
  opacity: 0;
  animation: cta-ring 2.8s ease-out infinite;
  pointer-events: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(0, 104, 48, 0.14);
}

.trust-item {
  font-size: 0.86rem;
  color: #4f6a5b;
}

.trust-item b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #006830;
  margin-right: 0.2rem;
}

.btn-lg {
  padding: 1.05rem 1.7rem;
  font-size: 1rem;
}

.btn-magnetic {
  gap: 0.75rem;
  padding-inline: 1.5rem 1.15rem;
}

.btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
}

.btn-magnetic:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-playish {
  gap: 0.7rem;
}

.play-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);
}

.hero-cta {
  gap: 0.85rem;
  margin-bottom: 0;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.34s; }
.delay-5 { animation-delay: 0.42s; }
.delay-6 { animation-delay: 0.5s; }
.delay-7 { animation-delay: 0.58s; }

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  inset: 6% -6%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.28), transparent 42%),
    radial-gradient(circle at 60% 60%, rgba(0, 128, 64, 0.35), transparent 55%);
  filter: blur(10px);
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.hero-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 8%;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  mix-blend-mode: soft-light;
  animation: scan-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-1 {
  width: 72%;
  aspect-ratio: 1;
  height: auto;
  animation: spin 24s linear infinite;
}

.orbit-2 {
  width: 88%;
  aspect-ratio: 1;
  height: auto;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.1);
  animation: spin 36s linear infinite reverse;
}

.orbit-3 {
  width: 104%;
  aspect-ratio: 1;
  height: auto;
  border-style: dotted;
  border-color: rgba(255, 255, 255, 0.14);
  animation: spin 48s linear infinite;
}

.brand-hero-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  animation: floaty 6.5s ease-in-out infinite;
  transition: transform 0.25s ease-out;
}

.mark-ring {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.03);
  animation: ring-breathe 4.5s ease-in-out infinite;
}

.mark-pulse {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 2px solid rgba(125, 255, 178, 0.45);
  animation: mark-pulse 2.6s ease-out infinite;
}

.hero-visual img.brand-hero-mark {
  width: min(58vw, 270px);
  min-height: 0;
  height: auto;
  border-radius: 50%;
  background: #fff;
  animation: none;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.28));
}

.capability-orbit {
  position: absolute;
  inset: 8% 4%;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.25s ease-out;
}

.cap-ring {
  position: absolute;
  inset: 0;
}

.cap-node {
  position: absolute;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 40, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  animation: node-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cap-node[data-cap="0"] { top: 10%; left: 6%; }
.cap-node[data-cap="1"] { top: 14%; right: 2%; }
.cap-node[data-cap="2"] { bottom: 20%; left: -2%; }
.cap-node[data-cap="3"] { bottom: 14%; right: 6%; }

.cap-node.is-active {
  background: #ffffff;
  color: #006830;
  border-color: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 14px 30px rgba(0, 0, 0, 0.28);
  filter: brightness(1.05);
}

.hero-live {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 35, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #7dffb2;
  animation: pulse 1.8s ease-out infinite;
}

.live-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-live strong {
  min-width: 7.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.hero-skin-v2 .btn-primary,
.hero-brand .btn-primary {
  background: #006830;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 104, 48, 0.28);
}

.hero-skin-v2 .btn-primary:hover,
.hero-brand .btn-primary:hover {
  background: #008040;
  color: #fff;
}

.hero-skin-v2 .btn-ghost,
.hero-brand .btn-ghost {
  border-color: rgba(0, 104, 48, 0.28);
  color: #006830;
  background: rgba(255, 255, 255, 0.45);
}

.hero-skin-v2 .btn-ghost:hover,
.hero-brand .btn-ghost:hover {
  background: rgba(0, 104, 48, 0.08);
}

.hero-skin-v2 .play-dot {
  background: #006830;
  box-shadow: 0 0 0 6px rgba(0, 104, 48, 0.12);
}

.hero-skin-v2 .btn-arrow {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes underline-draw {
  to { transform: scaleX(1); }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes stripe-shift {
  from { transform: skewY(-8deg) translateX(0); }
  to { transform: skewY(-8deg) translateX(2%); }
}

@keyframes mesh-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 36px, 72px 36px; }
}

@keyframes ring-breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 14px 34px rgba(0, 104, 48, 0.28); }
  50% { box-shadow: 0 16px 42px rgba(0, 104, 48, 0.4), 0 0 0 1px rgba(0, 104, 48, 0.12); }
}

@keyframes cta-ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes mark-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes panel-breathe {
  from { filter: saturate(1); }
  to { filter: saturate(1.08) brightness(1.03); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(1, 56, 32, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 1.3px;
  height: 2.2rem;
  background: linear-gradient(#006830, transparent);
  animation: scroll-line 1.6s ease-in-out infinite;
}

/* Bento services */
/* Legacy service-rail styles removed — see services-pro.css */

/* Legacy product cards replaced by products-pro.css */

/* Mission rewrite look */
.mission {
  background:
    radial-gradient(circle at 85% 15%, rgba(47, 191, 123, 0.22), transparent 35%),
    linear-gradient(145deg, #027a42 0%, #014d2a 48%, #012418 100%);
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding: 7rem 0 8rem;
}

.mission-card {
  backdrop-filter: blur(8px);
}

.mission-card h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mission-card h3::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 191, 123, 0.18);
}

/* Help panel creative */
.help-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(0, 104, 48, 0.12);
  background:
    radial-gradient(circle at 0% 100%, rgba(0, 104, 48, 0.12), transparent 40%),
    linear-gradient(135deg, #eaf6ef, #f7fbf8 55%, #dff3e8);
  box-shadow: 0 24px 60px rgba(1, 56, 32, 0.08);
}

.help-option.is-selected {
  background: #fff;
  border-color: var(--logo);
  box-shadow: 0 12px 30px rgba(0, 104, 48, 0.14);
}

/* Reasons */
.reasons {
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 191, 123, 0.18), transparent 40%),
    linear-gradient(180deg, #016b3a, #012e1c);
}

.reason {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease;
}

.reason:hover {
  transform: translateY(-6px);
  background: rgba(47, 191, 123, 0.1);
}

.reason .num {
  font-size: 3rem;
  opacity: 0.9;
  background: linear-gradient(180deg, #7dffb5, rgba(125, 255, 181, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(1, 56, 32, 0.9), rgba(0, 104, 48, 0.7)),
    url("../assets/images/service-1.jpg") center / cover no-repeat;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(125, 255, 181, 0.28), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

/* Buttons with shine */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::after {
  left: 120%;
}

@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-30px, 24px, 0) scale(1.08); }
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 900px) {
  .hero-grid {
    padding: 7.2rem 0 4.5rem;
  }

  .hero-panel-light {
    inset: 0;
  }

  .hero-panel-dark {
    inset: auto 0 0 0;
    height: 46%;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-arc {
    right: -20%;
    top: auto;
    bottom: -8%;
    width: min(90vw, 420px);
  }

  .capability-orbit {
    inset: 4% 0;
  }

  .hero-live {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 1rem;
    justify-self: center;
  }

  .scroll-cue {
    display: none;
  }

  .mission {
    clip-path: none;
    padding: 5.5rem 0;
  }

}

@media (max-width: 640px) {
  .hero-title {
    max-width: none;
  }

  .hero-title-line {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .hero-title-end {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
  }

  .orbit,
  .capability-orbit {
    display: none;
  }

  .hero-visual img.brand-hero-mark {
    width: min(52vw, 210px);
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-trust {
    gap: 0.75rem;
  }
}

/* Page heroes — live-site logo float concept */
.page-hero-mark {
  overflow: hidden;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.page-hero-copy h1 {
  max-width: 12ch;
}

.about-logo-orbit {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.about-logo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-logo-ring-b {
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  animation: about-ring-spin 30s linear infinite reverse;
}

.about-logo-float {
  position: relative;
  z-index: 1;
  width: min(72%, 300px);
  aspect-ratio: 1;
  animation: about-logo-bob 6s ease-in-out infinite;
  will-change: transform;
}

.about-logo-float::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 68%);
  filter: blur(2px);
}

.about-logo-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: transparent;
  shape-rendering: geometricPrecision;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.12),
    0 28px 48px rgba(0, 0, 0, 0.28);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
  transition: transform 0.35s ease-out;
}

@keyframes about-logo-bob {
  0%, 100% { transform: translate3d(0, -18px, 0); }
  50% { transform: translate3d(0, 18px, 0); }
}

@keyframes about-ring-spin {
  to { transform: rotate(360deg); }
}

/* Services hero — presenter stage */
.about-logo-orbit.is-services {
  aspect-ratio: auto;
  width: min(100%, 360px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.pitch-stage-core {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-logo-orbit.is-services .about-logo-float {
  position: relative;
  z-index: 2;
  width: 72%;
  margin: 0;
  animation-duration: 7s;
}

.pitch-spotlight {
  position: absolute;
  top: -6%;
  left: 50%;
  z-index: 0;
  width: 70%;
  height: 68%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 75%);
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  filter: blur(8px);
  opacity: 0.8;
  animation: pitch-spotlight 5.5s ease-in-out infinite;
  pointer-events: none;
}

.pitch-stage-core .service-halo {
  position: absolute;
  inset: 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16), transparent 66%);
  animation: service-halo-spin 18s linear infinite;
  pointer-events: none;
}

.pitch-stage {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 1;
  width: 62%;
  height: 16%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.26), transparent 72%);
  filter: blur(5px);
  pointer-events: none;
}

.pitch-frame {
  position: absolute;
  inset: 4%;
  z-index: 1;
  pointer-events: none;
}

.pitch-corner {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
}

.pitch-corner.is-tl {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.pitch-corner.is-tr {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.pitch-corner.is-bl {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.pitch-corner.is-br {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.pitch-arc {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pitch-arc-track,
.pitch-arc-progress {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.pitch-arc-track {
  stroke: rgba(255, 255, 255, 0.18);
}

.pitch-arc-progress {
  stroke: #9dffc2;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  filter: drop-shadow(0 0 6px rgba(157, 255, 194, 0.55));
}

.pitch-arc-progress.is-running {
  animation: pitch-arc-fill 3.2s linear forwards;
}

.pitch-caption {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.35rem;
  width: 100%;
  max-width: 20rem;
  min-height: 5rem;
  margin: 0;
  padding: 0 0.5rem;
  text-align: center;
}

.pitch-whisper {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  animation: pitch-whisper 3.2s ease-in-out infinite;
}

.pitch-name {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
  width: 100%;
  min-height: 1.25em;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-align: center;
}

.pitch-name.is-leaving .pitch-char {
  animation: pitch-char-out 0.28s ease forwards;
}

.pitch-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transform-origin: bottom center;
  animation: pitch-char-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.04s);
}

.pitch-hook {
  margin: 0;
  max-width: 24ch;
  min-height: 2.6em;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(233, 255, 242, 0.78);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.12s, transform 0.4s ease 0.12s;
}

.pitch-hook.is-active {
  opacity: 1;
  transform: none;
}

.pitch-hook.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition-delay: 0s;
}

@keyframes service-halo-spin {
  to { transform: rotate(360deg); }
}

@keyframes pitch-spotlight {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@keyframes pitch-arc-fill {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: 0; }
}

@keyframes pitch-whisper {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

@keyframes pitch-char-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pitch-char-out {
  to {
    opacity: 0;
    transform: translateY(-0.4em);
  }
}

/* Contact hero — love knot inside the white circle, under the W */
.about-logo-orbit.is-contact {
  aspect-ratio: 1;
  width: min(100%, 320px);
  display: grid;
  place-items: center;
}

.deal-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.about-logo-orbit.is-contact .about-logo-float {
  position: relative;
  z-index: 1;
  width: min(72%, 240px);
  margin: 0;
  overflow: visible;
  border-radius: 0;
}

.about-logo-orbit.is-contact .about-logo-mark {
  position: relative;
  z-index: 1;
}

.deal-svg.phone-svg {
  position: absolute;
  right: -26%;
  top: -10%;
  z-index: 5;
  width: 52%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform-origin: 56px 2px;
  animation: phone-swing 4s ease-in-out infinite;
}

.phone-cord {
  fill: none;
  stroke: #013820;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: phone-cord-draw 0.9s ease forwards;
}

.phone-handset {
  opacity: 0;
  transform-origin: 40px 72px;
  animation: phone-arrive 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
}

.phone-body {
  fill: #006830;
}

.phone-ear-face,
.phone-mouth-face {
  fill: #157a45;
}

.phone-grill circle {
  fill: rgba(233, 255, 242, 0.92);
}

@keyframes phone-cord-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes phone-arrive {
  from {
    opacity: 0;
    transform: translateY(-18px) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes phone-swing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}

@media (max-width: 900px) {
  .page-hero-mark {
    padding-block: 6.2rem 2.75rem;
  }

  .page-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .page-hero-copy h1,
  .page-hero-copy p {
    margin-inline: auto;
    max-width: none;
  }

  .page-hero-copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .about-logo-orbit {
    order: -1;
    justify-self: center;
    width: min(62vw, 260px);
  }

  .about-logo-orbit.is-contact {
    width: min(62vw, 260px);
  }

  .about-logo-orbit.is-services {
    width: min(72vw, 280px);
    gap: 0.75rem;
  }

  .pitch-stage-core {
    width: min(66vw, 200px);
  }

  .pitch-caption {
    min-height: 4.2rem;
  }

  .pitch-hook {
    font-size: 0.84rem;
  }
}

@media (max-width: 640px) {
  .page-hero-mark {
    padding-block: 5.5rem 2.25rem;
  }

  .about-logo-orbit,
  .about-logo-orbit.is-contact,
  .about-logo-orbit.is-services {
    width: min(70vw, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-logo-float,
  .about-logo-ring-b,
  .service-halo,
  .phone-cord,
  .phone-handset,
  .deal-svg.phone-svg {
    animation: none !important;
  }

  .about-logo-float {
    transform: none;
  }

  .phone-handset {
    opacity: 1;
    transform: none;
  }

  .phone-cord {
    stroke-dashoffset: 0;
  }

  .deal-svg.phone-svg {
    transform: none;
  }

  .pitch-spotlight,
  .pitch-whisper,
  .pitch-arc-progress,
  .pitch-char,
  .pitch-hook {
    animation: none !important;
    transition: none !important;
  }

  .pitch-char,
  .pitch-hook {
    opacity: 1;
    transform: none;
  }

  .pitch-arc-progress {
    stroke-dashoffset: 0;
  }

  .hero-ambient .orb,
  .hero-panel-dark,
  .hero-arc,
  .scroll-cue span,
  .brand-hero-lockup,
  .reveal-up,
  .orbit,
  .mark-ring,
  .mark-pulse,
  .cap-node,
  .pulse-dot,
  .live-dot,
  .btn-hook,
  .btn-hook::before,
  .hero-title-accent::after,
  .hero-title-accent .char {
    animation: none !important;
  }

  .reveal-up,
  .hero-title-accent .char {
    opacity: 1;
    transform: none;
  }

  .hero-title-accent::after {
    transform: scaleX(1);
  }
}
