/* ============================================================
   built by abrar — global design tokens
   night-traffic palette: plum black, rose + amber light trails
   ============================================================ */

:root {
  /* color */
  --night: #16090f;
  --night-2: #221019;
  --night-soft: #2f1722;
  --paper: #fbf6f8;
  --paper-2: #f3e9ee;
  --ink: #33202b;
  --ink-soft: #6e5563;
  --rose: #f0568f;
  --rose-bright: #ff8fb8;
  --rose-faint: rgba(255, 143, 184, 0.16);
  --rose-deep: #9e2158;
  --amber: #f2a65a;
  --lost: #e23b3b;
  --hero-text: #fff3f8;
  --hero-muted: #d9bfcd;

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", monospace;

  /* layout */
  --shell: 1120px;
  --radius: 14px;
  --radius-pill: 999px;
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}

h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; }

::selection { background: var(--rose); color: var(--night); }

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

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--section-pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--rose-deep);
  margin-bottom: 0.9rem;
}

.section-heading { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lede { color: var(--ink-soft); font-size: 1.05rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--rose);
  color: var(--night);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  background: var(--rose);
  color: var(--night);
  box-shadow: 0 6px 22px -8px rgba(240, 86, 143, 0.65);
}
.button-primary:hover {
  background: var(--rose-bright);
  box-shadow: 0 10px 30px -8px rgba(240, 86, 143, 0.8);
}

.button-outline {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  background: transparent;
}
.button-outline:hover { background: var(--rose-deep); color: var(--paper); }

.button-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.button-large { padding: 1rem 2rem; font-size: 1.1rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(22, 9, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 143, 184, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hero-text);
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--rose);
  color: var(--night);
  font-size: 1.15rem;
  line-height: 1;
}

.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  color: var(--hero-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--rose-bright); }

.nav-cta {
  background: rgba(255, 143, 184, 0.14);
  color: var(--rose-bright);
  border-color: rgba(255, 143, 184, 0.35);
}
.nav-cta:hover { background: var(--rose); color: var(--night); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--night);
  color: var(--hero-text);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 40%, rgba(22, 9, 15, 0.88) 0%, rgba(22, 9, 15, 0.45) 45%, rgba(22, 9, 15, 0) 75%),
    linear-gradient(to top, rgba(22, 9, 15, 0.9) 0%, rgba(22, 9, 15, 0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.hero-eyebrow { color: var(--rose-bright); }

.hero-title {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
  max-width: 12em;
}
.hero-line { display: block; }

.fast-em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-8deg);
  color: var(--rose-bright);
  text-shadow: 0 0 34px rgba(240, 86, 143, 0.55);
}

.hero-sub {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--hero-muted);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--hero-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 143, 184, 0.22);
  border-radius: var(--radius-pill);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.proof-chip strong { color: var(--hero-text); font-weight: 600; }
.proof-chip:hover { border-color: var(--rose-bright); color: var(--hero-text); }
.proof-stars { color: var(--amber); letter-spacing: 0.1em; font-size: 0.85rem; }
.chip-arrow { color: var(--rose-bright); }

/* --- the slow-store hold demo --- */

.slow-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  min-height: 3rem;
}

.hold-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--rose-bright);
  background: rgba(22, 9, 15, 0.55);
  border: 1px dashed rgba(255, 143, 184, 0.45);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.hold-button:hover { border-color: var(--rose-bright); background: rgba(240, 86, 143, 0.12); }

.hold-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px rgba(240, 86, 143, 0.9);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.6; }
}

.hero.is-slow .hold-button {
  border-style: solid;
  border-color: var(--lost);
  color: #ffb0b0;
  background: rgba(226, 59, 59, 0.12);
}
.hero.is-slow .hold-dot {
  background: var(--lost);
  box-shadow: 0 0 12px rgba(226, 59, 59, 0.9);
  animation-duration: 0.5s;
}

.hold-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ffb0b0;
  margin: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hold-counter.visible { opacity: 1; transform: none; }

.hero-stat {
  font-size: 0.9rem;
  color: var(--hero-muted);
  max-width: 40em;
  border-left: 2px solid var(--rose);
  padding-left: 0.9rem;
  margin: 0;
}
.stat-source { color: rgba(217, 191, 205, 0.6); }

/* --- self-measurement strip --- */

.speed-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 143, 184, 0.16);
  background: rgba(22, 9, 15, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--hero-muted);
}
.strip-inner strong { color: var(--amber); font-weight: 500; }
.strip-sep { color: rgba(255, 143, 184, 0.4); }

/* ---------- services ledger ---------- */

.service-ledger { display: flex; flex-direction: column; }

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 9.5rem 1fr 16rem;
  gap: 1.5rem;
  align-items: start;
  padding-block: 1.9rem;
  border-top: 1px solid #e8d9e1;
  overflow: hidden;
}
.service-row:last-child { border-bottom: 1px solid #e8d9e1; }

/* speed streak that zips across on hover */
.service-row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--rose) 40%, var(--amber) 60%, transparent);
  transform: translateX(-101%);
}
@media (prefers-reduced-motion: no-preference) {
  .service-row:hover::before { animation: streak 0.7s ease-out forwards; }
}
@keyframes streak {
  to { transform: translateX(101%); }
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--rose-deep);
  background: var(--rose-faint);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  justify-self: start;
  margin-top: 0.25rem;
  white-space: nowrap;
}

.service-body h3 { margin-bottom: 0.4rem; }
.service-body p { color: var(--ink-soft); font-size: 0.98rem; }

.service-result {
  font-size: 0.92rem;
  color: var(--ink);
  border-left: 2px solid var(--rose);
  padding-left: 0.9rem;
  margin-top: 0.35rem;
}
.service-result span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--rose-deep);
  margin-bottom: 0.2rem;
}

/* ---------- proof ---------- */

.proof { padding-top: 0; }

.proof-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: var(--paper-2);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(2rem, 5vw, 4rem);
}

.proof-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 11rem;
}
.rating-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1;
  color: var(--rose-deep);
  letter-spacing: -0.04em;
}
.rating-stars { color: var(--amber); font-size: 1.3rem; letter-spacing: 0.14em; }
.rating-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.proof-copy p { color: var(--ink-soft); }
.proof-copy h2 { color: var(--ink); }

.review-quote {
  margin: 1.4rem 0 1.6rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--rose);
}
.review-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.review-quote footer { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- work ---------- */

.work { padding-top: 0; }

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.work-item {
  background: #fff;
  border: 1px solid #eddfe6;
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-item:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 86, 143, 0.4);
  box-shadow: 0 18px 40px -22px rgba(158, 33, 88, 0.35);
}

.work-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--rose-deep);
  margin-bottom: 0.8rem;
}
.work-item h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.work-item p:last-child { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- process ---------- */

.process { background: var(--paper-2); }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.process-steps li {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}

.step-number {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--night);
  color: var(--rose-bright);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.process-steps h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.process-steps p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- contact ---------- */

.contact-panel {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--hero-text);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(240, 86, 143, 0.22) 0%, transparent 65%),
    radial-gradient(50% 70% at 10% 90%, rgba(242, 166, 90, 0.12) 0%, transparent 60%);
}

.contact-copy, .contact-actions { position: relative; }
.contact-copy h2 { color: var(--hero-text); }
.contact-copy p { color: var(--hero-muted); }

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.contact-email {
  color: var(--rose-bright);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--hero-muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 143, 184, 0.12);
}
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.6rem;
}
.footer-layout p { margin: 0; }
.site-footer a { color: var(--rose-bright); }

/* ---------- scroll reveals (js-gated) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero load choreography ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .hero-eyebrow,
  .js .hero-line,
  .js .hero-sub,
  .js .hero-actions,
  .js .slow-demo,
  .js .hero-stat {
    opacity: 0;
    animation: heroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .js .hero-line { animation-name: heroLine; }
  .js .hero-eyebrow { animation-delay: 0.05s; }
  .js .hero-line:nth-child(1) { animation-delay: 0.15s; }
  .js .hero-line:nth-child(2) { animation-delay: 0.28s; }
  .js .hero-sub { animation-delay: 0.45s; }
  .js .hero-actions { animation-delay: 0.58s; }
  .js .slow-demo { animation-delay: 0.7s; }
  .js .hero-stat { animation-delay: 0.82s; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroLine {
  from { opacity: 0; transform: translateX(-40px) skewX(-4deg); }
  60% { opacity: 1; }
  to { opacity: 1; transform: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .slow-demo { display: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 0.8rem; padding-block: 1.6rem; }
  .service-tag { margin-top: 0; }
  .work-list, .process-steps { grid-template-columns: 1fr; }
  .proof-panel { grid-template-columns: 1fr; }
  .proof-rating { flex-direction: row; align-items: baseline; gap: 1rem; min-width: 0; }
  .rating-number { font-size: 3.6rem; }
  .contact-panel { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-inner { padding-top: 6.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .strip-inner { font-size: 0.72rem; gap: 0.5rem; }
  .brand-name { font-size: 0.95rem; }
}
