/* Minimal reset (replaces Tailwind preflight used in the Figma Make build) */
*, ::before, ::after { margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; vertical-align: middle; height: auto; }


:root {
  color: #fff;
  background: #15161b;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  --page: min(94vw, 1630px);
  --purple: #a379f5;
  --green: #76fbaa;
  --line: rgba(255, 255, 255, 0.14);
  /* Big header logo geometry. Hero text is placed from these values so it
     never collides with the logo at any screen width.
     Logo artwork is 1361.68 x 402.66 units. */
  --logo-w: 94vw;
  --logo-left: 3vw;
  --logo-top: 12px;
  --logo-unit: calc(var(--logo-w) / 1361.68);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: #15161b;
}

body {
  margin: 0;
  min-width: 320px;
  background: #15161b;
}

* {
  box-sizing: border-box;
}

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

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

[data-parallax] {
  --parallax-y: 0px;
  translate: 0 var(--parallax-y);
  will-change: translate;
}

.site-header {
  --header-progress: 0;
  --logo-scale: 1;
  --menu-left: 50%;
  --menu-shift: -50%;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  padding: 0 3vw;
  pointer-events: none;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  height: 92px;
  background: rgb(21 22 27 / calc(var(--header-progress) * 0.92));
  backdrop-filter: blur(calc(var(--header-progress) * 14px));
  content: "";
}

.header-mark {
  position: absolute;
  top: var(--logo-top);
  left: var(--logo-left);
  width: var(--logo-w);
  pointer-events: auto;
  transform: scale(var(--logo-scale));
  transform-origin: left top;
  transition: filter 200ms ease;
}

.header-mark img {
  width: 100%;
}

.site-header nav {
  position: absolute;
  top: 36px;
  left: var(--menu-left);
  display: flex;
  gap: clamp(24px, 5vw, 92px);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 21px;
  font-variation-settings: "wdth" 100;
  pointer-events: auto;
  transform: translateX(var(--menu-shift));
  white-space: nowrap;
}

.site-header nav a {
  transition: color 220ms ease;
}

.site-header nav a:hover,
.site-header nav .active {
  color: var(--green);
}

/* Hero: headline starts below the full logo height (402.66 units) */
.hero {
  position: relative;
  display: flex;
  min-height: max(935px, 100svh);
  padding:
    calc(var(--logo-top) + 403 * var(--logo-unit) + clamp(28px, 3vw, 60px))
    0 60px;
  flex-direction: column;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  top: 150px;
  left: 8%;
  width: min(64vw, 1060px);
  mix-blend-mode: lighten;
}

.hero-orb img {
  animation: hero-orbit 24s linear infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes hero-orbit {
  to {
    transform: rotate(360deg);
  }
}

/* Sits in the empty space inside the "d", just left of its tall stroke
   (that space is clear between x 1050-1247 and y 15-225 in logo units).
   The label's right edge is pinned at x 1232; text scales with the logo. */
.studio-label {
  position: absolute;
  z-index: 1;
  top: calc(var(--logo-top) + 88 * var(--logo-unit));
  left: calc(var(--logo-left) + 1232 * var(--logo-unit));
  translate: -100% 0;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: calc(21.5 * var(--logo-unit));
  line-height: 0.98;
  font-variation-settings: "wdth" 100;
  white-space: nowrap;
}

.hero h1 {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: min(38vw, 520px);
  margin: 0 9% 0 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  font-variation-settings: "wdth" 100;
}

.hero h1 strong {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
}

/* Notes are in normal page flow at the bottom of the hero, so they scroll with the page */
.hero-notes {
  position: relative;
  z-index: 1;
  display: flex;
  margin: auto 0 0 3%;
  padding-top: 60px;
  gap: 74px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.05;
}

.showcase-strip {
  height: clamp(520px, 56vw, 980px);
  overflow: hidden;
}

.showcase-strip img {
  position: relative;
  top: -6%;
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.manifesto {
  display: grid;
  width: var(--page);
  min-height: 1000px;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.manifesto-title {
  position: relative;
  justify-self: center;
}

.manifesto-title img {
  width: 223px;
  height: 84px;
  margin: 0 0 18px 24%;
  border-radius: 999px;
  object-fit: cover;
}

.manifesto h2 {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 5vw, 80px);
  line-height: 1.06;
  font-variation-settings: "wdth" 100;
}

.manifesto-copy {
  max-width: 600px;
}

.manifesto-copy p {
  margin: 0;
  font-size: clamp(32px, 3vw, 45px);
  line-height: 1.33;
}

.manifesto-copy img {
  width: 138px;
  margin: 90px 8% 0 auto;
}

.services {
  width: var(--page);
  margin: auto;
  border-top: 1px solid var(--line);
}

.section-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 40px;
  line-height: 1.33;
}

.services-intro {
  display: grid;
  min-height: 740px;
  padding: 76px 0;
  grid-template-columns: 0.8fr 1.45fr 0.7fr;
  gap: 60px;
}

.services-lead {
  max-width: 720px;
  margin: 0 0 45px;
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid #fff;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.5;
}

.services-intro ul {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  font-size: 24px;
  line-height: 1.73;
}

.service-row {
  position: relative;
  display: grid;
  min-height: 615px;
  overflow: hidden;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.8fr 1.25fr 1.2fr;
  gap: 60px;
}

.service-kicker {
  margin: 0;
  font-size: 18px;
}

.service-copy {
  position: relative;
  z-index: 2;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.62);
}

.service-copy h3 {
  margin: 0 0 60px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.33;
}

.service-copy p {
  font-size: 16px;
  line-height: 1.73;
}

.service-copy a {
  display: inline-block;
  margin-top: 35px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #fff;
}

.service-art {
  position: absolute;
  right: -2%;
  top: -8%;
  width: 48%;
  height: 115%;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.service-art.muted {
  opacity: 0.28;
}

.service-art.cubes {
  right: -9%;
  transform: rotate(88deg);
}

.client-strip {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: space-around;
  gap: 60px;
  overflow: hidden;
  padding: 50px 6%;
  background: #fff;
}

.client-strip img {
  max-width: 128px;
  max-height: 29px;
  object-fit: contain;
}

.work {
  padding: 210px 0 190px;
}

.project-grid {
  display: grid;
  width: min(84vw, 1438px);
  margin: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 130px 150px;
}

.project-card {
  min-width: 0;
}

.project-card:nth-child(even) {
  margin-top: 160px;
}

.project-wide {
  grid-column: 1 / -1;
  margin-top: 0 !important;
}

.project-image {
  height: clamp(390px, 37vw, 645px);
  overflow: hidden;
}

.project-wide .project-image {
  height: clamp(420px, 41vw, 700px);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.085);
}

.project-card:nth-child(1) .project-image img {
  object-position: center 58%;
}

.project-card:nth-child(4) .project-image img {
  object-position: center 12%;
}

.project-info {
  padding-top: 28px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
}

.project-info h3 {
  margin: 0 0 5px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.33;
}

.project-info p {
  margin: 0;
  font-size: 20px;
  line-height: 1.33;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 8px;
  color: var(--purple);
  font-size: 16px;
}

.tags span + span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 20px 2px 0;
  border-radius: 50%;
  background: var(--purple);
}

.about {
  width: var(--page);
  margin: auto;
  padding: 110px 0 180px;
  border-top: 1px solid var(--line);
}

.about-copy {
  display: grid;
  grid-template-columns: 0.75fr 1.55fr 0.6fr;
  gap: 60px;
}

.about-copy .about-more {
  margin-top: 44px;
  font-size: clamp(24px, 2.3vw, 34px);
  transition: color 250ms ease, border-color 250ms ease;
}

.about-copy .about-more:hover {
  border-color: var(--green);
  color: var(--green);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(26px, 2.35vw, 42px);
  font-weight: 400;
  line-height: 1.5;
}

.about-copy .section-label {
  font-size: clamp(20px, 2.2vw, 32px);
}

/* small description on the right (not the "About us" label) */
.about-copy > p:last-child {
  max-width: clamp(160px, 16vw, 250px);
  margin: 0;
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.55;
}

/* Full-width photo strip that scrolls left forever */
.photo-marquee {
  margin: clamp(60px, 10vw, 140px) calc((var(--page) - 100vw) / 2) 150px;
  overflow: hidden;
}

.photo-track {
  display: flex;
  width: max-content;
  animation: photo-scroll 45s linear infinite;
}

.photo-set {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 20px;
}

.photo-set img {
  border-radius: 6px;
  object-fit: cover;
  background: #222;
}

/* Different heights, top-aligned, as in the design */
.photo-set .p-a { width: clamp(220px, 25vw, 420px); aspect-ratio: 1.09; }
.photo-set .p-b { width: clamp(200px, 23vw, 380px); aspect-ratio: 0.695; }
.photo-set .p-c { width: clamp(190px, 21vw, 350px); aspect-ratio: 0.77; object-position: center top; }
.photo-set .p-d { width: clamp(250px, 28vw, 460px); aspect-ratio: 1.57; }

@keyframes photo-scroll {
  to { transform: translateX(-50%); }
}

.approach {
  display: grid;
  padding-top: 100px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 70px;
}

.approach h3 {
  margin: 0 0 50px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
}

.approach article p {
  max-width: 230px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

footer {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  padding: 72px max(5vw, calc((100vw - 1410px) / 2));
  background: rgba(0, 0, 0, 0.7);
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.65fr 0.5fr;
  gap: 50px;
}

.footer-top span {
  display: block;
  margin-bottom: 3px;
  color: #8a8a8d;
  font-size: 14px;
}

.footer-top > div > a {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 24px;
}

.footer-top nav,
.socials {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.footer-logo {
  position: absolute;
  bottom: -55px;
  left: 50%;
  width: min(82vw, 1412px);
  transform: translateX(-50%);
}

.services-page {
  min-height: 100dvh;
  background: #15161b;
}

.services-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--page);
  height: 118px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.services-header::before {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 118px;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
  background: rgb(21 22 27 / 0.78);
  backdrop-filter: blur(16px);
  content: "";
}

.services-header > a {
  width: 207px;
}

.services-header nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.7vw, 83px);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 21px;
  font-variation-settings: "wdth" 100;
}

.services-header nav a {
  transition:
    color 200ms ease,
    background 200ms ease;
}

.services-header nav a:hover,
.services-header nav .active {
  color: var(--green);
}

.services-header .talk-link {
  margin-left: -40px;
  padding: 10px 20px;
  border-radius: 60px;
  color: #132809;
  background: #42d753;
}

.services-header .talk-link:hover {
  color: #132809;
  background: var(--green);
}

.services-hero {
  position: relative;
  display: flex;
  width: var(--page);
  min-height: 810px;
  margin: auto;
  align-items: center;
  overflow: hidden;
}

.services-hero-copy {
  position: relative;
  z-index: 2;
  width: min(38%, 610px);
  margin-top: -70px;
}

.services-hero h1 {
  margin: 0 0 38px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 4.15vw, 72px);
  line-height: 1.33;
  font-variation-settings: "wdth" 100;
}

.services-hero p {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
}

.services-flower {
  position: absolute;
  top: -58px;
  right: -25px;
  width: min(61vw, 1050px);
  mix-blend-mode: screen;
}

.services-list {
  width: var(--page);
  margin: auto;
}

.service-detail {
  display: grid;
  min-height: 420px;
  align-items: start;
  padding: 112px 0 72px;
  border-top: 1px solid var(--line);
  grid-template-columns: 180px 300px minmax(300px, 1fr) 285px;
  gap: clamp(30px, 4vw, 72px);
}

.service-icon {
  position: relative;
  width: 90px;
  height: 90px;
}

.service-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%) scale(0.55);
  transform-origin: center;
}

.service-icon-4 img:nth-child(3) {
  top: 68%;
  left: 76%;
  transform: translate(-50%, -50%);
}

.service-icon-4 img:nth-child(4) {
  top: 44%;
  left: 70%;
  transform: translate(-50%, -50%);
}

.service-icon-7 img:nth-child(n + 3) {
  transform: translate(-50%, -50%);
}

.service-icon-7 img:nth-child(3) {
  top: 70%;
  left: 86%;
}

.service-icon-7 img:nth-child(4) {
  top: 22%;
  left: 30%;
}

.service-icon-7 img:nth-child(5) {
  top: 38%;
  left: 18%;
}

.service-icon-7 img:nth-child(6) {
  top: 62%;
  left: 80%;
}

.service-icon-7 img:nth-child(7) {
  top: 27%;
  left: 24%;
}

.service-detail:last-child .service-icon img {
  transform: translate(-50%, -50%) scale(0.55) rotate(90deg);
}

.service-detail h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.33;
  font-variation-settings: "wdth" 100;
}

.service-detail > p {
  max-width: 540px;
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
}

.service-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
}

.services-studios {
  width: var(--page);
  margin: 0 auto;
}

.studio-feature {
  position: relative;
  display: grid;
  min-height: 616px;
  overflow: hidden;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.78fr 1.3fr 1.2fr;
  gap: 60px;
}

.studio-kicker {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.studio-feature-copy {
  position: relative;
  z-index: 2;
  max-width: 375px;
  color: rgba(255, 255, 255, 0.6);
}

.studio-feature-copy h2 {
  margin: 0 0 27px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.33;
}

.studio-feature-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.73;
}

.studio-feature-copy a {
  display: inline-block;
  margin-top: 50px;
  padding-bottom: 3px;
  border-bottom: 1px solid #fff;
  color: #fff;
}

.studio-feature-art {
  position: absolute;
  pointer-events: none;
}

.sprint-art {
  top: -65px;
  right: 6%;
  width: 615px;
  opacity: 0.3;
  transform: rotate(180deg) scaleY(-1);
}

.crypto-art {
  top: -100px;
  right: -3%;
  width: 585px;
  mix-blend-mode: lighten;
  transform: rotate(89deg);
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 30px;
  }

  .site-header {
    height: 110px;
    padding: 0 4vw;
  }

  .site-header::before {
    height: 82px;
  }

  :root {
    --logo-w: 92vw;
    --logo-left: 4vw;
  }

  .site-header nav {
    top: 28px;
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 740px;
  }

  /* Too small to fit inside the "d": show it as a line above the headline */
  .studio-label {
    position: relative;
    top: auto;
    left: auto;
    align-self: flex-end;
    width: min(72%, 520px);
    margin: 0 6% 18px 0;
    translate: none;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
  }

  .studio-label br {
    display: none;
  }

  .hero-orb {
    top: 140px;
    left: -18%;
    width: 100%;
  }

  .hero h1 {
    width: min(72%, 520px);
    margin-right: 6%;
  }

  .hero-notes {
    margin-left: 4%;
    gap: 28px;
  }

  .showcase-strip {
    height: 430px;
  }

  .manifesto,
  .services-intro,
  .service-row,
  .about-copy,
  .approach {
    grid-template-columns: 1fr;
  }

  .manifesto {
    gap: 70px;
    padding: 120px 0;
  }

  .manifesto-copy img {
    margin-top: 45px;
  }

  .services-intro {
    min-height: 0;
  }

  .services-intro ul {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .service-row {
    grid-template-columns: 0.55fr 1fr;
  }

  .service-art {
    right: -28%;
    width: 70%;
    opacity: 0.24;
  }

  .client-strip {
    min-height: 220px;
    flex-wrap: wrap;
  }

  .project-grid {
    gap: 80px 30px;
    width: 92vw;
  }

  .project-card:nth-child(even) {
    margin-top: 80px;
  }

  .project-info h3 {
    font-size: 28px;
  }

  .about-copy {
    min-height: 0;
  }

  .photo-marquee {
    margin-top: 100px;
    margin-bottom: 100px;
  }

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

  .approach .section-label {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .services-header {
    height: 92px;
  }

  .services-header::before {
    height: 92px;
  }

  .services-header > a {
    width: 145px;
  }

  .services-header nav {
    gap: 15px;
    font-size: 14px;
  }

  .services-header .talk-link {
    margin-left: 0;
    padding: 8px 13px;
  }

  .services-hero {
    min-height: 700px;
  }

  .services-hero-copy {
    width: 52%;
  }

  .services-hero p {
    font-size: 24px;
  }

  .services-flower {
    right: -26%;
    width: 82vw;
  }

  .service-detail {
    grid-template-columns: 100px 220px 1fr;
  }

  .service-detail ul {
    grid-column: 2 / -1;
    columns: 2;
  }

  .service-detail h2 {
    font-size: 30px;
  }

  .service-detail > p {
    font-size: 24px;
  }

  .studio-feature {
    grid-template-columns: 0.55fr 1fr;
  }

  .studio-feature-art {
    right: -30%;
    opacity: 0.22;
  }
}

@media (max-width: 600px) {
  .site-header nav {
    gap: 9px;
    font-size: 12px;
  }

  .hero h1,
  .studio-label {
    width: 88%;
  }

  .hero {
    min-height: 0;
  }

  .hero-notes {
    padding-top: 90px;
  }

  .showcase-strip {
    height: 280px;
  }

  .manifesto {
    min-height: 0;
  }

  .manifesto-title img {
    width: 170px;
    height: 64px;
  }

  .section-label {
    font-size: 28px;
  }

  .services-intro {
    gap: 36px;
  }

  .text-link {
    font-size: 30px;
  }

  .service-row {
    min-height: 700px;
    grid-template-columns: 1fr;
  }

  .service-copy {
    max-width: 82%;
  }

  .service-art {
    top: 40%;
    right: -35%;
    width: 100%;
    height: 70%;
  }

  .work {
    padding: 100px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .project-wide {
    grid-column: auto;
  }

  .project-image,
  .project-wide .project-image {
    height: 105vw;
    max-height: 520px;
  }

  .project-info h3 {
    font-size: 30px;
  }

  .photo-track {
    animation-duration: 30s;
  }

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

  .approach .section-label {
    grid-column: auto;
  }

  footer {
    min-height: 560px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top > div > a {
    font-size: 20px;
  }

  .services-header > a {
    width: 115px;
  }

  .services-header nav {
    gap: 10px;
    font-size: 12px;
  }

  .services-header .talk-link {
    display: none;
  }

  .services-hero {
    min-height: 620px;
    align-items: flex-end;
    padding-bottom: 70px;
  }

  .services-hero-copy {
    width: 90%;
    margin: 0;
  }

  .services-hero h1 {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .services-hero p {
    font-size: 20px;
  }

  .services-flower {
    top: 30px;
    right: -30%;
    width: 105vw;
  }

  .service-detail {
    grid-template-columns: 80px 1fr;
    gap: 26px 20px;
    padding: 70px 0;
  }

  .service-icon {
    width: 70px;
  }

  .service-detail h2 {
    align-self: center;
  }

  .service-detail > p,
  .service-detail ul {
    grid-column: 1 / -1;
  }

  .service-detail ul {
    columns: 1;
  }

  .studio-feature {
    min-height: 720px;
    grid-template-columns: 1fr;
  }

  .studio-feature-copy {
    max-width: 84%;
  }

  .studio-feature-art {
    top: 44%;
    right: -52%;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  [data-parallax] {
    translate: none;
  }
}

/* ================= ABOUT PAGE ================= */
.about-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.about-label {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Hero */
.about-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 4vw, 70px);
  padding: 230px 0 80px;
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.about-hero p {
  max-width: 720px;
  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.33;
}

/* Words in the headline slide up one after another */
.split-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-words .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
  transition-delay: calc(var(--i) * 60ms + 150ms);
}

.page-ready .split-words .word > span {
  transform: none;
}

/* Glance strip: slow endless marquee, pauses on hover */
.about-page .page-body > .about-glance {
  width: auto;
  margin-left: calc((100vw - var(--page)) / 2);
  padding: 22px 0 140px;
  overflow: hidden;
}

.glance-track {
  display: flex;
  width: max-content;
  animation: glance-scroll 48s linear infinite;
}

.glance-track:hover {
  animation-play-state: paused;
}

.glance-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 20px;
}

.glance-row img {
  border-radius: 18px;
  object-fit: cover;
  background: #d9d9d9;
  transition:
    transform 600ms cubic-bezier(0.2, 0.7, 0, 1),
    filter 400ms ease;
  filter: grayscale(0.35);
}

.glance-row img:hover {
  transform: translateY(-10px);
  filter: none;
}

.g-tall  { width: clamp(200px, 19vw, 300px); height: clamp(240px, 23vw, 350px); }
.g-short { width: clamp(240px, 21vw, 330px); height: clamp(130px, 12vw, 185px); }
.g-mid   { width: clamp(240px, 21vw, 330px); height: clamp(180px, 17vw, 260px); }

@keyframes glance-scroll {
  to { transform: translateX(-50%); }
}

/* Values */
.about-values {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
}

.values-lead {
  max-width: 560px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.5;
}

.values-list {
  display: grid;
  gap: clamp(70px, 8vw, 120px);
  width: min(330px, 100%);
  margin: 110px 0 0 59%;
}

.value h3 {
  margin-bottom: 18px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.value p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.75;
}

/* Team collage */
.about-team {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.team-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 60px;
  padding-left: 5%;
}

.team-collage img {
  object-fit: cover;
  background: #d9d9d9;
}

.team-tall {
  grid-row: 1 / 3;
  width: 100%;
  max-width: 340px;
  height: clamp(420px, 43vw, 620px);
  border-radius: 18px;
}

.team-circle {
  justify-self: center;
  width: clamp(180px, 20vw, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.team-wide {
  width: 100%;
  max-width: 340px;
  height: clamp(170px, 18vw, 255px);
  border-radius: 18px;
}

@keyframes float {
  50% { translate: 0 -14px; }
}

.team-copy {
  max-width: 330px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.75;
}

/* Big email */
.about-cta {
  padding: 140px 0 160px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.big-email {
  position: relative;
  display: inline-block;
  font-size: clamp(32px, 3.4vw, 54px);
}

.big-email::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.big-email:hover {
  color: var(--green);
}

.big-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-legal {
  margin-top: 30px;
  color: #8a8a8d;
  font-size: 12px;
}

/* Scroll reveal (also used by other pages) */
.reveal,
.reveal-scale {
  opacity: 0;
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal { transform: translateY(40px); }
.reveal-scale { transform: scale(0.88); }

.reveal.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding-top: 170px;
  }

  .values-list {
    margin: 70px 0 0 auto;
    width: min(420px, 100%);
  }

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

  .team-copy {
    max-width: 560px;
  }
}

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

  .values-list {
    margin-left: 0;
  }

  .team-collage {
    gap: 16px;
    padding-left: 0;
  }

  .team-tall {
    height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scale,
  .split-words .word > span {
    opacity: 1;
    transform: none;
  }
}

/* ================= PAGE TRANSITIONS ================= */
.page-curtain {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0e0f13;
  pointer-events: none;
  transform: translateY(100%);
}

/* Green edge on the leading side of the curtain */
.page-curtain::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  content: "";
}

.page-curtain img {
  width: 150px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 400ms ease,
    transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.page-curtain.is-covering {
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 650ms cubic-bezier(0.76, 0, 0.24, 1);
}

.page-curtain.is-covering img {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
}

.page-curtain.is-leaving {
  transform: translateY(-100%);
  transition: transform 750ms cubic-bezier(0.76, 0, 0.24, 1);
}

.page-curtain.is-leaving::before {
  top: auto;
  bottom: 0;
}

.page-curtain.is-leaving img {
  opacity: 0;
  transform: translateY(-30px);
}

/* Home hero entrance */
.hero-intro .hero-orb,
.hero-intro .studio-label,
.hero-intro h1,
.hero-intro .hero-notes {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1000ms ease,
    transform 1100ms cubic-bezier(0.2, 0.7, 0, 1);
}

.hero-intro .hero-orb { transform: scale(0.85); transition-delay: 100ms; }
.hero-intro h1 { transition-delay: 250ms; }
.hero-intro .studio-label { transition-delay: 400ms; }
.hero-intro .hero-notes { transition-delay: 550ms; }

.page-ready .hero-intro .hero-orb,
.page-ready .hero-intro .studio-label,
.page-ready .hero-intro h1,
.page-ready .hero-intro .hero-notes {
  opacity: 1;
  transform: none;
}

/* ================= WORK: PROJECT REVEAL + PARALLAX ================= */
.project-image {
  position: relative;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1200ms cubic-bezier(0.7, 0, 0.2, 1);
}

/* Taller image than its frame so the inner parallax never shows gaps */
.project-image img {
  position: absolute;
  top: -70px;
  left: 0;
  height: calc(100% + 140px);
  scale: 1.25;
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0, 1),
    scale 1600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.project-info {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 800ms ease 350ms,
    transform 900ms cubic-bezier(0.2, 0.7, 0, 1) 350ms;
}

.project-info .tags span {
  opacity: 0;
  transition: opacity 500ms ease;
  transition-delay: calc(600ms + var(--tag-i, 0) * 90ms);
}

.project-info .tags span:nth-child(2) { --tag-i: 1; }
.project-info .tags span:nth-child(3) { --tag-i: 2; }
.project-info .tags span:nth-child(4) { --tag-i: 3; }

/* Right column starts slightly later for a staggered feel */
.project-card:nth-child(even) .project-image { transition-delay: 150ms; }

.reveal-card.is-visible .project-image { clip-path: inset(0 0 0 0); }
.reveal-card.is-visible .project-image img { scale: 1; }
.reveal-card.is-visible .project-info { opacity: 1; transform: none; }
.reveal-card.is-visible .project-info .tags span { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none; }

  .hero-intro .hero-orb,
  .hero-intro .studio-label,
  .hero-intro h1,
  .hero-intro .hero-notes,
  .project-info,
  .project-info .tags span {
    opacity: 1;
    transform: none;
  }

  .project-image { clip-path: none; }
  .project-image img { scale: 1; }
}

/* ================= CONTACT PAGE ================= */
.contact-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.contact-hero {
  position: relative;
  padding: 240px 0 90px;
}

.contact-hero h1 {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 4.6vw, 80px);
  line-height: 1.1;
}

.contact-hero p {
  margin-top: 36px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.4;
}

/* Soft drifting glow behind the hero */
.contact-glow {
  position: absolute;
  z-index: -1;
  top: 120px;
  right: 6%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgb(163 121 245 / 0.35), rgb(66 215 83 / 0.12) 45%, transparent 70%);
  filter: blur(40px);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  to { transform: translate(-60px, 50px) scale(1.15); }
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(50px, 9vw, 165px);
  padding: 0 0 200px 12px;
}

.contact-label {
  margin-bottom: 40px;
  font-size: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 38px;
  max-width: 690px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* Floating-label fields with an animated underline */
.field {
  position: relative;
  padding-top: 18px;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 17px;
  outline: none;
  resize: vertical;
}

.field textarea {
  min-height: 110px;
}

.field label {
  position: absolute;
  top: 26px;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 350ms cubic-bezier(0.2, 0.7, 0, 1),
    color 250ms ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  color: var(--green);
  transform: translateY(-24px) scale(0.8);
}

.field input:not(:focus):not(:placeholder-shown) + label,
.field textarea:not(:focus):not(:placeholder-shown) + label {
  color: rgba(255, 255, 255, 0.5);
}

.field::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field textarea + label + .field-error,
.field input + label + .field-error {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
}

.field-error {
  color: #ff7a7a;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.field.invalid input,
.field.invalid textarea {
  border-bottom-color: #ff7a7a;
}

.field.invalid .field-error {
  opacity: 1;
  transform: none;
}

.field.invalid {
  animation: shake 400ms ease;
}

@keyframes shake {
  25% { translate: -6px 0; }
  50% { translate: 5px 0; }
  75% { translate: -3px 0; }
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 16px 30px;
  border-radius: 60px;
  color: #132809;
  background: #42d753;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.submit-btn:hover {
  background: var(--green);
  box-shadow: 0 10px 40px rgb(118 251 170 / 0.25);
  transform: translateY(-2px);
}

.submit-arrow {
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0, 1);
}

.submit-btn:hover .submit-arrow {
  transform: translateX(6px);
}

.submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgb(19 40 9 / 0.25);
  border-top-color: #132809;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-btn.is-sending {
  pointer-events: none;
  opacity: 0.85;
}

.submit-btn.is-sending .submit-arrow { display: none; }
.submit-btn.is-sending .submit-spinner { display: inline-block; }

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

.form-status {
  color: #ff9b9b;
  font-size: 14px;
  line-height: 1.5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.contact-info a {
  width: fit-content;
  transition: color 200ms ease;
}

.contact-info a:hover {
  color: var(--green);
}

/* ================= THANK YOU PAGE ================= */
.thanks-hero {
  position: relative;
  display: flex;
  width: var(--page);
  min-height: 100vh;
  margin: 0 auto;
  padding: 160px 0 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.thanks-check {
  width: 130px;
  height: 130px;
  margin-bottom: 40px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-ring {
  stroke: var(--green);
  stroke-width: 3;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transform: rotate(-90deg);
  transform-origin: center;
}

.check-mark {
  stroke: #fff;
  stroke-width: 6;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.page-ready .thanks-page .check-ring {
  animation: draw 900ms cubic-bezier(0.65, 0, 0.35, 1) 200ms forwards;
}

.page-ready .thanks-page .check-mark {
  animation: draw 500ms cubic-bezier(0.65, 0, 0.35, 1) 950ms forwards;
}

.page-ready .thanks-page .thanks-check {
  animation: pop 600ms cubic-bezier(0.3, 1.6, 0.5, 1) 1300ms;
}

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

@keyframes pop {
  50% { transform: scale(1.12); }
}

.thanks-title,
.thanks-text,
.thanks-note,
.thanks-actions {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 900ms ease,
    transform 1000ms cubic-bezier(0.2, 0.7, 0, 1);
}

.thanks-title {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.1;
  transition-delay: 1100ms;
}

.thanks-text {
  max-width: 560px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  transition-delay: 1300ms;
}

.thanks-note {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.5;
  transition-delay: 1400ms;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 46px;
  transition-delay: 1550ms;
}

.page-ready .thanks-page .thanks-title,
.page-ready .thanks-page .thanks-text,
.page-ready .thanks-page .thanks-note,
.page-ready .thanks-page .thanks-actions {
  opacity: 1;
  transform: none;
}

.thanks-btn {
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 60px;
  font-size: 17px;
  transition: border-color 250ms ease, color 250ms ease, background 250ms ease, transform 250ms ease;
}

.thanks-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.thanks-btn.primary {
  border-color: transparent;
  color: #132809;
  background: #42d753;
}

.thanks-btn.primary:hover {
  color: #132809;
  background: var(--green);
}

/* Small coloured dots bursting out, then orbiting slowly */
.thanks-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: orbit 30s linear infinite;
}

.thanks-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
}

.thanks-orbit span:nth-child(even) { background: var(--green); width: 7px; height: 7px; }
.thanks-orbit span:nth-child(1) { --x: -320px; --y: -180px; }
.thanks-orbit span:nth-child(2) { --x: 300px;  --y: -220px; }
.thanks-orbit span:nth-child(3) { --x: 380px;  --y: 90px; }
.thanks-orbit span:nth-child(4) { --x: -380px; --y: 140px; }
.thanks-orbit span:nth-child(5) { --x: -120px; --y: 280px; }
.thanks-orbit span:nth-child(6) { --x: 160px;  --y: 260px; }

.page-ready .thanks-page .thanks-orbit span {
  animation: burst 1400ms cubic-bezier(0.2, 0.7, 0, 1) 1200ms forwards;
}

@keyframes burst {
  from { opacity: 0; transform: translate(0, 0) scale(0); }
  to   { opacity: 0.8; transform: translate(var(--x), var(--y)) scale(1); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .contact-body {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .contact-hero {
    padding-top: 170px;
  }
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .thanks-orbit span:nth-child(n) {
    --x: calc(var(--y) * 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .check-ring,
  .check-mark { stroke-dashoffset: 0; }

  .thanks-title,
  .thanks-text,
  .thanks-note,
  .thanks-actions {
    opacity: 1;
    transform: none;
  }
}

/* Fade-only reveal for elements that keep their own transform */
.reveal-fade {
  opacity: 0;
  transition: opacity 1100ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal-fade.is-visible {
  opacity: 1;
}

/* Section dividers draw in from the left as each section appears */
.reveal-line {
  position: relative;
  border-top-color: transparent !important;
}

.reveal-line::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1400ms cubic-bezier(0.7, 0, 0.2, 1);
}

.reveal-line.is-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-fade { opacity: 1; }
  .reveal-line::before { transform: none; }
}

/* ================= KEBAB MENU ================= */
:root {
  --menu-btn: 52px;
  --menu-btn-top: 33px;
  /* Kebab is pinned to the screen edge (same margin as the big logo) */
  --menu-btn-right: 3vw;
}

/* Sub-page headers: only the Let's Talk pill, leaving room for the kebab */
.header-actions {
  display: flex;
  align-items: center;
  /* end 16px left of the kebab, wherever the page edge is */
  margin-right: calc(var(--menu-btn) + 16px + var(--menu-btn-right) - (100vw - var(--page)) / 2);
  font-weight: 500;
  font-size: 21px;
  font-variation-settings: "wdth" 100;
}

/* Same pill as the original design */
.services-header .talk-link {
  margin: 0;
  padding: 10px 20px;
  transition: background 250ms ease, transform 250ms ease;
}

.services-header .talk-link:hover {
  transform: translateY(-2px);
}

/* Round button with three dots; dots turn into an X when open */
.menu-toggle {
  position: fixed;
  z-index: 90;
  top: var(--menu-btn-top);
  right: var(--menu-btn-right);
  width: var(--menu-btn);
  height: var(--menu-btn);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  background: rgb(21 22 27 / 0.55);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    rotate 450ms cubic-bezier(0.2, 0.7, 0, 1),
    background 300ms ease,
    border-color 300ms ease,
    transform 300ms ease;
}

.menu-toggle:hover {
  border-color: var(--green);
  rotate: 90deg;
}

.menu-toggle:active {
  transform: scale(0.92);
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  translate: -50% -50%;
  transition:
    transform 450ms cubic-bezier(0.2, 0.7, 0, 1),
    width 450ms cubic-bezier(0.2, 0.7, 0, 1),
    height 450ms cubic-bezier(0.2, 0.7, 0, 1),
    border-radius 450ms ease,
    opacity 250ms ease,
    background 300ms ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-8px); }
.menu-toggle span:nth-child(3) { transform: translateY(8px); }

.menu-toggle:hover span {
  background: var(--green);
}

.menu-toggle.is-open {
  border-color: rgb(255 255 255 / 0.3);
  background: transparent;
  rotate: 0deg;
}

.menu-toggle.is-open span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
}

.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scale(0); }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* Full-screen menu: grows as a circle out of the button */
.site-menu {
  --origin-x: calc(100% - var(--menu-btn-right) - var(--menu-btn) / 2);
  --origin-y: calc(var(--menu-btn-top) + var(--menu-btn) / 2);
  position: fixed;
  z-index: 80;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgb(163 121 245 / 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgb(66 215 83 / 0.1), transparent 40%),
    #0e0f13;
  clip-path: circle(0 at var(--origin-x) var(--origin-y));
  visibility: hidden;
  transition:
    clip-path 650ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s linear 650ms;
}

.site-menu.is-open {
  clip-path: circle(150vmax at var(--origin-x) var(--origin-y));
  visibility: visible;
  transition:
    clip-path 850ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s;
}

html.menu-open {
  overflow: hidden;
}

.menu-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 150px 0 80px;
  grid-template-columns: 1.6fr 0.6fr;
  align-items: center;
  gap: 60px;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 36px);
  padding: 0.12em 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  /* scales with both width and height so all five links always fit */
  font-size: clamp(32px, min(7.4vw, 8.6vh), 124px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    color 300ms ease;
}

/* Links rise in one after another when the menu opens */
.site-menu.is-open .menu-links a {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.7, 0, 1),
    color 300ms ease;
}

.site-menu.is-open .menu-links a:nth-child(1) { transition-delay: 300ms, 300ms, 0ms; }
.site-menu.is-open .menu-links a:nth-child(2) { transition-delay: 380ms, 380ms, 0ms; }
.site-menu.is-open .menu-links a:nth-child(3) { transition-delay: 460ms, 460ms, 0ms; }
.site-menu.is-open .menu-links a:nth-child(4) { transition-delay: 540ms, 540ms, 0ms; }

.menu-num {
  min-width: 2.2em;
  color: var(--purple);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
}

/* Word rolls up to a green copy on hover */
.menu-word {
  display: inline-block;
  height: 1.05em;
  overflow: hidden;
}

.menu-word > span {
  display: block;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0, 1);
}

.menu-word > span::after {
  display: block;
  color: var(--green);
  content: attr(data-text);
}

.menu-links a:hover .menu-word > span,
.menu-links a:focus-visible .menu-word > span {
  transform: translateY(-1.05em);
}

.menu-arrow {
  margin-left: auto;
  color: var(--green);
  font-weight: 400;
  font-size: 0.45em;
  opacity: 0;
  transform: translate(-20px, 20px);
  transition:
    opacity 300ms ease,
    transform 450ms cubic-bezier(0.2, 0.7, 0, 1);
}

.menu-links a:hover .menu-arrow,
.menu-links a:focus-visible .menu-arrow {
  opacity: 1;
  transform: none;
}

/* Dim the other links while one is hovered */
.menu-links:hover a:not(:hover) {
  opacity: 0.35;
}

.menu-links a.is-current .menu-num::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  vertical-align: middle;
}

.menu-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.site-menu.is-open .menu-side {
  opacity: 1;
  transform: none;
  transition:
    opacity 800ms ease 650ms,
    transform 900ms cubic-bezier(0.2, 0.7, 0, 1) 650ms;
}

.menu-side div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-side a {
  width: fit-content;
  transition: color 200ms ease;
}

.menu-side a:hover {
  color: var(--green);
}

.menu-kicker {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-side .menu-cta {
  padding: 14px 26px;
  border-radius: 60px;
  color: #132809;
  background: #42d753;
  font-weight: 500;
  font-size: 18px;
  transition: background 250ms ease, transform 250ms ease;
}

.menu-side .menu-cta:hover {
  color: #132809;
  background: var(--green);
  transform: translateY(-2px);
}

/* Huge faint logo sliding up behind the menu */
.menu-logo {
  position: absolute;
  bottom: -6vw;
  left: 50%;
  width: min(90vw, 1500px);
  opacity: 0;
  transform: translate(-50%, 15%);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.site-menu.is-open .menu-logo {
  opacity: 0.05;
  transform: translate(-50%, 0);
  transition:
    opacity 1200ms ease 400ms,
    transform 1400ms cubic-bezier(0.2, 0.7, 0, 1) 400ms;
}

/* Home page: logo moves down a little on small screens so the kebab sits above it,
   and slides back up as the header shrinks */
.header-mark {
  top: calc(var(--logo-top) - (var(--logo-top) - 12px) * var(--header-progress));
}

/* Below ~1300px the logo's tall "d" reaches the kebab's column, so drop the logo below the button */
@media (max-width: 1300px) {
  :root {
    --logo-top: 96px;
  }
}

@media (max-width: 900px) {
  :root {
    --menu-btn: 46px;
    --menu-btn-top: 23px;
    --logo-top: 78px;
  }

  .header-actions {
    font-size: 14px;
  }

  .services-header .talk-link {
    padding: 8px 13px;
  }

  .menu-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 50px;
    padding: 110px 0 50px;
  }

  .menu-side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 48px;
  }
}

@media (max-width: 600px) {
  .services-header .talk-link {
    display: inline-block;
  }

  .menu-links a {
    font-size: clamp(40px, 12vw, 64px);
  }

  .menu-side {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu,
  .site-menu.is-open {
    transition: none;
  }

  .menu-links a,
  .menu-side {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .about-copy > p:last-child {
    max-width: 560px;
  }
}

/* The photo strip keeps moving even when reduced motion is on, as requested */
@media (prefers-reduced-motion: reduce) {
  .photo-track {
    animation: photo-scroll 45s linear infinite !important;
  }
}

/* ================= AI SPRINT STUDIO PAGE ================= */
.sprint-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.sprint-section-head {
  display: grid;
  grid-template-columns: 0.75fr 2.15fr;
  gap: 60px;
  margin-bottom: 70px;
}

.sprint-section-head h2 {
  max-width: 820px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.3;
}

/* Hero */
.sprint-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 170px 0 80px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  overflow-x: clip; /* the rotating orb must not widen the page */
}

.sprint-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 60px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.pulse-dot::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  content: "";
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  to { transform: scale(3.2); opacity: 0; }
}

.sprint-hero h1 {
  font-weight: 700;
  font-size: clamp(50px, 5.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.sprint-intro {
  max-width: 560px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.sprint-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.sprint-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 60px;
  font-weight: 500;
  font-size: 17px;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.sprint-btn span {
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0, 1);
}

.sprint-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.sprint-btn:hover span {
  transform: translateX(5px);
}

.sprint-btn.primary {
  border-color: transparent;
  color: #132809;
  background: #42d753;
}

.sprint-btn.primary:hover {
  color: #132809;
  background: var(--green);
  box-shadow: 0 12px 40px rgb(118 251 170 / 0.25);
}

.sprint-btn.big {
  padding: 20px 38px;
  font-size: 20px;
}

/* Rotating orb with floating labels */
.sprint-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 640px;
  justify-self: center;
}

.sprint-orb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  animation: hero-orbit 26s linear infinite;
}

.sprint-chip {
  position: absolute;
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 40px;
  background: rgb(21 22 27 / 0.6);
  backdrop-filter: blur(10px);
  font-size: 14px;
  white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
}

.sprint-chip::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  vertical-align: middle;
}

.chip-1 { top: 12%; left: 4%; }
.chip-2 { top: 26%; right: 0; animation-delay: -1.5s; }
.chip-2::before { background: var(--purple); }
.chip-3 { bottom: 26%; left: 0; animation-delay: -3s; }
.chip-4 { bottom: 10%; right: 10%; animation-delay: -4.5s; }
.chip-4::before { background: var(--purple); }

@keyframes chip-float {
  50% { translate: 0 -14px; }
}

/* Numbers */
.sprint-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  color: var(--green);
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span:not(.count) {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.5;
}

/* Why cards */
.sprint-why,
.sprint-process,
.sprint-gallery,
.sprint-deliver,
.sprint-faq {
  padding: 130px 0;
}

.sprint-process,
.sprint-gallery,
.sprint-deliver,
.sprint-faq {
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 44px 36px 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.02);
  transition: border-color 400ms ease, background 400ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.why-card::after {
  position: absolute;
  inset: auto -40% -60% auto;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(163 121 245 / 0.25), transparent 65%);
  content: "";
  opacity: 0;
  transition: opacity 500ms ease;
}

.why-card:hover {
  border-color: rgb(163 121 245 / 0.5);
  transform: translateY(-8px);
}

.why-card:hover::after {
  opacity: 1;
}

.why-card img {
  width: 76px;
  height: 76px;
  margin-bottom: 40px;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.why-card:hover img {
  transform: rotate(-12deg) scale(1.08);
}

.why-card h3 {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 24px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

/* Timeline: the line fills as you scroll */
.sprint-timeline {
  --progress: 0;
  position: relative;
  display: grid;
  gap: 70px;
  margin-left: calc(0.75 / 2.9 * 100% + 15px);
  padding-left: 70px;
}

.sprint-timeline::before,
.sprint-timeline::after {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  content: "";
}

.sprint-timeline::before {
  background: var(--line);
}

.sprint-timeline::after {
  background: linear-gradient(var(--green), var(--purple));
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.t-step {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  opacity: 0.35;
  transition: opacity 600ms ease;
}

.t-step::before {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: -70px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #15161b;
  content: "";
  transition: border-color 400ms ease, background 400ms ease, box-shadow 400ms ease;
}

.t-step.is-active {
  opacity: 1;
}

.t-step.is-active::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 6px rgb(118 251 170 / 0.15), 0 0 24px rgb(118 251 170 / 0.5);
}

.t-day {
  padding-top: 4px;
  color: var(--purple);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t-step h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 34px);
}

.t-step p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.65;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-rows: 300px 300px;
  gap: 20px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.gal-large { grid-row: 1 / 3; }
.gal-tall { grid-row: 1 / 3; }

.gallery-grid img {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0, 1), filter 500ms ease;
  filter: grayscale(0.3);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
  filter: none;
}

.gallery-grid figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgb(14 15 19 / 0.75);
  backdrop-filter: blur(8px);
  font-size: 14px;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-within figcaption {
  opacity: 1;
  transform: none;
}

.gal-small:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.gal-small:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.gallery-grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
.gal-large { grid-column: 1; }
.gal-tall { grid-column: 2; }

/* Deliverables */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.deliver-grid li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 34px 30px 34px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  transition: color 300ms ease, padding 400ms cubic-bezier(0.2, 0.7, 0, 1);
}

.deliver-grid li span {
  color: var(--purple);
  font-size: 14px;
}

.deliver-grid li:hover {
  padding-left: 12px;
  color: var(--green);
}

.ideal-for {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 60px;
}

.sprint-small-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips span {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 15px;
  transition: border-color 300ms ease, background 300ms ease, color 300ms ease;
}

.chips span:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgb(118 251 170 / 0.06);
}

/* FAQ accordion */
.faq-list {
  margin-left: calc(0.75 / 2.9 * 100% + 15px);
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: #fff;
  background: none;
  font: inherit;
  font-size: clamp(19px, 1.7vw, 26px);
  text-align: left;
  cursor: pointer;
  transition: color 250ms ease;
}

.faq-q:hover {
  color: var(--green);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0, 1);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
}

.faq-item.is-open .faq-q {
  color: var(--green);
}

/* Smooth open/close using grid rows */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  max-width: 720px;
  padding-bottom: 30px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-a p {
  opacity: 1;
  transform: none;
  transition-delay: 120ms;
}

/* Final CTA */
.sprint-cta {
  position: relative;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.sprint-cta-art {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(80vw, 900px);
  margin: calc(min(80vw, 900px) / -2) 0 0 calc(min(80vw, 900px) / -2);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: hero-orbit 60s linear infinite;
}

.sprint-cta h2 {
  font-weight: 700;
  font-size: clamp(46px, 6vw, 104px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sprint-cta h2 em {
  color: var(--green);
  font-style: normal;
}

@media (max-width: 900px) {
  .sprint-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 150px;
  }

  .sprint-visual {
    max-width: 460px;
  }

  .sprint-section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sprint-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .why-grid,
  .deliver-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sprint-timeline,
  .faq-list {
    margin-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 220px;
  }

  .gal-large { grid-column: 1 / 3; grid-row: 1; }
  .gal-tall { grid-column: 1; grid-row: 2 / 4; }
  .gal-small:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .gal-small:nth-of-type(4) { grid-column: 2; grid-row: 3; }

  .sprint-why,
  .sprint-process,
  .sprint-gallery,
  .sprint-deliver,
  .sprint-faq {
    padding: 90px 0;
  }
}

@media (max-width: 600px) {
  .why-grid,
  .deliver-grid {
    grid-template-columns: 1fr;
  }

  .sprint-timeline {
    padding-left: 44px;
  }

  .t-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .t-step::before {
    left: -44px;
  }

  .sprint-chip {
    font-size: 12px;
    padding: 8px 12px;
  }

  .stat {
    padding: 0 16px;
  }

  .sprint-cta {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sprint-timeline::after { transform: none; }
  .t-step { opacity: 1; }
}

.site-menu.is-open .menu-links a:nth-child(5) { transition-delay: 620ms, 620ms, 0ms; }

/* ================= CRYPTO & WEB3 PAGE ================= */
.pulse-dot.purple,
.pulse-dot.purple::after {
  background: var(--purple);
}

.web3-hero h1 {
  font-size: clamp(36px, 4.4vw, 78px);
  text-wrap: balance;
}

/* 3D cube visual that tilts toward the mouse */
.web3-visual {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: grid;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  perspective: 1000px;
  /* blend the whole visual with the page so the image's black background disappears */
  mix-blend-mode: lighten;
}

.web3-cubes {
  position: relative;
  z-index: 1;
  /* portrait image turned sideways: 52% wide becomes ~78% of the box once rotated */
  width: 52%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(89deg);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
  animation: cube-bob 7s ease-in-out infinite;
}

@keyframes cube-bob {
  50% { translate: 0 -18px; }
}

.web3-ring {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgb(163 121 245 / 0.35);
  border-radius: 50%;
  animation: hero-orbit 40s linear infinite;
}

.web3-ring.r2 {
  inset: 16%;
  border-style: solid;
  border-color: rgb(118 251 170 / 0.18);
  animation-direction: reverse;
  animation-duration: 28s;
}

.web3-ring::before {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px var(--purple);
  content: "";
}

.web3-ring.r2::before {
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.w-chip-1 { z-index: 2; top: 10%; left: 6%; }
.w-chip-2 { z-index: 2; top: 22%; right: 2%; animation-delay: -1.5s; }
.w-chip-2::before { background: var(--purple); }
.w-chip-3 { z-index: 2; bottom: 22%; left: 0; animation-delay: -3s; }
.w-chip-3::before { background: var(--purple); }
.w-chip-4 { z-index: 2; bottom: 8%; right: 12%; animation-delay: -4.5s; }

/* Scrolling ticker */
.web3-ticker {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(90deg, rgb(163 121 245 / 0.08), rgb(118 251 170 / 0.06));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: photo-scroll 40s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 500;
  white-space: nowrap;
}

.ticker-track span::after {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 clamp(24px, 3vw, 48px);
  background: var(--green);
  content: "";
  transform: rotate(45deg);
}

.ticker-track span:nth-child(even)::after {
  background: var(--purple);
}

.web3-page .sprint-stats {
  border-top: 0;
}

/* Trust gap */
.web3-gap,
.web3-approach,
.web3-case {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.gap-list {
  display: grid;
  margin-left: calc(0.75 / 2.9 * 100% + 15px);
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.gap-item {
  padding-top: 26px;
  border-top: 2px solid rgb(255 255 255 / 0.12);
  transition: border-color 400ms ease;
}

.gap-item:hover {
  border-color: var(--purple);
}

.gap-num {
  display: block;
  margin-bottom: 28px;
  color: transparent;
  font-weight: 700;
  font-size: clamp(56px, 5vw, 88px);
  line-height: 1;
  -webkit-text-stroke: 1px rgb(163 121 245 / 0.7);
  transition: color 400ms ease;
}

.gap-item:hover .gap-num {
  color: var(--purple);
}

.gap-item h3 {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 24px;
}

.gap-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

/* Services: 6 cards */
.web3-services {
  border-top: 1px solid var(--line);
}

.web3-services .why-card:hover {
  border-color: rgb(118 251 170 / 0.45);
}

.web3-services .why-card::after {
  background: radial-gradient(circle, rgb(118 251 170 / 0.18), transparent 65%);
}

/* Approach: horizontal steps with a line that draws in */
.approach-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 50px;
}

.approach-steps::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1600ms cubic-bezier(0.7, 0, 0.2, 1) 200ms;
}

.approach-steps.is-drawn::before {
  transform: scaleX(1);
}

.a-step {
  position: relative;
}

.a-dot {
  position: absolute;
  top: -50px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #15161b;
  transition: background 300ms ease, box-shadow 300ms ease;
}

.a-step:hover .a-dot {
  background: var(--green);
  box-shadow: 0 0 22px rgb(118 251 170 / 0.6);
}

.a-num {
  display: block;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.a-step h3 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: clamp(22px, 1.9vw, 30px);
}

.a-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

/* Featured case */
.web3-case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
}

.case-media {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 42vw, 680px);
  border-radius: 20px;
  background: #efe9dc;
}

.case-media img {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: calc(100% + 140px);
  object-fit: cover;
  object-position: center 58%;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
}

.case-media:hover img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  border-radius: 30px;
  color: #132809;
  background: var(--green);
  font-weight: 500;
  font-size: 14px;
}

.case-copy h2 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 3.6vw, 60px);
  line-height: 1.1;
}

.case-lead {
  margin-bottom: 24px;
  font-size: clamp(19px, 1.6vw, 24px);
}

.case-copy > p:not(.section-label):not(.case-lead) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.7;
}

.case-tags {
  margin: 22px 0 34px;
}

.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-results li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-results strong {
  color: var(--green);
  font-size: clamp(28px, 2.4vw, 40px);
}

.case-results span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.web3-cta .sprint-cta-art {
  width: min(60vw, 640px);
  margin: calc(min(60vw, 640px) / -2) 0 0 calc(min(60vw, 640px) / -2);
  opacity: 0.4;
  mix-blend-mode: lighten;
  animation-duration: 90s;
}

@media (max-width: 900px) {
  .web3-visual {
    max-width: 440px;
  }

  .gap-list {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .approach-steps {
    grid-template-columns: 1fr 1fr;
    gap: 70px 40px;
  }

  .approach-steps::before {
    display: none;
  }

  .a-dot {
    top: -30px;
  }

  .web3-case {
    grid-template-columns: 1fr;
  }

  .web3-gap,
  .web3-approach,
  .web3-case {
    padding: 90px 0;
  }
}

@media (max-width: 600px) {
  .approach-steps {
    grid-template-columns: 1fr;
  }

  .case-media {
    height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .approach-steps::before { transform: none; }
}

.site-menu.is-open .menu-links a:nth-child(6) { transition-delay: 700ms, 700ms, 0ms; }

/* ===== Cards without borders (AI Sprint + Web3) ===== */
.why-card {
  border: 0;
  background: rgb(255 255 255 / 0.035);
}

.why-card:hover,
.web3-services .why-card:hover {
  background: rgb(255 255 255 / 0.06);
}

/* ===== Crypto background for Web3 "What we do" ===== */
.web3-services {
  position: relative;
  isolation: isolate;
  border-top: 0;
}

.web3-services .why-card {
  background: rgb(21 22 27 / 0.55);
  backdrop-filter: blur(6px);
}

.crypto-bg {
  position: absolute;
  z-index: -1;
  inset: 0 calc((var(--page) - 100vw) / 2);
  overflow: hidden;
  pointer-events: none;
}

/* faint dot grid, fading at the edges */
.crypto-bg::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1.5px);
  background-size: 34px 34px;
  content: "";
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* blockchain node network */
.cb-network {
  position: absolute;
  inset: 8% 0;
  width: 100%;
  height: 84%;
  opacity: 0.5;
}

.cb-lines path {
  fill: none;
  stroke: rgb(163 121 245 / 0.35);
  stroke-width: 1;
  stroke-dasharray: 6 8;
  animation: cb-dash 30s linear infinite;
  vector-effect: non-scaling-stroke;
}

@keyframes cb-dash {
  to { stroke-dashoffset: -400; }
}

.cb-nodes circle {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: center;
  animation: cb-node 3.6s ease-in-out infinite;
}

.cb-nodes circle:nth-child(3n) { fill: var(--purple); animation-delay: -1.2s; }
.cb-nodes circle:nth-child(3n + 1) { animation-delay: -2.4s; }

@keyframes cb-node {
  50% { opacity: 0.35; transform: scale(1.8); }
}

/* soft colour glows */
.cb-glow {
  position: absolute;
  width: 46vw;
  max-width: 720px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: glow-drift 16s ease-in-out infinite alternate;
}

.cb-glow.g1 { top: -10%; left: -8%; background: radial-gradient(circle, rgb(163 121 245 / 0.45), transparent 65%); }
.cb-glow.g2 { right: -10%; bottom: -15%; background: radial-gradient(circle, rgb(66 215 83 / 0.3), transparent 65%); animation-delay: -8s; }

/* floating hexagons */
.cb-hex {
  position: absolute;
  fill: none;
  stroke: rgb(118 251 170 / 0.35);
  stroke-width: 1.5;
  animation: cb-float 12s ease-in-out infinite;
}

.cb-hex.h1 { top: 10%; right: 6%; width: 90px; }
.cb-hex.h2 { bottom: 12%; left: 4%; width: 130px; stroke: rgb(163 121 245 / 0.35); animation-delay: -4s; }
.cb-hex.h3 { top: 46%; left: 46%; width: 54px; animation-delay: -8s; }

@keyframes cb-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(30deg); }
}

/* floating coin symbols */
.cb-coin {
  position: absolute;
  display: grid;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 50%;
  place-items: center;
  color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.03);
  font-size: 26px;
  animation: cb-coin 9s ease-in-out infinite;
}

.cb-coin.c1 { top: 6%; left: 24%; color: rgb(118 251 170 / 0.6); }
.cb-coin.c2 { top: 18%; right: 22%; width: 52px; height: 52px; font-size: 22px; color: rgb(163 121 245 / 0.7); animation-delay: -3s; }
.cb-coin.c3 { bottom: 8%; right: 30%; width: 46px; height: 46px; font-size: 18px; animation-delay: -5s; }
.cb-coin.c4 { bottom: 22%; left: 16%; width: 40px; height: 40px; font-size: 18px; color: rgb(163 121 245 / 0.6); animation-delay: -7s; }

@keyframes cb-coin {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(180deg); }
}

@media (max-width: 900px) {
  .cb-coin.c2, .cb-hex.h3 { display: none; }
}

/* ===== AI tools under each timeline step ===== */
.t-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.t-tools li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.85);
  background: rgb(163 121 245 / 0.12);
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.3, 1.4, 0.5, 1), background 300ms ease, color 300ms ease;
}

.t-tools li::before {
  color: var(--green);
  content: "✦";
  font-size: 10px;
}

.t-tools li:hover {
  color: #132809;
  background: var(--green);
}

.t-tools li:hover::before {
  color: #132809;
}

/* chips pop in one after another when the day becomes active */
.t-step.is-active .t-tools li { opacity: 1; transform: none; }
.t-step.is-active .t-tools li:nth-child(2) { transition-delay: 80ms; }
.t-step.is-active .t-tools li:nth-child(3) { transition-delay: 160ms; }
.t-step.is-active .t-tools li:nth-child(4) { transition-delay: 240ms; }
.t-step.is-active .t-tools li:hover { transition-delay: 0ms; }

/* ===== AI background for "Why AI Sprint" ===== */
.ai-why {
  position: relative;
  isolation: isolate;
}

.ai-why .why-card {
  background: rgb(21 22 27 / 0.55);
  backdrop-filter: blur(6px);
}

.ai-bg {
  position: absolute;
  z-index: -1;
  inset: 0 calc((var(--page) - 100vw) / 2);
  overflow: hidden;
  pointer-events: none;
}

.ai-bg::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}

/* neural network with signals travelling along the links */
.ai-net {
  position: absolute;
  inset: 6% 0;
  width: 100%;
  height: 88%;
  opacity: 0.55;
}

.ai-links path {
  fill: none;
  stroke: rgb(163 121 245 / 0.3);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ai-links path:nth-child(2) {
  stroke: rgb(118 251 170 / 0.45);
  stroke-dasharray: 2 14;
  animation: cb-dash 6s linear infinite;
}

.ai-links path:nth-child(3) {
  stroke-dasharray: 2 14;
  animation: cb-dash 9s linear infinite reverse;
}

.ai-neurons circle {
  fill: var(--purple);
  transform-box: fill-box;
  transform-origin: center;
  animation: cb-node 3s ease-in-out infinite;
}

.ai-neurons circle:nth-child(odd) { fill: var(--green); animation-delay: -1.5s; }
.ai-neurons circle:nth-child(3n) { animation-delay: -0.8s; }

/* twinkling sparkles */
.ai-spark {
  position: absolute;
  color: var(--purple);
  animation: twinkle 3.2s ease-in-out infinite;
}

.ai-spark.s1 { top: 12%; left: 30%; font-size: 26px; }
.ai-spark.s2 { top: 22%; right: 12%; font-size: 18px; color: var(--green); animation-delay: -1s; }
.ai-spark.s3 { bottom: 14%; left: 8%; font-size: 22px; animation-delay: -2s; }
.ai-spark.s4 { bottom: 26%; right: 26%; font-size: 14px; color: var(--green); animation-delay: -0.5s; }
.ai-spark.s5 { top: 48%; left: 52%; font-size: 12px; animation-delay: -2.6s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.15) rotate(45deg); }
}

/* floating chat / prompt bubbles */
.ai-bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
  color: rgba(255, 255, 255, 0.55);
  background: rgb(255 255 255 / 0.05);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  animation: cb-coin-float 8s ease-in-out infinite;
}

.ai-bubble.b1 { top: 8%; left: 18%; }
.ai-bubble.b2 { top: 14%; right: 26%; border-radius: 18px 18px 4px 18px; color: rgb(118 251 170 / 0.7); animation-delay: -3s; }
.ai-bubble.b3 { bottom: 8%; right: 8%; color: rgb(163 121 245 / 0.8); animation-delay: -5s; }

.ai-bubble i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: typing 1.2s ease-in-out infinite;
}

.ai-bubble i:nth-child(2) { animation-delay: 0.15s; }
.ai-bubble i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@keyframes cb-coin-float {
  50% { translate: 0 -16px; }
}

@media (max-width: 900px) {
  .ai-bubble.b2, .ai-spark.s5 { display: none; }
}

/* ===== Animated card icons (AI Sprint + Web3) ===== */
.why-card img {
  animation: icon-float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgb(136 50 255 / 0));
}

.why-card:nth-child(2) img { animation-delay: -1.2s; }
.why-card:nth-child(3) img { animation-delay: -2.4s; }
.why-card:nth-child(4) img { animation-delay: -0.6s; }
.why-card:nth-child(5) img { animation-delay: -1.8s; }
.why-card:nth-child(6) img { animation-delay: -3s; }

@keyframes icon-float {
  0%, 100% { translate: 0 0; rotate: 0deg; filter: drop-shadow(0 0 0 rgb(136 50 255 / 0)); }
  50% { translate: 0 -8px; rotate: 6deg; filter: drop-shadow(0 0 14px rgb(136 50 255 / 0.75)); }
}

/* icons spin in when their card is revealed */
.why-card.reveal img {
  scale: 0.4;
  opacity: 0;
  transition: scale 900ms cubic-bezier(0.3, 1.5, 0.5, 1) 250ms, opacity 500ms ease 250ms, transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.why-card.reveal.is-visible img {
  scale: 1;
  opacity: 1;
}

/* on hover: a full playful spin */
.why-card:hover img {
  transform: rotate(-360deg) scale(1.1);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  .t-tools li { opacity: 1; transform: none; }
  .why-card img { animation: none; }
  .why-card.reveal img { scale: 1; opacity: 1; }
}

/* ===== Chrome AI sphere ===== */
/* Home page "AI Sprint Studio" row: shown like the cubes in the Web3 row */
.service-art.sphere {
  top: 50%;
  right: 2%;
  width: 40%;
  height: auto;
  max-height: 110%;
  margin-top: calc(-0.5 * 40%);
  mix-blend-mode: normal;
  opacity: 0.95;
  animation: sphere-float 7s ease-in-out infinite;
}

/* Services page AI Sprint feature */
.sprint-art.sphere {
  top: 40px;
  right: 4%;
  width: 520px;
  opacity: 0.95;
  transform: none;
  animation: sphere-float 7s ease-in-out infinite;
}

@keyframes sphere-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-6deg); }
}

/* AI Sprint page hero: sphere in orbit rings, tilting toward the mouse */
.sprint-visual {
  --rx: 0deg;
  --ry: 0deg;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.sphere-spin {
  position: relative;
  z-index: 1;
  display: block;
  width: 70%;
  animation: cube-bob 7s ease-in-out infinite;
}

.ai-sphere {
  width: 100%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
  animation: sphere-turn 18s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgb(163 121 245 / 0.25));
}

@keyframes sphere-turn {
  0%, 100% { rotate: 0deg; }
  50% { rotate: -14deg; }
}

.sprint-visual .sprint-chip {
  z-index: 2;
}

@media (max-width: 900px) {
  .service-art.sphere {
    right: -18%;
    width: 64%;
    opacity: 0.18;
  }

  .sprint-art.sphere {
    width: 380px;
    opacity: 0.18;
  }
}

@media (max-width: 600px) {
  .service-art.sphere {
    top: auto;
    bottom: 4%;
    right: -20%;
    width: 80%;
    margin-top: 0;
  }
}

/* ================= FOOTER: white, revealed like a curtain ================= */
/* Page content is a dark layer on top; the footer sits behind it, pinned to the
   bottom of the screen, and is uncovered as the content scrolls away. */
.page-body {
  position: relative;
  z-index: 1;
  background: #15161b;
}

footer.site-footer {
  --open: 0;
  position: sticky;
  z-index: 0;
  bottom: 0;
  display: flex;
  min-height: 0;
  max-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(60px, 6vw, 90px) calc((100vw - var(--page)) / 2) 30px;
  color: #111;
  background: #fff;
}

/* a shade that lifts as the curtain opens */
footer.site-footer::after {
  position: absolute;
  inset: 0;
  background: #000;
  content: "";
  opacity: calc((1 - var(--open)) * 0.55);
  pointer-events: none;
}

.footer-inner {
  opacity: calc(0.2 + var(--open) * 0.8);
  transform: translateY(calc((1 - var(--open)) * 70px));
}

.footer-title {
  max-width: none;
  color: #6b6b6b;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-title strong {
  color: #000;
  font-weight: 700;
}

.footer-btn {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 34px;
  border-radius: 10px;
  color: #000;
  background: #f1f1f1;
  font-weight: 500;
  font-size: 18px;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}

.footer-btn:hover {
  color: #fff;
  background: #000;
  transform: translateY(-2px);
}

/* big logo in black, rising into place as the footer opens */
/* Logo shrinks on short screens so the whole footer (with copyright row) fits */
footer.site-footer .footer-logo {
  position: static;
  align-self: center;
  width: min(100%, max(280px, calc((100svh - 560px) * 3.38)));
  margin: clamp(36px, 4vw, 60px) 0 clamp(24px, 2.4vw, 36px);
  filter: brightness(0);
  transform: translateY(calc((1 - var(--open)) * 45%)) scale(calc(0.94 + var(--open) * 0.06));
  transform-origin: center bottom;
  translate: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #e3e3e3;
  color: #6b6b6b;
  font-size: 16px;
}

@media (max-width: 600px) {
  .footer-btn {
    margin-top: 26px;
    padding: 14px 28px;
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.site-footer { --open: 1 !important; }
}

/* Footer: "Let's talk" on the left, contact emails on the right */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 60px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px clamp(40px, 5vw, 90px);
  opacity: calc(0.2 + var(--open) * 0.8);
  transform: translateY(calc((1 - var(--open)) * 90px));
}

.footer-contacts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contacts span {
  color: #8a8a8d;
  font-size: 15px;
}

.footer-contacts a {
  position: relative;
  width: fit-content;
  color: #000;
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 28px);
}

/* underline sweeps in on hover */
.footer-contacts a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0, 1);
}

.footer-contacts a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 600px) {
  .footer-contacts {
    gap: 22px;
    flex-direction: column;
  }

  .footer-contacts a {
    font-size: 19px;
  }
}

/* ===== Footer layout v3: text row on top, big logo at the bottom ===== */
.footer-row {
  align-items: flex-start;
}

.footer-side {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-top: 0.6em;
  opacity: calc(0.2 + var(--open) * 0.8);
  transform: translateY(calc((1 - var(--open)) * 90px));
}

.footer-side .footer-contacts {
  opacity: 1;
  transform: none;
}

/* copyright + privacy under the emails, no divider */
.footer-side .footer-bottom {
  justify-content: space-between;
  padding-top: 0;
  border-top: 0;
  font-size: 15px;
}

/* logo sits at the very bottom */
footer.site-footer .footer-logo {
  margin: auto 0 0;
  padding-top: clamp(40px, 5vw, 80px);
}

footer.site-footer {
  padding-bottom: clamp(24px, 2.4vw, 40px);
}

@media (max-width: 600px) {
  .footer-side {
    gap: 26px;
    padding-top: 0;
  }

  .footer-side .footer-bottom {
    font-size: 13px;
  }
}

/* ===== Footer logo: full width, charcoal, bottom cropped by the footer edge ===== */
footer.site-footer {
  padding-bottom: 0;
}

footer.site-footer .footer-logo {
  --logo-w: calc(100vw - 2vw);
  align-self: auto;
  width: var(--logo-w);
  max-width: none;
  padding-top: 0;
  /* stretch past the page margins; pull the bottom ~12% below the footer so it is clipped */
  margin: clamp(48px, 6vw, 100px) 0 calc(var(--logo-w) * -0.2957 * 0.12) calc((var(--page) - 100vw) / 2 + 1vw);
  filter: brightness(0) invert(0.15);
  transform-origin: center bottom;
}

/* ================= EVERYTHING MOVES BOTTOM → TOP ================= */

/* Page transition: green edge on both sides of the panel, so nothing jumps downward */
.page-curtain.is-leaving::before {
  top: 0;
  bottom: auto;
}

.page-curtain::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  content: "";
}

/* New page content rises into place as the panel lifts */
.page-body {
  transition: translate 1100ms cubic-bezier(0.2, 0.7, 0, 1);
}

body.page-entering .page-body,
body.page-entering .thanks-hero {
  translate: 0 90px;
  transition: none;
}

.thanks-hero {
  transition: translate 1100ms cubic-bezier(0.2, 0.7, 0, 1);
}

/* Kebab menu: wipes in from the bottom, wipes out toward the top */
.site-menu {
  clip-path: inset(100% 0 0 0);
  transition:
    clip-path 650ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s linear 650ms;
}

.site-menu.is-open {
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 800ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s;
}

.site-menu.is-closing {
  clip-path: inset(0 0 100% 0);
}

/* Links/side/logo rise in from below when opening, and leave upward when closing */
.menu-links a,
.menu-side {
  transform: translateY(-40px);
}

.site-menu.is-open .menu-links a,
.site-menu.is-open .menu-side {
  animation: menu-rise 900ms cubic-bezier(0.2, 0.7, 0, 1) both;
}

.site-menu.is-open .menu-links a:nth-child(1) { animation-delay: 300ms; }
.site-menu.is-open .menu-links a:nth-child(2) { animation-delay: 370ms; }
.site-menu.is-open .menu-links a:nth-child(3) { animation-delay: 440ms; }
.site-menu.is-open .menu-links a:nth-child(4) { animation-delay: 510ms; }
.site-menu.is-open .menu-links a:nth-child(5) { animation-delay: 580ms; }
.site-menu.is-open .menu-links a:nth-child(6) { animation-delay: 650ms; }
.site-menu.is-open .menu-side { animation-delay: 650ms; }

@keyframes menu-rise {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}

.menu-logo {
  transform: translate(-50%, -8%);
}

/* Small details that used to slide down */
.faq-a p {
  transform: translateY(12px);
}

.field-error {
  transform: translateY(6px);
}

@keyframes glow-drift {
  to { transform: translate(-60px, -50px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  body.page-entering .page-body,
  body.page-entering .thanks-hero { translate: none; }
  .site-menu.is-open .menu-links a,
  .site-menu.is-open .menu-side { animation: none; opacity: 1; transform: none; }
}

/* ================= MENU v2 (centred, minimal) ================= */
.site-menu {
  background: #000;
}

.menu-brand {
  position: absolute;
  z-index: 2;
  top: calc(var(--menu-btn-top) + (var(--menu-btn) - 61px * 0.85) / 2);
  left: var(--menu-btn-right);
  width: calc(207px * 0.85);
  opacity: 0;
  transition: opacity 300ms ease;
}

.site-menu.is-open .menu-brand {
  opacity: 1;
  transition: opacity 600ms ease 350ms;
}

.menu-inner {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 120px 20px 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vh, 56px);
  text-align: center;
}

.menu-links {
  align-items: center;
}

.menu-links a {
  display: block;
  padding: 0;
  border: 0;
  font-weight: 700;
  font-size: clamp(54px, min(8.4vw, 12vh), 136px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.menu-links a.is-current .menu-word > span {
  color: var(--green);
}

.menu-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(28px, 3.2vw, 48px);
  font-size: clamp(17px, 1.4vw, 21px);
}

.menu-sub a {
  color: rgba(255, 255, 255, 0.6);
  transform: translateY(-30px);
  opacity: 0;
  transition: color 250ms ease, opacity 300ms ease, transform 300ms ease;
}

.menu-sub a:hover,
.menu-sub a.is-current {
  color: #fff;
}

.menu-sub a.is-current::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  vertical-align: middle;
}

/* bottom corners: say hello (left) and follow (right) */
.menu-foot {
  position: absolute;
  right: var(--menu-btn-right);
  bottom: clamp(28px, 5vh, 52px);
  left: var(--menu-btn-right);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
}

.menu-foot p {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.menu-follow {
  text-align: right;
}

.menu-foot a {
  border-bottom: 1px solid currentColor;
  color: #fff;
  transition: color 200ms ease;
}

.menu-foot a:hover {
  color: var(--green);
}

.menu-dot {
  margin: 0 6px;
}

/* entrance: everything rises from below, one after another */
.site-menu.is-open .menu-sub a,
.site-menu.is-open .menu-foot p {
  animation: menu-rise 900ms cubic-bezier(0.2, 0.7, 0, 1) both;
}

.site-menu.is-open .menu-sub a:nth-child(1) { animation-delay: 560ms; }
.site-menu.is-open .menu-sub a:nth-child(2) { animation-delay: 620ms; }
.site-menu.is-open .menu-sub a:nth-child(3) { animation-delay: 680ms; }
.site-menu.is-open .menu-foot p { animation-delay: 720ms; }
.site-menu.is-open .menu-foot p + p { animation-delay: 780ms; }

@media (max-width: 700px) {
  .menu-inner {
    padding-bottom: 210px;
  }

  .menu-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-follow {
    text-align: left;
  }

  .menu-brand {
    width: 130px;
    top: calc(var(--menu-btn-top) + (var(--menu-btn) - 38px) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-sub a,
  .menu-foot p { opacity: 1; transform: none; }
}

/* ===== Footer v4: shorter (≈40% of screen width), rounder button, smaller title ===== */
footer.site-footer {
  padding-top: clamp(44px, 4vw, 70px);
}

.footer-title {
  font-size: clamp(28px, 2.8vw, 48px);
}

.footer-btn {
  margin-top: 26px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 17px;
}

.footer-side {
  gap: 26px;
}

/* logo closer to the text, and more of its bottom tucked under the footer edge */
footer.site-footer .footer-logo {
  margin-top: clamp(26px, 2.6vw, 46px);
  margin-bottom: calc(var(--logo-w) * -0.2957 * 0.24);
}

@media (max-width: 600px) {
  .footer-btn {
    margin-top: 20px;
    padding: 12px 26px;
    font-size: 16px;
  }
}

/* ================= FOOTER — FINAL DESIGN ================= */
footer.site-footer {
  padding-top: clamp(36px, 3.6vw, 72px);
}

.footer-row {
  align-items: flex-start;
  gap: 30px 60px;
}

.footer-title {
  font-size: clamp(24px, 1.95vw, 40px);
  line-height: 1.12;
}

/* inline "Contact Us" link at the end of the title */
.footer-cta {
  position: relative;
  display: inline-block;
  color: #6b6b6b;
  font-weight: 700;
  transition: color 250ms ease;
}

.footer-cta::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0, 1);
  transform-origin: left;
}

.footer-cta:hover {
  color: #000;
}

.footer-cta:hover::after {
  animation: underline-sweep 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

@keyframes underline-sweep {
  0% { transform: scaleX(1); transform-origin: right; }
  49% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* right side: two email columns + copyright column, in one row */
.footer-side {
  flex-direction: row;
  align-items: flex-end;
  gap: 30px clamp(40px, 4.5vw, 90px);
  padding-top: 0.35em;
}

.footer-side .footer-contacts {
  gap: 30px clamp(40px, 4.5vw, 90px);
}

.footer-contacts span {
  font-size: clamp(13px, 0.85vw, 16px);
}

.footer-contacts a {
  font-size: clamp(18px, 1.45vw, 28px);
}

.footer-side .footer-bottom {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 4px;
  font-size: clamp(13px, 0.85vw, 16px);
}

/* big logo right under the row; only the very bottom is tucked away */
footer.site-footer .footer-logo {
  margin-top: clamp(24px, 2.4vw, 50px);
  margin-bottom: calc(var(--logo-w) * -0.2957 * 0.12);
}

@media (max-width: 1100px) {
  .footer-side {
    flex-wrap: wrap;
  }

  .footer-side .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-side .footer-bottom {
    flex-direction: row;
    gap: 18px;
  }
}

/* align footer content with the header logo (3vw from the screen edges) */
footer.site-footer {
  padding-right: 3vw;
  padding-left: 3vw;
}

footer.site-footer .footer-logo {
  margin-left: -2vw;
}

/* Services hero flower: slow, endless rotation (uses the separate `rotate`
   property so it doesn't clash with the reveal zoom or scroll parallax) */
.services-flower {
  animation: flower-spin 80s linear infinite;
}

@keyframes flower-spin {
  to { rotate: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .services-flower {
    animation: flower-spin 80s linear infinite !important;
  }
}

/* Sub-page header panel: full screen width, no bottom line */
.services-header::before {
  position: absolute;
  left: calc((100% - 100vw) / 2);
  width: 100vw;
  border-bottom: 0;
}

/* Work: new images are framed artwork — show them whole and centred */
.project-card .project-image img,
.project-card:nth-child(1) .project-image img,
.project-card:nth-child(4) .project-image img {
  object-position: center;
}

/* Work tags in light grey */
.tags {
  color: #b4b4b8;
}

.tags span + span::before {
  background: #6e6e73;
}

/* after the wide card the column order flips: keep the right-hand card offset */
.project-wide ~ .project-card:nth-child(even) { margin-top: 0; }
.project-wide ~ .project-card:nth-child(odd) { margin-top: 160px; }

@media (max-width: 900px) {
  .project-wide ~ .project-card:nth-child(odd) { margin-top: 80px; }
}

@media (max-width: 600px) {
  .project-wide ~ .project-card:nth-child(odd) { margin-top: 0; }
}

/* smaller crop for the inner drift so framed artwork (logos) stays visible */
.project-image img {
  top: -38px;
  height: calc(100% + 76px);
}

/* ===== Crypto cubes sized and placed like the AI Sprint sphere =====
   The cube image is portrait (2:3) and turned 89°, so a box 1/1.5 as wide
   ends up the same width as the sphere, centred on the same point. */

/* Home page row (sphere: 40% wide, 2% from the right, vertically centred) */
.service-art.cubes {
  top: 50%;
  right: 8.65%;
  width: 26.7%;
  height: auto;
  max-height: none;
  margin-top: -20%;
  object-fit: contain;
  transform: rotate(89deg);
}

/* Services page feature (sphere: 520px, 4% from the right, 40px from the top) */
.studio-feature-art.crypto-art {
  top: 40px;
  right: calc(4% + 87px);
  width: 347px;
  transform: rotate(89deg);
}

@media (max-width: 900px) {
  .service-art.cubes {
    right: -7.35%;
    width: 42.7%;
    margin-top: -32%;
    opacity: 0.18;
  }

  .studio-feature-art.crypto-art {
    right: calc(-30% + 63px);
    width: 253px;
    opacity: 0.18;
  }
}

@media (max-width: 600px) {
  .service-art.cubes {
    top: auto;
    bottom: 4%;
    right: -6.65%;
    width: 53.3%;
    margin-top: 0;
  }
}

/* cube artwork has ~40% empty margin: scale its box 1.6× so the visible cubes match the sphere */
.service-art.cubes {
  right: 0.65%;
  width: 42.7%;
  margin-top: -32%;
}

.studio-feature-art.crypto-art {
  top: -116px;
  right: calc(4% - 17px);
  width: 555px;
}

@media (max-width: 900px) {
  .service-art.cubes {
    right: -20.15%;
    width: 68.3%;
    margin-top: -51%;
  }

  .studio-feature-art.crypto-art {
    top: -60px;
    right: calc(-30% - 10px);
    width: 400px;
  }
}

@media (max-width: 600px) {
  .service-art.cubes {
    top: auto;
    bottom: -12%;
    right: -22.65%;
    width: 85.3%;
    margin-top: 0;
  }
}

/* ================= WORK PAGE ================= */
.work-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.work-hero {
  padding: 200px 0 80px;
}

.work-hero h1 {
  max-width: 1100px;
  font-weight: 700;
  font-size: clamp(44px, 5.4vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.work-intro {
  max-width: 620px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
}

.work-filters button {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: rgba(255, 255, 255, 0.75);
  background: none;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.work-filters button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.work-filters button.is-active {
  border-color: transparent;
  color: #132809;
  background: #42d753;
}

.work-list {
  padding: 40px 0 160px;
}

/* even two-column grid (no zigzag), so filtering never leaves gaps */
.project-grid.work-grid {
  width: 100%;
  gap: 90px 60px;
}

.work-grid .project-card,
.work-grid .project-card:nth-child(even),
.work-grid .project-card:nth-child(odd) {
  margin-top: 0;
}

.work-grid .project-image {
  height: clamp(340px, 34vw, 600px);
}

.work-grid .project-card.is-filtered-out {
  display: none;
}

.work-cta {
  min-height: 560px;
}

/* "View all work" under the home grid */
.work-more {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

/* ================= CONCEPT ANIMATION (project without image) ================= */
.concept-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #4a17c9, #2a0784 70%);
}

.c-blob {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.75;
}

.c-b1 { top: -10%; left: -10%; background: #a379f5; animation: c-wander1 14s ease-in-out infinite; }
.c-b2 { right: -12%; bottom: -15%; background: #42d7b0; animation: c-wander2 17s ease-in-out infinite; }
.c-b3 { top: 30%; left: 35%; width: 40%; background: #ff5fb8; opacity: 0.45; animation: c-wander3 12s ease-in-out infinite; }

@keyframes c-wander1 { 50% { transform: translate(45%, 35%) scale(1.2); } }
@keyframes c-wander2 { 50% { transform: translate(-40%, -30%) scale(0.9); } }
@keyframes c-wander3 { 50% { transform: translate(-30%, -40%) scale(1.3); } }

.c-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
  animation: c-grid-move 12s linear infinite;
}

@keyframes c-grid-move { to { background-position: 0 -44px, 44px 0; } }

.c-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px dashed rgb(255 255 255 / 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: c-spin 30s linear infinite;
}

.c-ring.c-r2 {
  width: 70%;
  border-style: solid;
  border-color: rgb(255 255 255 / 0.12);
  animation-duration: 50s;
  animation-direction: reverse;
}

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

/* planets orbiting on the rings */
.c-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: c-spin 9s linear infinite;
}

.c-orbit i {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

.c-orbit.c-o2 {
  width: 70%;
  animation-duration: 16s;
  animation-direction: reverse;
}

.c-orbit.c-o2 i {
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #fff;
  box-shadow: 0 0 16px #fff;
}

.c-spark {
  position: absolute;
  color: #fff;
  animation: twinkle 3s ease-in-out infinite;
}

.c-s1 { top: 16%; right: 20%; font-size: 22px; }
.c-s2 { bottom: 22%; left: 16%; font-size: 16px; animation-delay: -1s; }
.c-s3 { top: 28%; left: 26%; font-size: 12px; animation-delay: -2s; }

.c-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 40px;
  color: #fff;
  background: rgb(20 8 60 / 0.45);
  backdrop-filter: blur(8px);
  font-size: 15px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: c-pulse 3.2s ease-in-out infinite;
}

.c-label b {
  color: var(--green);
  font-weight: 400;
}

@keyframes c-pulse {
  50% { box-shadow: 0 0 0 10px rgb(255 255 255 / 0.04), 0 0 40px rgb(163 121 245 / 0.5); }
}

.c-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 2px;
}

.c-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: typing 1.2s ease-in-out infinite;
}

.c-dots i:nth-child(2) { animation-delay: 0.15s; }
.c-dots i:nth-child(3) { animation-delay: 0.3s; }

/* gentle zoom on hover, like the image cards */
.project-card:hover .concept-art {
  transform: scale(1.04);
}

.concept-art {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

@media (max-width: 600px) {
  .project-grid.work-grid {
    gap: 70px;
  }

  .work-hero {
    padding-top: 150px;
  }
}

/* "Experience Design Studio": always just right of the d's tall stroke,
   above its tail (logo units: x ≈ 1300, y ≈ 228), at every screen size */
.studio-label,
.hero .studio-label {
  position: absolute;
  z-index: 25; /* above the fixed header logo so it is never covered */
  top: calc(var(--logo-top) + 226 * var(--logo-unit));
  left: min(
    calc(var(--logo-left) + 1302 * var(--logo-unit)),
    calc(100vw - 2vw - 5.3em)
  );
  align-self: auto;
  width: auto;
  margin: 0;
  translate: none;
  font-weight: 700;
  font-size: max(9px, calc(21.5 * var(--logo-unit)));
  line-height: 0.98;
  white-space: nowrap;
}

.studio-label br {
  display: inline;
}

/* label sized like the design so it fits right of the d's stroke */
.studio-label,
.hero .studio-label {
  left: min(
    calc(var(--logo-left) + 1300 * var(--logo-unit)),
    calc(100vw - 1.2vw - 5.3em)
  );
  font-size: max(9px, calc(18 * var(--logo-unit)));
}

/* phones: no room beside the stroke at a readable size, so sit just under the d's tail */
@media (max-width: 600px) {
  .studio-label,
  .hero .studio-label {
    top: calc(var(--logo-top) + 380 * var(--logo-unit));
    left: auto;
    right: 4vw;
    font-size: 11px;
    text-align: right;
  }
}

/* ===== Work cards: simple push from bottom to top (no wipe, no zoom) ===== */
.project-image,
.project-card:nth-child(even) .project-image {
  clip-path: none;
  transition: none;
}

.project-image img,
.reveal-card.is-visible .project-image img {
  scale: 1;
}

.project-info,
.project-info .tags span {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-card {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 900ms ease,
    transform 1000ms cubic-bezier(0.2, 0.7, 0, 1);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: none;
}

/* right-hand card follows slightly later */
.project-grid:not(.work-grid) .project-card:nth-child(even) {
  transition-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card { opacity: 1; transform: none; }
}

/* ===== Work page v2: simple, short hero (like "Our Services") + home-style grid ===== */
.work-hero {
  padding: 190px 0 40px;
}

.work-hero h1 {
  max-width: none;
  margin-bottom: 26px;
  font-weight: 700;
  font-size: clamp(54px, 4.15vw, 72px);
  line-height: 1.2;
  letter-spacing: 0;
}

.work-hero p {
  max-width: 640px;
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.5;
}

/* grid matches the home page exactly */
.work-page .page-body > section.work-list {
  width: auto;
  padding: 120px 0 190px;
}

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

  .work-page .page-body > section.work-list {
    padding: 80px 0 120px;
  }
}

/* ===== Work page hero graphic: floating project cards over a soft glow ===== */
.work-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 150px 0 20px;
}

.work-hero-art {
  position: relative;
  height: clamp(320px, 30vw, 480px);
}

.wh-glow {
  position: absolute;
  inset: -10% 0 -10% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgb(163 121 245 / 0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgb(66 215 83 / 0.22), transparent 55%);
  filter: blur(50px);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.wh-ring {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgb(255 255 255 / 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: c-spin 60s linear infinite;
}

.wh-card {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.5);
  transition: rotate 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.wh-c1 { top: 4%;  left: 12%; width: 38%; rotate: -9deg; animation: wh-float 7s ease-in-out infinite; }
.wh-c2 { top: 0;   left: 54%; width: 36%; rotate: 7deg;  animation: wh-float 8s ease-in-out -2s infinite; }
.wh-c3 { top: 40%; left: 32%; width: 40%; rotate: -2deg; animation: wh-float 9s ease-in-out -4s infinite; z-index: 1; }

@keyframes wh-float {
  50% { translate: 0 -18px; }
}

/* cards fan out a little when you hover the graphic */
.work-hero-art:hover .wh-c1 { rotate: -15deg; }
.work-hero-art:hover .wh-c2 { rotate: 13deg; }
.work-hero-art:hover .wh-c3 { rotate: 2deg; }

.wh-spark {
  position: absolute;
  z-index: 2;
  color: var(--green);
  animation: twinkle 3s ease-in-out infinite;
}

.wh-spark.s1 { top: 6%; left: 46%; font-size: 22px; }
.wh-spark.s2 { bottom: 4%; right: 6%; font-size: 16px; color: var(--purple); animation-delay: -1.5s; }

@media (max-width: 900px) {
  .work-hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

  .work-hero-art {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .work-hero-art {
    height: 260px;
  }
}

/* graphic pops in with the page */
.work-hero-art {
  opacity: 0;
  scale: 0.92;
  transition: opacity 1000ms ease 300ms, scale 1100ms cubic-bezier(0.2, 0.7, 0, 1) 300ms;
}

.page-ready .work-page .work-hero-art {
  opacity: 1;
  scale: 1;
}

@media (prefers-reduced-motion: reduce) {
  .work-hero-art { opacity: 1; scale: 1; }
}

.work-hero {
  overflow-x: clip;
  padding-top: 140px;
}

.work-hero-art {
  height: clamp(280px, 24vw, 400px);
}

@media (max-width: 900px) {
  .work-hero-art { height: 280px; }
}

@media (max-width: 600px) {
  .work-hero-art { height: 230px; }
}

/* ================= CASE STUDY PAGES ================= */
.case-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.case-hero {
  padding: 170px 0 70px;
}

.case-back {
  display: inline-block;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: color 200ms ease;
}

.case-back:hover {
  color: var(--green);
}

.case-kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
}

.case-hero h1 {
  font-weight: 700;
  font-size: clamp(56px, 7vw, 120px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.case-tagline {
  max-width: 720px;
  margin-top: 26px;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.4;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.case-meta dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

/* full-width cover image */
.case-page .page-body > section.case-cover {
  position: relative;
  width: auto;
  height: clamp(420px, 56vw, 900px);
  margin: 0 3vw;
  overflow: hidden;
  border-radius: 20px;
}

.case-cover img {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  object-fit: cover;
}

.case-cover {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1000ms ease 400ms, transform 1100ms cubic-bezier(0.2, 0.7, 0, 1) 400ms;
}

.page-ready .case-page .case-cover {
  opacity: 1;
  transform: none;
}

.case-block {
  display: grid;
  grid-template-columns: 0.75fr 2.15fr;
  gap: 60px;
  padding: 140px 0 90px;
}

.case-lead {
  max-width: 980px;
  font-size: clamp(24px, 2.4vw, 40px);
  line-height: 1.45;
}

.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-left: calc(0.75 / 2.9 * 100% + 15px) !important;
  padding-bottom: 130px;
  width: calc(var(--page) - (0.75 / 2.9 * var(--page) + 15px)) !important;
}

.case-small-label {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-split p:not(.case-small-label),
.cg-text p:not(.case-small-label) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.case-stats {
  border-bottom: 1px solid var(--line);
}

/* gallery */
.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 130px 0;
}

.case-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.cg-wide {
  grid-column: 1 / -1;
  height: clamp(360px, 42vw, 700px);
}

.cg-half {
  height: clamp(320px, 34vw, 560px);
}

.case-gallery img {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
}

.cg-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 70px);
  background: rgb(255 255 255 / 0.035);
}

/* quote */
.case-quote {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.case-quote blockquote {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.case-quote p {
  font-size: clamp(26px, 2.8vw, 46px);
  line-height: 1.35;
}

.case-quote footer {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
}

/* next project */
.case-next {
  position: relative;
  display: flex;
  min-height: clamp(320px, 32vw, 520px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.case-next img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  transform: scale(1.05);
  transition: opacity 600ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
}

.case-next:hover img {
  opacity: 0.4;
  transform: scale(1);
}

.case-next-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-next-title {
  font-weight: 700;
  font-size: clamp(48px, 6vw, 104px);
  letter-spacing: -0.02em;
  transition: color 300ms ease;
}

.case-next:hover .case-next-title {
  color: var(--green);
}

.case-next {
  isolation: isolate;
}

/* clickable project cards */
.project-card.has-case {
  position: relative;
  cursor: pointer;
}

.card-link {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.card-view {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 10px 18px;
  border-radius: 40px;
  color: #132809;
  background: var(--green);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease, transform 450ms cubic-bezier(0.2, 0.7, 0, 1);
}

.project-card.has-case:hover .card-view,
.project-card.has-case:focus-within .card-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .case-meta {
    grid-template-columns: 1fr 1fr;
  }

  .case-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 90px;
  }

  .case-split {
    grid-template-columns: 1fr;
    margin-left: auto !important;
    width: var(--page) !important;
    padding-bottom: 90px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    padding: 90px 0;
  }

  .case-hero {
    padding-top: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-cover { opacity: 1; transform: none; }
}

.case-who {
  display: block;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-style: normal;
}

.case-stats {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .case-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* wide Sanjeevini card: mockups sit at the bottom of the artwork */
.project-wide .project-image img {
  object-position: center bottom;
}

/* divider lines: draw inside the section (some sections clip overflow) */
.reveal-line::before {
  top: 0;
}

/* About us (home) right-hand text: 16px, dimmed like the Crypto description */
.about-copy > p:last-child {
  max-width: clamp(220px, 20vw, 320px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

/* Our Approach descriptions: dimmed like the Crypto description */
.approach article p {
  color: rgba(255, 255, 255, 0.62);
}

/* Work tags: 13px, dimmer */
.project-info .tags {
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.project-info .tags span + span::before {
  width: 4px;
  height: 4px;
  margin: 0 14px 2px 0;
  background: rgba(255, 255, 255, 0.3);
}

/* Work tags as pills: light grey rounded border, 12px */
.project-info .tags {
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
}

.project-info .tags span {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.project-info .tags span + span::before {
  display: none;
}

/* project tagline under the title: dimmed */
.project-info p {
  color: rgba(255, 255, 255, 0.62);
}

/* Hero notes: +2px line height, slightly dimmed */
.hero-notes {
  line-height: calc(1.05em + 2px);
}

.hero-notes p {
  color: rgba(255, 255, 255, 0.7);
}

/* project tagline: 14px, dimmer */
.project-info p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.project-info p {
  font-size: 16px;
}

/* ================= PHONE HERO: exactly one screen ================= */
@media (max-width: 600px) {
  /* logo right at the top; the kebab floats over it */
  :root {
    --logo-top: 14px;
  }

  .hero,
  .hero.hero-intro {
    height: calc(100svh - 20px); /* leaves 20px of the image strip peeking in */
    min-height: 0;
    padding-top: calc(var(--logo-top) + 403 * var(--logo-unit) + 44px);
    padding-bottom: 26px;
    overflow: hidden;
  }

  .hero h1 {
    order: 1;
    align-self: stretch;
    width: auto;
    margin: 0 4vw;
  }

  /* rotating shape sits under the headline and shrinks to fit short screens */
  .hero-orb {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    translate: none;
  }

  .hero-orb img {
    width: auto;
    max-width: 88%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  /* the two notes pinned to the bottom of the screen */
  .hero-notes {
    order: 3;
    flex: none;
    margin: 0 4vw;
    padding-top: 12px;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  /* the orb artwork has lots of empty margin: show it larger */
  .hero-orb img {
    max-width: 150%;
    max-height: 150%;
    width: 150%;
  }
}

/* ================= HANDWRITTEN LOGO IN THE PAGE TRANSITION ================= */
.page-curtain .curtain-logo {
  width: 170px;
  overflow: visible;
  opacity: 1;
  transform: none;
  transition: opacity 400ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

/* the mask sweeps left → right with a soft edge, revealing the letters like ink */
.write-sweep {
  transform: translateX(-230px);
}

.write-pen {
  fill: var(--green);
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--green));
  transform: translateX(-6px);
}

.page-curtain.is-covering .write-sweep {
  animation: write-sweep 1100ms cubic-bezier(0.45, 0.05, 0.35, 1) 180ms both;
}

.page-curtain.is-covering .write-pen {
  animation: write-pen 1100ms cubic-bezier(0.45, 0.05, 0.35, 1) 180ms both;
}

@keyframes write-sweep {
  from { transform: translateX(-230px); }
  to { transform: translateX(0); }
}

/* pen tip rides the writing edge, bobbing over the letters, then fades */
@keyframes write-pen {
  0%   { opacity: 0; transform: translate(-4px, 6px); }
  8%   { opacity: 1; }
  20%  { transform: translate(36px, -6px); }
  35%  { transform: translate(70px, 8px); }
  50%  { transform: translate(105px, -4px); }
  65%  { transform: translate(140px, 6px); }
  80%  { transform: translate(175px, -14px); }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translate(208px, 8px); }
}

/* keep the logo fully written while the panel lifts away */
.page-curtain.is-leaving .write-sweep {
  transform: translateX(0);
}

.page-curtain.is-leaving .curtain-logo {
  opacity: 0;
  transform: translateY(-30px);
}

@media (prefers-reduced-motion: reduce) {
  .write-sweep { transform: none !important; animation: none !important; }
  .write-pen { display: none; }
}

/* ===== About · Our Values: sticky intro + larger value text ===== */
.about-values {
  display: grid;
  grid-template-columns: 59% 1fr;
  align-items: start;
}

/* left title stays in view until its bottom meets the end of the values list */
.values-intro {
  position: sticky;
  top: 150px;
  align-self: start;
  padding-right: 40px;
}

.values-list {
  width: min(380px, 100%);
  margin: 300px 0 0;
}

.value h3 {
  font-size: 28px; /* was 24px */
}

.value p {
  font-size: 16px; /* was 14px */
}

@media (max-width: 900px) {
  .about-values {
    display: block;
  }

  .values-intro {
    position: static;
    padding-right: 0;
  }

  .values-list {
    width: min(440px, 100%);
    margin: 70px 0 0 auto;
  }
}

@media (max-width: 600px) {
  .values-list {
    margin-left: 0;
  }

  .value h3 {
    font-size: 24px;
  }
}

.value h3 {
  font-size: 34px; /* +6px */
  line-height: 1.15;
}

@media (max-width: 600px) {
  .value h3 {
    font-size: 28px;
  }
}

/* ===== About values: title lines slide up, then the description ===== */
.value.reveal {
  opacity: 1;
  transform: none;
}

.value h3 .v-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.value h3 .v-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0, 1);
  transition-delay: calc(var(--li) * 110ms);
}

.value p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease 300ms, transform 900ms cubic-bezier(0.2, 0.7, 0, 1) 300ms;
}

.value.is-visible h3 .v-line > span {
  transform: none;
}

.value.is-visible p {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .value h3 .v-line > span,
  .value p { transform: none; opacity: 1; }
}

/* ================= FIRST-VISIT INTRO ================= */
.intro {
  position: fixed;
  z-index: 120;
  inset: 0;
  pointer-events: none;
}

/* solid backdrop that fades away as the logo flies to the hero */
.intro::before {
  position: absolute;
  inset: 0;
  background: #15161b;
  content: "";
  transition: opacity 700ms ease;
}

.intro.is-moving::before {
  opacity: 0;
}

.intro-logo {
  --w: min(400px, 80vw);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  overflow: visible;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}

/* writing: a soft-edged mask sweeps left → right, a pen tip leads it */
.intro-sweep {
  transform: translateX(-1702px);
  animation: intro-write 1600ms cubic-bezier(0.45, 0.05, 0.35, 1) 250ms forwards;
}

@keyframes intro-write {
  to { transform: translateX(0); }
}

.intro-pen {
  fill: var(--green);
  opacity: 0;
  filter: drop-shadow(0 0 18px var(--green));
  animation: intro-pen 1600ms cubic-bezier(0.45, 0.05, 0.35, 1) 250ms forwards;
}

@keyframes intro-pen {
  0%   { opacity: 0; transform: translate(10px, 40px); }
  6%   { opacity: 1; }
  18%  { transform: translate(220px, -60px); }
  32%  { transform: translate(460px, 60px); }
  48%  { transform: translate(700px, -20px); }
  64%  { transform: translate(930px, 50px); }
  80%  { transform: translate(1180px, -120px); }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translate(1360px, 60px); }
}

/* while the intro runs: hide the real header logo and the kebab */
html.intro-running {
  overflow: hidden;
}

html.intro-running .header-mark,
html.intro-running #menu-toggle {
  opacity: 0;
}

.header-mark,
#menu-toggle {
  transition: opacity 500ms ease;
}

/* the rest of the hero slides in a little further for the first visit */
html.intro-done .hero-intro h1,
html.intro-done .hero-intro .studio-label,
html.intro-done .hero-intro .hero-notes {
  transition-duration: 1100ms, 1200ms;
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* sweep travels past the end so the soft edge never sits on the last letter */
@keyframes intro-write {
  to { transform: translateX(420px); }
}

@keyframes write-sweep {
  from { transform: translateX(-230px); }
  to { transform: translateX(70px); }
}

.page-curtain.is-leaving .write-sweep {
  transform: translateX(70px);
}

/* instant handover from the flying logo to the real header logo */
html.intro-handover .header-mark,
html.intro-handover #menu-toggle {
  transition: none;
}

/* longer masks: fully hidden at the start, fully covering every letter at the end */
.intro-sweep {
  transform: translateX(-1450px);
}

@keyframes intro-write {
  from { transform: translateX(-1450px); }
  to { transform: translateX(420px); }
}

.write-sweep {
  transform: translateX(-230px);
}

/* intro logo: no cached bitmap while it grows */
.intro-logo {
  will-change: auto;
  height: auto;
}

/* ===== new logo (with the dot on the i) ===== */
/* curtain logo now uses the same 1362-unit drawing as the intro */
.page-curtain.is-covering .write-sweep {
  animation: intro-write 1100ms cubic-bezier(0.45, 0.05, 0.35, 1) 180ms both;
}

.page-curtain.is-covering .write-pen {
  animation: intro-pen 1100ms cubic-bezier(0.45, 0.05, 0.35, 1) 180ms both;
}

.write-sweep {
  transform: translateX(-1450px);
}

.page-curtain.is-leaving .write-sweep {
  transform: translateX(420px);
}

.write-pen {
  filter: drop-shadow(0 0 18px var(--green));
}

/* ================= PRIVACY & TERMS PAGE ================= */
.legal-page .page-body > section {
  width: var(--page);
  margin: 0 auto;
}

.legal-hero {
  padding: 180px 0 70px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-weight: 700;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.legal-hero p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

.legal-hero .legal-updated {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.legal-body {
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) 2.15fr;
  align-items: start;
  gap: 60px;
  padding: 90px 0 160px;
}

/* table of contents stays in view while you read */
.legal-toc {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.legal-toc a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.55);
  transition: color 200ms ease, transform 250ms ease;
}

.legal-toc a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.legal-toc-label {
  margin: 18px 0 4px;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc-label:first-child {
  margin-top: 0;
}

.legal-content {
  max-width: 760px;
}

.legal-part {
  margin: 0 0 40px;
  padding-top: 10px;
  font-weight: 700;
  font-size: clamp(30px, 2.6vw, 44px);
  letter-spacing: -0.01em;
  scroll-margin-top: 140px;
}

.legal-part:not(:first-child) {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.legal-section {
  margin-bottom: 44px;
  scroll-margin-top: 140px;
}

.legal-section h3 {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 22px;
}

.legal-section p,
.legal-section li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.75;
}

.legal-section p + p,
.legal-section ul + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.legal-section li {
  position: relative;
  padding-left: 22px;
}

.legal-section li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.legal-section strong {
  color: #fff;
  font-weight: 500;
}

.legal-section a {
  border-bottom: 1px solid currentColor;
  color: #fff;
  transition: color 200ms ease;
}

.legal-section a:hover {
  color: var(--green);
}

.legal-contact {
  margin-top: 70px;
  padding: 34px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.04);
}

/* footer link */
.footer-legal-link {
  color: inherit;
  transition: color 200ms ease;
}

.footer-legal-link:hover {
  color: #000;
}

@media (max-width: 900px) {
  .legal-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-toc {
    position: static;
    display: none;
  }

  .legal-hero {
    padding-top: 140px;
  }
}

/* ================= LIVE LIQUID SPHERES (replaces the static hero image) ================= */
/* the canvas keeps the old image's footprint (2000 × 1455) so the layout is unchanged */
.hero-orb {
  mix-blend-mode: normal;
}

.orb-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 2000 / 1455;
}

@media (max-width: 600px) {
  /* phones: the canvas fills the space between headline and notes */
  .hero-orb .orb-canvas {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* sphere canvas: 40% larger than the old image footprint (centred on it) so the
   bigger, slowly rotating spheres and their glow are never clipped */
.orb-canvas {
  width: 140%;
  margin: calc(-20% / 1.3746) 0 0 -20%;
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero-orb .orb-canvas {
    width: 100%;
    height: 100%;
    margin: 0;
  }
}

/* ================= VALUES DIAGRAM (About · Our Values) ================= */
.values-diagram {
  width: min(560px, 100%, 62vh * 1.28);
  margin-top: 56px;
}

.values-diagram.reveal {
  opacity: 1;
  transform: none;
}

.values-diagram-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.vd-top { fill-opacity: 0.22; }
.vd-side { fill-opacity: 0.38; }
.vd-side-r { fill-opacity: 0.28; }

.vd-top,
.vd-side,
.vd-edge {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.4;
  stroke-linejoin: round;
  fill-rule: nonzero;
}

.vd-edge { fill: none; }

.vd-drop {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.4;
  stroke-dasharray: 3 6;
  animation: vd-flow 3s linear infinite;
}

@keyframes vd-flow {
  to { stroke-dashoffset: -18; }
}

.vd-label line,
.vd-label path {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.4;
}

.vd-label circle { fill: #fff; }

.vd-label text {
  fill: rgba(255, 255, 255, 0.85);
  font-family: "Instrument Sans", sans-serif;
  font-size: 22px;
  font-style: italic;
}

/* tiers drop into place one after another, bottom first */
.vd-tier {
  opacity: 0;
  transform: translateY(-46px);
  transition:
    opacity 700ms ease,
    transform 1000ms cubic-bezier(0.2, 0.7, 0, 1);
  transition-delay: calc((3 - var(--i)) * 160ms);
}

.vd-label {
  opacity: 0;
  transition: opacity 600ms ease;
  transition-delay: calc((3 - var(--i)) * 160ms + 500ms);
}

.values-diagram.is-visible .vd-tier { opacity: 1; transform: none; }
.values-diagram.is-visible .vd-label { opacity: 1; }

/* hovering a tier lifts it and brightens it */
.vd-slab {
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.vd-tier:hover .vd-slab { transform: translateY(-10px); }
.vd-tier:hover .vd-top { fill-opacity: 0.4; }
.vd-tier:hover .vd-label text { fill: #fff; }

@media (max-width: 900px) {
  .values-diagram {
    width: min(520px, 100%);
    margin: 50px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-tier, .vd-label { opacity: 1; transform: none; }
  .vd-drop { animation: none; }
}

/* fit the whole pinned column (title + diagram) on screen */
.values-diagram {
  width: max(300px, min(520px, 100%, calc((100vh - 470px) * 1.14)));
  margin-top: 44px;
}

@media (max-width: 900px) {
  .values-diagram { width: min(520px, 100%); }
}

/* ===== Work cards: "Coming soon" tag on hover ===== */
.card-soon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgb(21 22 27 / 0.72);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
  pointer-events: none;
}

.card-soon::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  content: "";
}

.project-card:hover .card-soon {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* the concept card already says "Next idea in progress" */
.project-card .concept-art ~ .card-soon { display: none; }

/* longer hero headline ("…in days, not months."): a little wider so it stays at four lines */
@media (min-width: 901px) {
  .hero h1 {
    width: min(42vw, 600px);
    margin-right: 6%;
  }
}

/* phone number links look like the surrounding text */
.menu-hello a[href^="tel:"],
.contact-info a[href^="tel:"] {
  border-bottom: 0;
}

/* Contact page address */
.contact-address {
  margin: 14px 0 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
}

.contact-address strong {
  color: #fff;
  font-weight: 500;
}
