/* Wain — Gildmere calm + DigitalFive agency + creative energy */
:root {
  --ink: #12081c;
  --text: #1a1024;
  --text-soft: #5c5268;
  --muted: #7a7188;
  --white: #ffffff;
  --surface: #faf8fc;
  --surface-2: #f4f0f8;
  /* Electric magenta-violet — matched to hero vortex (not blue-indigo) */
  --purple: #9d3df2;
  --purple-mid: #b34dff;
  --purple-soft: #c77dff;
  --purple-deep: #7a24c9;
  --purple-glow: #d946ef;
  --purple-tint: #f8f0ff;
  --purple-line: rgba(157, 61, 242, 0.2);
  --purple-rgb: 157, 61, 242;
  --line: rgba(18, 8, 28, 0.08);
  --shadow: 0 10px 30px rgba(18, 8, 28, 0.06);
  --shadow-lg: 0 22px 50px rgba(18, 8, 28, 0.1);
  --max: 70rem;
  --nav-h: 4.25rem;
  --font: Inter, system-ui, -apple-system, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.35rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Base + soft brand atmosphere (not flat empty colour) */
  background-color: #f7f4fb;
  background-image:
    radial-gradient(ellipse 90% 60% at 0% -10%, rgba(157, 61, 242, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(217, 70, 239, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(122, 36, 201, 0.07), transparent 55%),
    linear-gradient(180deg, #faf8fc 0%, #f3eef9 50%, #f7f4fb 100%);
  background-attachment: fixed;
  position: relative;
}

/*
  Premium business atmosphere (web craft) — fixed under all pages.
  Motifs: blueprint grid, browser frames, layout blocks, network nodes.
  Does not affect layout or content.
*/

/*
  WordPress-style page overlay image (transparent PNG on colour background).
  Asset: image/bg-overlay.png — bold solid 3840×2160 web-craft motifs.
  Behind content (z-index 0). Section fills are light so this shows through.
*/
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("../image/bg-overlay.png?v=4");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    /* Large soft browser window — left */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='220' fill='none' viewBox='0 0 340 220'%3E%3Crect x='8' y='8' width='324' height='204' rx='14' stroke='%239d3df2' stroke-opacity='0.22' stroke-width='1.25'/%3E%3Cpath d='M8 44h324' stroke='%239d3df2' stroke-opacity='0.16'/%3E%3Ccircle cx='28' cy='26' r='4' fill='%239d3df2' fill-opacity='0.2'/%3E%3Ccircle cx='44' cy='26' r='4' fill='%239d3df2' fill-opacity='0.14'/%3E%3Ccircle cx='60' cy='26' r='4' fill='%239d3df2' fill-opacity='0.1'/%3E%3Crect x='88' y='18' width='160' height='16' rx='8' fill='%239d3df2' fill-opacity='0.07'/%3E%3Crect x='28' y='64' width='120' height='10' rx='5' fill='%239d3df2' fill-opacity='0.09'/%3E%3Crect x='28' y='86' width='180' height='8' rx='4' fill='%239d3df2' fill-opacity='0.06'/%3E%3Crect x='28' y='106' width='140' height='8' rx='4' fill='%239d3df2' fill-opacity='0.05'/%3E%3Crect x='28' y='136' width='90' height='48' rx='10' fill='%239d3df2' fill-opacity='0.06' stroke='%239d3df2' stroke-opacity='0.12'/%3E%3Crect x='132' y='136' width='90' height='48' rx='10' fill='%239d3df2' fill-opacity='0.05' stroke='%239d3df2' stroke-opacity='0.1'/%3E%3Crect x='236' y='136' width='76' height='48' rx='10' fill='%239d3df2' fill-opacity='0.04' stroke='%239d3df2' stroke-opacity='0.09'/%3E%3C/svg%3E"),
    /* Compact mobile frame — right */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='220' fill='none' viewBox='0 0 120 220'%3E%3Crect x='10' y='6' width='100' height='208' rx='18' stroke='%23d946ef' stroke-opacity='0.2' stroke-width='1.25'/%3E%3Crect x='42' y='16' width='36' height='6' rx='3' fill='%23d946ef' fill-opacity='0.12'/%3E%3Crect x='24' y='40' width='72' height='8' rx='4' fill='%239d3df2' fill-opacity='0.08'/%3E%3Crect x='24' y='58' width='56' height='6' rx='3' fill='%239d3df2' fill-opacity='0.06'/%3E%3Crect x='24' y='80' width='72' height='44' rx='8' fill='%239d3df2' fill-opacity='0.05' stroke='%239d3df2' stroke-opacity='0.1'/%3E%3Crect x='24' y='136' width='72' height='10' rx='5' fill='%239d3df2' fill-opacity='0.07'/%3E%3Crect x='24' y='156' width='48' height='10' rx='5' fill='%239d3df2' fill-opacity='0.05'/%3E%3C/svg%3E"),
    /* Network / web nodes — top-right */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' fill='none' viewBox='0 0 280 200'%3E%3Cpath d='M40 120L90 60L150 90L210 40L250 100' stroke='%239d3df2' stroke-opacity='0.14' stroke-width='1'/%3E%3Cpath d='M90 60L110 140M150 90L180 150M210 40L160 20' stroke='%23d946ef' stroke-opacity='0.1' stroke-width='1'/%3E%3Ccircle cx='40' cy='120' r='5' fill='%239d3df2' fill-opacity='0.18'/%3E%3Ccircle cx='90' cy='60' r='6' fill='%239d3df2' fill-opacity='0.16'/%3E%3Ccircle cx='150' cy='90' r='5' fill='%23d946ef' fill-opacity='0.14'/%3E%3Ccircle cx='210' cy='40' r='7' fill='%239d3df2' fill-opacity='0.15'/%3E%3Ccircle cx='250' cy='100' r='4' fill='%239d3df2' fill-opacity='0.12'/%3E%3Ccircle cx='110' cy='140' r='4' fill='%239d3df2' fill-opacity='0.1'/%3E%3Ccircle cx='180' cy='150' r='5' fill='%23d946ef' fill-opacity='0.1'/%3E%3C/svg%3E"),
    /* Layout wireframe blocks — bottom-right */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='160' fill='none' viewBox='0 0 260 160'%3E%3Crect x='12' y='16' width='236' height='28' rx='6' stroke='%239d3df2' stroke-opacity='0.14'/%3E%3Crect x='12' y='56' width='72' height='88' rx='6' stroke='%239d3df2' stroke-opacity='0.12'/%3E%3Crect x='96' y='56' width='152' height='40' rx='6' stroke='%239d3df2' stroke-opacity='0.12'/%3E%3Crect x='96' y='108' width='72' height='36' rx='6' stroke='%23d946ef' stroke-opacity='0.1'/%3E%3Crect x='176' y='108' width='72' height='36' rx='6' stroke='%239d3df2' stroke-opacity='0.1'/%3E%3C/svg%3E"),
    /* Code-line marks — mid-left */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' fill='none' viewBox='0 0 160 120'%3E%3Cpath d='M24 28h48M24 44h72M24 60h40M24 76h64M24 92h32' stroke='%239d3df2' stroke-opacity='0.12' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M12 20l-6 20 6 20M52 20l6 20-6 20' stroke='%23d946ef' stroke-opacity='0.14' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:
    4% 78%,
    94% 62%,
    88% 12%,
    78% 88%,
    6% 42%;
  background-size:
    min(340px, 42vw) auto,
    min(120px, 18vw) auto,
    min(280px, 36vw) auto,
    min(260px, 34vw) auto,
    min(160px, 22vw) auto;
  background-repeat: no-repeat;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, #000 15%, transparent 78%);
}

/* Blueprint grid + dual scale (design craft) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  background-image:
    linear-gradient(rgba(157, 61, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 61, 242, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(157, 61, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 61, 242, 0.035) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 256px 256px, 256px 256px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 18%, transparent 78%);
}

/* Soft brand orbs + light beams */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 72%, rgba(179, 77, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(217, 70, 239, 0.12), transparent 26%),
    radial-gradient(circle at 58% 88%, rgba(157, 61, 242, 0.1), transparent 32%),
    radial-gradient(ellipse 50% 30% at 70% 55%, rgba(157, 61, 242, 0.05), transparent 70%),
    linear-gradient(125deg, transparent 40%, rgba(157, 61, 242, 0.035) 50%, transparent 60%),
    linear-gradient(55deg, transparent 55%, rgba(217, 70, 239, 0.03) 65%, transparent 75%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -1.5%, 0) scale(1.03); }
}

/* Keep page content above atmosphere + overlay image */
body > section,
body > footer,
body > div {
  position: relative;
  z-index: 1;
}

body > .nav,
body > header {
  z-index: 100;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

/* ——— Type ——— */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.section-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 2.75rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.88rem 1.55rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 48%, var(--purple-mid) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(var(--purple-rgb), 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 55%, var(--purple-soft) 100%);
  box-shadow: 0 12px 34px rgba(var(--purple-rgb), 0.45);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(18, 16, 26, 0.04);
}

.btn-secondary:hover {
  border-color: var(--purple-line);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.68rem 1.15rem;
}

/* ——— Nav ——— */
/* Default: white bar. Scrolled: purple bar. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(18, 16, 26, 0.05);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* When scrolling: purple header — same hue family as vortex */
.nav.scrolled {
  background: linear-gradient(105deg, var(--purple-deep) 0%, var(--purple) 55%, #a855f7 100%);
  border-bottom-color: transparent;
  box-shadow: 0 6px 28px rgba(var(--purple-rgb), 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.25s;
}

.logo span {
  color: var(--purple);
  transition: color 0.25s;
}

.nav.scrolled .logo { color: #fff; }
.nav.scrolled .logo span { color: #f0d4ff; }

.nav-links {
  display: none;
  gap: 1.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
}

.nav-links a {
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--purple); }

.nav.scrolled .nav-links a { color: rgba(255, 255, 255, 0.88); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: #fff; }

.nav-cta { display: none; }

/* CTA on white header */
.nav .nav-cta.btn-primary {
  background: var(--purple);
  color: #fff;
}

/* CTA on purple scrolled header — white pill */
.nav.scrolled .nav-cta.btn-primary {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nav.scrolled .nav-cta.btn-primary:hover {
  background: #f5f3ff;
  color: var(--purple-deep);
}

.menu-btn {
  background: none;
  border: none;
  color: var(--ink);
  padding: 0.35rem;
  cursor: pointer;
  transition: color 0.25s;
}

.nav.scrolled .menu-btn { color: #fff; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.4rem;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}

.nav.scrolled .mobile-menu {
  background: var(--purple-deep);
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.mobile-menu.open { display: flex; }

.mobile-menu a:not(.btn):hover,
.mobile-menu a.active { color: var(--purple); }

.nav.scrolled .mobile-menu a:not(.btn):hover,
.nav.scrolled .mobile-menu a.active { color: #fff; }

.nav.scrolled .mobile-menu .btn-primary {
  background: #fff;
  color: var(--purple);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ——— Hero: light-cover video (between contain & full cover) ——— */
.hero {
  position: relative;
  /* Video/content starts below fixed header */
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  color: #fff;
  /* Any remaining edge uses brand dark, not white */
  background: #0a0614;
  isolation: isolate;
  transform: none;
  filter: none;
}

/*
  Middle option:
  - object-fit: contain = full original frame (no heavy crop)
  - scale(1.1–1.18) = light zoom to eat letterbox bars
  Result: almost full-bleed, much less crop than cover.
*/
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: 45% center; /* slight left bias for right-side text */
  border: 0;
  outline: none;
  filter: none !important;
  opacity: 1;
  background: #0a0614;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Light cover: ~10% zoom on desktop */
  transform: translate3d(-50%, -50%, 0) scale(1.1);
  -webkit-transform: translate3d(-50%, -50%, 0) scale(1.1);
}

/* Taller phones need a touch more fill */
@media (max-width: 899px) {
  .hero-video {
    transform: translate3d(-50%, -50%, 0) scale(1.16);
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1.16);
    object-position: center center;
  }
}

/* Very wide screens: less zoom needed */
@media (min-aspect-ratio: 16/9) and (min-width: 1100px) {
  .hero-video {
    transform: translate3d(-50%, -50%, 0) scale(1.08);
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1.08);
  }
}

/* No colour wash over the vortex */
.hero-overlay {
  display: none;
}

/*
  Desktop: leave room for the vortex on the left,
  sit copy just after it.
  Tablet/mobile: centre the copy in the frame.
*/
.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-layout {
    /* ~ vortex zone | copy starts where energy settles */
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    justify-items: stretch;
    text-align: left;
  }
}

.hero-space { display: none; }

@media (min-width: 900px) {
  .hero-space { display: block; }
}

/* Open type — no panel, no card */
.hero-content {
  position: relative;
  max-width: 32rem;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 900px) {
  .hero-content {
    justify-self: start;
    padding-left: 0.5rem;
    max-width: 30rem;
  }
}

/* Tablet + mobile: vertically centred, text in the middle */
@media (max-width: 899px) {
  .hero {
    align-items: center;
    justify-content: center;
    padding: 6.5rem 0 4rem;
    text-align: center;
  }

  .hero-layout {
    justify-items: center;
  }

  .hero-content {
    max-width: 28rem;
    margin-inline: auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Small phones: a bit more bottom air so CTAs don’t feel cramped */
@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3.25rem;
  }

  .hero-content {
    max-width: none;
  }
}

.hero .eyebrow {
  color: #f5e8ff;
  background: rgba(157, 61, 242, 0.22);
  border: 1px solid rgba(199, 125, 255, 0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 1.1rem;
  /* Strong text shadow = readable without fogging the video */
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.65),
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 8px 40px rgba(0, 0, 0, 0.45);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 35%, #d946ef 70%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
}

.hero-lead {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 1.65rem;
  max-width: 28rem;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 14px rgba(0, 0, 0, 0.55),
    0 6px 28px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero — photo + calm overlay (no more empty tops) */
.page-hero {
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  padding: 8.5rem 0 3.25rem;
  overflow: hidden;
  color: #fff;
  border-bottom: none;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(18, 16, 26, 0.82) 0%, rgba(45, 20, 80, 0.55) 55%, rgba(18, 16, 26, 0.45) 100%),
    linear-gradient(to top, rgba(18, 16, 26, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: #f0d4ff;
  background: rgba(157, 61, 242, 0.18);
  border: 1px solid rgba(199, 125, 255, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.page-hero .section-title {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero .section-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Image + text split band */
.media-band {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .media-band {
    grid-template-columns: 1.05fr 1fr;
    min-height: 22rem;
  }

  .media-band.reverse {
    grid-template-columns: 1fr 1.05fr;
  }

  .media-band.reverse .media-band-photo { order: 2; }
  .media-band.reverse .media-band-copy { order: 1; }
}

.media-band-photo {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
}

.media-band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

@media (min-width: 900px) {
  .media-band-photo,
  .media-band-photo img {
    min-height: 100%;
  }
}

.media-band-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .media-band-copy { padding: 2.5rem 2.25rem; }
}

.media-band-copy .section-title {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.media-band-copy p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Full-bleed image strip */
.visual-strip {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .visual-strip { min-height: 20rem; }
}

.visual-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.visual-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 26, 0.78) 0%, rgba(18, 16, 26, 0.35) 100%);
  z-index: 1;
}

.visual-strip .container {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0;
  color: #fff;
  max-width: 36rem;
}

.visual-strip .section-title { color: #fff; }
.visual-strip .section-lead { color: rgba(255, 255, 255, 0.8); margin: 0; }
.visual-strip .eyebrow { color: #f0d4ff; }

/* Case study blocks on Work */
.case {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.case:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 960px) {
  .case {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
  }
}

.case-preview {
  min-width: 0;
}

.case-preview .project-card {
  margin: 0;
}

.case-writeup {
  padding: 0.25rem 0;
}

.case-writeup .project-meta {
  margin-bottom: 0.75rem;
}

.case-writeup h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.case-writeup .lede {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.case-meta-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}

.case-meta-item strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.case-meta-item span {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}

.case-writeup h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.15rem 0 0.45rem;
}

.case-writeup ul {
  margin: 0 0 0.5rem 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.case-writeup li { margin-bottom: 0.3rem; }

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

/* Form status */
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.show { display: block; }

.form-status.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 6.5rem 0; }
}

.section-tight {
  padding: 4rem 0;
}

/* Light section fills so page overlay image can show through (WordPress-style) */
.bg-white {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bg-surface {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(157, 61, 242, 0.05), transparent 50%),
    rgba(250, 248, 252, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bg-tint {
  background: rgba(248, 240, 255, 0.3);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bg-ink {
  background: var(--ink);
  color: #fff;
}

.bg-ink .section-title { color: #fff; }
.bg-ink .section-lead { color: rgba(255, 255, 255, 0.7); }
.bg-ink .eyebrow { color: var(--purple-soft); }

/* ——— Cards (calm) ——— */
.cards {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.4rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(18, 16, 26, 0.03);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--purple-line);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: var(--purple-tint);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
}

.card-link:hover { gap: 0.5rem; }

/* Service teaser on home */
.service-teaser .card { padding: 1.7rem 1.5rem; }

/* Feature strip */
.feature-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-row { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.feature-item {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.feature-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Steps */
.step {
  text-align: left;
  padding: 1.6rem 1.4rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--purple);
  background: var(--purple-tint);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Stats — single calm row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-value {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Portfolio ——— */
.work-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-line);
}

.browser {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: #ebe8f1;
}

.browser-dots {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.browser-dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  display: block;
}

.browser-dots .r { background: #ff5f57; }
.browser-dots .y { background: #febc2e; }
.browser-dots .g { background: #28c840; }

.browser-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-url svg {
  flex-shrink: 0;
  width: 0.72rem;
  height: 0.72rem;
  opacity: 0.6;
}

.browser-live {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #16a34a;
}

.browser-live::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Portfolio: scrollable site preview + hover overlay */
.site-preview {
  position: relative;
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  background: #0f0f14;
}

.site-scroll {
  height: clamp(18rem, 52vw, 26rem);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--purple-rgb), 0.45) rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.site-scroll::-webkit-scrollbar { width: 6px; }
.site-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--purple-rgb), 0.45);
  border-radius: 999px;
}

.site-scroll img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Hover overlay — Live preview */
.site-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(30, 8, 48, 0.55) 0%,
    rgba(122, 36, 201, 0.72) 45%,
    rgba(18, 8, 28, 0.8) 100%
  );
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.project-card:hover .site-overlay,
.project-card:focus-within .site-overlay {
  opacity: 1;
  visibility: visible;
}

/* Overlay never blocks scroll — only the button receives clicks */
.site-overlay .btn {
  pointer-events: auto;
  min-width: 10.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.site-overlay-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.site-overlay-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 16rem;
}

/* Touch / no-hover: compact bottom action bar so Live preview still works */
@media (hover: none) {
  .site-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    background: linear-gradient(to top, rgba(18, 8, 28, 0.88) 0%, rgba(18, 8, 28, 0.35) 45%, transparent 70%);
    justify-content: flex-end;
    padding-bottom: 1.15rem;
  }

  .site-overlay-hint { display: none; }

  .site-overlay .btn { pointer-events: auto; }
}

.work-grid-simple {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .work-grid-simple {
    grid-template-columns: 1fr 1fr;
  }
}

.work-scroller .project-card {
  flex: 0 0 min(92vw, 34rem);
}

.project-card .browser-bar {
  border-radius: 1rem 1rem 0 0;
}

.project-card {
  border-radius: 1rem;
}

.project-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--purple);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--purple-tint);
}

.project-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.2rem;
}

/* Home featured work — horizontal calm scroll */
.work-scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--purple-rgb), 0.4) rgba(18, 16, 26, 0.06);
}

.work-scroller .project-card {
  flex: 0 0 min(90vw, 32rem);
  scroll-snap-align: start;
}

.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.work-toolbar .section-head { margin-bottom: 0; }

.scroll-btns { display: flex; gap: 0.45rem; }

.scroll-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.scroll-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* Split / about */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.split-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.split-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--purple-soft);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 4.5rem 0;
}

.cta-band .section-title { margin-bottom: 0.75rem; }
.cta-band .section-lead {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.25rem;
  }
}

.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.contact-chip .ico {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-chip a:hover { color: var(--purple); }

.form-card {
  padding: 1.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .form-card { padding: 2.1rem 2.2rem; }
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a7188' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: #9b96a8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple-soft);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--purple-rgb), 0.14);
}

.field textarea { resize: vertical; min-height: 7.5rem; }

.field .req { color: var(--purple); }

.field-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-card .btn { width: 100%; margin-top: 0.35rem; }

.form-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.form-note a {
  color: var(--purple);
  font-weight: 600;
}

.what-next {
  margin-top: 1.75rem;
  padding: 1.25rem 1.2rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-line);
  border-radius: 1rem;
}

.what-next h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.what-next ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.what-next li { margin-bottom: 0.35rem; }
.what-next li:last-child { margin-bottom: 0; }

/* Trust line */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-line span::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--purple-soft);
  flex-shrink: 0;
}

/* FAQ accordion */
.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--purple-line);
  box-shadow: 0 6px 20px rgba(18, 8, 28, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple);
  font-size: 1.1rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--purple);
  color: #fff;
}

.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-body {
  border-top-color: var(--line);
  padding-top: 0.9rem;
}

/* Home process strip */
.process-home {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .process-home {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
}

.process-home .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(18, 8, 28, 0.03);
}

.process-home .step:hover {
  border-color: var(--purple-line);
  box-shadow: var(--shadow);
}

/* Services page — richer cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .card-icon { margin-bottom: 1rem; }

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.service-best {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.service-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-list li {
  font-size: 0.84rem;
  color: var(--text-soft);
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--purple-soft);
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.audience-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
}

.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.audience-card:hover {
  border-color: var(--purple-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.service-highlight {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .service-highlight {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.service-highlight-copy .section-title {
  text-align: left;
  margin-bottom: 0.85rem;
}

.service-highlight-copy .section-lead {
  margin-inline: 0;
  margin-bottom: 1.25rem;
}

/* Founder / portrait block */
.founder {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .founder {
    grid-template-columns: minmax(0, 18rem) 1fr;
    gap: 3rem;
  }
}

.founder-photo {
  position: relative;
  max-width: 18rem;
  margin-inline: auto;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--purple-line);
  box-shadow:
    0 16px 40px rgba(18, 8, 28, 0.12),
    0 0 0 6px rgba(var(--purple-rgb), 0.08);
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.founder-copy .section-title {
  text-align: left;
}

.founder-copy .section-lead {
  margin-bottom: 0.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.pill-row span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--purple-deep);
  background: var(--purple-tint);
  border: 1px solid var(--purple-line);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.footer .logo { color: #fff; }
.footer .logo span { color: var(--purple-soft); }

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  margin-top: 0.45rem;
  max-width: 18rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-cols { justify-content: flex-end; }
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
}

/* Icons */
.icon-svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-svg.sm { width: 0.95rem; height: 0.95rem; }
.icon-svg.xs { width: 0.85rem; height: 0.85rem; }

/* Utility */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

.text-link {
  color: var(--purple);
  font-weight: 600;
}

.text-link:hover { text-decoration: underline; }

/* ========== Motion system ========== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.75s;
}

/* Hero load-in */
.hero-content > * {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  animation: hero-in var(--reveal-duration) var(--ease-out) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Subtle video scale breathing (very light) */
.hero-video {
  animation: hero-video-in 1.4s var(--ease-out) both;
}

@keyframes hero-video-in {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-left {
  opacity: 0;
  transform: translate3d(-1.5rem, 0, 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-right {
  opacity: 0;
  transform: translate3d(1.5rem, 0, 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children when parent is visible */
.reveal-stagger > .reveal {
  --reveal-delay: 0s;
}

/* Card / button motion upgrades */
.card,
.audience-card,
.project-card,
.stat,
.step {
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.card-icon {
  transition: transform 0.4s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}

.btn {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.3s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.2s ease;
}

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

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

/* Soft float on founder photo */
.founder-photo {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}

.founder-photo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(18, 8, 28, 0.16),
    0 0 0 6px rgba(var(--purple-rgb), 0.12);
}

/* Media band image subtle zoom on hover */
.media-band-photo {
  overflow: hidden;
}

.media-band-photo img {
  transition: transform 0.8s var(--ease-out);
}

.media-band:hover .media-band-photo img {
  transform: scale(1.04);
}

/* Process step numbers pulse-in when visible */
.step-num {
  transition: transform 0.45s var(--ease-out), box-shadow 0.4s ease;
}

.reveal.is-visible .step-num,
.step.reveal.is-visible .step-num {
  animation: pop-in 0.55s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0.1s);
}

@keyframes pop-in {
  from {
    transform: scale(0.7);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* FAQ open animation */
.faq-item .faq-body {
  transition: padding 0.25s ease;
}

/* Nav link underline motion */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  opacity: 0.85;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav.scrolled .nav-links a::after {
  background: #fff;
}

/* Site preview overlay already transitions — smooth scroll hint */
.site-scroll {
  scroll-behavior: smooth;
}

/* Reduced motion: kill motion system */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .hero-video {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .card:hover,
  .btn:hover,
  .founder-photo:hover,
  .media-band:hover .media-band-photo img {
    transform: none !important;
  }

  .nav-links a::after {
    transition: none;
  }

  body::after {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Soften business motifs on small screens (still present, less dense) */
@media (max-width: 700px) {
  html::before {
    opacity: 0.32;
    background-size:
      min(240px, 70vw) auto,
      min(90px, 28vw) auto,
      min(180px, 55vw) auto,
      min(180px, 55vw) auto,
      min(120px, 40vw) auto;
  }

  html::after {
    opacity: 0.1;
    background-size: cover;
    background-position: center center;
  }
}

/* ========== Pulses + colour hovers + atmosphere polish ========== */

/* Primary CTA soft pulse (attention without spam) */
.btn-primary {
  position: relative;
  animation: btn-pulse 2.8s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow: 0 8px 28px rgba(var(--purple-rgb), 0.38);
  }
  50% {
    box-shadow:
      0 8px 28px rgba(var(--purple-rgb), 0.38),
      0 0 0 0 rgba(var(--purple-rgb), 0.35);
  }
}

/* Stronger pulse ring on hero / main CTAs */
.hero .btn-primary,
.cta-band .btn-primary,
.cta-actions .btn-primary {
  animation: btn-pulse-ring 2.6s ease-out infinite;
}

@keyframes btn-pulse-ring {
  0% {
    box-shadow:
      0 8px 28px rgba(var(--purple-rgb), 0.4),
      0 0 0 0 rgba(var(--purple-rgb), 0.45);
  }
  70% {
    box-shadow:
      0 8px 28px rgba(var(--purple-rgb), 0.4),
      0 0 0 14px rgba(var(--purple-rgb), 0);
  }
  100% {
    box-shadow:
      0 8px 28px rgba(var(--purple-rgb), 0.4),
      0 0 0 0 rgba(var(--purple-rgb), 0);
  }
}

.btn-primary:hover {
  animation: none;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-glow) 55%, var(--purple-soft) 100%);
  box-shadow:
    0 12px 36px rgba(var(--purple-rgb), 0.5),
    0 0 24px rgba(217, 70, 239, 0.35);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--purple-tint);
  border-color: rgba(var(--purple-rgb), 0.45);
  color: var(--purple-deep);
  box-shadow: 0 8px 24px rgba(var(--purple-rgb), 0.12);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: 0 0 20px rgba(199, 125, 255, 0.25);
}

/* Card colour hover — fits purple system */
.card:hover,
.service-card:hover,
.audience-card:hover {
  border-color: rgba(var(--purple-rgb), 0.4);
  background: linear-gradient(165deg, #fff 0%, var(--purple-tint) 140%);
  box-shadow:
    0 16px 40px rgba(18, 8, 28, 0.08),
    0 0 0 1px rgba(var(--purple-rgb), 0.08);
}

.card:hover .card-icon {
  background: linear-gradient(145deg, rgba(var(--purple-rgb), 0.2), rgba(217, 70, 239, 0.15));
  border-color: rgba(var(--purple-rgb), 0.45);
  color: var(--purple-deep);
  box-shadow: 0 0 20px rgba(var(--purple-rgb), 0.25);
}

.card:hover h3 {
  color: var(--purple-deep);
}

/* Step numbers — gentle pulse when visible */
.step-num {
  animation: soft-pulse 3s ease-in-out infinite;
}

@keyframes soft-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--purple-rgb), 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(var(--purple-rgb), 0);
  }
}

.step:hover .step-num {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  animation: none;
  transform: scale(1.06);
}

.step:hover h3 {
  color: var(--purple-deep);
}

/* Stats colour hover */
.stat:hover {
  border-color: rgba(var(--purple-rgb), 0.35);
  background: linear-gradient(180deg, #fff, var(--purple-tint));
}

.stat:hover .stat-value {
  color: var(--purple-glow);
  filter: drop-shadow(0 0 12px rgba(217, 70, 239, 0.35));
}

/* Trust dots pulse */
.trust-line span::before {
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* Eyebrow soft glow pulse */
.eyebrow {
  transition: color 0.25s ease, text-shadow 0.3s ease;
}

.section-head:hover .eyebrow,
.eyebrow:hover {
  color: var(--purple-mid);
  text-shadow: 0 0 18px rgba(var(--purple-rgb), 0.35);
}

/* Logo colour shift */
.logo {
  transition: color 0.25s ease, filter 0.3s ease;
}

.logo:hover span {
  color: var(--purple-glow);
  filter: drop-shadow(0 0 8px rgba(217, 70, 239, 0.5));
}

.nav.scrolled .logo:hover {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

/* Project card hover colour */
.project-card:hover {
  border-color: rgba(var(--purple-rgb), 0.4);
  box-shadow:
    0 20px 48px rgba(18, 8, 28, 0.1),
    0 0 0 1px rgba(var(--purple-rgb), 0.1),
    0 0 40px rgba(var(--purple-rgb), 0.08);
}

.project-card:hover .project-tag {
  background: rgba(var(--purple-rgb), 0.16);
  color: var(--purple-deep);
}

.project-card:hover h3 {
  color: var(--purple-deep);
}

/* Contact chips */
.contact-chip {
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.contact-chip:hover {
  border-color: rgba(var(--purple-rgb), 0.4);
  background: var(--purple-tint);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--purple-rgb), 0.1);
}

.contact-chip:hover .ico {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 16px rgba(var(--purple-rgb), 0.4);
}

/* Form focus glow already exists — strengthen submit hover */
.form-card .btn-primary:hover {
  filter: brightness(1.05);
}

/* Footer links colour pop */
.footer-col a {
  transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
  color: var(--purple-soft);
  padding-left: 0.25rem;
}

/* Scroll buttons colour pulse on hover */
.scroll-btn:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-glow));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--purple-rgb), 0.4);
}

/* Section decorative edge glow */
.section.bg-white,
.section.bg-surface {
  position: relative;
}

.section.bg-surface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, 36rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--purple-rgb), 0.35), transparent);
  pointer-events: none;
}

/* Floating ambient orbs inside sections (extra depth) */
.bg-surface {
  position: relative;
  overflow: hidden;
}

/* Reduce motion: kill pulse/atmosphere animations */
@media (prefers-reduced-motion: reduce) {
  body::after,
  .btn-primary,
  .hero .btn-primary,
  .cta-band .btn-primary,
  .cta-actions .btn-primary,
  .step-num,
  .trust-line span::before {
    animation: none !important;
  }

  body::after {
    transform: none !important;
  }
}
