/* ============================================
   DAYA ARSANA — Light Editorial Theme (v2)
   ============================================ */

:root {
  /* Surfaces — CREAM/LIGHT */
  --bg:    #F4F0E8;
  --bg-2:  #EDE7DC;
  --bg-3:  #E4DCCB;
  --line:  rgba(13, 13, 13, 0.10);
  --line-strong: rgba(13, 13, 13, 0.22);

  /* Text */
  --fg:       #0D0D0D;
  --fg-2:     #1A1A1A;
  --fg-dim:   #545049;
  --fg-muted: #8B857B;

  /* Brand (kept from logo) */
  --orange:  #F2761F;
  --gold:    #F5A623;
  --magenta: #9B3389;
  --purple:  #5B2D82;

  --grad: linear-gradient(135deg, #F5A623 0%, #F2761F 30%, #C04578 60%, #5B2D82 100%);
  --grad-warm: linear-gradient(135deg, #F5A623 0%, #F2761F 50%, #C04578 100%);

  /* Type */
  --f-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --f-body:    "Space Grotesk", "Helvetica Neue", sans-serif;
  --f-serif:   "Instrument Serif", "Times New Roman", serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

/* Container */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 700px) { .container { padding: 0 24px; } }

.section {
  position: relative;
  padding: 120px 0;
}
@media (max-width: 700px) { .section { padding: 72px 0; } }

/* ============================================
   Type rhythm
   ============================================ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.h-display em, .h-display .italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.h-section em, .h-section .italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--fg-2);
  line-height: 1.4;
  max-width: 720px;
  font-weight: 400;
}

/* Inline serif italic accent (used in body copy) */
em.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
  gap: 16px;
}
.nav.is-scrolled {
  background: rgba(244, 240, 232, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .nav { padding: 16px 20px; } }
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  min-width: 0;
}
.nav__brand img { width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; }
.nav__menu {
  display: flex;
  gap: 36px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
}
.nav__menu a { position: relative; padding: 4px 0; }
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav__menu a:hover::after { width: 100%; }

/* Hamburger button — hidden by default */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav__burger:hover { background: var(--orange); }
.nav__burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s ease;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile overlay menu */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 105;
  display: none;
  flex-direction: column;
  padding: 88px 28px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
body.menu-open .nav__overlay { opacity: 1; pointer-events: auto; }
.nav__overlay .menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  flex: 1;
}
.nav__overlay .menu-list a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, padding 0.3s ease;
}
.nav__overlay .menu-list a:hover { color: var(--orange); padding-left: 8px; }
.nav__overlay .menu-list a .arrow {
  font-size: 0.5em;
  color: var(--orange);
}
.nav__overlay .menu-foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.nav__overlay .menu-foot a { color: var(--fg); }
.nav__overlay .menu-foot .row {
  display: flex; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta-desktop { display: none; }
  .nav__overlay { display: flex; }
}

.btn {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--fg);
}
.btn:hover { background: transparent; color: var(--fg); }
.btn--primary {
  background: var(--grad-warm);
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover { color: #fff; filter: brightness(1.1); background: var(--grad-warm); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn__arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__noise {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 2;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(60px, 12vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  max-width: 1500px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 80px;
}
@media (max-width: 900px) { .hero__foot { grid-template-columns: 1fr; gap: 32px; } }
.hero__foot .desc {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg-2);
  line-height: 1.4;
  max-width: 540px;
}
.hero__foot .desc em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--orange);
}
.hero__foot .actions {
  display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
}
@media (max-width: 900px) { .hero__foot .actions { justify-content: flex-start; } }

.hero__meta {
  position: absolute;
  left: 48px; bottom: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; gap: 24px; align-items: center;
  z-index: 3;
}
@media (max-width: 700px) { .hero__meta { left: 24px; flex-wrap: wrap; gap: 12px; } }
.hero__meta .star {
  display: inline-block;
  animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ============================================
   MARQUEE STRIP
   ============================================ */
.strip {
  background: var(--fg);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
.strip__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
}
.strip__track span {
  display: inline-flex; align-items: center; gap: 60px;
}
.strip__track .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.strip__track em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================
   SERVICES — big cards with preview
   ============================================ */
.services__head {
  margin-bottom: 96px;
}
.services__head .eyebrow { margin-bottom: 32px; }
.services__head .h-section { max-width: 1200px; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) {
  direction: rtl;
}
.service-row:nth-child(even) > * { direction: ltr; }
@media (max-width: 1000px) {
  .service-row { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .service-row:nth-child(even) { direction: ltr; }
}

.service-row__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.service-row__visual canvas { display: block; width: 100%; height: 100%; }

.service-row__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}
.service-row__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.service-row__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-row__desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 520px;
  margin-bottom: 32px;
}
.service-row__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-row__tags .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.service-row__tags .tag:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* Animated visual variants */
.viz-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(13,13,13,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,13,13,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================
   PROJECTS — horizontal drag carousel
   ============================================ */
.projects {
  padding: 120px 0 80px;
  overflow: hidden;
}
.projects__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 48px;
  margin-bottom: 64px;
  gap: 40px;
  flex-wrap: wrap;
}
@media (max-width: 700px) { .projects__head { padding: 0 24px; } }
.projects__head .left .eyebrow { margin-bottom: 24px; }
.projects__head .right {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.projects__head .right .drag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  color: var(--fg);
}
.projects__head .right .drag .icon {
  width: 16px; height: 16px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  position: relative;
}
.projects__head .right .drag .icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--fg);
  border-radius: 50%;
}

.projects__rail {
  cursor: grab;
  padding: 0 48px;
}
.projects__rail:active { cursor: grabbing; }
.projects__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}
.project-card {
  flex: 0 0 auto;
  width: 460px;
  user-select: none;
  pointer-events: auto;
}
@media (max-width: 700px) { .project-card { width: 320px; } }
.project-card__poster {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.project-card:hover .project-card__poster {
  transform: scale(1.02);
}
.project-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.project-card__tags {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.project-card__tags span::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}
.project-card__tags span:last-child::after { display: none; }

/* Poster art variants */
.poster {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.poster--a {
  background:
    radial-gradient(70% 70% at 30% 30%, #F5A623 0%, transparent 60%),
    radial-gradient(70% 70% at 70% 70%, #5B2D82 0%, transparent 60%),
    #F2761F;
}
.poster--b {
  background: linear-gradient(180deg, #9B3389 0%, #5B2D82 100%);
}
.poster--c {
  background:
    radial-gradient(60% 60% at 50% 50%, #F2761F 0%, transparent 70%),
    #1A1A1A;
}
.poster--d {
  background: linear-gradient(135deg, #F5A623 0%, #F2761F 100%);
}
.poster--e {
  background: linear-gradient(135deg, #2E1B5C 0%, #9B3389 100%);
}
.poster--f {
  background: var(--fg);
}
.poster__caption {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 28px;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
}
.poster__chip {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
}
.poster__glyph {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.96);
}
.poster__glyph em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.poster__rings {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.poster__rings::before,
.poster__rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
}
.poster__rings::before { width: 70%; height: 70%; }
.poster__rings::after  { width: 45%; height: 45%; border-color: rgba(255,255,255,0.55); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 64px; gap: 40px; flex-wrap: wrap;
}
.testimonials__head .h-section { max-width: 800px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

.bubble {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), background 0.4s ease;
}
.bubble:hover { transform: translateY(-4px); background: var(--bg-3); }
.bubble__quote {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-2);
  margin-bottom: 24px;
}
.bubble__quote::before {
  content: "\201C";
  font-family: var(--f-serif);
  font-size: 56px;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 6px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bubble__foot { display: flex; align-items: center; gap: 14px; }
.bubble__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
}
.bubble__person { display: flex; flex-direction: column; gap: 2px; }
.bubble__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
}
.bubble__role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ============================================
   CLIENTS — floating logo grid
   ============================================ */
.clients {
  padding: 120px 0;
  overflow: hidden;
}
.clients__head {
  text-align: center;
  margin-bottom: 80px;
}
.clients__head .eyebrow { display: inline-flex; margin-bottom: 24px; }

.clients__cloud {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .clients__cloud { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.client {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  transition: background 0.3s ease, transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  will-change: transform;
  text-align: center;
  padding: 8px;
  line-height: 1.1;
}
.client:hover { background: var(--fg); color: var(--bg); transform: scale(1.06); }
.client:nth-child(odd)  { animation: floatA 5s ease-in-out infinite; }
.client:nth-child(even) { animation: floatB 6s ease-in-out infinite; }
.client:nth-child(3n)   { animation-delay: -1.5s; }
.client:nth-child(5n)   { animation-delay: -3s; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================
   STATS — big percentages
   ============================================ */
.stats {
  background: var(--fg);
  color: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.stats__head { text-align: center; margin-bottom: 80px; }
.stats__head .eyebrow { color: rgba(244,240,232,0.7); }
.stats__head .eyebrow::before { background: var(--orange); }
.stats__head .h-section { color: var(--bg); max-width: 1100px; margin: 0 auto; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244,240,232,0.18);
}
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
.stats__cell {
  padding: 56px 32px;
  border-right: 1px solid rgba(244,240,232,0.18);
  border-bottom: 1px solid rgba(244,240,232,0.18);
}
.stats__cell:nth-child(4n) { border-right: 0; }
@media (max-width: 900px) {
  .stats__cell:nth-child(4n) { border-right: 1px solid rgba(244,240,232,0.18); }
  .stats__cell:nth-child(2n) { border-right: 0; }
}
.stats__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  display: flex; align-items: baseline; gap: 4px;
}
.stats__num .val { display: inline-block; min-width: 1ch; }
.stats__num .unit {
  font-size: 0.35em;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--orange);
  margin-left: 2px;
}
.stats__caption {
  margin-top: 20px;
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.4;
  color: rgba(244,240,232,0.78);
  max-width: 280px;
}
.stats__caption em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--orange);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 50% 50%, rgba(242,118,31,0.20), transparent 70%),
    radial-gradient(30% 30% at 70% 30%, rgba(91,45,130,0.20), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 1200px;
  margin: 0 auto;
}
.cta__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__sub {
  margin: 32px auto 48px;
  max-width: 600px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-dim);
}
.cta__actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer__big {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(80px, 14vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.055em;
  margin-bottom: 56px;
}
.footer__big em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244,240,232,0.18);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
}
.footer__brand img { width: 36px; height: 36px; border-radius: 6px; }
.footer__about {
  color: rgba(244,240,232,0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
}
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: var(--bg);
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(244,240,232,0.18);
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  flex-wrap: wrap; gap: 16px;
}

/* ============================================
   Reveal helpers
   ============================================ */
.fade-up { opacity: 0; transform: translateY(40px); }

/* ============================================
   RESPONSIVE OVERRIDES
   Mobile-first refinements across all breakpoints
   ============================================ */

/* ---------- Tablet landscape (≤ 1200px) ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .section { padding: 100px 0; }
  .services__head { margin-bottom: 72px; }
  .service-row { gap: 56px; padding: 64px 0; }
}

/* ---------- Tablet portrait (≤ 1000px) ---------- */
@media (max-width: 1000px) {
  .container { padding: 0 32px; }

  /* Hero */
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero__foot { margin-top: 56px; }

  /* Services */
  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .service-row:nth-child(even) { direction: ltr; }
  .service-row__visual { aspect-ratio: 16 / 11; max-width: 100%; }
  .service-row__desc { max-width: 100%; }

  /* Testimonials */
  .testimonials__grid { gap: 16px; }
  .bubble { padding: 28px; border-radius: 24px; }
  .bubble__quote { font-size: 18px; }

  /* Projects head spacing matches container */
  .projects__head { padding: 0 32px; }
  .projects__rail { padding: 0 32px; }

  /* Clients */
  .clients__cloud {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  /* Stats */
  .stats { padding: 100px 0; }
  .stats__cell { padding: 48px 28px; }

  /* CTA */
  .cta { padding: 120px 0; }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__top > *:first-child { grid-column: 1 / -1; margin-bottom: 24px; }
}

/* ---------- Small tablet / large mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  /* Hero */
  .hero {
    padding: 120px 0 80px;
    min-height: 88vh;
  }
  .hero__title {
    font-size: clamp(54px, 14vw, 96px);
    letter-spacing: -0.05em;
  }
  .hero__foot {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
  }
  .hero__foot .actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .hero__foot .actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
  }
  .hero__foot .desc { font-size: 17px; }
  .hero__meta {
    left: 24px;
    right: 24px;
    bottom: 16px;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 10px;
  }
  .hero__meta .star,
  .hero__meta span:nth-child(4),
  .hero__meta span:nth-child(6) { display: none; } /* hide separators on mobile */

  /* Strip marquee */
  .strip { padding: 18px 0; }
  .strip__track { font-size: 32px; gap: 40px; }
  .strip__track span { gap: 40px; }
  .strip__track .dot { width: 10px; height: 10px; }

  /* Services head */
  .services__head { margin-bottom: 56px; }
  .services__head .h-section { margin-top: 24px; }
  .service-row { padding: 40px 0; gap: 28px; }
  .service-row__visual {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .service-row__label { font-size: 11px; margin-bottom: 12px; }
  .service-row__title {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.0;
    margin-bottom: 18px;
  }
  .service-row__desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .service-row__tags .tag {
    padding: 7px 12px;
    font-size: 10px;
  }

  /* Projects */
  .projects { padding: 80px 0 56px; }
  .projects__head {
    padding: 0 24px;
    margin-bottom: 40px;
    align-items: start;
    flex-direction: column;
  }
  .projects__head .right { width: 100%; }
  .projects__rail { padding: 0 24px; }
  .projects__track { gap: 16px; }
  .project-card { width: 280px; }
  .project-card__poster { border-radius: 16px; margin-bottom: 12px; }
  .project-card__title { font-size: 22px; }
  .poster__glyph { font-size: clamp(48px, 14vw, 88px); }
  .poster__caption, .poster__chip {
    font-size: 9px;
    padding: 5px 10px;
  }

  /* Testimonials */
  .testimonials__head {
    margin-bottom: 40px;
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .testimonials__grid { grid-template-columns: 1fr; gap: 14px; }
  .bubble { padding: 24px; border-radius: 22px; }
  .bubble__quote { font-size: 17px; margin-bottom: 20px; }
  .bubble__quote::before { font-size: 44px; margin-right: 4px; }
  .bubble__avatar { width: 40px; height: 40px; font-size: 15px; }

  /* Clients */
  .clients { padding: 80px 0; }
  .clients__head { margin-bottom: 48px; }
  .clients__cloud {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .client { font-size: 11px; padding: 6px; }

  /* Stats */
  .stats { padding: 80px 0; }
  .stats__head { margin-bottom: 56px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__cell { padding: 40px 24px; }
  .stats__caption { font-size: 15px; margin-top: 16px; }

  /* CTA */
  .cta { padding: 100px 0; }
  .cta__title { font-size: clamp(48px, 11vw, 88px); }
  .cta__sub { font-size: 17px; margin: 28px auto 36px; }
  .cta__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  /* Footer */
  .footer { padding: 64px 0 28px; }
  .footer__big {
    font-size: clamp(64px, 18vw, 132px);
    margin-bottom: 56px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 48px;
    gap: 32px 24px;
  }
  .footer__top > *:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer__about { max-width: 100%; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
}

/* ---------- Small mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav { padding: 14px 16px; }
  .nav__brand img { width: 28px; height: 28px; }
  .nav__brand span { font-size: 15px; }

  /* Hero */
  .hero { padding: 108px 0 72px; }
  .hero__title {
    font-size: clamp(48px, 13.5vw, 76px);
    line-height: 0.92;
  }
  .hero__foot .desc { font-size: 16px; }
  .hero__foot .actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__foot .actions .btn { width: 100%; }
  .hero__meta {
    left: 20px;
    right: 20px;
    font-size: 9px;
  }

  /* Strip marquee */
  .strip__track { font-size: 26px; gap: 28px; }
  .strip__track span { gap: 28px; }

  /* Service tags scroll horizontally if too many */
  .service-row__tags {
    overflow-x: auto;
    flex-wrap: wrap;
    padding-bottom: 4px;
  }

  /* Projects */
  .project-card { width: 240px; }
  .project-card__title { font-size: 20px; }

  /* Testimonials */
  .bubble { padding: 22px; }
  .bubble__quote { font-size: 16px; }

  /* Clients */
  .clients__cloud {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .client { font-size: 10.5px; }

  /* Stats — single column for max impact */
  .stats__grid { grid-template-columns: 1fr; }
  .stats__cell {
    padding: 32px 22px;
    border-right: 0 !important;
  }
  .stats__cell:last-child { border-bottom: 0; }
  .stats__caption { font-size: 14px; }

  /* CTA */
  .cta { padding: 80px 0; }
  .cta__title { font-size: clamp(40px, 12vw, 64px); }
  .cta__sub { font-size: 16px; }
  .cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .cta__actions .btn { width: 100%; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer__big {
    font-size: clamp(56px, 17vw, 96px);
    margin-bottom: 48px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Touch-device adjustments ---------- */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms that linger on tap */
  .project-card:hover .project-card__poster { transform: none; }
  .bubble:hover { transform: none; }
  .client:hover { transform: scale(1); }
  /* Touch-target safety */
  .nav__menu a, .footer__col a, .btn {
    min-height: 44px;
  }
  .btn { padding: 14px 22px; }
  /* Reduce float animation on touch for less motion */
  .client { animation: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .strip__track, .client { animation: none !important; }
}

/* ---------- Landscape phone hero squeeze ---------- */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 1000px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero__foot { margin-top: 32px; }
  .hero__meta { display: none; }
}
