/* ─── Morhover Design System ───────────────────────────────────────
   ui-ux-pro-max skill recommendations applied:
   Font: Archivo (headings) + Space Grotesk (body) — "Minimalist Portfolio" pairing
   Style: Motion-Driven + Interactive Cursor (mix-blend-mode: difference)
   Colors: #FAFAFA bg, #09090B text, #E4E4E7 borders + brand purple #7A54DD
   Pattern: Portfolio Grid — visuals-first, single CTA per section
─────────────────────────────────────────────────────────────────── */

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

:root {
  /* ── Brand ── */
  --color-accent:       #7A54DD;
  --color-accent-dark:  #5E3BC4;
  --color-accent-light: #9B7AE8;
  --color-accent-fg:    #FFFFFF;
  --color-accent-bg:    #F3EFFE;

  /* ── Surface (skill: #FAFAFA bg, #E4E4E7 border) ── */
  --color-bg:      #FAFAFA;
  --color-surface: #F4F4F2;
  --color-border:  #E4E4E7;

  /* ── Text (skill: #09090B foreground, #64748B muted) ── */
  --color-text-primary:   #09090B;
  --color-text-secondary: #52525B;
  --color-text-muted:     #A1A1AA;

  /* ── Tag ── */
  --color-tag-bg:   #F0F0EC;
  --color-tag-text: #09090B;

  /* ── Chip accent (yellow eyebrow chip from Figma) ── */
  --color-chip-bg: #FFE16A;
  --color-chip-fg: #1A1A1A;

  /* ── Media card (large rounded grey card backdrop) ── */
  --color-media-card: #F2F1EC;

  /* ── Selection blue (video frame brackets) ── */
  --color-select: #2C7CFF;

  /* ── Dark (footer, hero variant) ── */
  --color-dark: #0D0D1A;

  /* ── Legacy aliases — backward compat while pages migrate ── */
  --purple:       #7A54DD;
  --purple-light: #9B7AE8;
  --purple-dark:  #5E3BC4;
  --purple-bg:    #F3EFFE;
  --purple-glow:  rgba(122, 84, 221, 0.15);
  --black:        #0D0D0D;
  --dark:         #0D0D1A;
  --gray-1:       #F8F8F6;
  --gray-2:       #E8E8E4;
  --gray-3:       #999992;
  --gray-text:    #555550;
  --white:        #FFFFFF;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       none;
  --shadow-card:  none;

  /* ── Typography ── */
  --text-display: clamp(64px, 6vw, 96px);
  --text-h1:      clamp(34px, 3.5vw, 48px);
  --text-h2:      clamp(26px, 2.8vw, 36px);
  --text-h3:      clamp(20px, 2vw, 28px);
  --text-body-lg: 20px;
  --text-body:    16px;
  --text-body-sm: 14px;
  --text-label:   12px;
  --text-mono:    14px;

  /* ── Weights ── */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* ── Spacing ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  30px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;

  /* ── Layout ── */
  --content-width: 1280px;
  --page-margin:   80px;
  --grid-gutter:   30px;

  /* ── Radii ── */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 9999px;

  /* ── Motion ── */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:     150ms;
  --dur-base:     250ms;
  --dur-slow:     400ms;
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }
body {
  /* Geist for reading, Geist Mono for the menu and the buttons. */
  font-family: 'Geist', 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.section-heading-context,
.section-heading-statement,
.hero h1,
.page-hero-content h1,
.nav-logo {
  font-family: 'Geist', 'DM Sans', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

/* Editorial serif italic used for hero-display accent words */
.serif-italic {
  font-family: 'Instrument Serif', 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.5px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-surface); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }

/* ─── Container ─── */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

/* ─── Buttons ───────────────────────────────────────────────────── */
/* design.md: 44px height, pill, no heavy shadows                    */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
  border: none;
  transition: background var(--dur-base) var(--ease-default),
              color var(--dur-base) var(--ease-default),
              transform var(--dur-base) var(--ease-default);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* `hidden` must win: the button rules below set a display of their own. */
.btn[hidden], [data-portfolio-more][hidden] { display: none !important; }

/* ── The three global buttons ──────────────────────────────────────
   .btn-primary    the lit purple pill: the one thing we want pressed
   .btn-call       white, with a camera: "book a call"
   .btn-secondary  light grey: everything that is not the main action
   (.site-cta is the header's primary; .btn-outline is an older name for
   secondary and looks the same.)

   One shape and one motion for all three, so they read as a family:
   the label rolls up, the arrow leaves by the top-right corner and comes
   back from the bottom-left, and the button lifts a pixel.

   #6D3FC0 carries the text (white on it is 6.9:1); #A58ECF is too light
   to sit under white type (2.9:1), so it is the light in the button — the
   sheen across the top and the ring on hover. */
.btn-primary,
.btn-call,
.btn-secondary,
.btn-outline,
.site-cta {
  --btn-ease: cubic-bezier(.22, .8, .2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-family: 'Geist Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--btn-ease), box-shadow .3s var(--btn-ease), background-color .3s var(--btn-ease), border-color .3s var(--btn-ease), color .3s var(--btn-ease);
}
.btn-primary,
.site-cta {
  color: #fff;
  border: 1px solid #5B31A8;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #8458D6 0%, #6D3FC0 58%, #5F35AE 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -6px 12px rgba(59, 28, 120, .35),
    0 1px 2px rgba(59, 28, 120, .4),
    0 10px 24px -6px rgba(109, 63, 192, .55),
    0 0 0 0 rgba(165, 142, 207, 0);
  text-shadow: 0 1px 0 rgba(59, 28, 120, .35);
}
.btn-primary:hover,
.site-cta:hover {
  color: #fff;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #8C62DC 0%, #7446C8 58%, #6438B6 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -6px 12px rgba(59, 28, 120, .3),
    0 2px 4px rgba(59, 28, 120, .35),
    0 16px 32px -8px rgba(109, 63, 192, .6),
    0 0 0 5px rgba(165, 142, 207, .28);
}

/* Book a call: white, so it holds its own on a coloured band as well as on the page. */
.btn-call {
  color: #18181B;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F5FA 100%);
  border: 1px solid #E4E1EE;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(24, 24, 27, .08), 0 8px 20px -8px rgba(24, 24, 27, .22);
}
/* The Meet camera, in its own colours, straight on the button. */
.btn-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 8px; transition: transform .3s var(--btn-ease); }
.btn-icon svg { width: 20px; height: 20px; }
.btn-call .btn-icon { margin-right: 0; }
.btn-call:hover .btn-icon { transform: scale(1.12) rotate(-6deg); }

/* Secondary: light grey at rest, and it darkens to graphite under the pointer. */
.btn-secondary,
.btn-outline {
  color: #27272A;
  background: linear-gradient(180deg, #F4F4F5 0%, #E9E9EC 100%);
  border: 1px solid #DCDCE0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(24, 24, 27, .06);
}
.btn-secondary:hover,
.btn-outline:hover {
  color: #fff;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #6B6B70 0%, #4A4A4F 60%, #3F3F44 100%);
  border-color: #3F3F44;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(24, 24, 27, .2), 0 14px 26px -10px rgba(24, 24, 27, .45);
}

.btn-primary:active,
.btn-call:active,
.btn-secondary:active,
.btn-outline:active,
.site-cta:active { transform: translateY(0) scale(.985); transition-duration: .08s; }

.btn-primary:focus-visible,
.btn-call:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible,
.site-cta:focus-visible { outline: 2px solid #6D3FC0; outline-offset: 3px; }

/* The label, letter by letter (buttons.js): each letter is a little window with
   two copies of itself stacked in it, and on hover the stack slides up by one —
   the first letter first, the rest following it across the word. */
.btn-label { position: relative; display: inline-block; vertical-align: middle; line-height: 1.4; }
.btn-label-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-letters { display: inline-flex; }
.btn-letter { display: inline-block; height: 1.4em; overflow: hidden; }
.btn-letter > span { display: block; height: 1.4em; transition: transform .42s cubic-bezier(.22, .8, .2, 1); transition-delay: calc(var(--i, 0) * 16ms); will-change: transform; }
:is(.btn-primary, .btn-call, .btn-secondary, .btn-outline, .site-cta, .site-nav a):hover .btn-letter > span,
:is(.btn-primary, .btn-call, .btn-secondary, .btn-outline, .site-cta, .site-nav a):focus-visible .btn-letter > span { transform: translateY(-100%); }

/* The arrow, for primary buttons that do not already bring an icon of their own. */
.btn-primary:not(:has(svg))::after,
.site-cta:not(:has(svg))::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 11L11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%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 14 14' fill='none'%3E%3Cpath d='M3 11L11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-primary:hover::after,
.site-cta:hover::after { animation: btnArrow .5s var(--btn-ease) both; }
@keyframes btnArrow {
  0% { transform: translate(0, 0); opacity: 1; }
  45% { transform: translate(10px, -10px); opacity: 0; }
  46% { transform: translate(-10px, 10px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.btn-primary:disabled::after,
.lead-form-send.is-busy::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-call, .btn-secondary, .btn-outline, .site-cta, .btn-call .btn-icon { transition: none; }
  :is(.btn-primary, .btn-call, .btn-secondary, .btn-outline, .site-cta):hover { transform: none; }
  .btn-letter > span { transition: none; }
  :is(.btn-primary, .btn-call, .btn-secondary, .btn-outline, .site-cta, .site-nav a):hover .btn-letter > span { transform: none; }
  .btn-call:hover .btn-icon { transform: none; }
  .btn-primary:hover::after, .site-cta:hover::after { animation: none; }
}



/* White: for dark backgrounds */
.btn-white {
  background: var(--color-bg);
  color: var(--color-text-primary);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-white:hover {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: transparent;
}

/* Ghost: text-only */
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0;
  height: auto;
}
.btn-ghost:hover { color: var(--color-accent); }

/* Dark: for light sections */
.btn-dark {
  background: var(--color-text-primary);
  color: var(--color-accent-fg);
}
.btn-dark:hover { background: #27272A; transform: scale(1.01); }

/* ── skill: visible focus rings for keyboard nav (CRITICAL priority 1) ── */
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
/* ── skill: cursor-pointer on all clickable elements ── */
.btn, .tag-pill, .nav-links a, .nd-item,
.faq-question, .tab-btn, .price-tab,
.service-card, .team-card, .blog-card { cursor: pointer; }

/* ─── Tag / Pill (filter, category) ────────────────────────────── */
/* design.md: 42px h, #F0F0EC bg, pill, 14px 400 weight            */

.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 var(--space-5);
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-pill);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-regular);
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background var(--dur-fast), color var(--dur-fast);
  gap: var(--space-2);
}
.tag-pill.active,
.tag-pill:hover {
  background: var(--color-text-primary);
  color: var(--color-accent-fg);
}
/* Accent variant */
.tag-accent { background: var(--color-accent-bg); color: var(--color-accent); }
.tag-accent:hover { background: var(--color-accent); color: var(--color-accent-fg); }

/* ─── Section labels ────────────────────────────────────────────── */
/* design.md: 12px, weight 500, overline style                       */

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.section-eyebrow-accent { color: var(--color-accent); }

/* Legacy badge — kept for pages not yet migrated */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-tag-bg);
  color: var(--color-text-secondary);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.section-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ─── Section Title Block ───────────────────────────────────────── */
/* design.md: Two-line editorial heading. Left-aligned by default.  */
/* Line 1: context word (muted), Line 2: strong statement           */

.section-heading {
  margin-bottom: var(--space-12);
}
.section-heading-context {
  display: block;
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  line-height: 1.1;
  color: var(--color-text-muted);
  letter-spacing: -0.5px;
}
.section-heading-statement {
  display: block;
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  line-height: 1.1;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}

/* Legacy section-title — backward compat */
.section-title {
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── NAV ───────────────────────────────────────────────────────── */
/* design.md: 82px, sticky, frosted on scroll, 1px border-bottom   */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur-base) var(--ease-default),
              border-color var(--dur-base) var(--ease-default);
}
nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--color-accent); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0 auto;
}
.nav-links > li > a,
.nav-links > li > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  transition: color var(--dur-fast);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--color-accent);
}
.nav-links > li > a.active {
  font-weight: var(--weight-medium);
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-cta {
  height: 44px;
  padding: 0 var(--space-6);
  background: var(--color-text-primary);
  color: var(--color-accent-fg);
  border-radius: var(--radius-pill);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  transition: background var(--dur-base);
}
.nav-cta:hover { background: #333; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--dur-base) var(--ease-default);
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 82px; left: 0; right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  padding: var(--space-5) var(--space-20);
  flex-direction: column;
  gap: var(--space-1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur-fast);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }

/* ─── Nav Dropdown ──────────────────────────────────────────────── */
.nav-item { position: relative; }
.has-drop > a { display: flex; align-items: center; gap: 4px; }
.drop-arrow { transition: transform var(--dur-base) var(--ease-default); flex-shrink: 0; }
.has-drop:hover .drop-arrow { transform: rotate(180deg); }

.nav-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 300px;
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-default),
              transform var(--dur-base) var(--ease-default);
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.has-drop:hover .nav-drop {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.nd-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  transition: all var(--dur-fast);
}
.nd-item:hover { background: var(--color-surface); color: var(--color-accent); }
.nd-icon {
  width: 28px; height: 28px;
  background: var(--color-surface);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all var(--dur-fast);
}
.nd-item:hover .nd-icon { background: var(--color-accent-bg); }

/* ─── Page Hero (inner pages) ───────────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.page-hero-content {
  max-width: 680px;
}
.page-hero-content h1 {
  font-size: var(--text-display);
  font-weight: var(--weight-medium);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: var(--space-6);
}
.page-hero-content h1 .accent { color: var(--color-accent); }
.page-hero-content p {
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-10);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb span { opacity: 0.5; }

/* ─── Cards (design.md: border, no shadow) ──────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: border-color var(--dur-base);
}
.card:hover { border-color: var(--color-accent); }
.card-white {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

/* ─── Stats Row ─────────────────────────────────────────────────── */
/* design.md: left-aligned, 3 items, h1 size number                 */

.stats-row {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}
.stat-block .stat-number {
  font-size: var(--text-h1);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-block .stat-label {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

/* ─── FAQ Accordion ─────────────────────────────────────────────── */
/* design.md: mono index numbers, 1px dividers, 68px collapsed      */

.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  min-height: 68px;
  padding: var(--space-5) 0;
  cursor: pointer;
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.faq-index {
  font-size: var(--text-mono);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  flex-shrink: 0;
  min-width: 40px;
}
.faq-answer {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-bottom: var(--space-5);
  display: none;
}
.faq-answer.open { display: block; }

/* ─── Contact Form ──────────────────────────────────────────────── */
/* design.md: 2-col, 54px fields, 1px border, 8px radius            */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 54px;
  padding: 0 var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-body);
  color: var(--color-text-primary);
  transition: border-color var(--dur-base);
  outline: none;
}
.form-textarea { height: 112px; padding: var(--space-4) var(--space-5); resize: vertical; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-muted); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--color-text-primary); }

/* ─── CTA Strip ────────────────────────────────────────────────── */
.cta-strip {
  background: var(--color-dark);
  padding: var(--space-30) 0;
  text-align: center;
  color: var(--color-bg);
}
.cta-strip h2 {
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-4);
}
.cta-strip p {
  font-size: var(--text-body-lg);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-10);
}

/* ─── Footer (light, Figma-aligned) ─────────────────────────────── */
/* White, with a hairline above: the closing call over it is grey, so the footer
   reads as its own sheet without bringing a third background colour to the page. */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E4E4E7;
  color: var(--color-text-primary);
  /* No space under it: the wordmark runs off the bottom edge. */
  padding: var(--space-20) 0 0;
  overflow: hidden;
}

/* Top grid: brand block + 3 link columns. */
.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

.site-footer-brand { max-width: 320px; }
.site-footer-logo { display: inline-block; margin-bottom: var(--space-5); }
.site-footer-brand p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.site-footer-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  transition: background var(--dur-base), color var(--dur-base);
}
.site-footer-btn.primary {
  background: #18181B;
  color: #fff;
}
.site-footer-btn.primary:hover { background: #3F3F46; color: #fff; }
.site-footer-btn:focus-visible { outline: 2px solid #6D3FC0; outline-offset: 2px; }
.site-footer-btn.secondary {
  background: #F4F4F5;
  color: var(--color-text-primary);
}
.site-footer-btn.secondary:hover { background: #E4E4E7; }

/* Link column with the left-border separator + "/ Label" header. */
.site-footer-col {
  border-left: 1px solid #E4E4E7;
  padding-left: var(--space-6);
  display: grid;
  grid-template-columns: minmax(80px, max-content) 1fr;
  gap: var(--space-6);
  align-items: start;
}
.site-footer-col-label {
  font-size: 13px;
  /* The site's muted grey is too faint for a heading people navigate by. */
  color: #71717A;
  font-weight: var(--weight-medium);
  letter-spacing: 0.2px;
}
.site-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.site-footer-col a {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  transition: color var(--dur-fast);
}
.site-footer-col a { text-decoration: underline transparent; text-underline-offset: 4px; }
.site-footer-col a:hover { text-decoration-color: currentColor; }

/* Big social text row. */
/* Where else to find us: icons under the two buttons, each a 44px target. */
.site-footer-socials {
  /* The bare `nav { position: fixed }` rule above is meant for the header; this is a <nav> too. */
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.site-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #E4E4E7;
  border-radius: 50%;
  color: #3F3F46;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.site-footer-socials a:hover { background: #18181B; border-color: #18181B; color: #fff; transform: translateY(-2px); }
.site-footer-socials a:focus-visible { outline: 2px solid #6D3FC0; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .site-footer-socials a:hover { transform: none; } }

.site-footer-rule {
  border: none;
  border-top: 1px solid #E4E4E7;
  margin: 0;
}

.site-footer-bottom {
  padding: var(--space-6) 0 var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 13px;
  /* The site's muted grey is 2.4:1 on this background; small print still has to be readable. */
  color: #71717A;
}

/* Wordmark — big grey display text, scattered into particles on hover.
   Height is generous so the particle engine width-fits and the wordmark
   spans the full footer container max-width. */
.footer-wordmark {
  /* The window onto the word: as wide as the container, and only tall enough to show
     the upper two thirds of the letters. The word is drawn on a taller stage inside
     it, so its lower third falls below the window and is cut by the footer's edge. */
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 153;
  margin: var(--space-6) 0 0;
  user-select: none;
  overflow: hidden;
}
.footer-wordmark-stage { position: absolute; left: 0; top: 0; width: 100%; height: 170%; }
.footer-wordmark-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.footer-wordmark-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(96px, 22vw, 320px);
  font-weight: 800;
  letter-spacing: -4px;
  color: #DDDBD3;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Legacy <footer> dark-style classes — kept for inner pages still using
   the old footer shell. Remove once every page renders the light footer. */
footer.dark-legacy { background: var(--color-dark); color: var(--color-bg); padding: var(--space-30) 0 0; }

/* ─── Marquee Strip ─────────────────────────────────────────────── */
.mh-marquee-strip {
  background: var(--color-dark);
  overflow: hidden;
  padding: 22px 0;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mh-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}
.mh-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: var(--weight-medium);
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.12);
  padding: 0 var(--space-8);
  text-transform: uppercase;
}
.mh-marquee-item.accent { color: var(--color-accent-light); opacity: 0.6; }
.mh-marquee-dot {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Clip-path reveal / Ticker / Spotlight ──────────────────────── */
.clip-reveal { clip-path: inset(0 100% 0 0); }
.clip-reveal.revealed {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 1s cubic-bezier(0.77,0,0.175,1);
}

.section-number {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  color: rgba(13,13,13,0.04);
  pointer-events: none;
  user-select: none;
  position: absolute;
  top: -16px; left: -6px;
}

#mh-spotlight {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(122,84,221,0.03) 0%, transparent 70%);
}

/* ─── Fade-up (GSAP overrides this, CSS fallback only) ──────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-default),
              transform var(--dur-slow) var(--ease-default);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Animations ───────────────────────────────────────────────── */
@keyframes pulse  { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.3); opacity:0.7; } }
@keyframes float  { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }

/* ─── Section rhythm ─── */
section { position: relative; }

/* ─── Divider line ─── */
.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-30) 0;
}

/* ═════════════════════════════════════════════════════════════════
   FIGMA HOMEPAGE — GLOBAL DESIGN TOKENS & SECTIONS
   These are intentionally generic so other pages can opt in.
   ═════════════════════════════════════════════════════════════════ */

/* ─── Global header (injected by header.js) ─────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-default),
              box-shadow var(--dur-base) var(--ease-default);
}
.site-header.scrolled {
  background: #FFFFFF;
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.site-header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-8);
  height: 88px;
}

/* Logo — folded shield mark + two-line wordmark */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-primary);
}
.site-logo-img { display: block; height: 32px; width: auto; }
.site-footer-logo .site-logo-img { height: 36px; }
@media (max-width: 480px) { .site-logo-img { height: 28px; } }
.site-logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.site-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.site-logo-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.site-logo-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Nav — plain horizontal links, centered, no pill container */
.site-nav {
  /* The bare `nav { position: fixed; top: 0 }` rule near the top of this file is for the
     old header; without this the menu is pinned to the top of the window instead of
     sitting in the header's row. */
  position: static;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #F4F4F5;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-family: 'Geist Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  color: #3F3F46;
  transition: background-color .25s, color .25s;
}
.site-nav a:hover { background: #fff; color: #09090B; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }
.site-nav a.active { background: #fff; color: #09090B; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }
.site-nav a:focus-visible { outline: 2px solid #6D3FC0; outline-offset: 2px; }

/* CTA — light lavender pill with dark text */
/* Looks: the lit pill, defined with .btn-primary above. */
.site-cta { height: 44px; padding: 0 20px; }
.site-actions { display: flex; align-items: center; gap: var(--space-3); justify-content: flex-end; }

/* Hamburger */
.site-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.site-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--dur-base);
}

/* ─── Hero (Figma) ──────────────────────────────────────────────── */
.fig-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--color-bg);
}
.fig-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF7DA;
  color: var(--color-chip-fg);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-6);
  border: 1px solid #F2E5A6;
}
.fig-hero-chip-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}
.hero-display {
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: var(--weight-semibold);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--color-text-primary);
  max-width: 980px;
  margin: 0 auto var(--space-6);
}
.hero-display .serif-italic {
  font-size: 1.02em;
  letter-spacing: -1px;
}
.fig-hero-sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── Media card (big rounded backdrop used for hero device + video) ─ */
.media-card {
  background: var(--color-media-card);
  border-radius: 28px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.media-card-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 0 auto var(--space-8);
  gap: 4px;
}
.media-card-toggle button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.media-card-toggle button.active {
  background: var(--color-accent);
  color: #fff;
}
.media-card h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: var(--weight-semibold);
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: var(--space-4);
}
.media-card-sub {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.media-card-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: var(--space-12);
}
.media-card-actions .btn-primary {
  background: var(--color-text-primary);
  color: #fff;
}
.media-card-actions .btn-primary:hover { background: #1A1A1A; }

/* Dashboard mockup (used inside media-card + video frame) */
.dash-mock {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -30px rgba(20,20,40,0.18);
}
.dash-side {
  background: #FAFAF8;
  border-right: 1px solid var(--color-border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 14px;
  font-weight: 700;
  font-size: 13px;
}
.dash-side-brand-mark {
  width: 22px; height: 22px;
  background: var(--color-text-primary);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}
.dash-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}
.dash-side a.active { background: #EFEEE9; color: var(--color-text-primary); }
.dash-side a .ico {
  width: 14px; height: 14px; opacity: 0.7;
  display: inline-block;
}
.dash-main {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-tab {
  background: #F2F1EC;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}
.dash-h {
  font-size: 18px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.3px;
}
.dash-greet { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.dash-actions button {
  background: #F2F1EC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  font-family: inherit;
}
.dash-balance {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 16px;
}
.dash-balance-label { font-size: 11px; color: var(--color-text-muted); }
.dash-balance-amount { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.dash-balance-meta { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.dash-recent { font-size: 12px; color: var(--color-text-muted); font-weight: var(--weight-medium); }

/* ─── Video card (2nd section) ──────────────────────────────────── */
.video-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, #0D0D1A 0%, #1A1A2E 100%);
  padding: 30px;
  overflow: hidden;
  margin-top: var(--space-10);
}
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.video-frame-bracket {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--color-select);
  z-index: 3;
}
.video-frame-bracket.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.video-frame-bracket.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.video-frame-bracket.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.video-frame-bracket.br { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.video-frame-line {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-select);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
}
.video-poster {
  background: #F2F1EC;
  padding: 50px 40px;
  position: relative;
}
/* The showreel: a YouTube video playing on its own, silent, with no player around it.
   16:9 box; the player is drawn a little larger than the box and cannot be clicked, so
   YouTube's title bar and buttons sit outside the frame and never appear on hover. */
.video-reel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0D0D1A url("https://i.ytimg.com/vi/GyDOyAjoJNw/maxresdefault.jpg") center / cover no-repeat;
  overflow: hidden;
}
.video-reel iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.18);
  pointer-events: none;
}
.video-reel-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(13, 13, 26, .62);
  color: #fff;
  font-size: 12px;
  font-weight: var(--weight-medium);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.video-frame:hover .video-reel-link,
.video-reel-link:focus-visible { opacity: 1; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(20,20,40,0.6);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--dur-base), background var(--dur-base);
}
.video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(20,20,40,0.8);
}
.video-play svg { margin-left: 4px; }
.video-avatar {
  position: absolute;
  right: 24px; top: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB07C, #C77152);
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 5;
}

/* ─── Logo strip ────────────────────────────────────────────────── */
.logo-strip {
  text-align: center;
  padding: var(--space-20) 0;
}
.logo-strip-tag {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  opacity: 0.55;
}
.logo-strip-row span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
}

/* ─── Studio intro card ─────────────────────────────────────────── */
.intro-card {
  background: var(--color-media-card);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-12);
  align-items: center;
}
.intro-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.intro-card-brand-mark {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.intro-card-brand-name { font-weight: 700; font-size: 14px; }
.intro-card-brand-tag { font-size: 11px; color: var(--color-text-muted); }
.intro-card-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.intro-card-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.intro-stat .num {
  font-size: 32px;
  font-weight: var(--weight-semibold);
  letter-spacing: -1px;
  line-height: 1;
}
.intro-stat .lab { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }
.intro-flags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.intro-flag {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.intro-flag.plus { background: var(--color-text-primary); color: #fff; font-weight: 700; }

/* ─── Tab row (pill tabs) ───────────────────────────────────────── */
.tab-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.tab-pill:hover { color: var(--color-text-primary); }
.tab-pill.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ─── What we do best — dual mockup ─────────────────────────────── */
.dual-mock {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: var(--space-10);
  align-items: stretch;
}
.phone-mock {
  background: #1A1A28;
  border-radius: 32px;
  padding: 14px;
  aspect-ratio: 9/19;
  position: relative;
}
.phone-mock-screen {
  background: linear-gradient(160deg, #E6F4E6 0%, #C8E6C9 100%);
  border-radius: 22px;
  width: 100%; height: 100%;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-mock-card {
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 12px;
  height: 70px;
}
.dash-mock-green {
  background: linear-gradient(160deg, #DFF1DA 0%, #C8E0C0 100%);
  border-radius: 18px;
  padding: 24px;
  position: relative;
}
.dash-mock-green .dash-mock {
  background: #fff;
  margin: 0;
  max-width: none;
}

/* ─── Services grid ─────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--space-10);
}
.service-card {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.service-card:hover {
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
}
.service-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-accent);
}
.service-card h3 {
  font-size: 18px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Testimonial / feedback card ───────────────────────────────── */
.feedback-card {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px;
  margin-top: var(--space-10);
}
.feedback-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: var(--space-6);
}
.feedback-logos span {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}
.feedback-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.feedback-logo {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
}
.feedback-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 11px;
  color: var(--color-text-muted);
}
.feedback-meta span { background: var(--color-tag-bg); padding: 4px 10px; border-radius: var(--radius-pill); }
.feedback-quote {
  font-size: 20px;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin-bottom: var(--space-6);
}
.feedback-by {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feedback-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB07C, #C77152);
}
.feedback-by-name { font-size: 14px; font-weight: var(--weight-semibold); }
.feedback-by-role { font-size: 12px; color: var(--color-text-muted); }

/* ─── Steps row (Get a free quote) ──────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--space-10);
}
.step-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-media-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}
.step-block h4 {
  font-size: 16px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.2px;
}
.step-block p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ─── Pricing ───────────────────────────────────────────────────── */
.pricing-wrap {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  margin-top: var(--space-10);
}
.pricing-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: var(--space-8);
}
.pricing-toggle button {
  font: inherit;
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.pricing-toggle button.active {
  background: var(--color-text-primary);
  color: #fff;
}
.pricing-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px;
  align-items: center;
}
.pricing-price {
  font-size: 56px;
  font-weight: var(--weight-semibold);
  letter-spacing: -2px;
  line-height: 1;
}
.pricing-price small {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  margin-left: 8px;
}
.pricing-meta { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.pricing-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: var(--space-3) 0 var(--space-5);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-primary);
  border-bottom: 1px dashed var(--color-border);
}
.pricing-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--color-accent-bg);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-features li:last-child { border-bottom: none; }

/* ─── Team grid ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--space-10);
}
.team-card {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px 20px;
  text-align: center;
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, #FFB07C, #C77152);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.team-name { font-size: 16px; font-weight: var(--weight-semibold); }
.team-role { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

/* ─── FAQ split (left brand, right accordion) ───────────────────── */
.faq-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-16);
  margin-top: var(--space-10);
  align-items: start;
}
.faq-aside {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.faq-aside-mark {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--color-text-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-weight: 800;
  font-size: 18px;
}
.faq-aside h4 { font-size: 16px; font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.faq-aside p { font-size: 12px; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.faq-aside .btn { width: 100%; justify-content: center; }
.faq-list .faq-item:first-child { border-top: 1px solid var(--color-border); }

/* ─── Ready form ────────────────────────────────────────────────── */
.ready-form {
  background: #FAFAF8;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  margin-top: var(--space-10);
}
.ready-tabs {
  /* As wide as the form under it: two equal halves, so neither choice looks like the lesser one. */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin-bottom: var(--space-8);
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
}
.ready-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ready-tabs button svg { flex: none; }
.ready-tabs button:hover { color: var(--color-text-primary); }
.ready-tabs button.active {
  background: #18181B;
  color: #fff;
}

/* ─── Enquiry form (assets/js/lead-form.js) ─────────────────────── */
/* A ring as well as the darker border: a 1px colour change alone is not
   something a keyboard user can find at a glance. */
.ready-form .form-input:focus-visible,
.ready-form .form-select:focus-visible,
.ready-form .form-textarea:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-bg);
}
.ready-tabs button:focus-visible,
.lead-form-send:focus-visible,
.lead-form-done .btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.ready-form .form-input,
.ready-form .form-select,
.ready-form .form-textarea { background: #fff; }
.ready-form .form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2352525B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.ready-form .form-select:invalid { color: var(--color-text-muted); }
.ready-form .form-textarea { height: auto; min-height: 132px; line-height: 1.5; }
/* Placeholders are hints, so they must be readable: the site's muted grey is 2.6:1 on white. */
.ready-form .form-input::placeholder,
.ready-form .form-textarea::placeholder { color: #71717A; }

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea { border-color: #DC2626; }
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #B91C1C;
}
.form-error[hidden] { display: none; }
.form-error::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6.25' stroke='%23B91C1C' stroke-width='1.5'/%3E%3Cpath d='M7 3.8v3.6M7 9.6v.4' stroke='%23B91C1C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* `hidden` loses to any display rule, and .form-grid and .ready-tabs both set one. */
.lead-form[hidden],
.ready-form .ready-tabs[hidden] { display: none; }
.lead-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.lead-form-note { margin: 0; max-width: 460px; font-size: 13px; line-height: 1.5; color: var(--color-text-secondary); }
.lead-form-send { min-height: 48px; min-width: 168px; justify-content: center; }
.lead-form-send:disabled { opacity: .7; cursor: progress; transform: none; }
.lead-form-send.is-busy::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: leadFormSpin .7s linear infinite;
}
@keyframes leadFormSpin { to { transform: rotate(360deg); } }
.lead-form-failed {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  font-size: 14px;
  line-height: 1.5;
  color: #991B1B;
}
.lead-form-failed[hidden] { display: none; }
.lead-form-failed a { color: inherit; text-decoration: underline; }

.lead-form-done { padding: var(--space-6) 0 var(--space-2); max-width: 520px; outline: none; }
.lead-form-done[hidden] { display: none; }
.lead-form-done svg { color: #16A34A; margin-bottom: var(--space-4); }
.lead-form-done h3 { font-size: 24px; font-weight: var(--weight-semibold); letter-spacing: -.4px; line-height: 1.2; margin-bottom: var(--space-2); }
.lead-form-done p { font-size: var(--text-body); line-height: 1.6; color: var(--color-text-secondary); }
.lead-form-done .lead-form-done-sub { font-size: 14px; margin: var(--space-2) 0 var(--space-6); }
.lead-form-done strong { color: var(--color-text-primary); font-weight: var(--weight-medium); word-break: break-all; }

@media (max-width: 640px) {
  .ready-form { padding: 24px 20px; border-radius: 20px; }
  .lead-form-foot { flex-direction: column; align-items: stretch; }
  .lead-form-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-form-send.is-busy::before { animation-duration: 2s; }
}

/* ─── Application form (assets/js/apply-form.js) ────────────────── */
.apply-section { padding: var(--space-20) 0; background: #fff; scroll-margin-top: 90px; }
.apply-head { max-width: 760px; margin: 0 auto var(--space-8); }
.apply-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: var(--weight-semibold); letter-spacing: -1px; line-height: 1.05; }
.apply-head p { margin-top: var(--space-2); font-size: var(--text-body); color: var(--color-text-secondary); }
.apply-card { max-width: 760px; margin: 0 auto; scroll-margin-top: 100px; }
.apply-group { border: 0; padding: 0; margin: 0 0 var(--space-10); min-width: 0; }
.apply-group legend {
  width: 100%;
  padding: 0 0 var(--space-3, 12px);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
}
.apply-form .form-grid { gap: 20px 25px; }
.form-optional { margin-left: 4px; font-size: 12px; font-weight: 400; color: #71717A; }
.form-hint { margin: 0; font-size: 13px; line-height: 1.4; color: #71717A; }

.tag-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: text;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.tag-input:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-bg); }
.tag-list { display: contents; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 12px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-bg);
  color: #4C2A9E;
  font-size: 14px;
}
.tag-list button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.tag-list button:hover { background: rgba(109, 63, 192, .15); }
.tag-list button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.tag-entry { flex: 1; min-width: 140px; height: 34px; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--text-body); color: var(--color-text-primary); }
.tag-entry::placeholder { color: #71717A; }

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 20px;
  background: #fff;
  border: 1.5px dashed #C9C9D1;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.file-drop:hover, .file-drop.is-over { border-color: var(--color-accent); background: var(--color-accent-bg); }
.file-drop.has-file { border-style: solid; border-color: #16A34A; background: #F0FDF4; color: #14532D; }
.file-drop strong { color: var(--color-text-primary); font-weight: var(--weight-medium); word-break: break-all; }
.file-drop.has-file strong { color: inherit; }
/* Still a real file input: it takes focus and opens the picker, it is just not drawn. */
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-bg); }
.form-group.has-error .file-drop, .form-group.has-error .tag-input { border-color: #DC2626; }
.file-remove { align-self: flex-start; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--color-text-secondary); text-decoration: underline; cursor: pointer; }
.file-remove[hidden] { display: none; }

.apply-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-5); padding-top: var(--space-2); }
.apply-foot .lead-form-note { max-width: none; text-align: right; }
.apply-clear { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--color-text-secondary); cursor: pointer; }
.apply-clear:hover { color: var(--color-text-primary); }
.apply-clear:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 6px; }
.apply-form .lead-form-failed { margin-bottom: var(--space-5); }
.apply-form[hidden] { display: none; }
.role-card { cursor: pointer; }
.role-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
@media (max-width: 640px) {
  .apply-foot { grid-template-columns: 1fr; }
  .apply-foot .lead-form-note { text-align: left; order: -1; }
  .apply-foot .lead-form-send { width: 100%; }
}

/* ─── Contact page ──────────────────────────────────────────────── */
.contact-hero { padding: 150px 0 var(--space-10); }
.contact-hero .eyebrow { display: block; font-size: 13px; font-weight: var(--weight-medium); color: var(--color-text-muted); margin-bottom: var(--space-3, 12px); }
.contact-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: var(--weight-semibold); letter-spacing: -1.5px; line-height: 1.02; max-width: 820px; }
.contact-hero p { margin-top: var(--space-5); max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--color-text-secondary); }
.contact-body { padding: 0 0 var(--space-20); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; align-items: start; }
.contact-grid .ready-form { margin-top: 0; }
.contact-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: var(--space-10); }
.contact-aside h2 { font-size: 13px; font-weight: var(--weight-medium); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.contact-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-5); counter-reset: step; }
.contact-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; counter-increment: step; }
.contact-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: var(--weight-semibold);
}
.contact-steps strong { display: block; font-weight: var(--weight-medium); color: var(--color-text-primary); }
.contact-steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }
.contact-ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.contact-ways li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: 14px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.contact-ways span { color: var(--color-text-secondary); }
.contact-ways a { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-border); }
.contact-ways a:hover { text-decoration-color: currentColor; }
@media (max-width: 1024px) {
  .contact-hero { padding: 120px 0 var(--space-8); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .contact-aside { position: static; order: 2; }
}

/* ─── Section header helper for new layout ──────────────────────── */
.fig-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}
.fig-sec-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--weight-semibold);
  letter-spacing: -1px;
  line-height: 1.05;
}
.fig-sec-head .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.fig-sec-head .right { font-size: 13px; color: var(--color-text-muted); }

/* ─── Section spacing helper ────────────────────────────────────── */
.fig-section { padding: var(--space-20) 0; }

/* ─── Responsive overrides ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-card { grid-template-columns: 1fr; }
  .intro-card { grid-template-columns: 1fr; padding: 32px; }
  .dual-mock { grid-template-columns: 1fr; }
  .phone-mock { max-width: 280px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .faq-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-hamburger { display: flex; }
  .media-card { padding: 40px 20px; border-radius: 20px; }
  .dash-mock { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .pricing-card { padding: 24px; }
  .pricing-price { font-size: 40px; }
  .video-card { padding: 16px; }
  .video-poster { padding: 24px; }
  .fig-hero { padding: 110px 0 30px; }
  .intro-card-row { gap: 20px; }
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root {
    --content-width: 100%;
    --page-margin: 60px;
  }
}

@media (max-width: 1024px) {
  .site-footer-top { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 60px; }
}

@media (max-width: 768px) {
  :root {
    --page-margin: 20px;
    --space-30: 80px;
  }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { padding: var(--space-5) var(--space-5); }
  .site-footer-top { grid-template-columns: 1fr; }
  .site-footer-col { border-left: none; padding-left: 0; grid-template-columns: 1fr; }
  .site-footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: var(--space-5); }
  .form-grid { grid-template-columns: 1fr; }
  .stats-row { gap: var(--space-10); flex-wrap: wrap; }
  .page-hero { padding: 120px 0 64px; }
  #mh-spotlight { display: none; }
}

@media (max-width: 768px) {
  .footer-wordmark-fallback { font-size: clamp(64px, 22vw, 140px); letter-spacing: -2px; }
}

@media (max-width: 480px) {
  :root { --page-margin: 16px; }
}

/* ─── Footer on a phone ─────────────────────────────────────────────
   The three link lists stacked one under another made a footer three
   screens tall. Two short lists sit side by side; the third, shorter
   still, follows underneath. */
@media (max-width: 768px) {
  .site-footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-col { display: block; border-left: 0; padding-left: 0; }
  .site-footer-col-label { margin-bottom: 14px; }
  .site-footer-col ul { display: flex; flex-direction: column; gap: 2px; }
  .site-footer-col a { display: inline-block; padding: 9px 0; }
}

/* ─── Book a call: the Cal.com calendar, inline in the enquiry tab ─── */
.lead-cal[hidden] { display: none !important; }
.lead-cal-frame { width: 100%; min-height: 560px; overflow: auto; border-radius: 16px; }
.lead-cal-alt { margin-top: 14px; text-align: center; font-size: 13px; color: #71717A; }
.lead-cal-alt a { color: #09090B; text-decoration: underline; text-underline-offset: 3px; }

/* On a phone the header is the logo and the menu; Book a call is inside the menu. */
@media (max-width: 767px) {
  .site-actions .site-cta { display: none; }
}
