/* ==========================================================================
   Webi — Design System & Site Styles
   Premium minimal: off-white paper, near-black ink, one burnt-orange accent.
   Display: Fraunces. Body: Inter. Motion via Lenis + GSAP (see js/main.js).
   ========================================================================== */

/* Self-hosted variable fonts */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-var.woff2') format('woff2');
}

:root {
  /* Palette — restrained neutrals + one accent */
  --paper: #faf9f7;
  --paper-2: #f3f1ec;
  --ink: #141412;
  --ink-2: #1d1d1a;
  --ink-soft: #55524b;
  --ink-muted: #8a867d;
  --line: #e7e4dd;
  --line-dark: rgba(250, 249, 247, 0.14);
  --accent: #e8590c;
  --accent-deep: #c2410c;
  --accent-tint: #fbeee4;
  --success: #1a7f4f;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.35rem, 2.2vw, 1.75rem);
  --text-2xl: clamp(1.9rem, 3.4vw, 2.75rem);
  --text-3xl: clamp(2.4rem, 4.6vw, 3.9rem);
  --text-hero: clamp(2.9rem, 7.2vw, 6rem);

  /* Vertical rhythm */
  --section-pad: clamp(100px, 11vw, 160px);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;

  /* Radii & shadows — subtle, soft, understated */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 100px;
  --shadow-xs: 0 1px 2px rgba(20, 20, 18, 0.04);
  --shadow-sm: 0 2px 8px rgba(20, 20, 18, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 20, 18, 0.09);
  --shadow-lg: 0 24px 64px rgba(20, 20, 18, 0.13);

  --wrap: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   Scroll progress — hairline accent bar above the nav, driven by JS
   -------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 300;
  background: var(--accent); pointer-events: none;
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Anchor jumps land clear of the fixed nav */
section[id], [id="top"] { scroll-margin-top: 80px; }

/* --------------------------------------------------------------------------
   Navigation — large & transparent over hero, shrinks + blurs on scroll,
   hides on scroll-down / returns on scroll-up
   -------------------------------------------------------------------------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 5%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease-out), background 0.35s, border-color 0.35s,
              transform 0.4s var(--ease-out), backdrop-filter 0.35s;
}
nav.is-scrolled {
  padding: 0.8rem 5%;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav.is-hidden { transform: translateY(-105%); }
.nav-logo-wrap { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out); }
nav.is-scrolled .nav-logo-icon { width: 28px; height: 28px; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); transition: font-size 0.35s var(--ease-out); }
nav.is-scrolled .nav-logo-text { font-size: 1.25rem; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: var(--text-sm); font-weight: 500;
  padding: 0.45rem 0.85rem; border-radius: var(--radius-pill); transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  background: var(--ink) !important; color: var(--paper) !important;
  padding: 0.6rem 1.4rem !important; border-radius: var(--radius-pill) !important;
  font-weight: 600 !important; margin-left: 0.75rem;
  transition: background 0.25s, transform 0.25s !important;
}
.nav-cta:hover { background: var(--accent) !important; }

.nav-toggle {
  display: none; background: none; border: none; width: 42px; height: 42px;
  border-radius: var(--radius-pill); cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Shared components
   -------------------------------------------------------------------------- */
section { padding: var(--section-pad) 5%; position: relative; }
.wrap { max-width: var(--wrap); margin: 0 auto; }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: var(--space-3); color: var(--ink-muted);
}
.section-tag::before { content: ''; width: 22px; height: 1.5px; background: var(--accent); }
.section-head.centered .section-tag::after { content: ''; width: 22px; height: 1.5px; background: var(--accent); }
.section-title {
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--space-3); color: var(--ink);
}
.section-sub { color: var(--ink-soft); font-size: var(--text-base); max-width: 520px; line-height: 1.7; }
.section-head.centered .section-sub { margin: 0 auto; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.1rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; border: none;
  cursor: pointer; font-family: var(--font-body);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); box-shadow: var(--shadow-md); }
.btn-primary .btn-arrow { display: inline-block; transition: transform 0.25s var(--ease-out); }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-on-dark { background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: var(--accent); color: #fff; }

/* Split-text line masking (applied only after JS splits) */
.split-ready .line { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(140px, 18vh, 200px) 5% var(--space-7); text-align: center;
}
.hero-eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4);
}
.hero h1 {
  font-family: var(--font-display); font-size: var(--text-hero); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.04; color: var(--ink);
  max-width: 15ch; margin: 0 auto var(--space-4);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: var(--text-lg); color: var(--ink-soft); max-width: 520px; margin: 0 auto var(--space-5); line-height: 1.7; }
.hero-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; align-items: center; margin-bottom: var(--space-4); }
.hero-trust { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: var(--space-7); }
.hero-trust .stars { color: var(--accent); letter-spacing: 0.12em; font-size: 0.85rem; }

.hero-visual { width: min(940px, 100%); margin: 0 auto; }
.browser-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: #d6d2c9; }
.browser-url {
  flex: 1; max-width: 320px; margin: 0 auto; background: #fff; border-radius: 6px;
  font-size: 0.7rem; color: var(--ink-muted); padding: 0.2rem 0.75rem; text-align: center;
  border: 1px solid var(--line);
}
.browser-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero-visual .browser-frame img { will-change: transform; }

/* --------------------------------------------------------------------------
   Client marquee
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: var(--space-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: var(--paper);
}
.marquee-label { text-align: center; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4); font-weight: 600; }
.marquee-track {
  display: flex; gap: clamp(3rem, 6vw, 5.5rem); width: max-content;
  animation: marquee 30s linear infinite; white-space: nowrap;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500;
  color: var(--ink-muted); opacity: 0.55; transition: opacity 0.25s, color 0.25s;
  display: inline-flex; align-items: center; gap: clamp(3rem, 6vw, 5.5rem);
}
.marquee-item::after { content: '·'; color: var(--accent); opacity: 0.7; }
.marquee-item:hover { opacity: 1; color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Our Work — wall grid, zoom-on-hover, overlay slides up
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.work-card { text-decoration: none; display: block; }
.work-thumb {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s;
}
.work-card:hover .work-thumb { box-shadow: var(--shadow-md); }
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.7s var(--ease-out); will-change: transform;
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(20, 20, 18, 0.82), rgba(20, 20, 18, 0));
  color: #fff; font-weight: 600; font-size: var(--text-sm);
  transform: translateY(101%); transition: transform 0.45s var(--ease-out);
}
.work-card:hover .work-overlay, .work-card:focus-visible .work-overlay { transform: none; }
.work-overlay .arrow { color: #fff; }
.work-thumb-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(20, 20, 18, 0.025) 14px, rgba(20, 20, 18, 0.025) 28px), var(--paper-2);
  border-radius: var(--radius);
  color: var(--ink-muted); font-size: 0.8rem; font-weight: 600;
}
.work-thumb-placeholder .ph-icon { font-size: 1.6rem; opacity: 0.7; }
.work-meta { padding: 1.1rem 0.25rem 0; }
.work-type { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.work-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; color: var(--ink); margin: 0.25rem 0 0.2rem; }
.work-desc { font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */
#services { background: var(--paper-2); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  display: flex; flex-direction: column; min-height: 230px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-num { font-family: var(--font-display); font-size: var(--text-sm); color: var(--accent-deep); margin-bottom: var(--space-4); }
.service-card h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.service-card p { font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.65; flex: 1; }
.service-arrow {
  margin-top: var(--space-4); color: var(--ink); font-weight: 600; font-size: var(--text-sm);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.service-card:hover .service-arrow { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Process — sticky number column + scrolling step cards
   -------------------------------------------------------------------------- */
.process-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-7); align-items: start; }
.process-sticky { position: sticky; top: 120px; }
.process-sticky .section-head { margin-bottom: var(--space-5); }
.process-current-num {
  font-family: var(--font-display); font-size: clamp(5rem, 10vw, 8.5rem); font-weight: 400;
  line-height: 1; color: var(--accent); letter-spacing: -0.03em;
}
.process-current-name { font-family: var(--font-display); font-size: var(--text-xl); margin-top: 0.5rem; color: var(--ink); min-height: 1.4em; }
.process-steps { display: flex; flex-direction: column; gap: var(--space-4); }
.process-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-xs);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.process-step.is-active { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.process-step-num { font-family: var(--font-display); font-size: var(--text-sm); color: var(--accent-deep); margin-bottom: 0.75rem; }
.process-step h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 0.5rem; }
.process-step p { font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.7; }

/* --------------------------------------------------------------------------
   Stats band — dark contrast, count-up numbers
   -------------------------------------------------------------------------- */
#stats { background: var(--ink); color: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); max-width: var(--wrap); margin: 0 auto; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--paper);
  font-variant-numeric: tabular-nums; /* digits keep one width so the count-up doesn't wobble */
}
.stat-num .stat-accent { color: var(--accent); }
.stat-label { font-size: var(--text-xs); font-weight: 500; color: rgba(250, 249, 247, 0.55); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 0.6rem; }

/* --------------------------------------------------------------------------
   About — editorial split (image left / text right)
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; }
.about-visual .browser-frame { box-shadow: var(--shadow-md); }
.about-text .section-head { margin-bottom: var(--space-4); }
.about-text p { color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.75; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-points { list-style: none; margin-top: var(--space-4); }
.about-points li {
  display: flex; gap: 0.85rem; align-items: baseline;
  padding: 0.85rem 0; border-top: 1px solid var(--line);
  font-size: var(--text-sm); color: var(--ink-soft);
}
.about-points li strong { color: var(--ink); font-weight: 600; }
.about-points .tick { color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------------------------
   Pricing — minimal columns, Pro inverted
   -------------------------------------------------------------------------- */
#pricing { background: var(--paper-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; max-width: var(--wrap); margin: 0 auto; }
.pricing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.5rem; position: relative; display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs); transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pricing-badge {
  position: absolute; top: -13px; left: 2.5rem;
  background: var(--accent); color: #fff; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 1rem;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.pricing-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 0.4rem; }
.pricing-desc { color: var(--ink-soft); font-size: var(--text-sm); margin-bottom: var(--space-4); line-height: 1.5; }
.featured .pricing-desc { color: rgba(250, 249, 247, 0.7); }
.pricing-price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.3rem; }
.pricing-price sup { font-size: 1.3rem; vertical-align: top; margin-top: 0.55rem; display: inline-block; color: var(--ink-muted); }
.featured .pricing-price sup { color: rgba(250, 249, 247, 0.6); }
.pricing-billing { color: var(--ink-muted); font-size: 0.8rem; margin-bottom: var(--space-5); }
.featured .pricing-billing { color: rgba(250, 249, 247, 0.55); }
.pricing-features { list-style: none; margin-bottom: var(--space-5); flex: 1; }
.pricing-features li {
  display: flex; align-items: center; gap: 0.7rem; color: var(--ink-soft);
  font-size: var(--text-sm); padding: 0.55rem 0; border-bottom: 1px solid var(--line);
}
.featured .pricing-features li { color: rgba(250, 249, 247, 0.85); border-color: var(--line-dark); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-features li.dim { opacity: 0.4; }
.pricing-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem;
  text-align: center; padding: 0.95rem; border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 600; text-decoration: none; margin-top: auto;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pricing-btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.pricing-btn-outline:hover { border-color: var(--ink); }
.pricing-btn-filled { background: var(--accent); color: #fff; border: none; }
.pricing-btn-filled:hover { background: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Testimonials — auto-advancing slider
   -------------------------------------------------------------------------- */
.testimonial-slider { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease-out); }
.testimonial-slide { flex: 0 0 100%; padding: 0 var(--space-3); }
.testimonial-quote {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 400;
  line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin-bottom: var(--space-5);
}
.testimonial-quote em { font-style: italic; color: var(--accent-deep); }
.t-author { display: inline-flex; align-items: center; gap: 0.85rem; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700;
  color: #fff; background: var(--ink);
}
.t-avatar.av-2 { background: var(--accent-deep); }
.t-avatar.av-3 { background: #6d6a63; }
.t-name { font-weight: 600; font-size: var(--text-sm); text-align: left; }
.t-role { color: var(--ink-muted); font-size: 0.78rem; text-align: left; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-6); }
.slider-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.slider-arrow:hover { border-color: var(--ink); background: #fff; }
.slider-dots { display: flex; gap: 0.6rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.slider-dot.is-active { background: var(--accent); transform: scale(1.3); }

/* --------------------------------------------------------------------------
   FAQ — measured-height accordion
   -------------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 1.5rem 0.25rem; background: transparent; border: none;
  cursor: pointer; font-family: var(--font-body); font-size: var(--text-lg); font-weight: 500;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-icon {
  font-size: 1.3rem; color: var(--accent); flex-shrink: 0; font-weight: 400;
  transition: transform 0.35s var(--ease-out); line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { height: 0; overflow: hidden; transition: height 0.4s var(--ease-out); }
.faq-a-inner { padding: 0 0.25rem 1.5rem; color: var(--ink-soft); font-size: var(--text-base); line-height: 1.7; max-width: 640px; }

/* --------------------------------------------------------------------------
   CTA band — dark, high-contrast, subtle drifting glow
   -------------------------------------------------------------------------- */
#cta-band { background: var(--ink); color: var(--paper); text-align: center; overflow: hidden; position: relative; }
.cta-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 89, 12, 0.16), transparent 65%);
  top: -300px; left: 50%; pointer-events: none; will-change: transform;
  animation: ctaDrift 16s ease-in-out infinite alternate;
}
@keyframes ctaDrift { from { transform: translateX(-80%); } to { transform: translateX(-20%); } }
.cta-inner { position: relative; }
.cta-title {
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.1; max-width: 16ch; margin: 0 auto var(--space-3);
}
.cta-title em { font-style: italic; color: var(--accent); }
.cta-sub { color: rgba(250, 249, 247, 0.65); max-width: 460px; margin: 0 auto var(--space-6); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-7); align-items: start; max-width: var(--wrap); margin: 0 auto; }
.contact-info .section-head { margin-bottom: var(--space-4); }
.contact-info > p { color: var(--ink-soft); margin-bottom: var(--space-5); line-height: 1.75; }
.contact-detail {
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.4rem;
  color: var(--ink-soft); font-size: var(--text-sm); text-decoration: none;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line); transition: color 0.25s;
}
a.contact-detail:hover { color: var(--ink); }
.contact-detail-icon { color: var(--accent-deep); font-size: 0.95rem; width: 22px; }
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.form { display: flex; flex-direction: column; gap: var(--space-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: var(--text-xs); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-sm); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s; -webkit-appearance: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 18, 0.06); background: #fff;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-muted); }
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid { border-color: #c53030; }
.form-error { font-size: var(--text-xs); color: #c53030; font-weight: 600; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group textarea { resize: vertical; min-height: 110px; }
/* Honeypot — hidden from humans, present for bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-submit { justify-content: center; width: 100%; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; }
.form-status.success { display: block; background: #ecf7f0; color: var(--success); border: 1px solid #bfe3cd; }
.form-status.error { display: block; background: #fdf0ef; color: #c53030; border: 1px solid #f3cbc7; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: var(--space-7) 5% var(--space-5); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
.footer-brand p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.7; margin-top: 0.75rem; max-width: 250px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-logo-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 6px; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.footer-col h4 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: var(--text-sm); margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--ink-muted); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: var(--space-4); }
.footer-bottom-links a { color: var(--ink-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal-page { max-width: 720px; margin: 0 auto; padding: 11rem 5% 6rem; }
.legal-page h1 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.legal-updated { color: var(--ink-muted); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.legal-page h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin: var(--space-5) 0 var(--space-2); }
.legal-page p, .legal-page li { color: var(--ink-soft); line-height: 1.75; margin-bottom: var(--space-2); }
.legal-page ul { padding-left: 1.25rem; }
.legal-page a { color: var(--accent-deep); font-weight: 600; }
.legal-back { display: inline-block; margin-top: var(--space-5); text-decoration: none; font-weight: 600; color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card.featured { order: -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); }
  .process-layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .process-sticky { position: static; }
  .process-current { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(72px, 14vw, 100px); }
  nav { padding: 1rem 5%; }
  nav.is-scrolled { padding: 0.7rem 5%; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 0.75rem 5% 1.25rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: block; text-align: center; padding: 0.8rem; }
  .nav-cta { margin: 0.25rem 0 0; }

  .hero { padding-top: 120px; min-height: auto; }
  .hero-trust { margin-bottom: var(--space-6); }
  .work-grid, .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .footer-bottom { justify-content: center; text-align: center; }
  .testimonial-quote { font-size: var(--text-xl); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Reduced motion — strip transforms, opacity-only, no smooth scroll
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; transform: none; }
  .cta-glow { animation: none; }
  .work-card:hover .work-thumb img { transform: none; }
  .service-card:hover, .pricing-card:hover { transform: none; }
  .work-overlay { transform: none; background: rgba(20, 20, 18, 0.75); }
}
