/* ============================================================
   WEBSTALLION CO — STYLESHEET
   Dark, Apple-inspired, conversion-focused
   ============================================================ */

/* ============================================================
   0. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  /* Grain texture via SVG data URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  transition: background-color 0.25s ease, color 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Logo images */
.logo-img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* Accessible focus indicator — never remove without replacing */
:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #09090b;
  --surface:     #18181b;
  --border:      #27272a;
  --accent:      #3b82f6;
  --accent-glow: #3b82f640;
  --text:        #fafafa;
  --text-sec:    #a1a1aa;
  --text-muted:  #71717a;

  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-card: 18px;
  --radius-btn:  980px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    ease-out;

  --section-gap: 88px;
  --container:   1120px;

  /* Derived tokens for components */
  --bg-blur:     rgba(9, 9, 11, 0.8);
  --overlay:     rgba(9, 9, 11, 0.7);
  --surface-deep:#111113;
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] {
  --bg:          #f8f8fa;
  --surface:     #ffffff;
  --border:      #e4e4e7;
  --accent:      #2563eb;
  --accent-glow: #2563eb40;
  --text:        #09090b;
  --text-sec:    #3f3f46;
  --text-muted:  #71717a;

  --bg-blur:     rgba(248, 248, 250, 0.85);
  --overlay:     rgba(9, 9, 11, 0.5);
  --surface-deep:#f1f1f3;
}

/* ============================================================
   2. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-gap);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.section__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.section__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

.section__subtext {
  font-size: 1.0625rem;
  color: var(--text-sec);
  text-align: center;
}

/* Inside cards, section headings are left-aligned (case study, content cards) */
.card .section__eyebrow,
.card .section__headline,
.card .section__subtext {
  text-align: left;
}

/* CTA blocks and page-hero: restore center alignment */
.cta-block .section__eyebrow,
.cta-block .section__headline,
.cta-block .section__subtext,
[style*="text-align: center"] .section__eyebrow,
[style*="text-align: center"] .section__headline,
[style*="text-align: center"] .section__subtext,
[style*="text-align:center"] .section__eyebrow,
[style*="text-align:center"] .section__headline,
[style*="text-align:center"] .section__subtext {
  text-align: center;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.3s ease, color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.btn:hover {
  transform: scale(1.02);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  margin-top: auto;
}

.btn--cta {
  padding: 16px 48px;
  font-size: 1.0625rem;
}

/* ============================================================
   4. CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease-spring),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px #3b82f615;
  border-color: rgba(59, 130, 246, 0.3);
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 18px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: var(--bg-blur);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9375rem;
  color: var(--text-sec);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease-spring);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-dropdown__trigger[aria-current="true"]::after {
  width: 100%;
}

.navbar__cta {
  margin-left: 16px;
  padding: 9px 20px;
  font-size: 0.875rem;
}

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9375rem;
  color: var(--text-sec);
  cursor: pointer;
  transition: color 0.2s ease;
  padding-bottom: 2px;
  position: relative;
}

.nav-dropdown__trigger::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease-spring);
}

.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown__trigger[aria-expanded="true"] {
  color: var(--text);
}

.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown__trigger[aria-expanded="true"]::after {
  width: 100%;
}

.nav-dropdown__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 190px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  z-index: 200;
}

/* Dropdown opens only when trigger is aria-expanded (JS click-driven) */
.nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
  display: block;
  padding: 9px 13px;
  font-size: 0.875rem;
  color: var(--text-sec);
  border-radius: 7px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown__item:hover {
  background: var(--border);
  color: var(--text);
}

.nav-dropdown__item--all {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 10px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
}

.nav-dropdown__item--all:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

/* Mobile dropdown groups */
.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-sec);
  padding: 12px 0;
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateX(20px);
  border-bottom: none;
}

.mobile-nav-trigger:hover {
  color: var(--text);
}

.mobile-menu.open .mobile-nav-trigger {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-trigger[aria-expanded="true"] .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}

.mobile-nav-submenu.open {
  grid-template-rows: 1fr;
}

.mobile-nav-submenu__inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
}

.mobile-nav-sublink {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-sublink:hover {
  color: var(--text);
  border-color: var(--accent);
}

.mobile-nav-sublink--all {
  color: var(--accent);
  font-size: 0.875rem;
  margin-top: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-sec);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  /* no display:block here — it would override icon-moon's display:none */
  transition: opacity 0.15s ease, transform 0.25s ease;
}

/* Sun/moon visibility — use higher specificity to beat global img,svg rule */
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }

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

/* Logo variants: white for dark, black for light */
.logo-dark { display: block; }
.logo-light { display: none; }

[data-theme="light"] .logo-dark  { display: none;  }
[data-theme="light"] .logo-light { display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.mobile-menu.open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-spring);
}

.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-sec);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  display: block;
}

.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger: groups count as child(1) and child(3) in the nav */
.mobile-menu__nav > :nth-child(1) .mobile-nav-link,
.mobile-menu__nav > :nth-child(1).mobile-nav-link { transition-delay: 0.05s; }
.mobile-menu__nav > :nth-child(2).mobile-nav-link  { transition-delay: 0.10s; }
.mobile-menu__nav > :nth-child(3) .mobile-nav-link,
.mobile-menu__nav > :nth-child(3).mobile-nav-link { transition-delay: 0.15s; }
.mobile-menu__nav > :nth-child(4).mobile-nav-link  { transition-delay: 0.20s; }
.mobile-menu__nav > :nth-child(5).mobile-nav-link  { transition-delay: 0.25s; }

.mobile-nav-link:hover {
  color: var(--text);
}

.mobile-nav-cta {
  margin-top: 24px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease 0.28s, transform 0.3s var(--ease-spring) 0.28s, background 0.2s, box-shadow 0.2s, scale 0.2s;
}

.mobile-menu.open .mobile-nav-cta {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   6. NAVBAR LOAD ANIMATION
   ============================================================ */
.navbar {
  opacity: 0;
  transform: translateY(-20px);
  animation: navbarReveal 0.3s var(--ease-out) 0.1s forwards;
}

@keyframes navbarReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero__cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 56px;
}

/* Hero headline — word mask reveal */
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
  max-width: 14ch;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

/* Small gap between words */
.word-wrap + .word-wrap {
  margin-left: 0.25em;
}

.word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

/* Animate words in sequence on load */
.hero__headline .word-wrap:nth-child(1) .word { animation: wordReveal 0.6s var(--ease-spring) 0.3s forwards; }
.hero__headline .word-wrap:nth-child(2) .word { animation: wordReveal 0.6s var(--ease-spring) 0.45s forwards; }
.hero__headline .word-wrap:nth-child(3) .word { animation: wordReveal 0.6s var(--ease-spring) 0.6s forwards; }
.hero__headline .word-wrap:nth-child(4) .word { animation: wordReveal 0.6s var(--ease-spring) 0.75s forwards; }

@keyframes wordReveal {
  to { transform: translateY(0); opacity: 1; }
}

/* Gradient text on "customers." */
.word--gradient {
  background: linear-gradient(90deg, var(--accent) 0%, #93c5fd 60%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero subtext */
.hero__subtext {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-sec);
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s var(--ease-out) 1.05s forwards;
}

/* Hero buttons */
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  animation: fadeUpScale 0.4s var(--ease-out) 1.25s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpScale {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: scrollPulse 2s ease-in-out 1.5s infinite;
  opacity: 0;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(8px); }
}

/* Blue accent line */
.hero__accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  animation: lineDraw 1s var(--ease-spring) 1.4s forwards;
  z-index: 2;
}

@keyframes lineDraw {
  to { width: 100%; }
}

/* ============================================================
   8. PILLARS
   ============================================================ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-card__title {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--text);
}

.pillar-card__text {
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ============================================================
   9. SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

/* Steps grid (how-it-works) */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Step cards (how-it-works) */
.step-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  overflow: visible;
}

.step-card__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 0.5rem;
  line-height: 1;
}

.step-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.step-card__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-sec);
  margin: 0;
  flex: 1;
}

.step-card__timeline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.service-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  border-radius: 20px;
}

.service-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px #3b82f610;
}

.service-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px #3b82f618;
}

.service-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 980px;
  white-space: nowrap;
}

.service-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--text);
}

.service-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.service-card__bullets li {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-sec);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.price-market {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-market::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.price-market strong {
  color: var(--text-sec);
  font-weight: 600;
}

.service-card__delivery {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

/* Founding offer banner */
.founding-banner {
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--surface-deep);
  overflow: hidden;
}

.founding-banner__inner {
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.founding-banner__text {
  flex: 1;
  min-width: 240px;
}

.founding-banner__headline {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.founding-banner__body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-sec);
  line-height: 1.65;
}

.founding-banner__spots {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

/* Extras row */
.services__extras {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   10. ADD-ON SERVICES
   ============================================================ */
.addons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f630;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 16px #3b82f610;
}

.addon-card__header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.addon-card__name {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.addon-card__price {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.addon-card__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 980px;
  white-space: nowrap;
  align-self: flex-start;
}

.addon-card__desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-sec);
  line-height: 1.6;
  flex: 1;
}

/* ============================================================
   INDUSTRY PAGE COMPONENTS
   ============================================================ */

/* Proof/stats bar */
.proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 2rem;
  text-align: center;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.proof-stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.proof-stat__label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-sec);
}

/* Feature/solution cards (industry pages) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f630;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 16px #3b82f610;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.feature-card__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.feature-card__desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin: 0;
}

/* Industry hub cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f630;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 16px #3b82f610;
}

.industry-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.industry-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.industry-card__icon svg {
  width: 22px;
  height: 22px;
}

.industry-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.industry-card__keyword {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}

.industry-card__desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.industry-card__arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* Pricing cards (industry pages) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 12%, transparent);
}

.pricing-card__tier {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sec);
  margin: 0 0 0.5rem;
}

.pricing-card--featured .pricing-card__tier {
  color: var(--accent);
}

.pricing-card__price {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  color: var(--text);
  margin: 0;
  line-height: 1;
}

.pricing-card__scope {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-sec);
  margin: 0.25rem 0 0;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-card__features li {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-sec);
}

/* Process steps (industry pages) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.process-card__number {
  font-family: var(--font-sans);
  font-size: 2rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
  line-height: 1;
}

.process-card__title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.process-card__desc {
  font-family: var(--font-sans);
  color: var(--text-sec);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   10b. INDUSTRIES
   ============================================================ */
.industries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text-sec);
  transition: color 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease,
              transform 0.25s var(--ease-spring);
  cursor: default;
}

.industry-chip:hover {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.06);
  transform: translateY(-2px);
}

.industry-chip__icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.8;
}

/* ============================================================
   10b. PORTFOLIO TEASER
   ============================================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.folio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* CSS-only "browser window" preview */
.folio-card__preview {
  position: relative;
  padding: 12px 12px 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}

.folio-card__preview--trades {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}

.folio-card__preview--hospitality {
  background: linear-gradient(135deg, #1a0f0a 0%, #2d1a10 100%);
}

.folio-card__preview--professional {
  background: linear-gradient(135deg, #0c111f 0%, #131e35 100%);
}

.folio-card__browser {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.folio-card__browser span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.folio-card__browser span:nth-child(1) { background: #ef4444; opacity: 0.6; }
.folio-card__browser span:nth-child(2) { background: #f59e0b; opacity: 0.6; }
.folio-card__browser span:nth-child(3) { background: #22c55e; opacity: 0.6; }

.folio-card__screen {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  height: 160px;
  display: flex;
  flex-direction: column;
}

/* Simulated hero area */
.folio-card__mock-hero {
  flex: 1;
  border-radius: 6px 6px 0 0;
}

.folio-card__preview--trades .folio-card__mock-hero {
  background: linear-gradient(160deg, #f97316 0%, #c2410c 60%, #78350f 100%);
  opacity: 0.25;
}

.folio-card__preview--hospitality .folio-card__mock-hero {
  background: linear-gradient(160deg, #fb923c 0%, #e11d48 60%, #9f1239 100%);
  opacity: 0.25;
}

.folio-card__preview--professional .folio-card__mock-hero {
  background: linear-gradient(160deg, #3b82f6 0%, #1d4ed8 60%, #1e3a8a 100%);
  opacity: 0.35;
}

/* Simulated text lines */
.folio-card__mock-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 0;
  background: rgba(255,255,255,0.03);
}

.folio-card__mock-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}

.folio-card__mock-lines span:nth-child(1) { width: 70%; }
.folio-card__mock-lines span:nth-child(2) { width: 90%; }
.folio-card__mock-lines span:nth-child(3) { width: 55%; }

/* Card content */
.folio-card__content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.folio-card__tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.folio-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.35;
}

.folio-card__text {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.portfolio__cta {
  text-align: center;
}

/* ============================================================
   11. TRUST / STATS
   ============================================================ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.stat {
  padding: 32px 16px;
}

.stat__number {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__number--text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--accent);
}

.stat__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   11. PROCESS — SNAKE LAYOUT
   ============================================================ */

/* 5-column grid: card | arrow | card | arrow | card */
.snake-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  grid-template-rows: auto 64px auto;
  align-items: stretch;
  row-gap: 16px;
}

/* ── Bend: explicitly placed at col 5, row 2 ── */
.snake-grid > :nth-child(6)  { grid-column: 5; grid-row: 2; }

/* ── Row 2: steps 4,5,6 placed right→left (col 5,4,3,2,1) ── */
.snake-grid > :nth-child(7)  { grid-column: 5; grid-row: 3; } /* step 4 */
.snake-grid > :nth-child(8)  { grid-column: 4; grid-row: 3; } /* arrow ← */
.snake-grid > :nth-child(9)  { grid-column: 3; grid-row: 3; } /* step 5 */
.snake-grid > :nth-child(10) { grid-column: 2; grid-row: 3; } /* arrow ← */
.snake-grid > :nth-child(11) { grid-column: 1; grid-row: 3; } /* step 6 */

/* Step cards */
.snake-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.snake-card__num {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.75;
}

.snake-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.3;
}

.snake-card__text {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.65;
  flex: 1;
}

/* Arrow connectors */
.snake-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--accent);
  opacity: 0.5;
}

/* Bend connector — centered in its cell, aligns with col 5 */
.snake-bend {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  color: var(--accent);
  opacity: 0.5;
}

/* ============================================================
   12. CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
}

.cta-section__card {
  position: relative;
  overflow: hidden;
  padding: 80px 48px;
}

.cta-section__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.05); }
}

.cta-section__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-section__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.15;
  max-width: 16ch;
}

.cta-section__subtext {
  font-size: 1.0625rem;
  color: var(--text-sec);
  max-width: 380px;
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer__logo .logo-img {
  height: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__desc {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-sec);
  margin: 0;
}

/* Multi-column link grid */
.footer__cols {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 4px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  text-decoration: none;
  display: block;
}

.footer-link:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   14. INCLUDED IN EVERY BUILD
   ============================================================ */
.includes {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.includes__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.includes__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.include-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 980px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-sec);
}

.include-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card__quote {
  font-family: var(--font-sans);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: -12px;
}

.testimonial-card__text {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.testimonial-card__author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.testimonial-card__role {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   16. FAQ
   ============================================================ */
.faq__list {
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

/* Remove default triangle in all browsers */
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; }

/* +/- indicator */
.faq__question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  line-height: 1;
}

details[open] > .faq__question::after {
  transform: rotate(45deg);
}

details[open] > .faq__question {
  color: var(--accent);
}

.faq__answer {
  padding-bottom: 22px;
}

.faq__answer p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ============================================================
   17. SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Default: fade up */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  transition-delay: calc(var(--stagger, 0) * 0.1s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  transition-delay: calc(var(--stagger, 0) * 0.15s);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  transition-delay: calc(var(--stagger, 0) * 0.15s);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   14b. HERO SOCIAL PROOF
   ============================================================ */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.hero__stars svg {
  width: 16px;
  height: 16px;
}

/* Star rating inside cards (testimonials etc.) */
.star-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.hero__social-text {
  font-size: 0.875rem;
  color: var(--text-sec);
}

.hero__social-text strong {
  color: var(--text);
}

/* ============================================================
   14c. STAT SUB-LABEL
   ============================================================ */
.stat__sublabel {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: 0.75;
}

/* ============================================================
   14d. GUARANTEE STRIP
   ============================================================ */
.guarantee {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guarantee__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-block: 36px;
  flex-wrap: wrap;
}

.guarantee__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guarantee__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.guarantee__icon svg {
  width: 20px;
  height: 20px;
}

.guarantee__text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
}

.guarantee__text span {
  font-size: 0.8125rem;
  color: var(--text-sec);
}

/* ============================================================
   14e. CONTACT FORM
   ============================================================ */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  width: 100%;
  max-width: 560px;
  text-align: left;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.8125rem;
  color: var(--text-sec);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 10px 14px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form select option {
  background: var(--surface);
  color: var(--text);
}

/* ============================================================
   14f. MOBILE STICKY CTA
   ============================================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--bg-blur);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.mobile-sticky-cta a {
  display: block;
  text-align: center;
}

/* ============================================================
   14g. PORTFOLIO COMING SOON
   ============================================================ */
.portfolio-soon {
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 48px;
}

.portfolio-soon__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 980px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.portfolio-soon__title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
}

.portfolio-soon__text {
  font-size: 1rem;
  color: var(--text-sec);
  max-width: 400px;
  margin-inline: auto;
}

/* ============================================================
   14h. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--section-gap) + 88px);
  padding-bottom: var(--section-gap);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.page-hero__text {
  font-size: 1.125rem;
  color: var(--text-sec);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  justify-content: center;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb__sep {
  color: var(--border);
}

/* ============================================================
   15. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .word {
    opacity: 1;
    transform: none;
  }

  .hero__subtext,
  .hero__actions {
    opacity: 1;
    transform: none;
  }

  .hero__scroll-indicator {
    opacity: 0.5;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  :root {
    --section-gap: 68px;
  }

  .navbar__nav,
  .navbar__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .addons__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Snake collapses to vertical list on tablet/mobile */
  .snake-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .snake-arrow,
  .snake-bend {
    display: none;
  }

  .snake-card {
    height: auto;
  }

  .pillars__grid,
  .steps__grid,
  .services__grid,
  .portfolio__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__line {
    display: none;
  }

  .process__step--left,
  .process__step--right {
    padding: 0;
    justify-content: center;
  }

  .process__card {
    max-width: 480px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-gap: 52px;
  }

  .hero__headline {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    letter-spacing: -1.5px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .addons__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section__card {
    padding: 56px 28px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .pillar-card {
    padding: 28px 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .guarantee__inner {
    gap: 24px;
  }
}

/* ============================================================
   17. WORK / PORTFOLIO PAGE
   ============================================================ */

/* Guarantee strip bar */
.work-guarantees {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding-block: 18px;
}

.work-guarantees__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-guarantee__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sec);
}

.work-guarantee__item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Portfolio filter bar */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Portfolio card grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px #3b82f610;
  border-color: rgba(59, 130, 246, 0.3);
}

/* Live card variant */
.work-card--live {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.work-card__title-link {
  color: inherit;
  text-decoration: none;
}

.work-card__title-link:hover {
  color: var(--accent);
}

.work-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.work-card__cta:hover {
  text-decoration: underline;
}

/* Card preview area — simulates a website screenshot */
.work-card__preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

/* Live preview — real screenshot */
.work-card__preview--serene {
  height: 220px;
  background: var(--surface-deep);
}

.work-card__preview--serene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.work-card--live:hover .work-card__preview--serene img {
  transform: scale(1.03);
}

.work-card__overlay--live {
  background: rgba(0,0,0,0.15);
  transition: background 0.3s ease;
}

.work-card--live:hover .work-card__overlay--live {
  background: rgba(0,0,0,0.4);
}

.work-card__status--live {
  background: rgba(59, 130, 246, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.8125rem;
}

.work-card--live:hover .work-card__status--live {
  opacity: 1;
}

.work-card__preview--trades {
  background: linear-gradient(135deg, #1c1410 0%, #2d1a0a 40%, #3d2510 100%);
}

.work-card__preview--health {
  background: linear-gradient(135deg, #0a1c1a 0%, #0d2d28 40%, #103d34 100%);
}

.work-card__preview--hospitality {
  background: linear-gradient(135deg, #1a0a1c 0%, #260d2d 40%, #320e36 100%);
}

.work-card__preview--professional {
  background: linear-gradient(135deg, #0a0f1c 0%, #0d152d 40%, #10203d 100%);
}

/* Skeleton UI lines inside preview to suggest a website layout */
.work-card__preview-inner {
  position: absolute;
  inset: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.35;
}

.work-card__preview-bar {
  height: 10px;
  border-radius: 4px;
  background: currentColor;
  width: 55%;
}

.work-card__preview-line {
  height: 7px;
  border-radius: 4px;
  background: currentColor;
  width: 90%;
  opacity: 0.6;
}

.work-card__preview-line--short {
  width: 65%;
  opacity: 0.4;
}

.work-card__preview-block {
  margin-top: 8px;
  height: 52px;
  border-radius: 8px;
  background: currentColor;
  width: 38%;
  opacity: 0.5;
}

/* Overlay with status badge */
.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.work-card__status {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(59, 130, 246, 0.9);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 980px;
  padding: 6px 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Card body */
.work-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-card__industry {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-card__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.work-card__desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-top: 2px;
}

.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.work-card__package {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 3px 10px;
}

.work-card__eta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Featured case study — horizontal card for single project */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-spring),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.featured-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px #3b82f610;
  border-color: rgba(59, 130, 246, 0.3);
}

.featured-case__img {
  background: var(--surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  min-height: 240px;
}

.featured-case__img img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.featured-case:hover .featured-case__img img {
  transform: scale(1.05);
}

.featured-case__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.featured-case__tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.featured-case__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.featured-case__desc {
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.featured-case__stats {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.featured-case__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-case__stat-value {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}

.featured-case__stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-case__cta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
  transition: opacity 0.2s ease;
}

.featured-case:hover .featured-case__cta {
  opacity: 0.8;
}

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

  .featured-case__img {
    min-height: 180px;
    padding: 2rem;
  }

  .featured-case__body {
    padding: 2rem;
  }

  .featured-case__stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .featured-case__stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .featured-case__body {
    padding: 1.5rem;
  }
}

/* Founding note below grid */
.work-founding-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.55;
}

.work-founding-note svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.work-founding-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Case study features grid */
.casestudy-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.casestudy-feature {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.casestudy-feature__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.casestudy-feature__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.casestudy-feature__text {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* Process steps — 4 col on work page */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

/* Responsive: work page */
@media (max-width: 1000px) {
  .casestudy-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 600px) {
  .casestudy-features {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .work-guarantees__list {
    gap: 10px 20px;
    justify-content: flex-start;
  }
}

/* ============================================================
   18. INNER PAGE COMPONENTS
   ============================================================ */

/* Service card feature list (alias for bullets) */
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card__features li {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-sec);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* Add-on card (services page variant) */
.addon__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.addon__price {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.5px;
}

.addon__period {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.addon__badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 980px;
  padding: 3px 10px;
  white-space: nowrap;
}

.addon__name {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
}

.addon__desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
}

/* Guarantee strip (horizontal bar variant used on services page) */
.guarantee__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.guarantee__strip .guarantee__item {
  flex-direction: row;
  gap: 14px;
  text-align: left;
}

/* CTA block (used on work/services inner pages) */
.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.cta-block__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sec);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  user-select: none;
}

.portfolio-filter:hover {
  color: var(--text);
  border-color: var(--accent);
}

.portfolio-filter--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.process__step {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process__number {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  letter-spacing: -1px;
}

.process__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.process__desc {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-info-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-card__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.contact-info-card__value a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info-card__value a:hover {
  text-decoration: underline;
}

/* Contact form (full contact page variant) */
.contact-form--page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sec);
}

.form-label .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--surface);
  color: var(--text);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
}

/* FAQ accordion (contact page / JS-driven) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.375rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: var(--accent);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s, color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-question__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
  max-height: 300px;
}

.faq-answer__inner {
  padding-bottom: 1.375rem;
  color: var(--text-sec);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Blog topics grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.topic-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.topic-card__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  width: fit-content;
}

.topic-card__title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.topic-card__arrow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Blog subscribe form */
.subscribe-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 540px;
  margin: 0 auto;
}

.subscribe-form__input {
  flex: 1;
  min-width: 200px;
  padding: 0.8125rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-form__input::placeholder {
  color: var(--text-muted);
}

.subscribe-form__input:focus {
  border-color: var(--accent);
}

.subscribe-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  text-align: center;
}

/* 3-column guarantee grid (contact page) */
.guarantee__inner--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 36px;
}

.guarantee__inner--grid .guarantee__item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
}

.guarantee__inner--grid .guarantee__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: none;
}

.guarantee__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text);
}

/* Responsive: inner page adjustments */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .guarantee__inner--grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .guarantee__strip {
    gap: 24px;
  }
}

/* Cal.com inline embed wrapper */
.cal-embed-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 600px;
}

.cal-embed-wrapper iframe {
  border: none;
  border-radius: 12px;
}

/* ============================================================
   19. CASE STUDY PAGE
   ============================================================ */

/* Hero */
.cs-hero {
  padding-bottom: calc(var(--section-gap) + 16px);
}

/* Project meta bar */
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.cs-meta__item {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}

.cs-meta__item:last-child {
  border-right: none;
}

.cs-meta__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cs-meta__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.cs-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Before / After Comparison Slider ---- */
.cs-comparison-section .section__header {
  margin-bottom: 32px;
}

.cs-comparison {
  position: relative;
  width: 100%;
  aspect-ratio: 1793 / 730;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid var(--border);
  touch-action: none;
}

.cs-comparison__before,
.cs-comparison__after {
  position: absolute;
  inset: 0;
}

.cs-comparison__before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.cs-comparison__before img,
.cs-comparison__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

/* Before / After labels */
.cs-comparison__label {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 14px;
  border-radius: 980px;
  pointer-events: none;
  z-index: 5;
}

.cs-comparison__label--before {
  left: 16px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cs-comparison__label--after {
  right: 16px;
  background: rgba(59, 130, 246, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Handle */
.cs-comparison__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: col-resize;
  touch-action: none;
}

.cs-comparison__handle-line {
  flex: 1;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.cs-comparison__handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  color: #1a1a1a;
}

.cs-comparison__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- PageSpeed Scores ---- */
.cs-scores {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.cs-scores__era {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 980px;
  display: inline-block;
}

.cs-scores__era--before {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.cs-scores__era--after {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.cs-scores__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cs-scores__arrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Score ring */
.cs-score {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.cs-score__ring {
  grid-row: 1;
  grid-column: 1;
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.cs-score__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 3.5;
}

.cs-score__fill {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: calc(2 * 3.14159 * 19);
  stroke-dashoffset: calc(2 * 3.14159 * 19 * (1 - var(--pct) / 100));
  transition: stroke-dashoffset 1s var(--ease-spring);
}

.cs-score--bad .cs-score__fill   { stroke: #ef4444; }
.cs-score--ok  .cs-score__fill   { stroke: #f59e0b; }
.cs-score--good .cs-score__fill  { stroke: #22c55e; }

.cs-score__num {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
  z-index: 1;
}

.cs-score__label {
  grid-row: 2;
  grid-column: 1;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* Score delta pills */
.cs-deltas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.cs-delta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.cs-delta__metric {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-delta__change {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--text);
}

.cs-delta__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 980px;
  padding: 3px 10px;
}

.cs-delta__badge--neutral {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.cs-scores__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ---- Brief two-col ---- */
.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Problem list */
.cs-problems {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-problem {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cs-problem__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-problem strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cs-problem p {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin: 0;
}

/* ---- Deliverables grid ---- */
.cs-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cs-deliverable {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-deliverable__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.cs-deliverable__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.cs-deliverable__text {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ---- Results ---- */
.cs-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-result {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cs-result:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border-color: rgba(59, 130, 246, 0.3);
}

.cs-result__stat {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
}

.cs-result__context {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-result__context strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.cs-result__context span {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.55;
}

/* ---- Client Quote ---- */
.cs-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--accent);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}

.cs-quote__stars {
  display: flex;
  gap: 4px;
}

.cs-quote__text {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 2.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  letter-spacing: -0.3px;
}

.cs-quote__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.cs-quote__attribution strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.cs-quote__attribution span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cs-scores {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cs-scores__arrow {
    transform: rotate(90deg);
  }

  .cs-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-deliverables {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-deltas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cs-meta__item {
    flex: 1 1 140px;
    border-bottom: 1px solid var(--border);
    border-right: none;
  }

  .cs-meta__item:last-child {
    border-bottom: none;
  }

  .cs-comparison {
    aspect-ratio: 4 / 3;
  }

  .cs-scores__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-deliverables {
    grid-template-columns: 1fr;
  }

  .cs-results {
    grid-template-columns: 1fr;
  }

  .cs-result {
    gap: 16px;
  }

  .cs-quote {
    padding: 28px 24px;
  }

  .cs-deltas {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   20. GLOBAL MOBILE / RESPONSIVE POLISH
   ============================================================ */

/* Page hero action buttons — wrap gracefully on narrow screens */
.page-hero__actions {
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .page-hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .page-hero__actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  /* CTA block buttons */
  .cta-block__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-block__actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  /* CTA block padding */
  .cta-block {
    padding: 2.5rem 1.5rem;
  }
}

/* Before/after comparison slider — taller on mobile so images are readable */
@media (max-width: 768px) {
  .cs-comparison {
    aspect-ratio: 3 / 2;
  }
  .feature-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cs-comparison {
    aspect-ratio: 4 / 3;
  }

  /* Case study meta bar wraps to 2 items per row on small screens */
  .cs-meta__item {
    flex: 1 1 140px;
  }

  /* Score rings slightly smaller */
  .cs-score__ring {
    width: 68px;
    height: 68px;
  }

  .cs-score__num {
    font-size: 1.25rem;
  }

  /* Results stat smaller on very small screens */
  .cs-result__stat {
    font-size: 2rem;
    min-width: 80px;
  }
}

/* Guarantee strip items — prevent cramped layout on small phones */
@media (max-width: 480px) {
  .work-guarantees__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Contact layout — ensure cal embed doesn't overflow */
@media (max-width: 860px) {
  .cal-embed-wrapper {
    min-height: 550px;
  }
}

/* Navbar logo height normalised on small screens */
@media (max-width: 480px) {
  .logo-img {
    height: 36px;
  }
}

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

/* ============================================================
   ABOUT PAGE — VALUES GRID
============================================================ */
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-card {
  padding: 2rem;
}

.value-card__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.value-card__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--text);
  margin: 0;
}

.value-card__text {
  color: var(--text-sec);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   ABOUT PAGE — FOUNDER BIO
============================================================ */
.founder__wrap {
  max-width: 720px;
  margin: 0 auto;
}

.founder__layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.founder__avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.founder__info {
  flex: 1;
  min-width: 240px;
}

.founder__name {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.founder__role {
  font-size: 0.875rem;
  color: var(--accent);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.founder__bio {
  line-height: 1.75;
  color: var(--text-sec);
  margin: 0 0 1rem;
}

.founder__bio:last-child {
  margin: 0;
}
