/* =========================================================
   TOP MURALS — futuristic / holographic / globby
   ========================================================= */

:root {
  --bg: #07060c;
  --bg-2: #0d0b18;
  --ink: #ffffff;
  --muted: #9d99b3;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.18);
  --iri-1: #ff5cf2;   /* hot pink */
  --iri-2: #a855f7;   /* purple */
  --iri-3: #22d3ee;   /* cyan */
  --iri-4: #84ff9b;   /* mint */
  --iri-5: #ffe066;   /* gold */
  --display: "Bagel Fat One", "Mochiy Pop One", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  --section-pad: clamp(80px, 10vw, 160px);
}

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

/* Visually hidden, available to screen readers and search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.45;
  position: relative;
}

/* Subtle starfield / haze on the page bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(168,85,247,0.18), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(34,211,238,0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(255,92,242,0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

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

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

/* =========================================================
   IRIDESCENT TEXT
   ========================================================= */
.iri,
.display,
.display-1,
.display-2 span.shine {
  background: linear-gradient(
    100deg,
    var(--iri-1) 0%,
    var(--iri-2) 22%,
    var(--iri-3) 44%,
    var(--iri-4) 66%,
    var(--iri-5) 88%,
    var(--iri-1) 110%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 14s linear infinite;
}

@keyframes iri-pan {
  to { background-position: 220% 0; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  background: rgba(10,8,20,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: min(960px, calc(100% - 24px));
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
/* Mega menu */
.mega-wrap { position: relative; margin-left: auto; }
.mega-wrap::after {
  /* Invisible hover bridge between trigger and panel so hover doesn't break */
  content: "";
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 18px;
  display: block;
}

.menu-trigger {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.menu-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-2);
}
.menu-trigger svg { transition: transform 0.22s cubic-bezier(.2,.9,.2,1); }
.mega-wrap:hover .menu-trigger svg,
.mega-wrap:focus-within .menu-trigger svg { transform: rotate(180deg); }

.nav-mega {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: clamp(560px, 80vw, 920px);
  padding: 28px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.24s cubic-bezier(.2,.9,.2,1), transform 0.24s cubic-bezier(.2,.9,.2,1);
  box-shadow: 0 40px 100px -20px rgba(168, 85, 247, 0.5),
              0 0 60px -20px rgba(34, 211, 238, 0.4);
}
/* Iridescent gradient border + inner dark fill */
.nav-mega::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-2) 25%, var(--iri-3) 50%, var(--iri-4) 75%, var(--iri-5));
  background-size: 220% 220%;
  z-index: -2;
  animation: iri-pan 10s linear infinite;
}
.nav-mega::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: rgba(10, 8, 20, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: -1;
}

.mega-wrap:hover .nav-mega,
.mega-wrap:focus-within .nav-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 8s linear infinite;
}
.mega-col a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s, transform 0.15s;
  text-decoration: none;
}
.mega-col a:hover {
  color: var(--ink);
  transform: translateX(3px);
}
.nav-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  color: #08070d !important;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 200% 100%;
  animation: iri-pan 8s linear infinite;
}

@media (max-width: 760px) {
  .mega-wrap { display: none; }
  .nav .nav-cta { display: none; }
}

/* =========================================================
   MOBILE BURGER + MENU
   ========================================================= */
.burger {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background 0.18s;
}
.burger:hover { background: rgba(255,255,255,0.10); }
.burger span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 760px) {
  .burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(7, 6, 12, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu .mm-section { margin-bottom: 28px; }
.mobile-menu .mm-section h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 8s linear infinite;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

.mobile-menu .mm-cta {
  margin-top: 16px;
  padding: 18px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 200% 100%;
  animation: iri-pan 8s linear infinite;
  color: #08070d;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: 160px 6vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin-bottom: 36px;
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--iri-4);
  box-shadow: 0 0 12px var(--iri-4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.display {
  font-family: var(--display);
  font-size: clamp(48px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.display span { display: block; }
.display span:nth-child(2) {
  background: linear-gradient(100deg, var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-4), var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 14s linear infinite;
}

.lead {
  max-width: 600px;
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #08070d;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 200% 100%;
  animation: iri-pan 8s linear infinite;
  box-shadow: 0 12px 40px -12px rgba(255,92,242,0.5);
}
.btn-primary:hover { box-shadow: 0 18px 48px -12px rgba(34,211,238,0.65); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.04); }
.btn.big { padding: 18px 30px; font-size: 17px; }

.hero-meta {
  position: relative;
  z-index: 4;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1;
}
.hero-meta span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   FLOATING CUTOUTS (parallax)
   ========================================================= */
.float {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(255,92,242,0.25))
          drop-shadow(0 8px 30px rgba(34,211,238,0.2));
  will-change: transform;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

/* Fixed top-left drip (always visible, no parallax) */
.fixed-drip {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(140px, 14vw, 220px);
  z-index: 200;
  pointer-events: none;
  filter: drop-shadow(0 12px 30px rgba(255,92,242,0.35))
          drop-shadow(0 4px 14px rgba(34,211,238,0.25));
}

/* Hero floats */
.f-can-hero { bottom: -10%; right: -4%; width: clamp(280px, 38vw, 560px); }
.f-goo-1    { top: 56%; right: 12%; width: clamp(140px, 18vw, 260px); }
.f-star     { top: 70%; left:  6%;  width: clamp(100px, 12vw, 180px); }
.f-puddle   { bottom: -3%; right: 30%; width: clamp(160px, 22vw, 320px); }

/* Work floats — anchored to viewport edges */
.f-side-can   { top: 6%;  right: var(--edge); width: clamp(160px, 20vw, 300px); }
.f-side-splat { bottom: 10%; left: var(--edge); width: clamp(180px, 22vw, 320px); }

/* Services floats — anchored to viewport edges */
.f-srv-can  { top: 4%; left: var(--edge); width: clamp(160px, 22vw, 300px); }
.f-srv-drip { bottom: 14%; right: var(--edge); width: clamp(140px, 18vw, 240px); }

/* Vision floats — anchored to viewport edges */
.f-vis-blob { top: 8%; right: calc(var(--edge) + 60px); width: clamp(120px, 16vw, 220px); }
.f-vis-can  { bottom: 10%; left: var(--edge); width: clamp(160px, 22vw, 300px); }

/* CTA floats — anchored to viewport edges */
.f-cta-splat { top: 10%; left: var(--edge); width: clamp(180px, 26vw, 360px); }
.f-cta-can   { bottom: -2%; right: var(--edge); width: clamp(200px, 28vw, 400px); }

@media (max-width: 760px) {
  .f-srv-drip,
  .f-side-splat,
  .f-side-can,
  .f-puddle,
  .f-star,
  .f-cta-splat,
  .f-srv-can { display: none; }
  .f-vis-blob {
    top: 4%;
    right: 4%;
    width: clamp(100px, 26vw, 160px);
  }
  .fixed-drip { display: none; }
  .f-can-hero { width: clamp(180px, 50vw, 280px); }
  .f-goo-1 {
    top: 26%;
    right: 4%;
    width: clamp(120px, 32vw, 200px);
  }
  .f-vis-can, .f-cta-can { width: clamp(110px, 28vw, 180px); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.marquee-track {
  display: flex;
  gap: 38px;
  align-items: center;
  white-space: nowrap;
  animation: marq 38s linear infinite;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
}
.marquee-track span {
  background: linear-gradient(100deg, var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-4), var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 14s linear infinite;
}
.marquee-track .dot-sep {
  font-size: 0.4em;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  background: none;
}
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION COMMONS
   ========================================================= */
.section {
  position: relative;
  z-index: 5;
  padding: var(--section-pad) 6vw;
  max-width: 1400px;
  margin: 0 auto;
}
/* Floats inside .section anchor to the viewport edge, not the max-width edge */
.section > .float { --edge: calc((100% - 100vw) / 2); }

.section-head { max-width: 900px; margin-bottom: 64px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.display-1 {
  font-family: var(--display);
  font-size: clamp(40px, 10vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
  background: linear-gradient(100deg, var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-4), var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 14s linear infinite;
}

.display-2 {
  font-family: var(--display);
  font-size: clamp(36px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
}

/* =========================================================
   WORK GRID
   ========================================================= */
.work {
  overflow: visible;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  text-align: left;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(168,85,247,0.4);
}
.tile:hover img { transform: scale(1.06); }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .tile.wide { grid-column: span 2; }
  .tile.tall { grid-row: span 2; }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile.wide, .tile.tall { grid-row: auto; grid-column: auto; }
}

/* =========================================================
   HOLOGRAPHIC LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  background: rgba(7, 6, 12, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1);
}
.lightbox[hidden] { display: none; }
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-frame {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  border-radius: 22px;
  padding: 4px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-4), var(--iri-5));
  background-size: 220% 220%;
  animation: iri-pan 8s linear infinite, lb-pop 0.5s cubic-bezier(.2,.9,.2,1.05);
  box-shadow:
    0 40px 100px -20px rgba(168,85,247,0.55),
    0 20px 60px -15px rgba(34,211,238,0.45),
    0 0 80px -10px rgba(255,92,242,0.35);
}
.lb-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background: inherit;
  background-size: inherit;
  filter: blur(28px);
  opacity: 0.55;
  z-index: -1;
  animation: iri-pan 8s linear infinite;
}
.lb-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 8px);
  border-radius: 18px;
  object-fit: contain;
  background: var(--bg);
}

@keyframes lb-pop {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lb-close,
.lb-nav {
  position: absolute;
  border: 1px solid var(--line-2);
  background: rgba(10,8,20,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  z-index: 1001;
}
.lb-close:hover,
.lb-nav:hover {
  transform: scale(1.08);
  border-color: var(--ink);
  background: rgba(10,8,20,0.85);
}
.lb-close { top: 20px; right: 20px; font-size: 30px; }
.lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 600px) {
  .lightbox { padding: 4vh 4vw; }
  .lb-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 24px; }
  .lb-nav { width: 40px; height: 40px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* =========================================================
   SERVICES CARDS
   ========================================================= */
.services { overflow: visible; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(255,92,242,0.35);
}
.card-feature {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(168,85,247,0.18), transparent 60%),
    radial-gradient(120% 100% at 100% 100%, rgba(34,211,238,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: var(--line-2);
}
.card-img {
  width: 110px; height: 110px;
  margin: -10px 0 20px -8px;
  display: flex; align-items: center; justify-content: center;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(168,85,247,0.45));
}
.card h3 {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.card p {
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  margin-bottom: 18px;
}
.card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3));
}

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* =========================================================
   VISION
   ========================================================= */
.vision {
  overflow: visible;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line-2);
}
.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.vision-copy {
  padding-bottom: var(--section-pad);
}
.vision-copy p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  margin-top: 20px;
  max-width: 520px;
}
.vision-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.vision-art img {
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(168,85,247,0.5))
          drop-shadow(0 8px 24px rgba(34,211,238,0.3));
}
@media (max-width: 900px) {
  .vision-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.steps li {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.step-num {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.steps h3 { font-family: var(--display); font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.steps p { color: rgba(255,255,255,0.74); font-size: 14.5px; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  text-align: center;
  overflow: visible;
}
.contact-lede {
  color: rgba(255,255,255,0.74);
  font-size: 18px;
  margin: 18px auto 40px;
  max-width: 520px;
}
.form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form input,
.form select,
.form textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--iri-3);
  background: rgba(255,255,255,0.07);
}
.form button { align-self: center; margin-top: 10px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--line);
  padding: 64px 6vw 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 28px;
}
.foot-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.foot-top p { color: var(--muted); max-width: 380px; }

.foot-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h4 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.foot-col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .foot-nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .foot-nav { grid-template-columns: 1fr; }
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.foot-bottom a { color: var(--ink); }
.crafted a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.crafted a span {
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 8s linear infinite;
}
.sh-logo {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.95;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   BLOG ARTICLE STYLES
   ========================================================= */
.article-hero {
  position: relative;
  z-index: 5;
  margin: 100px auto 56px;
  max-width: 1200px;
  width: calc(100% - 12vw);
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-2) 25%, var(--iri-3) 50%, var(--iri-4) 75%, var(--iri-5));
  background-size: 220% 220%;
  animation: iri-pan 10s linear infinite;
  box-shadow:
    0 40px 100px -20px rgba(168,85,247,0.5),
    0 0 60px -20px rgba(34,211,238,0.4);
}
.article-hero img {
  display: block;
  width: 100%;
  height: clamp(280px, 50vh, 540px);
  object-fit: cover;
  border-radius: 24px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 6vw 80px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
  position: relative;
  z-index: 5;
}
.article .meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.article h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}
.article h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  margin: 56px 0 16px;
  color: var(--ink);
}
.article h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  margin: 32px 0 10px;
  color: var(--ink);
}
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 10px; }
.article a { color: var(--iri-3); font-weight: 600; }
.article a:hover { color: var(--iri-1); }
.article strong { color: var(--ink); font-weight: 600; }

.article figure {
  margin: 40px 0;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 220% 220%;
  animation: iri-pan 12s linear infinite;
  box-shadow: 0 24px 60px -20px rgba(168,85,247,0.4);
}
.article figure img {
  display: block;
  width: 100%;
  border-radius: 19px;
  max-height: 480px;
  object-fit: cover;
}
.article figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 4px 0;
  letter-spacing: 0.04em;
}

.article blockquote {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 56px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(120deg, var(--iri-1), var(--iri-3) 50%, var(--iri-5));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri-pan 10s linear infinite;
  text-align: center;
}

.post-cta {
  position: relative;
  margin: 56px 0;
  padding: 32px 28px;
  border-radius: 22px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(168,85,247,0.22), transparent 60%),
    radial-gradient(120% 100% at 100% 100%, rgba(34,211,238,0.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.post-cta h3 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.post-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}

.post-grid {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 6vw;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.post-grid figure { margin: 0; }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.related-posts {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 56px 6vw 0;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 20px;
}
.related-posts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.related-posts a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.related-posts a:hover {
  border-color: var(--line-2);
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}
