/* StudioX (studiox.sleekmx.co.ke) — High-Contrast Obsidian & Crimson System */

@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Tinted obsidian neutrals + StudioX Crimson (OKLCH with hex fallbacks) */
  --bg-canvas: #050303;
  --bg-surface-1: #0B0808;
  --bg-surface-2: #120D0D;
  --bg-surface-3: #1B1414;
  --bg-glass: rgba(20, 15, 15, 0.84);

  --fg-primary: #F7F4F4;
  --fg-secondary: #C6BDBD;
  --fg-muted: #988E8E;

  --accent-red: #FF1A1A;
  --accent-red-hover: #DF0E0E;
  --accent-red-soft: rgba(255, 26, 26, 0.12);
  --accent-red-glow: rgba(255, 26, 26, 0.28);

  --signal-convert: #24D164;
  --signal-convert-soft: rgba(36, 209, 100, 0.12);
  --signal-warn: #F59E0B;
  --signal-warn-soft: rgba(245, 158, 11, 0.14);

  --line-subtle: rgba(247, 244, 244, 0.10);
  --line-strong: rgba(247, 244, 244, 0.20);
  --line-red: rgba(255, 26, 26, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --page-max: 1340px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--fg-primary);
}

body {
  background-color: var(--bg-canvas);
  color: var(--fg-primary);
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--accent-red);
  color: var(--fg-primary);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out-expo);
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 4px;
}

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

/* ==========================================================================
   HEADER & NAVIGATION (Matches StudioX Design Inspo)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 3, 3, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--fg-secondary);
  transition: color 0.2s var(--ease-out-expo);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--fg-primary);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.22s var(--ease-out-expo), background-color 0.22s var(--ease-out-expo), border-color 0.22s var(--ease-out-expo), box-shadow 0.22s var(--ease-out-expo);
}

.btn-primary {
  background: var(--accent-red);
  color: var(--fg-primary);
  border: 1px solid var(--accent-red);
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.28);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 26, 26, 0.38);
}

.btn-ghost {
  background: rgba(18, 13, 13, 0.78);
  color: var(--fg-primary);
  border: 1.5px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--fg-primary);
  background: var(--bg-surface-3);
  transform: translateY(-2px);
}

.btn-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fg-primary);
  color: var(--bg-canvas);
}

/* ==========================================================================
   HERO STAGE (1:1 Composition with StudioX Design Inspo)
   ========================================================================== */
.hero-stage {
  position: relative;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--line-subtle);
  overflow: hidden;
}

.hero-frame {
  position: relative;
  max-width: var(--page-max);
  margin-inline: auto;
  min-height: clamp(560px, 56vw, 740px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

.hero-backdrop {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-backdrop img {
  width: 100%;
  max-width: 1340px;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* Smooth blend behind upper-left headline only, keeping DSLR camera & red mug vivid */
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 54% at 22% 30%, rgba(5, 3, 3, 0.92) 0%, rgba(5, 3, 3, 0.58) 58%, rgba(5, 3, 3, 0) 100%),
    linear-gradient(180deg, rgba(5, 3, 3, 0) 88%, var(--bg-canvas) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 1 / span 6;
  grid-row: 1;
  padding-left: var(--gutter);
  padding-top: clamp(48px, 6.5vw, 92px);
  padding-bottom: clamp(40px, 6vw, 80px);
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4.7vw + 0.8rem, 4.55rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
}

.hero-content h1 .accent-word {
  color: var(--accent-red);
  display: inline;
}

.hero-lede {
  margin-top: 20px;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.16rem);
  line-height: 1.58;
  color: var(--fg-secondary);
  max-width: 44ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

/* ==========================================================================
   4-PILLAR VALUE STRIP (Directly Below Hero Desk, Matches Inspo)
   ========================================================================== */
.pillars-strip {
  background: var(--bg-surface-1);
  border-bottom: 1px solid var(--line-subtle);
  padding-block: clamp(32px, 4.5vw, 52px);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar-item {
  padding-inline: clamp(16px, 2.2vw, 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pillar-item + .pillar-item {
  border-left: 1px solid var(--line-subtle);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pillar-item h2 {
  font-size: clamp(1.12rem, 1vw + 0.5rem, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}

.pillar-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fg-secondary);
  max-width: 26ch;
}

/* ==========================================================================
   SECTION HEADINGS & PROVEN PROCESS (Matches StudioX Design Inspo)
   ========================================================================== */
.section {
  padding-block: clamp(56px, 8vw, 108px);
  border-bottom: 1px solid var(--line-subtle);
}

.section-alt {
  background: var(--bg-surface-1);
}

.flanked-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
  text-align: center;
}

.flanked-heading::before,
.flanked-heading::after {
  content: "";
  height: 2px;
  width: clamp(48px, 14vw, 200px);
  background: linear-gradient(90deg, transparent, var(--accent-red));
}

.flanked-heading::after {
  background: linear-gradient(90deg, var(--accent-red), transparent);
}

.flanked-heading h2 {
  font-size: clamp(1.85rem, 3vw + 0.6rem, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.flanked-heading h2 span {
  color: var(--accent-red);
}

.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.process-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 24px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s var(--ease-out-expo);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-red);
}

.process-step-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.process-icon {
  width: 46px;
  height: 46px;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 0.94rem;
  color: var(--fg-secondary);
  line-height: 1.52;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.6rem;
  font-weight: 800;
}

/* ==========================================================================
   SERVICES & CONVERSION ANALYTICS ENGINE
   ========================================================================== */
.section-header-split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-split .title-col {
  grid-column: 1 / span 7;
}

.section-header-split .desc-col {
  grid-column: 8 / span 5;
  color: var(--fg-secondary);
  font-size: 1.04rem;
}

.kicker {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw + 0.5rem, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-title span {
  color: var(--accent-red);
}

.services-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-2);
}

.service-cell {
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line-subtle);
}

.service-cell:nth-child(odd) {
  border-right: 1px solid var(--line-subtle);
}

.service-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-index {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-tag {
  font-size: 0.84rem;
  color: var(--fg-muted);
  font-weight: 600;
}

.service-cell h3 {
  font-size: clamp(1.3rem, 1.4vw + 0.6rem, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.service-cell p {
  color: var(--fg-secondary);
  font-size: 0.98rem;
  margin-top: 10px;
  max-width: 54ch;
}

.deliverable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.deliverable-tags li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fg-primary);
  background: var(--bg-surface-3);
  border: 1px solid var(--line-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   INTERACTIVE CONVERSION ANALYTICS PROOF BOARD
   ========================================================================== */
.analytics-board {
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 40px);
}

.analytics-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-subtle);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-surface-1);
  color: var(--fg-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

.filter-btn[aria-pressed="true"] {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--fg-primary);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 20px;
}

.attribution-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.attribution-table th,
.attribution-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 0.94rem;
}

.attribution-table th {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.verdict-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.verdict-scale {
  background: var(--signal-convert-soft);
  color: var(--signal-convert);
  border: 1px solid rgba(36, 209, 100, 0.35);
}

.verdict-cut {
  background: var(--signal-warn-soft);
  color: var(--signal-warn);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   NAIROBI PACKAGES & PRICING GRID
   ========================================================================== */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.cadence-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}

.cadence-btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--fg-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.cadence-btn[aria-pressed="true"] {
  background: var(--accent-red);
  color: var(--fg-primary);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.package-card.featured {
  background: linear-gradient(180deg, rgba(255, 26, 26, 0.09) 0%, var(--bg-surface-2) 38%);
  border: 2px solid var(--accent-red);
  box-shadow: 0 24px 60px rgba(255, 26, 26, 0.14);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent-red);
  color: var(--fg-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.pkg-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pkg-fit {
  font-size: 0.92rem;
  color: var(--fg-secondary);
  margin-top: 6px;
  min-height: 2.8em;
}

.pkg-price-block {
  margin-top: 20px;
  padding-block: 18px;
  border-block: 1px solid var(--line-subtle);
}

.pkg-price {
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.pkg-price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.pkg-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 6px;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--fg-secondary);
}

.pkg-features li strong {
  color: var(--fg-primary);
}

.check-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-red-soft);
  border: 1px solid var(--line-red);
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Add-Ons & ShopX Ultra Strip */
.addons-strip {
  margin-top: 28px;
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.addon-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.addon-box + .addon-box {
  padding-left: 20px;
  border-left: 1px solid var(--line-subtle);
}

.addon-box h4 {
  font-size: 0.98rem;
  font-weight: 800;
}

.addon-box p {
  font-size: 0.86rem;
  color: var(--fg-secondary);
}

.addon-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-red);
}

/* ==========================================================================
   NAIROBI MARKET BENCHMARK ACCORDION / TABLE
   ========================================================================== */
.benchmark-details {
  margin-top: 28px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.benchmark-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

/* ==========================================================================
   ECOSYSTEM PROOF / WORK SECTION
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.work-card p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
}

.work-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.88rem;
  color: var(--fg-secondary);
}

.work-metrics strong {
  color: var(--fg-primary);
}

/* ==========================================================================
   STRATEGY CALL & WHATSAPP BRIEF BUILDER
   ========================================================================== */
.contact-panel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  background: var(--bg-surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
}

.contact-copy {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-form-wrap {
  grid-column: 6 / span 7;
}

.brief-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group.full {
  grid-column: 1 / -1;
}

.field-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fg-secondary);
}

.field-group input,
.field-group select,
.field-group textarea {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-surface-1);
  color: var(--fg-primary);
}

.field-group textarea {
  min-height: 92px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding-block: 48px;
  background: var(--bg-canvas);
  color: var(--fg-secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--fg-primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First 375px & Tablet 960px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-column: 1 / span 7;
  }
  .hero-floating-badges {
    display: none;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .addons-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .addon-box:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--bg-surface-1);
    border-bottom: 1px solid var(--line-strong);
    padding: 16px var(--gutter);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-frame {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
    padding-inline: var(--gutter);
    padding-top: 28px;
    padding-bottom: 16px;
  }
  .hero-backdrop::before {
    background: linear-gradient(180deg, var(--bg-canvas) 0%, rgba(5, 3, 3, 0) 24%, rgba(5, 3, 3, 0) 84%, var(--bg-canvas) 100%);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
  .pillar-item:nth-child(3) {
    border-left: none;
  }
  .process-flow {
    grid-template-columns: 1fr;
  }
  .process-arrow {
    transform: rotate(90deg);
    padding-block: 2px;
  }
  .section-header-split .title-col,
  .section-header-split .desc-col,
  .contact-copy,
  .contact-form-wrap {
    grid-column: 1 / -1;
  }
  .services-matrix,
  .work-grid,
  .addons-strip,
  .brief-form {
    grid-template-columns: 1fr;
  }
  .service-cell:nth-child(odd) {
    border-right: none;
  }
  .service-cell:nth-last-child(2) {
    border-bottom: 1px solid var(--line-subtle);
  }
  .addon-box + .addon-box {
    padding-left: 0;
    border-left: none;
    padding-top: 14px;
    border-top: 1px solid var(--line-subtle);
  }
}

@media (max-width: 520px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar-item + .pillar-item {
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--line-subtle);
  }
}

/* ==========================================================================
   INTERACTIVE DRAG-TO-REPOSITION STUDIO MODE (?edit=1 or Inline Artifact)
   ========================================================================== */
.drag-toolbar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(11, 8, 8, 0.95);
  border: 1.5px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
}

.drag-toolbar[hidden] {
  display: none !important;
}

.drag-toolbar-title {
  font-weight: 800;
  color: var(--fg-primary);
  margin-right: 4px;
}

.drag-toolbar-btn {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-surface-2);
  color: var(--fg-primary);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.drag-toolbar-btn:hover {
  border-color: var(--accent-red);
}

.drag-toolbar-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--fg-primary);
}

.drag-readout {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--fg-secondary);
  background: var(--bg-surface-1);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line-subtle);
}

body.drag-mode-active [data-draggable] {
  cursor: grab !important;
  outline: 1px dashed rgba(255, 26, 26, 0.45);
  outline-offset: 4px;
  user-select: none;
  touch-action: none;
}

body.drag-mode-active [data-draggable]:hover,
body.drag-mode-active [data-draggable].drag-selected {
  outline: 2px solid var(--accent-red);
  outline-offset: 4px;
}

body.drag-mode-active [data-draggable]:active {
  cursor: grabbing !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
