/* ============================================================
   SALESGENIEAI — premium agency
   ============================================================ */

:root {
  --void:       #080A0E;
  --void-soft:  #12161D;
  --paper:      #FAF8F4;
  --paper-2:    #F0EDE6;
  --paper-3:    #E6E1D8;
  --ink:        #0E1117;
  --ink-soft:   #4A5060;
  --ink-faint:  #7C8294;
  --line:       rgba(14, 17, 23, 0.1);
  --line-soft:  rgba(14, 17, 23, 0.06);
  --accent:     #D4612A;
  --accent-ink: #A84A1F;
  --accent-glow: rgba(212, 97, 42, 0.35);
  --gold:       #B8956B;
  --good:       #3A8F6E;
  --paper-card: #FFFFFF;
  --radius:     14px;
  --radius-lg:  22px;

  --display: "Instrument Serif", Georgia, serif;
  --body:    "DM Sans", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --gut: clamp(20px, 4.5vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

.theme-ink {
  --void:       #06080B;
  --void-soft:  #0E1218;
  --paper:      #0E1117;
  --paper-2:    #141820;
  --paper-3:    #1A1F28;
  --ink:        #F5F3EE;
  --ink-soft:   #A8ADB8;
  --ink-faint:  #6E7480;
  --line:       rgba(245, 243, 238, 0.1);
  --line-soft:  rgba(245, 243, 238, 0.05);
  --paper-card: #141820;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.no-grain::after { display: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

[id] { scroll-margin-top: 92px; }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 1000;
  pointer-events: none;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(80px, 12vw, 160px); }
.section-dark { background: var(--void); color: var(--paper); }
.section-muted { background: var(--paper-2); }

/* ---------- type ---------- */
.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 20px;
}
.section-dark .sec-label { color: var(--accent); }

.sec-heading {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.sec-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.sec-head-center { grid-template-columns: 1fr; text-align: center; }
.sec-head-center .sec-heading { max-width: 16ch; margin-inline: auto; }

.sec-aside {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36ch;
  align-self: end;
}

em.mark, .hl { font-style: italic; color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn .arr { transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 var(--accent-ink), 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-invert { background: var(--paper); color: var(--void); }
.btn-invert:hover { background: #fff; }

.btn-invert-ghost {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.btn-invert-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 75%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-name { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.brand-ai {
  font-family: var(--mono);
  font-size: 0.62em;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-left: 2px;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 76px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 70% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 70%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%);
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 8vh, 100px);
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: color-mix(in srgb, var(--paper-card) 80%, transparent);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(58, 143, 110, 0.5);
  animation: pulse-ring 2s ease infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58, 143, 110, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(58, 143, 110, 0); }
}

.hero-title { margin: 0; }
.hero-line {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(44px, 7.5vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero-line .line-inner { display: block; }
.hero-line .mark { font-style: italic; color: var(--accent); }

.hero-lead {
  margin-top: 32px;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* hero stage / call demo */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.float-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(8, 10, 14, 0.45);
  border: 3px solid var(--paper-card);
  background: var(--paper-3);
  opacity: 0;
  animation: float-in 1s var(--ease-out) forwards;
}
.float-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-1 {
  width: 130px;
  height: 160px;
  top: 2%;
  left: -4%;
  transform: rotate(-7deg);
  animation-delay: 0.5s;
}
.fc-2 {
  width: 118px;
  height: 148px;
  bottom: 8%;
  left: 2%;
  transform: rotate(5deg);
  animation-delay: 0.7s;
}
.fc-3 {
  width: 124px;
  height: 154px;
  top: 6%;
  right: -2%;
  transform: rotate(6deg);
  animation-delay: 0.9s;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(20px) rotate(var(--r, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
}
.fc-1 { --r: -7deg; }
.fc-2 { --r: 5deg; }
.fc-3 { --r: 6deg; }

.stage-glow {
  position: absolute;
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(40px);
  opacity: 0.6;
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

.calldemo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  background: var(--paper-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.5) inset,
    0 32px 64px -24px rgba(8, 10, 14, 0.35),
    0 0 80px -20px var(--accent-glow);
  overflow: hidden;
}

.cd-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--void);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cd-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--good);
}
.cd-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse-ring 2s ease infinite;
}
.cd-time { color: rgba(255,255,255,0.5); }

.cd-top {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.cd-caller { display: flex; align-items: center; gap: 12px; }
.cd-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 17px;
}
.cd-caller b { display: block; font-size: 15px; font-weight: 600; }
.cd-caller span { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }

.cd-body {
  padding: 16px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  max-height: 300px;
  overflow-y: auto;
}

.bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  animation: bubble-in 0.45s var(--ease-out) backwards;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.bubble.caller {
  align-self: flex-start;
  background: var(--paper-2);
  border-bottom-left-radius: 4px;
}
.bubble.agent {
  align-self: flex-end;
  background: var(--void);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}
.bubble .who {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  margin-bottom: 4px;
}

.typing { display: inline-flex; gap: 4px; }
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: typing-bounce 1.2s ease infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.cd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-faint);
}
.cd-actions { display: flex; gap: 6px; }
.cd-tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 10px;
}
.cd-tag.hot { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

/* niche strip */
.niche-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 60%, var(--paper));
  padding-block: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.niche-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: niche-scroll 50s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.niche-track span::after {
  content: "·";
  margin-left: 48px;
  color: var(--accent);
  opacity: 0.6;
}
@keyframes niche-scroll { to { transform: translateX(-50%); } }

/* ---------- stats band ---------- */
.stats-band {
  background: var(--void);
  color: var(--paper);
  border-block: 1px solid rgba(255,255,255,0.06);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 3vw, 32px);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.stat:first-child { border-left: 0; }

.stat-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.05em;
}
.stat-num.accent { color: var(--accent); }
.stat-unit {
  font-family: var(--mono);
  font-size: 0.35em;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  max-width: 22ch;
}

/* ---------- services accordion ---------- */
.svc-acc { border-top: 1px solid var(--line); }

.svc-item { border-bottom: 1px solid var(--line); }

.svc-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s;
}
.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  transition: color 0.25s;
}
.svc-name {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  transition: color 0.25s;
}
.svc-chev {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: transform 0.45s var(--ease-out), border-color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.svc-chev::before,
.svc-chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background 0.25s;
}
.svc-chev::before { width: 12px; height: 1.5px; }
.svc-chev::after { width: 1.5px; height: 12px; transition: transform 0.45s var(--ease-out), opacity 0.25s; }

.svc-item.active .svc-chev { transform: rotate(0deg); background: var(--void); border-color: var(--void); }
.svc-item.active .svc-chev::before,
.svc-item.active .svc-chev::after { background: var(--paper); }
.svc-item.active .svc-chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.svc-item.active .svc-name { color: var(--accent-ink); }
.svc-item.active .svc-num { color: var(--accent); }

.svc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out);
}
.svc-item.active .svc-panel { max-height: 520px; }

.svc-panel-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding: 0 0 clamp(24px, 3vw, 36px) 84px;
  align-items: start;
}

.svc-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.svc-item.active .svc-photo img { transform: scale(1.03); }

.svc-body p {
  padding-left: 0;
  padding-bottom: 14px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  padding-bottom: 0;
}
.svc-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* ---------- industries (dark) ---------- */
.section-dark .sec-heading { color: var(--paper); }

.ind-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ind-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 20px);
  min-width: 0;
}

.ind-visual {
  position: relative;
  margin: 0;
  width: 100%;
  flex: none;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--void-soft);
  border: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
}

.ind-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.ind-visual img.loaded { opacity: 1; }
.ind-visual.is-swapping img.loaded { opacity: 0.4; }
.ind-visual.is-swapping img.loaded.swap-in {
  opacity: 1;
  animation: photo-swap 0.5s var(--ease-out);
}
@keyframes photo-swap {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

.ind-illus {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 2;
}

.ind-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ind-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.5);
  width: 100%;
  transition: background 0.25s, color 0.25s;
  font-family: var(--body);
}
.ind-tab .ix {
  font-family: var(--mono);
  font-size: 11px;
  width: 24px;
  color: rgba(255,255,255,0.25);
}
.ind-tab .nm {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.ind-tab .go { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: 0.3s var(--ease-out); color: var(--accent); }
.ind-tab:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); }
.ind-tab.active {
  background: rgba(255,255,255,0.08);
  color: var(--paper);
}
.ind-tab.active .ix { color: var(--accent); }
.ind-tab.active .go { opacity: 1; transform: none; }

.ind-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.ind-panel .pe {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.ind-panel h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  margin-top: 14px;
  line-height: 1.05;
  color: var(--paper);
}
.ind-panel .pd {
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
}
.ind-quote {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--void-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
.ind-quote .ql {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ind-quote .ql .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse-ring 2s ease infinite;
}
.ind-quote p {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  line-height: 1.35;
  margin-top: 12px;
  color: var(--paper);
}
.ind-outs { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.ind-out {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}
.ind-out .ck { color: var(--accent); flex-shrink: 0; }
.ind-panel.swap { animation: panel-in 0.5s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- results ---------- */
.results-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.result-feature {
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.result-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.result-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8,10,14,0.92) 0%, rgba(8,10,14,0.55) 45%, rgba(8,10,14,0.25) 100%),
    radial-gradient(ellipse 80% 60% at 80% 20%, var(--accent-glow), transparent 55%);
}
.result-content { position: relative; z-index: 2; }
.result-giant {
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  position: relative;
}
.result-feature h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  margin-top: 16px;
  position: relative;
}
.result-feature p {
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  max-width: 28ch;
  position: relative;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--paper-card);
  transition: border-color 0.3s;
}
.result-card:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.rc-num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
}
.result-card h4 {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
}
.result-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- process ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  counter-reset: step;
}
.process-step {
  padding: 0 clamp(8px, 1.25vw, 16px);
  border-right: 1px solid var(--line);
  position: relative;
}
.ps-photo {
  margin: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.ps-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  transition: transform 0.5s var(--ease-out), filter 0.3s;
}
.process-step:hover .ps-photo img {
  transform: scale(1.04);
  filter: saturate(1);
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.ps-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.process-step h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: -0.02em;
}
.process-step p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 26ch;
}

/* ---------- quote moment ---------- */
.quote-moment {
  background: var(--void);
  color: var(--paper);
  padding-block: clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}
.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.quote-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border: 1px solid rgba(255,255,255,0.08);
}
.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: linear-gradient(to top, rgba(8,10,14,0.85), transparent);
}
.quote-body { position: relative; }
.quote-moment::before {
  content: "\201C";
  position: absolute;
  top: 8%;
  right: 8%;
  font-family: var(--display);
  font-size: clamp(100px, 16vw, 220px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
}
.quote-label { color: var(--accent); }
.quote-text {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 16ch;
  font-style: normal;
  margin-top: 20px;
}
.quote-text .hl { font-style: italic; color: var(--accent); }
.quote-cite {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.cite-av {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--void-soft);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 18px;
}
.quote-cite strong { display: block; font-size: 15px; font-weight: 600; }
.quote-cite span { font-size: 14px; color: rgba(255,255,255,0.45); }

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.price-card:hover { border-color: color-mix(in srgb, var(--ink) 20%, var(--line)); }

.price-featured {
  border-color: var(--void);
  background: var(--void);
  color: var(--paper);
  box-shadow: 0 24px 60px -20px rgba(8, 10, 14, 0.4);
}
.price-featured:hover { border-color: var(--void); }

.pc-tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-featured .pc-tier { color: var(--accent); }
.pc-badge {
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9px;
}

.price-card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 400;
  margin-top: 16px;
  letter-spacing: -0.02em;
}
.pc-price {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.price-featured .pc-price { color: rgba(255,255,255,0.5); }
.pc-amt { font-family: var(--display); font-size: 18px; color: var(--ink); }
.price-featured .pc-amt { color: var(--paper); }
.pc-custom { font-family: var(--display); font-style: italic; }

.pc-list {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.pc-list li {
  font-size: 14.5px;
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.4;
}
.price-featured .pc-list li { color: rgba(255,255,255,0.7); }
.pc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card .btn { width: 100%; }
.price-featured .btn-primary { background: var(--accent); }
.price-featured .btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: var(--paper);
}

/* ---------- cta finale ---------- */
.cta-finale {
  position: relative;
  background: var(--void);
  color: var(--paper);
  padding-block: clamp(100px, 14vw, 160px);
  overflow: hidden;
  text-align: center;
}
.cta-atmo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(184, 149, 107, 0.15), transparent 50%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-inline: auto;
}
.cta-title em { font-style: italic; color: var(--accent); }
.cta-sub {
  margin: 28px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.55);
  max-width: 48ch;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.cta-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}

/* ---------- footer ---------- */
.foot {
  background: var(--void-soft);
  color: var(--paper);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 64px 0;
}
.foot-inner { display: flex; flex-direction: column; gap: 48px; }
.foot-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  max-width: 32ch;
  line-height: 1.5;
}
.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-nav h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  font-weight: 500;
}
.foot-nav a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color 0.2s;
}
.foot-nav a:hover { color: var(--paper); }
.foot-bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; }
.reveal.in { animation: reveal-up 0.9s var(--ease-out) forwards; }
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.reveal.shown { opacity: 1 !important; transform: none !important; animation: none !important; }
.reveal.d1.in { animation-delay: 0.08s; }
.reveal.d2.in { animation-delay: 0.16s; }
.reveal.d3.in { animation-delay: 0.24s; }
.reveal.d4.in { animation-delay: 0.32s; }

.hero-line.reveal.in .line-inner {
  animation: line-up 1s var(--ease-out) forwards;
}
.hero-line.reveal.d1.in .line-inner { animation-delay: 0.1s; }
.hero-line.reveal.d2.in .line-inner { animation-delay: 0.2s; }
@keyframes line-up {
  from { transform: translateY(105%); }
  to { transform: none; }
}
.hero-line { opacity: 1; }
.hero-line.reveal { opacity: 1; }
.hero-line.reveal.in { animation: none; }
.hero-line .line-inner { transform: translateY(105%); }
.hero-line.reveal.shown .line-inner { transform: none; animation: none; }

/* ---------- mobile nav ---------- */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--void);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: var(--gut);
}
.mnav.open { transform: none; }
.mnav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mnav .x {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--paper);
}
.mnav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
  flex: 1;
}
.mnav nav a {
  font-family: var(--display);
  font-size: clamp(32px, 8vw, 48px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mnav nav a:hover { color: var(--accent); }
.mnav-cta { color: var(--accent) !important; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .niche-track, .stage-glow, .cd-dot, .pulse-dot, .float-card { animation: none; opacity: 1; }
  .float-card { opacity: 0.85; }
  .reveal.in, .hero-line.reveal.in .line-inner { animation: none; opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .hero-mesh { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-inline: auto; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-aside { max-width: none; }

  .hero-stage { min-height: auto; padding-top: 20px; }
  .hero-floats { display: none; }
  .calldemo { margin-inline: auto; }

  .ind-layout { grid-template-columns: 1fr; }
  .ind-visual { aspect-ratio: 16 / 9; max-height: 240px; }
  .ind-illus { display: none; }
  .ind-tabs {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab {
    flex: none;
    scroll-snap-align: start;
    width: auto;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    white-space: nowrap;
  }
  .ind-tab .ix, .ind-tab .go { display: none; }
  .ind-tab .nm { font-family: var(--body); font-size: 14px; font-weight: 500; }
  .ind-tab.active { background: var(--accent); border-color: var(--accent); }

  .results-layout { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-step { border-right: 0; padding-right: 0; }
  .pricing { grid-template-columns: 1fr; }
  .price-featured { order: -1; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-photo { max-height: 360px; aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }

  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }

  .svc-trigger { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .svc-name { font-size: 24px; }
  .svc-panel-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-inline: 0;
  }
  .svc-photo { max-width: 100%; }

  .result-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  :root { --gut: 18px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .stat:nth-child(n) { border-top: 1px solid rgba(255,255,255,0.06); }
  .stat:first-child { border-top: 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .btn { white-space: normal; }
}

/* ===== Lead-capture form (production) ===== */
.cta-form{
  max-width: 520px;
  margin: 2rem auto 1.25rem;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}
.cta-form input,
.cta-form textarea{
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-card, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder{ color: var(--ink-faint); }
.cta-form input:focus,
.cta-form textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cta-form textarea{ resize: vertical; min-height: 90px; }
.cta-form .btn{ justify-self: start; }
@media (max-width: 560px){
  .cta-form .btn{ justify-self: stretch; text-align: center; }
}
