/* ===== Base & tokens ===== */
:root {
  --bg: #0a0a0b;
  --bg-alt: #101012;
  --bg-elev: #141417;
  --ink: #f6f6f4;
  --ink-soft: #9c9ca6;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --gold: #f2c14e;
  --gold-2: #d9a531;
  --gold-soft: rgba(242, 193, 78, 0.14);
  --grad-gold: linear-gradient(120deg, #f7d978, #e8b54a 55%, #c98f24);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(242, 193, 78, 0.35);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark, .footer-wordmark, .stat-num, .price-amount, .hero-title, .section-head h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; color: var(--gold); }
::selection { background: var(--gold); color: #0a0a0b; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ===== Logo ===== */
.logo-img { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; color: var(--ink); transition: color .2s ease; }
.logo-img:hover .brand-logo { color: var(--gold); }
.brand-logo-footer { height: 40px; margin-bottom: 18px; color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  padding: 12px 22px; border-radius: 999px; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold); color: #0a0a0b; box-shadow: 0 10px 30px -10px rgba(242,193,78,.55); }
.btn-primary:hover { background: #f7d075; box-shadow: 0 16px 40px -12px rgba(242,193,78,.6); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.inline-link { color: var(--gold); font-weight: 600; }
.inline-link:hover { color: #f7d075; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 10px 40px -24px rgba(0,0,0,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #0a0a0b; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.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); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 98vh; display: grid; grid-template-rows: 1fr auto;
  padding: 122px 0 40px; background: #06060a;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Tiled logo-mark pattern, tinted gold via CSS mask */
.hero-pattern {
  position: absolute; inset: -10%;
  background: var(--gold); opacity: .055;
  -webkit-mask: url("assets/pattern.svg") center / 560px auto repeat;
  mask: url("assets/pattern.svg") center / 560px auto repeat;
}
/* Animated circular halo glow (Soale-style, in gold) */
.hero-aurora {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%);
  width: min(1080px, 120vw); aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at center,
    transparent 17%,
    rgba(245, 186, 70, 0.42) 33%,
    rgba(255, 122, 38, 0.30) 48%,
    rgba(214, 84, 18, 0.16) 60%,
    transparent 72%);
  filter: blur(26px);
  animation: auroraPulse 8s ease-in-out infinite alternate;
}
.hero-aurora::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(255, 150, 50, 0.26) 55deg,
    transparent 140deg, transparent 215deg,
    rgba(245, 186, 70, 0.22) 295deg, transparent 360deg);
  filter: blur(42px);
  animation: auroraSpin 24s linear infinite;
}
/* Fade edges into the page so the hero blends top & bottom */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 65% at 50% 45%, transparent 45%, rgba(6,6,10,.55) 100%),
    linear-gradient(180deg, rgba(6,6,10,.7) 0%, transparent 22%, transparent 72%, #0a0a0b 100%);
}
@keyframes auroraPulse {
  from { transform: translate(-50%, -50%) scale(.9); opacity: .72; }
  to   { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
@keyframes auroraSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-aurora, .hero-aurora::before { animation: none; }
}

.hero-inner { position: relative; z-index: 2; align-self: center; text-align: center; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 26px; background: rgba(255,255,255,.03); }
.eyebrow-spark { color: var(--gold); }
.hero-title { font-size: clamp(42px, 6.6vw, 78px); line-height: 1.0; font-weight: 700; letter-spacing: -.045em; margin-bottom: 24px; }
.grad { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.btn-circle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line-2); background: rgba(255,255,255,.04); transition: transform .18s ease, background .2s, border-color .2s, color .2s; }
.btn-circle:hover { transform: translateY(-2px) rotate(8deg); background: var(--gold); border-color: var(--gold); color: #0a0a0b; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 42px; }

/* Hero stats strip (pinned to bottom of hero) */
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.hero-stat { padding-top: 20px; border-top: 1px solid var(--line-2); }
.hero-stat-num { display: block; font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat-label { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.avatar-stack { display: flex; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #0a0a0b; border: 2px solid #06060a; margin-left: -10px; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.av:first-child { margin-left: 0; }
.hero-trust-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; text-align: left; }
.hero-trust-text strong { color: var(--ink); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ===== Logos ===== */
.logos { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.logos-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 26px; }
.logos-row.marquee-track { gap: 56px; align-items: center; }
.logos-row img { height: 40px; width: auto; opacity: .4; filter: brightness(0) invert(1); transition: opacity .2s; }
.logos-row img:hover { opacity: .85; }

/* ===== Marquee (sliding) ===== */
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; align-items: stretch; width: max-content; gap: 24px; animation: marquee var(--duration, 45s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Stats ===== */
.stats { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 8px; }
.stat-num { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ===== Generic section ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 16px; }

/* ===== Deliverables grid ===== */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.deliverable:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.deliverable h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.deliverable h3::before { content: "→"; color: var(--gold); margin-right: 8px; }
.deliverable p { color: var(--ink-soft); font-size: 15px; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.feature h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.step-num { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 19px; color: #0a0a0b; background: var(--grad-gold); margin-bottom: 20px; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step-time { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--gold); background: var(--gold-soft); padding: 4px 12px; border-radius: 999px; }

/* ===== Case studies ===== */
.case { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.case:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.case h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--gold); margin-bottom: 18px; }
.case-line { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.case-line strong { color: var(--ink); font-weight: 600; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { position: relative; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price-card.featured { border-color: rgba(242,193,78,.5); box-shadow: var(--glow); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #0a0a0b; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; }
.price-name { font-size: 22px; font-weight: 700; }
.price-for { font-size: 14px; color: var(--ink-soft); margin-top: 8px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 22px; flex-wrap: wrap; }
.price-from { font-size: 14px; color: var(--ink-soft); }
.price-amount { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.price-feats { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.price-feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-soft); }
.price-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.price-guarantee { text-align: center; margin-top: 38px; color: var(--ink-soft); font-size: 16px; }
.price-guarantee strong { color: var(--gold); }

/* ===== Testimonials ===== */
.testi-grid.marquee-track { display: flex; }
.testi { width: 400px; flex-shrink: 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.testi blockquote { font-size: 16px; line-height: 1.65; color: var(--ink); }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-initial { display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #0a0a0b; background: var(--grad-gold); }
.testi figcaption strong { display: block; font-size: 15px; }
.testi figcaption span { font-size: 13.5px; color: var(--ink-soft); }

/* ===== Portfolio gallery ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { font-family: inherit; font-weight: 500; font-size: 14px; cursor: pointer; padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-soft); transition: .18s; }
.filter:hover { border-color: var(--gold); color: var(--ink); }
.filter.active { background: var(--gold); border-color: var(--gold); color: #0a0a0b; font-weight: 600; }
.gallery { columns: 2; column-gap: 20px; }
.gItem { position: relative; break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--line); }
.gItem img { width: 100%; height: auto; display: block; cursor: zoom-in; transition: transform .4s ease; }
.gItem:hover img { transform: scale(1.04); }
.gItem figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; color: #0a0a0b; background: var(--gold); padding: 6px 14px; border-radius: 999px; }
.gItem.hide { display: none; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--gold); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding-bottom: 20px; font-size: 15.5px; }

/* ===== CTA ===== */
.cta { position: relative; text-align: center; padding: 96px 24px; margin: 0 24px 84px; border-radius: 28px; overflow: hidden; background: var(--grad-gold); color: #0a0a0b; }
.cta h2 { font-family: "Space Grotesk", sans-serif; font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.035em; max-width: 780px; margin: 0 auto 16px; line-height: 1.08; }
.cta p { font-size: 18px; color: #2a2208; margin-bottom: 32px; font-weight: 500; }
.cta .btn-primary { background: #0a0a0b; color: var(--gold); box-shadow: 0 14px 34px -12px rgba(0,0,0,.5); }
.cta .btn-primary:hover { background: #19191c; }
.cta .btn-ghost { background: rgba(0,0,0,.08); color: #0a0a0b; border-color: rgba(0,0,0,.28); }
.cta .btn-ghost:hover { background: rgba(0,0,0,.16); border-color: #0a0a0b; }

/* ===== Footer ===== */
.footer { background: #050506; color: #9c9ca6; padding: 64px 0 30px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-wordmark .logo-mark { color: var(--gold); }
.footer-brand p { font-size: 15px; max-width: 360px; color: #7e7e88; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 11px; color: #9c9ca6; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: #6a6a74; flex-wrap: wrap; gap: 8px; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 5, 6, .92); cursor: zoom-out; opacity: 0; transition: opacity .2s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); cursor: default; }
.lb-close { position: absolute; top: 16px; right: 22px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #fff; background: rgba(255,255,255,.1); border: none; border-radius: 50%; cursor: pointer; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.22); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .feature-grid, .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .deliverables { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .gallery { columns: 2; }
  .price-card.featured { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: #0c0c0e; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 12px; border: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 86vh; padding: 108px 0 56px; }
  .hero-title { font-size: clamp(34px, 10vw, 48px); line-height: 1.06; }
  .hero-sub { font-size: 16px; }
  .hero-cta { width: 100%; }
  .hero-trust { flex-direction: column; gap: 12px; text-align: center; }
  .hero-trust-text { text-align: center; }
}
/* Phones: card sections become 2 columns, centered (lone last card centers) */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }

  .deliverables, .feature-grid, .feature-grid-3, .steps, .steps-4 {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  }
  .deliverable, .feature, .step, .case {
    flex: 0 1 calc(50% - 6px); min-width: 0;
    padding: 20px 15px; text-align: center;
  }
  .deliverable h3, .feature h3, .step h3, .case h3 { font-size: 15.5px; }
  .deliverable p, .feature p, .step p, .case-line { font-size: 12.5px; }
  .step-num { width: 40px; height: 40px; margin: 0 auto 14px; font-size: 17px; }
  .step-time { margin-top: 12px; }
  .case-line { margin-bottom: 6px; }
  .case h3 { margin-bottom: 12px; }

  .gallery { columns: 1; }
  .testi { width: 290px; padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta { margin: 0 14px 56px; padding: 56px 18px; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Service pages and project enquiries ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 150; background: var(--gold); color: #000; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a.btn[aria-current="page"] { color: #000; }
.services-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: auto; }
.service-link { display: flex; flex-direction: column; overflow: hidden; }
.service-link h3::before { content: none; }
.service-link h3 { font-size: 27px; }
.service-link p { font-size: 16px; max-width: 38ch; }
.service-explore { display: block; color: var(--gold); font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 24px; }
.service-art { height: 210px; margin: -30px -30px 28px; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.brand-art { background: #25221a; gap: 10px; }
.brand-art > span { font-family: 'Clash Display', sans-serif; font-size: 100px; font-weight: 600; color: #f6e8bd; letter-spacing: -.08em; margin-right: 18px; }
.brand-art i { width: 27px; height: 75px; background: var(--gold); border-radius: 4px; transform: skewY(-16deg); }
.brand-art i:nth-of-type(2) { background: #f5e8bf; }
.brand-art i:nth-of-type(3) { background: #8a7340; }
.web-art { background: #1b1d21; }
.mini-browser { width: 230px; height: 154px; border-radius: 8px; background: #eee9dc; padding: 10px 20px; transform: rotate(-5deg); box-shadow: 20px 20px 0 #38342a; color: #151515; }
.mini-browser > span { display: block; height: 8px; width: 34px; border-radius: 10px; background: #aaa497; margin-bottom: 15px; }
.mini-browser b { font-family: 'Space Grotesk', sans-serif; font-size: 26px; line-height: 1.08; display: block; }
.mini-browser i { width: 70px; height: 15px; background: #ba8629; display: block; border-radius: 20px; margin-top: 14px; }
.breadcrumb { color: var(--ink-soft); font-size: 14px; display: inline-block; margin-bottom: 30px; }
.breadcrumb:hover { color: var(--gold); }
.service-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 90px; }
.service-hero h1, .page-heading h1, .order-intro h1, .thank-you h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -.055em; line-height: 1.05; }
.muted-heading { color: #9d9b94; }
.service-hero-copy > p { color: #b2b1b9; font-size: 17px; max-width: 46ch; margin: 25px 0 30px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.service-cover { border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; position: relative; background: #161618; }
.service-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service-cover figcaption { padding: 22px 26px; background: #181818; }
.service-cover figcaption span { display: block; color: var(--gold); font-size: 14px; margin-bottom: 6px; }
.service-cover figcaption strong { font-size: 18px; }
.split-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.split-intro h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.scope-list article { padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.scope-list article:first-child { padding-top: 0; }
.scope-list h3 { font-size: 21px; margin-bottom: 10px; }
.scope-list p { font-size: 16px; color: #b2b1b9; max-width: 48ch; }
.web-hero-preview { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #161616; transform: rotate(2deg); }
.web-hero-preview > img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.browser-bar { display: flex; align-items: center; height: 34px; gap: 5px; padding: 0 13px; background: #232326; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #77777d; }
.browser-bar span { color: #c0bdaf; margin-left: 12px; font-size: 11px; }
.preview-note { display: block; padding: 16px 18px; color: #d1cec5; font-size: 14px; }
.web-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 24px; }
.web-project { min-width: 0; }
.project-preview { display: block; width: 100%; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #171719; cursor: zoom-in; position: relative; padding: 0; color: inherit; font-family: inherit; }
.project-preview img { width: 100%; height: 370px; object-fit: cover; object-position: top; transition: filter .25s; }
.preview-label { position: absolute; bottom: 16px; left: 16px; color: #000; background: var(--gold); padding: 8px 15px; border-radius: 24px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 20px #0006; }
.project-preview:hover img { filter: brightness(.85); }
.project-meta { padding: 16px 4px 0; }
.project-meta h3 { font-size: 22px; letter-spacing: -.025em; }
.project-meta span { color: var(--ink-soft); font-size: 14px; }
.web-preview img { height: 380px; object-fit: cover; object-position: top; }
.page-heading { text-align: center; padding-top: 76px; padding-bottom: 30px; }
.page-heading p { max-width: 560px; color: #b2b1b9; font-size: 18px; margin: 24px auto 0; }
.packages-section { padding-top: 56px; }
.package-type { color: var(--gold); font-size: 13px; display: block; margin-bottom: 14px; }
.package-web-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 32px; border: 1px solid var(--line-2); border-radius: 16px; margin-top: 40px; }
.package-web-note h3 { font-size: 23px; margin-bottom: 8px; }
.package-web-note p { max-width: 58ch; color: var(--ink-soft); font-size: 16px; }
.order-main { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 80px; padding-top: 72px; padding-bottom: 100px; }
.order-intro { position: sticky; top: 112px; }
.order-intro h1 { font-size: clamp(36px, 4.6vw, 58px); }
.order-intro > p { margin: 26px 0; max-width: 41ch; color: #b2b1b9; font-size: 17px; }
.contact-email { color: var(--gold); font-size: 18px; overflow-wrap: anywhere; }
.order-next { border-top: 1px solid var(--line-2); margin-top: 42px; padding-top: 28px; }
.order-next h2 { font-size: 20px; margin-bottom: 18px; }
.order-next ol { padding-left: 20px; color: #b2b1b9; font-size: 16px; }
.order-next li { margin-bottom: 12px; padding-left: 6px; }
.order-next > p { color: var(--gold); font-size: 14px; margin-top: 22px; }
.order-panel { background: #131315; border: 1px solid var(--line-2); border-radius: 22px; padding: 36px; min-width: 0; }
.order-panel h2 { font-size: 26px; letter-spacing: -.03em; }
.form-intro { font-size: 14px; color: var(--ink-soft); margin: 8px 0 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 9px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; background: #0b0b0d; border: 1px solid #3a3a40; border-radius: 9px; color: var(--ink); font: inherit; font-size: 16px; padding: 13px 14px; }
.field select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f2c14e' stroke-width='1.6'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 10px center; }
.field input::placeholder, .field textarea::placeholder { color: #85858e; }
.field textarea { resize: vertical; min-height: 150px; }
.field-hint { color: #a8a8b0; font-size: 13px; line-height: 1.5; }
.form-consent { display: flex; align-items: flex-start; gap: 11px; margin: 25px 0; font-size: 14px; color: #b2b1b9; cursor: pointer; }
.form-consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.form-note { color: #a8a8b0; font-size: 13px; line-height: 1.6; margin-top: 16px; }
.form-note[data-error] { color: #ffbe9e; }
#formSecuritySubmit { margin-top: 16px; }
[hidden] { display: none !important; }
.form-trap { display: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.thank-you { text-align: center; max-width: 800px; padding-top: 90px; padding-bottom: 110px; }
.thank-mark { margin: 0 auto 30px; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 30px; }
.thank-you p { max-width: 60ch; margin: 24px auto; font-size: 17px; color: #b2b1b9; }
.thank-you .page-actions { justify-content: center; }
.footer-brand > a { margin-bottom: 20px; }
.project-dialog { width: min(1000px, 94vw); height: 92dvh; max-height: 92dvh; border: 1px solid #444; border-radius: 15px; padding: 0; background: #101012; color: var(--ink); margin: auto; overflow: hidden; }
.project-dialog::backdrop { background: #000d; backdrop-filter: blur(6px); }
.project-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; background: #161618; }
.project-dialog-header h2 { font-size: 18px; }
.project-dialog-header button { width: 44px; height: 44px; border: 1px solid #555; background: transparent; color: #fff; border-radius: 50%; font-size: 26px; cursor: pointer; }
.project-dialog-body { height: calc(100% - 70px); overflow-y: auto; overscroll-behavior: contain; }
.project-dialog-body img { display: block; width: 100%; height: auto; }
.project-dialog-body p { padding: 14px; font-size: 14px; }
@media (max-width: 980px) {
  .service-hero { gap: 35px; }
  .order-main { gap: 35px; }
  .order-panel { padding: 25px; }
}
@media (max-width: 760px) {
  .service-hero { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 60px; text-align: center; }
  .service-hero-copy > p { margin-left: auto; margin-right: auto; }
  .page-actions { justify-content: center; }
  .service-cover, .web-hero-preview { width: min(100%, 460px); margin: 0 auto; }
  .split-intro { grid-template-columns: 1fr; gap: 35px; }
  .split-intro > div:first-child { text-align: center; }
  .scope-list { max-width: 580px; margin: 0 auto; }
  .order-main { grid-template-columns: 1fr; max-width: 620px; padding-top: 42px; gap: 36px; }
  .order-intro { position: static; text-align: center; }
  .order-intro > p { margin-left: auto; margin-right: auto; }
  .order-next { text-align: left; }
  .package-web-note { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .service-link { padding: 18px 12px; }
  .service-link .service-art { height: 125px; margin: -18px -12px 20px; }
  .service-link h3 { font-size: 20px; }
  .service-link p { font-size: 14px; }
  .service-explore { font-size: 13px; padding-top: 20px; }
  .brand-art { gap: 5px; }
  .brand-art > span { font-size: 58px; margin-right: 3px; }
  .brand-art i { width: 12px; height: 43px; }
  .mini-browser { width: 130px; height: 96px; padding: 8px 11px; }
  .mini-browser > span { height: 4px; width: 25px; margin-bottom: 8px; }
  .mini-browser b { font-size: 20px; }
  .mini-browser i { height: 8px; width: 40px; margin-top: 8px; }
  .web-project-grid { gap: 28px 12px; }
  .project-preview img { height: 210px; }
  .project-meta h3 { font-size: 17px; }
  .project-meta span { font-size: 13px; }
  .project-meta { text-align: center; }
  .preview-label { font-size: 11px; left: 7px; bottom: 8px; padding: 6px 9px; }
  .web-preview img { height: 300px; }
  .page-heading { padding-top: 42px; }
  .page-heading h1 { font-size: 40px; }
  .page-heading p { font-size: 16px; }
  .order-panel { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-consent { font-size: 13px; }
  .order-panel h2 { font-size: 24px; }
  .orderSubmit, #orderSubmit { font-size: 15px; white-space: normal; }
  .project-dialog-header { padding-left: 12px; padding-right: 12px; }
  .project-dialog-header h2 { font-size: 16px; }
}
