/* =========================================================
   Cinati Labs, pure B&W. Lots of breathing room.
   ========================================================= */

:root {
  --bg: #fff;
  --bg-2: #f4f3f0;
  --ink: #0a0a0a;
  --ink-soft: #4a4a48;
  --ink-mute: #909089;
  --line: rgba(10, 10, 10, 0.1);
  --line-soft: rgba(10, 10, 10, 0.06);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
}

/* selection */
::selection {
  background: var(--ink);
  color: var(--bg);
}

/* ============== a11y: skip-link + focus ============== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.cta :focus-visible,
.reel__play:focus-visible {
  outline-color: var(--bg);
}

/* ============== progress bar ============== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: transparent;
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.05s linear;
}

/* ============== nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: transparent;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
}

.nav__logo {
  height: 216px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 4px 0 5px;
  transition: opacity 0.15s ease;
}

.nav__cta:hover {
  opacity: 0.55;
}

.nav__cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  animation: pulse-ink 1.6s ease-out infinite;
}

@keyframes pulse-ink {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.5);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(10, 10, 10, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(10, 10, 10, 0);
  }
}

/* ============== shared bits ============== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 40px;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  display: inline-block;
}

.eyebrow--invert {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow--invert .eyebrow__dot {
  background: var(--bg);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.mono--mute {
  color: var(--ink-mute);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 40px;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.line {
  display: block;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 48px;
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn__pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  animation: pulse-light 1.6s ease-out infinite;
}

@keyframes pulse-light {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn--ghost:hover .arrow {
  transform: translateY(2px);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: var(--ink);
  animation: scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}

.hero__scroll-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@keyframes scroll-line {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ============== REEL ============== */
.reel {
  padding: 160px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.reel__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding: 0 4px;
}

.reel__frame {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
}

.reel__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  position: relative;
}

.reel__placeholder {
  background: radial-gradient(120% 80% at 50% 35%, #1a1a1a 0%, #050505 80%);
}

.reel__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' 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.6 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: screen;
}

.reel__hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.reel__hud--tl {
  top: 22px;
  left: 24px;
}

.reel__hud--tr {
  top: 22px;
  right: 24px;
}

.reel__hud--bl {
  bottom: 22px;
  left: 24px;
}

.reel__hud--br {
  bottom: 22px;
  right: 24px;
}

.reel__rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.reel__recdot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.reel__waves {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  margin-left: 8px;
}

.reel__waves span {
  display: block;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}

.reel__waves span:nth-child(1) {
  animation-delay: 0s;
}

.reel__waves span:nth-child(2) {
  animation-delay: 0.08s;
}

.reel__waves span:nth-child(3) {
  animation-delay: 0.16s;
}

.reel__waves span:nth-child(4) {
  animation-delay: 0.24s;
}

.reel__waves span:nth-child(5) {
  animation-delay: 0.32s;
}

.reel__waves span:nth-child(6) {
  animation-delay: 0.4s;
}

.reel__waves span:nth-child(7) {
  animation-delay: 0.48s;
}

.reel__waves span:nth-child(8) {
  animation-delay: 0.56s;
}

.reel__waves span:nth-child(9) {
  animation-delay: 0.64s;
}

.reel__waves span:nth-child(10) {
  animation-delay: 0.72s;
}

.reel__waves span:nth-child(11) {
  animation-delay: 0.8s;
}

.reel__waves span:nth-child(12) {
  animation-delay: 0.88s;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.25);
  }

  50% {
    transform: scaleY(1);
  }
}

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.reel__play svg {
  position: relative;
  z-index: 2;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.reel__play:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%) scale(1.04);
}

.reel__play:hover svg {
  transform: scale(1.06);
}

.reel__play-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  animation: ring 2.4s ease-out infinite;
}

.reel__play-ring--2 {
  animation-delay: 1.2s;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.reel__cap {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ============== FEATURES ============== */
.feats {
  padding: 80px 40px;
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.feat:last-child {
  border-bottom: none;
}

.feat--alt {
  background: transparent;
}

.feat--alt .feat__no {
  color: var(--ink);
}

.feat__no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  align-self: start;
}

.feat__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}

.feat__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 8px 0 0;
  justify-self: end;
}

/* ============== CTA ============== */
.cta {
  background: var(--ink);
  color: var(--bg);
  padding: 200px 40px;
  text-align: center;
}

.cta .eyebrow {
  margin: 0 auto 56px;
  color: rgba(255, 255, 255, 0.7);
}

.cta .eyebrow__dot {
  background: var(--bg);
}

.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 auto 32px;
  max-width: 14ch;
}

.cta__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.cta__sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 480px;
}

/* ============== FOOTER ============== */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 40px;
  border-top: 1px solid var(--line);
}

/* ============== REVEAL ANIMS ============== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal[data-d="0"].is-in {
  transition-delay: 0.05s;
}

.reveal[data-d="1"].is-in {
  transition-delay: 0.2s;
}

.reveal[data-d="2"].is-in {
  transition-delay: 0.32s;
}

.reveal[data-d="3"].is-in {
  transition-delay: 0.55s;
}

.reveal[data-d="4"].is-in {
  transition-delay: 0.7s;
}

.reveal[data-d="5"].is-in {
  transition-delay: 0.95s;
}

.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-up.is-in {
  opacity: 1;
  transform: none;
}

/* ============== responsive ============== */
@media (max-width: 920px) {
  .nav {
    padding: 20px 22px;
  }

  .hero {
    padding: 80px 22px 64px;
    min-height: calc(100vh - 60px);
  }

  .hero__sub {
    font-size: 16px;
  }

  .reel {
    padding: 96px 22px;
  }

  .reel__play {
    width: 76px;
    height: 76px;
  }

  .reel__hud {
    font-size: 9.5px;
    gap: 6px;
  }

  .reel__hud--tl,
  .reel__hud--bl {
    left: 16px;
  }

  .reel__hud--tr,
  .reel__hud--br {
    right: 16px;
  }

  .reel__hud--tl,
  .reel__hud--tr {
    top: 16px;
  }

  .reel__hud--bl,
  .reel__hud--br {
    bottom: 16px;
  }

  .reel__cap {
    flex-direction: column;
    gap: 6px;
  }

  .feats {
    padding: 64px 22px;
  }

  .feat {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 64px 0;
  }

  .feat__body {
    justify-self: start;
    max-width: 100%;
  }

  .cta {
    padding: 120px 22px;
  }

  .foot {
    padding: 24px 22px;
    flex-direction: column;
    gap: 8px;
  }
}

/* ============== reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
