/* ======================================================================
   RJSL Designs — premium customisation site
   Bold, modern, dark-themed. Built to feel high-end and confident.
   ====================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #08080a;
  --bg-soft:   #0f0f12;
  --surface:   #131318;
  --surface-2: #1a1a21;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Brand — RJSL Designs red */
  --accent:        #e10600;   /* signature red */
  --accent-soft:   #ff2a1f;
  --accent-deep:   #a30000;
  --accent-glow:   rgba(225, 6, 0, 0.45);

  /* Text */
  --text:    #f5f5f7;
  --text-mid:#b8b8bf;
  --text-dim:#7a7a82;

  /* Type */
  --font-display: "Syne", "Space Grotesk", system-ui, sans-serif;
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;

  /* Radius / shadow */
  --radius:    16px;
  --radius-lg: 28px;
  --shadow:    0 30px 80px -20px rgba(0,0,0,.6);

  /* Container */
  --max: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-mid); }
ul { margin: 0; padding: 0; list-style: none; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--text); }
.btn--lg { padding: 16px 26px; font-size: 16px; }

/* ---------- Top offer bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.4); opacity: 0.7; }
}
.topbar__text strong { font-weight: 700; }
.topbar__cta {
  background: rgba(0,0,0,0.25);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
}
.topbar__cta:hover { background: rgba(0,0,0,0.45); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,10,0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled {
  background: rgba(8,8,10,0.92);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}
@media (max-width: 640px) {
  .nav__inner { height: 76px; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__logo {
  height: 68px;
  width: auto;
  display: block;
  /* Crisp rendering on retina */
  image-rendering: -webkit-optimize-contrast;
  transition: transform .25s ease;
}
.brand:hover .brand__logo { transform: scale(1.04); }
.brand__logo--lg { height: 110px; margin-bottom: 8px; }

@media (max-width: 640px) {
  .brand__logo { height: 52px; }
  .brand__logo--lg { height: 88px; }
}

/* Text-based wordmark logo (file-free fallback) */
.brand__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  font-family: 'Syne', var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .25s ease;
}
.brand:hover .brand__wordmark { transform: scale(1.04); }
.brand__wordmark-r {
  color: #e10600;
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.35);
}
.brand__wordmark-d {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  -webkit-text-stroke: 1px #fff;
  color: transparent;
}
.brand__wordmark--lg .brand__wordmark-r { font-size: 52px; }
.brand__wordmark--lg .brand__wordmark-d { font-size: 28px; }
@media (max-width: 640px) {
  .brand__wordmark-r { font-size: 26px; }
  .brand__wordmark-d { font-size: 15px; }
  .brand__wordmark--lg .brand__wordmark-r { font-size: 42px; }
  .brand__wordmark--lg .brand__wordmark-d { font-size: 22px; }
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 6px 20px -6px var(--accent-glow);
}
.brand__name em { font-style: normal; color: var(--accent); }

.nav__links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  color: var(--text-mid);
  white-space: nowrap;
}
.nav__links a {
  position: relative;
  transition: color .25s ease;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
  border-radius: 2px;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 10px 18px; font-size: 14px; }

@media (max-width: 1200px) {
  .nav__links { gap: 18px; font-size: 13.5px; }
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 20px 28px 28px;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: menuSlide .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu a {
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  transition: color .25s ease, padding-left .25s ease;
  color: var(--text);
}
.mobile-menu a:hover,
.mobile-menu a:active { color: var(--accent); padding-left: 8px; }
.mobile-menu a:last-child { border: 0; }
.mobile-menu .btn {
  margin-top: 12px;
  padding-left: 0 !important;
  justify-content: center;
  border-bottom: 0 !important;
}
.mobile-menu .btn:hover { padding-left: 0 !important; color: #fff; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu.is-open { display: flex; }
}

.mobile-menu__link--ghost {
  color: var(--text-mid) !important;
  font-size: 14px !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the visible strip toward the upper-middle where the starlight meets the red leather */
  object-position: center 38%;
  /* Higher opacity + colour grading + render hints make the photo feel premium and crisp */
  opacity: 0.78;
  filter: saturate(1.25) contrast(1.12) brightness(1.05) hue-rotate(-2deg);
  image-rendering: -webkit-optimize-contrast;
  /* GPU-promote for buttery smooth scrolling and animation */
  transform: translateZ(0);
  will-change: transform;
}
.hero__photo,
.hero__bg img { backface-visibility: hidden; }

/* Stronger cinematic vignette so high-opacity photo still keeps hero text legible */
.hero__vignette {
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, transparent 0%, rgba(8,8,10,0.55) 60%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(8,8,10,0.6) 0%, rgba(8,8,10,0.15) 30%, rgba(8,8,10,0.15) 55%, rgba(8,8,10,0.85) 90%, var(--bg) 100%),
    linear-gradient(to right, rgba(8,8,10,0.35) 0%, transparent 25%, transparent 75%, rgba(8,8,10,0.35) 100%);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 35%, transparent 0%, rgba(8,8,10,0.7) 70%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(8,8,10,0.55) 0%, transparent 30%, transparent 65%, var(--bg) 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4a00e0 0%, transparent 70%);
  bottom: -200px; left: -100px;
  opacity: 0.3;
}

.hero__inner {
  position: relative;
  max-width: 1080px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1ddf6f;
  box-shadow: 0 0 0 4px rgba(29,223,111,0.18);
}
.hero__title {
  font-size: clamp(48px, 9vw, 124px);
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 28px;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: .05s; }
.hero__title .line:nth-child(2) { animation-delay: .15s; }
.hero__title .line:nth-child(3) { animation-delay: .25s; }
.hero__title em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--text-mid);
  font-weight: 700;
}
.hero__title .accent { color: var(--accent); }

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

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: .45s;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: .6s;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 0 auto;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: .8s;
}
.hero__meta div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__meta strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
}
.hero__meta span { font-size: 13px; color: var(--text-dim); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(0.4); transform-origin: top; }
  50%     { transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 0 50px; }
  .hero__title { font-size: clamp(44px, 13vw, 80px); }
  .hero__eyebrow { font-size: 12px; padding: 6px 14px; margin-bottom: 24px; }
  .hero__sub { font-size: 15px; margin-bottom: 28px; }
  .hero__cta { gap: 10px; margin-bottom: 48px; flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 28px;
    text-align: center;
  }
  .hero__meta strong { font-size: 18px; }
  .hero__meta span { font-size: 11px; }
  .hero__scroll { display: none; }
}

/* ---------- Mobile topbar ---------- */
@media (max-width: 640px) {
  .topbar__inner { padding: 8px 16px; gap: 8px; font-size: 12px; }
  .topbar__text { text-align: center; line-height: 1.3; }
  .topbar__cta { font-size: 11px; padding: 3px 10px; }
}

/* ---------- Mobile section spacing ---------- */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .marquee { padding: 14px 0; font-size: 24px; }
  .section__title { font-size: clamp(28px, 8vw, 44px); }
  .kicker { font-size: 12px; margin-bottom: 14px; }
}

/* ---------- Touch target sizing ---------- */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .filter { min-height: 40px; }
  .nav__burger { padding: 12px; }
  .gallery__item figcaption { opacity: 1; transform: translateY(0); }
  .build__meta { padding: 24px 20px; }
  /* Disable spotlight on touch */
  .service::after { display: none; }
}

/* ======================================================================
   MOBILE SMOOTHNESS PASS
   ====================================================================== */

/* iOS-friendly scrolling + viewport fixes */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  /* Prevent rubber-band overscroll on iOS */
  overscroll-behavior-y: none;
}
body {
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
}

/* GPU-accelerate elements that move so scrolling stays at 60fps */
.nav,
.topbar,
.hero__bg,
.hero__photo,
.marquee__track,
.service,
.build,
.gallery__item,
.tier,
.quote,
.process__step,
.stat,
.extras__card,
.cust-card,
.perk,
.alt-card,
.cta__card,
.mobile-menu,
.filter-bar {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Avoid the costly backdrop-filter on touch — it tanks scroll perf on iOS */
@media (hover: none) and (pointer: coarse) {
  .nav,
  .filter-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 8, 10, 0.95);
  }
  .mobile-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 8, 10, 0.98);
  }
  /* Lighter shimmer cycle on mobile — saves battery + scroll perf */
  .section__title .accent,
  .hero__title .accent,
  .svc-hero__title .accent {
    animation-duration: 8s;
  }
  /* Marquee runs smoother at a slower cadence on touch */
  .marquee__track { animation-duration: 50s; }
  /* Drop the heavy border-beam spin on extras cards (keeps battery happy) */
  .extras__card::before { animation: none; opacity: 0 !important; }
}

/* Mobile hero — the photo is portrait so we can show more of the starlight */
@media (max-width: 640px) {
  .hero__photo {
    /* On portrait phones the photo aspect matches better — show full composition */
    object-position: center center;
    opacity: 0.65;
  }
  .hero__vignette {
    background:
      linear-gradient(to bottom,
        rgba(8,8,10,0.45) 0%,
        rgba(8,8,10,0.15) 25%,
        rgba(8,8,10,0.15) 55%,
        rgba(8,8,10,0.9) 92%,
        var(--bg) 100%);
  }
  /* Smoother card transitions on touch — quicker, no laggy 800ms transitions */
  [data-reveal] {
    transition-duration: .6s !important;
  }
}

/* Prevent input zoom on iOS by ensuring inputs are 16px+ */
@supports (-webkit-touch-callout: none) {
  input, textarea, select { font-size: 16px; }
}

/* Smoother fixed-position behaviour on iOS by using safe-area insets */
.nav { padding-top: env(safe-area-inset-top, 0); }
.footer__bottom { padding-bottom: max(20px, env(safe-area-inset-bottom, 20px)); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee__track span { color: var(--text); }
.marquee__track .dot-sep { color: var(--accent); font-size: 0.7em; align-self: center; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}
.section__title .accent { color: var(--accent); }
.section__lede {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-mid);
  max-width: 620px;
}
.section__head { margin-bottom: 64px; max-width: 760px; }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Reveal animations (21st.dev BlurFade-style) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1),
              transform .9s cubic-bezier(.2,.7,.2,1),
              filter .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform, filter;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger children when a grid is revealed (capped so long grids don't drag) */
[data-stagger] > *,
.services__grid > [data-reveal],
.testimonials__grid > [data-reveal],
.gallery__grid > [data-reveal],
.builds__grid > [data-reveal],
.process__list > [data-reveal],
.about__stats > [data-reveal],
.extras__grid > [data-reveal] {
  transition-delay: calc(min(var(--i, 0), 6) * 70ms);
}

/* ---------- Shiny gradient text (21st.dev AnimatedShinyText) ---------- */
.shiny {
  background: linear-gradient(
    110deg,
    var(--accent) 30%,
    #ff5050 45%,
    #ffffff 50%,
    #ff5050 55%,
    var(--accent) 70%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
.section__title .accent,
.hero__title .accent {
  background: linear-gradient(
    110deg,
    var(--accent) 30%,
    #ff5050 45%,
    #ffd5d0 50%,
    #ff5050 55%,
    var(--accent) 70%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Spotlight cards (21st.dev style) ---------- */
.service {
  --mx: 50%;
  --my: 50%;
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx) var(--my),
    rgba(225, 6, 0, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.service:hover::after { opacity: 1; }

/* ---------- Page-load fade-in ---------- */
body {
  animation: pageIn .6s ease-out both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Smoother smooth-scroll easing ---------- */
html {
  scroll-padding-top: 100px;
}

/* ---------- Subtle background ambient glow on sections ---------- */
.section.process,
.section.testimonials {
  position: relative;
  overflow: hidden;
}
.section.process::before,
.section.testimonials::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.section.process::before { top: -200px; right: -200px; }
.section.testimonials::before { bottom: -200px; left: -200px; }
.section.process > *,
.section.testimonials > * { position: relative; z-index: 1; }

/* ---------- Improved button shine ---------- */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transition: left .6s ease;
}
.btn--primary:hover::before { left: 100%; }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.service:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.service:hover::before { opacity: 1; }
.service:hover .service__icon { color: var(--accent); transform: scale(1.05); }
.service__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.service__icon {
  width: 44px; height: 44px;
  color: var(--text);
  margin-bottom: 24px;
  transition: color .3s, transform .3s;
}
.service h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.service__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  transition: transform .25s;
}
.service:hover .service__more { transform: translateX(4px); }

.service--wide { grid-column: span 1; }

@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- Valeting ---------- */
.valeting__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.tiers {
  display: grid;
  gap: 14px;
}
.tier {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.tier:hover { transform: translateX(4px); border-color: var(--border-strong); }
.tier--featured {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-color: var(--accent-glow);
  box-shadow: 0 16px 50px -20px var(--accent-glow);
}
.tier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.tier__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.tier__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier__badge--accent { background: var(--accent); color: #fff; }
.tier h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}
.tier ul { display: flex; flex-direction: column; gap: 6px; }
.tier li {
  font-size: 14.5px;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--accent);
}
.tier__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background .25s ease,
              border-color .25s ease,
              transform .25s ease,
              color .25s ease;
}
.tier__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(4px);
}
.tier__cta--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px -8px var(--accent-glow);
}
.tier__cta--featured:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

@media (max-width: 960px) {
  .valeting__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Builds / recent work ---------- */
.builds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.build {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .4s ease;
}
.build:hover { transform: translateY(-4px); }
.build--lg {
  grid-column: span 2;
  grid-row: span 1;
}
.build__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.build:hover .build__img { transform: scale(1.06); }
.build__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
}
.build__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.build__meta {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #fff;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.build h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #fff;
}
.build h3 span {
  font-family: var(--font-sans);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  letter-spacing: 0;
}
.build p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

@media (max-width: 960px) {
  .builds__grid { grid-template-columns: repeat(2, 1fr); }
  .build--lg { grid-column: span 2; }
}
@media (max-width: 640px) {
  .builds__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .build--lg, .build { grid-column: span 1; }
}

/* ---------- Process ---------- */
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process__step {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s, border-color .3s;
}
.process__step:hover { transform: translateY(-4px); border-color: var(--accent-glow); }
.process__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}
.process__body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.process__body p { font-size: 15px; color: var(--text-mid); margin: 0; }

@media (max-width: 960px) {
  .process__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .process__list { grid-template-columns: 1fr; }
}

/* ---------- About / stats ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__copy p { font-size: 16px; color: var(--text-mid); margin-bottom: 16px; }
.about__copy .btn { margin-top: 12px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent-glow); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 14px;
  color: var(--text-mid);
}

@media (max-width: 960px) {
  .about__inner { grid-template-columns: 1fr; gap: 50px; }
}

/* ---------- Valeting photo ---------- */
.valeting__photo {
  margin: 24px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.valeting__photo img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.valeting__photo:hover img { transform: scale(1.04); }

/* ---------- Workshop gallery (masonry-ish) ---------- */
.gallery {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.2,.7,.2,1),
              box-shadow .4s ease,
              border-color .35s ease;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6);
}
.gallery__item figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__cta { text-align: center; margin-top: 56px; }

@media (max-width: 1080px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 16px; }
}
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item figcaption { opacity: 1; transform: translateY(0); }
}
@media (max-width: 460px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Extras: Gift Cards + Car Club ---------- */
.extras {
  padding: 100px 0;
}
.extras__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.extras__card {
  position: relative;
  display: block;
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1),
              border-color .35s ease,
              box-shadow .4s ease;
  isolation: isolate;
}
.extras__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, var(--accent) 60deg, transparent 120deg, transparent 360deg);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
  border-radius: var(--radius-lg);
  animation: spin 6s linear infinite;
}
.extras__card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  z-index: -1;
}
.extras__card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6),
              0 0 0 1px var(--accent-glow);
}
.extras__card:hover::before { opacity: 0.6; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.extras__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid var(--accent-glow);
}
.extras__icon svg { width: 28px; height: 28px; }
.extras__card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  max-width: 380px;
}
.extras__card p {
  font-size: 15.5px;
  color: var(--text-mid);
  margin-bottom: 24px;
  max-width: 380px;
}
.extras__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: transform .25s ease;
}
.extras__card:hover .extras__more { transform: translateX(6px); }

@media (max-width: 800px) {
  .extras__grid { grid-template-columns: 1fr; }
  .extras__card { padding: 36px 28px; }
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote {
  margin: 0;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s, border-color .3s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote__stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.quote blockquote {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
}
.quote figcaption {
  font-size: 13.5px;
  color: var(--text-dim);
}
.quote figcaption strong { color: var(--text); font-weight: 600; }

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

/* ---------- CTA card ---------- */
.cta__card {
  padding: 60px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, var(--accent-glow), transparent 50%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta__copy { position: relative; z-index: 1; }
.cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta__copy p { color: var(--text-mid); margin-bottom: 28px; max-width: 420px; }
.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.cta__contact a { color: var(--text); transition: color .2s; }
.cta__contact a:hover { color: var(--accent); }
.cta__contact span { color: var(--text-dim); }

.cta__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0,0,0,0.35);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.cta__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta__form span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta__form input,
.cta__form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.cta__form textarea { resize: vertical; min-height: 100px; }
.cta__form .btn { margin-top: 6px; }
.cta__note {
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
  margin: 4px 0 0;
}

@media (max-width: 960px) {
  .cta__card { grid-template-columns: 1fr; padding: 40px 30px; gap: 40px; }
}
@media (max-width: 540px) {
  .cta__card { padding: 32px 20px; border-radius: 20px; gap: 28px; }
  .cta__form { padding: 20px; gap: 12px; }
  .cta__form input, .cta__form textarea { font-size: 16px; padding: 14px; } /* 16px prevents iOS zoom */
  .cta__copy h2 { font-size: clamp(28px, 9vw, 40px); }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer__brand p {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--text-dim);
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__cols a,
.footer__cols span {
  display: block;
  font-size: 14.5px;
  color: var(--text-mid);
  padding: 4px 0;
  transition: color .2s;
}
.footer__cols a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ======================================================================
   WORK PAGE (work.html)
   ====================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 50%),
    var(--bg);
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  z-index: -1;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 11vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 12px 0 22px;
}
.page-hero__title .accent { color: var(--accent); font-style: italic; }
.page-hero__sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: clamp(15px, 1.3vw, 17px);
}

/* ---------- Filter bar ---------- */
.filter-bar {
  position: sticky;
  top: 92px;
  z-index: 30;
  padding: 16px 0;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) { .filter-bar { top: 76px; } }
@media (max-width: 640px) {
  .filter-bar { padding: 12px 0; }
  .filter { padding: 7px 13px; font-size: 13px; }
  .page-hero { padding: 60px 0 30px; }
  .page-hero__title { font-size: clamp(50px, 16vw, 100px); }
  .page-hero__sub { font-size: 14px; padding: 0 8px; }
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 24px -8px var(--accent-glow);
}

/* ---------- Work gallery (CSS columns masonry) ---------- */
.work-gallery { padding: 60px 0 100px; }
.wg__grid {
  column-count: 4;
  column-gap: 12px;
}
@media (max-width: 1100px) { .wg__grid { column-count: 3; } }
@media (max-width: 760px)  { .wg__grid { column-count: 2; column-gap: 8px; } }
@media (max-width: 460px)  { .wg__grid { column-count: 1; } }

.g-item {
  margin: 0 0 12px;
  position: relative;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s ease, border-color .35s ease;
  cursor: zoom-in;
}
.g-item:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.g-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }
.g-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 50%, var(--accent-glow), transparent 60%),
    var(--bg-soft);
}
.cta-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}
.cta-strip h2 .accent { color: var(--accent); }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 40px;
  animation: lbIn .25s ease;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.lightbox__figure figcaption {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 38px; height: 38px; font-size: 22px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- Active nav item ---------- */
.nav__links a.is-current { color: var(--text); }
.nav__links a.is-current::after { width: 100%; }

/* ======================================================================
   CUSTOMISATION HUB & SERVICE DETAIL PAGES
   ====================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.breadcrumb a { color: var(--text-mid); transition: color .25s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-dim); }
.breadcrumb .sep { color: var(--text-dim); opacity: 0.6; }

/* ---------- Customisation hub grid ---------- */
.cust-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.2,.7,.2,1),
              border-color .35s ease,
              box-shadow .4s ease;
}
.cust-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-glow);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.cust-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cust-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.cust-card:hover .cust-card__photo img { transform: scale(1.06); }
.cust-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
  pointer-events: none;
}
.cust-card__num {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  z-index: 1;
}
.cust-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cust-card__body h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cust-card__body p {
  font-size: 14.5px;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.55;
}
.cust-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: transform .25s ease;
}
.cust-card:hover .cust-card__more { transform: translateX(6px); }

@media (max-width: 1000px) {
  .cust-hub__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cust-hub__grid { grid-template-columns: 1fr; }
}

/* ---------- Service detail hero ---------- */
.svc-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.1) contrast(1.05);
}
.svc-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8,8,10,0.6), transparent 60%),
    linear-gradient(to right, rgba(8,8,10,0.85) 0%, rgba(8,8,10,0.6) 50%, var(--bg) 100%);
}
.svc-hero__inner { max-width: 760px; }
.svc-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 8px 0 22px;
}
.svc-hero__title .accent {
  background: linear-gradient(110deg, var(--accent) 30%, #ff5050 45%, #ffd5d0 50%, #ff5050 55%, var(--accent) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
.svc-hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 32px;
}
.svc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .svc-hero { padding: 50px 0 40px; }
  .svc-hero__bg img { opacity: 0.25; }
}

/* ---------- Prose / intro section ---------- */
.svc-intro {
  padding: 80px 0;
  max-width: 820px;
}
.svc-intro p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}
.svc-intro p strong, .svc-intro a {
  color: var(--text);
  font-weight: 500;
}
.svc-intro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color .25s ease;
}
.svc-intro a:hover { color: var(--accent-soft); }

/* ---------- Why-Choose checkmark grid ---------- */
.why-choose {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.why-item {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease;
}
.why-item:hover { transform: translateY(-4px); border-color: var(--accent-glow); }
.why-item__check {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(225, 6, 0, 0.14);
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 1px solid var(--accent-glow);
}
.why-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 14.5px;
  color: var(--text-mid);
  margin: 0;
}

@media (max-width: 900px) { .why-choose__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-choose__grid { grid-template-columns: 1fr; } }

/* ---------- Sub-services list ---------- */
.sub-services { padding: 100px 0; }
.sub-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.sub-item {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease;
}
.sub-item:hover { transform: translateX(4px); border-color: var(--border-strong); }
.sub-item__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
  width: 44px;
}
.sub-item__body h3 {
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.sub-item__body p {
  font-size: 14.5px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.55;
}

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

/* ---------- Benefits row ---------- */
.benefits {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.benefit {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--accent-glow); }
.benefit__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.benefit h3 { font-size: 16px; margin-bottom: 6px; }
.benefit p { font-size: 13.5px; color: var(--text-mid); margin: 0; line-height: 1.55; }

@media (max-width: 1080px) { .benefits__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .benefits__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .benefits__list { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faqs { padding: 100px 0; max-width: 860px; }
.faqs__list { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq:hover { border-color: var(--border-strong); }
.faq[open] { border-color: var(--accent-glow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: color .25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  transition: transform .35s ease;
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body {
  padding: 0 26px 24px;
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq__body p { margin: 0 0 0.6em; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Related services rail ---------- */
.related {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.related-item {
  display: block;
  padding: 20px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, color .25s ease;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-mid);
}
.related-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 1080px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .related__grid { grid-template-columns: repeat(2, 1fr); } }

/* ======================================================================
   LOCATION MAP SECTION
   ====================================================================== */

.location { position: relative; }
.location__wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.location__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 500px;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.6),
              0 0 0 1px var(--accent-glow);
  /* Subtle red overlay so the Google Map blends with the dark theme */
  isolation: isolate;
}
.location__map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(225,6,0,0.06), transparent 50%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.location__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  /* Tint the map slightly to integrate with the dark theme */
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95);
}
.location__card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.location__card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 8px 0 24px;
}
.location__meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 8px;
}
.location__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.location__row svg {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(225,6,0,0.12);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  box-sizing: border-box;
}
.location__row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.location__row strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.location__row span,
.location__row a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.location__row a { color: var(--accent); transition: color .25s ease; }
.location__row a:hover { color: var(--accent-soft); }

/* Day-by-day opening hours table */
.hours {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: grid;
  gap: 4px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child {
  color: var(--text-soft);
  font-weight: 500;
}
.hours li span:last-child {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.location__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.location__cta .btn { flex: 1; min-width: 140px; justify-content: center; }

@media (max-width: 1000px) {
  .location__wrap { grid-template-columns: 1fr; }
  .location__map, .location__iframe { min-height: 380px; }
}
@media (max-width: 640px) {
  .location__card { padding: 28px 22px; }
  .location__map, .location__iframe { min-height: 320px; }
}

/* ======================================================================
   BOOKING PAGE (book.html) — Square integration
   ====================================================================== */

/* ---------- Perks row ---------- */
.booking-perks {
  padding: 30px 0 60px;
  border-bottom: 1px solid var(--border);
}
.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.perk {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease;
}
.perk:hover { transform: translateY(-3px); border-color: var(--accent-glow); }
.perk__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid var(--accent-glow);
}
.perk__icon svg { width: 22px; height: 22px; }
.perk h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.perk p {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1000px) { .perks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .perks__grid { grid-template-columns: 1fr; } }

/* ---------- Square iframe embed ---------- */
.booking-embed {
  padding: 80px 0 60px;
}
.sq-embed {
  position: relative;
  width: 100%;
  min-height: 920px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.6),
              0 0 0 1px var(--accent-glow);
  margin-top: 32px;
}
.sq-embed__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 920px;
  border: 0;
  opacity: 0;
  transition: opacity .5s ease;
  position: relative;
  z-index: 1;
}
.sq-embed__iframe.is-loaded { opacity: 1; }

.sq-embed__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  z-index: 2;
}
.sq-embed__loading p {
  color: #333;
  font-size: 15px;
  margin: 0;
}
.sq-embed__spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(225,6,0,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: sqSpin 0.9s linear infinite;
}
@keyframes sqSpin { to { transform: rotate(360deg); } }

.sq-embed__fallback {
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  color: #111;
}
.sq-embed__fallback h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
  color: #111;
}
.sq-embed__fallback p {
  color: #555;
  margin-bottom: 22px;
}

.sq-embed__caption {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}
.sq-embed__link {
  color: var(--accent);
  font-weight: 500;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sq-embed__link:hover { color: var(--accent-soft); }

@media (max-width: 720px) {
  .sq-embed, .sq-embed__iframe { min-height: 820px; }
  .booking-embed { padding: 60px 0 40px; }
}

/* ---------- Alt contact cards ---------- */
.alt-contact { padding: 80px 0 100px; }
.alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.alt-card {
  display: block;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              border-color .3s ease,
              box-shadow .4s ease;
}
.alt-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-glow);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5);
}
.alt-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid var(--accent-glow);
}
.alt-card__icon svg { width: 26px; height: 26px; }
.alt-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.alt-card p {
  font-size: 14.5px;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.55;
}
.alt-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .25s ease;
}
.alt-card:hover .alt-card__more { transform: translateX(4px); }

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

/* ---------- Focus ring ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
