/* =====================================================================
   LT Digital Concepts — dark, purple + white, compact (v4)
   Palette
   bg      #0d0a12   near-black with violet cast
   surface #15101e   elevated surface
   purple  #9b6dff   main accent (muted, not neon)
   white   #f0ebff   slightly violet-tinted white
   dim     #6b6278   muted mid
   line    rgba(155,109,255,.14)
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

:root {
  --bg:     #0d0a12;
  --sur:    #15101e;
  --sur2:   #1d1728;
  --pur:    #9b6dff;
  --pur-d:  #6b3fd4;
  --white:  #f0ebff;
  --dim:    #6b6278;
  --line:   rgba(155,109,255,.14);
  --line2:  rgba(240,235,255,.08);

  --serif: "Instrument Serif", serif;
  --sans:  "Inter Tight", system-ui, sans-serif;
  --mono:  "JetBrains Mono", monospace;

  --ease:     cubic-bezier(.7,0,.2,1);
  --ease-out: cubic-bezier(.16,.84,.3,1);

  --pad: clamp(18px, 3.5vw, 52px);
  --mw:  1300px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
::selection { background: var(--pur); color: #0d0a12; }

/* subtle noise on bg */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 800;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' 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.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .4; mix-blend-mode: screen;
}

/* ---- Utilities ---- */
.label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.label.accent { color: var(--pur); }
.inner { max-width: var(--mw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- Cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0; width: 20px; height: 20px;
  border: 1px solid rgba(155,109,255,.6); border-radius: 999px;
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s var(--ease-out);
}
.cursor span { position: absolute; inset: 0; margin: auto; width: 3px; height: 3px; background: var(--pur); border-radius: 999px; transition: opacity .2s; }
.cursor.is-hover { width: 52px; height: 52px; background: rgba(155,109,255,.12); }
.cursor.is-hover span { opacity: 0; }
.cursor.is-down { width: 14px; height: 14px; }
@media (hover: none) { .cursor { display: none; } body { cursor: auto; } }

/* ---- Intro ---- */
.intro {
  position: fixed; inset: 0; z-index: 1100; background: var(--bg);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: end; gap: 20px; padding: 24px var(--pad);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim);
  pointer-events: none; text-transform: uppercase;
}
.intro__line { display: block; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.intro__line i { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--pur); }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 16px;
  padding: 16px var(--pad);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease);
}
.nav.is-scrolled {
  padding-top: 10px; padding-bottom: 10px;
  background: rgba(13,10,18,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: inline-flex; gap: 9px; align-items: center; color: var(--white); }
.nav__logo svg { color: var(--pur); }
.nav__links { display: flex; justify-content: center; gap: 28px; }
.nav__links a { position: relative; padding: 5px 0; color: var(--dim); transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pur); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--pur); color: #0d0a12; font-weight: 600;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.nav__cta i { font-style: normal; transition: transform .35s var(--ease); }
.nav__cta:hover { background: #b58aff; }
.nav__cta:hover i { transform: translate(3px,-3px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 18px; height: 1px; background: var(--white); display: block; }

/* ---- Section base ---- */
section { padding: clamp(64px, 9vw, 128px) 0; }
.section-label {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line2); padding-top: 12px;
  margin-bottom: clamp(28px, 3.5vw, 52px);
}
section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.5vw, 120px);
  line-height: .92; letter-spacing: -0.02em; margin: 0;
}
section h2 em { font-style: italic; color: var(--pur); }

/* ---- Hero ---- */
.hero {
  min-height: 92svh;
  padding: clamp(130px, 18vh, 200px) var(--pad) clamp(48px, 7vw, 96px);
  max-width: var(--mw); margin: 0 auto;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(24px, 4vw, 56px);
}
.hero__kicker {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line2); padding-top: 12px;
}
.dot { width: 6px; height: 6px; background: var(--pur); border-radius: 999px; display: inline-block; box-shadow: 0 0 0 4px rgba(155,109,255,.15); }
.hero__kicker .label:first-child { display: inline-flex; align-items: center; gap: 9px; }

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(58px, 12.5vw, 208px);
  line-height: .9; letter-spacing: -0.02em; margin: 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .w { display: inline-block; }
.hero__title em { font-style: italic; color: var(--pur); }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: .1em; bottom: .05em;
  height: 2px; background: var(--pur);
  transform: scaleX(0); transform-origin: left;
  animation: rule-in 1.1s var(--ease-out) 1.5s forwards;
}
.hero__title em { position: relative; }
@keyframes rule-in { to { transform: scaleX(1); } }

.hero__foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.hero__foot p { max-width: 46ch; color: rgba(240,235,255,.6); margin: 0; font-size: clamp(14px, 1.05vw, 16px); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__badges {
  display: flex; gap: clamp(14px, 2vw, 32px); flex-wrap: wrap;
  border-top: 1px solid var(--line2); padding-top: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}
.hero__badges i { font-style: normal; color: var(--pur); margin-right: 6px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--pur); color: #0d0a12; font-weight: 600;
  border: 1px solid var(--pur);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden; position: relative;
}
.btn i { font-style: normal; transition: transform .35s var(--ease); position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; background: #b58aff; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover i { transform: translate(3px,-3px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost::before { background: var(--sur2); }
.btn--ghost:hover { border-color: var(--pur); }

/* ---- Reel ---- */
.reel { overflow: visible; }
.reel .inner { margin-bottom: clamp(28px, 3.5vw, 52px); }
.reel h2 { margin-top: clamp(12px, 1.5vw, 20px); }

.reel__vp {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  padding: 6px 0 4px;
}
.reel__track { display: flex; gap: clamp(14px, 1.8vw, 28px); width: max-content; will-change: transform; }

.tile { flex: 0 0 auto; width: clamp(260px, 34vw, 480px); display: flex; flex-direction: column; gap: 12px; cursor: none; }
.tile__vis {
  position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(18px, 2.2vw, 32px);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .5s var(--ease-out);
}
.tile--light  { background: linear-gradient(160deg, #ece5d6, #d0c8b2); color: #1a1614; }
.tile--mid    { background: linear-gradient(170deg, #c8c1d0, #9c8da3); color: #1a1614; }
.tile--dark   { background: linear-gradient(155deg, #1e1c28, #4b2540); color: #f0ebff; }
.tile--purple { background: linear-gradient(155deg, #2a1a40, #6b3fd4); color: #f0ebff; }
.tile--light .tile__rule, .tile--mid .tile__rule { background: rgba(26,22,20,.25); }
.tile--dark .tile__rule, .tile--purple .tile__rule { background: rgba(240,235,255,.2); }

.tile__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px); line-height: .94; letter-spacing: -0.01em;
  text-transform: none; color: inherit;
}
.tile__name em { font-style: italic; }
.tile__rule { display: block; height: 1px; }
.tile__pill {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(.8);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(240,235,255,.95); color: #0d0a12;
  font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease-out);
  pointer-events: none;
}
.tile:hover .tile__vis { transform: scale(1.02); }
.tile:hover .tile__pill { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.tile__foot { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }

/* ---- Capabilities ---- */
.caps { }
.caps .inner.section-label-wrap { }
.caps__list { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.caps__list li {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 20px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line2);
  position: relative; transition: padding-left .45s var(--ease);
}
.caps__list li .label { padding-top: 4px; color: var(--dim); }
.cap__body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.01em;
  margin: 0 0 6px; transition: color .35s var(--ease);
}
.cap__body p { color: rgba(240,235,255,.55); margin: 0; font-size: 14px; max-width: 50ch; }
.cap__tags { display: flex; gap: 8px; flex-wrap: wrap; align-self: center; justify-content: flex-end; }
.cap__tags li {
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim); transition: border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.caps__list li:hover { padding-left: 14px; }
.caps__list li:hover .cap__body h3 { color: var(--pur); }
.caps__list li:hover .cap__tags li { border-color: var(--pur); color: var(--pur); }

/* ---- Process sticky stack ---- */
.proc .inner { margin-bottom: clamp(28px, 3.5vw, 52px); }
.proc__stack { display: flex; flex-direction: column; gap: 20px; }

.panel {
  position: sticky; top: 76px;
  min-height: 72svh;
  border-radius: 10px; overflow: hidden;
  background: var(--sur);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.1fr .9fr;
  will-change: transform;
}
.panel--b { background: var(--sur2); }
.panel--c { background: #1a0e28; }
.panel--d { background: #0f0c18; border-color: rgba(155,109,255,.25); }

.panel__content {
  padding: clamp(24px, 3.2vw, 52px);
  display: flex; flex-direction: column; gap: 20px; justify-content: space-between;
}
.panel h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.5vw, 88px); line-height: .96; letter-spacing: -0.02em; margin: 0;
}
.panel h3 em { font-style: italic; color: var(--pur); }
.panel p { color: rgba(240,235,255,.55); max-width: 48ch; margin: 0; font-size: 15px; }
.panel__meta { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); padding-top: 14px; gap: 12px; }
.panel__meta li { display: flex; flex-direction: column; gap: 4px; }
.panel__meta b { font-weight: 500; font-size: 13px; color: var(--white); }

.panel__num {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.panel__num--light { background: linear-gradient(160deg, #ece5d6, #c8be9f); }
.panel__num--purple { background: linear-gradient(160deg, #2a1a40, #6b3fd4); }
.panel__num--dark { background: linear-gradient(160deg, #15101e, #2d1f48); border-left: 1px solid var(--line); }
.panel__num span {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(160px, 24vw, 380px); line-height: .8; letter-spacing: -0.04em;
  color: rgba(155,109,255,.25);
  will-change: transform;
}
.panel__num--light span { color: rgba(75,37,64,.15); }
.panel__num--purple span { color: rgba(240,235,255,.2); }
.panel__num--dark span { color: rgba(155,109,255,.2); }

/* ---- Why ---- */
.why { }
.why .section-label { border-top: 1px solid var(--line2); padding-top: 12px; margin-bottom: clamp(28px, 3.5vw, 52px); }
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line2); border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.why__item {
  background: var(--bg); padding: clamp(20px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .4s var(--ease);
}
.why__item:hover { background: var(--sur); }
.why__icon { font-family: var(--mono); font-size: 16px; color: var(--pur); }
.why__item h4 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.why__item p { color: rgba(240,235,255,.55); margin: 0; font-size: 14px; }

/* ---- CTA ---- */
.cta { }
.cta__head {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 10vw, 172px);
  line-height: .9; letter-spacing: -0.025em; margin: 0 0 clamp(16px, 2vw, 28px);
}
.cta__head em { font-style: italic; color: var(--pur); }
.cta__sub { color: rgba(240,235,255,.55); max-width: 50ch; margin: 0 0 clamp(28px, 3vw, 48px); font-size: 16px; }

.cta__mail {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 4vw, 64px); line-height: 1; letter-spacing: -0.015em;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; align-self: flex-start;
  transition: color .35s var(--ease);
  margin-bottom: clamp(28px, 3.5vw, 52px);
  display: flex;
}
.cta__mail em { font-style: italic; color: var(--pur); }
.cta__mail i { font-style: normal; font-size: .5em; transition: transform .5s var(--ease); display: inline-block; margin-left: 8px; }
.cta__mail:hover { color: var(--pur); }
.cta__mail:hover i { transform: translate(6px,-6px); }

.cta__row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line2); padding-top: 18px; gap: 16px; }
.cta__row > div { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }

/* ---- Footer ---- */
.foot { padding: clamp(40px, 5.5vw, 80px) 0 20px; border-top: 1px solid var(--line2); }
.foot__big {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 11vw, 192px);
  line-height: .86; letter-spacing: -0.035em;
  text-align: center; border-bottom: 1px solid var(--line2); padding-bottom: 20px;
  overflow: hidden;
}
.foot__big .fl { display: inline-block; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.foot__links { display: flex; gap: 20px; }
.foot__links a { transition: color .3s var(--ease); }
.foot__links a:hover { color: var(--pur); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .tile { width: 78vw; }
  .caps__list li { grid-template-columns: 36px 1fr; }
  .cap__tags { display: none; }
  .panel { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .panel__num { aspect-ratio: 16/9; }
  .why__grid { grid-template-columns: repeat(2,1fr); }
  .cta__row { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
  body { cursor: auto; } .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero__title em::after { transform: scaleX(1); }
  .reel__track { animation: none !important; }
}
