/* ==========================================================================
   VAI Creative Studio — styles
   Mobile-first. Breakpoints: 768px (tablet), 1100px (desktop).
   ========================================================================== */

/* Fonts served from this site (variable fonts, Latin subset, SIL Open Font License) */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0A0A14;
  --bg-raised: #10101d;
  --violet: #5B4BFF;
  --violet-deep: #4A3BE6;
  --lavender: #9B7BFF;
  --text: #F2F1FF;
  --muted: rgba(242, 241, 255, 0.65);
  --faint: rgba(242, 241, 255, 0.56);
  --line: rgba(242, 241, 255, 0.12);
  --line-strong: rgba(242, 241, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);

  --radius: 28px;
  --radius-sm: 18px;
  --gutter: 20px;
  --container: 1240px;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

::selection { background: var(--violet); color: #fff; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--violet);
  color: #fff;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* Film grain over everything (very subtle) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  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='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Violet glow that follows the cursor (desktop only, set up in main.js) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 640px; height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.16) 0%, rgba(155, 123, 255, 0.06) 35%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

main, .site-footer { position: relative; z-index: 1; }

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

/* ---------- Shared pieces ---------- */
.section {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(80px, 12vw, 150px);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 10px 2px rgba(155, 123, 255, 0.75);
  flex-shrink: 0;
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}

.h2 {
  font-size: clamp(2rem, 6.4vw, 4.25rem);
  font-weight: 800;
  max-width: 16ch;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
}

.grad {
  background: linear-gradient(100deg, var(--violet) 0%, var(--lavender) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* keeps descenders from being clipped */
  padding-bottom: 0.06em;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  z-index: -1;
}
.glow--violet { background: radial-gradient(circle, rgba(91, 75, 255, 0.45) 0%, transparent 65%); }
.glow--lavender { background: radial-gradient(circle, rgba(155, 123, 255, 0.32) 0%, transparent 65%); }

/* Frosted glass card — signature element */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 40px rgba(155, 123, 255, 0.05),
    0 20px 60px -30px rgba(0, 0, 0, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(110deg, var(--violet-deep) 0%, var(--violet) 45%, #7556FF 100%);
  box-shadow: 0 10px 30px -10px rgba(91, 75, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(91, 75, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  padding: 6px 26px;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: rgba(155, 123, 255, 0.7);
  background: rgba(155, 123, 255, 0.08);
}

.btn--sm { min-height: 44px; padding-left: 20px; font-size: 0.9rem; gap: 10px; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--violet);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-top: 12px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 28, 0.35);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled .header-bar {
  background: rgba(14, 14, 28, 0.82);
  border-color: var(--line-strong);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.logo__sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--muted);
  line-height: 1.35;
  max-width: 8.5em;
}

.nav { display: none; }
.nav a {
  position: relative;
  padding: 8px 2px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }

.burger {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.burger__lines { display: grid; gap: 6px; }
.burger__lines span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.burger[aria-expanded="true"] .burger__lines span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile full-screen glass menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: rgba(10, 10, 20, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.4), transparent 65%);
  pointer-events: none;
}
.mobile-menu nav ul { display: grid; gap: 6px; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 10vw, 3rem);
  letter-spacing: -0.02em;
}
.mobile-menu nav a small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; }
.mobile-menu__meta { margin-top: 28px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 88px));
  padding-bottom: clamp(70px, 10vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -30% auto -30%;
  height: 120%;
  background:
    radial-gradient(45% 40% at 70% 35%, rgba(91, 75, 255, 0.42) 0%, transparent 70%),
    radial-gradient(30% 30% at 30% 20%, rgba(155, 123, 255, 0.18) 0%, transparent 70%),
    radial-gradient(40% 35% at 50% 90%, rgba(91, 75, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.4rem, 10.5vw, 5.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero__sub {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--faint);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  color: var(--text);
}
.chip svg { width: 17px; height: 17px; color: var(--lavender); flex-shrink: 0; }
.chip em { font-style: normal; color: var(--faint); }

.hero__visual {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.55), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.hero__visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

/* ---------- Who we work with ---------- */
.audience__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.audience__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.audience__item:last-child { grid-column: 1 / -1; }
.audience__item:hover { transform: translateY(-4px); border-color: rgba(155, 123, 255, 0.5); }
.audience__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(91, 75, 255, 0.18);
  border: 1px solid rgba(155, 123, 255, 0.35);
  color: var(--lavender);
}
.audience__icon svg { width: 22px; height: 22px; }
.audience__item h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.audience__line {
  margin-top: clamp(32px, 5vw, 48px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.3;
  max-width: 30ch;
}
.audience__line span { color: var(--muted); }

/* ---------- Services ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s, padding 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: radial-gradient(80% 140% at 0% 50%, rgba(91, 75, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lavender);
  padding-top: 0.3em;
  min-width: 2.2em;
}
.service h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
}
.service p { color: var(--muted); max-width: 46ch; }

/* ---------- Work ---------- */
.work__grid {
  display: grid;
  gap: 20px;
}
.case {
  display: flex;
  flex-direction: column;
  padding: 12px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.case:hover { transform: translateY(-6px); border-color: rgba(155, 123, 255, 0.5); }
.case__media {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: var(--bg-raised);
}
.case__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.case:hover .case__media img { transform: scale(1.04); }
.case__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding: 20px 10px 12px;
  flex: 1;
  align-content: start;
}
.tag {
  justify-self: start;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.tag--live { color: #CFC4FF; border-color: rgba(155, 123, 255, 0.55); background: rgba(91, 75, 255, 0.15); }
.tag--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8CF5C0;
  box-shadow: 0 0 8px #8CF5C0;
}
.case h3 {
  grid-column: 1;
  font-size: 1.2rem;
  line-height: 1.25;
}
.case p { grid-column: 1; color: var(--muted); font-size: 0.95rem; }
.case__arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.case__arrow svg { width: 18px; height: 18px; }
.case:hover .case__arrow { background: var(--violet); border-color: var(--violet); transform: rotate(45deg); }
.case__link-note { font-size: 0.82rem; color: var(--faint); grid-column: 1; }
.work__note { margin-top: 28px; font-size: 0.9rem; color: var(--faint); }

/* ---------- Free concept offer ---------- */
.offer__card {
  padding: clamp(32px, 6vw, 80px);
  overflow: hidden;
  border-color: rgba(155, 123, 255, 0.3);
}
.offer__card::before {
  content: "";
  position: absolute;
  width: 70%; height: 140%;
  right: -20%; top: -40%;
  background: radial-gradient(closest-side, rgba(91, 75, 255, 0.45), transparent);
  pointer-events: none;
  z-index: -1;
}
.offer__card::after {
  content: "";
  position: absolute;
  width: 50%; height: 100%;
  left: -15%; bottom: -60%;
  background: radial-gradient(closest-side, rgba(155, 123, 255, 0.22), transparent);
  pointer-events: none;
  z-index: -1;
}
.offer__card .h2 { max-width: 18ch; margin-top: 24px; }
.offer__steps {
  display: grid;
  gap: 14px;
  margin: clamp(32px, 5vw, 56px) 0;
  counter-reset: step;
}
.offer__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: rgba(10, 10, 20, 0.35);
  border: 1px solid var(--line);
}
.offer__step-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--violet), var(--lavender));
  color: #fff;
  box-shadow: 0 0 20px rgba(91, 75, 255, 0.6);
}
.offer__step p { padding-top: 7px; }
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.offer__foot p { color: var(--faint); font-size: 0.88rem; }

/* ---------- Process ---------- */
.process__list {
  position: relative;
  display: grid;
  gap: 0;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  /* vertical connector line */
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.step:last-child::before { display: none; }
.step__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--lavender);
}
.step h3 { font-size: 1.2rem; padding-top: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 20px; }
.role { padding: 12px; overflow: hidden; }
.role__media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-raised);
}
.role__media img { width: 100%; height: 100%; object-fit: cover; }
.role__body { padding: 24px 12px 14px; }
.role__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}
.role h3 { margin-top: 10px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.role p { margin-top: 12px; color: var(--muted); }
.role p strong { color: var(--text); font-weight: 600; }
.about__note {
  margin-top: clamp(32px, 5vw, 56px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  max-width: 34ch;
}
.about__note span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__layout { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #D9D1FF; }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--violet); border-color: var(--violet); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 52px 26px 0; color: var(--muted); max-width: 64ch; }
.faq__answer p + p { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__layout { display: grid; gap: 20px; }
.contact-form { padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.field label span { color: var(--faint); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 20, 0.45);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 241, 255, 0.45); }
.field input:hover, .field textarea:hover { border-color: rgba(242, 241, 255, 0.35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 4px rgba(155, 123, 255, 0.2);
  background: rgba(10, 10, 20, 0.6);
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form-foot p { font-size: 0.84rem; color: var(--faint); }
.form-status { margin-top: 14px; font-size: 0.92rem; color: #FFB4C0; }
.form-status:empty { display: none; }
.hidden-field { display: none; }

.form-success { text-align: left; padding: 12px 0; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--lavender));
  box-shadow: 0 0 40px rgba(91, 75, 255, 0.7);
  margin-bottom: 24px;
}
.form-success__icon svg { width: 28px; height: 28px; color: #fff; }
.form-success h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-success p { margin-top: 12px; color: var(--muted); max-width: 44ch; }

.contact-side { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.contact-side h3 { font-size: 1.2rem; }
.contact-side > p { color: var(--muted); }
.contact-links { display: grid; gap: 10px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 20, 0.35);
  transition: border-color 0.3s, background-color 0.3s, transform 0.35s var(--ease);
}
.contact-link:hover { border-color: rgba(155, 123, 255, 0.55); background: rgba(91, 75, 255, 0.1); transform: translateX(4px); }
.contact-link__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(91, 75, 255, 0.18);
  color: var(--lavender);
  flex-shrink: 0;
}
.contact-link__icon svg { width: 20px; height: 20px; }
.contact-link small { display: block; font-size: 0.75rem; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-link span { font-weight: 500; overflow-wrap: anywhere; }
.contact-side__meta { margin-top: auto; font-size: 0.86rem; color: var(--faint); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 120px;
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; gap: 32px; }
.footer__tagline { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer__nav a, .footer__social a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s; }
.footer__nav a:hover, .footer__social a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--faint);
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(110deg, var(--violet-deep), var(--violet) 60%, #7556FF);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px -10px rgba(91, 75, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s, box-shadow 0.3s;
}
.float-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s;
}
.float-cta:hover { box-shadow: 0 18px 50px -10px rgba(91, 75, 255, 1); }
.float-cta__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
/* pulse ring uses transform + opacity so it stays smooth */
.float-cta__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero fades in straight away on load, without waiting for scroll */
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: fade-up 0.9s var(--ease) var(--delay, 0s) both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
}

/* ==========================================================================
   Tablet ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; }

  .audience__list { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .audience__item:last-child { grid-column: auto; }
  .audience__item:nth-child(4) { grid-column: span 1; }

  .service {
    grid-template-columns: 80px 1fr 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 36px 8px;
  }
  .service__num { grid-row: auto; }

  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .case--featured { grid-column: 1 / -1; }
  .case--featured .case__media { aspect-ratio: 16 / 8; }

  .offer__steps { grid-template-columns: repeat(3, 1fr); }
  .offer__step { flex-direction: column; }
  .offer__step p { padding-top: 0; }

  .about__grid { grid-template-columns: repeat(2, 1fr); }

  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }

  .footer__grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

/* ==========================================================================
   Desktop ≥ 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  :root { --gutter: 40px; }

  .nav { display: flex; gap: 30px; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }

  .hero__grid { grid-template-columns: 1.5fr 0.85fr; gap: 48px; }
  .hero__visual { max-width: none; }

  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
  .section-head--split .section-top { grid-column: 1 / -1; }

  .audience__list { grid-template-columns: repeat(5, 1fr); }
  .audience__item { min-height: 190px; justify-content: space-between; }

  .work__grid { grid-template-columns: repeat(3, 1fr); }
  .case--featured { grid-column: span 2; grid-row: span 2; }
  .case--featured .case__media { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .case--featured h3 { font-size: 1.6rem; }

  .process__list { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 0;
  }
  .step::before { left: 56px; right: -20px; top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-strong), rgba(155, 123, 255, 0.4)); }
  .step__num { grid-row: auto; margin-bottom: 14px; }
  .step h3 { padding-top: 0; }

  .faq__layout { grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
  .faq__layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; margin-bottom: 0; }

  .contact__layout { grid-template-columns: 1.45fr 0.85fr; }

  .footer__grid { grid-template-columns: 1.4fr 1fr auto; }
}

/* Cursor glow only where a real mouse exists */
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- Reduced motion: switch animations off ---------- */
@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;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__visual img { animation: none; }
  .cursor-glow { display: none; }
}
