/* ============================================================
   LOOPZEN — Digital growth for local businesses
   Design system: dark, gold, minimal, cinematic.
   No build step. No framework. No external CSS.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #070707;
  --bg-2: #0f0f0f;
  --surface: #181818;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --gold: #c9a86a;
  --gold-2: #e8d6a6;
  --text: #ffffff;
  --text-2: #b7b7b7;

  --font-display: "Manrope", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gut: 20px;
  --sec: 112px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  :root { --gut: 32px; }
}
@media (min-width: 1024px) {
  :root { --sec: 140px; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(201, 168, 106, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c9a86a, #7a6238);
  border-radius: 10px;
}

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { position: relative; z-index: 10; padding-block: var(--sec); }
.section--tight { padding-block: calc(var(--sec) * 0.68); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--gold);
  color: #0a0a0a;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { left: 16px; }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.06;
}

.h1 { font-size: clamp(2.35rem, 5.2vw, 4.05rem); }
.h2 { font-size: clamp(1.95rem, 4.4vw, 3.1rem); line-height: 1.08; }
.h3 { font-size: 1.24rem; font-weight: 700; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-2);
}

.muted { color: var(--text-2); }
.small { font-size: 0.86rem; }
.tiny { font-size: 0.76rem; }

.gold-text {
  background: linear-gradient(135deg, #e8d6a6 0%, #c9a86a 55%, #a07e42 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Section heading block ---------- */
.head { max-width: 780px; }
.head.center { margin-inline: auto; text-align: center; }
.head .eyebrow { display: block; margin-bottom: 16px; }
.head .lede { margin-top: 20px; }
.head .lede.center { margin-inline: auto; }

/* ---------- Surfaces ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.glass-strong {
  background: rgba(18, 18, 18, 0.78);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

/* gold hairline gradient frame */
.gold-frame { position: relative; }
.gold-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232,214,166,0.55), rgba(201,168,106,0.05) 45%, rgba(201,168,106,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.glow { box-shadow: 0 0 60px rgba(201, 168, 106, 0.14); }

.radial-gold {
  background: radial-gradient(circle at center, rgba(201,168,106,0.16), transparent 68%);
  pointer-events: none;
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,0.5), transparent);
  border: 0;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Icons ---------- */
.ico {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ico-sm { width: 15px; height: 15px; }

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: linear-gradient(135deg, rgba(232,214,166,0.16), rgba(201,168,106,0.06));
  border: 1px solid rgba(201, 168, 106, 0.28);
  margin-bottom: 22px;
}
.icon-tile--lg { width: 56px; height: 56px; border-radius: 17px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .3s ease,
              border-color .3s ease, color .3s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #e8d6a6, #c9a86a);
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(201, 168, 106, 0.18);
}
.btn-gold:hover {
  box-shadow: 0 12px 44px rgba(201,168,106,0.42), 0 0 0 1px rgba(232,214,166,0.5);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}
.btn-ghost:hover {
  border-color: rgba(201, 168, 106, 0.6);
  color: var(--gold-2);
  background: rgba(201, 168, 106, 0.06);
}

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn svg { transition: transform .3s ease; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* magnetic wrapper */
.mag {
  display: inline-block;
  transition: transform .3s ease-out;
  will-change: transform;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 90;
  background: linear-gradient(90deg, #c9a86a, #e8d6a6);
  box-shadow: 0 0 12px rgba(201, 168, 106, 0.6);
  transition: width .1s linear;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  box-shadow: 0 0 24px rgba(201, 168, 106, 0.35);
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.cursor-ring.hovering {
  width: 66px; height: 66px;
  background: rgba(201, 168, 106, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav-outer {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  padding-block: 18px;
  transition: padding .45s ease;
}
.nav-outer.scrolled { padding-block: 10px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  border: 1px solid transparent;
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.nav-outer.scrolled .nav {
  background: rgba(18, 18, 18, 0.78);
  border-color: var(--border);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 0 60px rgba(201, 168, 106, 0.14);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 30px; width: auto; object-fit: contain; }
.brand span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.87rem;
  color: var(--text-2);
  position: relative;
  transition: color .3s ease;
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px; width: 24px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  margin-top: 10px;
  border-radius: 26px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-color: transparent;
  transition: max-height .5s var(--ease), opacity .4s ease;
}
.mobile-menu.open { max-height: 520px; opacity: 1; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.mobile-menu a {
  border-radius: 14px;
  padding: 13px 16px;
  color: var(--text-2);
  transition: background .25s ease, color .25s ease;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--gold-2); }
.mobile-menu .btn { margin-top: 8px; }

@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .grid-plate {
  position: absolute;
  bottom: 0; left: 50%;
  width: 132%;
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.5;
}
.hero-bg .particles {
  position: absolute;
  inset: 0;
  height: 100%; width: 100%;
  object-fit: cover;
  opacity: 0.45;
  will-change: transform;
}
.hero-bg .halo {
  position: absolute;
  left: 50%; top: 34%;
  width: 540px; height: 540px;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}
.hero-bg .fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,7,7,0.45), transparent 32%, var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 56px;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 9px 17px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  color: var(--text-2);
}
.pill .ico { color: var(--gold); }

.hero h1 { margin-bottom: 0; }
.hero .lede { margin-top: 26px; max-width: 34rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
}
.hero-proof b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.hero-proof span { font-size: 0.76rem; color: var(--text-2); }

.hero-visual { position: relative; }
.hero-visual .layer { position: relative; will-change: transform; }
.hero-visual .halo2 {
  position: absolute;
  inset: -40px;
  filter: blur(34px);
}
.hero-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}
.hero-frame img { width: 100%; border-radius: 26px; }

.hero-mark {
  position: absolute;
  right: -8px; top: -34px;
  width: 92px;
  will-change: transform;
  filter: drop-shadow(0 0 30px rgba(201, 168, 106, 0.5));
}
@media (max-width: 640px) { .hero-mark { display: none; } }

.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
}
.scroll-cue i {
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@media (min-width: 1024px) { .scroll-cue { display: flex; } }

/* ---------- Marquee ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-band {
  position: relative;
  z-index: 10;
  border-block: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.6);
  padding-block: 28px;
}
.marquee-band .label {
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-2);
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 40px;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.35);
  transition: color .3s ease;
}
.marquee-track span:hover { color: var(--gold-2); }
.marquee-track span i { margin-left: 40px; color: rgba(201, 168, 106, 0.5); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .g-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .g-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .g-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: 24px;
  padding: 30px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0; }
.card p { margin-top: 12px; font-size: 0.89rem; line-height: 1.7; color: var(--text-2); }
.card .gold-rule { margin-top: auto; opacity: 0.4; }
.card p + .gold-rule { margin-top: 24px; }

/* tilt + glare */
.tilt {
  transition: transform .3s ease-out;
  will-change: transform;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(201,168,106,0.14), transparent 55%);
  z-index: 0;
}
.tilt:hover .tilt-glare { opacity: 1; }
.card > *:not(.tilt-glare) { position: relative; z-index: 1; }

/* ---------- Stats ---------- */
.stat {
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
}
.stat .lbl { margin-top: 12px; font-size: 0.82rem; color: var(--text-2); }

/* ---------- Showcase ---------- */
.showcase { position: relative; overflow: hidden; }
.showcase .halo3 {
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}
.shot {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
}
.shot img { width: 100%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: floatSlow 11s ease-in-out infinite; }

/* ---------- Live dashboard ---------- */
.dash-split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 52px;
}
@media (min-width: 1024px) {
  .dash-split { grid-template-columns: 0.85fr 1.15fr; }
}

.dash {
  border-radius: 28px;
  padding: 26px;
}
@media (min-width: 640px) { .dash { padding: 32px; } }

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-top .t { font-size: 0.88rem; font-weight: 600; }
.dash-top .s { font-size: 0.75rem; color: var(--text-2); }

.chip-up {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
}

.metric { border-radius: 17px; padding: 17px; min-width: 0; }
.metric .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--gold-2);
}
.metric .delta { font-size: 0.72rem; font-weight: 500; color: #34d399; }
.metric .val {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.45vw, 1.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.metric .lbl { margin-top: 3px; font-size: 0.72rem; color: var(--text-2); }

.donuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.donut { display: flex; align-items: center; gap: 15px; }
.donut svg { width: 76px; height: 76px; flex: none; }
.donut .pct { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.donut .lbl { font-size: 0.72rem; color: var(--text-2); }

/* ---------- Process ---------- */
.process-wrap { position: relative; margin-top: 64px; }
.process-line {
  display: none;
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(201,168,106,0.4), transparent);
}
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) {
  .process-line { display: block; }
  .process-grid { grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
  .process-grid > .reveal:nth-child(even) { margin-top: 64px; }
}
.step { position: relative; border-radius: 24px; padding: 28px; }
.step .n {
  position: absolute;
  right: 22px; top: 16px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.step p { margin-top: 10px; font-size: 0.89rem; line-height: 1.7; color: var(--text-2); }

/* ---------- Before / After ---------- */
.ba-list { max-width: 880px; margin: 56px auto 0; display: grid; gap: 14px; }
.ba-row { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
@media (min-width: 640px) { .ba-row { grid-template-columns: 1fr auto 1fr; } }
.ba-cell {
  display: flex;
  align-items: center;
  border-radius: 18px;
  padding: 18px 24px;
  font-size: 0.89rem;
}
.ba-before { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.2); }
.ba-after { font-family: var(--font-display); font-weight: 600; }
.ba-arrow { display: grid; place-items: center; }
.ba-arrow i {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 106, 0.3);
  background: rgba(201, 168, 106, 0.05);
  color: var(--gold-2);
}
@media (max-width: 639px) { .ba-arrow i { transform: rotate(90deg); } }

/* ---------- Industries ---------- */
.ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 24px;
  padding: 30px 18px;
  text-align: center;
  height: 100%;
}
.ind span { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; }

/* ---------- Testimonials ---------- */
.tm-rail {
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tm-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee 62s linear infinite;
}
.tm-rail:hover .tm-track { animation-play-state: paused; }
.tm {
  width: 330px;
  flex: none;
  border-radius: 24px;
  padding: 28px;
}
.tm .stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--gold); }
.tm .stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.tm p { font-size: 0.89rem; line-height: 1.72; color: rgba(255, 255, 255, 0.9); }
.tm .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tm .av {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.tm .nm { font-size: 0.85rem; font-weight: 600; }
.tm .rl { font-size: 0.74rem; color: var(--text-2); }

/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */
.work { position: relative; overflow: hidden; }
.work .halo4 {
  position: absolute;
  right: -10%; top: 12%;
  width: 640px; height: 640px;
  filter: blur(40px);
}

/* filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.filter {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  padding: 9px 19px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s ease;
}
.filter:hover { border-color: rgba(201, 168, 106, 0.45); color: var(--gold-2); }
.filter[aria-pressed="true"] {
  background: linear-gradient(135deg, #e8d6a6, #c9a86a);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(201, 168, 106, 0.28);
}
.filter .c {
  display: inline-block;
  margin-left: 7px;
  font-size: 0.72rem;
  opacity: 0.6;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.proj {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), opacity .45s ease, border-color .4s ease, box-shadow .4s ease;
}
.proj:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 106, 0.32);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(201, 168, 106, 0.09);
}
.proj.hidden {
  display: none;
}
.proj.filtering { opacity: 0; transform: scale(0.97); }

/* preview tile — brand-accurate mini mockup */
.pv {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pv-bg, #111);
  border-bottom: 1px solid var(--border);
}
.pv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(0,0,0,0.42));
  pointer-events: none;
}
.pv-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pv-chrome i {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.pv-chrome .url {
  margin-left: 6px;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pv-body {
  position: relative;
  z-index: 2;
  height: calc(100% - 33px);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.pv-kicker {
  font-size: 0.55rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pv-accent, #c9a86a);
  font-weight: 600;
}
.pv-title {
  font-family: var(--pv-font, var(--font-display));
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: var(--pv-weight, 800);
  letter-spacing: var(--pv-track, -0.02em);
  line-height: 1.1;
  color: var(--pv-ink, #fff);
  text-transform: var(--pv-case, none);
}
.pv-title em { font-style: normal; color: var(--pv-accent, #c9a86a); }
.pv-bars { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.pv-bars i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--pv-ink, #fff);
  opacity: 0.16;
}
.pv-cta {
  margin-top: 9px;
  display: inline-flex;
  width: fit-content;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pv-accent, #c9a86a);
  color: var(--pv-btn-ink, #0a0a0a);
}
/* ambient wash unique per project */
.pv-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--pv-wash, none);
}
.pv-swatches {
  position: absolute;
  right: 12px; bottom: 11px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.pv-swatches i {
  width: 12px; height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.proj-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.proj-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}
.proj-top h3 { font-size: 1.08rem; }
.proj-cat {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}
.status i { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.status.live { color: #4ade80; border-color: rgba(74, 222, 128, 0.32); background: rgba(74, 222, 128, 0.07); }
.status.wip  { color: #e8b34a; border-color: rgba(232, 179, 74, 0.32); background: rgba(232, 179, 74, 0.07); }

.proj-body > p {
  margin-top: 15px;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--text-2);
}

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  border-radius: 7px;
  border: 1px solid var(--border);
  padding: 4px 9px;
  font-size: 0.68rem;
  color: var(--text-2);
  white-space: nowrap;
}

.proj-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-2);
  transition: gap .3s ease;
}
.proj:hover .visit { gap: 11px; }
.proj-year { font-size: 0.72rem; color: var(--text-2); font-variant-numeric: tabular-nums; }

.work-note {
  margin-top: 44px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-2);
}
.work-empty {
  display: none;
  margin-top: 40px;
  text-align: center;
  color: var(--text-2);
}
.work-empty.show { display: block; }

/* ---------- Why ---------- */
.why { position: relative; overflow: hidden; }
.why .halo5 {
  position: absolute;
  right: 0; top: 50%;
  width: 520px; height: 520px;
  transform: translate(33%, -50%);
  filter: blur(40px);
}

/* ---------- Contact ---------- */
.contact-shell {
  position: relative;
  border-radius: 32px;
  padding: 32px;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-shell { padding: 52px; } }
.contact-shell .halo6 {
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  filter: blur(40px);
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-links { margin-top: 40px; display: grid; gap: 14px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 18px;
  padding: 15px;
  transition: border-color .3s ease, background .3s ease;
}
.contact-link:hover { border-color: rgba(201, 168, 106, 0.4); }
.contact-link .ic {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 13px;
  background: rgba(201, 168, 106, 0.1);
  color: var(--gold-2);
}
.contact-link .k { display: block; font-size: 0.72rem; color: var(--text-2); }
.contact-link .v { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; }

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field {
  width: 100%;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #fff;
  outline: none;
  transition: border-color .3s ease, background .3s ease;
}
.field::placeholder { color: rgba(183, 183, 183, 0.7); }
.field:focus { border-color: rgba(201, 168, 106, 0.55); background: rgba(255, 255, 255, 0.05); }
select.field { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b7b7b7' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
select.field option { background: var(--surface); color: #fff; }
textarea.field { resize: vertical; min-height: 112px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form .btn { width: 100%; padding-block: 16px; }

.thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border-radius: 20px;
  border: 1px solid rgba(201, 168, 106, 0.25);
  background: rgba(201, 168, 106, 0.04);
  padding: 40px;
  text-align: center;
}
.thanks.show { display: flex; }
.thanks .tick {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #000;
}
.thanks h3 { margin-top: 24px; font-size: 1.4rem; }
.thanks p { margin-top: 12px; max-width: 24rem; font-size: 0.88rem; color: var(--text-2); }

.form-error {
  display: none;
  font-size: 0.84rem;
  color: #f87171;
}
.form-error.show { display: block; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.6);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand { grid-column: span 2; }
@media (min-width: 900px) { .footer-brand { grid-column: span 1; } }
.footer-brand p { margin-top: 16px; max-width: 22rem; font-size: 0.87rem; line-height: 1.72; color: var(--text-2); }
.footer h4 { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; }
.footer ul { margin-top: 18px; display: grid; gap: 12px; }
.footer ul a {
  font-size: 0.86rem;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s ease;
}
.footer ul a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 30px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.74rem; color: var(--text-2); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--gold-2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, border-color .3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: rgba(201, 168, 106, 0.5); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
  .marquee-track, .tm-track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav-outer, .to-top, .cursor-dot, .cursor-ring, .noise, .progress, .hero-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
