/* =========================================================
   Jenicek Legal — IT / IP Law
   Theme: modern developer portfolio, applied to a law practice
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
html { scroll-behavior: smooth; }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0e14;
  --bg-raised: #0f151d;
  --bg-card: #131a24;
  --bg-card-hover: #17202c;
  --border: #212b38;
  --border-soft: #1a222d;

  --text: #e7edf5;
  --text-dim: #a9b6c6;
  --text-faint: #6b7889;

  --accent: #55e6c1;      /* teal/mint */
  --accent-strong: #2fd9b3;
  --accent-2: #4f7cc4;    /* blue */
  --accent-3: #f7b955;    /* amber */
  --accent-pink: #f272a1;
  --danger: #ff6b6b;
  --success: #4ade80;

  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.02) inset, 0 8px 24px rgba(0,0,0,0.35);
  --container: 1160px;
}

:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfbfd;
  --border: #e3e7ee;
  --border-soft: #ebeef3;

  --text: #10151d;
  --text-dim: #4b5666;
  --text-faint: #8792a1;

  --accent: #0f9d80;
  --accent-strong: #0c8a70;
  --accent-2: #4f7cc4;
  --accent-3: #b5790a;
  --accent-pink: #d1367e;
  --danger: #d64545;
  --success: #16a34a;

  --shadow-card: 0 1px 0 rgba(16,21,29,0.02) inset, 0 8px 24px rgba(16,21,29,0.06);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7f9;
    --bg-raised: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fbfbfd;
    --border: #e3e7ee;
    --border-soft: #ebeef3;
    --text: #10151d;
    --text-dim: #4b5666;
    --text-faint: #8792a1;
    --accent: #0f9d80;
    --accent-strong: #0c8a70;
    --accent-2: #4f7cc4;
    --accent-3: #b5790a;
    --accent-pink: #d1367e;
    --danger: #d64545;
    --success: #16a34a;
    --shadow-card: 0 1px 0 rgba(16,21,29,0.02) inset, 0 8px 24px rgba(16,21,29,0.06);
  }
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
code, .mono { font-family: var(--font-mono); }

section { position: relative; padding: 112px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

.section-header { max-width: 640px; margin-bottom: 56px; }
.hero-name {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 72px);
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 72px;
}
.hero-name .bracket { color: var(--accent); font-weight: 400; font-size: .85em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-header p { color: var(--text-dim); font-size: 17px; }

.text-gradient {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #06231c;
  box-shadow: 0 6px 20px rgba(85, 230, 193, 0.25);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(85, 230, 193, 0.38); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  font-family: var(--font-mono);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-mono); font-weight: 700; font-size: 17px; display: flex; align-items: center; letter-spacing: -0.01em; }
.logo-bracket { color: var(--accent); }
.logo-dot { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-link::before { content: '#'; color: var(--accent); opacity: 0; margin-right: 4px; transition: opacity .15s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::before, .nav-link.active::before { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color .15s ease, border-color .15s ease, transform .3s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .moon { display: none; }
}

.hamburger { display: none; flex-direction: column; gap: 5px; width: 22px; }
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { font-family: var(--font-mono); font-size: 24px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary.btn-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 112px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  opacity: .6;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-text h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.hero-text .eyebrow { font-size: clamp(15px, 1.6vw, 18px); }
.hero-sub { color: var(--text-dim); font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--text); }
.hero-stat .label { font-size: 13px; color: var(--text-faint); }

.terminal-window {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 10px 9px 14px;
  /* Fixed to the light-theme accent so the panel looks the same in both themes. */
  background: #0f9d80;
  border-bottom: 1px solid #e3e7ee;
}
.terminal-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,.92);
}
.terminal-title .term-icon { width: 15px; height: 15px; color: #fff; flex-shrink: 0; }
.win-controls { display: flex; align-items: center; gap: 6px; }
.win-btn {
  width: 26px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  color: rgba(255,255,255,.75);
}
.win-btn svg { width: 10px; height: 10px; }
.win-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.win-btn.win-close:hover { background: var(--danger); color: #fff; }
.terminal-body { padding: 22px 20px; font-family: var(--font-mono); font-size: 14px; min-height: 260px; }
.terminal-line { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.terminal-line .prompt { color: var(--accent-2); flex-shrink: 0; }
.terminal-line .cmd { color: var(--text); }
.terminal-line .out { color: var(--text-dim); padding-left: 20px; display: block; flex-basis: 100%; margin-top: 4px; white-space: pre-line; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  height: fit-content;
}
.avatar-ring {
  width: 88px; height: 88px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  margin-bottom: 18px;
}
.avatar-ring .avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--accent);
}
.profile-card h3 { font-size: 19px; margin-bottom: 2px; }
.profile-card .role { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.stat-grid .num { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--text); }
.stat-grid .label { font-size: 12px; color: var(--text-faint); }

.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.bio-comment { font-family: var(--font-mono); color: var(--text-faint); font-size: 13.5px; margin-bottom: 6px; }
.bio-card p { color: var(--text-dim); margin-bottom: 16px; font-size: 15.5px; }
.bio-card p:last-of-type { margin-bottom: 26px; }
.focus-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.focus-bar span { height: 100%; }
.focus-legend { display: flex; flex-wrap: wrap; gap: 16px; }
.focus-legend .item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); }
.focus-legend .swatch { width: 9px; height: 9px; border-radius: 2px; }

/* ---------- Practice grid ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .practice-grid { grid-template-columns: 1fr; } }

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.practice-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--bg-card-hover); }
.practice-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.practice-icon svg { width: 22px; height: 22px; }
.practice-card:nth-child(2) .practice-icon { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }
.practice-card:nth-child(3) .practice-icon { background: color-mix(in srgb, var(--accent-3) 16%, transparent); color: var(--accent-3); }
.practice-card:nth-child(4) .practice-icon { background: color-mix(in srgb, var(--accent-pink) 16%, transparent); color: var(--accent-pink); }
.practice-card:nth-child(5) .practice-icon { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.practice-card:nth-child(6) .practice-icon { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.practice-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.practice-card p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  color: var(--text-faint);
}

/* ---------- Work / case studies ---------- */
.work-note { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-top: -36px; margin-bottom: 40px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .work-grid { grid-template-columns: 1fr; } }

.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.repo-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); transform: translateY(-3px); }
.repo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.repo-head svg { width: 16px; height: 16px; color: var(--text-faint); flex-shrink: 0; }
.repo-head h3 { font-family: var(--font-mono); font-size: 16px; flex: 1; }
.lock-badge { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); border: 1px solid var(--border-soft); padding: 3px 8px; border-radius: 999px; }
.lock-badge svg { width: 11px; height: 11px; }
.repo-card p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 18px; }
.repo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.repo-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.repo-stats .stat { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-faint); font-family: var(--font-mono); }
.repo-stats .stat svg { width: 13px; height: 13px; }
.lang-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; }

/* ---------- Work Experience Timeline ---------- */
.timeline { position: relative; max-width: 780px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; display: flex; align-items: flex-start; gap: 22px; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: relative; z-index: 1;
  width: 16px; height: 16px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline-card {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.timeline-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); transform: translateX(3px); }
.timeline-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.timeline-head h3 { font-family: var(--font-mono); font-size: 16px; margin-bottom: 3px; }
.timeline-role { font-size: 12.5px; color: var(--text-faint); }
.timeline-date {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
  border: 1px solid var(--border-soft);
  padding: 3px 8px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
  margin-top: 2px;
}
.timeline-desc { color: var(--text-dim); font-size: 14.5px; margin-bottom: 10px; }
.timeline-focus { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.timeline-card-featured { padding: 24px 26px; }
.timeline-card-featured .timeline-head { margin-bottom: 14px; }
.timeline-card-featured h3 { font-size: 18px; }
.timeline-highlights { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.timeline-highlights li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}
.timeline-highlights li::before {
  content: '›';
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}
@media (max-width: 560px) {
  .timeline-item { gap: 14px; }
  .timeline-card { padding: 16px 18px; }
  .timeline-card-featured { padding: 18px 18px; }
  .timeline-head { flex-direction: column; }
}

/* ---------- Earlier experience (compact) ---------- */
.earlier-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 40px 0 14px;
  max-width: 780px;
}
.earlier-list {
  max-width: 780px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.earlier-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.earlier-row:last-child { border-bottom: none; }
.earlier-name { font-family: var(--font-mono); color: var(--text); flex: 0 0 auto; white-space: nowrap; }
.earlier-role { color: var(--text-faint); flex: 1; min-width: 0; }
.earlier-period { font-family: var(--font-mono); color: var(--text-faint); font-size: 12px; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) {
  .earlier-row { flex-wrap: wrap; }
  .earlier-role { flex: 1 1 100%; order: 3; }
}

/* ---------- Process ---------- */
.pipeline { display: flex; gap: 0; position: relative; }
@media (max-width: 900px) { .pipeline { flex-direction: column; } }
.pipeline-step {
  flex: 1;
  position: relative;
  padding: 0 20px;
  text-align: left;
}
.pipeline-step:first-child { padding-left: 0; }
.pipeline-step:last-child { padding-right: 0; }
.pipeline-step::before {
  content: '';
  position: absolute;
  top: 23px; left: 0; right: -0px;
  height: 2px;
  background: var(--border);
}
.pipeline-step:first-child::before { left: 23px; }
.pipeline-step:last-child::before { right: calc(100% - 23px); }
@media (max-width: 900px) {
  .pipeline-step::before { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .pipeline-step:first-child::before { top: 23px; }
  .pipeline-step:last-child::before { bottom: calc(100% - 23px); }
  .pipeline-step { padding: 0 0 40px 0; }
}
.pipeline-num {
  position: relative; z-index: 1;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pipeline-step h3 { font-family: var(--font-mono); font-size: 15.5px; margin-bottom: 8px; color: var(--accent); }
.pipeline-step p { color: var(--text-dim); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-2); }
.testi-who { flex: 1; }
.testi-who .name { font-size: 14px; font-weight: 600; }
.testi-who .role { font-size: 12px; color: var(--text-faint); }
.approved { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.approved svg { width: 12px; height: 12px; }
.testi-card blockquote { color: var(--text-dim); font-size: 14.5px; font-style: normal; }
.testi-card blockquote::before { content: '// '; color: var(--text-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.json-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: var(--shadow-card);
}
.json-card .brace { color: var(--text-faint); }
.json-card .key { color: var(--accent-2); }
.json-card .val { color: var(--accent); }
.json-line { padding-left: 20px; margin: 8px 0; word-break: break-word; }
.social-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color .15s ease, border-color .15s ease;
}
.social-link:hover { color: var(--accent); border-color: var(--accent); }
.social-link svg { width: 17px; height: 17px; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.form-title { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-bottom: 22px; }
.form-title .verb { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.field input, .field textarea, .field select {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-success { display: none; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); font-size: 14px; font-family: var(--font-mono); }
.form-success.show { display: flex; }
.form-success svg { width: 16px; height: 16px; flex-shrink: 0; }
.form-error { display: none; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); font-size: 14px; font-family: var(--font-mono); }
.form-error.show { display: flex; }
.form-error svg { width: 16px; height: 16px; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; max-width: 320px; }
.footer h4 { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); letter-spacing: .04em; margin-bottom: 16px; text-transform: uppercase; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--text-dim); transition: color .15s ease; }
.footer ul a:hover { color: var(--accent); }
.footer-legal { font-size: 12.5px; color: var(--text-faint); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-faint);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); }
