/* ==========================================================================
   ALL Creative Solutions — global stylesheet
   Brand: deep violet base, blue→cyan & purple→pink gradient blobs, gold accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand purples */
  --purple-950: #2A0B57;
  --purple-900: #3A1074;
  --purple-800: #4C1D8C; /* primary background */
  --purple-700: #5B27A6;
  --purple-600: #7C3AED;

  /* Gradients */
  --grad-blue:  linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  --grad-pink:  linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-text:  linear-gradient(100deg, #A78BFA 0%, #22D3EE 60%, #F5B942 100%);

  /* Accent */
  --gold: #F5B942;
  --gold-soft: rgba(245, 185, 66, 0.14);

  /* Neutrals */
  --white: #FFFFFF;
  --ink-900: #14101F;
  --ink-700: #38304F;
  --ink-500: #6B6480;
  --paper: #FFFFFF;
  --paper-alt: #F6F4FB;
  --line-light: #E7E2F2;

  /* On-dark text */
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.06);

  /* Type */
  --font-display: "Poppins", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 45px rgba(24, 8, 56, 0.10);
  --shadow-card-hover: 0 26px 60px rgba(24, 8, 56, 0.16);
  --shadow-dark: 0 24px 60px rgba(10, 2, 32, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink-900);
  padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark {
  background: var(--purple-800);
  color: var(--on-dark);
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--on-dark-muted); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gold); opacity: 0.85;
}
.eyebrow--plain::before { display: none; }
.section--alt .eyebrow, .section:not(.section--dark) .eyebrow { color: #B4741A; }
.section--dark .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 15px 30px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--gold); color: #2A1600;
  box-shadow: 0 12px 28px rgba(245, 185, 66, 0.32);
}
.btn--primary:hover { background: #FFC85C; box-shadow: 0 18px 36px rgba(245, 185, 66, 0.42); }
.btn--gradient {
  background-image: var(--grad-pink); color: var(--white);
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.36);
}
.btn--gradient:hover { box-shadow: 0 20px 42px rgba(236, 72, 153, 0.42); }
.btn--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline {
  background: transparent; color: var(--purple-800);
  border-color: rgba(76, 29, 140, 0.3);
}
.btn--outline:hover { background: rgba(76, 29, 140, 0.06); border-color: var(--purple-800); }
.btn--sm { padding: 11px 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--purple-600);
}
.arrow-link svg { transition: transform 0.2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link { color: #67E8F9; }

/* ---------- Decorative blobs ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; filter: blur(58px); opacity: 0.42;
  will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--a {
  width: 44vw; min-width: 320px; aspect-ratio: 1.15 / 1;
  background-image: var(--grad-pink);
  border-radius: 58% 42% 37% 63% / 46% 55% 45% 54%;
  top: -12%; right: -8%;
}
.blob--b {
  width: 34vw; min-width: 260px; aspect-ratio: 1 / 1;
  background-image: var(--grad-blue);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  bottom: -18%; left: -10%;
  animation-delay: -7s; animation-duration: 26s;
}
.blob--c {
  width: 20vw; min-width: 180px; aspect-ratio: 1 / 1;
  background-image: var(--grad-blue);
  border-radius: 50% 50% 42% 58% / 55% 45% 55% 45%;
  top: 46%; right: 30%; opacity: 0.28;
  animation-delay: -13s; animation-duration: 30s;
}
.blob--sm { width: 16vw; min-width: 150px; filter: blur(44px); opacity: 0.38; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -4%, 0) scale(1.07); }
  100% { transform: translate3d(-3%, 3%, 0) scale(0.96); }
}
.section--dark > .container, .hero > .container { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(58, 16, 116, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--on-dark-line);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(36, 9, 74, 0.94);
  box-shadow: 0 12px 34px rgba(12, 2, 34, 0.34);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text {
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: 1.02rem; line-height: 1.12; letter-spacing: -0.01em;
}
.brand__text span { display: block; font-weight: 500; opacity: 0.82; font-size: 0.9em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--on-dark-muted); padding: 9px 14px; border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px; margin-top: 3px;
  background-image: var(--grad-text);
}
.nav > .btn { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--on-dark-line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  margin-left: -10px; border-radius: 2px; background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, var(--purple-700) 0%, var(--purple-800) 45%, var(--purple-950) 100%);
  color: var(--on-dark);
  padding: clamp(64px, 9vw, 118px) 0 clamp(72px, 10vw, 130px);
}
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero--page { padding: clamp(56px, 7vw, 92px) 0 clamp(56px, 7vw, 92px); }
.hero__grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 7.4vw, 4.6rem);
  color: var(--white); margin-bottom: 12px; letter-spacing: -0.035em;
}
.hero__title strong { display: block; font-weight: 800; }
.hero__title em {
  display: block; font-style: normal; font-weight: 700;
}
.hero__tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.22rem); color: var(--white);
  letter-spacing: 0.01em; margin-bottom: 14px;
}
.hero p { color: var(--on-dark-muted); }
.hero__body { max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.1rem); }
.hero .btn-row { margin-top: 30px; }

.hero__note {
  display: flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 0.9rem; color: var(--on-dark-muted);
}
.hero__note strong { color: var(--white); }

/* Hero brand panel — holds the logo lockup on a soft glass card */
.hero__brand {
  position: relative;
  display: grid; place-items: center;
  width: 100%; max-width: 420px; margin-inline: auto;
  padding: clamp(34px, 5vw, 58px) clamp(28px, 4vw, 48px);
  border-radius: clamp(26px, 3.4vw, 38px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* gradient halo behind the card, echoing the cover artwork */
.hero__brand::before {
  content: ""; position: absolute; z-index: -1;
  inset: -14%; border-radius: inherit;
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(59, 130, 246, 0.55), transparent 70%),
    radial-gradient(60% 60% at 85% 85%, rgba(236, 72, 153, 0.45), transparent 70%);
  filter: blur(34px);
}
.hero__brand img {
  position: relative;
  width: 100%; max-width: 300px; height: auto;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); }
.card--glass {
  background: var(--glass); border-color: var(--on-dark-line);
  box-shadow: none; backdrop-filter: blur(6px);
}
.card--glass h3 { color: var(--white); }
.card--glass p { color: var(--on-dark-muted); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-card); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background-image: var(--grad-blue); color: var(--white);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
}
.icon-badge--pink { background-image: var(--grad-pink); box-shadow: 0 10px 24px rgba(139, 92, 246, 0.32); }
.icon-badge--gold { background: var(--gold); color: #2A1600; box-shadow: 0 10px 24px rgba(245, 185, 66, 0.3); }
.icon-badge--sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }

/* Feature / check lists */
.check-list { display: grid; gap: 11px; margin: 18px 0 0; }
.check-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start; font-size: 0.96rem; color: var(--ink-700);
}
.check-list li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background-image: var(--grad-blue);
  background-repeat: no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list li span { display: block; }
.check-list--check li { position: relative; }
.section--dark .check-list li { color: var(--on-dark-muted); }

/* SVG tick list (crisper than masks) */
.ticks { display: grid; gap: 12px; margin: 20px 0 0; }
.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: 0.95rem; line-height: 1.55;
}
.ticks li svg { margin-top: 4px; flex: none; color: var(--purple-600); }
.section--dark .ticks li { color: var(--on-dark-muted); }
.section--dark .ticks li svg { color: #67E8F9; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  background: var(--glass); border: 1px solid var(--on-dark-line);
}
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1;
  color: var(--white); margin-bottom: 8px;
}
.stat__label { font-size: 0.9rem; color: var(--on-dark-muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 26px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 34px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.plan--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--purple-600), var(--shadow-card-hover);
}
.plan__tag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #7A4A05; background: var(--gold-soft); border: 1px solid rgba(245, 185, 66, 0.5);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.plan__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
  color: var(--ink-900); margin: 0 0 6px;
}
.plan__desc { font-size: 0.93rem; color: var(--ink-500); margin: 0 0 20px; min-height: 2.9em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__amount {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.1rem, 3.6vw, 2.7rem); line-height: 1; color: var(--purple-800);
}
.plan__period { font-size: 0.95rem; color: var(--ink-500); font-weight: 500; }
.plan__meta { font-size: 0.84rem; color: var(--ink-500); margin: 0 0 22px; }
.plan__divider { height: 1px; background: var(--line-light); margin: 0 0 20px; border: 0; }
.plan .ticks { margin-top: 0; flex: 1 0 auto; }
.plan__foot { margin-top: 26px; }
.plan__includes {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 14px;
}

/* White pricing cards sitting inside a dark section must keep their own
   text colours — the .section--dark defaults would make them invisible. */
.section--dark .plan { color: var(--ink-700); }
.section--dark .plan h3,
.section--dark .plan .plan__name { color: var(--ink-900); }
.section--dark .plan p { color: var(--ink-500); }
.section--dark .plan .plan__amount { color: var(--purple-800); }
.section--dark .plan .ticks li { color: var(--ink-700); }
.section--dark .plan .ticks li svg { color: var(--purple-600); }
.section--dark .plan .btn--outline { color: var(--purple-800); border-color: rgba(76, 29, 140, 0.3); }
.section--dark .plan .btn--outline:hover { background: rgba(76, 29, 140, 0.06); border-color: var(--purple-800); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 22px;
  background: var(--gold-soft); border: 1px solid rgba(245, 185, 66, 0.42);
  border-radius: var(--radius); font-size: 0.93rem; color: var(--ink-700);
}
.notice svg { flex: none; margin-top: 2px; color: #B4741A; }
.notice strong { color: var(--ink-900); }
.section--dark .notice { color: var(--on-dark); background: rgba(245, 185, 66, 0.12); }
.section--dark .notice strong, .section--dark .notice svg { color: var(--gold); }

/* ---------- Service section headers on Services page ---------- */
.service-block + .service-block { margin-top: clamp(56px, 7vw, 92px); }
.service-block__head {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 48px);
  align-items: end; margin-bottom: clamp(28px, 4vw, 44px);
}
.service-block__head h2 { margin-bottom: 12px; }
.service-block__head p { color: var(--ink-500); margin: 0; }

/* ---------- Steps / process ---------- */
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); background-image: var(--grad-pink); margin-bottom: 16px;
}
.section--dark .step h3 { color: var(--white); }

/* ---------- Portfolio ---------- */
.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
/* Square, matching the artwork, so nothing gets cropped out of frame. */
.case-card__media {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--purple-700), #0E7490);
  display: grid; place-items: center; overflow: hidden;
}
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.case-card__body h3 { margin-bottom: 8px; }
.case-card__body p { color: var(--ink-500); font-size: 0.96rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tag {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, 0.09); color: var(--purple-700);
  border: 1px solid rgba(124, 58, 237, 0.18);
}
.tag--gold { background: var(--gold-soft); color: #7A4A05; border-color: rgba(245, 185, 66, 0.5); }
.tag--soon { background: #F1EFF8; color: var(--ink-500); border-color: var(--line-light); }

/* ---------- About ---------- */
.split {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
/* Square so the brand graphic sits in it uncropped; swap aspect-ratio to
   4 / 5 if you ever replace it with a portrait photo. */
.portrait-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1 / 1; max-width: 480px;
  background: linear-gradient(160deg, var(--purple-700), #0891B2);
  box-shadow: var(--shadow-card-hover);
  display: grid; place-items: center; position: relative;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.value-row { display: grid; gap: 18px; }
.value {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
}
.value h4 { margin-bottom: 4px; }
.value p { font-size: 0.95rem; color: var(--ink-500); margin: 0; }
.section--dark .value p { color: var(--on-dark-muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.form-card {
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.2vw, 40px);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.88rem; color: var(--ink-900); margin-bottom: 8px;
}
.field .req { color: #D33; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: 14px 16px; border: 1.5px solid var(--line-light); border-radius: var(--radius-sm);
  background: #FCFBFF; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6480' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
.field__error { display: none; font-size: 0.84rem; color: #DC2626; margin-top: 7px; }
.field__error.is-visible { display: block; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-foot { display: flex; flex-direction: column; gap: 14px; }
.form-note { font-size: 0.85rem; color: var(--ink-500); margin: 0; }
.form-status {
  display: none; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 0.94rem; font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.info-list { display: grid; gap: 14px; }
.info-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 18px 20px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.info-item:hover { transform: translateY(-2px); border-color: var(--purple-600); }
.info-item__label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 3px;
}
.info-item__value {
  font-family: var(--font-display); font-weight: 600; color: var(--ink-900);
  font-size: 1rem; margin: 0; word-break: break-word;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: clamp(20px, 3vw, 34px);
  background: radial-gradient(120% 140% at 15% 10%, var(--purple-700) 0%, var(--purple-900) 55%, var(--purple-950) 100%);
  padding: clamp(36px, 5.5vw, 68px);
  color: var(--on-dark);
  box-shadow: var(--shadow-dark);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-950); color: var(--on-dark-muted);
  padding: clamp(48px, 6vw, 76px) 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 48px);
  padding-bottom: 40px;
}
.site-footer h4 {
  color: var(--white); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer p { color: var(--on-dark-muted); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--on-dark-muted); transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--on-dark-line); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal:nth-child(2).is-visible { transition-delay: 0.08s; }
.reveal:nth-child(3).is-visible { transition-delay: 0.16s; }
.reveal:nth-child(4).is-visible { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__brand { max-width: 360px; }
  .service-block__head { grid-template-columns: 1fr; align-items: start; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  /* Anchored to the header rather than the viewport: the header's
     backdrop-filter makes it the containing block for fixed children,
     which would collapse a position:fixed drawer to the header's height. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 24px var(--gutter) 40px;
    background: var(--purple-950);
    transform: translateX(100%); transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a {
    font-size: 1.14rem; padding: 15px 8px; border-radius: 12px;
    border-bottom: 1px solid var(--on-dark-line);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 22px; }
  .header-cta > .btn { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__desc { min-height: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn { width: 100%; }
  .brand__text { font-size: 0.94rem; }
  .stats { grid-template-columns: 1fr; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .blobs, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
}
