:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --panel: #14141b;
  --line: rgba(237, 234, 228, 0.12);
  --text: #edeae4;
  --muted: #a3a1a8;
  --ivory: #ecebe8;
  --ink: #0c0c10;
  --accent: #b79cff;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1240px;
  --gutter: 24px;
  --radius: 24px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.05; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* type */
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 52ch; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); background: #c8b4ff; }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(237, 234, 228, 0.4); background: rgba(255, 255, 255, 0.09); }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background 0.25s ease, border-color 0.25s ease; border-bottom: 1px solid transparent; }
.header.is-solid { background: rgba(7, 7, 10, 0.72); backdrop-filter: blur(18px); border-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 600; letter-spacing: 0.34em; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--sans); font-size: 16px; letter-spacing: 0; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform 0.25s, top 0.25s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; border-radius: 0; will-change: transform; background: #000; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,10,.88) 0%, rgba(7,7,10,.45) 55%, rgba(7,7,10,.2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hero h1 { margin: 22px 0 24px; max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 38px; color: #c9c6cc; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.marquee { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,7,10,.4); backdrop-filter: blur(8px); padding: 14px 0; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 32s linear infinite; padding-right: 48px; }
.marquee span { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.statement { padding: clamp(90px, 14vw, 190px) 0; text-align: center; }
.statement #statement { font-family: var(--sans); font-size: clamp(1.8rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; max-width: 24ch; margin: 22px auto 0; }
.statement .word { opacity: 0.16; display: inline-block; }

/* expertise */
.exp { padding: clamp(70px, 9vw, 120px) 0 0; overflow: hidden; }
@media (min-width: 900px) { .exp { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 0 40px; } .exp__head { margin-bottom: 32px; } .exp__pin { padding-bottom: 0; } .card { height: min(58vh, 560px); min-height: 420px; } .how { min-height: 100vh; } }
.exp__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.exp__head h2 { max-width: 14ch; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); }
.exp__pin { padding-bottom: 80px; }
.exp__track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { position: relative; flex: 0 0 min(78vw, 560px); height: min(68vh, 620px); min-height: 480px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.card__media { position: absolute; inset: 0; z-index: -2; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.05); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,7,10,.94) 0%, rgba(7,7,10,.5) 45%, rgba(7,7,10,0) 75%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--accent); opacity: 0; transition: opacity 0.4s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card:hover::after { opacity: 0.9; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.card__num { font-size: 12px; letter-spacing: 0.24em; color: var(--accent); margin-bottom: 14px; display: block; }
.card p { color: #c4c1c8; margin-top: 14px; font-size: 16px; max-width: 44ch; }

/* how we work */
.how { padding: 0; }
.how__stage { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(80px, 10vw, 120px) 0; }
.how h2 { margin: 18px 0 40px; max-width: 12ch; }
.steps { list-style: none; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); opacity: 0.38; transition: opacity 0.3s ease; }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; font-size: 1.9rem; line-height: 1; color: var(--muted); }
.step.is-active .step__n { color: var(--accent); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; max-width: 42ch; }
.progress { height: 2px; background: var(--line); margin-top: 24px; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.how__visual { position: relative; aspect-ratio: 4 / 4.2; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.how__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease, transform 1.2s ease; transform: scale(1.06); }
.how__visual img.is-active { opacity: 1; transform: scale(1); }

/* about */
.about { min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.about__media { position: absolute; inset: 0; }
.about__media video, .about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.3) 55%, rgba(7,7,10,.55) 100%); }
.about__in { position: relative; z-index: 2; padding: 0 0 clamp(60px, 9vw, 110px); width: 100%; }
.about h2 { margin: 18px 0 26px; max-width: 16ch; }
.about .lead { color: #d3d0d6; max-width: 56ch; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts div { font-size: 14px; color: var(--muted); }
.facts strong { display: block; color: var(--text); font-weight: 500; font-size: 15px; margin-bottom: 2px; }

/* faq */
.faq { background: var(--ivory); color: var(--ink); border-radius: 36px; margin: 0 12px; }
.faq .eyebrow { color: #55535a; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.faq h2 { margin-top: 18px; max-width: 10ch; }
.faq details { border-top: 1px solid rgba(12,12,16,.16); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(12,12,16,.16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 1.15rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; font-weight: 300; line-height: 1; transition: transform 0.25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: #4a4850; max-width: 58ch; }

/* contact */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg video, .contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.1); transform: scale(1.1); opacity: 0.5; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,10,.6) 40%, var(--bg) 100%); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact h2 { margin: 18px 0 24px; }
.contact__direct { margin-top: 34px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.contact__direct a { color: var(--text); border-bottom: 1px solid var(--line); width: fit-content; transition: border-color .2s; }
.contact__direct a:hover { border-color: var(--accent); }
.form { background: rgba(20,20,27,.7); backdrop-filter: blur(22px); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.field label b { color: var(--accent); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 52px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3a1a8' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { background: #14141b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.07); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff7a7a; }
.err { color: #ff9a9a; font-size: 13px; min-height: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.more { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.more summary { cursor: pointer; list-style: none; padding: 14px 0; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; }
.more[open] summary::after { content: "–"; }
.more .row { padding-bottom: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form__foot small a { text-decoration: underline; }
.status { padding: 16px 18px; border-radius: 14px; font-size: 15px; display: none; }
.status.is-ok { display: block; background: rgba(110,231,255,.1); border: 1px solid rgba(110,231,255,.35); }
.status.is-bad { display: block; background: rgba(255,122,122,.1); border: 1px solid rgba(255,122,122,.35); }
.status a { text-decoration: underline; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* footer */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand .logo { margin-bottom: 18px; }
.footer p, .footer li { color: var(--muted); font-size: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer__legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: #77757d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* simple pages */
.doc { padding: calc(var(--header-h) + 70px) 0 90px; max-width: 760px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 14px; }
.doc h2 { font-size: 1.7rem; margin: 40px 0 12px; font-family: var(--sans); }
.doc p, .doc li { color: #c4c1c8; margin-bottom: 12px; }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.nf h1 { margin: 18px 0 18px; }
.nf .lead { margin: 0 auto 32px; }

/* responsive */
@media (max-width: 899px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 16px; }
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: rgba(7,7,10,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav .btn { margin-top: 20px; min-height: 52px; }
  .hero { min-height: 600px; }
  .hero__media::after { background: linear-gradient(180deg, rgba(7,7,10,.5) 0%, rgba(7,7,10,.7) 60%, var(--bg) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 110px; }
  .hero h1 { max-width: none; font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .marquee { bottom: 16px; }
  .exp__track { flex-direction: column; width: auto; padding: 0 var(--gutter); }
  .card { flex: none; width: 100%; height: 440px; min-height: 0; }
  .how__stage { grid-template-columns: 1fr; min-height: 0; }
  .how__visual { order: -1; aspect-ratio: 4 / 3; }
  .step { opacity: 1; }
  .faq { border-radius: 26px; margin: 0 8px; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .about { min-height: 80vh; }
  .btn { width: 100%; }
  .form__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .statement .word { opacity: 1; }
  .step { opacity: 1; }
  .how__visual img { opacity: 0; transform: none; }
  .how__visual img.is-active { opacity: 1; }
}
