/* ============================================================
   GhostSquad: global theme
   Dark-first, premium, cinematic.
   ============================================================ */

:root {
  /* Colour tokens */
  --ink:        #0B0F14;  /* base background */
  --panel:      #161D25;  /* cards, raised sections, nav */
  --pink:       #FF3D81;  /* PRIMARY accent */
  --cyan:       #6FE6FF;  /* SECONDARY accent: AI / interactive */
  --cloud:      #F4F7F8;  /* primary text on dark */
  --slate:      #8597A1;  /* muted / secondary text */

  --pink-soft:  rgba(255, 61, 129, 0.14);
  --cyan-glow:  rgba(111, 230, 255, 0.45);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5.5rem, 12vw, 9.5rem);
  --head-gap: clamp(3rem, 5.5vw, 4.75rem); /* space below a section heading block */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur: 0.5s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--cloud);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

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

h1, h2, h3 {
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared accent / text helpers ---------- */
.accent-pink { color: var(--pink); }
.accent-cyan { color: var(--cyan); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.25rem;
}
.eyebrow--dark { color: #5b6b75; }

/* Cyan "live" dot with a soft glow, AI / live only */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 var(--cyan-glow);
  animation: pulse 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--cyan-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(111, 230, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 230, 255, 0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 0.85rem;
  --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease),
              background 0.2s var(--ease),
              box-shadow 0.25s var(--ease),
              border-color 0.2s var(--ease),
              color 0.2s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--pink);
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 61, 129, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--cloud);
  border-color: rgba(244, 247, 248, 0.22);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 22px rgba(111, 230, 255, 0.18);
}
.btn--block { width: 100%; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(244, 247, 248, 0.08);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--cloud);
}
.wordmark__accent { color: var(--pink); }

/* Brand lockup: full banner by default, compact ghost icon when tight */
.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.85; }
.brand__logo {
  height: 44px;
  width: auto;
  max-width: 70vw; /* never let the banner overflow on tiny screens */
  display: block;
}

/* Offset smooth-scroll targets so the sticky header never covers them */
#services, #maya, #portfolio, #about, #contact { scroll-margin-top: 88px; }

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.nav__links a {
  position: relative;
  font-size: 0.95rem;
  color: var(--slate);
  transition: color 0.18s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover { color: var(--cyan); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--cloud);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
/* Hamburger → X */
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile full-screen menu ----------
   Hidden by default everywhere (desktop never shows it). The mobile
   breakpoint below turns it into a fixed overlay; .is-open fades it in. */
.menu {
  display: none; /* default: hidden on desktop */
  position: fixed;
  inset: 0;
  z-index: 45;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 5rem var(--gutter) 3rem;
  background: var(--ink); /* solid Ink so it's never see-through over the video */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              visibility 0.35s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }

.menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.menu__links a {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cloud);
  padding: 0.55rem 1.25rem;
  /* Staggered entrance, driven by --reveal-i set in script.js */
  opacity: 0;
  transform: translateY(12px);
  transition: color 0.18s var(--ease), opacity 0.4s var(--ease),
              transform 0.4s var(--ease);
  transition-delay: 0s;
}
.menu.is-open .menu__links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--reveal-i, 0) * 60ms);
}
.menu__links a:hover { color: var(--cyan); }

.menu__cta { font-size: 1.05rem; padding: 1rem 2rem; }

.menu__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--slate);
}
.menu__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 600;
}
.menu__contact a { transition: color 0.18s var(--ease); }
.menu__contact a:hover { color: var(--cloud); }

/* Lock background scroll while the menu is open */
body.menu-open { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* no overflow:hidden here — it could clip the headline on short screens.
     The video is clipped by .hero__media instead. */
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* poster as background: shows instantly and stays if autoplay is blocked */
  background: var(--ink) url("assets/hero-poster.jpg") center / cover no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease);
}
/* hidden until the video actually plays, so no native play-button glyph shows */
.video-cloak { opacity: 0 !important; }
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Dark overlay so headline + buttons stay readable (Ink ~55–70%) */
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(255, 61, 129, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(11, 15, 20, 0.62) 0%, rgba(11, 15, 20, 0.78) 60%, var(--ink) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 6rem;
  max-width: 880px;
}
.hero__title {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 1.75rem;
  max-width: 16ch;
}
.hero__subhead {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 50ch;
  margin-bottom: 2.75rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(244, 247, 248, 0.3);
  border-radius: 14px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: var(--section-y); }
.section--tight { padding-top: clamp(2rem, 5vw, 4rem); }

.section__head { max-width: 60ch; margin-bottom: var(--head-gap); }
.section__title {
  font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-bottom: 1.35rem;
}
.section__lead {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 52ch;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(244, 247, 248, 0.06);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.cards .card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 129, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.card--ai:hover {
  border-color: rgba(111, 230, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(111, 230, 255, 0.08);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.card__icon--ai {
  background: rgba(111, 230, 255, 0.12);
}
.card__title { font-size: 1.4rem; margin-bottom: 0.85rem; }
.card__copy { color: var(--slate); margin-bottom: 1.4rem; }
.card__link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pink);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease),
              text-shadow 0.25s var(--ease);
}
.card__link:hover { transform: translateX(4px); }
.card__link--ai { color: var(--cyan); }
.card__link--ai:hover { text-shadow: 0 0 18px rgba(111, 230, 255, 0.45); }

/* ---------- Reviews (Google social proof) ---------- */
.section__head--center {
  text-align: center;
  margin-inline: auto;
}
.section__head--center .section__title { max-width: none; }
.reviews__source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.reviews__g { width: 20px; height: 20px; }
.reviews__stars { color: #fbbf24; letter-spacing: 1px; }

.reviews-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.review {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--panel);
  border: 1px solid rgba(244, 247, 248, 0.06);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.35s var(--ease);
}
.reviews-grid .review:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 230, 255, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.review__stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1.05rem;
}
.review__text {
  color: var(--cloud);
  font-size: 1rem;
  line-height: 1.65;
}
.review__author {
  order: -1; /* name + avatar at the top of the card */
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review__avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 230, 255, 0.12);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
}
.review__id { display: flex; flex-direction: column; gap: 0.1rem; }
.review__name { font-weight: 600; color: var(--cloud); font-size: 0.95rem; }
.review__role { font-size: 0.8rem; color: var(--slate); }

@media (max-width: 1000px) { .reviews-grid { columns: 2; } }
@media (max-width: 640px) { .reviews-grid { columns: 1; } }

/* ---------- Maya: signature AI section ---------- */
.maya {
  position: relative;
  overflow: hidden;
}
/* Soft cyan aura tying the whole section to Maya */
.maya::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(111, 230, 255, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.maya__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.eyebrow--maya { color: var(--cyan); }

.maya__stats {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.maya__stat { border-left: 2px solid rgba(111, 230, 255, 0.5); padding-left: 1rem; }
.maya__stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cyan);
  line-height: 1.1;
}
.maya__stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--slate);
}

.maya__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.maya__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--cyan);
  transition: text-shadow 0.25s var(--ease);
}
.maya__phone:hover { text-shadow: 0 0 18px rgba(111, 230, 255, 0.4); }
.maya__demo-note {
  font-size: 0.9rem;
  color: var(--slate);
  font-style: italic;
}

/* Circular play button + progress bar */
.maya-player {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.maya-player__btn {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan) 42%, var(--pink));
  box-shadow: 0 0 0 6px rgba(111, 230, 255, 0.1), 0 8px 24px rgba(255, 61, 129, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.maya-player__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 8px rgba(111, 230, 255, 0.14), 0 10px 30px rgba(255, 61, 129, 0.4);
}
.maya-player__icon {
  width: 22px;
  height: 22px;
  fill: var(--ink);
}
.maya-player__icon--play { margin-left: 3px; } /* optical centering of the triangle */
.maya-player__icon--pause { display: none; }
.maya-player.is-playing .maya-player__icon--play { display: none; }
.maya-player.is-playing .maya-player__icon--pause { display: block; }

.maya-player__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 200px;
}
.maya-player__label { font-weight: 600; color: var(--cloud); font-size: 0.98rem; }
.maya-player__bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(244, 247, 248, 0.12);
  cursor: pointer;
  touch-action: none; /* let us handle drag-to-seek without the page scrolling */
}
/* taller invisible hit area so it's easy to grab with a finger */
.maya-player__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -11px;
  bottom: -11px;
}
.maya-player__fill {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(111, 230, 255, 0.5);
  transition: width 0.1s linear;
}
.maya-player__fill { touch-action: none; }
/* while dragging, update the fill instantly (no easing lag) */
.maya-player.is-scrubbing .maya-player__fill { transition: none; }
/* draggable thumb at the playhead */
.maya-player__fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(111, 230, 255, 0.7);
  transform: translateY(-50%);
}

/* ---- The framed "hologram" stage ---- */
.maya__stage { display: flex; justify-content: center; }
.maya__frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px solid rgba(111, 230, 255, 0.35);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(111, 230, 255, 0.16), transparent 60%),
    url("assets/maya-poster.jpg") center / cover no-repeat,
    var(--panel);
  box-shadow:
    0 0 0 1px rgba(111, 230, 255, 0.08),
    0 18px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(111, 230, 255, 0.18);
  overflow: hidden;
  animation: mayaGlow 4.5s var(--ease) infinite;
}
@keyframes mayaGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(111,230,255,0.08), 0 18px 60px rgba(0,0,0,0.5), 0 0 45px rgba(111,230,255,0.16); }
  50%      { box-shadow: 0 0 0 1px rgba(111,230,255,0.14), 0 18px 60px rgba(0,0,0,0.5), 0 0 70px rgba(111,230,255,0.28); }
}
/* faint holographic scanlines */
.maya__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(111, 230, 255, 0.05) 0px,
    rgba(111, 230, 255, 0.05) 1px,
    transparent 1px,
    transparent 5px
  );
  pointer-events: none;
}
.maya__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid rgba(111, 230, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.maya__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the portrait frame, cropping the landscape edges */
  z-index: 0;
  transition: opacity 0.6s var(--ease);
}
.maya__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.maya__placeholder-name {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cloud);
  text-shadow: 0 0 30px rgba(111, 230, 255, 0.45);
}
.maya__placeholder-sub {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

@media (max-width: 880px) {
  .maya__grid { grid-template-columns: 1fr; }
  .maya__stage { order: -1; } /* image above text on mobile */
}

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.work {
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(244, 247, 248, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.35s var(--ease);
}
/* Specificity bumped (.work-grid ...) so it beats .reveal.is-visible's transform:none */
.work-grid .work:hover {
  transform: translateY(-6px) scale(1.035);
  border-color: rgba(111, 230, 255, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45),
              0 0 40px rgba(111, 230, 255, 0.12);
}
.work__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink); /* frames any letterboxing so cards stay uniform */
  border-bottom: 1px solid rgba(244, 247, 248, 0.06);
}
.work__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* show the FULL screenshot, never cropped */
  object-position: center;
  display: block;
}
.work__meta { padding: 1.4rem 1.6rem 1.6rem; }
.work__title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.work__desc { color: var(--slate); font-size: 0.95rem; line-height: 1.55; }

/* ---------- About (founder, light break) ---------- */
.section--light {
  background: var(--cloud);
  color: var(--ink);
}
.section__title--dark { color: var(--ink); }
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Founder portrait + signature */
.about__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #e6ecee 0%, #ccd6da 100%);
  /* outer lift + a hairline inner ring so the bright photo stays crisp on Cloud */
  box-shadow: 0 24px 60px rgba(11, 15, 20, 0.18),
              inset 0 0 0 1px rgba(11, 15, 20, 0.07);
}
.about__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fill the frame, no stretching */
  object-position: 50% 22%; /* keep the face comfortably in view */
}
/* gentle gradient at the base to ground the image against the section */
.about__photo-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(11, 15, 20, 0.22) 100%
  );
}
.about__frame::after { /* subtle pink accent bar, used sparingly */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 4px;
  background: var(--pink);
}
.about__photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__photo-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #7c8b93;
}
.about__sign {
  margin-top: 1.35rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.about__sign span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: #5b6b75;
}

/* Founder story */
.about__copy {
  color: #44525b;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  max-width: 56ch;
}

/* Trust signals */
.about__trust {
  list-style: none;
  margin: 2rem 0 2.25rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.about__trust-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.about__trust-mark {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.about__trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 0.1rem;
}
.about__trust-item span {
  color: #5b6b75;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.section--contact {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255,61,129,0.08), transparent 60%),
    var(--ink);
}
.contact {
  max-width: 640px;
  margin-inline: auto;
}
.contact__head { text-align: center; margin-bottom: 2.25rem; }
.contact__head .section__title { max-width: none; margin-bottom: 1.1rem; }
.contact__head .section__lead { margin-inline: auto; }

/* Primary action: Book a call (loudest), with a quiet phone option */
.contact__primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}
.btn--lg { padding: 1.15rem 2.75rem; font-size: 1.1rem; }
.contact__book { box-shadow: 0 12px 34px rgba(255, 61, 129, 0.32); }
.contact__phone-quiet {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.contact__phone-quiet span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 600;
  transition: text-shadow 0.25s var(--ease);
}
.contact__phone-quiet:hover span { text-shadow: 0 0 16px rgba(111, 230, 255, 0.4); }

/* Divider before the secondary form */
.contact__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  color: var(--slate);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.contact__divider::before,
.contact__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(244, 247, 248, 0.1);
}

.contact__form {
  background: var(--panel);
  border: 1px solid rgba(244, 247, 248, 0.07);
  border-radius: 20px;
  padding: 2rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.field__opt { font-weight: 500; color: #5f6f78; }
.field input,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(244, 247, 248, 0.12);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--cloud);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #4f5d66; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(111, 230, 255, 0.12);
}
.form__note {
  margin-top: 1rem;
  color: var(--cyan);
  font-size: 0.92rem;
  line-height: 1.5;
}
.form__note--error { color: var(--pink); }

/* Success state — replaces the form fields on a successful submit */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0 1rem;
}
.contact__form.is-sent .field,
.contact__form.is-sent > button,
.contact__form.is-sent .form__note { display: none; }
.contact__form.is-sent .form__success {
  display: flex;
  animation: successIn 0.5s var(--ease) both;
}
.form__success-check {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: rgba(111, 230, 255, 0.12);
  border: 1px solid rgba(111, 230, 255, 0.4);
  box-shadow: 0 0 44px rgba(111, 230, 255, 0.28);
}
.form__success-check svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form__success-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2rem);
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.form__success-text {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.65;
}
.form__success-text span { color: var(--cloud); font-weight: 600; }
@keyframes successIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid rgba(244, 247, 248, 0.07);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.footer .brand { margin-bottom: 1.2rem; }
.footer .brand__logo { height: 28px; }
.footer__tagline {
  color: var(--slate);
  max-width: 36ch;
  margin-bottom: 1.6rem;
}
.footer__social {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 248, 0.14);
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.25s var(--ease);
}
.footer__social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(111, 230, 255, 0.18);
}
.footer__social svg { width: 17px; height: 17px; display: block; }
.footer__heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #5b6b75;
  margin: 0 0 1.2rem;
}
.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__nav a,
.footer__contact a {
  color: var(--slate);
  font-size: 0.98rem;
  width: fit-content;
  transition: color 0.18s var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--cloud); }
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
}
.footer__link-cta { color: var(--pink); font-weight: 600; }
.footer__link-cta:hover { color: var(--pink); opacity: 0.8; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 247, 248, 0.06);
}
.footer__legal { color: var(--slate); font-size: 0.88rem; margin: 0; }

/* ============================================================
   Scroll-reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--reveal-dur) var(--ease),
              transform var(--reveal-dur) var(--ease);
  /* Stagger is applied per-element via --reveal-i (set in script.js) */
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
/* Layout: stack multi-column grids on smaller screens */
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__frame { max-width: 360px; } /* keep the portrait sensible when stacked */
  .contact { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile navigation (≤768px): collapse links into the hamburger, and
   only show the full-screen menu when the hamburger has opened it. */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 50; position: relative; }
  .menu.is-open { display: flex; }
}

/* Desktop (≥769px): the mobile menu and hamburger are NEVER shown,
   even if the "is-open" class is somehow present. */
@media (min-width: 769px) {
  .menu { display: none !important; }
  .nav__toggle { display: none !important; }
}

/* ============================================================
   Reduced motion: disable reveal + scroll cues, pause video
   ============================================================ */
@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 { opacity: 1; transform: none; }
  .hero__scroll, .live-dot { animation: none; }
}

/* ============================================================
   Custom cursor (desktop / fine-pointer only; disabled on touch)
   ============================================================ */
.cursor-dot,
.cursor-trail-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
/* Precise pointer dot, with a thin dark outline so it stays crisp on the
   light About section and a soft cyan glow on the dark sections. */
.cursor-dot {
  z-index: 100000;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 0 1.5px rgba(11, 15, 20, 0.6), 0 0 8px rgba(111, 230, 255, 0.75);
  transition: opacity 0.3s var(--ease), width 0.2s var(--ease),
              height 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
/* Trailing tail segments (size / colour / alpha set per element in script.js) */
.cursor-trail-dot {
  z-index: 99999;
  transition: opacity 0.3s var(--ease), filter 0.25s var(--ease);
}
.cursor-visible .cursor-dot,
.cursor-visible .cursor-trail-dot { opacity: 1; }
/* Over interactive elements: dot grows and turns pink, tail intensifies */
.cursor-hover .cursor-dot {
  width: 11px;
  height: 11px;
  background: var(--pink);
  box-shadow: 0 0 0 1.5px rgba(11, 15, 20, 0.6), 0 0 10px rgba(255, 61, 129, 0.85);
}
.cursor-hover .cursor-trail-dot { filter: brightness(1.35); }
/* hide the native cursor only while the custom one is active */
html.cursor-active,
html.cursor-active * { cursor: none; }
