/* ═══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root {
  --color-bg:         #0A0A0A;
  --color-surface:    #111111;
  --color-surface-2:  #131313;
  --color-cover:      #1C1A16;
  --color-text:       #E8E8E8;
  --color-muted:      rgba(232,232,232,0.55);
  --color-subtle:     rgba(232,232,232,0.45);
  --color-dim:        rgba(232,232,232,0.35);
  --color-gold:       #FAF9F6;
  --color-primary:    var(--color-gold);
  --color-ash:        #8C8882;
  --color-ash-glow:   rgba(140,136,130,0.18);
  --color-ash-dim:    rgba(140,136,130,0.08);
  --color-border:     rgba(255,255,255,0.06);
  --color-input:      rgba(255,255,255,0.08);
  --color-error:      #C4615A;

  /* Digital Serenity section — homepage light-mode panel */
  --color-ds-dark:    #28282B;
  --color-ds-mid:     #7B7B7C;

  --font-heading:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:        'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --spacing-sm:       1rem;
  --spacing-md:       2rem;
  --spacing-lg:       4rem;
  --spacing-xl:       7.5rem;

  --nav-h:            64px;
  --gradient-dark:    linear-gradient(0deg, rgba(200,200,200,.04), rgba(120,120,120,.04));

  /* Planned expansions: services page, portfolio section */
}


/* ═══════════════════════════════════════════════
   CSS RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Prevents flash of unstyled content before curtain JS runs */
  background: var(--color-bg);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

body.nav-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════
   SKIP LINK — accessibility
═══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-border);
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-ash);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  display: block;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.scroll-reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}
.scroll-reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ═══════════════════════════════════════════════
   SECTION WRAPPER
═══════════════════════════════════════════════ */
.section-wrap {
  padding: 120px 0;
  background-image: var(--gradient-dark);
}
.section-wrap--alt {
  background-color: var(--color-surface);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .section-wrap { padding: 80px 0; }
  .section-inner { padding: 0 1.5rem; }
}

/* ═══════════════════════════════════════════════
   PILL NAVIGATION — bottom-floating, fluid.glass
═══════════════════════════════════════════════ */
.pill-nav {
  position: fixed;
  bottom: 2rem;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  height: 52px;
  max-width: calc(100vw - 2rem);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px  rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  overflow: hidden;
}

/* Logo */
.pill-nav-logo {
  display: flex;
  align-items: center;
  padding: 0 0.6rem 0 0.85rem;
  flex-shrink: 0;
  text-decoration: none;
}
.pill-nav-logo img {
  height: 0.5cm;
  width: auto;
  object-fit: contain;
}
/* Thin separator after logo */
.pill-nav-logo::after {
  content: '';
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.10);
  margin-left: 0.75rem;
  flex-shrink: 0;
}

/* Link row */
.pill-nav-links {
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
}

.pill-nav-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.pill-nav-link:hover  {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}
.pill-nav-link:focus-visible {
  outline: 2px solid var(--color-ash);
  outline-offset: 2px;
}
.pill-nav-link.active { color: var(--color-ash); }

/* Hamburger */
.pill-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  padding: 0.45rem 0.85rem;
  margin-right: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
}
.pill-nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 1px;
}

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--color-text);
  line-height: 1;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu-link {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  color: var(--color-text);
}
.mobile-menu-link:focus-visible {
  outline: 2px solid var(--color-ash);
  outline-offset: 4px;
}
.mobile-menu-link.active {
  color: var(--color-ash);
}

@media (max-width: 768px) {
  .pill-nav              { bottom: 1.5rem; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); height: 48px; }
  .pill-nav-links        { display: none; }
  .pill-nav-hamburger    { display: flex; }
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem;
  text-align: center;
  background: var(--color-bg);
  background-image: var(--gradient-dark);
}
.site-footer p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-subtle);
}
.site-footer a {
  color: var(--color-ash);
  transition: text-decoration 0.2s ease;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   MOTION BUTTON
═══════════════════════════════════════════════ */
.motion-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}
.motion-btn {
  position: relative;
  display: inline-block;
  width: 240px;
  padding: 4px;
  background: #111111;
  border: 1.5px solid rgba(140,136,130,0.25);
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  text-decoration: none;
}
.motion-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}
.motion-btn-circle {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--color-ash);
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.motion-btn:hover .motion-btn-circle,
.motion-btn:focus-visible .motion-btn-circle {
  width: 100%;
}
.motion-btn-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.motion-btn:hover .motion-btn-icon,
.motion-btn:focus-visible .motion-btn-icon {
  transform: translate(0.4rem, -50%);
}
.motion-btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 1rem;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 500ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.motion-btn:hover .motion-btn-label,
.motion-btn:focus-visible .motion-btn-label {
  color: var(--color-bg);
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonials-quotes {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
.testimonials-quote {
  grid-area: 1 / 1;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(0.6rem);
  filter: blur(3px);
  transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease;
  pointer-events: none;
}
.testimonials-quote.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.testimonials-quote.is-active.quote-float-in {
  animation: ds-word-appear 0.9s ease-out forwards;
}
.testimonials-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.testimonials-avatars {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
}
.testimonials-avatar {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #1A1A1A;
  background: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  margin-left: -0.5rem;
  flex-shrink: 0;
  filter: grayscale(1);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonials-avatar:first-child { margin-left: 0; }
.testimonials-avatar:hover {
  filter: grayscale(0);
  transform: scale(1.06);
}
.testimonials-avatar.is-active {
  filter: grayscale(0);
  transform: scale(1.12);
  z-index: 1;
}
.testimonials-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonials-sep {
  width: 1px;
  height: 2.25rem;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.testimonials-meta {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
  min-width: 0;
}
.testimonials-author {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(-0.4rem);
  transition: opacity 400ms ease, transform 400ms ease;
  pointer-events: none;
}
.testimonials-author.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonials-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
.testimonials-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--color-ash);
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════════
   CTA SECTION (shared)
═══════════════════════════════════════════════ */
.cta-section {
  padding: 120px 1.5rem;
  text-align: center;
  background: var(--color-bg);
  background-image: var(--gradient-dark);
}
.cta-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--color-text);
}
.cta-body {
  margin-top: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  border: 1px solid var(--color-ash);
  color: var(--color-ash);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  height: 48px;
  padding: 0 2rem;
  min-width: 220px;
  transition: background 0.25s ease, color 0.25s ease;
}
.cta-btn:hover {
  background: var(--color-ash);
  color: var(--color-bg);
}

@media (max-width: 768px) {
  .cta-section { padding: 80px 1.5rem; }
}

/* ── Eyebrow spacing inside CTA sections ── */
.cta-section .eyebrow {
  margin-bottom: 2.5rem;
}
.cta-section-eyebrow {
  margin-bottom: 1.5rem;
}

/* ── Shared heading helpers (used by WhyUs, Pricing) ── */
.svc-center-eyebrow {
  text-align: center;
  margin-bottom: 1rem;
}
.svc-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0;
}
.svc-center-heading {
  text-align: center;
  margin-bottom: 4rem;
}
.svc-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 1.5rem auto 0;
}
.svc-body em {
  font-family: var(--font-heading);
  font-style: italic;
}
.eyebrow-diamond {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow-diamond::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--color-ash);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.7;
}


/* ═══════════════════════════════════════════════
   DMS HIGHLIGHT CARD
   Translates React highlight-card into vanilla
   CSS — DMS palette: cream / ash / near-black
═══════════════════════════════════════════════ */

.dms-hcard-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Shell ── */
.dms-hcard {
  position: relative;
  width: 100%;
  max-width: 390px;
  background: linear-gradient(135deg, #010101 0%, #0a0a0a 50%, #010101 100%);
  border: 1px solid rgba(250, 249, 246, 0.10);
  border-radius: 1rem;
  overflow: hidden;
  transition:
    transform      0.5s cubic-bezier(0.25, 0, 0, 1),
    border-color   0.5s ease,
    box-shadow     0.5s ease;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.80),
    0  6px 20px rgba(0, 0, 0, 0.50);
}
.dms-hcard:hover {
  transform: scale(1.04) rotate(-0.8deg);
  border-color: rgba(250, 249, 246, 0.22);
  box-shadow:
    0 35px 72px rgba(0, 0, 0, 0.90),
    0  8px 24px rgba(0, 0, 0, 0.60),
    0  0  50px rgba(140, 136, 130, 0.06);
}

/* ── Background layer ── */
.dms-hcard-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.dms-hcard-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(250, 249, 246, 0.03) 0%,
    rgba(140, 136, 130, 0.06) 100%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
}
.dms-hcard:hover .dms-hcard-bg::before { opacity: 0.65; }

/* Ambient orb — bottom left, slow drift */
.dms-hcard-orb1 {
  position: absolute;
  bottom: -5rem;
  left: -5rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(140, 136, 130, 0.14) 0%,
    transparent 70%);
  filter: blur(24px);
  opacity: 0.30;
  animation: dms-hcard-drift 6s ease-in-out infinite;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.dms-hcard:hover .dms-hcard-orb1 { opacity: 0.50; transform: scale(1.12); }

/* Ping orb — top area */
.dms-hcard-orb2 {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(250, 249, 246, 0.04);
  filter: blur(10px);
  animation: dms-hcard-ping 3.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Ping orb — bottom right */
.dms-hcard-orb3 {
  position: absolute;
  bottom: 3.5rem;
  right: 3.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(140, 136, 130, 0.05);
  filter: blur(7px);
  animation: dms-hcard-ping 3.2s cubic-bezier(0, 0, 0.2, 1) infinite 0.9s;
}

/* Shimmer sweep — travels on hover */
.dms-hcard-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(250, 249, 246, 0.04) 50%,
    transparent 80%
  );
  transform: skewX(-12deg) translateX(120%);
  transition: transform 1s cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}
.dms-hcard:hover .dms-hcard-shimmer {
  transform: skewX(-12deg) translateX(-220%);
}

/* ── Content body ── */
.dms-hcard-body {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Icon ── */
.dms-hcard-icon-wrap {
  position: relative;
  margin-bottom: 1.75rem;
}
.dms-hcard-icon-ring1,
.dms-hcard-icon-ring2 {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  pointer-events: none;
}
.dms-hcard-icon-ring1 {
  border: 2px solid rgba(250, 249, 246, 0.16);
  animation: dms-hcard-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dms-hcard-icon-ring2 {
  border: 1px solid rgba(250, 249, 246, 0.08);
  animation: dms-hcard-pulse 3s ease-in-out infinite;
}
.dms-hcard-icon {
  position: relative;
  padding: 1.35rem;
  border-radius: 50%;
  border: 1px solid rgba(250, 249, 246, 0.16);
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.90) 0%,
    rgba(20, 20, 18, 0.70) 100%
  );
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform  0.5s cubic-bezier(0.25, 0, 0, 1),
    box-shadow 0.5s ease;
}
.dms-hcard:hover .dms-hcard-icon {
  transform: rotate(12deg) scale(1.1);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.65),
    0  0  24px rgba(140, 136, 130, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dms-hcard-icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--color-text);
  transition: transform 0.7s cubic-bezier(0.25, 0, 0, 1);
}
/* Full-spin variant for refresh/maintenance icon */
.dms-hcard--spin:hover .dms-hcard-icon svg {
  transform: rotate(360deg);
}

/* ── Title ── */
.dms-hcard-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.25, 0, 0, 1);
}
.dms-hcard-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-ash);
}
.dms-hcard:hover .dms-hcard-title { transform: scale(1.025); }

/* ── Description lines ── */
.dms-hcard-desc {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-width: 26ch;
  margin: 0 auto;
}
.dms-hcard-desc p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-muted);
  transition: color 0.3s ease;
}
.dms-hcard:hover .dms-hcard-desc p { color: rgba(250, 249, 246, 0.68); }

/* ── Accent bar ── */
.dms-hcard-bar {
  width: 33%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-ash),
    transparent
  );
  border-radius: 999px;
  margin-top: 1.75rem;
  transition:
    width  0.5s cubic-bezier(0.25, 0, 0, 1),
    height 0.35s ease;
  animation: dms-hcard-pulse 3.5s ease-in-out infinite;
}
.dms-hcard:hover .dms-hcard-bar {
  width: 50%;
  height: 2px;
}

/* ── Bouncing dots ── */
.dms-hcard-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.9rem;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.dms-hcard:hover .dms-hcard-dots { opacity: 1; }
.dms-hcard-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-ash);
  animation: dms-hcard-bounce 1.4s ease-in-out infinite;
}
.dms-hcard-dot:nth-child(2) { animation-delay: 0.1s; }
.dms-hcard-dot:nth-child(3) { animation-delay: 0.2s; }

/* ── CTA inside card ── */
.dms-hcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ash);
  text-decoration: none;
  border: 1px solid rgba(140, 136, 130, 0.32);
  padding: 0.9rem 2.5rem;
  transition:
    background    0.25s ease,
    color         0.25s ease,
    border-color  0.25s ease;
}
.dms-hcard-cta:hover {
  background: var(--color-ash);
  color: var(--color-bg);
  border-color: var(--color-ash);
}
.dms-hcard-cta:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* ── Corner accent glows ── */
.dms-hcard-corner-tl,
.dms-hcard-corner-br {
  position: absolute;
  width: 5rem;
  height: 5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.dms-hcard-corner-tl {
  top: 0; left: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(250, 249, 246, 0.07) 0%,
    transparent 70%
  );
  border-bottom-right-radius: 1.5rem;
}
.dms-hcard-corner-br {
  bottom: 0; right: 0;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(250, 249, 246, 0.07) 0%,
    transparent 70%
  );
  border-top-left-radius: 1.5rem;
}
.dms-hcard:hover .dms-hcard-corner-tl,
.dms-hcard:hover .dms-hcard-corner-br { opacity: 1; }

/* ── Keyframes ── */
@keyframes dms-hcard-drift {
  0%, 100% { transform: translateY(0)  translateX(0); }
  33%       { transform: translateY(-8px) translateX(4px); }
  66%       { transform: translateY(4px)  translateX(-6px); }
}
@keyframes dms-hcard-ping {
  0%        { transform: scale(1);   opacity: 0.65; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}
@keyframes dms-hcard-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
@keyframes dms-hcard-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .dms-hcard         { max-width: 100%; }
  .dms-hcard-body    { padding: 2rem 1.5rem; }
  .dms-hcard-desc    { max-width: 100%; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .dms-hcard,
  .dms-hcard-icon,
  .dms-hcard-icon svg,
  .dms-hcard-shimmer,
  .dms-hcard-bar,
  .dms-hcard-title { transition: none; }
  .dms-hcard:hover { transform: none; }
  .dms-hcard:hover .dms-hcard-shimmer {
    transform: skewX(-12deg) translateX(120%);
  }
  .dms-hcard-icon-ring1,
  .dms-hcard-icon-ring2,
  .dms-hcard-orb1,
  .dms-hcard-orb2,
  .dms-hcard-orb3,
  .dms-hcard-dot,
  .dms-hcard-bar { animation: none; }
  .dms-hcard-dots { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   PAGE HERO (shared for services / process / contact)
═══════════════════════════════════════════════ */
.page-hero {
  padding: 160px 1.5rem 100px;
  text-align: center;
  background: var(--color-bg);
  background-image: var(--gradient-dark);
}
.page-hero-eyebrow {
  margin-bottom: 1.5rem;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  max-width: 750px;
  margin: 0 auto;
}
.page-hero-subtitle {
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 1.5rem 80px; }
}

/* ═══════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes load {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes up {
  100% { transform: translateY(0); }
}
@keyframes spotlight {
  0%   { transform: rotateZ(0deg) scale(1);    filter: blur(15px) opacity(0.5); }
  20%  { transform: rotateZ(-1deg) scale(1.2); filter: blur(16px) opacity(0.6); }
  40%  { transform: rotateZ(2deg) scale(1.3);  filter: blur(14px) opacity(0.4); }
  60%  { transform: rotateZ(-2deg) scale(1.2); filter: blur(15px) opacity(0.6); }
  80%  { transform: rotateZ(1deg) scale(1.1);  filter: blur(13px) opacity(0.4); }
  100% { transform: rotateZ(0deg) scale(1);    filter: blur(15px) opacity(0.5); }
}
@keyframes loadrot {
  0%   { transform: rotate(0deg) scale(0); }
  100% { transform: scale(1); }
}
@keyframes accentload {
  0%   { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes scrollbounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
@keyframes scrollLineFall {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
  20%  { opacity: 1; }
  80%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: top; }
}
@keyframes revealImage {
  from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  to   { clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%); }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-item { transform: none; transition: opacity 400ms ease; }
  .spotlight-beam     { animation: none !important; }
  .particle-canvas    { animation: none; opacity: 1; }
  .anim-item          { animation: none !important; opacity: 1; }
}
