:root {
  color-scheme: dark;
  --brand: #FF5B50;
  --brand-deep: #D9463C;
  --on-brand: #180504; /* white on #FF5B50 is too low in contrast for small text */
  --ink: #0B0908;
  --surface: #161210;
  --surface-2: #1F1917;
  --line: #2E2623;
  --white: #fff;
  --muted: #B8AEAA;
  --sans: "Instrument Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  color: var(--white);
  background-color: var(--ink);
  background-image: radial-gradient(1000px 640px at 50% -80px, rgba(255, 91, 80, .22), transparent 70%);
  background-repeat: no-repeat;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: 24px; }
h1, h2 { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -.015em;
  color: var(--brand);
}
.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 36em; }
.tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: .3em .85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

/* cursor effects, on devices with a real pointer only */
.dot, .grid-glow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .dot {
    display: block; position: fixed; left: 0; top: 0; z-index: 30;
    width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; background: var(--brand);
    pointer-events: none; opacity: 0;
    transition: opacity .2s, width .2s, height .2s, margin .2s;
  }
  .dot.on { opacity: 1; }
  .dot.big { width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: .55; }
  .grid-glow {
    display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
      linear-gradient(rgba(255, 91, 80, .28) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 91, 80, .28) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(240px at var(--mx, -500px) var(--my, -500px), #000, transparent);
    mask-image: radial-gradient(240px at var(--mx, -500px) var(--my, -500px), #000, transparent);
  }
}

/* nav */
.nav {
  position: sticky; top: 12px; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: min(760px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 12, 11, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; text-decoration: none; }
.brand i { width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--brand); }
.nav nav { display: flex; gap: 22px; font-size: .94rem; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav nav a:hover { color: var(--white); }

/* buttons */
.btn {
  display: inline-block;
  padding: .78em 1.5em;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #FF766C; border-color: #FF766C; transform: translateY(-1px); }
.btn.small { padding: .48em 1.15em; font-size: .92rem; }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--white); }
.btn.ghost:hover { border-color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.center { justify-content: center; }

/* hero */
.hero { padding-top: 64px; text-align: center; }
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-top: 20px; }
.phones {
  display: flex; justify-content: center; gap: 22px;
  margin-top: 56px; padding: 30px 16px 44px;
  perspective: 1400px;
}
.phone {
  flex: 0 0 auto;
  width: clamp(150px, 19vw, 236px);
  aspect-ratio: 9 / 19;
  padding: 7px;
  border: 1px solid #3A322F;
  border-radius: 34px;
  background: #171312;
  will-change: transform;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: var(--surface-2); }

/* belts */
.belts { position: relative; height: 210px; overflow: hidden; pointer-events: none; }
.belt { position: absolute; left: -6%; width: 112%; overflow: hidden; padding: .22em 0; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; }
.belt.one { top: 70px; z-index: 1; background: var(--brand); color: var(--on-brand); transform: rotate(-2.6deg); }
.belt.two { top: 86px; background: var(--white); color: #15100F; transform: rotate(2deg); }
.belt em { color: inherit; font-size: 1.12em; }
.run { display: inline-flex; gap: 1.1em; animation: run 46s linear infinite; }
.belt.two .run { animation-direction: reverse; animation-duration: 58s; }
@keyframes run { to { transform: translateX(-50%); } }

/* sections */
.section { padding-block: 72px; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 40px; margin-bottom: 28px; }
.note { color: var(--muted); max-width: 25em; font-size: .95rem; }

/* reveal on scroll */
.js .r { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .r.in { opacity: 1; transform: none; }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  padding: .42em 1.05em;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--brand); color: var(--white); }
.filter.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
.work { min-width: 0; }
.work.wide { grid-column: 1 / -1; }
.work[hidden] { display: none; }
.player { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 16px 16px 0 0; background: var(--surface); }
.work.wide .player { aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.tap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; }
.hint {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: .32em .75em; border-radius: 999px;
  background: var(--brand); color: var(--on-brand);
  font-size: .78rem; font-weight: 600; pointer-events: none;
  transition: opacity .2s;
}
.hint svg { width: 14px; height: 14px; }
.has-sound .hint { opacity: 0; }
.tools { position: absolute; top: 10px; right: 10px; }
.tools button {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(11, 9, 8, .72); color: var(--white);
}
svg.i { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl {
  position: relative; height: 30px;
  background: var(--surface-2);
  border-radius: 0 0 12px 12px;
  overflow: hidden; cursor: pointer; touch-action: none;
}
.tl .clip { position: absolute; top: 6px; bottom: 6px; border-radius: 2px; background: var(--brand-deep); }
.tl .clip:nth-child(even) { background: var(--brand); }
.tl .head-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--white); }
.work h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.work .desc { margin-top: 5px; font-size: .9rem; color: var(--muted); }
.work.wide h3 { font-size: 1.35rem; }
.work.wide .desc { font-size: 1rem; max-width: 42em; }
.disclaimer { margin-top: 36px; font-size: .9rem; color: var(--muted); }
.disclaimer a { color: var(--brand); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 64px; align-items: center; }
.ba .lead { margin-top: 18px; }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.slider {
  --x: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; max-height: 86vh; width: 100%;
  margin-inline: auto;
  border-radius: 22px; background: var(--surface);
  cursor: ew-resize; touch-action: pan-y; user-select: none;
}
.slider video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider .before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.label { position: absolute; top: 12px; padding: .28em .75em; border-radius: 999px; background: rgba(11, 9, 8, .74); font-size: .78rem; font-weight: 600; pointer-events: none; }
.label.left { left: 12px; }
.label.right { right: 12px; color: var(--brand); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.handle i { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--brand); }
.handle i::before, .handle i::after { content: ""; position: absolute; top: 15px; width: 10px; height: 10px; border-left: 2px solid var(--on-brand); border-bottom: 2px solid var(--on-brand); }
.handle i::before { left: 10px; transform: rotate(45deg); }
.handle i::after { right: 10px; transform: rotate(225deg); }

/* why */
.reveal { margin-top: 26px; max-width: 24em; font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.reveal span { color: var(--white); }
.js .reveal span { opacity: .2; transition: opacity .25s linear; }
.js .reveal span.lit { opacity: 1; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.steps li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.steps li:hover { border-color: var(--brand); }
.steps b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--brand); }
.steps p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* services */
.services > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 32px; padding-block: 22px; border-top: 1px solid var(--line); }
.services > div:last-child { border-bottom: 1px solid var(--line); }
.services dt { font-size: 1.25rem; font-weight: 600; }
.services dd { color: var(--muted); }
.specs { margin-top: 20px; font-size: .95rem; color: var(--muted); }

/* process */
.nle { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.nle-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lights { display: flex; gap: 5px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lights i:first-child { background: var(--brand); }
.tracks { position: relative; padding: 12px 14px 14px; display: grid; gap: 6px; }
.track { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; }
.track b { font-size: .72rem; font-weight: 600; color: var(--muted); }
.lane { position: relative; height: 30px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.lane.wave { height: 44px; }
.lane span { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; }
#laneVideo span { background: var(--brand-deep); }
#laneVideo span:nth-child(even) { background: var(--brand); }
#laneText span { background: #4A403C; }
#laneAudio span { top: auto; bottom: auto; background: var(--brand); border-radius: 1px; }
.playhead { position: absolute; top: 4px; bottom: 6px; left: 48px; width: 2px; background: var(--white); will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; border-radius: 2px 2px 50% 50%; background: var(--white); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stages li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, background .25s; }
.stages li.on { border-color: var(--brand); background: rgba(255, 91, 80, .07); }
.stages span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brand); }
.stages h3 { margin-top: 2px; font-size: 1.05rem; font-weight: 600; }
.stages p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.about img { width: 100%; height: auto; border-radius: 22px; }
.about h2 { margin-bottom: 18px; }
.about p { color: var(--muted); max-width: 36em; margin-bottom: 12px; }

/* contact */
.contact { padding-block: 80px 56px; }
.contact .lead { margin-top: 18px; }
.ways { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; margin-top: 32px; }
.way { display: block; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: border-color .15s, background .15s, opacity .7s, transform .7s; }
.way:hover { border-color: var(--brand); }
.way span { display: block; font-size: .85rem; color: var(--muted); }
.way b { display: block; margin-top: 6px; font-size: 1.12rem; font-weight: 600; overflow-wrap: anywhere; }
.way.main { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.way.main span { color: var(--on-brand); }
.way.main:hover { background: #FF766C; }
.copy { margin-top: 14px; padding: .35em .95em; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .85rem; cursor: pointer; }
.copy:hover { border-color: var(--brand); color: var(--white); }

.foot { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px 36px; font-size: .85rem; color: var(--muted); }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba { grid-template-columns: 1fr; gap: 36px; }
  .slider { max-width: 380px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about img { max-width: 300px; }
  .ways { grid-template-columns: 1fr 1fr; }
  .way.main { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .nav nav { display: none; }
  .hero { padding-top: 44px; }
  .phones { gap: 10px; margin-top: 36px; padding: 18px 0 28px; }
  .phone { width: 29vw; padding: 4px; border-radius: 20px; }
  .phone video { border-radius: 16px; }
  .phone:nth-child(4) { display: none; }
  .belts { height: 150px; }
  .belt.one { top: 44px; }
  .belt.two { top: 58px; }
  .section { padding-block: 48px; }
  .grid { gap: 28px 12px; }
  .services > div { grid-template-columns: 1fr; }
  .tracks { padding-inline: 10px; }
  .track { grid-template-columns: 20px 1fr; gap: 6px; }
  .ways { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .run { animation: none; }
  .js .r { opacity: 1; transform: none; }
  .js .reveal span { opacity: 1; }
}
