/* ══════════════════════════════════════════
   HOME.CSS — Premium Portfolio Design
   Font: Satoshi · Palette: near-black / warm paper / indigo
   ══════════════════════════════════════════ */

:root {
  --hp-black:   #0C0B0B;
  --hp-dark:    #111110;
  --hp-bg:      #F8F7F4;
  --hp-surface: #FFFFFF;
  --hp-accent:  #5C6AFF;
  --hp-text:    #111110;
  --hp-muted:   #8A8A87;
  --hp-subtle:  #C4C3BF;
  --hp-border:  rgba(17,17,16,0.07);
  --hp-border-d:rgba(255,255,255,0.07);
  --hp-ease:    cubic-bezier(0.22,1,0.36,1);
  --hp-sans:    'Satoshi', 'Inter Tight', -apple-system, sans-serif;
}

body {
  font-family: var(--hp-sans);
  background: var(--hp-bg);
}

/* ══════════════════════════════════════════
   NAV — transparent white text over dark hero
   ══════════════════════════════════════════ */
.nav[data-dark] {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav[data-dark] .nav-logo { color: rgba(255,255,255,0.9); }
.nav[data-dark] .nav-link { color: rgba(255,255,255,0.45); }
.nav[data-dark] .nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav[data-dark] .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav[data-dark] .nav-burger span { background: rgba(255,255,255,0.8); }
.nav[data-dark] .nav-resume {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.18);
}
.nav[data-dark] .nav-resume:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hp-hero {
  background: var(--hp-black);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative; /* positioning context for geo element */
  overflow: hidden;
  isolation: isolate;
}

/* Subtle grain */
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.hp-hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(72px + 80px) 56px 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── Three.js WebGL canvas ──────────────── */
.hp-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 70% 48%, black 28%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 80% at 70% 48%, black 28%, transparent 76%);
  opacity: 0;
  animation: canvas-appear 1.4s 0.4s ease forwards;
}
@keyframes canvas-appear { to { opacity: 1; } }

/* ── Hero text ──────────────────────────── */
.hp-hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
  font-family: var(--hp-sans);
}

.hp-hero-title {
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: #fff;
  max-width: 690px;
  margin-bottom: 26px;
}
.hp-hero-title em {
  font-style: normal;
  color: rgba(255,255,255,0.32);
  font-weight: 400;
}

.hp-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.42);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

/* ── Hero CTAs ──────────────────────────── */
.hp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--hp-black);
  font-family: var(--hp-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--hp-ease), box-shadow 0.25s;
}
.hp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,255,255,0.1);
}
.hp-btn-primary svg { transition: transform 0.25s var(--hp-ease); }
.hp-btn-primary:hover svg { transform: translate(2px,-2px); }

.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.48);
  font-family: var(--hp-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.09);
  letter-spacing: -0.01em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hp-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}

/* ── Hero stats strip ───────────────────── */
.hp-hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 56px;
  gap: 0;
}
.hp-hero-stat {
  flex: none;
  padding: 0 48px;
  text-align: center;
}
.hp-hero-stat + .hp-hero-stat {
  border-left: 1px solid rgba(255,255,255,0.06);
}
.hp-stat-val {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hp-stat-lbl {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════
   SHARED SECTION HELPERS
   ══════════════════════════════════════════ */
.hp-section        { padding: 128px 0; }
.hp-section-dark   { background: var(--hp-dark); }
.hp-section-light  { background: var(--hp-bg); }
.hp-section-white  { background: var(--hp-surface); }

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

.hp-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 18px;
}
.hp-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.5;
}
.hp-label-light { color: rgba(255,255,255,0.28); }
.hp-label-light::before { background: rgba(255,255,255,0.28); }

.hp-section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--hp-text);
}
.hp-section-title-light { color: #fff; }

.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hp-muted);
  border: 1px solid var(--hp-border);
  padding: 9px 18px;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.hp-link-arrow:hover {
  color: var(--hp-text);
  border-color: rgba(17,17,16,0.18);
  background: var(--hp-surface);
}
.hp-link-arrow svg { transition: transform 0.25s var(--hp-ease); }
.hp-link-arrow:hover svg { transform: translate(2px,-2px); }

/* ══════════════════════════════════════════
   WORK — Numbered editorial list
   ══════════════════════════════════════════ */
.hp-work-list { display: flex; flex-direction: column; }

.hp-work-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 20px;
  border-bottom: 1px solid var(--hp-border);
  text-decoration: none;
  position: relative;
  transition: background 0.25s;
  border-radius: 10px;
  margin: 0 -20px;
}
.hp-work-item:first-child { border-top: 1px solid var(--hp-border); }
.hp-work-item:hover { background: var(--hp-surface); }

/* Hover thumbnail */
.hp-work-thumb {
  position: absolute;
  right: 148px;
  top: 50%;
  transform: translateY(-50%) translateY(6px) scale(0.96);
  width: 196px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--hp-ease), transform 0.3s var(--hp-ease);
  box-shadow: 0 20px 56px rgba(0,0,0,0.1);
  border: 1px solid var(--hp-border);
  z-index: 2;
}
.hp-work-item:hover .hp-work-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.hp-work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hp-work-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--hp-subtle);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.hp-work-info { min-width: 0; }

.hp-work-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.hp-work-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hp-work-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-muted);
  background: rgba(17,17,16,0.04);
  border-radius: 100px;
  padding: 3px 10px;
}

.hp-work-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--hp-text);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  line-height: 1.25;
}

.hp-work-desc {
  font-size: 14px;
  color: var(--hp-muted);
  line-height: 1.5;
  font-weight: 400;
}

.hp-work-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hp-subtle);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.hp-work-item:hover .hp-work-cta { color: var(--hp-text); }
.hp-work-cta svg { transition: transform 0.25s var(--hp-ease); }
.hp-work-item:hover .hp-work-cta svg { transform: translate(3px,-3px); }

/* ══════════════════════════════════════════
   EXPERIENCE TIMELINE
   ══════════════════════════════════════════ */
.hp-timeline {
  display: flex;
  flex-direction: column;
}

.hp-tl-item {
  display: grid;
  grid-template-columns: 108px 1px 1fr;
  gap: 0 48px;
  padding: 44px 0;
  position: relative;
}
.hp-tl-item + .hp-tl-item { border-top: 1px solid var(--hp-border); }

.hp-tl-item:hover .hp-tl-dot { background: var(--hp-text); }

/* Date column */
.hp-tl-time {
  text-align: right;
  padding-top: 2px;
}
.hp-tl-year-start {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--hp-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hp-tl-year-end {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--hp-muted);
  margin-top: 1px;
}

/* Connector line + dot */
.hp-tl-line {
  position: relative;
  width: 1px;
  background: var(--hp-border);
  flex-shrink: 0;
}
.hp-tl-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-subtle);
  transition: background 0.25s;
  flex-shrink: 0;
}

/* Content */
.hp-tl-role {
  font-size: 18px;
  font-weight: 600;
  color: var(--hp-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.hp-tl-company {
  font-size: 13px;
  font-weight: 400;
  color: var(--hp-muted);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hp-tl-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hp-tl-points li {
  font-size: 14px;
  color: #6B6B68;
  line-height: 1.65;
  font-weight: 400;
  padding-left: 16px;
  position: relative;
}
.hp-tl-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--hp-subtle);
  font-size: 11px;
  top: 2px;
}

/* ══════════════════════════════════════════
   EXPERTISE — 3 cards, dark bg, animated icons
   ══════════════════════════════════════════ */
.hp-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
}

.hp-exp-card {
  background: var(--hp-dark);
  padding: 48px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.hp-exp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 110%, rgba(92,106,255,0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hp-exp-card:hover { background: #161615; }
.hp-exp-card:hover::after { opacity: 1; }

/* Animated icon container */
.hp-exp-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.hp-exp-card:hover .hp-exp-icon { color: rgba(255,255,255,0.8); }

.hp-exp-title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.hp-exp-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
  font-weight: 400;
}

/* ── Animated SVG keyframes ─────────────── */

/* Icon 1: bar chart — bars grow in stagger */
.ico-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
}
.ico-bar-a { animation: bar-grow 2.6s ease-in-out infinite 0s; }
.ico-bar-b { animation: bar-grow 2.6s ease-in-out infinite 0.35s; }
.ico-bar-c { animation: bar-grow 2.6s ease-in-out infinite 0.7s; }
@keyframes bar-grow {
  0%, 100% { transform: scaleY(0.65); opacity: 0.55; }
  50%       { transform: scaleY(1);    opacity: 1; }
}

/* Icon 2: design system grid — cells pulse in sequence */
.ico-cell-a { animation: cell-fade 3s ease-in-out infinite 0s; }
.ico-cell-b { animation: cell-fade 3s ease-in-out infinite 0.5s; }
.ico-cell-c { animation: cell-fade 3s ease-in-out infinite 1s; }
.ico-cell-d { animation: cell-fade 3s ease-in-out infinite 1.5s; }
@keyframes cell-fade {
  0%, 100% { opacity: 0.3; }
  25%       { opacity: 1; }
  50%, 75%  { opacity: 0.3; }
}

/* Icon 3: trend line — path draws then resets */
.ico-line-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-trend 2.8s ease-in-out infinite;
}
.ico-line-dot {
  opacity: 0;
  animation: dot-appear 2.8s ease-in-out infinite;
}
@keyframes draw-trend {
  0%   { stroke-dashoffset: 60; }
  60%  { stroke-dashoffset: 0; }
  85%, 100% { stroke-dashoffset: 0; }
}
@keyframes dot-appear {
  0%, 55% { opacity: 0; transform: scale(0.4); }
  70%, 85% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; }
}
.ico-line-dot { transform-box: fill-box; transform-origin: center; }

/* ══════════════════════════════════════════
   TESTIMONIALS — Pull quote style
   ══════════════════════════════════════════ */
.hp-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.hp-testi-featured {
  grid-column: 1 / -1;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
.hp-testi-featured::before {
  content: '\201C';
  position: absolute;
  top: -28px;
  left: 44px;
  font-size: 160px;
  font-weight: 900;
  color: rgba(17,17,16,0.04);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.hp-testi-featured blockquote {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  color: #333330;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hp-testi-featured blockquote em {
  font-style: normal;
  font-weight: 600;
  color: var(--hp-text);
}

.hp-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hp-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.hp-testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-text);
  margin-bottom: 1px;
  letter-spacing: -0.01em;
}
.hp-testi-role {
  font-size: 12px;
  color: var(--hp-muted);
  font-weight: 400;
}

.hp-testi-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s, transform 0.3s var(--hp-ease);
}
.hp-testi-card:hover {
  border-color: rgba(17,17,16,0.12);
  transform: translateY(-2px);
}

.hp-testi-stars {
  display: flex;
  gap: 2px;
  color: #D4A017;
  font-size: 12px;
  margin-bottom: 2px;
}

.hp-testi-card blockquote {
  font-size: 14px;
  line-height: 1.75;
  color: #555552;
  flex: 1;
  font-weight: 400;
}
.hp-testi-card blockquote em {
  font-style: normal;
  font-weight: 600;
  color: #333330;
}

.hp-testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--hp-border);
}

/* ══════════════════════════════════════════
   CTA BLOCK
   ══════════════════════════════════════════ */
.hp-cta {
  padding: 128px 0;
  background: var(--hp-black);
  position: relative;
  overflow: hidden;
}
.hp-cta::before {
  content: '';
  position: absolute;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,106,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hp-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
}

.hp-cta-title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.hp-cta-title span { color: rgba(255,255,255,0.25); font-weight: 400; }

.hp-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  max-width: 400px;
  font-weight: 400;
}

.hp-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.hp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--hp-black);
  font-family: var(--hp-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--hp-ease), box-shadow 0.25s;
}
.hp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255,255,255,0.1);
}
.hp-cta-btn svg { transition: transform 0.25s var(--hp-ease); }
.hp-cta-btn:hover svg { transform: translate(2px,-2px); }

.hp-cta-secondary {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}
.hp-cta-secondary a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hp-cta-secondary a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.hp-contact {
  padding: 128px 0;
  background: var(--hp-bg);
}
.hp-contact-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 56px;
}
.hp-contact-head {
  margin-bottom: 52px;
}
.hp-contact-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--hp-text);
  margin-bottom: 10px;
}
.hp-contact-sub {
  font-size: 15px;
  color: var(--hp-muted);
  line-height: 1.65;
  font-weight: 400;
}

.hp-form {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 20px;
  padding: 44px;
}
.hp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.hp-form-group { margin-bottom: 14px; }
.hp-form-group:last-of-type { margin-bottom: 28px; }
.hp-form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 7px;
}
.hp-form-input {
  width: 100%;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: 10px;
  color: var(--hp-text);
  font-family: var(--hp-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.hp-form-input::placeholder { color: #C4C3BE; }
.hp-form-input:focus {
  border-color: rgba(92,106,255,0.4);
  box-shadow: 0 0 0 3px rgba(92,106,255,0.07);
}
.hp-form-input.err { border-color: #ef4444; }
.hp-form-input.ok  { border-color: #22c55e; }
.hp-form-input.err + .hp-form-error { display: block; }
.hp-form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
  font-weight: 400;
}
textarea.hp-form-input { resize: vertical; min-height: 120px; }

.hp-form-submit {
  width: 100%;
  background: var(--hp-text);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--hp-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 32px;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.25s var(--hp-ease), box-shadow 0.25s;
}
.hp-form-submit:hover {
  opacity: 0.86;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(17,17,16,0.12);
}
.hp-form-submit.loading .lbl  { display: none; }
.hp-form-submit.loading .spin { display: inline-block !important; }

/* ══════════════════════════════════════════
   FOOTER OVERRIDE
   ══════════════════════════════════════════ */
.footer { background: var(--hp-bg); }

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--hp-ease), transform 0.6s var(--hp-ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hp-hero-inner  { padding: calc(72px + 60px) 36px 48px; }
  .hp-hero-stats  { padding: 24px 36px; }
  .hp-hero-stat   { padding-right: 28px; }
  .hp-hero-stat + .hp-hero-stat { padding-left: 28px; }
  .hp-container   { padding: 0 36px; }
  .hp-expertise-grid { grid-template-columns: 1fr; }
  .hp-exp-card    { padding: 36px 32px; }
  .hp-cta-inner   { grid-template-columns: 1fr; gap: 40px; }
  .hp-cta-actions { align-items: flex-start; }
  .hp-work-thumb  { display: none; }
  .hp-hero-canvas { -webkit-mask-image: radial-gradient(ellipse 85% 70% at 65% 45%, black 20%, transparent 70%); mask-image: radial-gradient(ellipse 85% 70% at 65% 45%, black 20%, transparent 70%); }
}

@media (max-width: 768px) {
  .hp-section     { padding: 88px 0; }
  .hp-hero-inner  { padding: calc(72px + 48px) 24px 36px; }
  .hp-hero-stats  { padding: 22px 24px; flex-wrap: wrap; gap: 18px; }
  .hp-hero-stat   { flex: 1 1 40%; border-left: none !important; padding: 0 !important; }
  .hp-container   { padding: 0 24px; }
  .hp-testi-grid  { grid-template-columns: 1fr; }
  .hp-testi-featured { padding: 36px 28px; }
  .hp-cta         { padding: 88px 0; }
  .hp-cta-inner   { padding: 0 24px; }
  .hp-contact-inner { padding: 0 24px; }
  .hp-form        { padding: 28px 22px; }
  .hp-form-row    { grid-template-columns: 1fr; }
  .hp-work-item   {
    grid-template-columns: 36px 1fr;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hp-work-cta    { display: none; }
  .hp-tl-item     { grid-template-columns: 1fr; gap: 12px 0; }
  .hp-tl-time     { text-align: left; display: flex; gap: 4px; align-items: baseline; }
  .hp-tl-year-end::before { content: '–'; margin-right: 4px; }
  .hp-tl-line     { display: none; }
  .hp-section-head { margin-bottom: 48px; }
}

@media (max-width: 560px) {
  .hp-hero-title  { letter-spacing: -0.022em; }
  .hp-testi-featured::before { font-size: 110px; }
}

/* ══════════════════════════════════════════
   CRO ENHANCEMENTS — ported from CRO HTML
   ══════════════════════════════════════════ */

/* ── Availability chip ── */
.hp-availability {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.22);
  color: #34D399;
  font-family: var(--hp-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.01em;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hp-availability-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399;
  animation: pulseDot 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.hp-availability strong { color: #fff; font-weight: 600; }

/* ── Trust logos row ── */
.hp-trust {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hp-trust-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.32); flex-shrink: 0;
}
.hp-trust-logos {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  font-family: var(--hp-sans);
}
.hp-trust-logos span {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.55);
  transition: color .2s; cursor: default;
}
.hp-trust-logos span:hover { color: #fff; }

/* ── Mini-quote in hero ── */
.hp-hero-mini-quote {
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  max-width: 540px;
  display: flex; align-items: flex-start; gap: 14px;
}
.hp-hero-mini-quote-stars {
  color: #FBBF24; font-size: 11px;
  letter-spacing: 1px; line-height: 1;
  padding-top: 4px; flex-shrink: 0;
}
.hp-hero-mini-quote-text {
  font-size: 13.5px; line-height: 1.55;
  color: rgba(255,255,255,0.7); font-weight: 400;
}
.hp-hero-mini-quote-text strong { color: #fff; font-weight: 500; }
.hp-hero-mini-quote-author {
  display: block; margin-top: 5px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}

/* ── Social strip ── */
.cro-social-strip {
  padding: 56px 0;
  background: var(--hp-surface);
  border-bottom: 1px solid var(--hp-border);
}
.cro-social-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px; align-items: center;
}
.cro-social-q {
  font-family: var(--hp-sans);
  font-size: 17px; line-height: 1.55;
  color: var(--hp-text); letter-spacing: -0.015em; font-weight: 500;
}
.cro-social-q em {
  background: linear-gradient(180deg, transparent 60%, rgba(92,106,255,0.18) 60%);
  font-style: normal;
}
.cro-social-author { font-size: 13px; color: var(--hp-muted); margin-top: 10px; font-weight: 400; }
.cro-social-stat { text-align: center; padding: 0 16px; border-left: 1px solid var(--hp-border); }
.cro-social-stat-val {
  font-family: var(--hp-sans);
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--hp-text); line-height: 1.1;
}
.cro-social-stat-lbl {
  font-family: var(--hp-sans);
  font-size: 12px; color: var(--hp-muted);
  margin-top: 6px; line-height: 1.45;
}
@media (max-width: 900px) {
  .cro-social-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 24px; }
  .cro-social-stat { border-left: none; border-top: 1px solid var(--hp-border); padding-top: 24px; }
}

/* ── Process section ── */
.cro-process {
  padding: 128px 0;
  background: var(--hp-bg);
  border-top: 1px solid var(--hp-border);
}
.cro-process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px;
  border: 1px solid var(--hp-border); border-radius: 18px;
  overflow: hidden; background: var(--hp-surface);
}
.cro-process-step {
  padding: 40px 36px;
  border-right: 1px solid var(--hp-border);
  position: relative;
  transition: background .25s;
}
.cro-process-step:last-child { border-right: none; }
.cro-process-step:hover { background: var(--hp-bg); }
.cro-process-num {
  font-family: var(--hp-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--hp-muted);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.cro-process-num::before {
  content: ''; width: 18px; height: 1px;
  background: var(--hp-subtle);
}
.cro-process-title {
  font-family: var(--hp-sans);
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hp-text); margin-bottom: 10px;
}
.cro-process-desc {
  font-family: var(--hp-sans);
  font-size: 14px; line-height: 1.7;
  color: var(--hp-muted); margin-bottom: 18px;
}
.cro-process-time {
  display: inline-block;
  font-family: var(--hp-sans);
  font-size: 11px; font-weight: 600;
  color: var(--hp-text);
  background: rgba(92,106,255,0.08);
  border: 1px solid rgba(92,106,255,0.18);
  padding: 4px 10px; border-radius: 100px;
}
@media (max-width: 768px) {
  .cro-process-grid { grid-template-columns: 1fr; }
  .cro-process-step { border-right: none; border-bottom: 1px solid var(--hp-border); }
  .cro-process-step:last-child { border-bottom: none; }
}

/* ── Pricing band ── */
.cro-pricing-band {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 36px 40px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; gap: 32px;
}
.cro-pricing-band h4 {
  font-family: var(--hp-sans);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hp-text); margin-bottom: 6px;
}
.cro-pricing-band p {
  font-family: var(--hp-sans);
  font-size: 14px; color: var(--hp-muted); line-height: 1.6;
}
.cro-pricing-band p strong { color: var(--hp-text); font-weight: 600; }
.cro-pricing-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hp-text); color: #fff;
  font-family: var(--hp-sans);
  font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: 100px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.cro-pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}
@media (max-width: 700px) {
  .cro-pricing-band { grid-template-columns: 1fr; padding: 28px; }
}

/* ── FAQ ── */
.cro-faq { padding: 128px 0; background: var(--hp-bg); border-top: 1px solid var(--hp-border); }
.cro-faq-list { max-width: 780px; margin-top: 48px; }
.cro-faq-item { border-bottom: 1px solid var(--hp-border); padding: 22px 0; }
.cro-faq-q {
  font-family: var(--hp-sans);
  font-size: 17px; font-weight: 600;
  color: var(--hp-text); letter-spacing: -0.015em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; gap: 24px;
  transition: color .2s;
}
.cro-faq-q::-webkit-details-marker { display: none; }
.cro-faq-q::after {
  content: '+'; font-size: 22px; font-weight: 300;
  color: var(--hp-muted); transition: transform .3s; flex-shrink: 0;
}
details[open] .cro-faq-q::after { transform: rotate(45deg); }
.cro-faq-a {
  font-family: var(--hp-sans);
  font-size: 14.5px; line-height: 1.75;
  color: #6B6B68; padding-top: 14px; max-width: 680px;
}

/* ── Form qualifier fields ── */
.hp-form-grid-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .hp-form-grid-3 { grid-template-columns: 1fr; } }
select.hp-form-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8A87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
select.hp-form-input option { background: var(--hp-surface); color: var(--hp-text); }

/* ── Form promise ── */
.cro-form-promise {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-family: var(--hp-sans);
  font-size: 13px; color: var(--hp-muted); justify-content: center;
}
.cro-form-promise-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; animation: pulseDot 1.8s infinite; flex-shrink: 0;
}
.cro-form-promise strong { color: var(--hp-text); font-weight: 600; }

/* ── Floating book button (FAB) ── */
.cro-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--hp-black); color: #fff;
  font-family: var(--hp-sans);
  font-size: 14px; font-weight: 600;
  padding: 14px 22px; border-radius: 100px;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s, transform .35s, box-shadow .25s;
  text-decoration: none;
}
.cro-fab.visible { opacity: 1; transform: none; pointer-events: auto; }
.cro-fab:hover { box-shadow: 0 18px 44px rgba(0,0,0,0.25); transform: translateY(-2px); }
@media (max-width: 480px) {
  .cro-fab { bottom: 16px; right: 16px; font-size: 13px; padding: 12px 18px; }
}

/* ── Cursor dot ── */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hp-text);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s;
  mix-blend-mode: difference;
}
.cursor-dot.visible { opacity: 1; }

/* ── Hero inner padding tweak (accounts for nav) ── */
.hp-hero-inner { padding-top: calc(72px + 60px); }
