:root {
  color-scheme: light;
  --header-height: 72px;
  --bg: #0b1220;
  --bg-anim-1: #111a2b;
  --bg-anim-2: #16233a;
  --bg-anim-3: #1e2f4b;
  --bg-alt: #121d30;
  --card: #152338;
  --text: #eaf2ff;
  --muted: #9fb3cf;
  --accent: #0f172a;
  --accent-2: #14b8a6;
  --border: #2e425e;
  --shadow: 0 28px 90px rgba(16, 12, 8, 0.12);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --nav-bg: linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(22, 35, 58, 0.94) 100%);
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: var(--card);
  --btn-secondary-color: var(--text);
  --glass-bg: rgba(21, 35, 56, 0.82);
  --glass-border: rgba(20, 184, 166, 0.3);

  /* ── Design system tokens ─────────────────────────── */
  /* Typography scale */
  --h1-size: clamp(2rem, 3vw + 0.8rem, 3.6rem);
  --h2-size: clamp(1.6rem, 2vw + 0.8rem, 2.8rem);
  --h3-size: clamp(1.2rem, 1.5vw + 0.4rem, 1.6rem);
  /* Spacing scale */
  --spacing-xs: 16px;
  --spacing-sm: 24px;
  --spacing-md: 40px;
  --spacing-lg: 60px;
  --spacing-xl: 80px;
  /* Horizontal container padding */
  --h-padding: 24px;
  /* Container widths */
  --container-max: 1180px;
  --content-max: 980px;
  /* Border radius scale */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  /* Shadow scale */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.22);
  /* Border helpers */
  --border-accent: rgba(20, 184, 166, 0.28);
  --border-light: rgba(255, 255, 255, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  transition: background 0.5s cubic-bezier(0.77, 0, 0.18, 1), color 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}


.logo-text {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.65);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 20px;
}

img {
  max-width: 100%;
  display: block;
}


.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Futuristic nav bar enhancements — light mode only */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

html:not(.dark-mode) .site-header {
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 0 24px 2px rgba(184, 159, 122, 0.18), 0 6px 30px 0 rgba(30, 22, 14, 0.08);
  animation: nav-glow 4s linear infinite alternate;
}

@keyframes nav-glow {
  0% {
    box-shadow: 0 0 24px 2px rgba(184, 159, 122, 0.18), 0 6px 30px 0 rgba(30, 22, 14, 0.08);
  }

  100% {
    box-shadow: 0 0 46px 8px rgba(184, 159, 122, 0.2), 0 8px 42px 0 rgba(30, 22, 14, 0.12);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: none;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 480px) {
  .logo-mark {
    width: 32px;
    height: 32px;
  }
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.dark-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
}

.dark-toggle:focus-visible {
  outline: 2px solid var(--accent);
}

.dark-toggle__icon {
  width: 24px;
  height: 24px;
  display: block;
  background: none;
  position: relative;
}

.dark-toggle__icon::before,
.dark-toggle__icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.dark-toggle__icon::before {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffe066 60%, #111111 100%);
  box-shadow: 0 0 12px 2px #ffe06688;
  left: 0;
  top: 0;
}

.dark-toggle__icon::after {
  width: 16px;
  height: 16px;
  background: var(--bg);
  left: 4px;
  top: 4px;
  opacity: 0;
}

.dark-mode .dark-toggle__icon::before {
  background: linear-gradient(135deg, #111111 60%, #d9d9d9 100%);
  box-shadow: 0 0 16px 4px #d9d9d988;
}

.dark-mode .dark-toggle__icon::after {
  opacity: 1;
}


.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.35s ease, background-color 0.35s ease;
}

.nav-links a:not(.btn) {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

/* Active page indicator */
.nav-links a[aria-current="page"]:not(.btn) {
  color: var(--accent-2);
}

.nav-links a[aria-current="page"]:not(.btn)::after {
  width: 100%;
}

/* Animated underline with glow */
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn):focus-visible::after {
  width: 100%;
  box-shadow: 0 0 8px 2px var(--accent-2), 0 0 16px 4px var(--accent);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-2), 0 0 16px var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Animated hamburger to X */
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex-direction: column;
    padding: 24px;
    display: none;
    box-shadow: var(--shadow);
    transform-origin: top right;
    animation: fade-in-down 0.2s ease forwards;
  }

  @keyframes fade-in-down {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .nav-links.is-open {
    display: flex;
  }
  
  .nav-links a:not(.btn) {
    padding: 12px 0;
    font-size: 0.95rem;
  }
  
  .nav-links .btn {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    top: 68px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 16px;
  }
}

main {
  max-width: var(--container-max);
  margin: 0 auto;
  /* keep main top padding equal to header height only */
  padding: var(--header-height) var(--h-padding) var(--spacing-xl);
}

@media (max-width: 768px) {
  main {
    padding: var(--header-height) 20px var(--spacing-lg);
  }
}

@media (max-width: 640px) {
  main {
    padding: var(--header-height) 16px var(--spacing-md);
  }
}

@media (min-width: 860px) {

  /* Allow slightly taller header on large screens */
  :root {
    --header-height: 76px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 68px;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 24px 0;
}

@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 32px;
  }

  .hero-glow {
    display: none;
  }

  .hero-card {
    margin-top: 8px;
  }
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
  text-shadow: 0 0 40px rgba(220, 220, 220, 0.15), 0 0 80px rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    margin-bottom: 12px;
  }
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 768px) {
  .lead {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .lead {
    font-size: 0.95rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 32px;
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 24px;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}

@media (max-width: 640px) {
  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    min-height: 44px;
  }
}

/* SVG morphing icon: crossfade between two paths for a morph-like effect */
.svg-morph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  vertical-align: middle;
}

.icon-morph {
  display: block;
  width: 18px;
  height: 18px;
}

.icon-morph .from,
.icon-morph .to {
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: 50% 50%;
}

.icon-morph .to {
  opacity: 0;
  transform: translateY(6px) scale(0.88);
}

.btn:hover .icon-morph .from,
.btn:focus-visible .icon-morph .from {
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
}

.btn:hover .icon-morph .to,
.btn:focus-visible .icon-morph .to {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* smaller morphs inside nav */
.nav-links .svg-morph {
  margin-left: 8px;
}

.nav-links .btn:hover .icon-morph .from {
  opacity: 0;
}

/* Ensure icons adapt to theme via currentColor */
.icon-morph path {
  color: inherit;
  fill: currentColor;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-primary-text);
}

.btn--secondary {
  background: var(--btn-secondary-bg);
  border-color: var(--border);
  color: var(--btn-secondary-color);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  filter: brightness(1.15) drop-shadow(0 0 8px var(--accent-2));
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--bg);
}

.btn:active {
  filter: brightness(0.95);
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  color: var(--muted);
}

.trust strong {
  color: var(--text);
  font-size: 1.1rem;
}

.dark-mode {
  color-scheme: dark;
  --bg: #0a1424;
  --bg-anim-1: #0a1424;
  --bg-anim-2: #111f35;
  --bg-anim-3: #1a2d49;
  --bg-alt: #101d31;
  --card: #152338;
  --text: #eaf2ff;
  --muted: #a6bbd7;
  --accent: #0f172a;
  --accent-2: #14b8a6;
  --border: #2f4663;
  --shadow: 0 24px 80px rgba(8, 6, 4, 0.42);
  --nav-bg: rgba(10, 18, 34, 0.95);
  --glass-bg: rgba(17, 28, 44, 0.56);
  --glass-border: rgba(56, 189, 248, 0.28);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Make the hero-card more prominent and center its content over the 3D hero */
.hero {
  align-items: center;
}

.hero-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.hero-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-card h3 {
  margin: 16px 0 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-card__top {
  display: flex;
  gap: 10px;
}

/* 3D hero canvas container (decorative) */
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* make canvas glow blend nicely with background for a futuristic look */
.hero-3d {
  mix-blend-mode: normal;
  filter: none;
}

/* Hero orb logo — subtle watermark behind the card text */
.hero-orb-img {
  opacity: 0.18;
}

/* Ensure hero card text stays crisp above the background logo */
.hero-card h3,
.hero-card ul,
.hero-card__top,
.hero-card__bottom {
  text-shadow: 0 1px 8px rgba(18, 18, 18, 0.25);
}

.dark-mode .hero-3d {
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.03);
}

/* Consent banner (analytics opt-in) */
.consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 24px;
  z-index: 9999;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure the banner respects the native hidden attribute (author CSS may override it). */
#cookie-consent[hidden],
.consent-banner[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

.consent-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.consent-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.consent-link:hover {
  opacity: 0.8;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

@media (min-width: 1024px) {
  .consent-banner {
    left: 40px;
    right: 40px;
    bottom: 28px;
  }
}

/* Sticky contact panel */
.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: auto;
  z-index: 9998;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
}

.sticky-contact .sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(220, 220, 220, 0.06));
  color: var(--text);
  box-shadow: 0 6px 24px rgba(2, 6, 23, 0.45);
  cursor: pointer;
}

.sticky-contact .sc-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.sticky-contact .sc-small {
  padding: 8px 10px;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .sticky-contact {
    left: auto;
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }

  .sticky-contact .sc-btn {
    padding: 8px 10px;
  }
}

/* Minimized state: show only toggle circle */
.sticky-contact.minimized {
  gap: 6px;
}

.sticky-contact.minimized .sc-btn:not(.sc-toggle) {
  display: none;
}

.sticky-contact .sc-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
}

.sticky-contact.minimized .sc-toggle {
  transform: scale(1.02);
}

.hero-card>*:not(.hero-3d) {
  position: relative;
  z-index: 1;
}

/* Scroll progress bar (thin) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 60;
  pointer-events: none;
}

.scroll-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.22s linear;
}

/* Scroll timeline (right side) */
#scroll-timeline {
  position: fixed;
  right: 18px;
  top: 40vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
  pointer-events: auto;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 0 4px 18px rgba(12, 14, 32, 0.06);
  cursor: pointer;
}

.timeline-dot.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scale(1.18);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.18);
}

/* Parallax layer baseline */
.parallax-layer {
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
}

.pill--ghost {
  background: rgba(220, 220, 220, 0.12);
  color: var(--accent-2);
}

.hero-card__bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1), transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Add extra top spacing for the About section to sit comfortably below the header */
#about {
  padding-top: calc(var(--header-height) + 28px);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section.is-visible,
.hero.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.hero {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1), transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.section--alt {
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 80px 32px;
}

@media (max-width: 768px) {
  .section--alt {
    padding: 60px 24px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .section--alt {
    padding: 40px 16px;
    border-radius: 12px;
  }
}

.section-title {
  margin-bottom: 40px;
  max-width: 720px;
}

.section-title h2 {
  font-size: var(--h2-size);
}

.grid {
  display: grid;
  gap: 24px;
}

@media (max-width: 768px) {
  .grid {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .grid {
    gap: 14px;
  }
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 640px) {
  .grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 640px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card,
.price-card,
.work-card,
.step {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease;
  color: var(--text);
  position: relative;
}

@media (max-width: 768px) {
  .card,
  .price-card,
  .work-card,
  .step {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .card,
  .price-card,
  .work-card,
  .step {
    padding: 16px;
    border-radius: 12px;
  }
}

/* Work section: cards stack as full-width rows — see grid declaration below */

.work-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
}

@media (max-width: 800px) {
  .work-card {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .work-card {
    flex-direction: column;
    gap: 0;
  }
}

.card:hover,
.price-card:hover,
.work-card:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--border-light);
  border-color: var(--border-light);
}

.card h3,
.price-card h3,
.work-card h3,
.step h4 {
  margin-bottom: 10px;
  color: var(--text);
}

.price-card {
  display: grid;
  gap: 16px;
}

.price-card--featured {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 80px rgba(255, 255, 255, 0.15);
}

.price {
  font-size: 2rem;
  font-weight: 700;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  padding: 0 var(--h-padding);
  margin: 0 auto;
  max-width: var(--container-max);
  align-items: start;
}

.work-cards-grid .work-card {
  min-width: auto;
  max-width: none;
  flex: none;
  margin-left: 0;
  position: relative;
  transform-origin: center;
  scroll-snap-align: none;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  height: auto;
}


.work-card__header {
  display: none;
}

.work-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.work-card__logo-wrap {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 220, 220, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.work-card__meta {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.work-card__logo {
  width: 100%;
  height: 60px;
  object-fit: contain;
  display: block;
}

/* Color accent for each card */
.work-card--medical .work-card__body {
  border: 1px solid var(--border);
}

.work-card--water .work-card__body {
  border: 1px solid var(--border);
}

.work-card--fitness .work-card__body {
  border: 1px solid var(--border);
}

.work-card--solar .work-card__body {
  border: 1px solid var(--border);
}

.work-card--events .work-card__body {
  border: 1px solid var(--border);
}

.work-card--legal .work-card__body {
  border: 1px solid var(--border);
}

.work-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  margin-top: 0;
}

.work-card__body h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}

.work-card__body > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.work-card:hover .work-card__body {
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}


.work-card__meta {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .work-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .work-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .work-card__body {
    padding: 24px;
    padding-top: 24px;
  }

  .work-card__logo-wrap {
    width: 90px;
    height: 90px;
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 600px) {
  .work-card {
    flex-direction: column;
  }

  .work-card__logo-wrap {
    width: 80px;
    height: 80px;
    top: 12px;
    right: 12px;
  }
}

.work-card__highlights {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
  margin: 10px 0 18px;
  flex: 1;
}

.work-card__highlights li::before {
  content: "✓";
  color: var(--accent-2);
  margin-right: 8px;
  font-weight: 700;
}

/* Coming-soon work card */
.work-card--muted {
  opacity: 0.75;
  border-style: dashed;
}

.work-card--muted:hover {
  opacity: 1;
}

.work-card__logo-wrap--placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(220, 220, 220, 0.08));
  border: 2px dashed rgba(255, 255, 255, 0.3);
  color: var(--accent);
}

/* Pricing card timeline label */
.price-card__timeline {
  font-size: 0.82rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Improved card visuals for project listings */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.card .thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
}

.project-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-card h3 {
  margin: 6px 0;
}

.project-card .card-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.testimonials {
  margin-top: 28px;
}

.testimonial p {
  font-style: italic;
}

.case-card ul {
  margin-top: 6px;
}

.work-card__content {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Built & Maintained block */
.build-maintain {
  padding: 28px;
  text-align: center;
}

.build-maintain .lead {
  max-width: 720px;
  margin: 0 auto 18px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 12px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 10px;
  min-width: 140px;
}

.tech-icon {
  width: 44px;
  height: 44px;
  display: block;
}

.tech-item small {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .tech-item {
    min-width: 120px;
    padding: 10px;
  }
}

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  display: grid;
  gap: 12px;
}

.case-card .lead {
  font-size: 1rem;
}

.case-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.case-card ul li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 8px;
}

.case-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.testimonial p {
  color: var(--text);
  font-size: 1rem;
}

.testimonial__meta {
  display: grid;
  gap: 2px;
  color: var(--muted);
}

html:not(.dark-mode) {
  --bg: #e3edf4;
  --bg-anim-1: #e0ebf3;
  --bg-anim-2: #d7e5ef;
  --bg-anim-3: #cddde8;
  --bg-alt: #d9e6ef;
  --card: rgba(245, 249, 252, 0.92);
  --text: #10233a;
  --muted: rgba(16, 35, 58, 0.7);
  --accent: #0f172a;
  --accent-2: #14b8a6;
  --border: rgba(14, 116, 144, 0.18);
  --nav-bg: linear-gradient(90deg, rgba(227, 237, 244, 0.95) 0%, rgba(216, 229, 238, 0.97) 100%);
  --btn-secondary-bg: rgba(243, 248, 252, 0.94);
  --btn-secondary-color: #10233a;
  --glass-bg: rgba(242, 247, 251, 0.86);
  --glass-border: rgba(20, 184, 166, 0.2);
  color-scheme: light;
}
html:not(.dark-mode),
html:not(.dark-mode) body {
  background: #e3edf4;
  color: var(--text);
}

html:not(.dark-mode) #grid-overlay {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
}

html:not(.dark-mode) #spotlight {
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(20, 184, 166, 0.08) 0%,
    rgba(59, 130, 246, 0.05) 35%,
    transparent 65%
  );
}

html:not(.dark-mode) .site-header {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  border-bottom-color: rgba(56, 189, 248, 0.22);
}

html:not(.dark-mode) .nav-links a,
html:not(.dark-mode) .footer-col a,
html:not(.dark-mode) .hero-card__bottom,
html:not(.dark-mode) .eyebrow,
html:not(.dark-mode) .section-subtitle,
html:not(.dark-mode) .pill,
html:not(.dark-mode) .pill--ghost,
html:not(.dark-mode) .project-meta,
html:not(.dark-mode) .work-card__body > p,
html:not(.dark-mode) .work-card__content,
html:not(.dark-mode) .work-card__body h4,
html:not(.dark-mode) .price-card ul,
html:not(.dark-mode) .footer-meta,
html:not(.dark-mode) .footer-brand p,
html:not(.dark-mode) .consent-copy {
  color: var(--muted);
}

html:not(.dark-mode) .nav-links a:hover,
html:not(.dark-mode) .footer-col a:hover,
html:not(.dark-mode) .logo,
html:not(.dark-mode) .logo-text,
html:not(.dark-mode) .section-title h2,
html:not(.dark-mode) .card h3,
html:not(.dark-mode) .price-card h3,
html:not(.dark-mode) .work-card h3,
html:not(.dark-mode) .step h4,
html:not(.dark-mode) .footer h4,
html:not(.dark-mode) .footer {
  color: var(--text);
}

html:not(.dark-mode) .section--alt,
html:not(.dark-mode) .footer,
html:not(.dark-mode) .consent-banner {
  background: rgba(220, 232, 241, 0.86);
}

html:not(.dark-mode) .card,
html:not(.dark-mode) .price-card,
html:not(.dark-mode) .work-card__body,
html:not(.dark-mode) .step,
html:not(.dark-mode) .project-card,
html:not(.dark-mode) .stat-box,
html:not(.dark-mode) .contact-method,
html:not(.dark-mode) .contact-form,
html:not(.dark-mode) .cta-strip,
html:not(.dark-mode) .faq-item,
html:not(.dark-mode) .policy-card,
html:not(.dark-mode) .legal-card {
  background: rgba(243, 248, 252, 0.92);
  border-color: rgba(14, 116, 144, 0.16);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

html:not(.dark-mode) .card:hover,
html:not(.dark-mode) .price-card:hover,
html:not(.dark-mode) .work-card__body:hover,
html:not(.dark-mode) .step:hover {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.24);
}

html:not(.dark-mode) .btn--secondary,
html:not(.dark-mode) .btn--ghost,
html:not(.dark-mode) .back-to-top,
html:not(.dark-mode) .dark-toggle {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
  color: #10233a;
}

html:not(.dark-mode) .btn--secondary:hover,
html:not(.dark-mode) .btn--ghost:hover,
html:not(.dark-mode) .back-to-top:hover,
html:not(.dark-mode) .dark-toggle:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.26);
}

html:not(.dark-mode) .social-icon {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
  color: rgba(16, 35, 58, 0.74);
}

html:not(.dark-mode) .social-icon:hover {
  background: rgba(56, 189, 248, 0.16);
  color: #10233a;
}

html:not(.dark-mode) .work-card__logo-wrap,
html:not(.dark-mode) .work-card__logo-wrap--placeholder {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(20, 184, 166, 0.05));
  border-color: rgba(56, 189, 248, 0.18);
}

html:not(.dark-mode) .footer,
html:not(.dark-mode) .footer-meta,
html:not(.dark-mode) .consent-banner {
  border-color: rgba(14, 116, 144, 0.12);
}
}

.about-grid {
  align-items: stretch;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.about-list li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 8px;
}

.step span {
  font-size: 1.4rem;
  color: var(--accent-2);
  font-weight: 600;
}

.contact {
  display: grid;
  gap: 32px;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-xl);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 24px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .contact-form {
    padding: 20px;
    border-radius: 12px;
  }
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
}

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

@media (max-width: 640px) {
  label {
    gap: 6px;
  }
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

@media (max-width: 640px) {
  input,
  textarea {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
  }
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(17, 17, 17, 0.45);
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 60px;
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--muted);
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 20px 48px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 24px 16px 36px;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-meta {
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex-direction: column;
    padding: 16px;
    display: none;
    backdrop-filter: blur(24px);
    box-shadow: 0 12px 48px rgba(2, 6, 23, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }

  .section--alt {
    padding: 60px 20px;
  }
}

.hero-content>* {
  animation: fade-up 0.8s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

.hero-content>*:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-content>*:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-content>*:nth-child(3) {
  animation-delay: 0.25s;
}

.hero-content>*:nth-child(4) {
  animation-delay: 0.35s;
}

.hero-content>*:nth-child(5) {
  animation-delay: 0.45s;
}

.hero-card {
  animation: float 8s ease-in-out infinite;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .hero-content>* {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Strong, visible focus styles for keyboard users */
:where(a, button, input, textarea, select) :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Buttons specifically */
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.12);
}

/* Ensure skip link is accessible */
.skip-link {
  left: -999px;
}

.skip-link:focus {
  left: 20px;
  top: 12px;
}

/* Improve standalone page layout: center and constrain content */
.section .section-title,
.section>.card,
.section>.grid,
.section>.work-cards-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {

  .section .section-title,
  .section>.card,
  .section>.grid {
    padding: 0 16px;
  }
}

/* Page hero used on standalone pages */
.page-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(220, 220, 220, 0.03));
  padding: 48px 0;
  margin-bottom: 24px;
  border-radius: 12px;
}

.page-hero .hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero h1 {
  font-size: var(--h1-size);
  margin: 8px 0 12px;
}

.page-hero .lead {
  margin-bottom: 16px;
  color: var(--muted);
}

.page-hero .hero-cta {
  margin-top: 8px;
}


/* ═══════════════════════════════════════════════════════════════════
   ███  NEW FUTURISTIC ENHANCEMENTS  ███
   ═══════════════════════════════════════════════════════════════════ */

/* ── Animated gradient text ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #f5f7ff, var(--accent-2), #cfcfcf, #e0e0e0, #f5f7ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ── Hero glow backdrop ───────────────────────────────────────── */
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(220, 220, 220, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  top: -80px;
  left: -120px;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

.hero-glow--right {
  left: auto;
  right: -100px;
  top: 20%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(220, 220, 220, 0.15) 0%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  animation-delay: 3s;
}

@keyframes glow-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* ── Glassmorphism card ───────────────────────────────────────── */
.card--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.card--glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(220, 220, 220, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card--glass:hover::before {
  opacity: 1;
}

.card--glass:hover {
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.15), 0 0 40px rgba(220, 220, 220, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Service card icon container ──────────────────────────────── */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(220, 220, 220, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-2);
  transition: transform 0.35s ease;
}

.card--glass:hover .service-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(220, 220, 220, 0.18));
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2), 0 0 48px rgba(220, 220, 220, 0.08);
  border-color: rgba(220, 220, 220, 0.3);
}

.card--glass:hover .service-icon svg {
  transform: scale(1.1) rotate(3deg);
}

/* ── Process section – connected timeline ─────────────────────── */
.process-grid {
  position: relative;
}

/* connecting line behind steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: line-flow 4s linear infinite;
  z-index: 0;
  opacity: 0.4;
}

@keyframes line-flow {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Pulsing step number badge */
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(220, 220, 220, 0.3);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

/* ── Pricing cards – frosted glass enhancement ────────────────── */
.price-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.18), 0 0 40px rgba(220, 220, 220, 0.06);
}

.price-card--featured {
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 80px rgba(255, 255, 255, 0.2), 0 0 60px rgba(220, 220, 220, 0.08);
}

.price-card--featured:hover {
  box-shadow: 0 24px 90px rgba(255, 255, 255, 0.25), 0 0 80px rgba(220, 220, 220, 0.12);
}

.price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  pointer-events: none;
  z-index: 1;
}

/* "Most Popular" badge */
.popular-badge {
  position: absolute;
  top: 30px;
  right: -42px;
  padding: 4px 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  z-index: 2;
}

/* Checkmark list items in pricing */
.price-card ul li {
  padding-left: 6px;
  position: relative;
}

.price-card ul li::before {
  content: '✓';
  color: var(--accent-2);
  margin-right: 10px;
  font-weight: 700;
}

/* ── Contact form – neon focus ────────────────────────────────── */
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(220, 220, 220, 0.06);
}

/* Animated submit button */
.contact-form .btn--primary {
  background-size: 200% 200%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% 200%;
  animation: btn-gradient 4s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes btn-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.contact-form .btn--primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.contact-form .btn--primary:hover::after {
  opacity: 0.5;
}

/* ── Footer – enhanced layout ─────────────────────────────────── */
.footer {
  position: relative;
}

.footer-gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  margin-bottom: 40px;
  border: none;
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.25s ease;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.92rem;
  max-width: 280px;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--muted);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(220, 220, 220, 0.15));
  color: var(--accent-2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* ── Testimonial section ──────────────────────────────────────── */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 16px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: serif;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info strong {
  color: var(--text);
  display: block;
}

.testimonial-info span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.35s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 255, 255, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--accent-2);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

/* ── Back to top button ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 9997;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(220, 220, 220, 0.1);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ── Responsive adjustments for new elements ──────────────────── */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .faq-question {
    padding: 14px 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .back-to-top {
    bottom: 140px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ███  LIGHT MODE SPECIFIC OVERRIDES  ███
   ═══════════════════════════════════════════════════════════════════ */

/* Light mode: ensure body background is visible behind particles */
html:not(.dark-mode) body {
  background: var(--bg);
}

/* Light mode particles: softer, subtle gradient */
html:not(.dark-mode) #particles-bg {
  background: linear-gradient(120deg, var(--bg-anim-1) 0%, var(--bg-anim-2) 50%, var(--bg-anim-3) 100%);
}

/* Nav: softer glow for light mode */
html:not(.dark-mode) .site-header {
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
  animation: none;
  border-bottom-color: var(--border);
}

/* Hero text: dark with no glow in light mode */
html:not(.dark-mode) .hero h1 {
  text-shadow: none;
  color: var(--text);
}

/* Hero glow: lighter and more subtle */
html:not(.dark-mode) .hero-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(220, 220, 220, 0.04) 50%, transparent 70%);
}

/* Cards: solid white with shadow in light mode */
html:not(.dark-mode) .card--glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06);
}

html:not(.dark-mode) .card--glass:hover {
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Service icon: softer bg in light mode */
html:not(.dark-mode) .service-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(200, 200, 200, 0.06));
  border-color: rgba(255, 255, 255, 0.12);
}

/* Section alt: light background */
html:not(.dark-mode) .section--alt {
  background: var(--bg-alt);
}

/* Pricing cards: solid white background */
html:not(.dark-mode) .price-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06);
}

html:not(.dark-mode) .price-card:hover {
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

html:not(.dark-mode) .price-card--featured {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.1);
}

/* Testimonial cards: white bg */
html:not(.dark-mode) .testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06);
}

/* FAQ items: white bg */
html:not(.dark-mode) .faq-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(20, 20, 20, 0.04);
}

html:not(.dark-mode) .faq-item.is-open {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Contact form: white bg */
html:not(.dark-mode) .contact-form {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06);
}

html:not(.dark-mode) input,
html:not(.dark-mode) textarea {
  background: #fff;
  border-color: var(--border);
}

/* Hero card: white bg */
html:not(.dark-mode) .hero-card {
  background: #fff;
  box-shadow: 0 8px 40px rgba(20, 20, 20, 0.08);
}

/* Social icons: lighter bg */
html:not(.dark-mode) .social-icon {
  background: rgba(240, 240, 240, 0.8);
  border-color: var(--border);
}

html:not(.dark-mode) .social-icon:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(200, 200, 200, 0.08));
}

/* Buttons: ensure secondary is readable */
html:not(.dark-mode) .btn--secondary {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--border);
  color: var(--text);
}

html:not(.dark-mode) .btn--ghost {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--border);
  color: var(--text);
}

/* Footer gradient: more visible in light mode */
html:not(.dark-mode) .footer-gradient-divider {
  opacity: 0.4;
}

/* Case card: white bg */
html:not(.dark-mode) .case-card {
  background: #fff;
}

/* Work card: white bg */
html:not(.dark-mode) .work-card {
  background: #fff;
}

/* Scroll progress: slightly more subtle */
html:not(.dark-mode) .scroll-progress-bar {
  opacity: 0.7;
}

/* Sticky contact panel: lighter in light mode */
html:not(.dark-mode) .sticky-contact .sc-btn {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(20, 20, 20, 0.08);
  border-color: var(--border);
}

/* Step cards in light mode */
html:not(.dark-mode) .step {
  background: #fff;
}

/* Consent banner: white bg */
html:not(.dark-mode) .consent-banner {
  background: rgba(236, 246, 255, 0.92);
  box-shadow: 0 8px 30px rgba(20, 20, 20, 0.1);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */

/* 1. Keyframes */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 28px rgba(255, 255, 255, 0.3);
  }

  50% {
    color: var(--accent-2);
    text-shadow: 0 0 18px rgba(220, 220, 220, 0.8), 0 0 40px rgba(220, 220, 220, 0.4);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes icon-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 2. Floating service icons */
.service-icon {
  animation: float 3.5s ease-in-out infinite;
  will-change: transform;
  display: inline-flex;
}

/* Stagger float phase per card so they don't all move together */
.card:nth-child(1) .service-icon {
  animation-delay: 0s;
}

.card:nth-child(2) .service-icon {
  animation-delay: 0.6s;
}

.card:nth-child(3) .service-icon {
  animation-delay: 1.2s;
}

.card:nth-child(4) .service-icon {
  animation-delay: 1.8s;
}

/* Spin on card hover */
.card:hover .service-icon svg,
.card:focus-within .service-icon svg {
  animation: icon-spin 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 3. Step number glow pulse */
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  animation: pulse-glow 2.8s ease-in-out infinite;
  will-change: text-shadow, color;
  margin-bottom: 10px;
}

.step:nth-child(1) .step-number {
  animation-delay: 0s;
}

.step:nth-child(2) .step-number {
  animation-delay: 0.7s;
}

.step:nth-child(3) .step-number {
  animation-delay: 1.4s;
}

.step:nth-child(4) .step-number {
  animation-delay: 2.1s;
}

/* 4. Pill shimmer sweep */
.pill {
  background-size: 200% auto;
  background-image: linear-gradient(105deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.15) 40%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.15) 60%,
      rgba(255, 255, 255, 0.15) 100%);
  animation: shimmer 3.5s linear infinite;
}

.pill--ghost {
  background-image: linear-gradient(105deg,
      rgba(220, 220, 220, 0.12) 0%,
      rgba(220, 220, 220, 0.12) 40%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(220, 220, 220, 0.12) 60%,
      rgba(220, 220, 220, 0.12) 100%);
  animation: shimmer 3.5s linear infinite 0.8s;
}

/* 5. Staggered card entrance — only hidden when JS is active (.js-anim on <html>) */
.js-anim .card,
.js-anim .price-card,
.js-anim .testimonial-card,
.js-anim .step {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.js-anim .card.in-view,
.js-anim .price-card.in-view,
.js-anim .testimonial-card.in-view,
.js-anim .step.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger delays (set by JS via --stagger-delay) */
.js-anim .card,
.js-anim .price-card,
.js-anim .testimonial-card,
.js-anim .step {
  transition-delay: var(--stagger-delay, 0ms);
}

/* Accessibility: honour reduced motion */
@media (prefers-reduced-motion: reduce) {

  .service-icon,
  .step-number,
  .pill,
  .pill--ghost {
    animation: none;
  }

  .js-anim .card,
  .js-anim .price-card,
  .js-anim .testimonial-card,
  .js-anim .step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE ACCESSIBILITY & TOUCH TARGETS
═══════════════════════════════════════════════════════════════════ */

/* Ensure all clickable elements have minimum touch target size on mobile */
@media (max-width: 768px) {
  a,
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  input[type="reset"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing for touch interactions */
  .nav-links a,
  .footer-col a {
    padding: 12px 0;
  }
  
  /* Improve text selection on mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Better tap feedback */
  button,
  a[role="button"],
  input[type="button"],
  input[type="submit"] {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  }
}

/* Prevent zoom on input focus for better mobile UX */
@media (max-width: 640px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
  
  /* Better button contrast on small screens */
  .btn {
    min-width: 100%;
  }
  
  /* Improve spacing between form elements */
  .form-grid {
    gap: 12px;
  }
}

/* Improved mobile viewport for very small devices */
@media (max-width: 440px) {
  :root {
    --header-height: 64px;
  }
  
  main {
    padding: var(--header-height) 12px 32px;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
    margin-bottom: 20px;
  }
  
  .dark-toggle {
    width: 32px;
    height: 32px;
  }
  
  .nav {
    padding: 10px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ███  PAGE-SPECIFIC COMPONENTS  ███
   Moved from inline <style> blocks so all pages share one source.
   ═══════════════════════════════════════════════════════════════════ */

/* ── CTA strip (About, Services, Work, Pricing pages) ─────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(220, 220, 220, 0.07));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  margin-top: 16px;
}

.cta-strip h2 {
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-strip .hero-cta {
  justify-content: center;
}

@media (max-width: 640px) {
  .cta-strip {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
  }
}

/* ── Stat row & boxes (About page) ────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
  display: block;
}

/* ── Value list (About page) ───────────────────────────────────── */
.value-list {
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-list li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Service detail list (Services page) ───────────────────────── */
.service-detail-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin-top: 14px;
}

.service-detail-list li::before {
  content: "✓";
  color: var(--accent-2);
  margin-right: 8px;
  font-weight: 700;
}

/* ── Contact page layout ───────────────────────────────────────── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

.contact-sidebar {
  display: grid;
  gap: 20px;
}

.contact-method {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-method-body strong {
  display: block;
  margin-bottom: 4px;
}

.contact-method-body span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-method-body a {
  color: var(--accent-2);
  text-decoration: underline;
}

.response-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 220, 220, 0.08);
  border: 1px solid rgba(220, 220, 220, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.response-note::before {
  content: "⏱";
  font-size: 1.1rem;
}

/* Light mode overrides for page-specific components */
html:not(.dark-mode) .cta-strip {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(20, 184, 166, 0.05));
  border-color: var(--border);
}

html:not(.dark-mode) .response-note {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.2);
}

