:root {
  --ink: #0a0a0a;
  --paper: #f4f1ec;
  --coral: #ff6b5e;
  --coral-deep: #e8483a;
  --bone: #e8e2d6;
  --smoke: #1a1a1a;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.35);
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 241, 236, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s;
}
nav.dark {
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(244, 241, 236, 0.12);
}
nav.dark .nav-logo,
nav.dark .nav-links a {
  color: var(--paper);
}
nav.dark .nav-cta {
  background: var(--coral);
  color: var(--ink);
}
.nav-logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.4s;
}
.nav-logo .dot {
  color: var(--coral);
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.4s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--coral);
  color: var(--ink);
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 9rem 2rem 4rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  overflow: hidden;
  background: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: -10% -5% -5% -5%;
  background-image: url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=2000&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  will-change: transform;
  filter: contrast(1.1) saturate(0.8);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(244, 241, 236, 0.4) 0%,
    rgba(244, 241, 236, 0.85) 50%,
    var(--paper) 100%
  );
}

/* 3D hero scene */
.hero-3d-stage {
  position: absolute;
  right: 4%;
  top: 18%;
  width: 380px;
  height: 460px;
  z-index: 3;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  pointer-events: none;
}
.hero-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-25deg);
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-3d .floor {
  position: absolute;
  width: 360px;
  height: 360px;
  left: 10px;
  top: 240px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 94, 0.08),
    rgba(10, 10, 10, 0.04)
  );
  border: 1px dashed rgba(10, 10, 10, 0.25);
  transform: rotateX(90deg) translateZ(-120px);
  transform-style: preserve-3d;
}
.hero-3d .floor::before,
.hero-3d .floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.08) 0 1px,
      transparent 1px 40px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(10, 10, 10, 0.08) 0 1px,
      transparent 1px 40px
    );
}
.hero-3d .tower {
  position: absolute;
  transform-style: preserve-3d;
  bottom: 100px;
}
.hero-3d .tower-1 {
  left: 70px;
}
.hero-3d .tower-2 {
  left: 180px;
  transform: translateZ(-80px);
}
.hero-3d .tower-3 {
  left: 250px;
  transform: translateZ(40px);
}

.hero-3d .block {
  width: 70px;
  height: 30px;
  background: var(--paper);
  border: 1.2px solid var(--ink);
  margin-bottom: 4px;
  transform-style: preserve-3d;
  position: relative;
  box-shadow: 6px 6px 0 rgba(10, 10, 10, 0.08);
}
.hero-3d .block::before {
  content: "";
  position: absolute;
  inset: 4px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.55) 0 2px,
    transparent 2px 9px
  );
  opacity: 0.7;
}
.hero-3d .tower-2 .block {
  width: 60px;
  background: var(--bone);
}
.hero-3d .tower-3 .block {
  width: 80px;
}

/* Coral accent block on tower 1 */
.hero-3d .tower-1 .block:nth-child(3) {
  background: var(--coral);
}
.hero-3d .tower-3 .block:nth-child(1) {
  background: var(--ink);
}
.hero-3d .tower-3 .block:nth-child(1)::before {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(244, 241, 236, 0.6) 0 2px,
    transparent 2px 9px
  );
}

/* Floating coral dot orbiting */
.hero-3d-stage::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--coral);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  box-shadow: 0 0 30px var(--coral);
  animation: orbit 8s linear infinite;
  z-index: 4;
}
@keyframes orbit {
  from {
    transform: rotate(0) translateX(180px) rotate(0);
  }
  to {
    transform: rotate(360deg) translateX(180px) rotate(-360deg);
  }
}

.hero-meta {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--line-strong);
  margin-bottom: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta .live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

.hero h1 {
  position: relative;
  z-index: 5;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  max-width: 60%;
  text-align: left;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-30deg);
  animation: wordReveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transform-origin: 50% 100%;
}
.hero h1 .word:nth-child(1) {
  animation-delay: 0.1s;
}
.hero h1 .word:nth-child(2) {
  animation-delay: 0.18s;
}
.hero h1 .word:nth-child(3) {
  animation-delay: 0.26s;
}
.hero h1 .word:nth-child(4) {
  animation-delay: 0.34s;
}
.hero h1 .word:nth-child(5) {
  animation-delay: 0.42s;
}
.hero h1 .word:nth-child(6) {
  animation-delay: 0.5s;
}
.hero h1 .word:nth-child(7) {
  animation-delay: 0.58s;
}
.hero h1 .word:nth-child(8) {
  animation-delay: 0.66s;
}
.hero h1 .word:nth-child(9) {
  animation-delay: 0.74s;
}
.hero h1 .word:nth-child(10) {
  animation-delay: 0.82s;
}
@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}
.hero h1 .strike {
  position: relative;
  display: inline-block;
}
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 6px;
  background: var(--coral);
  transform: rotate(-2deg) scaleX(0);
  transform-origin: left;
  animation: strikeIn 0.6s ease-out 1.4s forwards;
}
@keyframes strikeIn {
  to {
    transform: rotate(-2deg) scaleX(1);
  }
}

.hero-bottom {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: end;
  max-width: 100%;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.3s forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 480px;
  color: rgba(10, 10, 10, 0.75);
}
.hero-desc strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}
.cta-primary {
  background: var(--coral);
  color: var(--ink);
  padding: 1.1rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--ink);
  transition: box-shadow 0.3s;
  box-shadow: 4px 4px 0 var(--ink);
  will-change: transform;
}
.cta-primary:hover {
  box-shadow: 6px 6px 0 var(--ink);
}
.cta-primary .arrow {
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--coral);
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.cta-primary:hover .arrow {
  transform: rotate(45deg);
}
.cta-secondary {
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 5;
}
.scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--ink));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* MARQUEE */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 1.4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track .dot {
  color: var(--coral);
  font-size: 1.2rem;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SHOWCASE BAND with parallax */
.showcase-band {
  height: 70vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.showcase-band .parallax-img {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  opacity: 0.55;
  filter: grayscale(0.3) contrast(1.1);
}
.showcase-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(10, 10, 10, 0.85) 90%
  );
}
.showcase-band-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 1100px;
}
.showcase-band-text .small {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--coral);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s;
}
.showcase-band-text h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s 0.2s;
}
.showcase-band-text h2 .it {
  font-style: italic;
  color: var(--coral);
}
.showcase-band.visible .small,
.showcase-band.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

/* STATS */
.stats {
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 0 2rem;
  border-left: 1px solid var(--line);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.stat.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat:nth-child(2) {
  transition-delay: 0.1s;
}
.stat:nth-child(3) {
  transition-delay: 0.2s;
}
.stat:nth-child(4) {
  transition-delay: 0.3s;
}
.stat:first-child {
  border-left: none;
}
.stat-number {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}
.stat-number .plus {
  color: var(--coral);
  font-style: italic;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.6);
  font-weight: 500;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.2s;
}
.reveal.delay-3 {
  transition-delay: 0.3s;
}

/* SECTION */
.section {
  padding: 7rem 2rem;
  position: relative;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coral-deep);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--coral-deep);
}
.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  max-width: 900px;
}
.section-title .it {
  font-style: italic;
  color: var(--coral);
}

/* BLUEPRINT */
.blueprint {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.blueprint::before {
  content: "SCALE";
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: 30rem;
  color: rgba(244, 241, 236, 0.025);
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 0.8;
}
.blueprint .section-label {
  color: var(--coral);
}
.blueprint .section-label::before {
  background: var(--coral);
}
.blueprint .section-title {
  color: var(--paper);
}
.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.blueprint-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 80px;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(244, 241, 236, 0.15);
  transition: all 0.4s;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-30px);
}
.blueprint-row.visible {
  opacity: 1;
  transform: translateX(0);
}
.blueprint-row:nth-child(1) {
  transition-delay: 0s;
}
.blueprint-row:nth-child(2) {
  transition-delay: 0.1s;
}
.blueprint-row:nth-child(3) {
  transition-delay: 0.2s;
}
.blueprint-row:nth-child(4) {
  transition-delay: 0.3s;
}
.blueprint-row:nth-child(5) {
  transition-delay: 0.4s;
}
.blueprint-row:last-child {
  border-bottom: 1px solid rgba(244, 241, 236, 0.15);
}
.blueprint-row:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(255, 107, 94, 0.08), transparent);
}
.blueprint-row:hover .bp-letter {
  color: var(--coral);
}
.blueprint-row:hover .bp-arrow {
  transform: translateX(8px);
  color: var(--coral);
}
.bp-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: rgba(244, 241, 236, 0.4);
}
.bp-letter {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s;
}
.bp-letter strong {
  font-weight: 600;
}
.bp-desc {
  font-size: 1.05rem;
  color: rgba(244, 241, 236, 0.75);
  max-width: 500px;
}
.bp-arrow {
  font-size: 1.5rem;
  color: rgba(244, 241, 236, 0.4);
  transition: all 0.3s;
  text-align: right;
}

/* SERVICES */
.services {
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  perspective: 1500px;
}
.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  background: var(--paper);
  transition:
    background 0.5s,
    color 0.5s,
    transform 0.2s linear;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover {
  background: var(--ink);
  color: var(--paper);
}
.service-card:hover .service-icon {
  color: var(--coral);
  transform: rotate(-12deg) scale(1.15);
}
.service-card:hover .service-list li {
  color: rgba(244, 241, 236, 0.85);
}
.service-card:hover .service-num {
  color: var(--coral);
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.service-icon {
  font-size: 2.5rem;
  line-height: 1;
  transition: all 0.4s;
}
.service-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--line-strong);
  transition: color 0.4s;
}
.service-title {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.service-list {
  list-style: none;
  columns: 2;
  column-gap: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(10, 10, 10, 0.7);
  transition: color 0.4s;
}
.service-list li {
  break-inside: avoid;
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* PROCESS */
.process {
  background: var(--bone);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-flow::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 6px,
    transparent 6px 12px
  );
}
.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.process-step:nth-child(1) {
  transition-delay: 0s;
}
.process-step:nth-child(2) {
  transition-delay: 0.15s;
}
.process-step:nth-child(3) {
  transition-delay: 0.3s;
}
.process-step:nth-child(4) {
  transition-delay: 0.45s;
}
.process-circle {
  width: 100px;
  height: 100px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.process-step:hover .process-circle {
  background: var(--coral);
  transform: translateY(-6px) rotateY(15deg);
}
.process-step:nth-child(even) .process-circle {
  background: var(--ink);
  color: var(--paper);
}
.process-step:nth-child(even):hover .process-circle {
  background: var(--coral);
  color: var(--ink);
}
.process-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.process-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.7);
  max-width: 220px;
  margin: 0 auto;
}

/* WORK — FLIP CARDS */
.work {
  background: var(--paper);
}
.work-intro-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--line-strong);
}
.work-intro-meta .hint {
  color: var(--coral-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.work-intro-meta .hint::before {
  content: "⟲";
  font-size: 1rem;
  animation: rotateHint 3s linear infinite;
  display: inline-block;
}
@keyframes rotateHint {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  perspective: 2000px;
}

/* Flip card outer container */
.flip-card {
  position: relative;
  height: 520px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0.05, 0.2, 1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.flip-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.flip-card .flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0.05, 0.2, 1);
  will-change: transform;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.15);
}

/* FRONT — image + name */
.flip-front {
  background: var(--ink);
}
.flip-front .flip-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.flip-card:hover .flip-front .flip-bg {
  transform: scale(1.08);
}
.flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.1) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.92) 100%
  );
  z-index: 1;
}
.flip-front-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
}
.flip-front-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flip-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(244, 241, 236, 0.4);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.3);
}
.flip-number {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--coral);
  text-transform: uppercase;
}
.flip-front-bottom .micro {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(244, 241, 236, 0.65);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.flip-front-bottom .micro::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--coral);
}
.flip-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}
.flip-cta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coral);
  transition: gap 0.3s;
}
.flip-card:hover .flip-cta {
  gap: 0.9rem;
}
.flip-cta .icon {
  width: 26px;
  height: 26px;
  background: var(--coral);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

/* BACK — case study */
.flip-back {
  transform: rotateY(180deg);
  background: var(--paper);
  color: var(--ink);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ink);
}
.flip-card:nth-child(2) .flip-back {
  background: var(--coral);
  color: var(--ink);
}
.flip-card:nth-child(3) .flip-back {
  background: var(--ink);
  color: var(--paper);
}
.flip-card:nth-child(4) .flip-back {
  background: var(--bone);
  color: var(--ink);
}

.flip-back-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.65;
  margin-bottom: 1.2rem;
}
.flip-back-name {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.flip-back-section {
  margin-bottom: 1.4rem;
}
.flip-back-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.4rem;
}
.flip-back-text {
  font-size: 0.92rem;
  line-height: 1.5;
}
.flip-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.flip-deliverables span {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.85;
}
.flip-back-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.flip-back-footer::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  margin-right: 0.7rem;
  opacity: 0.6;
}

/* CLIENTS */
.clients {
  background: var(--smoke);
  color: var(--paper);
  padding: 6rem 2rem;
  border-top: 1px solid var(--ink);
}
.clients .section-title {
  color: var(--paper);
}
.clients-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
.clients-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.7);
  max-width: 480px;
}
/* Client logo auto-scroll */
.client-scroll {
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
  padding: 2rem 0;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.client-scroll-track {
  display: flex;
  gap: 5rem;
  width: max-content;
  animation: clientScroll 30s linear infinite;
}
.client-scroll:hover .client-scroll-track {
  animation-play-state: paused;
}
.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  min-width: 220px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: rgba(244, 241, 236, 0.55);
  letter-spacing: -0.01em;
  transition:
    color 0.4s,
    transform 0.4s;
  white-space: nowrap;
}
.client-logo:hover {
  color: var(--coral);
  transform: scale(1.05);
}
.client-logo .divider {
  color: rgba(244, 241, 236, 0.2);
  margin-left: 5rem;
  font-size: 1rem;
}
@keyframes clientScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* QUOTE */
.quote-section {
  background: var(--coral);
  color: var(--ink);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 28rem;
  line-height: 1;
  color: rgba(10, 10, 10, 0.08);
  pointer-events: none;
  will-change: transform;
}
.quote-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.15;
  max-width: 1100px;
  margin: 0 auto 2rem;
  position: relative;
  letter-spacing: -0.02em;
}
.quote-author {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: relative;
}

/* FINAL CTA */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: -20% 0;
  background-image: url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2400&q=85");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  will-change: transform;
  filter: grayscale(0.4);
}
.final-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    var(--ink) 90%
  );
}
.final-cta > *:not(.final-cta-bg) {
  position: relative;
  z-index: 2;
}
.final-cta::after {
  content: "SCALE • STRUCTURE • SCALE • STRUCTURE • SCALE • STRUCTURE • ";
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(244, 241, 236, 0.15);
  white-space: nowrap;
  overflow: hidden;
  z-index: 2;
}
.final-cta .tiny-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coral);
  margin-bottom: 1.5rem;
}
.final-cta h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta h2 .it {
  font-style: italic;
  color: var(--coral);
}
.final-cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn-glow {
  background: var(--coral);
  color: var(--ink);
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: box-shadow 0.3s;
  will-change: transform;
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(255, 107, 94, 0.5);
}
.btn-ghost {
  color: var(--paper);
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(244, 241, 236, 0.3);
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(244, 241, 236, 0.2);
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
}
.contact-item {
  padding: 1.5rem;
  border-right: 1px solid rgba(244, 241, 236, 0.2);
  text-align: left;
}
.contact-item:last-child {
  border-right: none;
}
.contact-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(244, 241, 236, 0.5);
  margin-bottom: 0.5rem;
}
.contact-value {
  font-size: 0.9rem;
  color: var(--paper);
  word-break: break-all;
}
.contact-value a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px dashed rgba(244, 241, 236, 0.3);
}
.contact-value a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

footer {
  background: var(--ink);
  color: rgba(244, 241, 236, 0.5);
  padding: 2rem;
  border-top: 1px solid rgba(244, 241, 236, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hero h1 {
    max-width: 100%;
  }
  .hero-cta-group {
    align-items: flex-start;
  }
  .hero-3d-stage {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 4rem 2rem;
  }
  .stat {
    padding: 2rem 1rem;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-flow {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1rem;
  }
  .process-flow::before {
    display: none;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .flip-card {
    height: 460px;
  }
  .flip-name {
    font-size: 2rem;
  }
  .work-intro-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .clients-intro {
    grid-template-columns: 1fr;
  }
  .client-logo {
    font-size: 1.5rem;
    min-width: 160px;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(244, 241, 236, 0.2);
  }
  .blueprint-row {
    grid-template-columns: 40px 1fr 1fr 30px;
    gap: 1rem;
  }
  .service-list {
    columns: 1;
  }
}

@media (max-width: 600px) {
  .nav-cta {
    min-width: max-content;
  }
  .section {
    padding: 7rem 1rem;
  }
  .blueprint-row {
    gap: 0.5rem;
  }
  .blueprint-row:hover {
    padding-left: 0.5rem;
  }
  .bp-letter {
    font-size: 2rem;
  }
  .flip-card{
      height: 600px;
  }
  .flip-back{
      transform: rotateY(180deg);
      z-index: 2;
  }
  .t2e{
      display: none;
  }
}
