/* ═══════════════════════════════════════════════
   RACER CREATIVE — style.css
   Dark modern · Soft violet · Cormorant Garamond + Figtree
   ═══════════════════════════════════════════════ */

:root {
  /* Violet/purple palette */
  --pu: #9d7ff4;
  --pu-bright: #b399ff;
  --pu-rich: #7c5cf6;
  --pu-deep: #6b46f0;
  --pu-dim: rgba(157, 127, 244, 0.09);
  --pu-border: rgba(157, 127, 244, 0.2);
  --pu-glow: rgba(124, 92, 246, 0.18);
  --bg: #080712;
  --s1: #0f0d1c;
  --s2: #151228;
  --s3: #1c1933;
  --s4: #24213e;
  --white: #fff;
  --muted: rgba(237, 233, 255, 0.589);
  --faint: rgba(237, 233, 255, 0.2);
  --border: rgba(237, 233, 255, 0.07);
  --bord2: rgba(237, 233, 255, 0.12);
  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body:
    "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --max: 1300px;
  --pad: clamp(20px, 5vw, 72px);
  --r: 8px;
  --r-sm: 5px;
  --nav-h: 64px;
  --ease: 0.22s ease;
  --shadow-pu: 0 8px 32px rgba(124, 92, 246, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-padding-top: var(--nav-h);
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  font-family: var(--ff-body);
  border: none;
  background: none;
}
::selection {
  background: var(--pu);
  color: #fff;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--s1);
}
::-webkit-scrollbar-thumb {
  background: var(--pu);
  border-radius: 4px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 85% 85% at 50% 40%,
    transparent 25%,
    black 75%
  );
  mask-image: radial-gradient(
    ellipse 85% 85% at 50% 40%,
    transparent 25%,
    black 75%
  );
}

/* grid glow */

.grid-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;

  -webkit-mask-image: radial-gradient(
    ellipse 85% 85% at 50% 40%,
    transparent 25%,
    black 75%
  );
  mask-image: radial-gradient(
    ellipse 85% 85% at 50% 40%,
    transparent 25%,
    black 75%
  );
}

/* vertical line holder */
.grid-glow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
}

/* horizontal line holder */
.grid-glow-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
}

/* vertical glow */
.grid-glow-segment {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: var(--glow-length, 60px);
  will-change: transform, opacity;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.9) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.9) 55%,
    transparent 100%
  );

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.35);

  animation:
    gridGlowMove var(--duration) linear forwards,
    gridGlowFade var(--duration) linear forwards;
}

.grid-glow-segment-h {
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: var(--glow-length, 60px);
  will-change: transform, opacity;

  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.9) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.9) 55%,
    transparent 100%
  );

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.35);

  animation:
    gridGlowMoveH var(--duration) linear forwards,
    gridGlowFadeH var(--duration) linear forwards;
}

@keyframes gridGlowMove {
  from {
    transform: translate(-50%, -40px);
  }
  to {
    transform: translate(-50%, calc(100vh + 40px));
  }
}

@keyframes gridGlowMoveH {
  from {
    transform: translate(-80px, -50%);
  }
  to {
    transform: translate(calc(100vw + 80px), -50%);
  }
}

@keyframes gridGlowFade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: var(--opacity, 0.8);
  }
  85% {
    opacity: var(--opacity, 0.8);
  }
  100% {
    opacity: 0;
  }
}

@keyframes gridGlowFadeH {
  0% {
    opacity: 0;
  }
  15% {
    opacity: var(--opacity, 0.55);
  }
  85% {
    opacity: var(--opacity, 0.55);
  }
  100% {
    opacity: 0;
  }
}

/* Section decorative graphics */
.section-graphic {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.section-graphic--standard {
  width: min(480px, 55vw);
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
.section-graphic--work {
  width: min(420px, 45vw);
  right: 50px;
  bottom: -20px;
  opacity: 0.9;
}

/* Reveal — section wrapper hidden to prevent FOUC; children animate individually */
.reveal {
  opacity: 0;
}
.reveal.visible {
  opacity: 1;
}

/* Hero animations */
.line-wrap {
  display: block;
  overflow: hidden;
}
.anim-line {
  display: block;
  transform: translateY(105%);
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.line-wrap:nth-child(2) .anim-line {
  animation-delay: 0.12s;
}
.anim-fade {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s forwards;
}
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Buttons */
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: var(--pu-rich);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: var(--r);
  border: 1px solid transparent;

  transition:
    background var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;

  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 250deg,
    rgba(190, 160, 255, 0.5) 275deg,
    rgba(255, 255, 255, 0.95) 292deg,
    rgba(190, 160, 255, 0.45) 310deg,
    transparent 335deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  animation: cta-border-spin 4.8s linear infinite;
}

.btn-primary:hover {
  background: var(--pu-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pu);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--r);
  border: 1px solid var(--bord2);
  transition: all var(--ease);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--pu-border);
  background: var(--pu-dim);
}

/* Section helpers */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}
.section-tag {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pu);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--pu);
  font-weight: 300;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
}
.section-header {
  margin-bottom: 52px;
}

/* Logo */
.logo-racer {
  color: var(--pu);
}
.logo-creative {
  color: var(--white);
}

/* NAV */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8, 7, 18, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--ease);
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: var(--pu-rich);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  border: 1px solid transparent;

  transition:
    background var(--ease),
    box-shadow var(--ease);
}

.nav-links a.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 0.75px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;

  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 250deg,
    rgba(190, 160, 255, 0.5) 275deg,
    rgba(255, 255, 255, 0.75) 292deg,
    rgba(190, 160, 255, 0.45) 310deg,
    transparent 335deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  animation: cta-border-spin 4.8s linear infinite;
}

.nav-links a.nav-cta:hover {
  background: var(--pu-deep);
  box-shadow: var(--shadow-pu);
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes cta-border-spin {
  to {
    --angle: 360deg;
  }
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--ease);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px var(--pad);
  border-top: 1px solid var(--border);
  background: var(--s1);
}
.mob-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.mob-link:hover {
  color: var(--white);
}
.mob-cta {
  color: var(--pu);
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
#heroBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

#hero::before {                                                                                                                
  content: '';                                                                                                                 
  position: absolute;                                                                                                          
  inset: 0;                                                                                                                    
  background: rgba(8, 7, 18, 0.5);                                                                                             
  z-index: 1;                                                                                                                  
  pointer-events: none;                                                                                                        
}   

.hero-graphic {
  position: fixed;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: min(600px, 58vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 72px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  width: 100%;
  z-index: 2; 
}
.hero-content {
  position: relative;
}
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(60px, 9vw, 122px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic;
  color: var(--pu);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--bord2);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  width: fit-content;
}
.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: gpulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes gpulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.65);
  }
}
.eyebrow-div {
  color: var(--pu);
  opacity: 0.4;
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hstat {
  padding: 0 34px;
}
.hstat:first-child {
  padding-left: 0;
}
.hstat-n {
  display: block;
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.hstat-l {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.hstat-div {
  width: 1px;
  height: 32px;
  background: var(--bord2);
  flex-shrink: 0;
}
.hero-card {
  background: var(--s2);
  border: 1px solid var(--pu-border);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  top: -8%;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pu-bright), transparent);
}
.hcard-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pu);
  margin-bottom: 18px;
}
.hcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.hcard-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--white);
  line-height: 1.4;
}
.ic {
  color: var(--pu);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}
.hcard-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  padding: 14px;
  background: var(--pu-dim);
  border-radius: var(--r-sm);
  border: 1px solid var(--pu-border);
}

/* CLIENT STRIP */
.client-strip {
  position: relative;
  z-index: 1;
  background: var(--s1, #fff);
  border-top: 1px solid var(--border, #e5e5e5);
  border-bottom: 1px solid var(--border, #e5e5e5);
  padding: 0;
  overflow: hidden;
}

.cs-inner {
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 var(--pad, 24px);
  max-width: var(--max, 1200px);
  margin: 0 auto;
}

.cs-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pu, #6b4eff);
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-track {
  overflow: hidden;
  flex: 1;
  min-width: 0;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.cs-marquee {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}

.cs-list {
  display: flex;
  align-items: center;
  gap: 68px;
  padding-right: 48px;
  white-space: nowrap;
  flex-shrink: 0;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #666);
  opacity: 70%;
}

.cs-list span {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cs-list img {
  display: block;
  height: 90px;
  width: auto;
  max-width: none;
}

.cs-track:hover .cs-marquee,
.cs-track:focus-within .cs-marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* SERVICES */
#services {
  padding: 112px 0;
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  overflow: hidden;
}
.svc-card {
  background: var(--s1);
  padding: 32px 28px;
  transition: background var(--ease);
  position: relative;
}
.svc-card:hover {
  background: var(--s2);
}
.svc-card:hover .svc-num {
  color: var(--pu);
}
.svc-card--wide {
  grid-column: span 2;
}
.svc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pu);
  background: var(--pu-dim);
  border: 1px solid var(--pu-border);
  padding: 3px 9px;
  border-radius: 99px;
}
.svc-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 14px;
  transition: color var(--ease);
}
.svc-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.svc-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.svc-tags span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--s3);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 3px;
}

/* STANDARD */
#standard {
  padding: 112px 0;
  position: relative;
  z-index: 1;
  background: var(--s1);
  overflow: hidden;
}
#standard::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(124, 92, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.standard-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.standard-headline {
  font-family: var(--ff-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-top: 14px;
}
.standard-headline em {
  font-style: italic;
  color: var(--pu);
}
.standard-body-col p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.standard-pills {
  display: flex;
  gap: 42px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.sp-n {
  display: block;
  font-family: var(--ff-display);
  font-size: 46px;
  font-weight: 300;
  color: var(--pu);
  line-height: 1;
}
.sp-l {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}

/* WORK */
#work {
  padding: 112px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.work-card {
  background: var(--s1);
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    background var(--ease),
    border-color var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.work-card:hover {
  background: var(--s2);
  border-color: var(--pu-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 92, 246, 0.15);
}
.work-card--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.work-card--feature .wc-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 280px;
}
.wc-img {
  aspect-ratio: 16/9;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.wc-img::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--pu);
  z-index: 2;
}
.wc-img--signage {
  background-image: url("img/parkview-bidadari-interpretive-signage-1.webp");
  background-size: cover;
  background-position: center;
}
.wc-img--singtel {
  background-image: url("img/singtel-infographics-cover.webp");
  background-size: cover;
  background-position: center;
}
.wc-img-label {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(8, 7, 18, 0.55);
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.wc-img--video {
  padding: 0;
  min-height: 200px;
}
.wc-img--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}
.wc-client {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pu);
  margin-bottom: 8px;
}
.wc-body h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}
.wc-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.wc-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.wc-tags span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--s2);
}
.wc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pu);
  margin-top: auto;
  padding-top: 40px;
  transition:
    gap var(--ease),
    opacity var(--ease);
  position: relative;
  z-index: 3;
}
.wc-link:hover {
  gap: 10px;
  opacity: 0.7;
}
.wc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.work-more {
  text-align: center;
}

/* TESTIMONIALS */
#testimonials {
  padding: 112px 0;
  background: var(--s1);
  position: relative;
  z-index: 1;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 48px;
}
.testi-card {
  background: var(--s2);
  padding: 30px 26px;
  transition: background var(--ease);
}
.testi-card:hover {
  background: var(--s3);
}
.testi-card--lg {
  grid-column: span 2;
  background: var(--s3);
}
.tq {
  font-family: var(--ff-display);
  font-size: 60px;
  line-height: 0.7;
  color: var(--pu);
  opacity: 0.35;
  margin-bottom: 16px;
}
.testi-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.testi-card--lg p {
  font-size: 15px;
  color: var(--white);
}
.ta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ta-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.ta-role {
  font-size: 12px;
  color: var(--muted);
}

/* PROCESS */
#process {
  padding: 112px 0;
  position: relative;
  z-index: 1;
}
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 36px;
}
.pstep {
  flex: 1;
  background: var(--s1);
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.pstep-arrow {
  padding: 0 14px;
  color: var(--pu);
  font-size: 20px;
  opacity: 0.4;
  align-self: center;
  flex-shrink: 0;
}
.pstep-n {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--pu);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
}
.pstep h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
}
.pstep p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.process-note {
  background: var(--s2);
  border: 1px solid var(--pu-border);
  border-radius: var(--r);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.65;
}
.pn-icon {
  color: var(--pu);
  font-size: 14px;
  flex-shrink: 0;
}
.process-note strong {
  color: var(--white);
  font-weight: 600;
}

/* ABOUT */
#about {
  padding: 112px 0;
  background: var(--s1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-tag {
  margin-bottom: 20px;
}
.about-photo {
  aspect-ratio: 3/4;
  background: var(--s2);
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.about-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pu-bright), transparent);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-awards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.award {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.award-icon {
  font-size: 14px;
  margin-top: -2px;
  flex-shrink: 0;
}
.award-n {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1px;
}
.award-d {
  font-size: 11.5px;
  color: var(--muted);
}
.about-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 28px;
}
.about-title em {
  font-style: italic;
  color: var(--pu);
}
.about-right p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-detail {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ad-item {
  display: flex;
  gap: 20px;
}
.ad-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pu);
  min-width: 100px;
  padding-top: 1px;
}
.ad-v {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.ad-v a:hover {
  color: var(--pu);
}

/* CONTACT */
#contact {
  padding: 112px 0;
  position: relative;
  z-index: 1;
}
.contact-head {
  margin-bottom: 52px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 52px;
  align-items: start;
}
.cform {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
fieldset {
  border: none;
  padding: 0;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fg label,
fieldset legend {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fg input,
.fg select,
.fg textarea {
  background: var(--s2);
  border: 1px solid var(--bord2);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  padding: 11px 14px;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
  -webkit-appearance: none;
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--faint);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--pu-border);
  box-shadow: 0 0 0 3px rgba(157, 127, 244, 0.08);
}
.fg select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239D7FF4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.fg select option {
  background: var(--s2);
}
.fg textarea {
  resize: vertical;
  min-height: 110px;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 3px 0;
}
.rl {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  transition: color var(--ease);
}
.rl:hover {
  color: var(--white);
}
.rl input[type="radio"] {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--bord2);
  border-radius: 50%;
  background: var(--s2);
  flex-shrink: 0;
  transition: all var(--ease);
  cursor: pointer;
  padding: 0;
}
.rl input[type="radio"]:checked {
  background: var(--pu-rich);
  border-color: var(--pu-rich);
  box-shadow: 0 0 0 3px var(--pu-dim);
}
.form-notice {
  background: var(--s2);
  border: 1px solid var(--pu-border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.form-notice strong {
  color: var(--white);
  font-weight: 600;
}
.btn-submit {
  font-size: 14px;
  padding: 14px 32px;
  align-self: flex-start;
}
.contact-aside {
  border: 1px solid var(--bord2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--s1);
}
.ca-block {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.ca-block:last-child {
  border-bottom: none;
}
.ca-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pu);
  margin-bottom: 5px;
}
.ca-val {
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}
.ca-note {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
  line-height: 1.5;
}

/* Form notifications */
.form-success,
.form-alert {
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
  animation: fadeUp 0.3s ease;
}
.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-left: 3px solid #22c55e;
  color: #e0f5e9;
}
.form-alert {
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-left: 3px solid #cc0000;
  color: #ffd0d0;
}

/* FOOTER */
#footer {
  background: var(--s1);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.fc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pu);
  margin-bottom: 4px;
}
.fc a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--ease);
}
.fc a:hover {
  color: var(--white);
}
.fc-note {
  font-size: 12px;
  color: var(--faint);
  font-style: italic;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.05em;
}
.dud {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
  .standard-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
  .about-awards {
    margin-top: 24px;
  }
}

@media (max-width: 960px) {
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-card--lg {
    grid-column: span 2;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .svc-card--wide {
    grid-column: span 1;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card--feature {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }
  .work-card--feature .wc-img {
    height: auto;
    aspect-ratio: 16/9;
    min-height: unset;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-left {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 12px 20px;
    align-items: start;
  }
  .about-left .section-tag {
    grid-column: span 2;
  }
  .about-photo {
    height: 320px;
    width: 100%;
    grid-row: 2;
    margin: 0;
  }
  .about-awards {
    grid-row: 2;
    align-self: start;
    padding-top: 0;
    margin-top: 0;
    justify-self: end;
    text-align: left;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .testi-card--lg {
    grid-column: span 1;
  }
  .process-steps {
    flex-direction: column;
    gap: 8px;
  }
  .pstep-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-mobile.open {
    display: flex;
  }

  .cs-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
  }
  .standard-pills {
    flex-direction: column;
    gap: 16px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width:400px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .hstat-div {
    display: none;
  }
  .hstat {
    padding: 0;
  }
}