/* ============================================================
   TetraSol — design system
   Ink #20242B · Void #14171C · Teal #1FC7DE · Signal Blue #2E6FE0
   Paper #F6F8FA · Slate #5B6672
   Display: Plus Jakarta Sans · Body: Inter · Utility: IBM Plex Mono
   ============================================================ */

:root {
  --ink: #20242b;
  --void: #14171c;
  --void-2: #1a1e25;
  --teal: #1fc7de;
  --teal-deep: #0e7d8f;
  --blue: #2e6fe0;
  --paper: #f6f8fa;
  --paper-dim: #eceff2;
  --white: #ffffff;
  --slate: #5b6672;
  --slate-light: #8a93a0;
  --line: #e2e6eb;
  --line-dark: #2a2f38;
  --gradient: linear-gradient(135deg, var(--teal), var(--blue));
  --gradient-soft: linear-gradient(135deg, rgba(31,199,222,0.12), rgba(46,111,224,0.12));

  --font-display: 'Plus Jakarta Sans', 'Arial', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-eyebrow: 'Space Grotesk', 'Arial', sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

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

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

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }

p { margin: 0; color: var(--slate); }

.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep); /* var(--teal) is ~2:1 on white, fails WCAG text contrast — deep variant clears 4.5:1 */
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.section.on-dark .eyebrow { color: var(--teal); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(46,111,224,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(46,111,224,0.65); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost.on-dark:hover { border-color: var(--white); }
.btn-text {
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.btn-text:hover { border-color: var(--ink); }
.btn-text svg { transition: transform 0.2s var(--ease); }
.btn-text:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-light);
}
.btn-sub button, .btn-sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,248,250,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.brand img { height: 48px; width: auto; }
.brand span { color: var(--slate); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; margin-left: 2px; }

.nav-main { display: flex; align-items: center; gap: 6px; }
.nav-main > li { position: relative; }
.nav-main > li > a, .nav-main .nav-drop > button {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-main > li > a:hover, .nav-main .nav-drop > button:hover { background: var(--paper-dim); }
.nav-main a.active { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop svg { transition: transform 0.2s var(--ease); }
.nav-drop.open svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -16px rgba(20,23,28,0.18);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
@media (min-width: 961px) {
  .nav-drop:hover svg { transform: rotate(180deg); }
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
}
.nav-drop-menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; font-weight: 600;
}
.nav-drop-menu a small { font-weight: 400; color: var(--slate); font-size: 0.78rem; }
.nav-drop-menu a:hover { background: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 10px; }
.nav-toggle svg { display: block; }

@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-main { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s var(--ease); }
  .nav-main.open { transform: translateX(0); }
  .nav-main > li > a, .nav-main .nav-drop > button { width: 100%; justify-content: space-between; padding: 16px; font-size: 1.05rem; }
  .nav-drop-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: none; padding: 0 0 0 8px; margin-top: 4px; }
  .nav-drop.open .nav-drop-menu { display: flex; flex-direction: column; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-mobile { display: block !important; margin-top: 16px; }
  .nav-cta-mobile .btn { width: 100%; }
}

.nav-cta-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--void);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 76px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }

/* ambient blueprint backdrop */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, black 35%, transparent 82%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, black 35%, transparent 82%);
}
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(120px); opacity: 0.32; }
.hero-glow-a { background: var(--teal); top: -180px; left: -140px; }
.hero-glow-b { background: var(--blue); bottom: -220px; right: -160px; }
.hero-corner { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,0.28); }
.hero-corner.tl { top: 28px; left: 24px; border-top: 1px solid; border-left: 1px solid; }
.hero-corner.tr { top: 28px; right: 24px; border-top: 1px solid; border-right: 1px solid; }
@media (max-width: 1300px) { .hero-corner { display: none; } }

.hero-copy .eyebrow { color: var(--teal); }
.hero h1 { color: var(--white); margin-top: 18px; font-size: clamp(2.4rem, 4.8vw, 4.4rem); letter-spacing: -0.02em; }
.hero-cursor {
  display: inline-block; width: 0.42em; height: 0.82em; margin-left: 6px;
  background: var(--teal); vertical-align: -0.08em;
  animation: cursor-blink 1.1s steps(1) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.hero-copy p.lead { color: #aeb6c2; font-size: 1.15rem; max-width: 46ch; margin-top: 20px; }
.hero .btn-row { margin-top: 32px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.hero .btn-ghost:hover { border-color: var(--white); }

.hero-trust { margin-top: 48px; display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.hero-trust div { font-family: var(--font-mono); padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.12); }
.hero-trust div:first-child { padding-left: 0; border-left: none; }
.hero-trust strong { display: block; font-size: 1.5rem; color: var(--white); font-weight: 600; }
.hero-trust span { font-size: 0.76rem; color: var(--slate-light); letter-spacing: 0.04em; }

/* auto-playing browser mockup */
.hero-browser { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.browser-frame {
  background: var(--void-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line-dark); }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.dot-a { background: #ff5f57; }
.browser-dot.dot-b { background: #febc2e; }
.browser-dot.dot-c { background: #28c840; }
.browser-url { margin-left: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--slate-light); background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 6px; }

.browser-screens { position: relative; height: 320px; }
.browser-screen {
  position: absolute; inset: 0; padding: 28px; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.browser-screen.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mock-code-line { height: 10px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-bottom: 15px; }
.mock-code-line.accent { background: linear-gradient(90deg, var(--teal), var(--blue)); opacity: 0.55; }

.mock-chat { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.mock-bubble {
  max-width: 78%; padding: 11px 16px; border-radius: 14px; font-family: var(--font-mono); font-size: 0.8rem; color: #dfe4ea;
  animation: mock-bubble-in 6.4s var(--ease) infinite; opacity: 0;
}
.mock-bubble.bot { align-self: flex-start; background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.mock-bubble.user { align-self: flex-end; background: linear-gradient(135deg, var(--teal), var(--blue)); color: var(--white); border-bottom-right-radius: 4px; }
.mock-bubble:nth-child(1) { animation-delay: 0s; }
.mock-bubble:nth-child(2) { animation-delay: 0.6s; }
.mock-bubble:nth-child(3) { animation-delay: 1.2s; }
.mock-bubble:nth-child(4) { animation-delay: 1.9s; }
@keyframes mock-bubble-in {
  0% { opacity: 0; transform: translateY(10px); }
  8% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
.mock-typing { display: flex; align-items: center; gap: 5px; padding: 13px 16px; }
.mock-typing span { width: 6px; height: 6px; border-radius: 50%; background: #dfe4ea; opacity: 0.5; animation: mock-typing-bounce 1.1s ease-in-out infinite; }
.mock-typing span:nth-child(2) { animation-delay: 0.15s; }
.mock-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes mock-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mock-bubble { animation: none; opacity: 1; }
  .mock-typing span { animation: none; }
}

.mock-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 24px; }
.mock-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.1rem;
  opacity: 0; animation: mock-profile-in 6.4s var(--ease) infinite;
}
.mock-profile-name { color: var(--white); font-weight: 600; opacity: 0; animation: mock-profile-in 6.4s var(--ease) infinite; animation-delay: 0.3s; }
.mock-profile-tags { display: flex; gap: 8px; }
.mock-profile-tags span {
  font-family: var(--font-mono); font-size: 0.7rem; background: rgba(255,255,255,0.08); padding: 4px 11px; border-radius: 999px; color: #dfe4ea;
  opacity: 0; animation: mock-profile-in 6.4s var(--ease) infinite;
}
.mock-profile-tags span:nth-child(1) { animation-delay: 0.55s; }
.mock-profile-tags span:nth-child(2) { animation-delay: 0.7s; }
.mock-profile-tags span:nth-child(3) { animation-delay: 0.85s; }
.mock-profile-stars { color: var(--teal); letter-spacing: 2px; }
.mock-profile-stars span { display: inline-block; opacity: 0; animation: mock-profile-in 6.4s var(--ease) infinite; }
.mock-profile-stars span:nth-child(1) { animation-delay: 1.05s; }
.mock-profile-stars span:nth-child(2) { animation-delay: 1.15s; }
.mock-profile-stars span:nth-child(3) { animation-delay: 1.25s; }
.mock-profile-stars span:nth-child(4) { animation-delay: 1.35s; }
.mock-profile-stars span:nth-child(5) { animation-delay: 1.45s; }
.mock-profile-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-mono); font-size: 0.78rem; color: #28c840;
  background: rgba(40,200,64,0.12); padding: 6px 14px; border-radius: 999px;
  opacity: 0; animation: mock-profile-in 6.4s var(--ease) infinite; animation-delay: 1.7s;
}
.mock-profile-status svg { border-radius: 50%; animation: code-pulse 1.8s ease-in-out infinite; animation-delay: 1.7s; }
@keyframes mock-profile-in {
  0% { opacity: 0; transform: translateY(8px); }
  6% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .mock-avatar, .mock-profile-name, .mock-profile-tags span, .mock-profile-stars span, .mock-profile-status { animation: none; opacity: 1; }
  .mock-profile-status svg { animation: none; }
}

.browser-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.browser-tab {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate-light);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark);
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.browser-tab.is-active, .browser-tab:hover { color: var(--white); border-color: var(--teal); background: rgba(31,199,222,0.14); }

@media (max-width: 900px) {
  .hero { padding-top: 72px; }
  .hero .container { grid-template-columns: 1fr; }
  .browser-screens { height: 280px; }
}

/* ---------- sections generic ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section.on-dark { background: var(--void); color: var(--white); }
.section.on-dark h2, .section.on-dark h3 { color: var(--white); }
.section.on-dark p { color: #aeb6c2; }
.section.alt { background: var(--white); }

/* ---------- service cards (home) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(20,23,28,0.16); border-color: transparent; }

/* spotlight: hovering one card dims/blurs its siblings — pointer:fine only, so taps on touch don't get stuck "dimmed" */
@media (hover: hover) and (pointer: fine) {
  .service-grid:hover .service-card { opacity: 0.5; filter: blur(2px) saturate(0.7); transform: scale(0.96); }
  .service-grid:hover .service-card:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.045) translateY(-6px);
    box-shadow: 0 28px 56px -20px rgba(20,23,28,0.22);
    border-color: transparent;
    z-index: 2;
  }
}
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card .tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 10px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p.desc { font-size: 0.96rem; margin-bottom: 20px; }
.service-card ul.points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-card ul.points li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink); }
.service-card ul.points li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.service-card .btn-text { margin-top: auto; }

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

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { border-top: 2px solid var(--line-dark); padding-top: 20px; }
.process-step .num { font-family: var(--font-mono); color: var(--teal-deep); font-size: 0.85rem; }
.process-step h3 { margin: 12px 0 10px; font-size: 1.1rem; }
.process-step p { font-size: 0.92rem; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-strip div { padding: 32px 24px; border-left: 1px solid var(--line); }
.stats-strip div:first-child { border-left: none; }
.stats-strip strong { display: block; font-family: var(--font-mono); font-size: 2rem; color: var(--ink); }
.stats-strip span { font-size: 0.82rem; color: var(--slate); }
@media (max-width: 900px) { .stats-strip { grid-template-columns: 1fr 1fr; } .stats-strip div:nth-child(2n+1) { border-left: none; } .stats-strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- portfolio ---------- */
.folio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.folio-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease), filter 0.35s var(--ease); }
.folio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20,23,28,0.18); }

/* spotlight: hovering one card dims/blurs its siblings — pointer:fine only, so taps on touch don't get stuck "dimmed" */
@media (hover: hover) and (pointer: fine) {
  .folio-grid:hover .folio-card { opacity: 0.5; filter: blur(2px) saturate(0.7); transform: scale(0.96); }
  .folio-grid:hover .folio-card:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.045) translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(20,23,28,0.22);
    z-index: 2;
  }
}
.folio-thumb { height: 130px; background: var(--gradient); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.folio-thumb span { font-family: var(--font-mono); color: rgba(255,255,255,0.85); font-size: 0.72rem; }
.folio-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.folio-body h3 { font-size: 1.05rem; }
.folio-body p { font-size: 0.88rem; }
.folio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.folio-tags span { font-family: var(--font-mono); font-size: 0.72rem; background: var(--paper-dim); padding: 4px 9px; border-radius: 6px; color: var(--slate); }
@media (max-width: 900px) { .folio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .folio-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.testi-carousel { max-width: 980px; margin: 0 auto; }
.testi-slides { position: relative; min-height: 300px; }
.testi-page {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transform: translateX(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.testi-page.is-active { position: relative; opacity: 1; pointer-events: auto; transform: translateX(0); }
.testi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px -24px rgba(20,23,28,0.14);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.testi-card .stars { color: #e0a416; letter-spacing: 2px; font-size: 0.85rem; }
.testi-card p { color: var(--ink); font-size: 0.95rem; }
.testi-card footer { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); display: flex; align-items: center; gap: 8px; margin-top: auto; }
.testi-card footer svg { flex-shrink: 0; opacity: 0.8; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.testi-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); border: 1px solid transparent; color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(46,111,224,0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.testi-arrow:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 26px -8px rgba(46,111,224,0.7); }
.testi-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate-light); min-width: 3.5em; text-align: center; }
@media (max-width: 900px) {
  .testi-carousel { max-width: 100%; }
  .testi-slides { min-height: 0; }
  .testi-page { grid-template-columns: 1fr; position: static; opacity: 1; pointer-events: auto; transform: none; display: none; }
  .testi-page.is-active { display: grid; }
}


.role-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.role-tags span {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink);
  background: var(--paper-dim); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  background-image: radial-gradient(600px 300px at 15% 20%, rgba(31,199,222,0.18), transparent), radial-gradient(600px 300px at 85% 80%, rgba(46,111,224,0.22), transparent);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-banner h2 { color: var(--white); max-width: 18ch; }
.cta-banner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.28); }
@media (max-width: 800px) { .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }

/* ---------- contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.field-optional { font-weight: 400; color: var(--slate); font-size: 0.85em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.visible { display: block; }
.form-status.ok { color: #147a53; }
.form-status.err { color: #c93a3a; }

.side-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.info-card h3 { font-size: 1rem; margin-bottom: 12px; }
.info-card ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.info-card ul li { display: flex; gap: 10px; align-items: flex-start; }
.info-card ul li svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.info-card.dark { background: var(--void); color: var(--white); border-color: var(--line-dark); }
.info-card.dark h3 { color: var(--white); }
.info-card.dark p { color: #aeb6c2; }

@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

/* ---------- service detail page ---------- */
.service-hero { background: var(--void); color: var(--white); padding: 64px 0 72px; position: relative; overflow: hidden; }
.service-hero .container { position: relative; z-index: 1; }
.service-hero.has-panel .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.service-hero .breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate-light); margin-bottom: 20px; }
.service-hero .breadcrumb a:hover { color: var(--white); }
.service-hero h1 { color: var(--white); margin-top: 16px; max-width: 18ch; }
.service-hero p.lead { color: #aeb6c2; font-size: 1.1rem; max-width: 60ch; margin-top: 18px; }
.service-hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.service-hero .btn-ghost:hover { border-color: var(--white); }

/* developer match carousel */
.match-panel { position: relative; height: 340px; min-width: 0; }
.match-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 32px;
  background: var(--void-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
  opacity: 0; transform: translateY(14px) scale(0.97); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.match-card.is-active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.match-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.1rem;
}
.match-role { color: var(--white); font-weight: 600; font-size: 1.05rem; }
.match-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.match-tags span { font-family: var(--font-mono); font-size: 0.72rem; background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 999px; color: #dfe4ea; }
.match-stars { color: var(--teal); letter-spacing: 2px; }
.match-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-mono); font-size: 0.78rem; color: #28c840;
  background: rgba(40,200,64,0.12); padding: 6px 14px; border-radius: 999px;
}
.match-dots { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); display: flex; gap: 8px; }
.match-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; padding: 0; transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.match-dot.is-active { background: var(--teal); transform: scale(1.3); }
@media (max-width: 900px) { .service-hero.has-panel .container { grid-template-columns: 1fr; } .match-panel { height: 300px; margin-top: 8px; } }

/* n8n-style workflow animation */
.n8n-flow { position: relative; height: 340px; min-width: 0; }
.n8n-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.n8n-line-path { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 2; stroke-dasharray: 6 8; animation: n8n-dash 1s linear infinite; }
.n8n-pulse-dot { filter: drop-shadow(0 0 6px rgba(31,199,222,0.9)); }
@keyframes n8n-dash { to { stroke-dashoffset: -28; } }

.n8n-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  background: var(--void-2); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 10px 14px; white-space: nowrap;
  box-shadow: 0 16px 32px -18px rgba(0,0,0,0.6);
  animation: n8n-glow 4s ease-in-out infinite;
}
.n8n-node:nth-of-type(2) { animation-delay: 1s; }
.n8n-node:nth-of-type(3) { animation-delay: 2s; }
.n8n-node:nth-of-type(4) { animation-delay: 3s; }
.n8n-node-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--gradient-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.n8n-node-icon svg { width: 16px; height: 16px; }
.n8n-node span:last-child { font-family: var(--font-mono); font-size: 0.78rem; color: var(--white); }
@keyframes n8n-glow {
  0%, 80%, 100% { border-color: var(--line-dark); box-shadow: 0 16px 32px -18px rgba(0,0,0,0.6); }
  10%, 20% { border-color: var(--teal); box-shadow: 0 0 24px rgba(31,199,222,0.5), 0 16px 32px -18px rgba(0,0,0,0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .n8n-line-path, .n8n-node { animation: none; }
  .n8n-pulse-dot { display: none; }
}
@media (max-width: 900px) { .n8n-flow { height: 280px; margin-top: 8px; } }

/* about — animated growth-chart panel */
.growth-panel { position: relative; height: 340px; min-width: 0; display: flex; align-items: flex-end; }
.growth-chart { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-around; gap: 20px; padding: 48px 24px 60px; }
.growth-bar {
  position: relative; flex: 1; max-width: 64px; height: var(--h);
  border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, var(--teal), var(--blue));
  box-shadow: 0 0 24px rgba(31,199,222,0.35);
  transform-origin: bottom; animation: growth-rise 5s var(--ease) infinite;
  animation-delay: var(--d);
}
.growth-value {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.86rem; color: var(--white); white-space: nowrap;
}
.growth-label {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; color: #aeb6c2; white-space: nowrap;
}
.growth-baseline { position: absolute; left: 24px; right: 24px; bottom: 60px; height: 1px; background: var(--line-dark); }
@keyframes growth-rise {
  0% { transform: scaleY(0); opacity: 0; }
  15% { opacity: 1; }
  22%, 88% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-bar { animation: none; transform: scaleY(1); opacity: 1; }
}
@media (max-width: 900px) { .growth-panel { height: 300px; margin-top: 8px; } }

/* animated typing code lines (homepage hero web tab) */
.code-line {
  height: 10px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-bottom: 15px;
  transform-origin: left; animation: code-type 7s var(--ease) infinite;
}
.code-line.accent { background: linear-gradient(90deg, var(--teal), var(--blue)); opacity: 0.7; }
.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.18s; }
.code-line:nth-child(3) { animation-delay: 0.36s; }
.code-line:nth-child(4) { animation-delay: 0.54s; }
.code-line:nth-child(5) { animation-delay: 0.72s; }
.code-line:nth-child(6) { animation-delay: 0.9s; }
.code-line:nth-child(7) { animation-delay: 1.08s; }
.code-line:nth-child(8) { animation-delay: 1.26s; }
@keyframes code-type {
  0% { transform: scaleX(0); opacity: 0; }
  8% { opacity: 1; }
  20%, 88% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}
.code-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; animation: code-pulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes code-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40,200,64,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(40,200,64,0); }
}
@media (prefers-reduced-motion: reduce) {
  .code-line { animation: none; transform: scaleX(1); opacity: 1; }
  .code-status-dot { animation: none; }
}

/* web development — before/after refactor slider */
.refactor-panel { position: relative; height: 340px; min-width: 0; }
.refactor-panel .browser-frame { height: 100%; display: flex; flex-direction: column; }
.refactor-stage { position: relative; flex: 1; overflow: hidden; }
.refactor-lines { position: absolute; inset: 22px 24px; }
.refactor-after .code-line { animation: none; opacity: 1; transform: none; }
.refactor-before { animation: refactor-wipe 8s var(--ease) infinite; }
.messy-line { height: 10px; margin-bottom: 15px; border-radius: 2px; background: rgba(255,138,101,0.4); }
.messy-line:nth-child(odd) { transform: rotate(-1.2deg); }
.messy-line:nth-child(even) { transform: rotate(1.2deg); }
.refactor-handle {
  position: absolute; top: 22px; bottom: 22px; width: 2px; margin-left: -1px;
  background: linear-gradient(var(--teal), var(--blue));
  box-shadow: 0 0 12px rgba(31,199,222,0.6);
  animation: refactor-handle-move 8s var(--ease) infinite;
}
.refactor-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--void-2); border: 1px solid var(--teal);
}
@keyframes refactor-wipe {
  0%, 8% { clip-path: inset(0 0 0 0%); }
  46%, 54% { clip-path: inset(0 0 0 100%); }
  92%, 100% { clip-path: inset(0 0 0 0%); }
}
@keyframes refactor-handle-move {
  0%, 8% { left: 0%; }
  46%, 54% { left: 100%; }
  92%, 100% { left: 0%; }
}
.refactor-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; color: #28c840;
  background: rgba(40,200,64,0.12); border-top: 1px solid var(--line-dark);
  padding: 12px 24px;
}
@media (prefers-reduced-motion: reduce) {
  .refactor-before { animation: none; clip-path: inset(0 0 0 100%); }
  .refactor-handle { animation: none; left: 100%; }
}
@media (max-width: 900px) { .refactor-panel { height: 300px; margin-top: 8px; } }

/* contact — animated live-chat panel */
.message-panel { position: relative; height: 340px; min-width: 0; }
.message-panel .browser-frame { height: 100%; display: flex; flex-direction: column; }

.mail-flow { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 26px; }
.mail-row { position: relative; display: flex; align-items: center; justify-content: space-between; }
.mail-node-icon {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--void-2); border: 1px solid var(--line-dark); color: var(--slate-light);
}
.mail-node-icon svg { width: 22px; height: 22px; }
.mail-node-icon.mail-node-to { color: var(--teal); animation: mail-ping 5.2s ease-in-out infinite; }
.mail-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72rem; color: var(--slate-light); padding: 0 4px; }
.mail-track { position: absolute; left: 64px; right: 64px; top: 50%; transform: translateY(-50%); height: 34px; }
.mail-track svg.mail-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mail-envelope {
  position: absolute; top: 50%; left: -4%; width: 32px; height: 32px; border-radius: 9px;
  transform: translateY(-50%); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--blue)); color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(31,199,222,0.6);
  animation: mail-fly 5.2s var(--ease) infinite;
}
@keyframes mail-fly {
  0% { left: -4%; opacity: 0; transform: translateY(-50%) scale(0.7) rotate(-8deg); }
  8% { opacity: 1; }
  46% { left: 46%; opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
  58% { left: 96%; opacity: 1; transform: translateY(-50%) scale(0.8) rotate(8deg); }
  63%, 100% { opacity: 0; left: 96%; }
}
@keyframes mail-ping {
  0%, 54% { box-shadow: 0 0 0 0 rgba(31,199,222,0); transform: scale(1); }
  60% { box-shadow: 0 0 0 10px rgba(31,199,222,0.22); transform: scale(1.12); }
  70%, 100% { box-shadow: 0 0 0 0 rgba(31,199,222,0); transform: scale(1); }
}
.message-status {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: var(--font-mono); font-size: 0.78rem; color: #28c840;
  background: rgba(40,200,64,0.12); border-top: 1px solid var(--line-dark);
  padding: 12px 24px;
  opacity: 0; animation: mail-status-in 5.2s var(--ease) infinite;
}
@keyframes mail-status-in {
  0%, 58% { opacity: 0; transform: translateY(6px); }
  66%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .mail-envelope { animation: none; opacity: 0; }
  .mail-node-icon.mail-node-to { animation: none; }
  .message-status { animation: none; opacity: 1; }
}
@media (max-width: 900px) { .message-panel { height: 300px; margin-top: 8px; } }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.capability-card:hover { transform: scale(1.035); box-shadow: 0 20px 40px -20px rgba(20,23,28,0.16); border-color: transparent; }
.capability-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.capability-card p { font-size: 0.9rem; }
@media (max-width: 900px) { .capability-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .capability-grid { grid-template-columns: 1fr; } }

.catalog-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 1100px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .catalog-grid { grid-template-columns: 1fr; } }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink); line-height: 1.45; }
.check-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--white); }
.tier-card .tier-name { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.tier-card .tier-price { font-family: var(--font-display); font-size: 1.5rem; margin: 10px 0 6px; }
.tier-card .tier-price span { font-size: 0.7rem; color: var(--slate); font-family: var(--font-mono); }
.tier-card p { font-size: 0.85rem; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); font-weight: 500; }
.compare-table td.yes { color: var(--teal-deep); font-weight: 700; }
.compare-table tr.us { background: var(--gradient-soft); }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table-wrap table { min-width: 640px; }

.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; min-height: 44px; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--teal-deep); font-weight: 400; transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; font-size: 0.95rem; }

/* ---------- about page extras ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.value-card:hover { transform: scale(1.035); box-shadow: 0 20px 40px -20px rgba(20,23,28,0.16); border-color: transparent; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.94rem; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--void); color: #aeb6c2; padding: 72px 0 32px; position: relative; overflow: hidden; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 50px; }
.footer-brand span { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.1rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--white); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.footer-social a:hover { border-color: var(--teal); background: rgba(31,199,222,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* ---------- utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 18px; z-index: 300; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
