/* ===========================================================
   Frisky Designs — Design System
   Bold, colour-obsessed, maximalist agency theme
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400..900;1,400..900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Palette */
  --bg: #0c0c0c;
  --bg-alt: #131313;
  --bg-soft: #191919;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);

  --text: #f5f5f6;
  --text-dim: #b5b5b5;
  --text-faint: #7f7f7f;

  --purple: #8b5cf6;
  --purple-2: #6d28d9;
  --pink: #ff2e8a;
  --orange: #ff7a3d;
  --yellow: #ffd23f;
  --lime: #c4f135;
  --blue: #35d1ff;

  --grad-hero: linear-gradient(135deg, var(--pink) 0%, var(--purple) 48%, var(--orange) 100%);
  --grad-lime: linear-gradient(135deg, var(--lime), var(--blue));
  --grad-warm: linear-gradient(135deg, var(--orange), var(--pink));
  --grad-text: linear-gradient(90deg, #ffffff 0%, #a8a8b3 55%, #55555f 100%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1220px;
}

/* Home page only: premium black theme.
   Every gradient/derived rule that references --pink/--purple/etc.
   (buttons, CTA band, hero blobs, stats, thumbnails, testimonial
   avatars) is built from these, so redefining them here recolours
   the whole page to a black/charcoal palette with a muted gold
   accent, while every other page keeps the original bright colours. */
body.home {
  --purple: #3a3a3a;    /* charcoal sheen (gradient midpoint) */
  --purple-2: #161616;  /* near-black */
  --pink: #0a0a0a;      /* black (gradient start) */
  --orange: #1f1f1f;    /* dark charcoal (gradient end) */
  --yellow: #c9a35f;    /* muted gold — star ratings */
  --lime: #c9a35f;      /* muted gold — primary accent (dot, underline, checkmarks, hovers) */
  --blue: #3a3a3a;       /* charcoal touch */
}
body.home .btn-primary { box-shadow: 0 10px 30px -8px rgba(201, 163, 95, 0.3); }
body.home .btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(201, 163, 95, 0.45); }
body.home .btn-nav, body.home .btn-nav:hover { box-shadow: none; }

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay for texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--pink); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #ffffff; border-radius: 10px; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

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

/* Home hero only: white text, same size as rest of headline */
body.home .text-grad {
  background-image: none;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 560px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.section-head > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 16px 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-hero);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 46, 138, 0.55);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 0;
  box-shadow: 0 16px 40px -8px rgba(255, 122, 61, 0.6);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-3px);
}
.featured-case .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}
.contact-info-card .btn-outline:hover,
.form-back:hover {
  border-color: #fff;
  color: #fff;
}
.form-next {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: none;
}
.form-next:hover {
  background: #ffffff;
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: none;
}
.form-submit {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: none;
}
.form-submit:hover {
  background: #ffffff;
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: none;
}
body.home .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}
.hero-actions .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}
.hero-actions .btn-white {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0a0a;
}
.hero-actions .btn-white:hover,
body.home .hero-actions .btn-white:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0a0a;
}

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

/* ---------- Nav ---------- */
#project-form { scroll-margin-top: 90px; }

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding-top: 0;
  height: 84px;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.75) 0%, rgba(8, 8, 8, 0.4) 75%, rgba(8, 8, 8, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.corner-logo {
  position: absolute;
  top: 50%;
  left: 28px;
  transform: translateY(-50%);
  z-index: 501;
}
.corner-logo img {
  display: block;
  width: 68px;
  height: 68px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span { color: var(--lime); }
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--text-dim); transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
}

.btn-nav {
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}
.btn-nav:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-panel.open { opacity: 1; pointer-events: auto; }
.mobile-panel a { font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 600; }

/* ---------- Blobs / hero background ---------- */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  animation: float 16s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: var(--pink); top: -140px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: var(--purple); top: 100px; right: -140px; animation-delay: -4s; }
.blob-3 { width: 360px; height: 360px; background: var(--orange); bottom: -160px; left: 30%; animation-delay: -8s; }

/* Premium background dressing, home hero only */
.hero .blob-field::before,
.hero .blob-field::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 95, 0.25);
  pointer-events: none;
}
.hero .blob-field::before { width: 640px; height: 640px; top: -240px; right: -220px; animation: spin-slow 60s linear infinite; }
.hero .blob-field::after { width: 300px; height: 300px; bottom: -120px; left: 8%; border-color: rgba(255, 255, 255, 0.1); animation: spin-slow-reverse 45s linear infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin-slow-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 20px;
}
@media (min-width: 1024px) {
  .hero {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
  }
  .hero-inner { width: 100%; }
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 12, 12, 0.25) 0%, rgba(12, 12, 12, 0.4) 60%, rgba(12, 12, 12, 0.65) 100%);
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 980px; margin-bottom: 18px; }
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.hero-tagline b { color: var(--lime); font-weight: 600; }
.hero .lead { margin: 0 auto 40px; text-align: center; }

.hero-divider {
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-lime);
  margin: 0 auto 26px;
}
.hero-statement {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 1080px;
  margin: 0 auto 20px;
  text-align: center;
  font-weight: 400;
}
.hero-statement .accent {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4em;
  letter-spacing: -0.01em;
  margin: 8px 0;
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 55%, var(--text-faint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }

.hero-slider {
  position: relative;
  height: 1.4em;
  margin: 0 auto 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-align: center;
}
.hero-slider span {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  animation: heroSliderFade 6s infinite;
}
.hero-slider span:nth-child(2) { animation-delay: 3s; }
@keyframes heroSliderFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  42% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-stats {
  display: flex;
  width: 100%;
  max-width: 720px;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stats .stat {
  flex: 1;
  padding: 12px 26px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .num {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.hero-stats .label { font-size: 0.68rem; color: var(--text-faint); margin-top: 2px; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-alt);
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll-left 26s linear infinite;
}
.marquee-track span {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span i { color: var(--lime); font-style: normal; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Image slider ---------- */
.image-slider {
  overflow: hidden;
  padding: 50px 0;
}
.image-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 105s linear infinite;
}
.image-slider:hover .image-slider-track {
  animation-play-state: paused;
}
.slider-img {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(60, 60, 65, 0.85);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
@media (max-width: 760px) {
  .slider-img { width: 240px; height: 300px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; }
.section-tight { padding: 52px 0; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Client logo strip ---------- */
.logo-strip { padding: 36px 0; border-bottom: 1px solid var(--border); }
.logo-strip-head {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 54px;
}
.logo-row .client-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-faint);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
  letter-spacing: -0.01em;
}
.logo-row .client-name:hover { opacity: 1; color: var(--lime); }
.client-logo {
  position: relative;
  display: inline-block;
  width: 144px;
  height: 53px;
}
.client-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s var(--ease);
}
.client-logo .logo-color { opacity: 0; }
.client-logo:hover .logo-color { opacity: 1; }

/* ---------- Bento / cards ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

.track-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.track-duration {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.card-glow-pink .card-icon { background: var(--grad-warm); }
.card-glow-purple .card-icon { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.card-glow-lime .card-icon { background: var(--grad-lime); color: #0c0c0c; }

.card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.card-numbered { padding: 22px 20px; }
.card-numbered .card-num { font-size: 1.4rem; top: 12px; right: 14px; }
.card-numbered h3 { font-size: 1.05rem; line-height: 1.3; padding-right: 32px; margin-bottom: 0; }

.card-feature {
  background: var(--grad-hero);
  color: #fff;
  border: none;
}
.card-feature p { color: rgba(255,255,255,0.85); }

/* ---------- Portfolio grid ---------- */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active {
  background: linear-gradient(90deg, #ffffff, #cfcfcf);
  color: #0a0a0a;
  border-color: transparent;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.work-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.4s var(--ease);
}
.work-item.hidden { display: none; }
.work-item:hover { transform: translateY(-6px); }
.work-thumb {
  height: 320px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-meta { flex-shrink: 0; }
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-grid.masonry {
  display: block;
  column-count: 2;
  column-gap: 26px;
}
.work-grid.masonry .work-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 26px;
}
.work-grid.masonry .work-item:nth-child(3n+2) .work-thumb { height: 400px; }
.work-grid.masonry .work-item:nth-child(5n+1) .work-thumb { height: 250px; }
.work-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.work-thumb .glyph {
  font-family: 'Inter', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.22);
}
.work-meta { padding: 24px; background: var(--bg-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.work-meta h3 { font-size: 1.1rem; margin-bottom: 10px; }
.work-meta .tag { font-size: 0.78rem; color: var(--text-faint); }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags .pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-faint);
}
.work-view {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.work-view span {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.work-item:hover .work-view span { opacity: 1; transform: translateX(0); }
.work-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.work-item:hover .work-arrow { background: #fff; color: #0c0c0c; border-color: #fff; transform: rotate(45deg); }

/* ---------- Editorial work grid (varied rhythm, not equal cards) ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}
.editorial-grid .work-item.span-6 { grid-column: span 6; }
.editorial-grid .work-item.span-4 { grid-column: span 4; }
.editorial-grid .work-item.span-3 { grid-column: span 3; }
.editorial-grid .work-item.span-2 { grid-column: span 2; }
.editorial-grid .work-item.span-6 .work-thumb { height: 520px; }
.editorial-grid .work-item.span-4 .work-thumb { height: 480px; }
.editorial-grid .work-item.span-3 .work-thumb { height: 380px; }
.editorial-grid .work-item.span-2 .work-thumb { height: 320px; }
.editorial-grid .work-item.span-2 .work-view span { display: none; }
@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid .work-item.span-6,
  .editorial-grid .work-item.span-4,
  .editorial-grid .work-item.span-3,
  .editorial-grid .work-item.span-2 { grid-column: span 1; }
  .editorial-grid .work-item.span-6 .work-thumb,
  .editorial-grid .work-item.span-4 .work-thumb { height: 300px; }
  .editorial-grid .work-item.span-3 .work-thumb,
  .editorial-grid .work-item.span-2 .work-thumb { height: 260px; }
  .editorial-grid .work-item.span-2 .work-view span { display: inline; }
}

/* ---------- Featured case study ---------- */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.featured-case h2 { margin-bottom: 16px; }
.eyebrow-badge {
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.featured-case-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-case-visual img { width: 100%; height: 100%; object-fit: cover; }
.featured-case .btn-primary {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: none;
}
.featured-case .btn-primary:hover {
  box-shadow: none;
}
.featured-case-stages { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 30px; }
.featured-case-stage h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; font-weight: 800; margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.featured-case-stage p { color: var(--text-dim); font-size: 0.94rem; }
@media (max-width: 860px) {
  .featured-case { grid-template-columns: 1fr; }
  .featured-case-visual { aspect-ratio: 4/3; }
}

.thumb-1 { background: linear-gradient(135deg, var(--pink), var(--purple-2)); }
.thumb-2 { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.thumb-3 { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.thumb-4 { background: linear-gradient(135deg, var(--lime), var(--blue)); }
.thumb-5 { background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.thumb-6 { background: linear-gradient(135deg, var(--purple), var(--pink)); }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
}
.testi-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 3px; }
.testi-quote { color: var(--text-dim); font-size: 0.96rem; margin-bottom: 26px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #0c0c0c;
}
.testi-name { font-weight: 600; font-size: 0.92rem; }
.testi-role { font-size: 0.78rem; color: var(--text-faint); }

/* ---------- Google Reviews slider ---------- */
.reviews-slider { overflow: hidden; padding: 10px 0 6px; margin-top: 10px; }
.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 60s linear infinite;
}
.reviews-slider:hover .reviews-track { animation-play-state: paused; }
.review-card {
  flex-shrink: 0;
  width: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
}
.review-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.review-badge span { font-family: 'Inter', sans-serif; font-size: 0.76rem; font-weight: 600; color: var(--text-faint); }
@media (max-width: 760px) {
  .review-card { width: 280px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #0a0a0a; margin-bottom: 18px; }
.cta-band p { color: rgba(10,10,10,0.7); max-width: 620px; margin: 0 auto 36px; }
.cta-band .btn-outline { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.cta-band .btn-outline:hover { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }

body.home .cta-band {
  background-image:
    linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.9)),
    url('../assets/collage/bottom-brand-journey-banner.png');
  background-size: cover;
  background-position: center;
  padding: 70px 50px;
}
body.home .cta-band h2 { color: #fff; margin-bottom: 18px; }
body.home .cta-band p { color: rgba(255,255,255,0.85); }
body.home .cta-band .btn-outline { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: var(--text); }
body.home .cta-band .btn-outline:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.footer {
  padding: 90px 0 0;
  border-top: 1px solid var(--border);
  background: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--text-faint); margin-top: 16px; max-width: 260px; font-size: 0.9rem; }
.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact p { display: block; color: var(--text-faint); font-size: 0.85rem; max-width: 240px; }
.footer-contact a:hover { color: var(--text); }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.85rem; margin-bottom: 18px; color: var(--text); }
.footer-col a { display: block; color: var(--text-faint); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-illustration {
  width: 100%;
  height: 220px;
  overflow: hidden;
  opacity: 0.7;
}
.footer-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 140px 0 50px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin: 0 auto 20px; }
.page-hero .lead { margin: 0 auto; text-align: center; max-width: 1000px; }
.page-hero .hero-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  margin: 22px 0 0;
}
.page-hero .hero-actions { margin-top: 28px; margin-bottom: 0; }

.error-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16);
  margin-bottom: 10px;
}

/* ---------- Trust checklist ---------- */
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #0c0c0c;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  flex-shrink: 0;
}
.trust-note { text-align: center; color: var(--text-faint); font-size: 0.8rem; margin-top: 20px; }

/* ---------- Mastery grid (What You'll Master) ---------- */
.mastery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mastery-grid .skill-list { list-style: none; padding: 0; margin: 0; color: var(--text-dim); font-size: 0.92rem; }
.mastery-grid .skill-list li { padding: 7px 0; border-top: 1px solid var(--border); }
.mastery-grid .skill-list li:first-child { border-top: none; }
@media (max-width: 900px) { .mastery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mastery-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline (Your 6-Month Journey) ---------- */
.timeline-list { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.timeline-step { display: flex; align-items: center; gap: 20px; width: 100%; max-width: 420px; }
.timeline-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #0c0c0c;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.timeline-month { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.timeline-step h3 { margin: 0; font-size: 1.1rem; }
.timeline-arrow { width: 48px; text-align: center; color: var(--text-faint); padding: 4px 0; }

/* ---------- Insight articles ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: 0.85rem; font-weight: 600; margin-bottom: 28px; transition: color 0.25s; }
.back-link:hover { color: var(--text); }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; border: 1px solid var(--border); }
.article-hero-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.article-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.article-meta-row .pill { font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--text-faint); }
.article-meta-row .date { font-size: 0.85rem; color: var(--text-faint); }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.75; margin-bottom: 22px; }
.article-body h2 { font-size: 1.6rem; margin: 44px 0 18px; }
.article-body ul { margin: 0 0 24px; padding-left: 22px; color: var(--text-dim); }
.article-body ul li { margin-bottom: 10px; line-height: 1.7; }
.article-body strong { color: var(--text); }
.article-body blockquote { border-left: 3px solid var(--lime); padding: 6px 0 6px 24px; margin: 32px 0; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--text); font-style: italic; }
.article-body img { width: 100%; border-radius: var(--radius-md); margin: 8px 0 32px; display: block; }
.article-byline { text-align: center; color: var(--text-faint); font-size: 0.9rem; margin-top: -8px; }
.article-cta-heading { text-align: center; margin: 48px 0 6px; }
.article-comments { max-width: 760px; margin: 60px auto 0; padding-top: 50px; border-top: 1px solid var(--border); }
.article-comments h3 { margin-bottom: 24px; }
@media (max-width: 640px) {
  .article-hero-img img { height: 240px; }
}

/* ---------- Case study pages ---------- */
.case-body { max-width: 980px; margin: 0 auto; }
.case-body > p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.75; margin-bottom: 22px; max-width: 720px; }
.case-body h2 { font-size: 1.7rem; margin: 56px 0 18px; }
.case-body img { width: 100%; border-radius: var(--radius-md); display: block; }
.case-full-img { margin: 32px 0; }
.case-gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; align-items: stretch; }
.case-gallery-2 img { height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .case-gallery-2 { grid-template-columns: 1fr; }
  .case-gallery-2 img { height: 340px; }
}
.logo-folio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.logo-folio-grid figure { margin: 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.logo-folio-grid img { width: 100%; height: 220px; object-fit: contain; padding: 20px; box-sizing: border-box; border-radius: 0; display: block; background: #0c0c0c; }
.logo-folio-grid figcaption { padding: 14px 18px 18px; font-size: 0.85rem; color: var(--text-dim); text-align: center; border-top: 1px solid var(--border); }
@media (max-width: 760px) {
  .logo-folio-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .logo-folio-grid img { height: 150px; padding: 14px; }
}
@media (max-width: 480px) {
  .logo-folio-grid { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.capsule-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas:
    "hero wide wide"
    "hero small1 small2";
  gap: 20px;
}
.capsule {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.capsule:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--surface-strong);
}
.capsule-hero { grid-area: hero; }
.capsule-wide { grid-area: wide; }
.capsule-small-1 { grid-area: small1; }
.capsule-small-2 { grid-area: small2; }
@media (max-width: 900px) {
  .capsule-grid { grid-template-columns: 1fr; grid-template-areas: "hero" "wide" "small1" "small2"; }
}
.about-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owner-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(12, 12, 12, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.owner-badge .name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.88rem; color: #fff; }
.owner-badge .role { font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; text-decoration: underline; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.values-grid.wrap-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.values-grid.wrap-5 .card { flex: 1 1 200px; max-width: 230px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #0c0c0c;
}
.team-card h3 { margin-bottom: 6px; }
.team-card .role { color: var(--text-faint); font-size: 0.85rem; }
.team-card .bio { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; margin-top: 14px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.process-list { position: relative; display: flex; flex-direction: column; }
.process-list::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--border);
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 36px 0;
  align-items: start;
}
.process-num {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--text-dim); max-width: 560px; }

.process-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
}
.process-horizontal::before { display: none; }
.process-horizontal .process-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.process-horizontal .process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--surface-strong);
}
.process-horizontal .process-num {
  font-size: 1.3rem;
}
.process-horizontal .process-step h3 {
  font-size: 1.5rem;
}
.process-horizontal .process-step:not(:nth-child(3n))::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--text-faint);
}
@media (max-width: 900px) {
  .process-horizontal { grid-template-columns: repeat(2, 1fr); }
  .process-horizontal .process-step:not(:nth-child(3n))::after { display: none; }
}
@media (max-width: 560px) {
  .process-horizontal { grid-template-columns: 1fr; }
}

/* ---------- Services page ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--border);
}
.service-block:last-child { border-bottom: 1px solid var(--border); }
.service-num { color: var(--text-faint); font-family: 'Inter', sans-serif; margin-bottom: 18px; }
.service-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.service-list li { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.94rem; }
.service-list li::before { content: '✦'; color: var(--lime); }

.capability-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 32px;
}
.capability-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  display: inline-block;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.capability-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--surface-strong);
}
.service-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.service-visual span { font-family: 'Inter', sans-serif; font-size: 3.2rem; font-weight: 800; color: rgba(255,255,255,0.3); }

/* ---------- Services solutions (monochrome hover cards) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.solution-card {
  display: block;
  background: var(--bg);
  padding: 48px 40px;
  transition: background 0.4s var(--ease);
}
.solution-card:hover, .solution-card:focus { background: var(--bg-alt); }
.solution-num {
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.solution-card h2 { margin-bottom: 10px; }
.solution-tagline { color: var(--text-dim); font-size: 1rem; margin-bottom: 16px; }
.solution-desc { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 20px; }
.solution-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-bottom 0.4s var(--ease);
}
.solution-card:hover .solution-reveal,
.solution-card:focus .solution-reveal,
.solution-card:focus-within .solution-reveal { max-height: 320px; opacity: 1; margin-bottom: 20px; }
.solution-reveal-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.solution-reveal ul { display: flex; flex-direction: column; gap: 8px; }
.solution-reveal ul li { font-size: 0.88rem; color: var(--text-dim); display: flex; gap: 10px; }
.solution-reveal ul li::before { content: '—'; color: #fff; }
.solution-best {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
@media (max-width: 760px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-reveal { max-height: none; opacity: 1; margin-bottom: 20px; }
}

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

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .package-grid { grid-template-columns: 1fr; }
}
.package-grid .price-card {
  position: relative;
  overflow: hidden;
  padding: 26px 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.package-grid .price-name {
  display: inline-block;
  align-self: flex-start;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(201, 163, 95, 0.12);
  border: 1px solid rgba(201, 163, 95, 0.3);
  border-radius: var(--radius-pill);
}
.package-grid .package-heading {
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}
.package-grid .package-tagline {
  font-size: 0.84rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.package-grid .price-card > p:first-of-type {
  line-height: 1.55;
}
.package-grid .price-card ul {
  gap: 9px;
  margin-bottom: 0;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid var(--border);
}
.package-grid .price-card ul li { line-height: 1.3; }
.package-grid .price-card > p:last-child {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
  font-style: italic;
}
.package-grid .price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #ffffff;
}
.package-grid .price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}
.package-grid .package-num {
  position: absolute;
  top: 14px;
  right: 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--grad-hero);
  border-color: transparent;
  transform: scale(1.03);
}
.price-card.featured * { color: #fff !important; }
.price-card .price-name { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: #ffffff; margin-bottom: 10px; }
.price-card .price-amount { font-family: 'Inter', sans-serif; font-size: 2.4rem; font-weight: 700; margin-bottom: 20px; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; flex-grow: 1; }
.price-card ul li { font-size: 0.9rem; color: var(--text-dim); display: flex; gap: 10px; }
.price-card ul li::before { content: '✓'; color: #ffffff; font-weight: 700; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s;
  font-family: inherit;
  font-size: 0.92rem;
}
.form-group select {
  color-scheme: dark;
}
.form-group select option {
  background: #1a1a1a;
  color: var(--text);
}
.field-invalid {
  outline: 1.5px solid #ff4d4d;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.form-group.field-invalid > label {
  color: #ff4d4d;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #fff; }
.scale-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.scale-row .scale-label { font-size: 0.85rem; color: var(--text-dim); width: 150px; flex-shrink: 0; }
.scale-row .scale-value { font-size: 0.85rem; color: var(--text); font-weight: 700; min-width: 14px; text-align: center; flex-shrink: 0; }
.style-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.style-slider:focus,
.style-slider:focus-visible {
  outline: none;
  box-shadow: none;
}
.style-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.style-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.style-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
}
.style-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.budget-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.budget-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: all 0.25s;
}
.budget-pill input { display: none; }
.budget-pill.checked, .budget-pill:has(input:checked) {
  background: #ffffff;
  color: #0a0a0a;
  border-color: transparent;
}
.form-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 14px; }
.form-success {
  display: none;
  border-radius: var(--radius-md);
  background: var(--grad-lime);
  color: #0c0c0c;
  padding: 18px 22px;
  font-weight: 600;
  margin-bottom: 22px;
}
.form-success.show { display: block; }

.contact-info-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px;
  margin-bottom: 20px;
}
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--lime); color: #0c0c0c; border-color: var(--lime); transform: translateY(-3px); }

/* ---------- Multi-step project form ---------- */
.step-indicator { font-size: 0.8rem; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.form-step { display: none; }
.form-step.active { display: block; }
.build-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.build-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.build-option input { display: none; }
.build-option .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: all 0.25s; }
.build-option:has(input:checked) { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.build-option:has(input:checked) .dot { border-color: #fff; background: #fff; }
.color-swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.color-swatch { cursor: pointer; text-align: center; }
.color-swatch input { display: none; }
.color-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  display: block;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.color-swatch:has(input:checked) img { border-color: #fff; border-width: 3px; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); transform: scale(1.04); }
.color-swatch span { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--text-dim); }
.color-swatch:has(input:checked) span { color: #fff; font-weight: 800; }
@media (max-width: 640px) {
  .color-swatch-grid { grid-template-columns: repeat(3, 1fr); }
}

.checkbox-row { display: flex; gap: 8px; flex-wrap: nowrap; }
.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .checkbox-row { flex-wrap: wrap; }
}
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.form-nav .btn { flex-shrink: 0; }
.form-success-detail {
  display: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 40px;
}
.form-success-detail.show { display: block; }
.form-success-detail h3 { margin-bottom: 20px; }
.confirm-steps { display: flex; flex-direction: column; gap: 4px; }
.confirm-steps .confirm-step { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.95rem; }
.confirm-steps .confirm-step .check { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #0c0c0c; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.confirm-steps .confirm-arrow { width: 26px; text-align: center; color: var(--text-faint); }
@media (max-width: 640px) {
  .build-options { grid-template-columns: 1fr; }
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}
.faq-plus { font-size: 1.3rem; color: #ffffff; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  color: var(--text-dim);
  font-size: 0.92rem;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 2; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid.masonry { column-count: 1; }
  .testi-grid { grid-template-columns: 1fr; }
  .about-grid, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-stats .stat { padding: 22px 26px; }
}

@media (max-width: 760px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-panel { display: flex; }
  .corner-logo { display: none; }
  section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; width: 100%; border-radius: var(--radius-lg); }
  .hero-stats .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats .stat:last-child { border-bottom: none; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.55); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 480px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
