/* ============================================================
   KURO™ — editorial dark theme
   Black × Ivory × Acid Lime
   ============================================================ */
:root {
  --black: #0b0b0c;
  --black-2: #121214;
  --ivory: #f0ede6;
  --ivory-dim: #a8a49a;
  --lime: #c8f31d;
  --line: rgba(240, 237, 230, 0.14);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}
@media (pointer: fine) { body { cursor: none; } body a, body button { cursor: none; } }
::selection { background: var(--lime); color: var(--black); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; color: var(--ivory); text-transform: uppercase; }
.container { width: min(1320px, 92%); margin: 0 auto; }
.section { padding: 130px 0; position: relative; }

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%,3%); }
  40% { transform: translate(3%,-2%); }
  60% { transform: translate(-3%,-3%); }
  80% { transform: translate(2%,2%); }
}

/* custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--lime); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(200, 243, 29, 0.6);
  transition: width .25s ease, height .25s ease, background .25s ease, border .25s;
}
.cursor-ring.grow { width: 70px; height: 70px; background: rgba(200,243,29,.12); border-color: var(--lime); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10000;
}

/* meta label */
.meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 26px;
}
.meta::before { content: ""; width: 9px; height: 9px; background: var(--lime); border-radius: 50%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  mix-blend-mode: normal;
  transition: background .35s, backdrop-filter .35s;
}
.site-header.scrolled { background: rgba(11,11,12,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  transition: padding .3s;
}
.site-header.scrolled .nav-wrap { padding: 16px 0; }
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--ivory);
}
.logo sup { color: var(--lime); font-size: .7em; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links > li > a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.6,0,.2,1);
}
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links > li { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--black-2);
  border: 1px solid var(--line);
  min-width: 280px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .28s ease;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--line);
  transition: all .2s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown a::after { content: "→"; color: var(--lime); opacity: 0; transition: all .2s; }
.dropdown a:hover { color: var(--ivory); background: rgba(200,243,29,.06); padding-left: 28px; }
.dropdown a:hover::after { opacity: 1; }
.nav-cta {
  font-size: .78rem !important;
  border: 1px solid var(--ivory);
  border-radius: 40px;
  padding: 10px 24px !important;
  transition: background .3s, color .3s, border-color .3s !important;
}
.nav-cta:hover { background: var(--lime); color: var(--black) !important; border-color: var(--lime); }
.nav-cta::after { content: none !important; }
.hamburger { display: none; background: none; border: none; z-index: 110; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--ivory); margin: 6px 0; transition: .3s; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 160px 0 40px;
}
.hero h1 {
  font-size: clamp(3.2rem, 10.5vw, 10rem);
  line-height: .95;
}
.hero h1 .row { display: block; overflow: hidden; }
.hero h1 .line {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp 1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero h1 .row:nth-child(2) .line { animation-delay: .12s; }
.hero h1 .row:nth-child(3) .line { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ivory);
}
.lime { color: var(--lime); }
.hero-side {
  max-width: 300px;
  font-size: .95rem;
  color: var(--ivory-dim);
  padding-bottom: 14px;
}
.hero-side .btn { margin-top: 22px; }

/* word reel */
.reel-line {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  color: var(--ivory-dim);
  padding: 10px 0 50px;
}
.reel {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
}
.reel ul { animation: reel 8s cubic-bezier(.7,0,.2,1) infinite; }
.reel li { height: 1.15em; line-height: 1.15em; color: var(--lime); }
@keyframes reel {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.15em); }
  50%, 70% { transform: translateY(-2.3em); }
  75%, 95% { transform: translateY(-3.45em); }
  100% { transform: translateY(-4.6em); }
}

/* giant scrolling marquee */
.giant-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--black);
}
.giant-marquee .track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.giant-marquee span {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.1;
  padding: 0 28px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240,237,230,.5);
  transition: color .3s;
}
.giant-marquee span.fill { color: var(--lime); -webkit-text-stroke: 0; }
.giant-marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service index rows ---------- */
.srows { border-top: 1px solid var(--line); }
.srow {
  display: grid;
  grid-template-columns: 90px 1fr auto 60px;
  align-items: center;
  gap: 30px;
  padding: 44px 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s ease, padding .35s ease;
}
.srow .num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--ivory-dim);
  transition: color .3s;
}
.srow h3 {
  font-size: clamp(1.6rem, 4.4vw, 3.4rem);
  transition: color .3s, transform .35s ease;
}
.srow .tag {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-align: right;
  transition: color .3s;
}
.srow .arrow {
  font-size: 1.8rem;
  color: var(--ivory-dim);
  transform: rotate(-45deg);
  transition: transform .35s ease, color .3s;
}
.srow:hover { background: var(--lime); padding-left: 34px; }
.srow:hover .num, .srow:hover .tag { color: rgba(11,11,12,.6); }
.srow:hover h3 { color: var(--black); }
.srow:hover .arrow { color: var(--black); transform: rotate(0); }

/* floating image preview */
#rowPreview {
  position: fixed;
  width: 300px; height: 210px;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(.85) rotate(-3deg);
  transition: opacity .25s ease, transform .25s ease;
  border: 1px solid var(--line);
}
#rowPreview.show { opacity: 1; transform: scale(1) rotate(-3deg); }
#rowPreview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.duo { position: relative; overflow: hidden; }
.duo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  transition: filter .6s ease, transform .8s ease;
}
.duo:hover img { filter: grayscale(0); transform: scale(1.04); }
.duo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform .9s cubic-bezier(.7,0,.2,1);
}
.duo.visible::after { transform: scaleY(0); }
.split p { color: var(--ivory-dim); font-size: 1.05rem; }
.split h2, .h-lg { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 24px; }

/* checklist editorial */
ul.checks { margin-top: 30px; border-top: 1px solid var(--line); }
ul.checks li {
  padding: 16px 0 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: padding .3s;
}
ul.checks li::before { content: "→"; color: var(--lime); font-weight: 700; }
ul.checks li:hover { padding-left: 14px; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stats-grid > div {
  padding: 60px 30px;
  border-right: 1px solid var(--line);
  text-align: left;
  transition: background .3s;
}
.stats-grid > div:last-child { border-right: none; }
.stats-grid > div:hover { background: rgba(200,243,29,.05); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
}
.stat-num .plus { color: var(--lime); }
.stat-label { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 60px;
  border: 1px solid var(--ivory);
  color: var(--ivory);
  background: transparent;
  transition: background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn::after { content: "→"; transition: transform .3s; }
.btn:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }
.btn:hover::after { transform: translateX(6px); }
.btn-solid { background: var(--lime); color: var(--black); border-color: var(--lime); }
.btn-solid:hover { background: var(--ivory); border-color: var(--ivory); }

/* ---------- Steps (editorial numbered) ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--line); margin-top: 40px; }
.step {
  display: grid;
  grid-template-columns: 120px 260px 1fr;
  gap: 30px;
  padding: 38px 6px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background .3s, padding .3s;
}
.step:hover { background: rgba(200,243,29,.05); padding-left: 18px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--lime);
}
.step h3 { font-size: 1.15rem; letter-spacing: .04em; }
.step p { color: var(--ivory-dim); font-size: .95rem; }

/* ---------- Page hero ---------- */
.page-hero { padding: 210px 0 70px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 8rem); line-height: .95; }
.page-hero h1 .row { display: block; overflow: hidden; }
.page-hero h1 .line { display: inline-block; transform: translateY(115%); animation: lineUp 1s cubic-bezier(.2,.8,.2,1) forwards; }
.page-hero h1 .row:nth-child(2) .line { animation-delay: .12s; }
.page-hero .sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.page-hero .sub p { color: var(--ivory-dim); max-width: 560px; }
.breadcrumb { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim); white-space: nowrap; }
.breadcrumb a { color: var(--lime); }

/* ---------- Feature blocks ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 70px 0; }
.feature-row:nth-child(even) .duo { order: 2; }

/* ---------- Big CTA footer link ---------- */
.mega-cta { padding: 120px 0 90px; text-align: left; }
.mega-cta a.mega {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: .95;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--ivory);
  transition: color .4s ease, -webkit-text-stroke .4s ease;
}
.mega-cta a.mega:hover { color: var(--lime); -webkit-text-stroke: 2px var(--lime); }
.mega-cta .meta { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 70px; }
.site-footer h5 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 24px;
}
.site-footer p { color: var(--ivory-dim); font-size: .95rem; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a {
  font-size: .95rem;
  color: var(--ivory);
  position: relative;
  transition: color .25s, padding-left .25s;
}
.site-footer ul a:hover { color: var(--lime); padding-left: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row:nth-child(even) .duo { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-top { flex-direction: column; align-items: flex-start; }
  .srow { grid-template-columns: 50px 1fr 40px; }
  .srow .tag { display: none; }
  .step { grid-template-columns: 60px 1fr; }
  .step p { grid-column: 2; }
  #rowPreview { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: var(--black-2);
    width: min(340px, 85vw);
    height: 100vh;
    padding: 100px 36px 40px;
    gap: 26px;
    align-items: flex-start;
    border-left: 1px solid var(--line);
    transition: right .4s cubic-bezier(.7,0,.2,1);
    z-index: 105;
  }
  .nav-links.open { right: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; background: transparent; padding-left: 14px; min-width: 0; }
  .hamburger { display: block; }
  .section { padding: 80px 0; }
  .stats-grid > div { border-right: none; border-bottom: 1px solid var(--line); }
}
