/* ============================================================
   OLGA VISION — "Vision Field" design system
   Dark premium · Clash Display + Satoshi · cyan→violet accent
   ============================================================ */

:root {
  --bg: #060609;
  --bg-2: #0b0b11;
  --ink: #f2f1ec;
  --muted: #97959f;
  --line: rgba(242, 241, 236, 0.09);
  --accent-1: #4ddbff;
  --accent-2: #7c5cff;
  --grad: linear-gradient(100deg, var(--accent-1), var(--accent-2));
  --font-display: "Clash Display", "Satoshi", sans-serif;
  --font-body: "Satoshi", -apple-system, sans-serif;
  --nav-h: 84px;
  --pad-x: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent-2); color: #fff; }

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- utility text ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- iris logo mark ---------- */
.iris-mark {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background:
    radial-gradient(circle at center, var(--accent-1) 0 28%, transparent 30%) padding-box,
    var(--grad) border-box;
  display: inline-block;
  flex: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.preloader-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.preloader-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   CURSOR + GRAIN
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent-1);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(242, 241, 236, 0.35);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--accent-1);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 4%); }
  40% { transform: translate(4%, -3%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 9, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.2s ease;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }

.btn-primary { background: var(--ink); color: #0a0a0e; }
.btn-primary:hover { color: #fff; }

.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { color: #fff; border-color: transparent; }

.btn-nav { padding: 11px 24px; font-size: 14px; background: var(--ink); color: #0a0a0e; }
.btn-nav:hover { color: #fff; }

.btn-mega {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 26px);
  padding: 26px 56px;
  background: var(--ink);
  color: #0a0a0e;
}
.btn-mega:hover { color: #fff; }
.btn-arrow { transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.btn-mega:hover .btn-arrow { transform: translateX(8px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 0;
  overflow: hidden;
}

#visionCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}
.aurora-1 {
  width: 55vw; height: 55vw;
  top: -22vw; right: -16vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.32), transparent 65%);
}
.aurora-2 {
  width: 44vw; height: 44vw;
  bottom: -20vw; left: -14vw;
  background: radial-gradient(circle, rgba(77, 219, 255, 0.18), transparent 65%);
}
.aurora-3 {
  width: 60vw; height: 60vw;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.hero-eyebrow { margin-bottom: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hline {
  display: block;
  overflow: hidden;
  padding-block: 0.06em;
}
.hline-in {
  display: inline-block;
  will-change: transform;
}
.accent-line em {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.hero-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 44px; height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform: translateX(-100%);
  animation: scrollLine 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: clamp(110px, 14vw, 200px) var(--pad-x);
  position: relative;
}
.section-head { max-width: 1020px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.section-sub {
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}
.section-sub strong { color: var(--ink); }

/* ============================================================
   ABOUT
   ============================================================ */
.statement {
  margin-top: 36px;
  max-width: 1080px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.statement .w { opacity: 0.12; display: inline; }

.about-grid {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.about-card {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  position: relative;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--grad);
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.about-card:hover::before { width: 100%; }
.about-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-1);
}
.about-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin: 14px 0 12px;
}
.about-card p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  text-align: center;
}
.phil-lines {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
}
.phil-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  color: var(--ink);
}
.phil-line.strike { color: var(--muted); }
.phil-line.strike::after {
  content: "";
  position: absolute;
  left: 0; top: 54%;
  width: 100%; height: 0.07em;
  background: var(--grad);
  transform: scaleX(var(--sx, 0));
  transform-origin: left;
}
.phil-answer {
  margin-top: clamp(10px, 2vw, 24px);
  font-size: clamp(36px, 6.4vw, 86px);
}
.phil-answer em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   SERVICES (pinned horizontal)
   ============================================================ */
.services { position: relative; }
.services-pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 8px) 0 48px;
  overflow: hidden;
}
.services-head {
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(40px, 5vh, 72px);
}
.services-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.drag-hint {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.services-track {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  padding: 0 var(--pad-x);
  width: max-content;
  will-change: transform;
}
.service-card {
  width: min(480px, 82vw);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(160deg, rgba(242, 241, 236, 0.035), rgba(242, 241, 236, 0.008));
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: rgba(124, 92, 255, 0.55);
  transform: translateY(-8px);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.08), rgba(77, 219, 255, 0.03));
}
.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.01em;
  margin: 18px 0 6px;
}
.service-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 16px;
}
.service-card > p:not(.service-tagline) {
  color: var(--muted);
  font-size: 15.5px;
  flex: 1;
}
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.service-tags li {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
}

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes { background: var(--bg-2); border-block: 1px solid var(--line); }
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}
.outcomes-left { position: sticky; top: calc(var(--nav-h) + 40px); }
.outcomes-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.outcomes-right {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 44px);
  padding-top: 8px;
}
.outcome {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  border-left: 2px solid transparent;
  border-image: var(--grad) 1;
  border-image-slice: 0 0 0 1;
  padding-left: clamp(18px, 2vw, 28px);
}
.outcome-if { color: var(--muted); display: block; font-size: 0.72em; margin-bottom: 4px; }
.outcome-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
}
.outcome-note strong { color: var(--ink); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { padding-bottom: clamp(80px, 9vw, 140px); }
.chips-marquee {
  margin-top: clamp(56px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  /* full-bleed */
  margin-left: calc(-1 * var(--pad-x));
  margin-right: calc(-1 * var(--pad-x));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.chips-row {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.chips-row-reverse { animation-direction: reverse; }
.chips-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 19px);
  white-space: nowrap;
  padding: 16px 30px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.chip:hover {
  color: var(--ink);
  border-color: rgba(124, 92, 255, 0.6);
  background: rgba(124, 92, 255, 0.1);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: clamp(130px, 16vw, 240px) var(--pad-x);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta > :not(.aurora) { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7.4vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 26px;
}
.cta-sub {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad-x) 36px;
  background: var(--bg-2);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer-motto { font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcomes-left { position: static; }
  .services-pin { min-height: 0; padding-top: 0; }
  .services-track {
    width: auto;
    flex-direction: column;
    padding: 0 var(--pad-x);
  }
  .service-card { width: 100%; }
  .drag-hint { display: none; }
  .hero-foot .hero-meta:last-child { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .chips-row, .scroll-line::after, .grain, .pulse-dot {
    animation: none !important;
  }
  * { transition-duration: 0.01ms !important; }
}
