/* Marketing site kit — shares tokens with the root system */
@import url('./colors_and_type.css');

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  --nav-bg: rgba(255,255,255,0.82);
  --nav-border: var(--border-subtle);
  --nav-shadow: var(--shadow-sm);
  --surface-1: var(--bg-surface);
  --surface-2: var(--bg-raised);
  --surface-3: var(--lv-paper-2);
  --surface-hover: var(--lv-paper-2);
  --surface-card-shadow: var(--shadow-md);
  --outline-bg: var(--bg-surface);
  --outline-border: var(--lv-ink-200);
  --outline-hover-bg: var(--lv-paper-2);
  --hero-card-bg: var(--bg-surface);
  --pill-bg: var(--bg-surface);
  --mock-surface: var(--lv-paper);
  --mock-raised: var(--lv-paper-2);
  --mock-url-bg: var(--bg-surface);
  --mock-line-bg: var(--lv-ink-100);
  --mock-title-bg: var(--lv-ink-900);
  --quote-bg: var(--lv-paper-2);
  --quote-mark: var(--lv-green-200);
  --footer-bg: var(--lv-paper);
  --form-bg: var(--bg-surface);
  --input-bg: var(--bg-surface);
  --input-focus-ring: var(--lv-green-100);
  --tone-green-bg: var(--lv-green-50);
  --tone-green-fg: var(--lv-green-600);
  --tone-coral-bg: var(--lv-coral-100);
  --tone-coral-fg: #B33F28;
  --tone-violet-bg: var(--lv-violet-100);
  --tone-violet-fg: #4B35B0;
  --tone-amber-bg: var(--lv-amber-100);
  --tone-amber-fg: #8A5A10;
  --tone-sky-bg: var(--lv-sky-100);
  --tone-sky-fg: #0B6A87;
}
* { box-sizing: border-box; }

body.theme-dark {
  --fg-1: #F7F1E6;
  --fg-2: #C8BFB0;
  --fg-3: #8F887C;
  --bg-page: #061013;
  --bg-surface: rgba(13, 21, 24, 0.88);
  --bg-raised: #10191D;
  --border-subtle: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --accent: #70DB7C;
  --accent-hover: #A7EAAE;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.32);
  --shadow-sm: 0 10px 26px -18px rgba(0,0,0,0.6);
  --shadow-md: 0 24px 60px -28px rgba(0,0,0,0.78), 0 6px 18px rgba(0,0,0,0.34);
  --shadow-lg: 0 36px 90px -36px rgba(0,0,0,0.85), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-bloom: 0 24px 64px -18px rgba(63,200,83,0.36);
  --nav-bg: rgba(7, 14, 17, 0.72);
  --nav-border: rgba(255,255,255,0.09);
  --nav-shadow: 0 20px 60px -24px rgba(0,0,0,0.72);
  --surface-1: rgba(12, 18, 20, 0.86);
  --surface-2: #111B1F;
  --surface-3: #162226;
  --surface-hover: rgba(255,255,255,0.05);
  --surface-card-shadow: 0 26px 70px -32px rgba(0,0,0,0.86), 0 12px 24px rgba(0,0,0,0.36);
  --outline-bg: rgba(255,255,255,0.03);
  --outline-border: rgba(255,255,255,0.12);
  --outline-hover-bg: rgba(63,200,83,0.12);
  --hero-card-bg: rgba(14, 22, 25, 0.94);
  --pill-bg: rgba(17, 26, 30, 0.92);
  --mock-surface: #0B1417;
  --mock-raised: #101A1D;
  --mock-url-bg: #182327;
  --mock-line-bg: #273439;
  --mock-title-bg: #F7F1E6;
  --quote-bg: rgba(16, 24, 28, 0.84);
  --quote-mark: rgba(112,219,124,0.14);
  --footer-bg: rgba(7, 12, 14, 0.72);
  --form-bg: rgba(13, 20, 23, 0.9);
  --input-bg: #0F181B;
  --input-focus-ring: rgba(63,200,83,0.16);
  --tone-green-bg: rgba(31,174,56,0.18);
  --tone-green-fg: #8EF39C;
  --tone-coral-bg: rgba(255,107,82,0.16);
  --tone-coral-fg: #FF9F90;
  --tone-violet-bg: rgba(123,92,255,0.18);
  --tone-violet-fg: #C9BCFF;
  --tone-amber-bg: rgba(255,194,51,0.16);
  --tone-amber-fg: #FFD97F;
  --tone-sky-bg: rgba(50,184,232,0.16);
  --tone-sky-fg: #8FE2FF;
}

.page-shell { position: relative; min-height: 100vh; isolation: isolate; }
.page { position: relative; z-index: 1; min-height: 100vh; }

.liquid-bg-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-page);
}

body.theme-dark .liquid-bg-shell {
  background: #061013;
}

.liquid-bg-static::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11, 22, 25, 0.94) 0%, rgba(5, 12, 14, 0.98) 50%, rgba(8, 16, 18, 0.96) 100%),
    repeating-linear-gradient(112deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 86px);
}

.liquid-bg-static::after {
  content: '';
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: 13vh;
  height: 22vh;
  border-top: 9px solid rgba(246, 240, 229, 0.13);
  border-bottom: 3px solid rgba(112, 219, 124, 0.09);
  transform: rotate(-5deg);
  opacity: 0.65;
}

.liquid-bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.74;
  filter: blur(1px) saturate(1) contrast(1.01);
  transform: scale(1.015);
}

body.theme-dark .liquid-bg-canvas {
  opacity: 0.92;
  filter: blur(0.95px) saturate(1.02) contrast(1.02) brightness(0.82);
}

.liquid-bg-static .liquid-bg-canvas {
  display: none;
}

.liquid-brand-overlay {
  position: absolute;
  left: 4vw;
  top: 53%;
  transform: translateY(-50%);
  width: min(96vw, 1220px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
  z-index: 1;
}

.liquid-brand-wordmark {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(88px, 10.8vw, 190px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: rgba(246, 240, 229, 0.13);
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.16);
  filter: blur(0.16px);
}

.liquid-brand-wordmark span {
  color: rgba(112, 219, 124, 0.14);
}

.liquid-brand-tagline {
  margin: 0;
  padding: 0 0 0 clamp(10px, 0.7vw, 14px);
  font-family: var(--font-sans);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(246, 240, 229, 0.11);
  text-align: left;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.14);
  filter: blur(0.14px);
}

.liquid-bg-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251,248,243,0.88) 0%, rgba(251,248,243,0.8) 30%, rgba(251,248,243,0.72) 52%, rgba(251,248,243,0.84) 100%),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.22), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255,255,255,0.18), transparent 30%);
}

body.theme-dark .liquid-bg-tint {
  background:
    linear-gradient(180deg, rgba(4,8,10,0.3) 0%, rgba(6,11,12,0.44) 20%, rgba(6,12,14,0.58) 52%, rgba(6,11,13,0.72) 100%),
    radial-gradient(circle at 18% 0%, rgba(7,16,19,0.12), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(255,255,255,0.05), transparent 30%);
}

@media (max-width: 1100px) {
  .liquid-brand-overlay {
    left: 3vw;
    top: 51%;
    width: min(98vw, 980px);
    gap: 10px;
  }

  .liquid-brand-wordmark {
    font-size: clamp(76px, 11vw, 150px);
  }

  .liquid-brand-tagline {
    padding-left: clamp(8px, 0.65vw, 12px);
    font-size: clamp(18px, 2.3vw, 28px);
  }
}

/* Icon helper */
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ====== NAV ====== */
.lv-nav {
  position: sticky; top: 16px; z-index: 50;
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px; margin: 16px auto;
  display: flex; align-items: center; gap: 32px;
  padding: 10px 16px 10px 20px;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  box-sizing: border-box;
}
.lv-brand { display: inline-flex; align-items: center; gap: 0; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--fg-1); text-decoration: none; white-space: nowrap; }
.lv-brand .v { color: var(--lv-green-500); }
.lv-brand svg { width: 28px; height: 28px; }
.lv-nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.lv-nav-links a { color: var(--fg-2); text-decoration: none; cursor: pointer; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: all var(--dur-fast) var(--ease-out); }
.lv-nav-links a:hover { color: var(--fg-1); }
.lv-nav-links a.active { color: var(--accent-hover); }
.lv-nav-actions { display: inline-flex; align-items: center; gap: 10px; margin-left: 0; }
.lv-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--fg-1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.lv-menu-toggle:hover { background: rgba(112,219,124,0.12); border-color: rgba(112,219,124,0.28); }
.lv-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.lv-menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lv-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.lv-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.lv-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 30px;
  background: rgba(5, 12, 14, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px -28px rgba(0,0,0,0.78), inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.lv-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.lv-mobile-menu-kicker {
  padding: 4px 10px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246,240,229,0.46);
}
.lv-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 14px 0 16px;
  border-radius: 18px;
  color: var(--fg-2);
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,0.035);
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.lv-mobile-menu a:hover,
.lv-mobile-menu a.active {
  color: var(--fg-1);
  background: rgba(112,219,124,0.1);
  border-color: rgba(112,219,124,0.2);
}
.lv-mobile-menu a .icon { color: var(--lv-green-500); opacity: 0.88; }
.lv-mobile-menu-cta {
  padding: 8px 4px 2px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lv-mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ====== BUTTONS ====== */
.btn { font-family: var(--font-sans); font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: var(--radius-md); border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all var(--dur-fast) var(--ease-out); text-decoration: none; white-space: nowrap; }
.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-primary { background: var(--lv-green-500); color: white; box-shadow: var(--shadow-bloom); }
.btn-primary:hover { background: var(--lv-green-600); transform: translateY(-1px); box-shadow: 0 24px 60px -10px rgba(31,174,56,0.4); }
.btn-secondary { background: var(--surface-2); color: var(--fg-1); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-ghost { background: transparent; color: var(--fg-1); }
.btn-ghost:hover { background: var(--surface-hover); }
.btn-outline { background: var(--outline-bg); color: var(--fg-1); border: 1.5px solid var(--outline-border); }
.btn-outline:hover { background: var(--outline-hover-bg); border-color: var(--lv-green-500); color: var(--accent-hover); }
.btn-pill { border-radius: 999px; }

/* Pulsing CTA — scale + shadow so it reads even under the grayscale spotlight */
.btn-pulse { animation: lv-pulse 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes lv-pulse {
  0%, 100% { transform: scale(1);    box-shadow: var(--shadow-bloom), 0 0 0 0    rgba(31,174,56,0.55); }
  50%      { transform: scale(1.05); box-shadow: var(--shadow-bloom), 0 0 0 18px rgba(31,174,56,0);    }
}
.btn-primary.btn-pulse:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .btn-pulse { animation: none; } }

/* ====== HERO ====== */
.lv-hero { padding: 80px 0 120px; position: relative; overflow: hidden; }
.lv-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.lv-hero-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lv-green-600); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; }
.lv-hero-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: currentColor; display: inline-block; }
.lv-hero-title { font-size: clamp(44px, 6vw, 84px); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 24px; color: var(--fg-1); }
.lv-hero-title em { font-style: normal; color: var(--lv-green-500); position: relative; }
.lv-hero-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--lv-amber-500); z-index: -1; opacity: 0.4; border-radius: 4px; }
.lv-hero-lead { font-size: 19px; line-height: 1.55; color: var(--fg-2); max-width: 520px; margin: 0 0 36px; }
.lv-hero-ctas { display: flex; gap: 14px; align-items: center; }
.lv-hero-bloom { display: none; }
.theme-dark .lv-hero-bloom { display: none; }
.lv-hero-art { position: relative; aspect-ratio: 1/1.05; }
.lv-hero-card { position: absolute; background: var(--hero-card-bg); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.lv-hero-card-main { inset: 0; transform: rotate(-2deg); }
.lv-hero-card-pill { bottom: 24px; left: -28px; background: var(--pill-bg); padding: 14px 18px; border-radius: 999px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); transform: rotate(-4deg); border: 1px solid var(--border-subtle); color: var(--fg-1); }
.lv-hero-card-chip { top: 40px; right: -24px; background: var(--lv-ink-900); color: white; padding: 12px 18px; border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; font-weight: 500; transform: rotate(4deg); box-shadow: var(--shadow-md); }
.theme-dark .lv-hero-card-chip { background: rgba(7,14,17,0.94); border: 1px solid rgba(255,255,255,0.08); }
.lv-hero-card-chip .dot { display: inline-block; width: 8px; height: 8px; background: var(--lv-green-400); border-radius: 50%; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity: 0.4; } }

/* Browser mock inside hero card */
.mock-browser { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--mock-surface); }
.mock-chrome { background: var(--mock-raised); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border-subtle); }
.mock-dots { display: flex; gap: 6px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-url { flex: 1; margin: 0 16px; background: var(--mock-url-bg); border-radius: 8px; padding: 4px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.mock-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mock-line { height: 12px; background: var(--mock-line-bg); border-radius: 4px; }
.mock-line-title { height: 24px; width: 70%; background: var(--mock-title-bg); border-radius: 6px; margin-bottom: 4px; }
.mock-btn-stub { align-self: flex-start; background: var(--lv-green-500); height: 34px; width: 120px; border-radius: 8px; margin-top: 8px; }
.mock-img { flex: 1; background: linear-gradient(135deg, rgba(255,107,82,0.18), rgba(255,194,51,0.16)); border-radius: 12px; min-height: 80px; }

/* ====== SECTION CHROME ====== */
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lv-green-600); margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.section-lead { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 600px; }

/* ====== SERVICE CARDS ====== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: all var(--dur-base) var(--ease-out); cursor: pointer; overflow: visible; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--surface-card-shadow); border-color: rgba(112,219,124,0.16); }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.svc-title { font-size: 20px; font-weight: 600; margin: 0; color: var(--fg-1); }
.svc-text { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--lv-green-600); font-weight: 600; font-size: 14px; margin-top: 4px; transition: gap var(--dur-fast) var(--ease-out); }
.svc-card:hover .svc-link { gap: 10px; }
.svc-note {
  position: absolute;
  top: -20px;
  right: 14px;
  width: min(250px, calc(100% - 28px));
  padding: 14px 16px 14px 18px;
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(180deg, rgba(255, 242, 196, 0.98), rgba(255, 226, 145, 0.96));
  color: #49340c;
  border: 1px solid rgba(124, 88, 18, 0.18);
  box-shadow: 0 18px 34px -24px rgba(0,0,0,0.45), 0 10px 18px rgba(255, 194, 51, 0.18);
  transform: rotate(-3deg);
  z-index: 2;
}
.svc-note::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 18px;
  width: 42px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  opacity: 0.9;
}
.svc-note-label {
  display: inline-flex;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(73, 52, 12, 0.72);
}
.svc-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: inherit;
}

/* ====== WORK GRID ====== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-2xl); overflow: hidden; cursor: pointer; background: var(--surface-2); border: 1px solid var(--border-subtle); transition: transform var(--dur-base) var(--ease-out); }
.work-card:hover { transform: translateY(-4px); }
.work-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.work-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.96) contrast(1.02) brightness(0.96); transform-origin: center top; }
.work-shot-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,12,14,0.18) 0%, rgba(7,12,14,0.04) 34%, rgba(7,12,14,0.16) 58%, rgba(7,12,14,0.72) 100%); }
.work-browser-bar { position: absolute; top: 14px; left: 14px; right: 14px; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; background: rgba(7, 12, 14, 0.52); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,0.22); }
.work-browser-dots { display: flex; gap: 6px; }
.work-browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.work-browser-dots span:nth-child(1) { background: rgba(255,107,82,0.78); }
.work-browser-dots span:nth-child(2) { background: rgba(255,194,51,0.78); }
.work-browser-dots span:nth-child(3) { background: rgba(31,174,56,0.78); }
.work-browser-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.82); letter-spacing: 0.04em; }
.work-placeholder { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,19,22,0.98), rgba(16,25,29,0.92)); }
.work-placeholder-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%); }
.work-placeholder-label { position: absolute; left: 22px; bottom: 86px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.34); }
.work-card .meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 22px; color: white; background: linear-gradient(0deg, rgba(20,24,26,0.85), rgba(20,24,26,0.0) 80%); }
.work-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 4px; }
.work-card h3 { font-size: 22px; font-weight: 600; margin: 0; }
.work-note { margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.52); }

/* ====== REFERENCES ====== */
.refs-head { max-width: 900px; }
.refs-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.refs-detail {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  min-height: 520px;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--ref-accent) 18%, #0e1718) 0%,
      color-mix(in srgb, var(--ref-accent-2) 10%, #101719) 48%,
      #071013 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
}
.refs-detail-orbit {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid color-mix(in srgb, var(--ref-accent) 42%, transparent);
  border-radius: 50%;
  opacity: 0.5;
  animation: refOrbit 12s linear infinite;
}
.refs-detail-orbit::after {
  content: '';
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: inherit;
}
.refs-detail-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}
.refs-mark,
.ref-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #071013;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.refs-mark {
  width: 104px;
  height: 104px;
  aspect-ratio: 1;
  border-radius: 0;
  font-size: 31px;
}
.refs-mark img,
.ref-card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  box-sizing: border-box;
  filter:
    drop-shadow(0 0 1px rgba(246,240,229,0.62))
    drop-shadow(0 9px 14px rgba(0,0,0,0.42));
}
.refs-kicker,
.ref-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ref-accent) 80%, white);
}
.refs-detail h2 {
  margin: 5px 0 6px;
  color: var(--fg-1);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}
.refs-detail a {
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 0;
}
.refs-detail p {
  position: relative;
  max-width: 520px;
  color: rgba(246,240,229,0.72);
  font-size: 17px;
  line-height: 1.65;
}
.refs-chip-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.refs-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(246,240,229,0.8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.refs-result {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 20px;
  margin: 0 0 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}
.refs-result span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ref-accent) 78%, white);
}
.refs-result strong {
  color: var(--fg-1);
  font-size: 18px;
  line-height: 1.35;
}
.refs-visit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--ref-button-fg, #071013) !important;
  background: linear-gradient(135deg, var(--ref-accent), color-mix(in srgb, var(--ref-accent-2) 42%, var(--ref-accent)));
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 18px 44px -20px color-mix(in srgb, var(--ref-accent) 76%, black);
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ref-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--ref-accent) 20%, #11191b) 0%,
      #0b1214 52%,
      color-mix(in srgb, var(--ref-accent-2) 16%, #071013) 100%);
  color: var(--fg-1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transform: translateY(10px);
  opacity: 0;
  animation: refCardIn 520ms var(--ease-out) forwards;
  animation-delay: calc(var(--ref-index) * 60ms);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.ref-card-glow {
  display: none;
}
.ref-card-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
  min-height: 92px;
}
.ref-card-mark {
  width: 76px;
  height: 76px;
  aspect-ratio: 1;
  border-radius: 0;
  font-size: 19px;
}
.ref-card-mark img {
  padding: 0;
}
.ref-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--ref-accent);
  background: rgba(255,255,255,0.055);
  transform: rotate(-35deg);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.ref-card strong {
  position: relative;
  display: block;
  margin: 8px 0 6px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 100%;
  text-wrap: balance;
}
.ref-card-url {
  position: relative;
  display: block;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ref-card:hover,
.ref-card:focus-visible,
.ref-card.is-active {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ref-accent) 42%, transparent);
  box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--ref-accent) 68%, black);
  outline: none;
}
.ref-card:hover .ref-card-glow,
.ref-card.is-active .ref-card-glow {
  opacity: 0.85;
  transform: scale(1.14) translate(-8px, -8px);
}
.ref-card:hover .ref-card-arrow,
.ref-card.is-active .ref-card-arrow {
  transform: rotate(0deg);
  background: rgba(255,255,255,0.1);
}
.refs-proofbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.refs-proofbar div {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}
.refs-proofbar span {
  display: block;
  margin-bottom: 4px;
  color: var(--lv-green-500);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.refs-proofbar p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
}
@keyframes refCardIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes refOrbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ref-card,
  .refs-detail-orbit {
    animation: none;
  }

  .ref-card {
    opacity: 1;
    transform: none;
  }
}

/* ====== TESTIMONIAL ====== */
.t-wrap { background: var(--quote-bg); border-radius: var(--radius-2xl); padding: 64px; position: relative; overflow: hidden; border: 1px solid var(--border-subtle); }
.t-wrap::before { content: '"'; position: absolute; top: -40px; left: 20px; font-size: 300px; font-family: 'Geist', serif; color: var(--quote-mark); line-height: 1; font-weight: 700; }
.t-inner { position: relative; max-width: 800px; }
.t-quote { font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 28px; color: var(--fg-1); text-wrap: balance; }
.t-by { display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--lv-coral-500), var(--lv-amber-500)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 18px; }
.t-name { font-weight: 600; font-size: 15px; }
.t-role { font-size: 13px; color: var(--fg-3); }

/* ====== CTA SECTION ====== */
.cta-dark { background: var(--lv-ink-900); border-radius: var(--radius-2xl); padding: 72px 64px; position: relative; overflow: hidden; color: white; text-align: center; }
.cta-dark::before { content: none; }
.cta-dark::after { content: none; }
.cta-dark h2 { position: relative; font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.cta-dark p { position: relative; font-size: 18px; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 32px; }
.cta-dark .actions { position: relative; display: flex; gap: 12px; justify-content: center; }
.cta-dark .btn-outline { background: transparent; border-color: rgba(255,255,255,0.2); color: white; }
.cta-dark .btn-outline:hover { border-color: white; color: white; }
.theme-dark .cta-dark { background: linear-gradient(180deg, rgba(10,16,18,0.94), rgba(7,12,14,0.98)); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lg); }
.theme-dark .cta-dark::before { content: none; }
.theme-dark .cta-dark::after { content: none; }
.theme-dark .cta-dark .btn-outline { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: var(--fg-1); }
.theme-dark .cta-dark .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: white; }

/* ====== LEGAL PAGES ====== */
.legal-page { min-height: 70vh; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.legal-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}
.legal-card-main {
  padding: clamp(28px, 4vw, 48px);
}
.legal-card h2 {
  margin: 34px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.legal-card p,
.legal-card li {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.72;
}
.legal-card p { margin: 0 0 14px; }
.legal-card a {
  color: var(--lv-green-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(112,219,124,0.32);
}
.legal-card a:hover { color: var(--fg-1); }
.legal-side {
  position: sticky;
  top: 110px;
  padding: 24px;
}
.legal-side ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.legal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(112,219,124,0.12);
  color: var(--lv-green-500);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ====== FOOTER ====== */
.lv-footer { padding: 80px 0 40px; background: var(--footer-bg); }
.lv-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-subtle); }
.lv-footer-col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 16px; }
.lv-footer-col a { display: block; padding: 6px 0; color: var(--fg-2); text-decoration: none; font-size: 14px; cursor: pointer; }
.lv-footer-col a:hover { color: var(--lv-green-600); }
.lv-footer-tag { font-size: 15px; color: var(--fg-2); line-height: 1.55; margin: 16px 0 0; max-width: 280px; }
.lv-footer-bot { padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-3); }
.lv-footer-bot-links { display: flex; gap: 24px; }
.lv-footer-bot-links a { color: inherit; text-decoration: none; cursor: pointer; }
.lv-footer-bot-links a:hover { color: var(--fg-1); }

/* ====== CONTACT ====== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { background: var(--form-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--fg-2); }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: 15px; color: var(--fg-1);
  padding: 12px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong); background: var(--input-bg);
  transition: all var(--dur-fast) var(--ease-out); outline: none;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--lv-green-500); box-shadow: 0 0 0 4px var(--input-focus-ring); }

/* ====== PAGE CONTAINER ====== */
.page { min-height: 100vh; }

/* ====== ABOUT/VALUES ====== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.value-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--lv-green-600); }
.value h3 { font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.value p { font-size: 15px; color: var(--fg-2); line-height: 1.55; margin: 0; }

/* ====== PAGE TRANSITIONS ====== */
.page-enter { animation: pageIn 380ms var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ====== RESPONSIVE ====== */
  @media (max-width: 900px) {
    .lv-hero-grid, .work-grid, .svc-grid, .values-grid, .lv-footer-grid, .contact-wrap { grid-template-columns: 1fr; }
    .refs-showcase, .refs-grid, .refs-proofbar { grid-template-columns: 1fr; }
    .refs-detail { position: relative; top: auto; min-height: auto; }
    .refs-mark { width: 84px; height: 84px; border-radius: 28px; font-size: 24px; }
    .ref-card { min-height: 178px; }
    .lv-nav {
      top: 12px;
      width: calc(100% - 32px);
      margin: 12px auto;
      gap: 12px;
      padding: 9px 10px 9px 16px;
    }
    .lv-nav-links { display: none; }
    .lv-nav-actions { margin-left: auto; gap: 8px; }
    .lv-nav-actions > .btn { padding: 8px 14px; }
    .lv-menu-toggle { display: inline-flex; }
    .section { padding: 64px 0; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-side { position: static; }
    .legal-card-main { padding: 28px 22px; }
    .t-wrap, .cta-dark, .contact-form { padding: 36px 24px; }
    .liquid-bg-canvas { display: none; }
    .liquid-brand-overlay { left: 5vw; top: 49%; width: calc(100vw - 32px); gap: 8px; }
    .liquid-brand-wordmark { font-size: clamp(52px, 13vw, 92px); white-space: normal; }
    .liquid-brand-tagline { padding-left: 8px; font-size: clamp(14px, 4.1vw, 22px); }
    .svc-note { position: relative; top: auto; right: auto; width: 100%; transform: rotate(-1.5deg); margin-bottom: 6px; }
  }

  @media (max-width: 380px) {
    .lv-nav-actions > .btn { display: none; }
    .lv-nav { width: calc(100% - 24px); padding-left: 14px; }
  }
