/* ==========================================================================
   BUILD MY APP — Design System
   --------------------------------------------------------------------------
   EVERYTHING brandable lives in the :root block below.
   To rebrand the whole site, you only need to edit that one block.
   ========================================================================== */

:root {
  /* ---- BRAND COLOURS (edit these to rebrand) ---------------------------- */
  --accent:            #5152FC;   /* primary — sampled from the logo */
  --accent-hover:      #6A6BFD;
  /* Same violet as --accent, as an r,g,b triplet so tints below can
     reuse it. Change --accent and --accent-rgb together. */
  --accent-rgb:        81, 82, 252;
  --accent-soft:       rgba(var(--accent-rgb), 0.12);
  --accent-glow:       rgba(var(--accent-rgb), 0.40);
  --accent-2:          #22D3EE;   /* secondary — cyan, used in gradients */
  --accent-2-soft:     rgba(34, 211, 238, 0.10);

  /* ---- SURFACES --------------------------------------------------------- */
  --bg:                #0A0B0D;   /* page background */
  --bg-raised:         #101216;   /* cards */
  --bg-elevated:       #16191F;   /* hovered cards / inputs */
  --bg-overlay:        rgba(10, 11, 13, 0.72);

  /* ---- LINES & TEXT ----------------------------------------------------- */
  --border:            rgba(255, 255, 255, 0.08);
  --border-strong:     rgba(255, 255, 255, 0.14);
  --text:              #F4F5F7;
  --text-secondary:    #B4BAC5;
  --text-muted:        #7C838F;

  /* ---- PLACEHOLDER HIGHLIGHT (amber = "replace me") --------------------- */
  --placeholder:       #FFB020;
  --placeholder-bg:    rgba(255, 176, 32, 0.10);
  --placeholder-border:rgba(255, 176, 32, 0.32);

  /* ---- TYPOGRAPHY -------------------------------------------------------
     System font stack: zero network requests, instant first paint.
     Critical on slow mobile connections.                                    */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* Fluid type scale — grows smoothly between 360px and 1400px viewports */
  --fs-xs:    0.8125rem;
  --fs-sm:    0.9375rem;
  --fs-base:  1rem;
  --fs-lg:    clamp(1.0625rem, 0.99rem + 0.32vw, 1.1875rem);
  --fs-xl:    clamp(1.25rem, 1.14rem + 0.48vw, 1.5rem);
  --fs-2xl:   clamp(1.5rem, 1.32rem + 0.80vw, 2rem);
  --fs-3xl:   clamp(1.875rem, 1.55rem + 1.44vw, 2.75rem);
  --fs-4xl:   clamp(2.25rem, 1.61rem + 2.84vw, 4rem);
  --fs-hero:  clamp(2.5rem, 1.50rem + 4.44vw, 5rem);

  --lh-tight:  1.08;
  --lh-snug:   1.28;
  --lh-normal: 1.65;

  --tracking-tight: -0.03em;
  --tracking-wide:  0.14em;

  /* ---- SPACING (8px scale) ---------------------------------------------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-9:  4rem;
  --space-10: 5rem;
  --space-12: 7rem;
  --space-16: 10rem;

  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* ---- SHAPE & DEPTH ----------------------------------------------------- */
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:    0 8px 24px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 12px 40px -8px var(--accent-glow);

  /* ---- MOTION ------------------------------------------------------------ */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:  160ms;
  --dur:       280ms;
  --dur-slow:  620ms;

  /* ---- LAYOUT ------------------------------------------------------------ */
  --container: 1200px;
  --container-narrow: 780px;
  --nav-h: 68px;
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button { cursor: pointer; background: none; border: none; padding: 0; }

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

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--section-y); position: relative; }

.section--tight { padding-block: calc(var(--section-y) * 0.6); }

/* Hairline divider between sections */
.section + .section::before {
  content: "";
  position: absolute;
  inset-inline: clamp(1.25rem, 4vw, 2.5rem);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--border) 18%, var(--border) 82%, transparent);
  max-width: var(--container);
  margin-inline: auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-head--center .eyebrow::before { display: none; }

.section-title { font-size: var(--fs-3xl); margin-bottom: var(--space-4); }

.section-sub {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 62ch;
}

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

/* Gradient text accent used inside headings */
.grad {
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback for very old browsers that ignore background-clip:text */
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
  will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* WhatsApp green.
   Used only on the Kitchen Copilot pages, where WhatsApp is the product's
   actual delivery channel — not on the agency contact section, which is
   deliberately email + form only. */
.btn--whatsapp {
  background: #25D366;
  color: #05240F;
  box-shadow: 0 12px 40px -8px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover { background: #2FE676; transform: translateY(-2px); }

.btn--lg { padding: 1.0625rem 2.125rem; font-size: var(--fs-base); }

.btn--block { width: 100%; }

.btn__arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: var(--bg-overlay);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* The logo icon is a transparent PNG, so it sits directly on the page with
   no plate or background behind it — nothing to give it an edge against the
   navbar's translucent blur. */
.logo__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding-block: 0.25rem;
}

.nav__link:hover { color: var(--text); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}

.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-right: -8px;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer
   Breakpoint pushed again, 1049px -> 1179px: adding "CarryPorter" as a third
   product link made the desktop row wrap between roughly 1050-1139px, the
   same problem as before (see git history — this moved from 899px to 1049px
   when "Athena Content-Ops" was added). Each new product link in the nav
   shrinks the safe zone further. If a fourth is added, re-measure the wrap
   point (open the nav at each width from ~1100-1300px and check whether any
   link drops to a second line) before assuming this number still holds. */
@media (max-width: 1179px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) clamp(1.25rem, 4vw, 2.5rem) var(--space-6);
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease-out),
                visibility var(--dur);
  }

  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__link {
    padding-block: var(--space-4);
    font-size: var(--fs-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after { display: none; }

  .nav__links .btn { margin-top: var(--space-5); }
}

@media (min-width: 1180px) {
  .nav__toggle { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__links .btn--block { width: auto; }
}

/* ==========================================================================
   BACKGROUND ATMOSPHERE
   Decorative gradient orbs + grid. Pure CSS, no images, no cost.
   ========================================================================== */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-fx__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 20%, transparent 75%);
}

.bg-fx__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.bg-fx__orb--1 {
  width: 46vw; height: 46vw;
  min-width: 340px; min-height: 340px;
  top: -14vw; left: -8vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: 0.30;
}

.bg-fx__orb--2 {
  width: 38vw; height: 38vw;
  min-width: 280px; min-height: 280px;
  top: 4vw; right: -10vw;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 68%);
  opacity: 0.16;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 6vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: clamp(3rem, 2rem + 4vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__content { max-width: 640px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.9375rem 0.4375rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  backdrop-filter: blur(8px);
}

.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
  flex-shrink: 0;
  margin-left: 0.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  .badge__dot { animation: pulse 2.4s var(--ease) infinite; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.05); }
}

.hero__title {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-5);
  letter-spacing: -0.038em;
}

/* For headlines with a lot more words than the homepage's four. At the full
   --fs-hero size the Kitchen Copilot headline runs to five lines and swamps
   the section; capping it lower keeps the hero balanced. */
.hero__title--long {
  font-size: clamp(2.125rem, 1.35rem + 3.4vw, 3.625rem);
  letter-spacing: -0.032em;
}

/* Short capability strip from the logo's tagline — "Websites · AI Agents ·
   Apps". Sits between the headline and the longer subheadline sentence, so
   it reads as a kicker rather than competing with either. */
.hero__tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.hero__tagline .dot { color: var(--accent-2); }

.hero__sub {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: var(--space-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.hero__point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hero__point svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

/* --- Hero visual: floating code/build panel --------------------------- */

.hero__visual { position: relative; }

.panel {
  position: relative;
  background: linear-gradient(160deg, var(--bg-raised), #0C0E12);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel::before {
  /* Top edge light */
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.panel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.panel__title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.panel__body { padding: var(--space-5); }

.build-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.8125rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.build-step:last-child { border-bottom: none; }

.build-step__icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
}

.build-step__icon svg { width: 14px; height: 14px; }

.build-step__label { color: var(--text-secondary); }

.build-step__status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.build-step--pending .build-step__icon {
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  border-color: var(--border);
}
.build-step--pending .build-step__status { color: var(--text-muted); }

/* Animated progress bar in panel footer */
.panel__foot {
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-top: 1px solid var(--border);
}

.progress {
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (prefers-reduced-motion: no-preference) {
  .progress__fill {
    animation: grow 2.6s var(--ease-out) forwards;
    transform-origin: left;
  }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.panel__foot-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   CHAT MOCK-UP (Kitchen Copilot hero)
   ========================================================================== */

.chat { display: grid; gap: var(--space-3); }

.chat__msg {
  max-width: 84%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* Outgoing — the kitchen owner */
.chat__msg--out {
  justify-self: end;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-bottom-right-radius: 4px;
  color: var(--text);
}

/* Incoming — the assistant */
.chat__msg--in {
  justify-self: start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}

/* Floating stat chip beside the panel */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.float-chip svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }

/* Sits astride the panel's bottom edge. Far enough down that it clears the
   progress bar inside the panel footer rather than covering it. */
.float-chip--1 { bottom: -30px; left: -14px; }

@media (max-width: 560px) { .float-chip--1 { left: 50%; transform: translateX(-50%); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__visual > .panel { animation: floaty 7s var(--ease) infinite; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }
}

/* ==========================================================================
   CARD GRID (Why choose us)
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.card {
  position: relative;
  padding: var(--space-6);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.card::after {
  /* Soft accent wash that fades in on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.card:hover::after { opacity: 1; }

.card > * { position: relative; z-index: 1; }

.card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.card__icon svg { width: 22px; height: 22px; }

.card__title { font-size: var(--fs-xl); margin-bottom: var(--space-3); }

.card__text { color: var(--text-secondary); font-size: var(--fs-sm); }

/* ==========================================================================
   SERVICES — compact icon grid
   ========================================================================== */

.services {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.service {
  background: var(--bg);
  padding: var(--space-6) var(--space-5);
  transition: background-color var(--dur) var(--ease);
  position: relative;
}

.service:hover { background: var(--bg-raised); }

.service__icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
  margin-bottom: var(--space-4);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.service:hover .service__icon { background: var(--accent-2-soft); }

.service__icon svg { width: 20px; height: 20px; }

.service__title { font-size: var(--fs-base); font-weight: 650; margin-bottom: var(--space-2); }

.service__text { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */

.process { position: relative; }

.process__list {
  display: grid;
  gap: var(--space-5);
  position: relative;
}

/* Vertical connector line (mobile & tablet) */
.process__list::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg,
    var(--accent) 0%, rgba(var(--accent-rgb), 0.35) 40%, var(--border) 100%);
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  align-items: start;
  position: relative;
}

.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}

.step:hover .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.step__body { padding-top: 0.375rem; padding-bottom: var(--space-2); }

.step__title { font-size: var(--fs-lg); margin-bottom: var(--space-2); }

.step__text { font-size: var(--fs-sm); color: var(--text-secondary); max-width: 60ch; }

/* Horizontal timeline on wide screens */
@media (min-width: 1040px) {
  .process__list {
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-4);
  }

  .process__list::before {
    left: 0; right: 0;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg,
      var(--accent) 0%, rgba(var(--accent-rgb), 0.35) 55%, var(--border) 100%);
  }

  /* align-content:start is load-bearing. Without it the two rows stretch to
     fill the equal-height grid cell, so a step with a shorter description
     pushes its own title down and the row of titles goes ragged. */
  .step {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-content: start;
  }
  .step__body { padding-top: 0; }
  .step__title { font-size: var(--fs-base); }
  .step__text { font-size: var(--fs-xs); }
}

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */

.project {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: linear-gradient(150deg, var(--bg-raised), rgba(16, 18, 22, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 55%; height: 120%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}

/* Give the phone fan noticeably more room than the copy — four frames need it */
@media (min-width: 940px) {
  .project { grid-template-columns: minmax(280px, 0.72fr) 1.28fr; }
}

.project__content { position: relative; z-index: 1; }

.project__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--accent-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.project__title { font-size: var(--fs-2xl); margin-bottom: var(--space-3); }

.project__text { color: var(--text-secondary); margin-bottom: var(--space-5); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }

.chip {
  padding: 0.375rem 0.8125rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Phone mockup frames ---------------------------------------------- */

.phones {
  display: flex;
  justify-content: center;
  gap: clamp(0.625rem, 1.6vw, 1.25rem);
  position: relative;
  z-index: 1;
  padding-block: var(--space-3);
}

.phone {
  position: relative;
  flex: 1 1 0;
  max-width: 200px;
  min-width: 0;
  aspect-ratio: 1080 / 2340;          /* matches required screenshot size */
  border-radius: clamp(18px, 4.5vw, 28px);
  padding: 5px;
  background: linear-gradient(160deg, #2A2E36, #14161A 40%, #0B0C0F);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform var(--dur-slow) var(--ease-out);
}

/* Staggered fan layout — the middle phones sit slightly higher */
@media (min-width: 640px) {
  .phone:nth-child(odd)  { transform: translateY(14px); }
  .phone:hover           { transform: translateY(-6px) scale(1.03); z-index: 2; }
  .phone:nth-child(odd):hover { transform: translateY(8px) scale(1.03); }
}

/* On small screens only show two phones — four would be unreadably narrow */
@media (max-width: 639px) {
  .phone:nth-child(n + 3) { display: none; }
  .phone { max-width: 168px; }
}

.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: clamp(14px, 3.6vw, 23px);
  overflow: hidden;
  background: #0E1014;
}

.phone__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Notch */
.phone__notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 12px;
  border-radius: var(--radius-full);
  background: #05060800;
  box-shadow: inset 0 0 0 100px #050608;
  z-index: 2;
}

/* Glass reflection sweep */
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(122deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 26%,
    transparent 48%);
  pointer-events: none;
  z-index: 3;
}

/* Placeholder shown until the real screenshot file exists */
.phone__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: var(--space-3);
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 176, 32, 0.05) 0 10px,
      rgba(255, 176, 32, 0.02) 10px 20px),
    var(--bg-elevated);
  border: 1px dashed var(--placeholder-border);
  border-radius: inherit;
  color: var(--placeholder);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
}

.phone__placeholder span { color: var(--text-muted); font-weight: 500; font-size: 0.625rem; }

/* Hidden once a real image loads successfully (toggled in main.js) */
.phone__screen.has-image .phone__placeholder { display: none; }
.phone__screen:not(.has-image) img { visibility: hidden; }

/* --- Empty slots for future projects ---------------------------------- */

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 220px;
  padding: var(--space-6);
  text-align: center;
  border: 1px dashed var(--placeholder-border);
  border-radius: var(--radius-lg);
  background: var(--placeholder-bg);
  color: var(--text-secondary);
  transition: border-color var(--dur) var(--ease);
}

.slot:hover { border-color: var(--placeholder); }

.slot__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 176, 32, 0.14);
  color: var(--placeholder);
}

.slot__icon svg { width: 20px; height: 20px; }

.slot__title { font-size: var(--fs-base); font-weight: 650; color: var(--placeholder); }
.slot__text  { font-size: var(--fs-xs); color: var(--text-muted); max-width: 30ch; }

/* Reusable "replace this" tag */
.tag-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--placeholder-bg);
  border: 1px solid var(--placeholder-border);
  color: var(--placeholder);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.quote {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}

.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.quote__mark {
  font-size: 3.25rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--accent);
  opacity: 0.34;
  margin-bottom: var(--space-2);
  height: 1.75rem;
}

.quote__text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  flex: 1;
}

.quote__foot {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px dashed var(--placeholder-border);
  color: var(--placeholder);
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.quote__name { font-size: var(--fs-sm); font-weight: 650; }
.quote__role { font-size: var(--fs-xs); color: var(--text-muted); }

/* ==========================================================================
   PRICING
   ========================================================================== */

.tiers {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}

.tier:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.tier--featured {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: linear-gradient(170deg, rgba(var(--accent-rgb), 0.09), var(--bg-raised) 55%);
  box-shadow: 0 20px 60px -24px var(--accent-glow);
}

.tier__flag {
  position: absolute;
  top: -1px; right: var(--space-5);
  padding: 0.3125rem 0.75rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier__name { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.tier__for  { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-5); }

.tier__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  min-height: 84px;
}

/* The amber price placeholder */
.price-slot {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--placeholder);
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
}

.tier__period { font-size: var(--fs-sm); color: var(--text-muted); }

/* A real, confirmed price — as opposed to the amber .price-slot placeholder */
.tier__amount {
  font-size: var(--fs-4xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--text);
}

.tier__features { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); flex: 1; }

.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.tier__features svg {
  width: 17px; height: 17px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

.pricing-note {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  align-items: start;
}

@media (min-width: 940px) { .contact { grid-template-columns: 1.05fr 0.95fr; } }

.form { display: grid; gap: var(--space-4); }

.field { display: grid; gap: 0.5rem; }

.field__row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.label span { color: var(--accent); }

.label .label__opt { color: var(--text-muted); font-weight: 500; }

.input, .textarea, .select {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder, .textarea::placeholder { color: var(--text-muted); }

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C838F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.select option { background: var(--bg-raised); color: var(--text); }

.form__note { font-size: var(--fs-xs); color: var(--text-muted); }

/* Form success / error banner */
.form-status {
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}

.form-status.is-visible { display: flex; }

.form-status--ok {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.30);
  color: var(--accent-2);
}

.form-status--err {
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.30);
  color: #FF8A8A;
}

.form-status svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

/* Thank-you state.
   On a successful send the form collapses to just the confirmation, so the
   visitor gets a clear "done" rather than an empty form that looks unsent. */
.form.is-sent > *:not(.form-status--ok) { display: none; }

.form.is-sent .form-status--ok {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-9) var(--space-6);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
}

.form.is-sent .form-status--ok svg {
  width: 30px;
  height: 30px;
  margin-top: 0;
  padding: 0.5rem;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
}

/* --- Contact side rail ------------------------------------------------- */

.rail { display: grid; gap: var(--space-4); }

.rail__card {
  padding: var(--space-5);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* The lead card in the rail — email, the main alternative to the form. */
.rail__card--primary {
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-raised) 62%);
  border-color: rgba(var(--accent-rgb), 0.30);
}

/* Numbered "what happens next" list */
.steps-mini { display: grid; gap: var(--space-3); }

.steps-mini li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.steps-mini span {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border: 1px solid rgba(34, 211, 238, 0.26);
}

.rail__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-base);
  font-weight: 650;
  margin-bottom: var(--space-2);
}

.rail__title svg { width: 20px; height: 20px; flex-shrink: 0; }

.rail__text { font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--space-4); }

.rail__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-2);
  transition: color var(--dur-fast) var(--ease);
  word-break: break-word;
}

.rail__link:hover { color: var(--accent); }

/* Calendly embed placeholder */
.calendly-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-align: center;
  min-height: 300px;
  padding: var(--space-6);
  border: 1px dashed var(--placeholder-border);
  border-radius: var(--radius);
  background: var(--placeholder-bg);
}

.calendly-slot__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 176, 32, 0.14);
  color: var(--placeholder);
}

.calendly-slot__icon svg { width: 22px; height: 22px; }

.calendly-slot__title { font-size: var(--fs-base); font-weight: 650; color: var(--placeholder); }
.calendly-slot__text  { font-size: var(--fs-xs); color: var(--text-muted); max-width: 36ch; }

.calendly-slot code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */

.cta-band {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    var(--bg-raised);
  text-align: center;
  overflow: hidden;
}

.cta-band__title { font-size: var(--fs-3xl); margin-bottom: var(--space-4); }
.cta-band__text {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 auto var(--space-7);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

@media (max-width: 420px) {
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-6);
  /* No margin-top: the preceding section's bottom padding already provides
     the gap. Adding both stacks them and leaves a dead band above the footer. */
}

.footer__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-bottom: var(--space-8);
}

.footer__brand { max-width: 320px; }

/* The footer has room for the real lockup, wordmark artwork and all. */
.footer__logo {
  display: block;
  width: clamp(104px, 12vw, 128px);
  height: auto;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer__list { display: grid; gap: var(--space-3); }

.footer__list a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}

.footer__list a:hover { color: var(--accent); }

/* Registered legal entity. Appears on every page — required for things like
   Meta business verification, which checks the operating company is named
   on the website itself. */
.footer__operator {
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  /* One step up from the copyright line's size and colour. This exists to be
     read by a human reviewer, so it should not be the faintest text here. */
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer__operator strong { color: var(--text); font-weight: 650; }

/* The operator line already draws the divider, so the row below it doesn't */
.footer__operator + .footer__bottom {
  border-top: none;
  padding-top: var(--space-3);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__legal a:hover { color: var(--text-secondary); }

/* ==========================================================================
   FLOATING "GET IN TOUCH" BUTTON
   Appears after the hero, hides again over the contact section.
   ========================================================================== */

.cta-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 34px -8px var(--accent-glow);
  transition: transform var(--dur) var(--ease-out),
              opacity var(--dur) var(--ease),
              background-color var(--dur-fast) var(--ease);
  /* Hidden until the user scrolls past the hero */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(10px);
}

.cta-float.is-visible { opacity: 1; visibility: visible; transform: none; }

.cta-float:hover { background: var(--accent-hover); transform: translateY(-2px); }

.cta-float svg { width: 18px; height: 18px; flex-shrink: 0; }

/* On the narrowest screens drop the label so it never crowds the content */
@media (max-width: 380px) {
  .cta-float { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .cta-float span { display: none; }
  .cta-float svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   Elements start hidden and fade+rise in when observed.
   .reveal-ready is added by JS — without JS everything stays visible.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--dur-slow) var(--ease-out),
                transform var(--dur-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* Respect reduced motion: kill every animation and transition */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

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

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus { transform: translate(-50%, 0); }

.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
