/* ============================================================
   ATLAS PRO CONSULTING — style.css
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:   #FF6A00;
  --orange2:  #FF8C00;
  --ember:    #FF4500;
  --bg:       #050505;
  --bg1:      #0a0a0a;
  --bg2:      #111111;
  --surface:  rgba(255,255,255,.04);
  --border:   rgba(255,255,255,.08);
  --text:     #e8e8e8;
  --muted:    #888;
  --nav-h:    72px;
  --radius:   14px;
  --radius-lg:22px;
  --trans:    .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip not hidden — avoids Chrome scroll-container bug */
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.grad-text {
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: "Sora", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.section { padding: 100px 0; }

/* ── Particle Canvas ──────────────────────────────────────── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Background Orbs ──────────────────────────────────────── */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}
.orb-orange { width: 600px; height: 600px; background: var(--orange); top: -200px; right: -150px; }
.orb-ember  { width: 400px; height: 400px; background: var(--ember);  bottom: 10%; left: -120px; }
.orb-char   { width: 350px; height: 350px; background: #1a0a00;       top: 40%;   right: 20%; }

/* ── Glassmorphism ────────────────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  font-family: "Sora", sans-serif;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,106,0,.35);
}
/* Keep buttons in the nav at full contrast. The nav rule
   `.nav-links a { color: var(--muted) }` was out-specifying the button
   text color, graying the "Book a Strategy Call" label until hover. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-ghost { color: var(--text); }
/* Never let the JS reveal (opacity:0) leave the hero CTA dim/invisible at rest.
   The row can still slide in via transform, but stays full-strength. */
.hero-ctas.reveal { opacity: 1; }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-arrow { transition: transform var(--trans); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--trans), border-color var(--trans);
}
.nav.scrolled {
  background: rgba(5,5,5,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo { width: 36px; height: 36px; object-fit: contain; }
.nav-wordmark {
  font-family: "Sora", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  line-height: 1.2;
}
.nav-wordmark b { color: var(--orange); font-weight: 800; }
.nav-wordmark em {
  display: block;
  font-style: normal;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: "Sora", sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-links a:hover { color: #fff; }
.nav-links a i {
  font-style: normal;
  font-size: .65rem;
  color: var(--orange);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  z-index: 1;
}
.hero-watermark {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 800;
  color: rgba(255,106,0,.04);
  letter-spacing: .05em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .08;
  z-index: -1;
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 0 4rem;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem;
  background: rgba(255,106,0,.1);
  border: 1px solid rgba(255,106,0,.25);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 1.5rem;
  width: fit-content;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat-num {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.stat-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Line Reveal (hero) ───────────────────────────────────── */
.line-reveal {
  display: block;
  overflow: hidden;
}
.line-reveal span {
  display: block;
  transform: translateY(110%);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.line-reveal.in span { transform: translateY(0); }

/* ── Hero Media / Console Frame ───────────────────────────── */
.hero-media { position: relative; }
.console-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  box-shadow: 0 0 60px rgba(255,106,0,.12), 0 30px 80px rgba(0,0,0,.6);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}
.cdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cdot-o { background: #ff5f57; }
.cdot-w { background: #ffbd2e; }
.cdot-g { background: #28c840; }
.console-label {
  font-family: "Sora", sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  margin-left: auto;
}
.console-live {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-family: "Sora", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #28c840;
  margin-left: 1rem;
}
.console-frame video,
.console-frame img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,106,0,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── HUD Corners ──────────────────────────────────────────── */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--orange);
  border-style: solid;
  opacity: .6;
}
.hud-tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.hud-tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.hud-bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.hud-br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

/* ── Float Animations ─────────────────────────────────────── */
.float-slow   { animation: float 6s ease-in-out infinite; }
.float-slower { animation: float 8s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Hero Float Logo ──────────────────────────────────────── */
.hero-float-logo {
  position: absolute;
  width: 80px;
  bottom: -20px;
  right: -20px;
  opacity: .6;
  filter: drop-shadow(0 0 20px var(--orange));
}

/* ── Scroll Cue ───────────────────────────────────────────── */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.scroll-cue span {
  width: 6px;
  height: 10px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 3px;
  background: var(--muted);
  border-radius: 1px;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { opacity: 1; top: 2px; }
  50%       { opacity: .3; top: 4px; }
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  background: rgba(255,106,0,.04);
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: "Sora", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track i {
  color: var(--orange);
  font-style: normal;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Titles ───────────────────────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,.15), transparent 70%);
  left: calc(var(--mx, 50%) - 90px);
  top: calc(var(--my, 50%) - 90px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(255,106,0,.3);
  box-shadow: 0 8px 30px rgba(255,106,0,.08);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #fff;
}
.service-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Systems Section ──────────────────────────────────────── */
.systems { position: relative; z-index: 1; }
.system-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.system-visual img { width: 100%; display: block; }
.visual-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: "Sora", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--orange);
  background: rgba(0,0,0,.7);
  padding: .3rem .75rem;
  border-radius: 4px;
  border: 1px solid rgba(255,106,0,.3);
}
.systems-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.flow-step {
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.flow-step::before {
  content: attr(data-step);
  display: block;
  font-family: "Sora", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--orange);
  margin-bottom: .75rem;
}
.flow-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.flow-step p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.flow-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: .4;
}

/* ── Creative Menu ────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.price-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--trans), transform var(--trans);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-card .price-tag { flex: 0 0 auto; }
.price-card .price-row { margin-bottom: 1.1rem; }
.price-buy {
  margin-top: auto;
  align-self: flex-start;
}
.price-card.featured {
  border-color: rgba(255,106,0,.4);
  background: rgba(255,106,0,.06);
}
.price-card:hover {
  border-color: rgba(255,106,0,.3);
  transform: translateY(-2px);
}
.price-tag {
  font-family: "Sora", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--orange);
  background: rgba(255,106,0,.12);
  padding: .2rem .55rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: .75rem;
}
.price-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.price-unit {
  font-size: .72rem;
  color: var(--muted);
}
.price-amount {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
}
.menu-note {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* ── About / Why Atlas Pro ────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-copy .section-title { margin-bottom: 1.5rem; }
.lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pillar {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.pillar-icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: .25rem;
}
.pillar h3 { font-size: 1rem; color: #fff; }
.pillar p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── Book Section ─────────────────────────────────────────── */
.book-panel {
  text-align: center;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.book-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .07;
  z-index: 0;
}
.book-logo {
  width: 64px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px var(--orange));
}
.book-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.book-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.book-panel .btn { position: relative; z-index: 1; }
.book-contacts {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .82rem;
  color: var(--muted);
  transition: var(--trans);
}
.contact-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.chip-icon { color: var(--orange); }

/* ── Contact Section ──────────────────────────────────────── */
.contact { position: relative; z-index: 1; }
.contact-panel {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 760px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  color-scheme: dark;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.contact-field-full { grid-column: 1 / -1; }
.contact-field label {
  font-family: "Sora", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}
.contact-field label .req { color: var(--orange); }
.contact-field label .opt {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color var(--trans);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--bg2); color: var(--text); }
.contact-form select:invalid { color: var(--muted); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.contact-alt { font-size: .82rem; color: var(--muted); }
.contact-alt a { color: var(--orange); font-weight: 600; }
.contact-alt a:hover { color: var(--orange2); }
.contact-error {
  grid-column: 1 / -1;
  font-size: .85rem;
  color: #ffb199;
  background: rgba(255,69,0,.08);
  border: 1px solid rgba(255,69,0,.35);
  border-radius: 12px;
  padding: .75rem 1rem;
}
.contact-error a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.contact-success {
  text-align: center;
  padding: 2rem 1rem;
}
.contact-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,106,0,.4);
  background: rgba(255,106,0,.12);
  color: var(--orange);
  font-size: 1.5rem;
}
.contact-success h3 { font-size: 1.3rem; margin-bottom: .6rem; color: #fff; }
.contact-success p { font-size: .9rem; color: var(--muted); }
.contact-success p a { color: var(--orange); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.footer-logo { width: 30px; height: 30px; object-fit: contain; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--orange); }
.footer-meta {
  font-size: .72rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: .5rem;
}

/* ── Reveal Animations ────────────────────────────────────── */
.reveal,
.reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal       { transform: translateY(28px); }
.reveal-right { transform: translateX(36px); }
.reveal.in,
.reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .systems-flow {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .flow-connector { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Solid, always-visible bar so it never renders transparent/clipped over the hero */
  .nav {
    background: rgba(5,5,5,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { width: 30px; height: 30px; }
  .nav-wordmark { font-size: .7rem; letter-spacing: .06em; }
  .nav-wordmark em { font-size: .55rem; }

  /* Hamburger: real ~44px tappable hit area, centered */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: -8px;
  }

  /* Full-width slide-down menu, directly below the bar. The CLOSED panel is
     truly hidden (visibility/opacity/pointer-events) so it can never paint
     over or intercept the bar regardless of its height. */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(5,5,5,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 32px rgba(0,0,0,.55);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--trans), opacity var(--trans), visibility var(--trans);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Text links as clearly-visible full-width tappable rows */
  .nav-links a:not(.btn) {
    width: 100%;
    padding: .85rem 1rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
  }
  .nav-links a:not(.btn):hover { color: #fff; }
  .nav-links a i { font-size: .72rem; margin-right: .35rem; }
  /* Shop / Login / Book buttons: full-width, keep their native colors */
  .nav-links .btn {
    width: 100%;
    justify-content: center;
    padding: .9rem 1rem;
    font-size: .95rem;
  }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-stats { flex-wrap: wrap; gap: 1rem; justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .systems-flow { grid-template-columns: 1fr; }

  .book-panel { padding: 3rem 1.5rem; }

  .contact-panel { padding: 2rem 1.25rem; }
  .contact-form { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-badge { font-size: .68rem; }
  .services-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* Center the contact section: constrained width, centered intro copy,
   form block centered on the page. */
.contact .container { max-width: 780px; }
.contact .eyebrow, .contact .section-title, .contact .section-sub { text-align: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }
.contact-panel { margin-left: auto; margin-right: auto; }


/* ── Systems motion graphic (2026-09-28) ─────────────────── */
.machine-visual { background: #070504; }
.machine-svg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 560; }
.machine-svg .mv-label { font: 700 15px "Sora", sans-serif; letter-spacing: .14em; fill: #e8e8e8; }
.machine-svg .mv-small { font: 600 12px "Sora", sans-serif; letter-spacing: .18em; fill: #9a8a80; }
.machine-svg .mv-num { font: 700 30px "Sora", sans-serif; fill: #FF8C00; }
.machine-svg .mv-core { font: 800 20px "Sora", sans-serif; fill: #FF8C00; letter-spacing: .08em; }
.machine-svg .mv-gear { animation: mv-spin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
.machine-svg .mv-ring { animation: mv-spin 24s linear infinite reverse; transform-box: fill-box; transform-origin: center; }
.machine-svg .mv-flow { animation: mv-dash 1.4s linear infinite; }
.machine-svg .mv-ping { transform-box: fill-box; transform-origin: center; animation: mv-ping 6s ease-out infinite; animation-delay: var(--d); opacity: 0; }
.machine-svg .mv-scan { animation: mv-scan 5s linear infinite; }
.machine-svg .mv-live { animation: mv-blink 1.6s ease-in-out infinite; }
@keyframes mv-spin { to { transform: rotate(360deg); } }
@keyframes mv-dash { to { stroke-dashoffset: -32; } }
@keyframes mv-ping { 0% { opacity: .9; transform: scale(1); } 25% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes mv-scan { from { transform: translateY(0); } to { transform: translateY(560px); } }
@keyframes mv-blink { 50% { opacity: .25; } }
@media (max-width: 640px) {
  .machine-svg .mv-label { font-size: 22px; }
  .machine-svg .mv-readout { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .machine-svg *, .machine-svg { animation: none !important; }
  .machine-svg .mv-pulses { display: none; }
}

/* ── Site phone number (2026-09-28) ──────────────────────── */
.footer-phone { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.footer-phone a { color: var(--orange); font-weight: 600; }

@media (max-width: 640px) { .machine-visual .visual-tag { display: none; } }

/* ── Social links (2026-10-02) ───────────────────────────── */
.footer-social, .nav-social { display: flex; align-items: center; gap: .6rem; }
.footer-social { width: 100%; justify-content: center; }
.footer-social a, .nav-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--muted);
  transition: color var(--trans), border-color var(--trans), background var(--trans);
}
.footer-social a:hover, .nav-social a:hover,
.footer-social a:focus-visible, .nav-social a:focus-visible {
  color: var(--orange); border-color: rgba(255,106,0,.5); background: rgba(255,106,0,.08);
}
.nav-social { display: none; }
@media (max-width: 768px) {
  .nav-links .nav-social { display: flex; padding-top: .5rem; }
}
.footer-phone { width: 100%; text-align: center; margin-top: 0; }

/* -- Who We Build For ------------------------------------------ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ind-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,106,0,.07), rgba(255,255,255,.02) 45%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.ind-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange2), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.ind-card:hover { border-color: rgba(255,106,0,.35); transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(255,106,0,.45); }
.ind-card:hover::before { transform: scaleX(1); }
.ind-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.ind-top .price-tag { margin-bottom: 0; }
.ind-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; background: rgba(255,106,0,.12); border: 1px solid rgba(255,106,0,.25);
}
.ind-card h3 { font-family: "Sora", sans-serif; font-size: 1.2rem; color: #fff; line-height: 1.3; margin-bottom: .6rem; }
.ind-card p { color: var(--muted); font-size: .92rem; line-height: 1.65; margin-bottom: 1.1rem; }
.ind-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.ind-list li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: var(--text); }
.ind-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .75rem; border-radius: 50%;
  background: radial-gradient(circle, var(--orange2) 30%, transparent 32%), rgba(255,106,0,.18);
}
.ind-cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .ind-grid { grid-template-columns: 1fr; } .ind-card { padding: 1.5rem; } }

/* -- SMS consent checkbox ------------------------------------- */
.contact-consent .consent-label { display: flex; gap: .75rem; align-items: flex-start; font-size: .8rem; line-height: 1.55; color: var(--muted); font-weight: 400; cursor: pointer; text-transform: none; letter-spacing: 0; }
.contact-consent input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--orange); }
.contact-consent a { color: var(--orange2); }

/* =====================================================================
   FX LAYER (2026-10-28): glint on every button, living edge glow on
   cards and panels, shimmer on gradient text, scroll progress, cursor
   spotlight. All motion is skipped for prefers-reduced-motion.
   ===================================================================== */
@property --fx-a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes fx-spin { to { --fx-a: 360deg; } }
@keyframes fx-glint {
  0%, 88% { transform: translateX(-160%) skewX(-22deg); }
  100%    { transform: translateX(260%) skewX(-22deg); }
}
@keyframes fx-shimmer { to { background-position: 200% center; } }
@keyframes fx-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,0), 0 8px 24px rgba(255,106,0,.18); }
  50%      { box-shadow: 0 0 0 4px rgba(255,106,0,.10), 0 10px 34px rgba(255,106,0,.38); }
}

/* 1. Glint: a light sweep crosses every button on a loop, and on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%; left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-160%) skewX(-22deg);
  animation: fx-glint 10s cubic-bezier(.4,0,.2,1) infinite;
  animation-delay: var(--fx-delay, 0s);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}
.btn-ghost::after { background: linear-gradient(90deg, transparent, rgba(255,140,0,.45), transparent); mix-blend-mode: normal; opacity: .6; }
.btn:hover::after { animation: fx-glint-hover .9s cubic-bezier(.4,0,.2,1) 1; }
@keyframes fx-glint-hover { from { transform: translateX(-160%) skewX(-22deg); } to { transform: translateX(260%) skewX(-22deg); } }
.btn-primary { animation: fx-breathe 3.6s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* 2. Living edge: a comet of orange light orbits the border of cards and panels */
.service-card, .ind-card, .pillar, .flow-step, .contact-panel, .book-panel, .faq-item, .stat {
  position: relative;
}
.service-card::after, .ind-card::after, .pillar::after, .contact-panel::after, .book-panel::after, .faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--fx-a),
    transparent 0deg, transparent 230deg,
    rgba(255,69,0,.25) 270deg, #FF6A00 318deg, #FFD2A8 334deg, #FF8C00 344deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: fx-spin var(--fx-speed, 7s) linear infinite;
  animation-delay: var(--fx-delay, 0s);
  filter: drop-shadow(0 0 6px rgba(255,106,0,.65));
  opacity: .42;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 2;
}
.service-card:hover::after, .ind-card:hover::after, .pillar:hover::after, .faq-item:hover::after { opacity: 1; --fx-speed: 3s; }
.contact-panel::after, .book-panel::after { opacity: .85; --fx-speed: 9s; padding: 2px; }
.service-card:hover, .ind-card:hover, .pillar:hover {
  box-shadow: 0 0 0 1px rgba(255,106,0,.25), 0 18px 60px -12px rgba(255,106,0,.35);
}

/* 3. Shimmer on every orange gradient headline */
.grad-text {
  background-image: linear-gradient(90deg, #FF6A00 0%, #FF8C00 25%, #FFC58A 50%, #FF8C00 75%, #FF6A00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fx-shimmer 6s linear infinite;
}

/* 4. Scroll progress bar */
.fx-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #FF4500, #FF6A00, #FFC58A);
  box-shadow: 0 0 12px rgba(255,106,0,.8);
  z-index: 10000; pointer-events: none;
}

/* 5. Cursor spotlight (desktop only) */
.fx-spot {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px;
  margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,.10), rgba(255,106,0,.04) 40%, transparent 70%);
  pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity .6s ease; will-change: transform;
}
body.fx-spot-on .fx-spot { opacity: 1; }

/* 6. 3D tilt support */
.fx-tilt { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .35s ease; }

/* Nav: labels never wrap, brand never gets overlapped */
.nav-inner { width: min(1320px, 95vw); gap: 1.5rem; }
.nav-brand { flex-shrink: 0; }
.nav-links { gap: 1.25rem; }
.nav-links a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1320px) {
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .76rem; }
  .nav-links a i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after, .btn-primary, .grad-text,
  .service-card::after, .ind-card::after, .pillar::after, .contact-panel::after, .book-panel::after, .faq-item::after { animation: none !important; }
  .fx-spot, .fx-progress { display: none; }
}

/* Round Robin form embed (contact section) */
.rr-embed-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050505;
  box-shadow: 0 30px 90px -30px rgba(255,106,0,.35);
}
.rr-embed-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--fx-a),
    transparent 0deg, transparent 230deg,
    rgba(255,69,0,.25) 270deg, #FF6A00 318deg, #FFD2A8 334deg, #FF8C00 344deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: fx-spin 9s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,106,0,.65));
  pointer-events: none;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) { .rr-embed-wrap::after { animation: none; } }
.rr-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: transparent;
  color-scheme: dark;
}
.contact-alt-center { text-align: center; margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.contact-alt-center a { color: var(--orange); }

/* Call button: floating pill on desktop, full-width bar on phones */
.call-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 34px -8px rgba(255,106,0,.6);
  overflow: hidden; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.call-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255,106,0,.75); color: #fff; }
.call-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.call-fab::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-160%) skewX(-22deg);
  animation: fx-glint 10s cubic-bezier(.4,0,.2,1) infinite; animation-delay: 5s;
  mix-blend-mode: soft-light; pointer-events: none;
}
.call-fab .short { display: none; }
@media (max-width: 760px) {
  .call-fab { left: 12px; right: 12px; bottom: 12px; justify-content: center; padding: 1rem; font-size: 1rem; border-radius: 14px; }
  .call-fab .long { display: none; }
  .call-fab .short { display: inline; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .call-fab::after { animation: none; } }
