/* ============================================
   ARCTEC — Design System v2
   Warm minimalism with color accents.
   ============================================ */

:root {
  --bg: #F5F0EB;
  --bg-alt: #ECE6DE;
  --bg-sage: #EAEDE5;
  --bg-clay: #F2EBDF;
  --bg-rose: #F0EAE7;
  --bg-dark: #1A1715;
  --bg-card: #FDFBF9;

  --text: #1A1715;
  --text-secondary: #6B645B;
  --text-muted: #A39E96;

  --accent: #C44D24;
  --sage: #8B9A7B;
  --clay: #C4A282;
  --slate: #7E858C;
  --rose: #B8948A;
  --sand: #D4C5B0;

  --border: rgba(26, 23, 21, 0.08);
  --border-strong: rgba(26, 23, 21, 0.14);

  --ff-serif: 'Instrument Serif', Georgia, serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}


/* ============================================
   Reset
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================
   Typography
   ============================================ */

em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  display: none;
}

.dot-orbit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  animation: dotOrbitSpin 24s linear infinite;
  align-self: center;
}

.dot-orbit-dot {
  position: absolute;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes dotOrbitSpin {
  to { transform: rotate(360deg); }
}

.section-label-center {
  justify-content: center;
}

.section-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title em { font-size: 1.05em; }

.section-header { margin-bottom: 64px; }


/* ============================================
   Scroll Progress
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #D4663F);
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}


/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 235, 0.8);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(26, 23, 21, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  z-index: 10;
  position: relative;
}

.logo-sq {
  color: var(--accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  z-index: 10;
  position: relative;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaPulse 2s ease-in-out infinite;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaRing 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes ctaRing {
  0% { opacity: 0.6; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.5); }
  100% { opacity: 0; transform: scale(2.5); }
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 77, 36, 0.25);
}

.nav-cta.active {
  background: var(--accent);
  color: #fff;
}

.nav-cta.active:hover {
  background: #c2673a;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 28px;
  gap: 20px;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.mobile-menu a:last-child { font-weight: 500; color: var(--text); }


/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.btn-primary {
  padding: 12px 26px;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
}

.btn-primary:hover {
  background: #333028;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 23, 21, 0.18);
}

.btn-primary:active { transform: translateY(0); }

.btn-accent {
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
}

.btn-accent:hover {
  background: #b5441f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 77, 36, 0.25);
}

.btn-outline {
  padding: 14px 32px;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-outline-light {
  padding: 14px 32px;
  color: rgba(245, 240, 235, 0.85);
  border: 1.5px solid rgba(245, 240, 235, 0.2);
  border-radius: 100px;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: rgba(245, 240, 235, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 14px 8px;
}

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

.btn-lg { padding: 18px 42px; font-size: 0.95rem; }


/* ============================================
   Page Header (sub-pages)
   ============================================ */

.page-header {
  padding: 140px 0 32px;
  text-align: center;
}

.page-header .section-label { justify-content: center; }

.page-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-title em { font-size: 1.02em; }

.page-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-page-desc {
  max-width: 980px;
}

.desktop-line {
  display: block;
}


/* ============================================
   Decorative Elements
   ============================================ */

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: glowIn 1.6s var(--ease) forwards;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,77,36,0.12) 0%, rgba(196,77,36,0.04) 40%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: glowIn 1.6s var(--ease) 0.2s forwards, glowDrift1 22s ease-in-out 1.8s infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,154,123,0.14) 0%, rgba(139,154,123,0.05) 40%, transparent 70%);
  bottom: 0%;
  left: -8%;
  animation: glowIn 1.6s var(--ease) 0.4s forwards, glowDrift2 26s ease-in-out 2s infinite;
}

.hero-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(196,162,130,0.1) 0%, rgba(196,162,130,0.03) 40%, transparent 70%);
  top: 35%;
  left: 15%;
  animation: glowIn 1.6s var(--ease) 0.6s forwards, glowDrift1 20s ease-in-out 2.2s infinite;
}

.hero-glow-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(184,148,138,0.1) 0%, rgba(184,148,138,0.03) 40%, transparent 70%);
  top: 10%;
  left: 40%;
  animation: glowIn 1.6s var(--ease) 0.8s forwards, glowDrift2 18s ease-in-out 2.4s infinite;
}

.hero-glow-5 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126,133,140,0.08) 0%, rgba(212,197,176,0.06) 40%, transparent 70%);
  bottom: 10%;
  right: 10%;
  animation: glowIn 1.6s var(--ease) 1s forwards, glowDrift1 24s ease-in-out 2.6s infinite;
}

@keyframes glowIn {
  to { opacity: 1; }
}

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-15px, 25px) scale(0.97); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-25px, 15px) scale(0.96); }
  50% { transform: translate(20px, -20px) scale(1.04); }
  75% { transform: translate(-10px, -15px) scale(1); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.color-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--clay) 35%, var(--sage) 65%, var(--slate) 100%);
  border-radius: 3px;
}


/* ============================================
   Homepage: Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 21px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: rgba(26,23,21,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.hero-loc-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(196,77,36,0.35);
  animation: locPulse 2s ease-in-out infinite;
}

@keyframes locPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 720px;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
  pointer-events: none;
  overflow: visible;
}

.hero-visual-bg {
  position: absolute;
  width: 340px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196,77,36,0.08) 0%, rgba(196,77,36,0.02) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroGlowPulse 6s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}

.phone.hero-phone-single {
  width: 200px;
  height: 416px;
  box-shadow: 0 48px 100px rgba(26,23,21,0.22), 0 16px 40px rgba(26,23,21,0.12);
  border-radius: 32px;
  border-width: 3px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.phone.hero-phone-single .phone-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.phone.hero-phone-single .phone-play {
  width: 48px;
  height: 48px;
}

.phone.hero-phone-single .phone-play svg {
  width: 18px;
  height: 18px;
}

.phone.hero-phone-single .phone-title span {
  font-size: 0.75rem;
}

.phone.hero-phone-single .phone-title small {
  font-size: 0.6rem;
}

.hero-stat {
  position: absolute;
  z-index: 3;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 8px 24px rgba(26,23,21,0.15);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
  backdrop-filter: blur(8px);
}

.hero-stat-num {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-stat-pre {
  display: block;
  font-size: 0.45rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1px;
}

.hero-stat-label {
  font-size: 0.52rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.hero-stat-1 {
  top: 4%;
  left: 8%;
  animation-delay: 1s;
  background: var(--accent);
}

.hero-stat-2 {
  top: 8%;
  right: 8%;
  animation-delay: 1.15s;
  background: var(--sage);
}

.hero-stat-3 {
  bottom: 14%;
  left: 0%;
  animation-delay: 1.3s;
  background: var(--clay);
}

.hero-stat-4 {
  bottom: 6%;
  right: 4%;
  animation-delay: 1.45s;
  background: #6B5CE7;
}

.hero-title {
  font-family: var(--ff-sans);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-title em {
  font-size: 1.02em;
  letter-spacing: -0.02em;
}

.squiggle-word {
  position: relative;
  display: inline-block;
  animation: none;
}

.squiggle-line {
  position: absolute;
  bottom: -4px;
  left: -4%;
  width: 108%;
  height: 12px;
}

.squiggle-line path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: squiggleStroke 1.5s linear 0s forwards;
}

@keyframes squiggleStroke {
  to { stroke-dashoffset: 0; }
}

@keyframes squiggleDraw {
  to { opacity: 1; }
}

@keyframes squiggleWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-0.8deg) translateY(-1px); }
  75% { transform: rotate(0.8deg) translateY(1px); }
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 6px;
}

.line-inner {
  display: block;
  transform: translateY(110%);
  animation: revealLine 1s var(--ease) forwards;
}

.line:nth-child(1) .line-inner { animation-delay: 0.35s; }
.line:nth-child(2) .line-inner { animation-delay: 0.5s; }

@keyframes revealLine {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-track {
  width: 1px;
  height: 48px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  width: 1px;
  height: 16px;
  background: var(--accent);
  position: absolute;
  top: -16px;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { top: -16px; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}


/* ============================================
   Marquee
   ============================================ */

.marquee {
  background: var(--bg-dark);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track .dot {
  color: var(--accent);
  font-size: 0.5rem;
  line-height: 2.4;
}

.marquee-track .dot::before { content: '\25CF'; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Client carousel: 3 duplicate sets in HTML; scroll one set (33.33%) per loop so wide viewports stay filled */
@keyframes marqueeScrollClient {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}


/* ============================================
   Client Carousel
   ============================================ */

.clients {
  padding: 20px 0;
  margin-top: 24px;
  background: var(--bg-dark);
}

.clients .section-label {
  justify-content: center;
  margin-bottom: 12px;
  color: rgba(245, 240, 235, 0.35);
  font-size: 0.62rem;
}

.client-track-wrapper {
  overflow: hidden;
  position: relative;
}

.client-track-wrapper::before,
.client-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.client-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.client-track-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

.client-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScrollClient 50s linear infinite;
  align-items: center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding-left: 32px; /* so first logo isn’t clipped on large screens */
}

.client-name {
  font-family: var(--ff-sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.6);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.client-name:hover { color: rgba(245, 240, 235, 0.85); }

.client-logo {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo.client-logo-sm {
  height: 30px;
}

.client-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
  display: inline-block;
}


/* ============================================
   What We Do Section
   ============================================ */

.what-we-do {
  padding: 100px 0 60px;
  background: var(--bg);
}

.wwd-intro {
  margin-bottom: 48px;
}

.wwd-intro-block {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
}

.wwd-intro-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 16px;
}

.wwd-intro-block p:last-child {
  margin-bottom: 0;
}

/* Service Mock Card */

.wwd-card-wrap {
  display: flex;
  justify-content: center;
}

.wwd-mock {
  width: 100%;
  max-width: 820px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 23, 21, 0.12), 0 2px 6px rgba(26, 23, 21, 0.06);
}

.wwd-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
}

.wwd-mock-dots {
  display: flex;
  gap: 5px;
}

.wwd-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.wwd-mock-dot:nth-child(1) { animation-delay: 0s; }
.wwd-mock-dot:nth-child(2) { animation-delay: 0.4s; }
.wwd-mock-dot:nth-child(3) { animation-delay: 0.8s; }

.wwd-mock-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.35);
  margin-left: 10px;
  letter-spacing: 0.03em;
}

.wwd-mock-body {
  padding: 8px 0;
}

.wwd-mock-row {
  border-bottom: 1px solid rgba(245, 240, 235, 0.04);
}

.wwd-mock-row:last-child {
  border-bottom: none;
}

.wwd-mock-row-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.wwd-mock-row-bar:hover {
  background: rgba(245, 240, 235, 0.03);
}

.wwd-mock-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.wwd-mock-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wwd-mock-icon svg {
  width: 17px;
  height: 17px;
}

.wwd-mi-accent { background: rgba(196, 77, 36, 0.15); color: var(--accent); }
.wwd-mi-sage { background: rgba(139, 154, 123, 0.15); color: var(--sage); }
.wwd-mi-clay { background: rgba(196, 162, 130, 0.15); color: var(--clay); }
.wwd-mi-slate { background: rgba(126, 133, 140, 0.15); color: var(--slate); }
.wwd-mi-ai { background: rgba(107, 92, 231, 0.15); color: #6B5CE7; }

.wwd-mock-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.85);
  margin-bottom: 2px;
}

.wwd-mock-desc {
  display: block;
  font-size: 0.73rem;
  color: rgba(245, 240, 235, 0.3);
  line-height: 1.4;
}

.wwd-mock-row-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.wwd-mock-bar {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 240, 235, 0.06);
  overflow: hidden;
}

.wwd-mock-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.wwd-mock-toggle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245, 240, 235, 0.25);
  transition: all 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  display: inline-block;
  width: 18px;
  text-align: center;
  line-height: 1;
}

.wwd-mock-row.open .wwd-mock-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

.wwd-mock-row-bar:hover .wwd-mock-toggle {
  color: rgba(245, 240, 235, 0.5);
}

.wwd-mock-row.open .wwd-mock-row-bar:hover .wwd-mock-toggle {
  color: var(--accent);
}

/* Expandable panel */
.wwd-mock-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.wwd-mock-panel > .wwd-mock-panel-inner {
  overflow: hidden;
}

.wwd-mock-row.open .wwd-mock-panel {
  grid-template-rows: 1fr;
}

.wwd-mock-panel-inner {
  display: flex;
  gap: 28px;
  padding: 0 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0.03s, transform 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0.03s, padding 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.wwd-mock-row.open .wwd-mock-panel-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 12px 24px 24px;
}

.wwd-mock-panel-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wwd-mock-panel-text p {
  font-size: 0.82rem;
  color: rgba(245, 240, 235, 0.45);
  line-height: 1.7;
  margin: 0 0 16px;
}

.wwd-mock-panel-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.wwd-mock-panel-link:hover {
  color: #e8844e;
}

.wwd-mock-panel-img {
  width: 200px;
  height: 130px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.wwd-pimg-accent {
  background: url('assets/services-homepage-photos/videography.jpg') center/cover no-repeat;
  border: 1px solid rgba(196, 77, 36, 0.15);
}

.wwd-pimg-sage {
  background: url('assets/services-homepage-photos/social-media.png') center/cover no-repeat;
  border: 1px solid rgba(139, 154, 123, 0.15);
}

.wwd-pimg-clay {
  background: url('assets/services-homepage-photos/branding.png') center/cover no-repeat;
  border: 1px solid rgba(196, 162, 130, 0.15);
}

.wwd-pimg-slate {
  background: url('assets/services-homepage-photos/web-dev.png') center/cover no-repeat;
  border: 1px solid rgba(126, 133, 140, 0.15);
}

.wwd-pimg-ai {
  background: linear-gradient(135deg, #2D2254, #6B5CE7);
  border: 1px solid rgba(107, 92, 231, 0.2);
}

.wwd-mock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(245, 240, 235, 0.06);
  text-decoration: none;
  color: rgba(245, 240, 235, 0.4);
  font-size: 0.8rem;
  transition: background 0.3s var(--ease);
}

.wwd-mock-footer:hover {
  background: rgba(245, 240, 235, 0.03);
}

.wwd-mock-footer-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.82rem;
  transition: color 0.3s var(--ease);
}

.wwd-mock-footer:hover .wwd-mock-footer-link {
  color: #e8844e;
}

@media (max-width: 768px) {
  .about-page-desc {
    max-width: 480px;
  }

  .desktop-line {
    display: inline;
  }

  .what-we-do { padding: 48px 0 48px; }
  .wwd-mock { max-width: 100%; }
  .wwd-mock-bar { display: none; }
  .wwd-mock-row-bar { padding: 16px 18px; }
  .wwd-mock-desc { display: none; }
  .wwd-mock-panel-inner { flex-direction: column; gap: 16px; }
  .wwd-mock-row.open .wwd-mock-panel-inner { padding: 4px 18px 22px; }
  .wwd-mock-panel-img { width: 100%; height: 120px; }
}

@media (max-width: 480px) {
  .what-we-do { padding: 40px 0 40px; }
}


/* ============================================
   Homepage: Vertical Video Showcase
   ============================================ */

.video-showcase {
  padding: 130px 0;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.video-showcase .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.video-showcase .section-label { justify-content: center; }

.video-showcase .section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.phones-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.phone {
  width: 220px;
  height: 390px;
  border-radius: 28px;
  border: 3px solid rgba(26, 23, 21, 0.08);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  background: var(--bg-dark);
}

.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.phone:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(26, 23, 21, 0.2);
}

.phone-side { transform: scale(0.9); opacity: 0.8; }
.phone-side:first-child { transform: scale(0.9) rotate(-4deg); }
.phone-side:last-child { transform: scale(0.9) rotate(4deg); }
.phone-side:first-child:hover { transform: scale(0.92) rotate(-2deg) translateY(-8px); }
.phone-side:last-child:hover { transform: scale(0.92) rotate(2deg) translateY(-8px); }

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-screen-1 { background: linear-gradient(160deg, #2C2825 0%, #3D3530 100%); }
.phone-screen-2 { background: #000; }
.phone-screen-3 { background: linear-gradient(160deg, #7A6E5D 0%, #8B7F6E 100%); }

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ig-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.ig-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.ig-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: white;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.ig-user { display: flex; flex-direction: column; flex: 1; }
.ig-username { font-size: 0.62rem; font-weight: 700; color: white; line-height: 1.2; }
.ig-location { font-size: 0.5rem; color: rgba(255,255,255,0.7); line-height: 1.2; }
.ig-dots { flex-shrink: 0; opacity: 0.7; }

.ig-footer {
  padding: 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.ig-actions { display: flex; gap: 10px; margin-bottom: 4px; }
.ig-actions svg { opacity: 0.9; }
.ig-likes { font-size: 0.5rem; font-weight: 700; color: white; margin-bottom: 3px; }

.phone-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.phone-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.phone:hover .phone-play {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.phone-play svg { width: 18px; height: 18px; fill: white; margin-left: 2px; }

.phone-title {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
}

.phone-title span { display: block; font-size: 0.7rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.phone-title small { font-size: 0.6rem; color: rgba(255, 255, 255, 0.4); }


/* ============================================
   Client Portal Section
   ============================================ */

.portal-section {
  padding: 60px 0 60px;
  background: var(--bg);
}

.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.portal-text .section-label { margin-bottom: 12px; }
.portal-text .section-title { margin-bottom: 24px; }

.portal-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.portal-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.portal-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.portal-feature strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.portal-feature p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.portal-preview {
  display: flex;
  justify-content: center;
}

.portal-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.portal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,23,21,0.15), 0 2px 6px rgba(26,23,21,0.08);
  cursor: grab;
}

.portal-card:active { cursor: grabbing; }

.portal-preview-frame {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: 0 24px 60px rgba(26,23,21,0.18), 0 2px 6px rgba(26,23,21,0.08);
}

.portal-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portal-preview-url {
  font-size: 0.72rem;
  color: rgba(245,240,235,0.35);
  margin-left: 10px;
  letter-spacing: 0.02em;
}

.portal-preview-iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

.portal-preview-img {
  width: 100%;
  display: block;
}

[data-tilt] {
  transform-style: preserve-3d;
}

[data-tilt]:hover {
  box-shadow: 0 32px 80px rgba(26,23,21,0.2), 0 4px 12px rgba(26,23,21,0.1);
}

.portal-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.portal-dot:nth-child(1) { animation-delay: 0s; }
.portal-dot:nth-child(2) { animation-delay: 0.4s; }
.portal-dot:nth-child(3) { animation-delay: 0.8s; }

.portal-card-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245,240,235,0.35);
  margin-left: auto;
}

.portal-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,240,235,0.35);
}

.portal-value {
  font-size: 0.85rem;
  color: rgba(245,240,235,0.8);
  font-weight: 500;
}

.portal-status {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaPulse 2s ease-in-out infinite;
}

.portal-bar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.portal-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width 1.2s var(--ease);
}

.portal-bar-sage {
  background: var(--sage);
}

.portal-bar-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245,240,235,0.7);
  min-width: 32px;
  text-align: right;
}

.portal-ai-tag {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(196,77,36,0.08);
  border: 1px solid rgba(196,77,36,0.12);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(245,240,235,0.6);
}

.portal-ai-tag svg {
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================
   VS Comparison Chart
   ============================================ */

.vs-section {
  padding: 75px 0 80px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.vs-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,77,36,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.vs-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,154,123,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.vs-section .section-header { text-align: center; position: relative; z-index: 1; }
.vs-section .section-label { justify-content: center; }
.vs-section .section-title em { color: var(--accent); }

.vs-chart {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vs-col {
  padding: 36px 40px;
  border-radius: var(--r-lg);
}

.vs-others {
  background: rgba(26,23,21,0.03);
  border: 1px solid var(--border);
}

.vs-arctec {
  background: var(--bg-light);
  border: 1px solid var(--accent);
  box-shadow: 0 8px 40px rgba(196,77,36,0.08), 0 1px 3px rgba(196,77,36,0.06);
}

.vs-divider {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-divider::before {
  content: 'vs';
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  background: var(--bg-alt);
  padding: 10px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  line-height: 1;
}

.vs-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.vs-others .vs-col-title { color: var(--text-muted); }
.vs-arctec .vs-col-title { color: var(--accent); }

.vs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}

.vs-item:hover {
  background: rgba(26,23,21,0.03);
}

.vs-others .vs-item {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(26,23,21,0.12);
}

.vs-arctec .vs-item {
  color: var(--text);
}

.vs-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-x {
  flex-shrink: 0;
  color: #C25C4A;
  opacity: 0.8;
}

.vs-others .vs-icon {
  background: rgba(194,92,74,0.1);
}

.vs-check {
  flex-shrink: 0;
  color: #5D8A4D;
}

.vs-arctec .vs-icon {
  background: rgba(93,138,77,0.12);
}


/* ============================================
   Manifesto (Homepage — replaces VS)
   ============================================ */

.manifesto {
  padding: 130px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 36, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 154, 123, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.manifesto-text {
  font-family: var(--ff-sans);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.65;
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 56px;
}

.manifesto-text em {
  color: rgba(245, 240, 235, 0.95);
  font-size: 1.02em;
}

.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(245, 240, 235, 0.08);
  color: rgba(245, 240, 235, 0.45);
  transition: all 0.5s var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
}

.pill:nth-child(1) { border-color: rgba(196, 77, 36, 0.35); color: var(--accent); }
.pill:nth-child(2) { border-color: rgba(139, 154, 123, 0.35); color: var(--sage); }
.pill:nth-child(3) { border-color: rgba(196, 162, 130, 0.3); color: var(--clay); }
.pill:nth-child(4) { border-color: rgba(126, 133, 140, 0.3); color: var(--slate); }
.pill:nth-child(5) { border-color: rgba(184, 148, 138, 0.3); color: var(--rose); }
.pill:nth-child(6) { border-color: rgba(212, 197, 176, 0.25); color: var(--sand); }

.manifesto-compact { padding: 80px 0; }
.manifesto-compact::before,
.manifesto-compact::after { display: none; }
.manifesto-compact .manifesto-content { max-width: 640px; }
.manifesto-compact .manifesto-text {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.75;
  margin-bottom: 32px;
}
.manifesto-compact .manifesto-pills { gap: 8px; }
.manifesto-compact .pill { padding: 7px 16px; font-size: 0.72rem; }


/* ============================================
   Stats Hero (Homepage)
   ============================================ */

.stats-hero {
  padding: 120px 0 140px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.stats-hero::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 154, 123, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats-hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 36, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-hero .section-header { text-align: center; position: relative; z-index: 2; }
.stats-hero .section-label { justify-content: center; color: rgba(245, 240, 235, 0.4); }
.stats-hero .section-title { color: rgba(245, 240, 235, 0.9); }
.stats-hero .section-title em { color: rgba(245, 240, 235, 0.95); }

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 48px 20px 40px;
  background: rgba(245, 240, 235, 0.04);
  border: 1px solid rgba(245, 240, 235, 0.08);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.stat-accent { border-color: rgba(196, 77, 36, 0.35); }
.stat-accent .stat-num { color: var(--accent); }
.stat-accent:hover { border-color: rgba(196, 77, 36, 0.55); }

.stat-sage { border-color: rgba(139, 154, 123, 0.35); }
.stat-sage .stat-num { color: var(--sage); }
.stat-sage:hover { border-color: rgba(139, 154, 123, 0.55); }

.stat-clay { border-color: rgba(196, 162, 130, 0.3); }
.stat-clay .stat-num { color: var(--clay); }
.stat-clay:hover { border-color: rgba(196, 162, 130, 0.5); }

.stat-slate { border-color: rgba(126, 133, 140, 0.3); }
.stat-slate .stat-num { color: var(--slate); }
.stat-slate:hover { border-color: rgba(126, 133, 140, 0.5); }

.stat-num-wrap {
  overflow: hidden;
  position: relative;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-num {
  display: block;
  font-family: var(--ff-sans);
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.stat-num-inner {
  display: block;
  transform: translateY(120%);
  transition: transform 1s var(--ease);
}

.stat-card.in-view .stat-num-inner {
  transform: translateY(0);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.45);
  letter-spacing: 0.02em;
}

.stats-cards .stat-card:nth-child(2) { transition-delay: 0.06s; }
.stats-cards .stat-card:nth-child(2) .stat-num-inner { transition-delay: 0.08s; }
.stats-cards .stat-card:nth-child(3) { transition-delay: 0.12s; }
.stats-cards .stat-card:nth-child(3) .stat-num-inner { transition-delay: 0.16s; }
.stats-cards .stat-card:nth-child(4) { transition-delay: 0.18s; }
.stats-cards .stat-card:nth-child(4) .stat-num-inner { transition-delay: 0.24s; }

/* Stats Strip (compact inline) */
.stats-strip {
  padding: 32px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.strip-num {
  display: block;
  font-family: var(--ff-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.strip-stat:nth-child(1) .strip-num { color: var(--accent); }
.strip-stat:nth-child(3) .strip-num { color: var(--sage); }
.strip-stat:nth-child(5) .strip-num { color: var(--clay); }
.strip-stat:nth-child(7) .strip-num { color: var(--slate); }

.strip-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Legacy stats (about page) */
.stats { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 32px 16px; }


/* ============================================
   Social-Style Testimonials
   ============================================ */

.testimonials {
  padding: 130px 0 90px;
  background: var(--bg-alt);
  overflow: hidden;
}

.testimonials .section-header { text-align: center; }
.testimonials .section-label { justify-content: center; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.social-card:nth-child(2) {
  margin-top: 40px;
}

.social-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.social-card:nth-child(1) .social-avatar { background: var(--accent); }
.social-card:nth-child(2) .social-avatar { background: var(--sage); }
.social-card:nth-child(3) .social-avatar { background: var(--slate); }

.social-name {
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-verified {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-verified svg { width: 8px; height: 8px; fill: white; }

.social-handle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.social-text {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.social-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.social-react {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-react:hover { color: var(--accent); }

.social-react svg { width: 14px; height: 14px; }


/* ============================================
   Get In Touch Section (Homepage)
   ============================================ */

.git-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.git-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.git-calendar {
  display: flex;
  justify-content: center;
  margin-top: -40px;
  margin-bottom: -40px;
}

.git-cal-shell {
  width: 100%;
  max-width: 380px;
}

.git-cal-shell [data-calendly-embed] {
  width: 100%;
  min-width: 320px;
  min-height: 620px;
}

.git-cal-shell iframe {
  width: 100%;
  height: auto;
  min-height: 620px;
  border: none;
}

.git-cal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-dark);
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
}

.git-cal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
}

.git-cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.git-cal-dot:nth-child(1) { animation-delay: 0s; }
.git-cal-dot:nth-child(2) { animation-delay: 0.4s; }
.git-cal-dot:nth-child(3) { animation-delay: 0.8s; }

.git-cal-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.5);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.git-cal-body {
  min-height: 700px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.git-cal-body [data-calendly-embed] {
  width: 100%;
  min-width: 320px;
  min-height: 700px;
}

.git-cal-body iframe {
  width: 100%;
  height: 700px;
  border: none;
}

.git-cal-placeholder {
  font-size: 0.82rem;
  color: rgba(245, 240, 235, 0.25);
  text-align: center;
}

.git-section .btn-accent {
  background: var(--bg-dark);
  color: rgba(245, 240, 235, 0.9);
}

.git-section .btn-accent:hover {
  background: var(--accent);
  color: #fff;
}

.git-content {
  text-align: left;
}

.git-content .section-label {
  color: var(--text-muted);
}

.git-heading {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.git-heading em {
  color: var(--accent);
}

.git-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}

.git-flow {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.git-bubble {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 24px 20px 20px;
  text-align: center;
  flex: 1;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.git-bubble:nth-child(1) {
  background: var(--bg-dark);
}

.git-bubble:nth-child(2) {
  background: var(--bg-dark);
}

.git-bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 23, 21, 0.15);
}

.git-bubble-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.git-bubble-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.git-bubble-icon svg {
  width: 18px;
  height: 18px;
}

.git-icon-dark { background: rgba(245, 240, 235, 0.08); color: rgba(245, 240, 235, 0.5); }

.git-bubble-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent);
}

.git-bubble h4 {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.85);
  margin: 0;
}

.git-bubble-detail {
  font-size: 0.72rem;
  color: rgba(245, 240, 235, 0.35);
  margin: 6px 0 0;
}

.git-copy-status {
  min-height: 1.1em;
  margin-top: 8px;
  font-size: 0.68rem;
  color: rgba(245, 240, 235, 0.68);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.git-bubble-copy.copied,
.git-bubble-copy.copy-failed {
  border-color: rgba(196, 77, 36, 0.28);
}

.git-bubble-copy.copied .git-bubble-icon,
.git-bubble-copy.copy-failed .git-bubble-icon {
  background: rgba(196, 77, 36, 0.14);
  color: rgba(245, 240, 235, 0.9);
}

.git-bubble-copy.copied .git-copy-status,
.git-bubble-copy.copy-failed .git-copy-status {
  opacity: 1;
  transform: translateY(0);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.7);
  border: 1px solid rgba(245, 240, 235, 0.15);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.btn-outline-light:hover {
  color: rgba(245, 240, 235, 0.95);
  border-color: rgba(245, 240, 235, 0.3);
  background: rgba(245, 240, 235, 0.05);
}

@media (max-width: 768px) {
  .git-section { padding: 48px 0 60px; }
  .git-layout { grid-template-columns: 1fr; gap: 40px; }
  .git-calendar { margin-top: 0; }
  .git-content { text-align: center; }
  .git-desc { max-width: 100%; }
  .git-heading { font-size: 1.8rem; }
  .git-flow { justify-content: center; }
  .git-cal-card { max-width: 100%; }
}

/* Us vs Them */

.vs-section {
  padding: 80px 0;
  background: var(--bg);
}
.vs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}
.vs-col {
  border-radius: 16px;
  padding: 36px 32px;
}
.vs-them {
  background: #f5f1ec;
  border: 1.5px solid rgba(0,0,0,0.06);
}
.vs-us {
  background: var(--bg-dark);
  border: 1.5px solid rgba(255,255,255,0.08);
}
.vs-col-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
}
.vs-us .vs-col-header {
  border-bottom-color: rgba(255,255,255,0.1);
}
.vs-col-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.vs-them .vs-col-label {
  color: var(--bg-dark);
  opacity: 0.5;
}
.vs-us .vs-col-label {
  color: #fff;
}
.vs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vs-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.vs-them .vs-list li {
  color: var(--bg-dark);
  opacity: 0.6;
}
.vs-us .vs-list li {
  color: rgba(255,255,255,0.88);
}
.vs-x, .vs-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}
.vs-x {
  background: rgba(180,60,60,0.12);
  color: #b43c3c;
}
.vs-check {
  background: rgba(107,142,92,0.2);
  color: var(--sage);
}

@media (max-width: 768px) {
  .vs-section { padding: 60px 0; }
  .vs-table {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .vs-col { padding: 28px 24px; }
  .vs-list li { font-size: 0.9rem; }
}

/* Client Testimonials */

.testi-section {
  padding: 30px 0 60px;
  background: var(--bg);
}

.testi-header {
  margin-bottom: 36px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testi-card {
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.testi-card:nth-child(1) {
  background: #c4522a;
}

.testi-card:nth-child(2) {
  background: #839576;
}

.testi-card:nth-child(3) {
  background: #b09579;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.15);
}

/* Social post header */
.testi-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.testi-handle {
  flex: 1;
}

.testi-author-handle {
  font-size: 0.7rem;
  color: rgba(245, 240, 235, 0.3);
  margin: 2px 0 0;
}

.testi-verified {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.testi-quote {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.75);
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Social post footer */
.testi-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 240, 235, 0.1);
  position: relative;
  z-index: 1;
}

.testi-engagement {
  display: flex;
  gap: 16px;
}

.testi-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: rgba(245, 240, 235, 0.3);
}

.testi-stat svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}

.testi-time {
  font-size: 0.68rem;
  color: rgba(245, 240, 235, 0.25);
}

.testi-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.testi-author-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.85);
  margin: 0;
}

.testi-author-role {
  font-size: 0.7rem;
  color: rgba(245, 240, 235, 0.35);
  margin: 2px 0 0;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .testi-section { padding: 30px 0 50px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}


/* ============================================
   Portfolio Page: Filter-Based Grid
   ============================================ */

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.filter-btn:hover { color: var(--text); border-color: var(--text-secondary); }

.filter-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p-grid.grid-vertical {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}

.p-grid.grid-production {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-grid.grid-branding {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.p-webdev .p-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
}

.p-webdev .p-initial {
  font-size: 3rem;
}

.p-webdev .p-info h4 {
  font-size: 1.05rem;
}

.p-webdev .p-info p {
  font-size: 0.82rem;
}

.grid-branding .p-wide {
  grid-column: span 2;
}

.grid-branding .p-vertical {
  grid-row: span 2;
}

.p-card {
  cursor: pointer;
  animation: tabFade 0.45s var(--ease) both;
}

.p-card.filtered-out {
  display: none;
}

.p-thumb {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  background: linear-gradient(140deg, rgba(26, 23, 21, 0.96), rgba(73, 48, 39, 0.92));
}

.p-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.02) 18%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0.02) 54%);
  transform: translateX(-120%);
  animation: portfolioThumbSweep 1.6s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

.p-thumb.is-ready::before {
  opacity: 0;
}

.p-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.p-thumb.is-ready .p-video {
  opacity: 1;
}

.p-vertical .p-thumb {
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.p-vertical .p-border-accent { border-color: var(--accent); }
.p-vertical .p-border-sage { border-color: #8B9A7B; }
.p-vertical .p-border-clay { border-color: #C4A282; }
.p-vertical .p-border-slate { border-color: #7E858C; }

.p-wide .p-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.p-wide .p-border-accent { border-color: var(--accent); }
.p-wide .p-border-sage { border-color: #8B9A7B; }
.p-wide .p-border-clay { border-color: #C4A282; }
.p-wide .p-border-slate { border-color: #7E858C; }

.p-square .p-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
}

.p-card:hover .p-thumb {
  transform: scale(1.03);
  box-shadow: 0 16px 44px rgba(26, 23, 21, 0.18);
}

.p-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  transition: color 0.4s var(--ease);
}

.p-card:hover .p-initial {
  color: rgba(255, 255, 255, 0.14);
}

.p-play {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.35s var(--ease);
}

.p-play svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

@keyframes portfolioThumbSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.p-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

.p-badge {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  display: inline-block;
}

.badge-accent { background: rgba(196, 77, 36, 0.25); color: #F5F0EB; }
.badge-sage { background: rgba(139, 154, 123, 0.3); color: #F5F0EB; }
.badge-clay { background: rgba(196, 162, 130, 0.3); color: #F5F0EB; }
.badge-slate { background: rgba(126, 133, 140, 0.25); color: #F5F0EB; }
.badge-rose { background: rgba(184, 148, 138, 0.3); color: #F5F0EB; }

/* Video fullscreen lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  backdrop-filter: blur(8px);
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  backdrop-filter: blur(8px);
}

.video-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-lightbox-prev { left: 24px; }
.video-lightbox-next { right: 24px; }

.p-info {
  padding: 12px 4px 0;
}

.p-info h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.p-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}


/* ============================================
   Portfolio Page (Legacy)
   ============================================ */

.tab-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.tab-btn:hover { color: var(--text); border-color: var(--text-secondary); }

.tab-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.tab-panel { display: none; }

.tab-panel.active {
  display: block;
  animation: tabFade 0.5s var(--ease);
}

@keyframes tabFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portfolio-card { cursor: pointer; }

.portfolio-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(26, 23, 21, 0.15);
}

.portfolio-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(3.5rem, 7vw, 6rem);
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
  transition: color 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-initial { color: rgba(255, 255, 255, 0.16); }

.portfolio-meta { padding: 16px 4px 0; }

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 6px;
}

.tag-accent { background: rgba(196, 77, 36, 0.1); color: var(--accent); }
.tag-sage { background: rgba(139, 154, 123, 0.15); color: var(--sage); }
.tag-clay { background: rgba(196, 162, 130, 0.2); color: #8B7355; }
.tag-slate { background: rgba(126, 133, 140, 0.12); color: var(--slate); }
.tag-rose { background: rgba(184, 148, 138, 0.15); color: #9A7268; }

.portfolio-meta h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.portfolio-section { padding: 0 0 160px; }


/* Thumbnail Grid (YouTube-style) */

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.thumb-card {
  cursor: pointer;
}

.thumb-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.thumb-card:hover .thumb-img {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(26, 23, 21, 0.15);
}

.thumb-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
  transition: color 0.4s var(--ease);
}

.thumb-card:hover .thumb-initial {
  color: rgba(255, 255, 255, 0.14);
}

.thumb-play {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s var(--ease);
}

.thumb-play svg { width: 13px; height: 13px; margin-left: 1px; }

.thumb-card:hover .thumb-play {
  opacity: 1;
  transform: scale(1);
}

.thumb-meta {
  padding: 12px 2px 0;
}

.thumb-tag {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 4px;
}

.thumb-meta h4 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.thumb-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ============================================
   Services Page: Bento Grid
   ============================================ */

.services-section { padding: 0 0 100px; }

.svc-bento {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 22px 36px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  color: rgba(255, 255, 255, 0.85);
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 56px rgba(26, 23, 21, 0.2);
}

.bento-dark { background: var(--bg-dark); }
.bento-accent { background: var(--accent); }
.bento-sage { background: #6B7A5B; }
.bento-clay { background: #9A7E60; }
.bento-purple { background: #6B5B7A; }
.bento-slate { background: #5C636A; }
.bento-ai {
  background: linear-gradient(135deg, #4A3D8F, #6B5CE7);
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  cursor: default;
}
.bento-ai:hover {
  transform: none;
  box-shadow: 0 16px 44px rgba(26, 23, 21, 0.12);
}
.bento-cta-muted {
  opacity: 0.55;
  font-style: italic;
}

.bento-hero { grid-column: unset; min-height: auto; padding: 22px 36px; }
.bento-full { grid-column: unset; min-height: auto; }

.bento-deco { display: none; }

.bento-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
}

.bento-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  backdrop-filter: blur(8px);
}

.bento-content h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #fff;
}

.bento-hero .bento-content h3 { font-size: 1.3rem; }

.bento-content p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  max-width: 560px;
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 40px;
}

.bento-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.bento-card:hover .bento-cta {
  color: #fff;
}

.bento-card:hover .bento-arrow {
  transform: translateX(6px);
}

.bento-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
}

.bento-card:hover .bento-link {
  color: #fff;
}


/* Approach flow */

.services-approach {
  padding: 100px 0;
  background: var(--bg-alt);
}

.services-approach .section-label { justify-content: center; }
.services-approach .section-header { text-align: center; }

.approach-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}

.approach-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.approach-step-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.approach-step h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.approach-connector {
  width: 60px;
  height: 1px;
  background: var(--border-strong);
  margin-top: 22px;
  flex-shrink: 0;
  position: relative;
}

.approach-connector::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-muted);
  border-top: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
}


/* ============================================
   Service Detail Pages
   ============================================ */

/* Service hero image */
.svc-hero-img {
  padding: 0 0 0;
}

.svc-hero-img-block {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-hero-img-text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  position: relative;
  z-index: 1;
}

.svc-hero-img-overlay {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.svc-hero-img-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.svc-detail {
  padding: 80px 0 120px;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.svc-detail-main h2 {
  margin-bottom: 32px;
}

.svc-detail-main p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.svc-detail-side h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
}

.svc-detail-side h3:not(:first-child) {
  margin-top: 40px;
}

.svc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-checklist li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.svc-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tag {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  background: transparent;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 0.95rem;
}

/* AI Solutions page */
.ai-hero-block {
  background: linear-gradient(135deg, #2D2254, #4A3D8F, #6B5CE7);
}

.ai-hero-coming-soon {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ai-coming-label {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: rgba(255, 255, 255, 0.85);
}

.ai-coming-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 360px;
  text-align: center;
  line-height: 1.6;
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(107, 92, 231, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 60%, rgba(196, 77, 36, 0.2) 0%, transparent 50%);
}

.ai-process {
  padding: 80px 0 120px;
}

.ai-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.ai-process-step {
  padding: 32px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-process-step:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(26, 23, 21, 0.08);
}

.ai-process-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2rem;
  color: #6B5CE7;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.ai-process-step h4 {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.ai-process-step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}


/* ============================================
   About Page
   ============================================ */

.about-img {
  padding: 0 0 60px;
}

.about-img-block {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}

.about-img-overlay {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.about-img-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.about-story { padding: 0 0 80px; }

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-story-text h2 {
  font-family: var(--ff-sans);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  padding: 160px 0;
  background: var(--bg-clay);
}

.about-values .section-header { text-align: center; }
.about-values .section-label { justify-content: center; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: white;
}

.value-card:nth-child(1) .value-icon { background: var(--accent); }
.value-card:nth-child(2) .value-icon { background: var(--sage); }
.value-card:nth-child(3) .value-icon { background: var(--clay); }

.value-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.team-v2 {
  padding: 40px 0 80px;
  background: var(--bg);
}

.team-v2 .section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.6;
}

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

.team-v2-card {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.team-v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,23,21,0.08);
  border-color: var(--border-strong);
}

.team-v2-photo {
  width: 200px;
  min-height: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-v2-initial {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-style: italic;
  color: rgba(255,255,255,0.2);
  letter-spacing: -0.02em;
}

.team-v2-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.team-v2-info h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-v2-role {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.team-v2-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.team-v2-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.team-v2-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-v2-links a:hover {
  color: var(--accent);
}

.team-v2-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.team-v2-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.team-v2-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.team {
  padding: 160px 0;
  background: var(--bg-sage);
}

.team .section-header { text-align: center; }
.team .section-label { justify-content: center; }

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

.team-card {
  text-align: center;
  padding: 44px 20px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: white;
  margin: 0 auto 20px;
}

.team-card:nth-child(1) .team-avatar { background: var(--accent); }
.team-card:nth-child(2) .team-avatar { background: var(--sage); }
.team-card:nth-child(3) .team-avatar { background: var(--slate); }
.team-card:nth-child(4) .team-avatar { background: var(--clay); }

.team-card h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }

.team-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   Pricing Page
   ============================================ */

.pricing-section { padding: 0 0 80px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 40px 28px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 23, 21, 0.08);
  border-color: var(--border-strong);
}

.pricing-card.featured {
  background: var(--bg-dark);
  color: rgba(245, 240, 235, 0.85);
  border-color: var(--bg-dark);
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-feature { color: rgba(245, 240, 235, 0.5); }
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-card.featured .pricing-feature::before { background: var(--accent); }

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-tier { color: rgba(245, 240, 235, 0.35); }

.pricing-name {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pricing-price {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-card.featured .pricing-price span { color: rgba(245, 240, 235, 0.35); }

.pricing-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card.featured .pricing-divider { background: rgba(245, 240, 235, 0.08); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pricing-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.pricing-card .btn { width: 100%; justify-content: center; }

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.custom-block {
  margin-top: 80px;
  padding: 64px;
  background: var(--bg-dark);
  border-radius: var(--r-lg);
  color: rgba(245, 240, 235, 0.85);
}

.custom-block-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.custom-block h3 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}

.custom-text p {
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.custom-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-feature {
  font-size: 0.88rem;
  color: rgba(245, 240, 235, 0.6);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.custom-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.custom-cta { margin-top: 36px; }

.pricing-custom {
  margin-top: 24px;
  background: var(--bg-dark);
  border-radius: var(--r-lg);
  padding: 44px 48px;
}

.pricing-custom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pricing-custom-text .pricing-tier {
  color: var(--accent);
}

.pricing-custom-text h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(245, 240, 235, 0.9);
  margin-bottom: 10px;
}

.pricing-custom-text p {
  font-size: 0.88rem;
  color: rgba(245, 240, 235, 0.4);
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
}

@media (max-width: 768px) {
  .pricing-custom { padding: 32px 24px; }
  .pricing-custom-inner { flex-direction: column; text-align: center; align-items: center; }
  .pricing-custom-text p { max-width: 100%; }
}

.compare-anchor {
  text-align: center;
  margin-top: 40px;
}

.pricing-compare {
  padding: 40px 0 100px;
  background: var(--bg);
}

.pricing-compare .section-header {
  margin-bottom: 48px;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.compare-table thead th {
  padding: 20px 24px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg);
}

.compare-table thead th:first-child {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  width: 240px;
}

.compare-table thead th.compare-highlight {
  color: var(--accent);
  position: relative;
}

.compare-table thead th.compare-highlight::after {
  content: 'Popular';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.compare-group td {
  padding: 14px 24px 8px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.compare-table tbody tr:not(.compare-group) td {
  padding: 14px 24px;
  text-align: center;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0,0,0,0.03);
}

.compare-table tbody tr:not(.compare-group) td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 400;
}

.compare-table tbody tr:not(.compare-group):hover {
  background: rgba(0,0,0,0.015);
}

td.compare-highlight {
  background: rgba(196,77,36,0.03);
}

.compare-check {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.compare-x {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.9rem;
}

.compare-table tfoot td {
  padding: 20px 24px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.compare-table tfoot td:first-child {
  background: var(--bg);
}

.compare-table tfoot .btn {
  width: auto;
  display: inline-flex;
}

@media (max-width: 768px) {
  .pricing-compare { padding: 80px 0 100px; }
  .compare-table-wrap { border-radius: var(--r-md); }
  .compare-table { font-size: 0.78rem; }
  .compare-table thead th,
  .compare-table tbody td,
  .compare-table tfoot td { padding: 12px 16px; }
  .compare-table thead th:first-child { width: 160px; }
}

@media (max-width: 480px) {
  .compare-table { min-width: 580px; }
}

.pricing-faq { padding: 60px 0 100px; }
.pricing-faq .section-header { text-align: center; }
.pricing-faq .section-label { justify-content: center; }

.faq-list { max-width: 720px; margin: 0 auto; }

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   Contact Flow — Interactive Multi-Step Form
   ============================================ */

.contact-flow {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.contact-flow[data-active-step="3"] {
  min-height: auto;
  padding-bottom: 24px;
}

.contact-flow[data-active-step="3"] .cf-step[data-step="3"] {
  padding-bottom: 24px;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  z-index: 100;
  opacity: 0;
  animation: confettiFall forwards;
}

@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateY(100vh) rotate(720deg) scale(0.5); }
}

.cf-progress {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 999;
}

.cf-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #D4663F);
  border-radius: 0 3px 3px 0;
  transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cf-step-counter {
  position: fixed;
  top: 92px;
  right: 32px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  z-index: 999;
}

.cf-step-current {
  color: var(--text);
  font-size: 0.85rem;
}

.cf-step-divider {
  margin: 0 4px;
  color: var(--border-strong);
}

.cf-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.18s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.18s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

.cf-step.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.cf-step.exit-left {
  opacity: 0;
  transform: translateX(-20px);
  position: absolute;
}

.cf-step.exit-right {
  opacity: 0;
  transform: translateX(20px);
  position: absolute;
}

.cf-step.enter-right { transform: translateX(20px); }
.cf-step.enter-left { transform: translateX(-20px); }

.cf-step.cf-step-no-motion {
  transition: none !important;
}

.cf-step-inner {
  max-width: 640px;
  width: 100%;
}

.cf-step-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cf-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-label::before {
  display: none;
}

.cf-step-center .cf-label { justify-content: center; }

.cf-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cf-title em {
  font-family: var(--ff-serif);
  font-size: 1.05em;
}

.cf-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}

.cf-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cf-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1.5px solid rgba(26, 23, 21, 0.1);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  overflow: visible;
}

.cf-option::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cf-option:hover {
  transform: translateY(-2px);
}

.cf-option:hover::after { opacity: 1; }

.cf-option.selected {
  transform: translateY(-2px);
}

.cf-option.selected::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  width: 4px;
  height: calc(100% + 4px);
  background: var(--bar-color, var(--accent));
  border-radius: 3px 0 0 3px;
  z-index: 2;
}
}

.cf-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 23, 21, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(26, 23, 21, 0.45);
  transition: all 0.3s var(--ease);
}

.cf-option-icon svg { width: 20px; height: 20px; }

.cf-option:hover .cf-option-icon,
.cf-option.selected .cf-option-icon {
}

.cf-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.cf-option-text strong { font-size: 0.95rem; font-weight: 500; color: rgba(26, 23, 21, 0.9); }
.cf-option-text small { font-size: 0.78rem; color: rgba(26, 23, 21, 0.45); }

.cf-option-compact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 4px;
}

.cf-option-compact strong { font-size: 0.95rem; font-weight: 500; color: rgba(26, 23, 21, 0.9); }
.cf-option-compact small { font-size: 0.75rem; color: rgba(26, 23, 21, 0.45); }

/* ── Contact Form Dashboard Card ── */
.cf-dash {
  width: 100%;
  max-width: 700px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 23, 21, 0.12), 0 2px 6px rgba(26, 23, 21, 0.06);
  margin-top: 12px;
}

.cf-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
}

.cf-dash-dots {
  display: flex;
  gap: 5px;
}

.cf-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.cf-dash-dot:nth-child(1) { animation-delay: 0s; }
.cf-dash-dot:nth-child(2) { animation-delay: 0.4s; }
.cf-dash-dot:nth-child(3) { animation-delay: 0.8s; }

.cf-dash-htitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.35);
  margin-left: 10px;
  letter-spacing: 0.03em;
}

.cf-dash-body {
  padding: 0;
}

.cf-dash-body .cf-dash-row:first-child {
  border-radius: 16px 16px 0 0;
  padding-top: 22px;
}

.cf-dash-body .cf-dash-row:last-child {
  border-radius: 0 0 16px 16px;
  border-bottom: none;
  padding-bottom: 22px;
}

.cf-dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 235, 0.04);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease;
  position: relative;
  overflow: visible;
}

.cf-dash-row:last-child {
  border-bottom: none;
}

.cf-dash-row:hover {
  background: rgba(245, 240, 235, 0.03);
}

.cf-dash-row.selected {
  background: rgba(245, 240, 235, 0.06);
}

.cf-dash-row.selected::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--bar-color, var(--accent));
  border-radius: 0 3px 3px 0;
}

.cf-dash-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cf-dash-icon {
  display: none;
  justify-content: center;
  flex-shrink: 0;
}

.cf-dash-icon svg {
  width: 17px;
  height: 17px;
}

.cf-dash-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cf-dash-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-dash-desc {
  font-size: 0.72rem;
  color: rgba(245, 240, 235, 0.35);
}

.cf-dash-row-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cf-dash-bar {
  width: 100px;
  height: 5px;
  background: rgba(245, 240, 235, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.cf-dash-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s var(--ease);
}

.cf-dash-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 240, 235, 0.2);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cf-dash-arrow svg {
  width: 16px;
  height: 16px;
}

.cf-dash-row:hover .cf-dash-arrow {
  color: rgba(245, 240, 235, 0.5);
  transform: translateX(3px);
}

.cf-dash-row.selected .cf-dash-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.cf-dash-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(245, 240, 235, 0.06);
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.3);
  transition: background 0.2s var(--ease);
}

.cf-dash-footer:hover {
  background: rgba(245, 240, 235, 0.02);
}

.cf-dash-footer-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.cf-dash-footer-link:hover {
  opacity: 0.8;
}

.cf-form { display: flex; flex-direction: column; gap: 20px; }

.cf-step-wide { max-width: 1100px; }

.cf-step4-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.cf-step4-form { min-width: 0; }

.cf-step4-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  z-index: 2;
}

.cf-step4-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(26, 23, 21, 0.1);
}

.cf-step4-divider span {
  position: relative;
  z-index: 1;
  padding: 8px 0;
  background: var(--bg);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 23, 21, 0.38);
  transform: translateY(-96px);
}

.cf-step4-calendar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  padding-top: 28px;
  margin-left: -44px;
  z-index: 1;
}

.cf-calendly-shell {
  width: 100%;
  max-width: 100%;
  min-height: var(--contact-calendly-height, 560px);
}

.cf-calendly-shell [data-calendly-embed] {
  width: 100%;
  min-width: 320px;
  min-height: var(--contact-calendly-height, 560px);
  position: relative;
  overflow: hidden;
}

.cf-calendly-shell iframe {
  width: 100%;
  height: var(--contact-calendly-height, 560px);
  min-height: var(--contact-calendly-height, 560px);
  border: none;
}

.cf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-field { display: flex; flex-direction: column; gap: 6px; }

.cf-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(26, 23, 21, 0.85);
}

.cf-field-note {
  margin-left: 3px;
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(26, 23, 21, 0.24);
}

.cf-input {
  padding: 14px 18px;
  background: rgba(26, 23, 21, 0.03);
  border: 1.5px solid rgba(26, 23, 21, 0.1);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  color: rgba(26, 23, 21, 0.9);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf-input::placeholder { color: rgba(26, 23, 21, 0.3); }

.cf-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 77, 36, 0.08);
}

.cf-textarea { resize: vertical; min-height: 120px; }
.cf-submit { margin-top: 8px; align-self: flex-start; }
.cf-submit:disabled { opacity: 0.72; cursor: wait; }

.cf-form-note {
  margin-top: -4px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(26, 23, 21, 0.5);
}

.cf-form-note a {
  color: inherit;
  text-decoration-color: rgba(26, 23, 21, 0.24);
}

.cf-form-note a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.cf-form-status {
  min-height: 1.3em;
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(26, 23, 21, 0.55);
}

.cf-form-status.is-error {
  color: #b6432b;
}

.cf-confirm-icon { width: 80px; height: 80px; margin-bottom: 28px; }
.cf-confirm-icon svg { width: 100%; height: 100%; }

.cf-check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.6s var(--ease) 0.3s forwards;
}

@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.cf-confirm-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.cf-back {
  position: fixed;
  bottom: 36px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(26, 23, 21, 0.5);
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(26, 23, 21, 0.1);
  background: rgba(26, 23, 21, 0.03);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.cf-back svg { width: 16px; height: 16px; }

.cf-back:hover {
  color: rgba(26, 23, 21, 0.9);
  border-color: rgba(26, 23, 21, 0.25);
  transform: translateX(-3px);
}

.contact-flow .btn-ghost {
  color: rgba(26, 23, 21, 0.5);
}
.contact-flow .btn-ghost:hover {
  color: rgba(26, 23, 21, 0.9);
}

/* ============================================
   CRM Features Grid
   ============================================ */

.crm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.crm-feature-card {
  background: var(--bg-dark);
  border: 1px solid rgba(245, 240, 235, 0.06);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  transition: all 0.5s var(--ease);
}

.crm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(245, 240, 235, 0.1);
}

.crm-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.crm-feature-icon svg {
  width: 18px;
  height: 18px;
}

.crm-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: rgba(245, 240, 235, 0.9);
}

.crm-feature-card p {
  font-size: 0.8rem;
  color: rgba(245, 240, 235, 0.45);
  line-height: 1.6;
  margin-bottom: 16px;
}

.crm-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 240, 235, 0.06);
}

.crm-feature-list li {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.4);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.crm-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.crm-features-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.crm-features-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.crm-features-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.crm-features-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.crm-features-grid [data-animate]:nth-child(6) { transition-delay: 0.30s; }

@media (max-width: 1024px) {
  .crm-features-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* Contact Info Section */
.contact-info-v2 {
  padding: 40px 0 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ci-v2-header {
  margin-bottom: 32px;
}

.ci-v2-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.ci-v2-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
  text-align: left;
  width: 100%;
}

.ci-v2-item:not(.ci-v2-static) {
  cursor: pointer;
}

.ci-v2-item:not(.ci-v2-static):hover {
  background: var(--bg-alt);
}

.ci-v2-static {
  cursor: default;
}

.ci-v2-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.ci-v2-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.ci-v2-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ci-v2-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ci-v2-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-v2-status {
  min-height: 1.1em;
  font-size: 0.68rem;
  color: rgba(26, 23, 21, 0.48);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.ci-v2-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.ci-v2-item:not(.ci-v2-static):hover .ci-v2-arrow {
  opacity: 1;
  transform: translateX(0);
}

.ci-v2-item:not(.ci-v2-static):hover .ci-v2-value {
  color: var(--accent);
}

.ci-v2-item.copied,
.ci-v2-item.copy-failed {
  background: var(--bg-alt);
}

.ci-v2-item.copied .ci-v2-arrow,
.ci-v2-item.copy-failed .ci-v2-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

.ci-v2-item.copied .ci-v2-status,
.ci-v2-item.copy-failed .ci-v2-status {
  opacity: 1;
  transform: translateY(0);
}

.ci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ci-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.ci-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(196, 77, 36, 0.08);
  color: var(--accent);
}

.ci-icon svg { width: 22px; height: 22px; }

.ci-card:nth-child(2) .ci-icon { background: rgba(139, 154, 123, 0.12); color: var(--sage); }
.ci-card:nth-child(3) .ci-icon { background: rgba(126, 133, 140, 0.1); color: var(--slate); }

.ci-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ci-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  transition: color 0.3s ease;
}

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


/* ============================================
   CTA
   ============================================ */

/* ============================================
   Working With Us
   ============================================ */

.work-with-us {
  padding: 100px 0 120px;
  background: var(--bg);
}

.wwu-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.wwu-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.wwu-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-dark) 0%, #2C2825 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--r-lg);
  cursor: grab;
  box-shadow: 0 24px 60px rgba(26,23,21,0.15);
}

.wwu-img-placeholder:active { cursor: grabbing; }

.wwu-img-placeholder span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.wwu-text .section-label {
  margin-bottom: 12px;
}

.wwu-text .section-title {
  margin-bottom: 24px;
}

.wwu-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.wwu-desc:last-of-type {
  margin-bottom: 28px;
}

.wwu-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.wwu-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.wwu-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .work-with-us { padding: 100px 0; }
  .wwu-grid { grid-template-columns: 1fr; gap: 40px; }
  .wwu-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .work-with-us { padding: 80px 0; }
}


/* ============================================
   CTA
   ============================================ */

.cta {
  padding: 100px 0;
  background: var(--bg-alt);
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta .section-label { justify-content: center; }

.cta-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-title em { color: var(--accent); font-size: 1.02em; }

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 44px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 80px 0 40px;
  background: var(--bg-dark);
  color: rgba(245, 240, 235, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: rgba(245, 240, 235, 0.85);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(245, 240, 235, 0.4);
  max-width: 280px;
}

.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(245, 240, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.footer-social a:hover {
  border-color: rgba(245, 240, 235, 0.25);
  background: rgba(245, 240, 235, 0.05);
}
.footer-social svg { width: 16px; height: 16px; fill: rgba(245, 240, 235, 0.5); }
.footer-social a:hover svg { fill: rgba(245, 240, 235, 0.85); }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 235, 0.3);
  margin-bottom: 20px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(245, 240, 235, 0.5);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: rgba(245, 240, 235, 0.85); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.25);
}

/* Legal Pages */

.legal-content {
  padding: 0 0 100px;
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-body h2 {
  font-family: var(--ff-sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body h3 {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.legal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.legal-body ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.legal-body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}
.legal-body a:hover {
  opacity: 0.7;
}
.legal-body strong {
  color: var(--text);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.25);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: rgba(245, 240, 235, 0.6);
}

/* Cookie consent popup */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999;
  background: rgba(26, 23, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 240, 235, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  max-width: 260px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner-text {
  font-size: 0.78rem;
  color: rgba(245, 240, 235, 0.5);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: rgba(245, 240, 235, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: rgba(245, 240, 235, 0.9);
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.cookie-btn--decline {
  background: transparent;
  color: rgba(245, 240, 235, 0.35);
  border: 1px solid rgba(245, 240, 235, 0.1);
}

.cookie-btn--decline:hover {
  color: rgba(245, 240, 235, 0.6);
  border-color: rgba(245, 240, 235, 0.2);
}

.cookie-btn--accept {
  background: var(--accent);
  color: #fff;
}

.cookie-btn--accept:hover {
  background: #D4663F;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: 12px;
    max-width: none;
  }
}


/* ============================================
   Scroll Animations
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate].in-view { opacity: 1; transform: none; }

[data-animate-left] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-left].in-view { opacity: 1; transform: none; }

[data-animate-right] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-right].in-view { opacity: 1; transform: none; }

[data-animate-scale] {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-scale].in-view { opacity: 1; transform: none; }

.svc-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.svc-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.svc-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.svc-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.svc-grid [data-animate]:nth-child(6) { transition-delay: 0.30s; }

.social-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.social-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.portfolio-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.07s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.14s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.21s; }

.pricing-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.pricing-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.team-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.team-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.team-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.values-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.values-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.approach-flow [data-animate]:nth-child(3) { transition-delay: 0.1s; }
.approach-flow [data-animate]:nth-child(5) { transition-delay: 0.2s; }

.svc-bento [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.svc-bento [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.svc-bento [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.svc-bento [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.svc-bento [data-animate]:nth-child(6) { transition-delay: 0.30s; }

.thumb-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.thumb-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.thumb-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.thumb-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.thumb-grid [data-animate]:nth-child(6) { transition-delay: 0.30s; }


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-bento { gap: 12px; }
  .bento-hero { grid-column: unset; }
  .bento-full { grid-column: unset; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid.grid-vertical { grid-template-columns: repeat(4, 1fr); }
  .p-grid.grid-production { grid-template-columns: repeat(3, 1fr); }
  .p-grid.grid-branding { grid-template-columns: repeat(3, 1fr); }
  .p-grid.grid-webdev { grid-template-columns: repeat(2, 1fr); }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .social-card:nth-child(2) { margin-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .approach-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-v2-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .custom-block-inner { grid-template-columns: 1fr; gap: 36px; }
  .vs-chart { grid-template-columns: 1fr; gap: 0; }
  .vs-divider { width: 100%; height: auto; padding: 12px 0; }
  .vs-divider::before { position: static; transform: none; }
  .vs-others { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .vs-arctec { border-radius: 0 0 var(--r-lg) var(--r-lg); }

  .cf-step4-split { grid-template-columns: 1fr; gap: 32px; }
  .cf-step4-divider { display: none; }
  .cf-step4-calendar { padding-top: 0; margin-left: 0; }
  .cf-step-wide { max-width: 640px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta:not(.mobile-menu .nav-cta) { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .mobile-menu { display: flex; }

  .hero { min-height: auto; }
  .hero-inner { padding: 100px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-top { justify-content: center; }
  .hero-title { font-size: clamp(2.8rem, 9vw, 3.6rem); }
  .hero-sub { margin: 0 auto 36px; max-width: 400px; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .hero-visual-bg { width: 340px; height: 340px; }
  .phone.hero-phone-single { width: 170px; height: 354px; border-radius: 28px; }
  .hero-stat-1 { left: 6%; top: 4%; }
  .hero-stat-2 { right: 6%; top: 6%; }
  .hero-stat-3 { left: 4%; bottom: 12%; }
  .hero-stat-4 { right: 8%; bottom: 4%; }
  .hero-lines { display: none; }

  .hero-glow { filter: blur(70px); }
  .hero-glow-1 { width: 350px; height: 350px; }
  .hero-glow-2 { width: 300px; height: 300px; }
  .hero-glow-3 { width: 250px; height: 250px; }
  .hero-glow-4 { display: none; }
  .hero-glow-5 { display: none; }

  .page-header { padding: 140px 0 60px; }
  .page-title { font-size: clamp(2.2rem, 8vw, 3rem); }

  .clients { padding: 60px 0; }

  .stats-hero { padding: 80px 0 100px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num-wrap { height: 3rem; }
  .stat-card { padding: 36px 16px 32px; }

  .manifesto { padding: 100px 0; }
  .manifesto-text { font-size: clamp(1.3rem, 3vw, 1.8rem); }
  .manifesto-pills { gap: 8px; }
  .pill { padding: 8px 18px; font-size: 0.78rem; }

  .vs-section { padding: 80px 0; }
  .vs-col { padding: 28px 20px; }
  .vs-item { font-size: 0.85rem; padding: 10px 10px; gap: 10px; }
  .vs-icon { width: 24px; height: 24px; }

  .stats { padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .stats-strip { padding: 40px 0; }
  .stats-row { flex-wrap: wrap; gap: 28px; }
  .strip-divider { display: none; }
  .strip-stat { flex: 0 0 40%; padding: 0; }

  .testimonials { padding: 100px 0; }

  .svc-bento { gap: 10px; }
  .bento-hero, .bento-full { grid-column: unset; }
  .bento-card { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .bento-cta { margin-left: 0; margin-top: 12px; }
  .bento-content h3 { font-size: 1.2rem; }
  .bento-hero .bento-content h3 { font-size: 1.2rem; }
  .services-section { padding-bottom: 60px; }
  .portal-section { padding: 60px 0; }
  .portal-layout { grid-template-columns: 1fr; gap: 48px; }
  .portal-card { max-width: 100%; }

  .svc-detail { padding: 60px 0 80px; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-hero-img-block { aspect-ratio: 16 / 9; }
  .svc-hero-img-overlay { left: 16px; bottom: 16px; }
  .ai-process { padding: 60px 0 80px; }
  .ai-process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .services-approach { padding: 60px 0; }
  .approach-flow { flex-direction: column; gap: 32px; align-items: center; }
  .approach-connector { width: 1px; height: 40px; margin-top: 0; }
  .approach-connector::after { right: -3px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .p-grid.grid-vertical { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .p-grid.grid-production { grid-template-columns: 1fr; gap: 20px; }
  .p-grid.grid-branding { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .p-grid.grid-webdev { grid-template-columns: 1fr; gap: 20px; }
  .grid-branding .p-wide { grid-column: span 2; }
  .grid-branding .p-vertical { grid-row: span 2; }
  .p-vertical .p-thumb { border-radius: 18px; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-section { padding-bottom: 100px; }

  .about-img-block { aspect-ratio: 16 / 9; }
  .about-img { padding-bottom: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-v2-grid { grid-template-columns: 1fr; }
  .team-v2-card { flex-direction: column; }
  .team-v2-photo { width: 100%; min-height: 180px; }

  .cta { padding: 60px 0; }
  .custom-block { padding: 40px 24px; }
  .pricing-faq { padding: 80px 0 100px; }

  .cf-options-row { grid-template-columns: 1fr 1fr; }
  .cf-form-row { grid-template-columns: 1fr; }
  .cf-step-counter { right: 20px; top: 88px; }
  .cf-back { bottom: 20px; left: 20px; }
  .cf-dash-bar { display: none; }
  .cf-dash-row { padding: 16px 18px; }
  .cf-dash-desc { display: none; }
  .cf-step4-split { grid-template-columns: 1fr; gap: 24px; }
  .cf-step4-divider { display: none; }
  .cf-step4-calendar { padding-top: 0; margin-left: 0; }
  .ci-v2-row { flex-direction: column; }
  .ci-v2-divider { width: 100%; height: 1px; }
  .ci-v2-item { padding: 20px 24px; }
  .ci-v2-arrow { opacity: 1; transform: none; }

  .ci-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-info { padding: 80px 0; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; align-items: center; }
  .footer-tagline { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 90px 16px 28px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-visual { min-height: 400px; }
  .hero-visual-bg { width: 240px; height: 240px; }
  .phone.hero-phone-single { width: 140px; height: 291px; border-radius: 24px; }
  .hero-stat { padding: 8px 12px; border-radius: 8px; }
  .hero-stat-num { font-size: 0.95rem; }
  .hero-stat-label { font-size: 0.55rem; }
  .hero-stat-3, .hero-stat-4 { display: none; }
  .ai-process-grid { grid-template-columns: 1fr; }

  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 24px 8px; }
  .stat-num { font-size: 1.8rem; }
  .stat-card { padding: 28px 12px 24px; }
  .stat-num-wrap { height: 2.4rem; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-grid.grid-vertical { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .p-grid.grid-production { grid-template-columns: 1fr; gap: 16px; }
  .p-grid.grid-branding { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-grid.grid-webdev { grid-template-columns: 1fr; gap: 16px; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }

  .cta-title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-col { align-items: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }

  .tab-bar { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.8rem; }

  .pricing-card { padding: 24px 18px; }
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .about-img-overlay { left: 16px; bottom: 16px; }

  .cf-options-row { grid-template-columns: 1fr; }
  .cf-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .cf-submit { align-self: stretch; }
}
