﻿:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-alt: #101010;
  --ink: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.6);
  --faint: rgba(245, 245, 245, 0.18);
  --accent: #7a1414;
  --accent-olive: #3f4a32;
  --border: rgba(245, 245, 245, 0.1);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;

}

::selection {
  background: var(--accent);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.static-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.25;
  mix-blend-mode: screen;
  z-index: 1;
}

body[data-mode="polished"] .static-noise {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.12) 2px,
    transparent 2px,
    transparent 4px
  );
}

.slide-overlay {
  display: none;
  color: var(--surface);
  margin: 1rem 2rem;
}
.slide-overlay h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.32rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  margin-bottom: -2rem;
}
body[data-mode="polished"] .slide-overlay {
  display: block;
}

.top-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6vw;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.92) 0%,
    rgba(5, 5, 5, 0.18) 100%
  );
  border-bottom: 1px solid rgba(245, 245, 245, 0.05);
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  opacity: 1;
}

.top-nav.nav-shelved {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
}

.top-nav.nav-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

button {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  margin: 0;
}

.nav-brand {
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
  line-height: 0.6;
  letter-spacing: 0.35rem;
  font-size: 1.9rem;
  font-weight: 100;
}
.nav-brand span {
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
}

.top-nav.nav-hidden {
  transform: translateY(-120%);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

main {
  position: relative;
  z-index: 2;
  scroll-snap-type: y mandatory;
  box-shadow: rgba(110, 110, 110, 0.19) 0px 10px 20px, rgba(90, 90, 90, 0.23) 0px 6px 6px;
  width: 100vw;
  left: 0;
}

.hero {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero-image {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  min-height: 420px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*
.hero-image::before {
  content: '';
  position: absolute;
  inset: 12% -18% 58% 45%;
  background: var(--accent);
  opacity: 0.12;
  transform: skewX(-12deg);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: auto 10% 14% 0;
  border-top: 1px solid rgba(245, 245, 245, 0.15);
}
*/

.hero-image img {
  position: relative;
  width: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  left: 2rem;
  top: 2rem;
  max-width: 55%;

  display: none;
  flex-direction: column;
  gap: 1.8rem;

  transform: translateY(12vh);
}

.asylum-header {
  background: rgb(0 0 0 / 72%);
  padding: 0.2em 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
  background: rgb(0 0 0 / 51%);
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.6rem);
  letter-spacing: 0.08rem;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}

.hero h1 span {
  padding: 1rem;
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0;
}

.we-do {
  position: relative;
  overflow: hidden;
  right: 0;
  width: 40%;
  height: calc(100% - 1rem);
  scroll-snap-align: center;
}


.we-do-content {
  position: absolute;
  width: 100%;
  top: 15%;
  left: -45%;
  height: 70%;
  transform: rotate(-15deg);
}

.we-do-grid {
  position: relative;
  width: 65vw;
  height: 30vw;
  overflow: hidden;
}

.we-do-card {
  position: absolute;
  background: url(img/home2_2_2.webp) center;
  background-repeat: no-repeat;
  background-size: 65vw 30vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

.box1 {
  top: 0;
  left: 20rem;
  width: 20rem;
  height: 5rem;
  background-position: -20em -0px;
}

.box2 {
  top: 0;
  left: 41rem;
  width: 20rem;
  height: 5rem;
  background-position: -41em -0rem;
}
.box2_e {
  display: none;
}
.box3 {
  display: none;
  top: 6rem;
  left: 57rem;
  width: 20rem;
  height: 5rem;
  background-position: -57em -6rem;
}

.box4 {
  top: 6rem;
  left: 15rem;
  width: 20rem;
  height: 5rem;
  background-position: -15em -6rem;
}

.box5 {
  top: 6rem;
  left: 36rem;
  width: 20rem;
  height: 5rem;
  background-position: -36em -6rem;
}

.box6 {
  top: 12rem;
  left: 10rem;
  width: 20rem;
  height: 5rem;
  background-position: -10em -12rem;
}

.box7 {
  top: 12rem;
  left: 31rem;
  width: 20rem;
  height: 5rem;
  background-position: -31em -12rem;
}

.box8 {
  top: 12rem;
  left: 52rem;
  width: 20rem;
  height: 5rem;
  background-position: -52em -12rem;
}

.box9 {
  top: 18rem;
  left: 5rem;
  width: 9rem;
  height: 5rem;
  background-position: -5em -18rem;
}

.box10 {
  top: 18rem;
  left: 15rem;
  width: 20rem;
  height: 5rem;
  background-position: -15em -18rem;
}

.box11 {
  top: 18rem;
  left: 36rem;
  width: 20rem;
  height: 5rem;
  background-position: -36em -18rem;
}

.box12 {
  top: 18rem;
  left: 57rem;
  width: 20rem;
  height: 5rem;
  background-position: -57em -18rem;
}

.box13 {
  top: 24rem;
  left: 2rem;
  width: 17rem;
  height: 5rem;
  background-position: -2em -24rem;
}

.box14 {
  top: 24rem;
  left: 20rem;
  width: 20rem;
  height: 5rem;
  background-position: -20em -24rem;
}

.box15 {
  top: 24rem;
  left: 41rem;
  width: 20rem;
  height: 5rem;
  background-position: -41em -24rem;
}

.box16 {
  top: 24rem;
  left: 62rem;
  width: 20rem;
  height: 5rem;
  background-position: -62em -24rem;
}

.box-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: opacity(0.5);
  background: #332e2e;
  z-index: 1;
}

.box-content {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: 0.85rem;

  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  height: 100%;
}

.box-content h3 {
  margin: 0;
  text-align: center;

  font-size: 1.1rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.cta-delay {
  align-self: flex-start;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in 0.9s var(--ease) forwards;
  animation-delay: 1.6s;
}

.cta-delay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease);
  opacity: 0.16;
}

.cta-delay:hover::before {
  transform: translateX(0);
}

.services,
.testimonials,
.contact,
.about {
  padding: 5vw 3vw;
}
section {
  overflow: hidden;
}

.services .section-heading,
.testimonials .section-heading {
  max-width: 580px;
  margin-bottom: 4vw;
}

.section-heading h2, .we-do-head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin: 0.6rem 0 0;
  font-weight: 100;
}

.section-note {
  color: var(--muted);
  margin: 0;
}

.phase-grid {
  display: grid;
  gap: 3vw;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.phase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 3rem 2.4rem;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.96) 0%,
    rgba(15, 15, 15, 0.78) 100%
  );
  border: 1px solid rgba(245, 245, 245, 0.07);
  overflow: hidden;
  transition:
    transform 0.8s var(--ease),
    border-color 0.8s var(--ease);
}
[data-mode="polished"] .phase-card {
  
  background: linear-gradient(135deg, rgba(142, 108, 163, 0.12) 0%, rgba(167, 167, 0, 0.12) 100%);
}

[data-mode="less"] .phase-card {
  background: linear-gradient(135deg, rgba(45, 25, 51, 0.96) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: -40% 45% 62% -10%;
  background: #ff0000;
  opacity: 0.06;
  transform: skewX(-16deg);
}

.phase-card:nth-of-type(2)::before {
  background: var(--accent-olive);
}

.phase-card header {
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
}

.phase-index {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.26rem;
  color: var(--accent);
}

.phase-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin: 0;
}

.phase-copy {
  margin: 0;
  color: var(--muted);
  max-width: 420px;
}

.service-board {
  display: grid;
  gap: 1.2rem;
}

.service-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(245, 245, 245, 0.08);
  background: var(--surface-alt);
  min-height: 140px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  --tilt-x: 0;
  --tilt-y: 0;
  transform: translate(0, 0) rotateX(0deg) rotateY(0deg);
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 12% 20%;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(122, 20, 20, 0.35) 0%,
    transparent 100%
  );
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

.service-card::after {
  inset: auto 15% -30% -30%;
  background: linear-gradient(0deg, rgba(122, 20, 20, 0.22), transparent 70%);
}

.service-card .service-title {
  text-transform: uppercase;
  letter-spacing: 0.32rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.service-card .service-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.72);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.service-card:hover {
  transform: translate(6px, -8px) rotateX(calc(var(--tilt-y) * 1deg))
    rotateY(calc(var(--tilt-x) * 1deg));
  border-color: var(--accent);
  background: rgba(15, 15, 15, 0.96);
}
[data-mode="polished"] .service-card:hover {
  background: #101921;
}

.service-card:hover .service-copy {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
  animation: glitch 0.5s steps(2, end);
}

.phase-card:hover {
  transform: translateY(-12px);
  border-color: rgba(122, 20, 20, 0.6);
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(280px, 0.65fr);
  gap: 8vw;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-frame {
  position: relative;
  padding: 2.4rem;
  background: var(--surface);
  border: 1px solid rgba(245, 245, 245, 0.07);
  transform: rotate(-3deg);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.75);
}

.about-frame img {
  filter: grayscale(1) contrast(1.4);
}

.scanline {
  position: absolute;
  inset: 12% 10% auto;
  height: 18%;
  border-top: 1px solid rgba(245, 245, 245, 0.2);
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
  background: linear-gradient(90deg, rgba(122, 20, 20, 0.3), transparent);
  animation: scan 5s linear infinite;
}

.about-copy {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-copy h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  margin: 0;
}

.fragment {
  margin: 0;
  color: var(--muted);
}

.accent-fragment {
  color: var(--accent);
}

.testimonials {
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(122, 20, 20, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  gap: 4vw;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}

blockquote {
  margin: 0;
  padding: 2.4rem;
  border: 1px solid rgba(245, 245, 245, 0.1);
  background: rgba(10, 10, 10, 0.8);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.03rem;
}

blockquote p {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08rem;
  font-size: 1.6rem;
}

blockquote cite {
  font-style: normal;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.32rem;
  color: var(--muted);
}

.contact {
  text-align: center;
  padding-bottom: 14vw;
}

.contact h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.16rem;
  margin-bottom: 1rem;
}

.contact-lead {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 1rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
}

.contact-links a {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(245, 245, 245, 0.12);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.disclaimer {
  margin-top: 3rem;
  color: rgba(245, 245, 245, 0.45);
  letter-spacing: 0.28rem;
  text-transform: uppercase;
}

.site-footer {
  padding: 2.8rem 6vw;
  border-top: 1px solid rgba(245, 245, 245, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  background: rgba(5, 5, 5, 0.92);
}

.make-google {
  display: none;
  width: 20rem;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 99;
}

.make-google h3 {
  text-align: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  width: 100%;
}

[data-animate] {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitch {
  0% {
    clip-path: inset(10% 0 30% 0);
  }

  20% {
    clip-path: inset(40% 0 18% 0);
    transform: skewX(-3deg);
  }

  40% {
    clip-path: inset(20% 0 45% 0);
    transform: skewX(3deg);
  }

  60% {
    clip-path: inset(50% 0 10% 0);
    transform: translateY(-2px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes scan {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    opacity: 0.05;
  }

  100% {
    transform: translateY(160%);
    opacity: 0.4;
  }
}

.hero-img--less-mad {
  filter: none;
}

.hero-img--mad {
  filter: grayscale(1) contrast(1.3);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-image {
    transform: translate(-2vw, 0);
    min-height: 360px;
    margin-top: 8rem;
    font-waight: 100 !important;
  }

  .hero-content {
    transform: none;
    max-width: 100%;
    bottom: 8%;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-frame {
    transform: none;
  }
}

@media (max-width: 720px) {
  .top-nav {
    flex-direction: column;
    gap: 0.8rem;
    letter-spacing: 0.18rem;
  }
  .hero h1 {
    font-weight:100;
  }
  .hero-content .cta-delay {
    font-size: 0.5rem;
    padding: 0.7rem .5rem;
  }
  .make-google {
    padding: 1.7rem 1rem;
    bottom: 25%;
    right: 0;
    width: 40%;
  }
  .make-google h3{
    font-size: 0.6rem;
  }
  .we-do-card {
    background-size: 150vw 30rem;
  }

  .hero {
    display: contents;
    padding: 0;
  }

  .hero img {
    height: 100%;
    width: auto;
    min-height: 50vh;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .hero {
    padding: 10vw 8vw 14vw;
  }

  .only-desk {
    display: none;
  }

  .services,
  .testimonials,
  .about,
  .contact {
    padding: 14vw 8vw;
  }

  .service-card {
    min-height: 160px;
  }

  .contact-links {
    flex-direction: column;
    gap: 1.4rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .box-content h3 {
    font-size: 0.8rem;
  }

  .we-do {
    position: relative;
    width: 100%;
    transform: rotate(0deg);
    margin: 0 1%;
    width: 98%;
  }

  main {
    overflow: hidden;
    scroll-snap-type: y proximal;
  }

  .we-do-content {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    height: auto;
    transform: rotate(0deg);
    padding: 4vw 0;
  }
  .we-do-grid {
    width: 150vw;
    height: 25rem;
  }

  .box1 {
    left: 0rem;
    width: 40vw;
    background-position: -0rem -0rem;
  }

  .box2 {
    left: 41vw;
    width: 40vw;
    background-position: -41vw -0rem;
  }
  .box2_e {
    display: block;
    top: 0rem;
    height: 5rem;
    left: 82vw;
    width: 40vw;
    background-position: -67vw -0rem;
  }
  .box3 {
    display: block;
    height: 5rem;
    top: 5.2rem;
    left: 0rem;
    width: 19vw;
    background-position: -0rem -5.2rem;
  }
  .box4 {
    top: 5.2rem;
    left: 20vw;
    width: 40vw;
    background-position: -20vw -5.2rem;
  }

  .box5 {
    top: 5.2rem;
    left: 61vw;
    width: 40vw;
    background-position: -61vw -5.2rem;
  }
  .box6 {
    top: 10.4rem;
    left: 0rem;
    width: 40vw;
    background-position: -0rem -10.4rem;
  }

  .box7 {
    top: 10.4rem;
    left: 40vw;
    width: 40vw;
    background-position: -40vw -10.4rem;
  }

  .box8 {
    top: 10.4rem;
    left: 81vw;
    width: 40vw;
    background-position: -81vw -10.4rem;
  }

  .box9 {
    top: 15.6rem;
    left: 0rem;
    width: 19vw;
    background-position: -0em -15.6rem;
  }

  .box10 {
    top: 15.6rem;
    left: 20vw;
    width: 40vw;
    background-position: -5rem -15.6rem;
  }

  .box11 {
    top: 15.6rem;
    left: 61vw;
    width: 40vw;
    background-position: -61vw -15.6rem;
  }

  .box15 {
    top: 20.8rem;
    left: 0rem;
    width: 40vw;
    background-position: -0em -20.8rem;
  }

  .box14 {
    top: 20.8rem;
    left: 41vw;
    width: 40vw;
    height: 5rem;
    background-position: -41vw -20.8rem;
  }

  .box13 {
    top: 20.8rem;
    left: 82vw;
    width: 20vw;
    height: 5rem;
    background-position: -82vw -20.8rem;
  }

  .box16 {
    top: 20.8rem;
    left: 82vw;
    width: 20rem;
    height: 5rem;
    background-position: -82vw -20.8rem;
  }

  .box-overlay {
    background: black;
    filter: opacity(0.5);
  }

  .we-do-card {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .cta-delay {
    opacity: 1;
    transform: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ===== MODE TOGGLE ===== */

.mode-toggle {
  display: inline-flex;
  gap: 6px;
  margin-left: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(4px);
}

.mode-toggle button {
  appearance: none;
  border: 0;
  padding: 6px 12px;
  font: inherit;
  color: var(--text, #e9e9e9);
  background: transparent;
  border-radius: 999px;
  opacity: 0.7;
  cursor: pointer;
}

.mode-toggle button.is-active {
  background: rgba(122, 20, 20, 0.22);
  opacity: 1;
}

/* ===== GLOBAL MODE SKINS ===== */

:root {
  --accent: #7a1414;
  --lime: #7a1414; /* pop for mad */

  --gentle-card: rgba(255, 255, 255, 0.04);
  --gentle-border: rgba(255, 255, 255, 0.12);
  --gentle-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

body[data-mode="mad"] .mode-toggle [data-mode="mad"] {
  background: rgba(122, 20, 20, 0.32);
  opacity: 1;
}

body[data-mode="less"] .mode-toggle [data-mode="less"] {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

/* Show/hide we-do variants by mode */

body[data-mode="mad"] .we-do--mad {
  display: block;
}

body[data-mode="mad"] .we-do--less-mad {
  display: none;
}

body[data-mode="mad"] .hero-img--less-mad {
  display: none;
}

body[data-mode="mad"] .hero-img--mad {
  display: block;
}

body[data-mode="mad"] .we-do::before {
  display: block;
}

body[data-mode="less"] .we-do--mad {
  display: none;
}

body[data-mode="less"] .we-do--less-mad {
  display: block;
}

body[data-mode="less"] .we-do::before {
  display: none;
}

body[data-mode="less"] .hero-img--mad {
  display: none;
}

body[data-mode="less"] .hero-img--less-mad {
  display: block;
}

/* ===== MAD: roaming target scanner ===== */

.we-do--mad [class*="box"] {
  outline: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    filter 0.25s ease,
    transform 0.25s ease,
    outline-color 0.25s ease;
}

.we-do--mad .target-floater {
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 5;
  mix-blend-mode: screen;
  transform: translate3d(-9999px, -9999px, 0);
  transition:
    transform var(--target-duration, 2s) cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
  opacity: 0;
}

.we-do--mad .target-floater[data-state="active"] {
  opacity: 0.9;
}

.we-do--mad .target-floater[data-state="idle"] {
  opacity: 0.35;
}

.we-do--mad .target-floater::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(122, 20, 20, 0.35),
    transparent 70%
  );
  filter: blur(12px);
  opacity: 0.9;
}

.we-do--mad .target-floater .target-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 14px rgba(122, 20, 20, 0.45));
  animation: target-float 2.8s ease-in-out infinite alternate;
}

@keyframes target-float {
  from {
    transform: translate3d(0, -6px, 0) rotate(-1.5deg);
  }

  to {
    transform: translate3d(0, 6px, 0) rotate(1.5deg);
  }
}

.we-do--mad [class*="box"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120px 80px at 80% 15%,
    rgba(122, 20, 20, 0.1),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.we-do--mad [class*="box"].lit::after,
.we-do--mad [class*="box"].is-scouted::after,
.we-do--mad [class*="box"]:hover::after,
.we-do--mad [class*="box"]:focus-within::after {
  opacity: 1;
}

.we-do--mad [class*="box"].lit,
.we-do--mad [class*="box"].is-scouted,
.we-do--mad [class*="box"]:hover,
.we-do--mad [class*="box"]:focus-within {
  outline-color: rgba(122, 20, 20, 0.55);
  filter: brightness(1.35) saturate(1.1);
  transform: translateZ(0);
}

.lit h3,
.is-scouted h3 {
  color: #fff;
  background: var(--accent);
}

/* Reveal any description element inside the box on light-up */

.we-do--mad [class*="box"] .box-description,
.we-do--mad [class*="box"] .service-copy,
.we-do--mad [class*="box"] p {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.we-do--mad [class*="box"].lit .box-description,
.we-do--mad [class*="box"].lit .service-copy,
.we-do--mad [class*="box"].lit p,
.we-do--mad [class*="box"].is-scouted .box-description,
.we-do--mad [class*="box"].is-scouted .service-copy,
.we-do--mad [class*="box"].is-scouted p,
.we-do--mad [class*="box"]:hover .box-description,
.we-do--mad [class*="box"]:hover .service-copy,
.we-do--mad [class*="box"]:hover p,
.we-do--mad [class*="box"]:focus-within .box-description,
.we-do--mad [class*="box"]:focus-within .service-copy,
.we-do--mad [class*="box"]:focus-within p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== less-mad: grid, softer visuals ===== */

.we-do--less-mad {
  width: fit-content;
  position: relative;
}

.we-do--less-mad .we-do-content {
  position: relative;
  transform: none;
  inset: auto;
  padding: clamp(16px, 4vw, 32px);
}

.we-do--less-mad h2 {
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.we-do--less-mad .we-do-sub {
  color: #a9a9a9;
  margin: 0 0 1rem;
}

.we-do--less-mad .we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 45rem;
}

.we-do--less-mad .we-do-item {
  background: var(--gentle-card);
  border: 1px solid var(--gentle-border);
  border-radius: 18px;
  box-shadow: var(--gentle-shadow);
  padding: 1rem 1.1rem;
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.we-do--less-mad .we-do-item h3 {
  margin: 0;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.we-do--less-mad .we-do-item span {
  color: #bdbdbd;
  font-size: 0.9rem;
}

.we-do--less-mad .we-do-item:hover,
.we-do--less-mad .we-do-item:focus-within {
  border-color: rgba(122, 20, 20, 0.35);
  transform: translateY(-1px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    var(--gentle-card)
  );
}

/* --- Accessibility helper --- */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- Position: safe bottom area, unobtrusive --- */
.mode-dial {
  --dial-offset-x: 0;
  --dial-offset-y: 0;
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 70;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(var(--dial-offset-x), var(--dial-offset-y), 0);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.mode-dial.mode-dial--shelved {
  opacity: 0;
  pointer-events: none;
  --dial-offset-y: 32px;
}

.mode-dial.mode-dial--visible {
  opacity: 1;
  pointer-events: auto;
  --dial-offset-y: 0;
}
@media (min-width: 1000px) {
  .mode-dial {
    left: 50%;
    --dial-offset-x: -50%;
  } /* match your desktop mock */
}

/* --- Dial shell --- */
.dial {
  position: relative;
  width: 210px;
  height: 120px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  outline: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Labels around the core */
.dial__label {
  position: absolute;
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: #d7d7d7;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
  opacity: 0.85;
}
.dial__label[data-mode="less"] {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.dial__label[data-mode="mad"] {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}
.dial__label[data-mode="polished"] {
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
}
.dial__label[data-mode="war"] {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.dial__label.is-active {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Center core button */
.dial__core {
  --rot: 0deg;
  --pointer-radius: 24px;
  --shiftX: -5px;
  --shiftY: -10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 0.65rem;
  /* font-weight: 700; */
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.35) inset,
    0 6px 20px rgba(0, 0, 0, 0.35);
}

.dial__core::before {
  /* little triangle pointer */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 9px solid rgba(255, 255, 255, 0.9);
  transform: rotate(var(--rot)) translateY(calc(-1 * var(--pointer-radius)))
    translate(var(--shiftX), var(--shiftY));
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  transition: transform 0.45s var(--ease);
}

/* Hovers/focus */

.dial__label:focus-visible,
.dial__core:focus-visible {
  outline: 2px solid var(--pop, #c7fe00);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .dial__core {
    transition: box-shadow 0.25s ease;
  }
  .dial__core:active {
    box-shadow:
      0 1px 10px rgba(0, 0, 0, 0.25) inset,
      0 4px 14px rgba(0, 0, 0, 0.3);
  }
}

/* Example: body background could read var(--bg) and so on */

/* Mobile */

@media (max-width: 720px) {
  .we-do--less-mad .we-do-grid {
    grid-template-columns: 1fr;
    width: 100%;
    height: max-content;
  }
}

/* Respect prefers-reduced-motion */

@media (prefers-reduced-motion: reduce) {
  .we-do--mad [class*="box"] .target-icon {
    animation: none;
  }

  .we-do--less-mad .we-do-item {
    transition: none;
  }

  body[data-mode="polished"] .hero-video[data-mode="polished"] {
    display: none;
  }
  body[data-mode="polished"] .hero-img[data-mode="polished"] {
    display: block;
  }
}

@media only screen and (min-width: 1080px) and (max-width: 1400px) {
  body {
    font-size: 12px;
  }
  .we-do-content {
    left: -55%;
  }
  .we-do::before {
    left: -26%;
  }
  .make-google {
    padding: 1.5rem;
  }
  .make-google h3 {
    font-size: 0.85rem;
  }
  .phase-grid {
    gap: 1vw;
  }
  .services {
    padding: 10vw 2vw;
  }
  .we-do--less-mad .we-do-grid {
    width: 35rem;
  }
}

@media (hover: none) {
  .services.is-visible .service-card .service-copy {
    opacity: 1;
    transform: translateY(0);
  }

  .services.is-visible .service-card::before,
  .services.is-visible .service-card::after {
    opacity: 0.45;
  }
}
/* Base hero media frame */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay:not([aria-hidden="true"]) {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay:not([aria-hidden="true"]) .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--muted);
  cursor: pointer;
}

.modal-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.1rem;
}

.modal-header p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--muted);
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  background: #050505;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 1rem;
  border-radius: 4px;
}

#audit-form .cta-delay {
  width: 100%;
  opacity: 1; /* Override animation for modal */
  transform: none;
}

/* Show one content per mode */
.section-heading div {
  display: none;
}

body[data-mode="mad"] .hero-img[data-mode="mad"] {
  display: block;
}
body[data-mode="less"] .hero-img[data-mode="less"] {
  display: block;
}
body[data-mode="polished"] .hero-img[data-mode="polished"] {
  display: block;
}

body[data-mode="mad"] .hero-content[data-mode="mad"] {
  display: flex;
}
body[data-mode="less"] .hero-content[data-mode="less"] {
  display: flex;
}
body[data-mode="polished"] .hero-content[data-mode="polished"] {
  display: flex;
}

body[data-mode="mad"] .make-google[data-mode="mad"] {
  display: block;
}

body[data-mode="mad"] .section-heading div[data-mode="mad"] {
  display: block;
}
body[data-mode="less"] .section-heading div[data-mode="less"] {
  display: block;
}
body[data-mode="polished"] .section-heading div[data-mode="polished"] {
  display: block;
}
.phase-grid[data-mode] {
  display: none;
}
body[data-mode="mad"] .phase-grid[data-mode="mad"] {
  display: grid;
}
body[data-mode="less"] .phase-grid[data-mode="less"] {
  display: grid;
}
body[data-mode="polished"] .phase-grid[data-mode="polished"] {
  display: grid;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

:root[data-mode="mad"] {
  --bg: #0b0b0e;
  --surface: #0f0f10;
  --ink: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.62);
  --accent: #7a1414;
  --pop: #c7fe00;
  --border: rgba(245, 245, 245, 0.12);
  --elev: 0 6px 18px rgba(0, 0, 0, 0.6);
  --motion: 180ms;
}

:root[data-mode="less"] {
  --bg: #0b070e;
  --surface: #141517;
  --ink: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.6);
  --accent: #6a1a1a;
  --pop: #dde4ea;
  --border: rgba(245, 245, 245, 0.14);
  --elev: 0 4px 14px rgba(0, 0, 0, 0.35);
  --motion: 240ms;
}

:root[data-mode="polished"] {
  --bg: #160113;
  --surface: #2C3740;
  --surface-alt: #101921;
  --ink: #f8f9fa;
  --muted: rgba(248, 249, 250, 0.72);
  --accent: #4da3ff;
  --pop: #24c1a6;
  --border: rgba(255, 255, 255, 0.16);
  --elev: 0 8px 24px rgba(0, 0, 0, 0.28);
  --motion: 260ms;
}

/* Optional: in Polished, push the We-do below hero instead of overlaying */
body[data-mode="polished"] .we-do {
  position: relative;
  width: 100%;
  height: auto;
}
body[data-mode="polished"] .step {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
body[data-mode="less"] .we-do {
  position: relative;
  width: 100%;
  height: auto;
}

/* Layout */
.we-do {
  width: 100%;
  margin-inline: auto;
}
.we-do-head {

  padding: clamp(12px, 2vw, 24px) clamp(16px, 4vw, 40px);
}
.we-do-link {
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/*
.we-do-slider {
  position: relative;
  margin: 1rem 0 5rem;

  width: 100%;
  height: clamp(380px, 65vh, 75vh);
  overflow: visible;
  user-select: none;
  border-radius: 16px;
  --slide-width: 40vw;
  --slide-gap: clamp(16px, 3vw, 36px);
}
.we-do-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: var(--slide-gap);
  padding-inline: calc((100% - var(--slide-width)) / 2);
  will-change: transform;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
*/
.we-do-slider {
  position: relative;
  margin: 1rem 0 5rem;
  width: 100%;
  height: clamp(380px, 45vh, 55vh);
  overflow: visible;
  user-select: none;
  border-radius: 16px;
  --slide-width: 20rem;
  --slide-gap: clamp(16px, 3vw, 36px);
}
.we-do-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  justify-content: start;
}



@media (prefers-reduced-motion: reduce) {
  .we-do-track {
    transition: none;
  }
}
/*
.we-do-slide {
  position: relative;
  flex: 0 0 var(--slide-width);
  height: 100%;
  overflow: hidden;
  background: #0b0b0b;
  border-radius: 18px;
}*/
.we-do-slide {
  position: absolute;
    width: var(--slide-width);
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    overflow: hidden;
    background: rgba(11, 7, 14, 0.56);
    border: 2px solid rgb(89 34 29);
    border-radius: 18px;
    backdrop-filter: blur(1px);
    transition: transform 0.5s;
}
.we-do-slide img[data-mode] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  filter: contrast(1.05) saturate(1.05);
}
body[data-mode="mad"] .we-do-slide img[data-mode="mad"] {
  display: block;
}
body[data-mode="less"] .we-do-slide img[data-mode="less"] {
  display: block;
}
body[data-mode="polished"] .we-do-slide img[data-mode="polished"] {
  display: block;
}

/* Copy overlay */
/* Copy overlay with Neon Glass effect 
.we-do-copy {
  position: absolute;
  
  inset: auto 20px 20px auto;
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);

    backdrop-filter: blur(8px);

  border: 1px solid rgba(200, 255, 200, 0.4);

  box-shadow: 0 0 15px rgba(133, 247, 0, 0.25), 0 0 25px rgba(133, 247, 0, 0.15);


  color: #fff;
  width: 60%;
  
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}*/

.we-do-copy {
    padding: clamp(.5rem, 3vw, 1rem);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
body[data-mode="polished"] .we-do-copy {
  background: none;
  border: none; /* Remove border for a cleaner look */
  box-shadow: none
}
.
.we-do-slide-gone {
  transform: perspective(70rem) translate3d(-0px, 0, 0px) rotateY(0deg) scale(0);
}
.we-do-slide-active{
  transform: perspective(70rem) translate3d(-0px, 0, -0) rotateY(0deg);
}
.we-do-slide-step-1 {
  transform: perspective(500px) translate3d(-350px, 0px, -100px) rotateY(-27deg);
  z-index: 1;
}
.we-do-slide-step-2 {
  transform: perspective(70rem) translate3d(-450px, 0, -100px) rotateY(-27deg);
  z-index: 2;
}
.we-do-slide-step-3 {
  transform: perspective(70rem) translate3d(-550px, 0, -100px) rotateY(-27deg);
  z-index: 3;
}
.we-do-slide-step-4 {
  transform: perspective(70rem) translate3d(-650px, 0, -100px) rotateY(-27deg);
  z-index: 4;
}
.we-do-slide-starting {
  transform: perspective(70rem) translate3d(-50vw, 0, -103px) rotateY(-60deg);
} 


.we-do-slide1 {
  transform: perspective(500px) translate3d(15px, 0px, -235px) rotateY(-50deg);
}
.is-active-1 {
  transform: perspective(500px) translate3d(400px, 0, 0px) rotateY(0deg);
}
.we-do-slide2 {
  transform: perspective(500px) translate3d(-281px, 0px, -191px) rotateY(-35deg);
  z-index: -1;
}
.is-active-2 {
  transform: perspective(500px) translate3d(192px, 0, 0px) rotateY(0deg); 
}
.we-do-slide-right-2 {
  transform: perspective(500px) translate3d(566px, 0, -110px) rotateY(22deg);
  z-index: 2;
}

.we-do-slide3 {
  transform: perspective(500px) translate3d(-570px, 0px, -180px) rotateY(-25deg);
  z-index: -2;
}
.is-active-3 {
  transform: perspective(500px) translate3d(-17px, 0, 0px) rotateY(0);
}
.we-do-slide-right-3 {
  transform: perspective(500px) translate3d(287px, 0, -100px) rotateY(30deg);
  z-index: 3;
}
.we-do-slide4 { 
  transform: perspective(500px) translate3d(-518px, 0, -113px) rotateY(57deg);
}
.is-active-4 {
  transform: perspective(500px) translate3d(-400px, 0, 0px) rotateY(0deg);
}
.we-do-slide-right-4 {
  transform: perspective(500px) translate3d(17px, 0, -125px) rotateY(45deg);
  z-index: 4;
}



/* A small tweak for mobile to give it more space */
@media (max-width: 768px) {
  .we-do-copy {
    width: calc(100% - 40px); 
  }
}


.we-do-copy h3 {
  margin: 0.25rem 0 1.5rem; /* Increased bottom margin for separation */
  font-weight: 100; /* Lighter weight for elegance */
  font-family: 'Bebas Neue', sans-serif; /* Use the more impactful font */
  font-size: clamp(1rem, 3vw, 1.4rem); /* Make it significantly larger */
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Add subtle shadow for pop */
}

/* Find and modify the existing .we-do-step rule */
.we-do-step {
  opacity: 0.85;
  font-size: 0.85rem;
  letter-spacing: 0.1em; /* Increased letter spacing */
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  font-weight: 600; /* Add some weight */
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 100;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
}

/* Controls */
.we-do-controls {
  position: absolute;
  inset: auto 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.1rem);
  pointer-events: none;
  bottom: -5rem;
}

.wd-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: inherit;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.wd-toggle:hover,
.wd-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.55);
}
.wd-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.wd-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.wd-toggle .wd-icon--pause {
  display: block;
}
.wd-toggle .wd-icon--play {
  display: none;
}
.wd-toggle:not(.is-playing) .wd-icon--pause {
  display: none;
}
.wd-toggle:not(.is-playing) .wd-icon--play {
  display: block;
}
.wd-prev,
.wd-next {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
.wd-prev:hover,
.wd-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.wd-dots {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0.5rem;
  padding: 0;
  pointer-events: auto;
}
.wd-dots [role="tab"] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
}
.wd-dots [aria-selected="true"] {
  background: rgba(255, 255, 255, 0.9);
}

/* Themed edges by mode (optional glow)
body[data-mode="mad"] .we-do-slide {
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.12),
    0 10px 30px rgba(255, 0, 0, 0.06);
}
body[data-mode="less"] .we-do-slide {
  box-shadow:
    0 0 0 1px rgba(0, 255, 128, 0.12),
    0 10px 30px rgba(0, 255, 128, 0.06);
} */
body[data-mode="polished"] .we-do-slide {
  background: #8C735D;
  box-shadow:
    0 0 0 1px rgba(0, 168, 255, 0.42),
    0 10px 30px rgba(0, 168, 255, 0.36);
}
@media (max-width: 1400px) {

  
.we-do-slide1 {
  transform: perspective(500px) translate3d(20px, 0px, -120px) rotateY(60deg);
}

.we-do-slide2 {
  transform: perspective(500px) translate3d(-173px, 0px, -123px) rotateY(78deg);
}


.we-do-slide3 {
  transform: perspective(500px) translate3d(-373px, 0px, -135px) rotateY(96deg);
}






}

@media (max-width: 768px) {
  .we-do-slider {
    --slide-width: 100%;
    --slide-gap: clamp(12px, 4vw, 24px);
  }
}


/* Roadmap band (Polished & Less) */
.roadmap{ padding: 6vw 6vw 3vw; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.roadmap__title{ margin:0 0 1rem; font-family:'Bebas Neue',sans-serif; letter-spacing:.12rem; text-transform:uppercase; color:var(--accent); }
.roadmap__wrap{ position:relative; }

.roadmap__steps{
  --prog: 0; /* 0..6 (index) */
  display:grid; grid-template-columns: repeat(7, minmax(0,1fr));
  gap: .75rem; list-style:none; margin: 1rem 0 1.25rem; padding: 0;
  position:relative;
}
.roadmap__steps::before,
.roadmap__steps::after{
  content:""; position:absolute; left:0; right:0; top: 18px; height:2px; 
  background: rgba(255,255,255,.08);
}
.roadmap__steps::after{
  background: linear-gradient(90deg, var(--accent), var(--accent));
  transform-origin:left center;
  transform: scaleX(calc((var(--prog)) / 6)); /* fills as active index advances */
}

.roadmap__steps li{
  position:relative; padding-top:36px; text-align:center; font-size:.9rem; color:var(--muted);
}
.roadmap__steps li::before{
  content:""; position:absolute; left:50%; top:10px; width:16px; height:16px; border-radius:50%;
  transform:translateX(-50%); background:var(--surface-alt); border:1px solid var(--border);
  box-shadow:0 2px 10px rgba(0,0,0,.35);
}
.roadmap__steps li.is-active::before{ background:var(--accent); border-color:var(--accent); transform:translateX(-50%) scale(1.15); }
.roadmap__steps li:hover::after,
.roadmap__steps li.is-active::after{
  content:attr(data-tip); position:absolute; left:50%; top: -40px; transform:translateX(-50%);
  background: rgba(0,0,0,.7); border:1px solid var(--border); padding:.35rem .5rem; border-radius:6px;
  font-size:.78rem; color:var(--ink); white-space:nowrap;
}

.roadmap__cta{ display:inline-block; margin-top:.25rem; padding:.7rem 1.4rem; border:1px solid var(--accent); letter-spacing:.18rem; text-transform:uppercase; font-size:.8rem; }

/* Visibility by mode */
body[data-mode="mad"]      #roadmap{ display:none; }
body[data-mode="less"]     #roadmap{ display:block; }
body[data-mode="polished"] #roadmap{ display:block; }

/* Mobile: allow wrap */
@media (max-width:720px){
  .roadmap__steps{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  .roadmap__steps li:nth-child(n+5){ margin-top:1.2rem; }
}


/* Roadmap */
.roadmap { padding: 8vw 6vw; position: relative; }
.roadmap-track { position: relative; height: 6px; margin: 2rem 0 3rem; }
.roadmap-track svg { width: 100%; height: 6px; display:block; }
.roadmap-line {
  stroke: rgba(245,245,245,.14); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.4s var(--ease);
}
.roadmap.is-visible .roadmap-line { stroke-dashoffset: 0; }

.roadmap-steps {
  display: grid; grid-template-columns: repeat(4, minmax(220px,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none;
}
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  padding: 1.4rem; min-height: 180px; display:grid; align-content:start; gap:.6rem;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--accent); }
.step-index { font-family: 'Bebas Neue', sans-serif; color: var(--accent); letter-spacing:.16rem; font-size:1.4rem; }
.step h3 { margin:.2rem 0; text-transform:uppercase; letter-spacing:.1rem; font-family:'Bebas Neue', sans-serif; }
.step p { margin:0; color: var(--muted); }
.step small { color: var(--muted); opacity:.8; letter-spacing:.06rem; }

.roadmap--compact .roadmap-cards{
  display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; margin:0; padding:0; list-style:none;
}
.roadmap--compact li{
  background: var(--gentle-card); border: 1px solid var(--gentle-border); border-radius: 16px; padding:1rem;
}

@media (max-width: 900px){
  .roadmap-steps{ grid-template-columns: 1fr; }
  .roadmap-track{ display:none; }
}
.proof { padding: 6vw 3vw; border-top:1px solid var(--border); }
.proof-band { margin: 2.5rem 0; }
.proof-grid {
  display:grid; gap:2rem; align-items:center;
  grid-template-columns: minmax(0,1fr) minmax(320px,0.9fr);
}
.proof-visual img { width:100%; height:auto; border:1px solid var(--border); background:#0b0b0b; }
.proof-copy h3 {
  font-family:"Bebas Neue",sans-serif; letter-spacing:.14rem;
  text-transform:uppercase; margin:.2rem 0 1rem; color:var(--accent);
}
.proof-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1rem; }
.proof-ghost { border:1px solid var(--border); padding:.75rem 1.5rem; text-transform:uppercase; letter-spacing:.18rem; }
.proof-note { display:block; opacity:.65; margin-top:.8rem; }
.proof-list, .proof-steps { margin:.75rem 0 0; color:var(--muted); }
@media (max-width:880px){ .proof-grid{ grid-template-columns:1fr; } }
.introPage {
  --video-width: calc(100vw - 100vh*27/17);
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-color: #1f1f1f;
}

.introPage--gone {
  display: none !important;
}

.hermes-shell{
    background: #141414;
    position: fixed;
    height: 100vh;
    width: calc(100vw - 12px - 100vh * 27 / 17);
    padding: 1rem;
    display: none;
}
.fakeHermes{
  position: relative;
  width: var(--video-width);
  height: 100%;
  background-color: #181818;
  border: solid 0.5px #2b2b2b;
}
.hermes{
  position: relative;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 2rem);
  background-color: #181818;
  border: solid 0.5px #2b2b2b;
  transition: top 0.6s var(--ease), bottom 0.6s var(--ease), height 0.6s var(--ease), box-shadow 0.6s var(--ease), background-color 0.6s var(--ease), border-color 0.6s var(--ease);
  will-change: top, bottom, height;
}

.hermes.hermes--fixed{
  position: fixed;
  top: auto
  left: var(--hermes-fixed-left);
  bottom: 1rem;
  width: min(var(--hermes-fixed-width), calc(100vw - 2rem));
  height: 50vh;
  background-color: rgba(24, 24, 24, 0.92);
  border-color: rgba(74, 74, 74, 0.75);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.hermesDialogue{
  position: relative;
  width: 100%;
}
.askHermes{
  min-height: 5rem;
  width: 100%;
  margin: 0 auto;
  position: relative;
  background-color: #313131;
  border: solid 0.5px #4a4a4a;
  border-radius: 20px;
}

.introVideo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.askHermesCont {
    position: relative;
    width: 100%;
    min-height: 5rem;
}
.modelDefinition {
  margin: 0.5rem auto;
  width: 90%;
  color: #c7c7c7;
  font-size: 0.85rem;
  
}
.askHermes input[type="text"] {
  background: none;
  border: none;
  width: 80%;
  padding: 1rem;
  font-size: 0.9rem;
  color: #f0f0f0;
}
.askHermes input[type="text"]:focus {
  outline: none;
}
#editableP:after {
  --p-content: attr(data-placeholder);
  content: var(--p-content);
  color: #7a7a7a;
  cursor: text;
  pointer-events: none;
  position: relative;
}
#editableP:focus {
  outline: none;
}
#editableP {
  width:90%;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #f0f0f0;
}


/* Simple switcher (visible in War Room only) */
.simple-switcher{
  position: fixed; right: 16px; top: 16px; z-index: 10005;
  display: flex; gap: 6px; background: rgba(15,15,15,.85);
  border:1px solid var(--border); padding:6px; border-radius: 10px;
  backdrop-filter: blur(4px);
}
.simp-pill{
  border:1px solid var(--border); background: transparent; color:inherit;
  padding:.35rem .6rem; border-radius: 8px; font-size:.85rem; opacity:.9;
}
.simp-pill:hover{ border-color: var(--accent); opacity:1; }
.simp-pill--accent{ border-color: var(--accent); }

/* Intro board (VS-Code-style) */
.intro-board{
  position: fixed; inset:0; background: radial-gradient(60% 60% at 50% 40%, rgba(0,0,0,.65), rgba(0,0,0,.9));
  z-index: 10004; display:grid; place-items:center;
}
.intro-card{
  width: min(720px, 92vw); padding: 28px; border-radius: 14px;
  background: rgba(10,10,10,.95); border:1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  text-align: center;
}
.intro-card h2{ letter-spacing:.12rem; text-transform:uppercase; font-family:"Bebas Neue",sans-serif; margin:0 0 8px; }
.intro-actions{ display:flex; gap:10px; justify-content:center; margin-top:14px; flex-wrap:wrap; }
.intro-btn{
  border:1px solid var(--border); background: rgba(255,255,255,.05); color:inherit;
  padding:.55rem .9rem; border-radius:10px; letter-spacing:.06rem;
}
.intro-btn:hover{ border-color: var(--accent); }
.intro-btn--ghost{ background: transparent; }
.intro-close{
  position:absolute; top:10px; right:10px; border:1px solid var(--border);
  background: transparent; border-radius:10px; padding:.25rem .55rem;
}

/* Hermes: full vs compact */
#hermes-dock.hermes--full{ position: fixed; left: 16px; top: 16px; bottom: 16px; height: auto; }
#hermes-dock.hermes--compact{
  position: sticky; top: 16px; height: 60vh; min-height: 420px;
}

/* Hide big dial in War Room */
body.mode-war .mode-dial{ display:none !important; }
body.mode-war #simple-switcher[hidden]{ display:flex !important; }






/* Custom scrollbar for introPage */
    ::-webkit-scrollbar {
      width: 12px;
    }
    ::-webkit-scrollbar-track {
      background: #2c2c2c;
    }
    ::-webkit-scrollbar-thumb {
      background: #575757;
      border-radius: 1px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #6d6d6d;
    }


    
body {
    width: 100vw;
    overflow-x: hidden;
}

.hermes-shield {

    background: #313131;
    position: fixed;
    height: 100vh;
    width: calc(100vw - 100vh * 27 / 17);
}