:root {
  --ink: #07060c;
  --ink-2: #100e18;
  --fog: #f3f0f7;
  --muted: #a89bb8;
  --line: rgba(255, 255, 255, 0.12);
  --magenta: #e91e8c;
  --violet: #5b2be0;
  --blue: #046bd2;
  --grad: linear-gradient(115deg, #e91e8c 0%, #8b2fd6 48%, #046bd2 100%);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fog);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

img {
  max-width: 100%;
  display: block;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.18), transparent 68%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 40%;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(7, 6, 12, 0.75), transparent);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 6, 12, 0.82);
  backdrop-filter: blur(14px);
}

.logo-mark img {
  width: clamp(78px, 10vw, 108px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav a {
  opacity: 0.72;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav a:hover {
  opacity: 1;
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  background: var(--grad);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 10px 28px rgba(233, 30, 140, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(233, 30, 140, 0.45);
}

/* Hero — one composition, brand-first, full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(6rem, 14vh, 9rem) clamp(1.2rem, 5vw, 4.5rem) clamp(2rem, 5vh, 3.5rem);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08) brightness(0.92);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 12, 0.92) 0%, rgba(7, 6, 12, 0.55) 42%, rgba(7, 6, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 6, 12, 0.45) 0%, rgba(7, 6, 12, 0.15) 35%, rgba(7, 6, 12, 0.88) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(233, 30, 140, 0.22), transparent 50%);
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(255, 255, 255, 0.015) 3px 4px
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: scanDrift 9s linear infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 70%, black 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

@keyframes scanDrift {
  from { transform: translateY(0); }
  to { transform: translateY(24px); }
}

.hero-content {
  max-width: min(100%, 980px);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(233, 30, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0); }
}

.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9.5vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) 0.2s forwards;
}

.brand-sub {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(243, 240, 247, 0.72);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

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

.hero-lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  color: rgba(243, 240, 247, 0.84);
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.95s var(--ease) 0.75s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.95s var(--ease) 0.95s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.hero-meta {
  position: absolute;
  right: clamp(1.2rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: rise 1s var(--ease) 1.15s forwards;
}

.hero-meta span {
  position: relative;
  padding-right: 1.1rem;
}

.hero-meta span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  transform: translateY(-50%);
}

/* Shared */
.section-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
}

h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(5rem, 12vh, 8.5rem) clamp(1.2rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(91, 43, 224, 0.18), transparent 45%),
    var(--ink);
}

.about-copy p {
  color: rgba(243, 240, 247, 0.78);
  max-width: 38rem;
}

.about-quote {
  margin-top: 1.75rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.about-stack {
  position: relative;
  height: min(62vh, 560px);
  min-height: 360px;
}

.about-stack img {
  position: absolute;
  width: 68%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.7s var(--ease);
}

.about-stack img:nth-child(1) {
  top: 0;
  right: 0;
  z-index: 1;
  transform: rotate(2deg);
}

.about-stack img:nth-child(2) {
  top: 22%;
  left: 0;
  z-index: 2;
  width: 62%;
  transform: rotate(-3deg);
}

.about-stack img:nth-child(3) {
  bottom: 0;
  right: 8%;
  z-index: 3;
  width: 58%;
  transform: rotate(1.5deg);
}

.about-visual:hover .about-stack img:nth-child(1) {
  transform: rotate(0deg) translateY(-8px);
}

.about-visual:hover .about-stack img:nth-child(2) {
  transform: rotate(-1deg) translateX(-6px);
}

.about-visual:hover .about-stack img:nth-child(3) {
  transform: rotate(0deg) translateY(6px);
}

/* Services — 2×2 mosaic, all services visible */
.services {
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.2rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.services-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.services-lead {
  margin: 0;
  color: rgba(243, 240, 247, 0.72);
  max-width: 34rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  position: relative;
  display: block;
  min-height: clamp(280px, 38vh, 420px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #121018;
  transition: border-color 0.35s ease, transform 0.45s var(--ease);
}

.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: brightness(0.42) saturate(0.9);
  transition: transform 1s var(--ease), filter 0.5s ease;
  z-index: -1;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 15%, rgba(7, 6, 12, 0.88) 78%),
    linear-gradient(90deg, rgba(7, 6, 12, 0.45), transparent 60%);
  z-index: 0;
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent);
  z-index: 1;
}

.service-content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  z-index: 2;
}

.service-num {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--accent) 85%, white);
}

.service h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.service p {
  margin: 0 0 1rem;
  max-width: 30rem;
  color: rgba(243, 240, 247, 0.76);
  font-size: 0.95rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.service-cta::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.service:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, white);
  transform: translateY(-4px);
}

.service:hover img {
  transform: scale(1.14);
  filter: brightness(0.55) saturate(1.05);
}

.service:hover .service-cta::after {
  transform: translateX(5px);
}

/* Clients */
.clients {
  padding: clamp(4rem, 9vh, 6.5rem) 0;
  overflow: hidden;
  background: var(--ink);
}

.clients-head {
  padding: 0 clamp(1.2rem, 5vw, 4.5rem) 2.2rem;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track img {
  height: 88px;
  width: auto;
  min-width: 170px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 0.85rem 1.2rem;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.marquee-track img:hover {
  filter: grayscale(0) contrast(1.1);
  transform: translateY(-4px);
}

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

/* Contact */
.contact {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(233, 30, 140, 0.2), transparent 42%),
    radial-gradient(ellipse at 10% 80%, rgba(4, 107, 210, 0.16), transparent 40%),
    var(--ink-2);
}

.contact-panel {
  max-width: 1100px;
}

.contact-lead {
  max-width: 34rem;
  color: rgba(243, 240, 247, 0.75);
  margin: 0 0 2.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-item {
  display: block;
  padding: 1.4rem 1.5rem;
  background: rgba(7, 6, 12, 0.72);
  transition: background 0.3s ease;
}

.contact-item:hover {
  background: rgba(233, 30, 140, 0.1);
}

.contact-item span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-item.address {
  grid-column: 1 / -1;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.2rem, 5vw, 4.5rem) 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer img {
  width: 84px;
  height: auto;
  opacity: 0.9;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .about-stack {
    height: 420px;
  }

  .hero-meta {
    display: none;
  }

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

  .service {
    min-height: 260px;
  }

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

  .contact-item.address {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .brand-title {
    white-space: normal;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.02;
  }

  .brand-sub {
    letter-spacing: 0.28em;
  }

  .service h3 {
    max-width: none;
  }

  .marquee-track img {
    height: 72px;
    min-width: 140px;
  }

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

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

  .hero-photo {
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
