/* =====================================================
   Brandon Schoborg Portfolio - styles.css
   Lean Vercel hybrid · Charcoal + Emerald
   Default light · Dark mode toggle preserved
===================================================== */

/* =====================================================
   Theme variables
===================================================== */
:root {
  /* Charcoal + Emerald palette - LIGHT (default) */
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f5f5f5;
  --bg-deep: #f0f0f0;

  --ink: #0a0a0a;
  --ink-soft: #404040;
  --ink-muted: #737373;
  --ink-faint: #a3a3a3;

  --line: #e5e5e5;
  --line-soft: #f0f0f0;
  --line-strong: #d4d4d4;

  --emerald: #10b981;
  --emerald-deep: #059669;
  --emerald-darker: #047857;
  --emerald-bg: #ecfdf5;
  --emerald-border: rgba(16, 185, 129, 0.25);
  --emerald-glow: rgba(16, 185, 129, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.1);
  --shadow-emerald: 0 30px 60px -20px rgba(16, 185, 129, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}

html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-subtle: #111111;
  --bg-muted: #1a1a1a;
  --bg-deep: #222222;

  --ink: #fafafa;
  --ink-soft: #d4d4d4;
  --ink-muted: #a3a3a3;
  --ink-faint: #737373;

  --line: #262626;
  --line-soft: #1a1a1a;
  --line-strong: #404040;

  --emerald: #10b981;
  --emerald-deep: #34d399;
  --emerald-darker: #6ee7b7;
  --emerald-bg: rgba(16, 185, 129, 0.1);
  --emerald-border: rgba(16, 185, 129, 0.3);
  --emerald-glow: rgba(16, 185, 129, 0.18);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 30px 60px -20px rgba(16, 185, 129, 0.2);
}

/* =====================================================
   Global base
===================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--emerald-darker); }
a:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 9999;
}

/* =====================================================
   Top Bar
===================================================== */
.top-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
html[data-theme="dark"] .top-bar {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-brand {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.top-bar-sep { opacity: 0.4; }
.top-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* =====================================================
   Header / Nav
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease;
}
html[data-theme="dark"] .site-header {
  background: rgba(10, 10, 10, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-mark:hover { color: var(--ink); }

.brand-logo {
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.brand-name { font-weight: 600; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 400;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover {
  background: var(--bg-muted);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover {
  background: var(--bg-muted);
  border-color: var(--line-strong);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.theme-toggle .theme-icon {
  display: none;
}
html[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: block;
}
html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: block;
}

.btn-nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-nav-linkedin:hover {
  background: var(--bg-muted);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-nav-linkedin svg {
  flex-shrink: 0;
  color: #0A66C2;
}

@media (max-width: 768px) {
  .btn-nav-linkedin span {
    display: none;
  }
  .btn-nav-linkedin {
    padding: 0;
    width: 36px;
    justify-content: center;
  }
}

.btn-nav-cta {
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  transition: opacity 0.15s ease;
}
.btn-nav-cta:hover {
  color: var(--bg);
  opacity: 0.85;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover {
  background: var(--bg-muted);
}
.nav-toggle .bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bar + .bar { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile menu */
.nav-menu {
  position: absolute;
  top: 64px;
  right: 24px;
  min-width: 240px;
  max-width: calc(100vw - 48px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 99;
}
.nav-menu.open { display: block; }
.nav-menu ul { list-style: none; }
.nav-menu li + li { margin-top: 2px; }
.nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-weight: 400;
  font-size: 14px;
  transition: background 0.15s ease;
}
.nav-menu a:hover { background: var(--bg-muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn-nav-cta { display: none; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-menu { display: none !important; }
}

body.menu-open { overflow: hidden; }

/* =====================================================
   Headings
===================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--emerald-darker);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 600px;
}

section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* =====================================================
   Hero
===================================================== */
.hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 700px;
  background: radial-gradient(ellipse at center, var(--emerald-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.hero-pill-tag {
  background: var(--emerald-bg);
  color: var(--emerald-darker);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
}
.hero-pill-arrow {
  color: var(--ink-faint);
  font-size: 12px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 920px;
  margin: 0 auto 28px;
  color: var(--ink);
}

.hero-accent {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-darker) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-fineprint {
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 14px;
}
.hero-fineprint a {
  color: var(--emerald-darker);
  font-weight: 500;
}

.hero-linkedin-link {
  display: inline-flex;
  align-items: center;
  color: #0A66C2;
  font-weight: 600;
  transition: color 0.15s ease;
}
.hero-linkedin-link:hover {
  color: #084c8e;
}

/* Hero product visual */
.hero-product-frame {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  padding-bottom: 0;
}

.product-frame {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-xl), var(--shadow-emerald);
  max-width: 1000px;
  margin: 0 auto;
}

.product-tabs {
  display: flex;
  gap: 4px;
  padding: 4px 8px 14px;
}
.product-tab {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-family: var(--font-mono);
}
.product-tab.active {
  background: var(--bg-muted);
  color: var(--ink);
}

.product-screen {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-dots {
  display: flex;
  gap: 6px;
}
.product-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.product-url {
  flex: 1;
  padding: 6px 12px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  text-align: center;
}

.product-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}

.product-sidebar {
  background: var(--bg-subtle);
  border-right: 1px solid var(--line);
  padding: 18px 12px;
}

.sb-section {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 4px 8px;
  margin: 8px 0 4px;
  font-weight: 500;
  font-family: var(--font-mono);
}

.sb-item {
  font-size: 13px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-item.active {
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--line);
}
.sb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

.product-main { padding: 24px; }

.pm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pm-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  background: var(--emerald-bg);
  color: var(--emerald-darker);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-family: var(--font-mono);
}
.pm-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
}

.pm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pm-stat {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.pm-stat-label {
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pm-stat-val {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.pm-chart {
  height: 120px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.pm-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .product-content { grid-template-columns: 1fr; }
  .product-sidebar { display: none; }
  .pm-stats { grid-template-columns: 1fr; }
}

/* =====================================================
   Buttons
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 44px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  color: var(--bg);
  opacity: 0.85;
}

.btn-secondary {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--line-strong);
}

.btn-secondary-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-cta-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #0A66C2;
  color: #fff;
  border: 1px solid #0A66C2;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}
.btn-cta-linkedin:hover {
  background: #084c8e;
  border-color: #084c8e;
  color: #fff;
}

/* =====================================================
   Stats Bar
===================================================== */
.stats-bar {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 16px;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* =====================================================
   Services
===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service-card:hover {
  border-color: var(--line-strong);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--emerald-bg);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-darker);
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
  margin: 0;
}

.service-timeline {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

/* Shopify card */
.service-icon--brand {
  background: transparent;
  width: 48px;
  height: 48px;
}
.shopify-mark {
  width: 36px;
  height: 36px;
  display: block;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #95BF47, #5E8E3E);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* CTA note */
.cta-note {
  margin-top: 60px;
  padding: 32px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-note-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cta-note-text span {
  font-size: 14px;
  color: var(--ink-muted);
}

.cta-note-link {
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.cta-note-link:hover {
  color: var(--bg);
  opacity: 0.85;
}

/* =====================================================
   Pricing Section
===================================================== */
.pricing-section {
  padding: 80px 0;
}

.pricing-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pricing-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}

.pricing-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.pricing-rates {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rate-card {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s ease;
}
.rate-card:hover {
  border-color: var(--line-strong);
}

.rate-card-featured {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
}

.rate-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.rate-card-featured .rate-label {
  color: var(--emerald-darker);
}

.rate-value {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.rate-value span {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
}

.rate-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.pricing-fineprint {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-style: italic;
}

@media (max-width: 900px) {
  .pricing-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px;
  }
  .pricing-fineprint {
    margin-top: 0;
  }
}

/* =====================================================
   Products
===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.product-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.product-mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  background: var(--emerald-bg);
  color: var(--emerald-darker);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-family: var(--font-mono);
}
.product-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--emerald);
  border-radius: 50%;
}
.product-status.status-new {
  background: var(--ink);
  color: var(--bg);
}
.product-status.status-new::before { background: var(--emerald); }

.product-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  flex: 1;
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.product-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--emerald-darker);
  font-family: var(--font-mono);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  transition: color 0.15s ease;
}
.product-link:hover {
  color: var(--emerald-deep);
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Tech tags (shared)
===================================================== */
.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

/* =====================================================
   Case Studies
===================================================== */
.case-studies-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease;
}
.case-card:hover {
  border-color: var(--line-strong);
}

.case-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.case-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}

.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

@media (max-width: 1024px) {
  .case-studies-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Live Sites / Portfolio Platforms
===================================================== */
.portfolio-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .portfolio-platforms { grid-template-columns: repeat(2, 1fr); }
}

.platform-group {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.platform-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.platform-group-header h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  color: var(--emerald-darker);
}
.platform-mark--shopify svg {
  width: 28px;
  height: 28px;
}

.portfolio-url-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-url-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  font-size: 13px;
  font-family: var(--font-mono);
  transition: background 0.15s ease, color 0.15s ease;
  word-break: break-all;
}

.portfolio-url-list a::after {
  content: '↗';
  color: var(--ink-faint);
  font-size: 12px;
  margin-left: 8px;
  flex-shrink: 0;
}

.portfolio-url-list a:hover {
  background: var(--bg-muted);
  color: var(--ink);
}
.portfolio-url-list a:hover::after {
  color: var(--emerald-darker);
}

.portfolio-url-list--titles a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .portfolio-platforms { grid-template-columns: 1fr; }
}

/* =====================================================
   Reviews
===================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s ease;
}
.review-card:hover {
  border-color: var(--line-strong);
}

.review-card.featured {
  grid-column: 1 / -1;
  border: 1px solid var(--emerald-border);
  background: var(--bg-subtle);
  position: relative;
}

.review-card.featured::before {
  content: 'Featured';
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 4px 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.review-header {
  margin-bottom: 18px;
}

.review-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
  align-items: center;
}

.review-rating {
  font-weight: 500;
  color: var(--emerald-darker);
  font-family: var(--font-mono);
}

.review-dates {
  font-family: var(--font-mono);
}

.review-attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  background: var(--emerald-bg);
  color: var(--emerald-darker);
  border-radius: var(--radius-full);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-attribution-name {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  font-style: normal;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-card-compact {
  background: var(--bg-subtle);
}

.review-quote-meta {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 13px;
}

.review-quote {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 14px;
}

.review-quote p {
  margin-bottom: 12px;
}
.review-quote p:last-child { margin-bottom: 0; }

.review-quote strong {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card.featured::before { right: 16px; }
}

/* =====================================================
   Process
===================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.process-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s ease;
}
.process-card:hover {
  border-color: var(--line-strong);
}

.process-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald-darker);
  font-weight: 500;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--emerald-bg);
  border-radius: var(--radius-full);
}

.process-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Right Fit Section
===================================================== */
.fit-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fit-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease;
}
.fit-card:hover {
  border-color: var(--line-strong);
}

.fit-icon {
  width: 40px;
  height: 40px;
  background: var(--emerald-bg);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-darker);
  font-size: 16px;
  font-weight: 600;
}

.fit-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fit-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.fit-note {
  margin-top: 32px;
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 768px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   About Photo
===================================================== */
.about-photo {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: var(--shadow-md);
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .about-photo {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   About
===================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.about-credentials {
  position: sticky;
  top: 100px;
}

.cred-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cred-item {
  background: var(--bg);
  padding: 18px 20px;
}

.cred-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.cred-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.about-content strong {
  color: var(--ink);
  font-weight: 600;
}

.about-bullets {
  margin: 18px 0 28px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.about-bullets li {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 15px;
}

.brand-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.brand-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.brand-card .brand-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
}

.brand-card .brand-description {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.brand-card .brand-url {
  color: var(--emerald-darker);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-credentials { position: static; }
  .brand-links { grid-template-columns: 1fr; }
}

/* =====================================================
   FAQ
===================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s ease;
}
.faq-card:hover {
  border-color: var(--line-strong);
}

.faq-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Skills
===================================================== */
.skills-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tech-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.tech-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.badge-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
}

@media (max-width: 1024px) {
  .skills-wrap { grid-template-columns: 1fr; }
}

/* =====================================================
   Contact CTA
===================================================== */
.cta-section {
  padding: 0 0 100px;
}

.cta-block {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--emerald-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-block .eyebrow-light {
  color: var(--emerald-deep);
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  color: var(--bg);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-block p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-block .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.cta-block .btn-primary:hover {
  color: var(--ink);
  opacity: 0.9;
}

@media (max-width: 640px) {
  .cta-block { padding: 60px 24px; }
}

/* =====================================================
   Contact paths (3-card grid above dark CTA)
===================================================== */
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}

.path-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.path-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.path-card-featured {
  border-color: var(--emerald-border);
  background: var(--emerald-bg);
}
.path-card-featured:hover {
  border-color: var(--emerald);
}

.path-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.path-card-featured .path-icon {
  background: var(--bg);
  color: var(--emerald-darker);
}
.path-icon-linkedin {
  color: #0A66C2;
}

.path-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.path-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}

.path-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--emerald-darker);
  font-family: var(--font-mono);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  transition: color 0.15s ease;
}
.path-link:hover {
  color: var(--emerald-deep);
}

@media (max-width: 1024px) {
  .paths-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Footer
===================================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--emerald-darker); }
.footer-links span {
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================
   Reduced motion
===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   Mobile general tweaks
===================================================== */
@media (max-width: 768px) {
  section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .top-bar-inner { font-size: 11px; }
  .hero-content { padding: 40px 20px 0; }
  .hero-product-frame { margin-top: 60px; }
  .product-frame { padding: 8px; }
  .product-tabs { padding: 4px; }
  .product-tab { font-size: 11px; padding: 4px 10px; }
  .cta-note { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero-pill { font-size: 12px; padding: 5px 5px 5px 12px; }
  .hero-pill-tag { font-size: 10px; padding: 2px 8px; }
  .stat-number { font-size: 1.75rem; }
  .review-card.featured { padding: 24px 20px; }
}
