/* ==========================================================================
   Richland Creative — Custom Storefront Stylesheet
   Clean, ultra-fast, zero-framework CSS with native 60/120fps scroll physics
   ========================================================================== */

:root {
  --ink: #0b121c;
  --ink-2: #111c2b;
  --ink-3: #18263a;
  --paper: #f7f5f0;
  --paper-2: #efeae1;
  --white: #ffffff;
  --text: #15202e;
  --muted: #5d6978;
  --muted-dark: #9fb0c3;
  --line: rgba(11, 18, 28, 0.12);
  --line-strong: rgba(11, 18, 28, 0.22);
  --line-dark: rgba(255, 255, 255, 0.12);
  --copper: #f08a4b;
  --copper-light: #ffad78;
  --copper-deep: #b85823;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.16);
  --amber: #f59e0b;
  --rose: #dc93af;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 28px rgba(11, 18, 28, 0.06);
  --shadow: 0 22px 60px rgba(11, 18, 28, 0.12);
  --shadow-dark: 0 26px 72px rgba(0, 0, 0, 0.42);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin-top: 0; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--copper); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--copper-light); outline-offset: 4px; border-radius: 4px; }

.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 9999; top: 12px; left: 12px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--copper); color: var(--ink); font-weight: 800; font-size: 13px;
  transform: translateY(-200%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==================== Header & Navigation ==================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  color: var(--white);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 18, 28, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}
body.nav-open .site-header::before { background: rgba(11, 18, 28, 0.98); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; width: 36px; height: 32px;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brand-mark .rc-c { transition: transform 0.28s ease, fill 0.22s ease; }
.brand:hover .brand-mark .rc-c { transform: translateX(28px); fill: var(--copper-light); }
.brand-text {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-size: 17px; line-height: 1; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
}
.brand-text strong {
  font-weight: 850; letter-spacing: 0.055em; color: var(--white);
}
.brand-text span {
  font-weight: 400; letter-spacing: 0.09em; color: var(--copper-light);
}

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: 13.5px; font-weight: 600; }
.site-nav > a:not(.btn) { position: relative; color: #dbe3ec; transition: color 0.2s ease; }
.site-nav > a:not(.btn):hover { color: var(--white); }
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
  background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform 0.25s ease;
}
.site-nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  border: 1px solid var(--line-dark); border-radius: 9px;
  background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--white); transition: transform 0.22s ease, opacity 0.22s ease; }

/* ==================== Buttons & Links ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 22px;
  border: 1px solid var(--copper); border-radius: 9px;
  background: var(--copper); color: var(--ink);
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.01em; line-height: 1.2;
  cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--copper-light); border-color: var(--copper-light);
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(240, 138, 75, 0.28);
}
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 12.5px; border-radius: 8px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.22); color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12); border-color: var(--copper-light); color: var(--white);
  box-shadow: none;
}
.btn-outline {
  background: transparent; border-color: var(--line-strong); color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: var(--shadow-sm);
}
.btn-dark {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}
.btn-dark:hover {
  background: var(--ink-3); border-color: var(--ink-3); color: var(--white); box-shadow: var(--shadow-sm);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px; color: var(--copper-deep);
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; display: inline-block; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--copper-light); }

h1, h2 { font-weight: 760; letter-spacing: -0.048em; line-height: 1.02; color: inherit; }
h1 em, h2 em {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  color: var(--copper); letter-spacing: -0.03em;
}
h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 18px; }

.section { padding-block: 104px; position: relative; }
.section-warm { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--white); }

/* ==================== Hero + Live Site Stage ==================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding-block: 64px 60px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute; top: -180px; right: -80px; width: 680px; height: 680px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 138, 75, 0.15) 0%, rgba(56, 189, 248, 0.05) 45%, transparent 70%);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center; gap: clamp(32px, 4vw, 56px);
}
.hero h1 { font-size: clamp(44px, 5.2vw, 72px); margin-bottom: 22px; }
.hero-lede {
  max-width: 540px; margin-bottom: 28px;
  color: #cfd9e5; font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.65;
}
.hero-lede strong { color: var(--white); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }

.hero-proof-strip {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding-top: 20px; border-top: 1px solid var(--line-dark);
  font-size: 12.5px; color: var(--muted-dark);
}
.hero-proof-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }

/* Interactive Live Portfolio Stage in Hero */
.stage-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: linear-gradient(165deg, #162336, #0b121c);
  box-shadow: var(--shadow-dark);
  padding: 16px;
}
.stage-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; margin-bottom: 12px;
}
.stage-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.stage-tab {
  padding: 6px 10px; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted-dark);
  font-size: 11px; font-weight: 750; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.stage-tab:hover { color: var(--white); }
.stage-tab.is-active { background: var(--copper); color: var(--ink); }

.device-switch {
  display: inline-flex; gap: 3px; padding: 3px;
  border-radius: 9px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.device-btn {
  padding: 5px 9px; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted-dark);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; cursor: pointer;
}
.device-btn.is-active { background: rgba(255, 255, 255, 0.16); color: var(--white); }

.stage-viewport-wrap {
  display: flex; justify-content: center; align-items: center;
  min-height: 336px; position: relative;
  background: #070d15;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.stage-browser {
  width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d1520;
  transition: width 0.3s ease, border-radius 0.3s ease;
  display: flex; flex-direction: column;
}
.stage-browser.is-mobile {
  width: 266px; margin-block: 10px; border-radius: 26px;
  border: 4px solid #26364b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.browser-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #09101a; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.browser-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.browser-dots i:nth-child(1) { background: #ef4444; }
.browser-dots i:nth-child(2) { background: #f59e0b; }
.browser-dots i:nth-child(3) { background: #10b981; }
.browser-url {
  flex: 1; text-align: center; padding: 4px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.07); color: #dbe5f0;
  font-family: var(--font-mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-url:hover { color: var(--copper-light); }
.browser-speed {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: #34d399; flex-shrink: 0;
}

.stage-shot-link {
  display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1520;
}
.stage-browser.is-mobile .stage-shot-link {
  aspect-ratio: 520 / 689; max-height: 318px;
}
.stage-shot-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: opacity 0.2s ease, transform 0.45s ease;
}
.stage-shot-link:hover .stage-shot-img { transform: scale(1.015); }

.stage-caption-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 10px 12px;
  border-radius: 11px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.stage-caption-copy strong {
  display: block; font-size: 13px; font-weight: 750; color: var(--white); line-height: 1.25;
}
.stage-caption-copy span {
  display: block; font-size: 11.5px; color: var(--muted-dark); margin-top: 2px;
}
.stage-live-link {
  flex-shrink: 0; padding: 7px 12px; border-radius: 8px;
  background: rgba(240, 138, 75, 0.16); border: 1px solid rgba(240, 138, 75, 0.4);
  color: var(--copper-light); font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.stage-live-link:hover { background: var(--copper); color: var(--ink); }

/* ==================== Telemetry / Trust Bar ==================== */
.trust-bar {
  background: #080e16; color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  font-size: 12.5px; font-weight: 600;
}
.trust-item { display: inline-flex; align-items: center; gap: 9px; }
.trust-item code {
  padding: 3px 7px; border-radius: 5px;
  background: rgba(240, 138, 75, 0.15); color: var(--copper-light);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}

/* ==================== 3 Core Outcome Pillars ==================== */
.split-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end; gap: 48px; margin-bottom: 54px;
}
.split-head p.lead-copy { color: var(--muted); font-size: 16.5px; line-height: 1.72; margin: 0; }
.section-dark .split-head p.lead-copy { color: var(--muted-dark); }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(240, 138, 75, 0.5);
}
.pillar-num {
  display: inline-flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; color: var(--copper-deep);
  margin-bottom: 20px;
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(240, 138, 75, 0.13); color: var(--copper-deep);
  margin-bottom: 20px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 23px; font-weight: 740; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--ink); }
.pillar-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.pillar-list {
  list-style: none; padding: 18px 0 0; margin: auto 0 0;
  border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px;
}
.pillar-list li {
  position: relative; padding-left: 20px; font-size: 13.5px; font-weight: 600; color: var(--text);
}
.pillar-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--copper-deep); font-weight: 800;
}

/* ==================== Interactive Before / After Comparison ==================== */
.compare-wrap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px; align-items: center;
}
.compare-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.compare-preset {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05); color: #dbe3ec;
  font-size: 12px; font-weight: 700; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.compare-preset:hover, .compare-preset.is-active {
  background: var(--copper); border-color: var(--copper); color: var(--ink);
}

.ba-stage {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-dark);
  height: 410px; user-select: none; background: #0f172a;
  touch-action: pan-y;
  cursor: pointer;
  --split: 50%;
}
.ba-layer {
  position: absolute; inset: 0; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.ba-before {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #334155;
}
.ba-after {
  background: radial-gradient(circle at 80% 20%, rgba(240, 138, 75, 0.22), transparent 55%), linear-gradient(155deg, #101b2b 0%, #09101a 100%);
  color: var(--white);
  clip-path: inset(0 0 0 var(--split));
}
.ba-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
.ba-before .ba-tag { background: #94a3b8; color: #0f172a; }
.ba-after .ba-tag { background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(52, 211, 153, 0.45); color: #6ee7b7; margin-left: auto; }

.ba-mock-card {
  border-radius: 14px; padding: 20px; margin-block: auto;
}
.ba-before .ba-mock-card {
  background: #f8fafc; border: 2px dashed #94a3b8; color: #475569;
  font-family: "Times New Roman", serif;
}
.ba-before .ba-mock-card h4 { font-size: 21px; margin-bottom: 8px; color: #334155; font-weight: 700; }
.ba-after .ba-mock-card {
  background: #142235; border: 1px solid rgba(255, 255, 255, 0.16);
}
.ba-after .ba-mock-card h4 { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; color: #fff; }
.ba-checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-family: var(--font-sans); font-size: 13px; }
.ba-before .ba-checklist li::before { content: "✕ "; color: #dc2626; font-weight: 800; }
.ba-after .ba-checklist li::before { content: "✓ "; color: #34d399; font-weight: 800; }

.ba-metrics {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; padding-top: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.25);
}
.ba-after .ba-metrics { border-top-color: rgba(255, 255, 255, 0.12); color: #cbd5e1; }

.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--split);
  width: 2px; background: var(--copper); z-index: 5; pointer-events: none;
}
.ba-handle-btn {
  position: absolute; top: 50%; left: var(--split); transform: translate(-50%, -50%);
  z-index: 6; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: var(--copper); color: var(--ink);
  border: 3px solid var(--white);
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: ew-resize; touch-action: pan-y;
  transition: transform 0.15s ease, background 0.15s ease;
}
.ba-handle-btn:hover { background: var(--copper-light); transform: translate(-50%, -50%) scale(1.06); }

/* ==================== Selected Live Portfolio Showcase ==================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
}
.project-card {
  grid-column: span 6;
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card[hidden] { display: none !important; }
.project-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(240, 138, 75, 0.55);
}

.project-browser {
  background: #0d1520; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.project-chrome {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px; background: #080e16; color: #cbd5e1;
  font-family: var(--font-mono); font-size: 11px;
}
.project-chrome-left { display: inline-flex; align-items: center; gap: 6px; }
.project-chrome-left i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.project-chrome-left i:nth-child(1) { background: #ef4444; }
.project-chrome-left i:nth-child(2) { background: #f59e0b; }
.project-chrome-left i:nth-child(3) { background: #10b981; }
.project-badge {
  padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
}
.badge-live { background: rgba(16, 185, 129, 0.18); color: #34d399; }

.project-screen-link {
  display: block; position: relative; aspect-ratio: 16 / 10;
  overflow: hidden; background: #0d1520;
}
.project-screen-shot {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.45s ease;
}
.project-card:hover .project-screen-shot { transform: scale(1.025); }

.project-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-type {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--copper-deep); margin-bottom: 6px;
}
.project-body h3 { font-size: 22px; font-weight: 760; letter-spacing: -0.03em; margin-bottom: 9px; color: var(--ink); }
.project-body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px;
}
.mini-chip {
  padding: 4px 9px; border-radius: 6px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--ink);
}

.project-footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.project-btn-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--ink); font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px;
}
.project-btn-link:hover { color: var(--copper-deep); }
.project-ext-link {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--copper-deep);
}
.project-ext-link:hover { text-decoration: underline; }

/* ==================== In-House Studio Media Advantage ==================== */
.studio-bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px;
}
.bento-card {
  grid-column: span 4; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--white);
  display: flex; flex-direction: column;
}
.bento-card-wide { grid-column: span 8; }
.bento-media { aspect-ratio: 16 / 9; overflow: hidden; background: #080e16; }
.bento-card:not(.bento-card-wide) .bento-media { aspect-ratio: 4 / 3; }
.bento-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bento-card:hover .bento-media img { transform: scale(1.03); }
.bento-copy { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bento-copy span {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 8px;
}
.bento-copy h3 { font-size: 22px; font-weight: 730; letter-spacing: -0.03em; margin-bottom: 8px; }
.bento-copy p { color: var(--muted-dark); font-size: 14px; line-height: 1.62; }

/* ==================== Zero-Homework 4-Step Process ==================== */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.step-item { padding: 32px 26px 32px 0; }
.step-item + .step-item { padding-left: 26px; border-left: 1px solid var(--line-strong); }
.step-num {
  display: inline-block; margin-bottom: 18px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(240, 138, 75, 0.16); color: var(--copper-deep);
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
}
.step-item h3 { font-size: 19.5px; font-weight: 740; letter-spacing: -0.025em; margin-bottom: 10px; color: var(--ink); }
.step-item p { font-size: 14px; color: var(--muted); }

/* ==================== Pricing & Interactive Estimator ==================== */
.pricing-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.pricing-head .eyebrow { justify-content: center; }
.pricing-head p { color: var(--muted); font-size: 16px; }

.billing-toggle-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 42px;
}
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 5px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.billing-btn {
  padding: 10px 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 800; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.billing-btn.is-active { background: var(--ink); color: var(--white); }
.billing-hint { font-size: 12.5px; color: var(--copper-deep); font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-featured {
  border: 2px solid var(--copper);
  box-shadow: 0 24px 60px rgba(240, 138, 75, 0.2);
  transform: translateY(-8px);
}
.price-card-featured:hover { transform: translateY(-12px); }
.price-card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }

.popular-pill {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 15px; border-radius: 999px;
  background: var(--copper); color: var(--ink);
  font-size: 10.5px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.price-tier-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--copper-deep); margin-bottom: 8px;
}
.price-card-dark .price-tier-label { color: var(--copper-light); }
.price-card h3 { font-size: 25px; font-weight: 780; letter-spacing: -0.03em; margin-bottom: 12px; }
.price-figure {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px;
}
.price-figure strong { font-size: 46px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price-figure span { font-size: 14px; font-weight: 650; color: var(--muted); }
.price-card-dark .price-figure span { color: var(--muted-dark); }
.price-subnote {
  font-size: 12px; font-weight: 700; color: var(--copper-deep); margin-bottom: 16px;
}
.price-card-dark .price-subnote { color: var(--copper-light); }
.price-summary { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-card-dark .price-summary { color: #cbd5e1; }

.price-features {
  list-style: none; padding: 20px 0 0; margin: 0 0 26px;
  border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.price-card-dark .price-features { border-top-color: var(--line-dark); }
.price-features li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.5; }
.price-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--copper); font-weight: 850;
}
.price-card .btn { width: 100%; margin-top: auto; }

/* Interactive Scope & Ballpark Estimator Box */
.estimator-box {
  margin-top: 52px; padding: 34px 36px;
  border-radius: var(--radius-lg); background: var(--ink); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 36px; align-items: center;
}
.estimator-box h3 { font-size: 24px; font-weight: 760; letter-spacing: -0.03em; margin-bottom: 6px; }
.estimator-box > div > p { color: var(--muted-dark); font-size: 14px; margin-bottom: 20px; }
.addon-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.addon-label {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.11);
  cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.addon-label:hover { border-color: rgba(240, 138, 75, 0.5); }
.addon-label input { margin-top: 3px; accent-color: var(--copper); width: 16px; height: 16px; flex-shrink: 0; }
.addon-label strong { display: block; font-size: 13px; color: var(--white); line-height: 1.3; }
.addon-label span { display: block; font-size: 11.5px; color: var(--muted-dark); margin-top: 2px; }

.estimator-result {
  padding: 24px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(240, 138, 75, 0.38);
  text-align: center;
}
.estimator-result-kicker {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--copper-light);
}
.estimator-total {
  font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--white);
  margin: 8px 0 4px; line-height: 1.05;
}
.estimator-sub { font-size: 12px; color: var(--muted-dark); margin-bottom: 18px; }
.estimator-result .btn { width: 100%; }

/* ==================== Founder / Local Studio Credibility + FAQ ==================== */
.founder-grid {
  display: grid; grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.founder-photo-wrap {
  display: flex; flex-direction: column; gap: 14px;
}
.founder-photo-wrap img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
}
.founder-badge {
  padding: 15px 18px; border-radius: 14px;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.founder-badge strong { display: block; font-size: 14.5px; line-height: 1.25; }
.founder-badge span { display: block; font-size: 12px; color: var(--copper-light); margin-top: 2px; }

.faq-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px;
}
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  font-style: normal; font-size: 24px; color: var(--copper-deep);
  transition: transform 0.2s ease; line-height: 1;
}
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding: 0 28px 22px 0; color: var(--muted); font-size: 14.5px; }

/* ==================== Final CTA & Footer ==================== */
.cta-section {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: var(--white); padding-block: 108px;
}
.cta-section h2 { font-size: clamp(42px, 6.2vw, 78px); max-width: 820px; margin-inline: auto; }
.cta-section p.cta-sub {
  max-width: 560px; margin: 20px auto 34px; color: var(--muted-dark); font-size: 17.5px;
}
.cta-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }

.site-footer {
  background: #070c13; color: #cbd5e1;
  border-top: 1px solid var(--line-dark);
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px;
  padding-block: 52px; align-items: start;
}
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--copper-light); margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px; color: #7c8b9e;
}

/* ==================== Modals (Inquiry & Case Study) ==================== */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none !important; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(6, 11, 18, 0.84);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-dialog {
  position: relative; z-index: 1; width: min(680px, 100%);
  max-height: calc(100svh - 40px); overflow-y: auto;
  border-radius: 20px; background: var(--white); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-dark);
}
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 26px; background: var(--ink); color: var(--white);
}
.modal-header span {
  display: block; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 4px;
}
.modal-header h3 { font-size: 22px; margin: 0; letter-spacing: -0.025em; }
.modal-close {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06);
  color: var(--white); font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-body { padding: 26px; }

.case-shot-wrap {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  margin-bottom: 18px; background: #0d1520; aspect-ratio: 16 / 10;
}
.case-shot-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 750; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 11px 13px; border-radius: 9px;
  border: 1.5px solid rgba(11, 18, 28, 0.18); background: #fbfaf8;
  font-size: 14.5px; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); background: var(--white);
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-tag {
  padding: 4px 10px; border-radius: 999px; background: var(--paper-2);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--ink);
}
.case-deliverables {
  list-style: none; padding: 16px 18px; margin: 16px 0 22px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
  display: grid; gap: 8px; font-size: 13.5px;
}
.case-deliverables li::before { content: "✓ "; color: var(--copper-deep); font-weight: 850; }

/* Subtle Scroll Reveal (releases GPU transform layer immediately when visible) */
body.js-ready [data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
body.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 1040px) {
  .hero-grid, .compare-wrap, .estimator-box, .founder-grid, .faq-grid, .split-head {
    grid-template-columns: 1fr;
  }
  .pillars-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
  .price-card-featured { transform: none; order: -1; }
  .price-card-featured:hover { transform: translateY(-4px); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .step-item:nth-child(4) { border-top: 1px solid var(--line-strong); }
  .bento-card { grid-column: span 6; }
  .bento-card-wide { grid-column: span 12; }
  .founder-photo-wrap { max-width: 540px; }
}

@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .section { padding-block: 78px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 22px 40px; background: rgba(11, 18, 28, 0.98);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 22px; width: 100%; }
  .project-card { grid-column: span 12; }
  .addon-checks, .form-grid, .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-block: 42px 46px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stage-caption-bar, .founder-badge { flex-direction: column; align-items: flex-start; }
  .stage-live-link, .founder-badge .btn { width: 100%; text-align: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-item, .step-item + .step-item, .step-item:nth-child(3) {
    padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-strong);
  }
  .step-item:first-child { border-top: 0; }
  .bento-card, .bento-card-wide { grid-column: span 12; }
  .estimator-box { padding: 26px 20px; }
  .ba-stage { height: 440px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body.js-ready [data-reveal] { opacity: 1; transform: none; }
}
