/* =====================================================
   ViriX Ayurveda — About Us page (page-specific styles)
   Mobile-first: base = 320px, then min-width overrides at
   375 / 430 / 768 / 1024 / 1280 / 1440 / 1920px where a
   section actually changes layout. Colors use the sitewide
   --ay-* custom properties already defined in ayurveda.css.
   ===================================================== */

/* ---------- V2 enhancement: reading progress bar ---------- */
.ay-reading-progress {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 3px;
  background: transparent;
}
.ay-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ay-primary, #1B4332), #C9A227);
  transition: width .12s linear;
}
@media (prefers-reduced-motion: reduce) {
  .ay-reading-progress-bar { transition: none; }
}

/* ---------- V2 enhancement: 3-tone zebra section backgrounds ---------- */
.ay-bg-1 { background: var(--ay-surface, #fff); }
.ay-bg-2 { background: var(--ay-cream, #FAF7F0); }
.ay-bg-3 { background: rgba(27,67,50,.045); }

/* ---------- V2 enhancement: decorative section-number watermark ---------- */
.ay-section-watermark {
  display: block;
  font-family: var(--ay-font-display, 'Fraunces', serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--ay-primary, #1B4332);
  opacity: .08;
  margin-bottom: -8px;
  user-select: none;
}
@media (min-width: 768px) {
  .ay-section-watermark { font-size: 72px; margin-bottom: -18px; }
}

/* ---------- V2 enhancement: animated heading underline (draws in on reveal) ---------- */
.ay-section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.ay-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--ay-primary, #1B4332);
  transition: width .6s ease .1s;
}
.ay-section.ay-reveal.in-view h2::after { width: 56px; }
@media (prefers-reduced-motion: reduce) {
  .ay-section h2::after { transition: none; width: 56px; }
}

/* ---------- Hero ---------- */
.ay-about-hero {
  padding: 32px 0 28px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.ay-about-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 70%;
  padding-bottom: 70%;
  background: radial-gradient(circle, rgba(27,67,50,.10), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ay-about-hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 50%;
  padding-bottom: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ay-about-hero .ay-wrap { position: relative; z-index: 1; }
.ay-about-hero .ay-breadcrumb,
.ay-about-hero .ay-eyebrow,
.ay-about-hero h1,
.ay-about-hero .lead,
.ay-about-hero .ay-hero-ctas {
  animation: ayAboutHeroIn .6s ease both;
}
.ay-about-hero .ay-breadcrumb { animation-delay: 0s; }
.ay-about-hero .ay-eyebrow { animation-delay: .08s; }
.ay-about-hero h1 { animation-delay: .16s; }
.ay-about-hero .lead { animation-delay: .24s; }
.ay-about-hero .ay-hero-ctas { animation-delay: .32s; }
@keyframes ayAboutHeroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ay-about-hero .ay-breadcrumb,
  .ay-about-hero .ay-eyebrow,
  .ay-about-hero h1,
  .ay-about-hero .lead,
  .ay-about-hero .ay-hero-ctas { animation: none; }
}
.ay-about-hero .ay-breadcrumb {
  font-size: 12.5px;
  color: var(--ay-text-muted, #6b6b6b);
  margin-bottom: 14px;
}
.ay-about-hero .ay-breadcrumb a { color: inherit; text-decoration: underline; }
.ay-about-hero h1 {
  font-size: 28px;
  line-height: 1.15;
  margin: 6px 0 14px;
}
.ay-about-hero .lead {
  font-size: 15.5px;
  max-width: 62ch;
  margin-bottom: 20px;
}
.ay-about-hero .ay-hero-ctas { flex-wrap: wrap; }

@media (min-width: 430px) {
  .ay-about-hero h1 { font-size: 32px; }
}
@media (min-width: 768px) {
  .ay-about-hero { padding: 48px 0 36px; }
  .ay-about-hero h1 { font-size: 40px; }
  .ay-about-hero .lead { font-size: 17px; }
}
@media (min-width: 1024px) {
  .ay-about-hero h1 { font-size: 46px; }
}
@media (min-width: 1280px) {
  .ay-about-hero { padding: 60px 0 44px; }
  .ay-about-hero h1 { font-size: 52px; }
}

/* ---------- Sticky quick-nav (section jump links) ---------- */
.ay-about-quicknav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 16px;
  background: var(--ay-surface, #fff);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ay-about-quicknav::-webkit-scrollbar { display: none; }
.ay-about-quicknav a {
  flex: 0 0 auto;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--ay-text-muted, #555);
  background: var(--ay-cream, #FAF7F0);
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.ay-about-quicknav a.active,
.ay-about-quicknav a:hover {
  background: var(--ay-primary, #1B4332);
  color: #fff;
}

/* V2 enhancement: sliding underline tracking the active quicknav link */
.ay-about-quicknav { position: sticky; }
.ay-quicknav-underline {
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: #C9A227;
  transition: left .3s ease, width .3s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .ay-quicknav-underline { transition: none; }
}

@media (min-width: 1024px) {
  .ay-about-quicknav { padding: 12px 32px; gap: 8px; }
  .ay-about-quicknav a { font-size: 13.5px; padding: 8px 16px; }
}

/* ---------- Shared section helpers ---------- */
.ay-about-narrow {
  max-width: 760px;
}
.ay-about-narrow p { font-size: 15px; line-height: 1.7; margin-bottom: 14px; }

.ay-about-inline-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--ay-primary, #1B4332);
  text-decoration: underline;
}

/* Scroll-reveal (paired with the page's IntersectionObserver script) */
.ay-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.ay-reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ay-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mission / Vision two-column ---------- */
.ay-about-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.ay-about-panel {
  background: var(--ay-surface, #fff);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 20px;
}
.ay-about-panel h3 { font-size: 17px; margin-bottom: 8px; }
.ay-about-panel p { font-size: 14.5px; line-height: 1.6; margin: 0; }

@media (min-width: 768px) {
  .ay-about-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
  }
  .ay-about-panel { padding: 26px; }
  /* V2 enhancement: vertical divider with center dot between the two panels */
  .ay-about-two-col::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(0,0,0,.09);
    transform: translateX(-12px);
  }
  .ay-about-two-col::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 12px), -50%);
    color: var(--ay-primary, #1B4332);
    background: var(--ay-cream, #FAF7F0);
    font-size: 13px;
    padding: 4px;
  }
}

/* ---------- Values grid ---------- */
.ay-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ay-value-card {
  background: var(--ay-cream, #FAF7F0);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}
.ay-value-icon { font-size: 26px; margin-bottom: 8px; transition: transform .3s ease; }
.ay-value-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.ay-value-card p { font-size: 13.5px; line-height: 1.55; margin: 0; color: var(--ay-text-muted, #555); }

/* V2 enhancement: hover lift + icon micro-bounce */
.ay-value-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.ay-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.ay-value-card:hover .ay-value-icon { transform: scale(1.15) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) {
  .ay-value-card, .ay-value-icon { transition: none; }
  .ay-value-card:hover { transform: none; }
  .ay-value-card:hover .ay-value-icon { transform: none; }
}

/* V2 enhancement: staggered entrance for value cards when the section reveals */
.ay-values-grid .ay-value-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.ay-section.ay-reveal.in-view .ay-values-grid .ay-value-card {
  opacity: 1;
  transform: translateY(0);
}
.ay-values-grid .ay-value-card:nth-child(1) { transition-delay: .05s; }
.ay-values-grid .ay-value-card:nth-child(2) { transition-delay: .15s; }
.ay-values-grid .ay-value-card:nth-child(3) { transition-delay: .25s; }
.ay-values-grid .ay-value-card:nth-child(4) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .ay-values-grid .ay-value-card { opacity: 1; transform: none; transition: none; }
}

@media (min-width: 430px) {
  .ay-values-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .ay-values-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ---------- Difference cards ---------- */
.ay-diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ay-diff-card {
  border: 1px solid rgba(0,0,0,.08);
  border-left: 3px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-left-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ay-diff-card:hover {
  border-left-color: var(--ay-primary, #1B4332);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.07);
}
.ay-diff-card h4 { font-size: 15px; margin-bottom: 6px; color: var(--ay-primary, #1B4332); }
.ay-diff-card p { font-size: 13.5px; line-height: 1.55; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .ay-diff-card { transition: none; }
  .ay-diff-card:hover { transform: none; }
}

@media (min-width: 768px) {
  .ay-diff-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---------- Process steps ---------- */
.ay-process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.ay-process-step { text-align: left; position: relative; }
.ay-process-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ay-primary, #1B4332);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ay-process-step h4 { font-size: 15px; margin-bottom: 5px; }
.ay-process-step p { font-size: 13.5px; line-height: 1.55; margin: 0; color: var(--ay-text-muted, #555); }

@media (min-width: 768px) {
  .ay-process-steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* V2 enhancement: connecting timeline line between the numbered steps */
  .ay-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 24px);
    width: calc(100% - 24px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(27,67,50,.25) 0 6px, transparent 6px 12px);
  }
}

/* ---------- Placeholder / draft sections (honesty-first pattern) ---------- */
.ay-about-placeholder-section { position: relative; }
.ay-about-draft-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FDF0D5;
  color: #8A5A00;
  border: 1px solid #F0D9A8;
  margin-bottom: 12px;
}
.ay-about-placeholder-box {
  border: 1.5px dashed rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--ay-cream, #FAF7F0);
  position: relative;
  overflow: hidden;
}
/* V2 enhancement: diagonal hazard-stripe accent so draft content reads as
   visually distinct from finished sections even at a glance/scan */
.ay-about-placeholder-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, #F0D9A8 0 8px, transparent 8px 16px);
  opacity: .8;
}
.ay-about-placeholder-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ay-text-muted, #555);
  margin: 0;
}

/* ---------- By the numbers (trust) ---------- */
.ay-trust-numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
.ay-trust-number {
  background: var(--ay-surface, #fff);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ay-trust-number:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.07); }
@media (prefers-reduced-motion: reduce) {
  .ay-trust-number { transition: none; }
  .ay-trust-number:hover { transform: none; }
}
.ay-trust-number strong {
  display: block;
  font-size: 30px;
  font-family: var(--ay-font-display, 'Fraunces', serif);
  color: var(--ay-primary, #1B4332);
  margin-bottom: 4px;
}
.ay-trust-number span { font-size: 12.5px; color: var(--ay-text-muted, #555); }
.ay-about-numbers-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ay-text-muted, #555);
}

@media (min-width: 430px) {
  .ay-trust-numbers-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ search box (reuses sitewide .ay-accordion*) ---------- */
.ay-accordion-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  color: var(--ay-text-muted, #666);
}
.ay-accordion-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
  color: var(--ay-text, #1a1a1a);
}

/* V2 enhancement: chevron rotates + eases on open (SVG replaces the old +/- text) */
#ayAboutFaqAccordion .ay-accordion-icon svg {
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
#ayAboutFaqAccordion .ay-accordion-item.open .ay-accordion-icon svg {
  transform: rotate(180deg);
}
#ayAboutFaqAccordion .ay-accordion-panel {
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Contact CTA ---------- */
.ay-about-contact-cta {
  text-align: center;
  background: var(--ay-cream, #FAF7F0);
}
.ay-about-contact-cta h2 { margin-bottom: 8px; }
.ay-about-contact-cta p { max-width: 52ch; margin: 0 auto 20px; }
.ay-about-contact-cta .ay-hero-ctas { justify-content: center; flex-wrap: wrap; }

/* V2 enhancement: soft pulse glow on the WhatsApp CTA to draw the eye */
.ay-about-contact-cta .ay-btn-primary {
  animation: ayAboutCtaPulse 2.6s ease-in-out infinite;
}
@keyframes ayAboutCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,67,50,.35); }
  50% { box-shadow: 0 0 0 10px rgba(27,67,50,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ay-about-contact-cta .ay-btn-primary { animation: none; }
}

@media (min-width: 1280px) {
  .ay-about-hero .lead,
  .ay-about-narrow { max-width: 780px; }
}

/* ---------- Dark mode addendum (extends the sitewide toggle from PDP v4) ---------- */
html[data-ay-theme="dark"] .ay-about-quicknav { background: #14231b; border-color: rgba(255,255,255,.08); }
html[data-ay-theme="dark"] .ay-about-quicknav a { background: rgba(255,255,255,.06); color: #cfd8d2; }
html[data-ay-theme="dark"] .ay-about-quicknav a.active,
html[data-ay-theme="dark"] .ay-about-quicknav a:hover { background: var(--ay-primary, #2f6b4f); color: #fff; }
html[data-ay-theme="dark"] .ay-about-panel,
html[data-ay-theme="dark"] .ay-diff-card,
html[data-ay-theme="dark"] .ay-trust-number { background: #14231b; border-color: rgba(255,255,255,.08); }
html[data-ay-theme="dark"] .ay-value-card { background: rgba(255,255,255,.05); }
html[data-ay-theme="dark"] .ay-about-placeholder-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); }
html[data-ay-theme="dark"] .ay-about-contact-cta { background: rgba(255,255,255,.04); }
html[data-ay-theme="dark"] .ay-accordion-search { border-color: rgba(255,255,255,.18); }

/* V2 enhancement dark-mode additions */
html[data-ay-theme="dark"] .ay-bg-1 { background: #0f1a14; }
html[data-ay-theme="dark"] .ay-bg-2 { background: #14231b; }
html[data-ay-theme="dark"] .ay-bg-3 { background: rgba(255,255,255,.035); }
html[data-ay-theme="dark"] .ay-section-watermark { color: #7fb89a; opacity: .12; }
html[data-ay-theme="dark"] .ay-section h2::after { background: #C9A227; }
html[data-ay-theme="dark"] .ay-about-hero::before { background: radial-gradient(circle, rgba(127,184,154,.12), transparent 70%); }
html[data-ay-theme="dark"] .ay-about-hero::after { background: radial-gradient(circle, rgba(201,162,39,.10), transparent 70%); }
html[data-ay-theme="dark"] .ay-about-two-col::before { background: rgba(255,255,255,.1); }
html[data-ay-theme="dark"] .ay-about-two-col::after { background: #14231b; }
html[data-ay-theme="dark"] .ay-value-card:hover,
html[data-ay-theme="dark"] .ay-diff-card:hover,
html[data-ay-theme="dark"] .ay-trust-number:hover { box-shadow: 0 10px 24px rgba(0,0,0,.4); }
html[data-ay-theme="dark"] .ay-process-step:not(:last-child)::after { background: repeating-linear-gradient(90deg, rgba(127,184,154,.3) 0 6px, transparent 6px 12px); }
html[data-ay-theme="dark"] .ay-about-placeholder-box::before { background: repeating-linear-gradient(45deg, #8A5A00 0 8px, transparent 8px 16px); opacity: .5; }
html[data-ay-theme="dark"] .ay-reading-progress-bar { background: linear-gradient(90deg, #7fb89a, #C9A227); }
html[data-ay-theme="dark"] .ay-quicknav-underline { background: #C9A227; }

/* =====================================================
   V3 — ULTRA-PREMIUM UI/UX PASS (20 features)
   Layered on top of V1/V2, no content changes.
   ===================================================== */

/* 1. Glassmorphism cards — translucent + backdrop blur */
.ay-value-card,
.ay-diff-card,
.ay-about-panel,
.ay-trust-number {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,.5);
}
.ay-value-card { background: rgba(255,255,255,.55); }

/* 2. Subtle grain/noise texture overlay for an editorial-paper feel
      (scoped to body.ay-body — safe because this stylesheet only
      loads on the About page) */
body.ay-body {
  position: relative;
}
body.ay-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* 3. Gradient typography — hero emphasis word + section watermarks */
.ay-about-hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--ay-primary, #1B4332), #4a8a6a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ay-section-watermark {
  background: linear-gradient(180deg, var(--ay-primary, #1B4332), rgba(27,67,50,0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .16;
}

/* 4. Shimmer animated border on the hero's primary CTA */
.ay-about-hero .ay-btn-primary {
  position: relative;
  overflow: hidden;
}
.ay-about-hero .ay-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  animation: ayShimmer 3.2s ease-in-out infinite;
}
@keyframes ayShimmer {
  0% { left: -150%; }
  60%, 100% { left: 150%; }
}
@media (prefers-reduced-motion: reduce) {
  .ay-about-hero .ay-btn-primary::after { animation: none; display: none; }
}

/* 5. Angled wave divider between zebra-striped sections — each wedge
      takes ITS OWN section'''s bg color (not inherited), so it reads as
      a clean diagonal seam against the previous band */
.ay-section {
  position: relative;
}
.ay-section + .ay-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 14px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: .6;
  pointer-events: none;
}
.ay-section + .ay-section.ay-bg-1::before { background: var(--ay-surface, #fff); }
.ay-section + .ay-section.ay-bg-2::before { background: var(--ay-cream, #FAF7F0); }
.ay-section + .ay-section.ay-bg-3::before { background: rgba(27,67,50,.045); }

/* 6. Cursor-spotlight highlight on premium cards (JS sets --ay-spot-x/y) */
.ay-value-card,
.ay-diff-card,
.ay-about-panel,
.ay-trust-number {
  position: relative;
  isolation: isolate;
}
.ay-value-card::before,
.ay-diff-card::before,
.ay-about-panel::before,
.ay-trust-number::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--ay-spot-x, 50%) var(--ay-spot-y, 50%), rgba(201,162,39,.16), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: -1;
}
.ay-value-card:hover::before,
.ay-diff-card:hover::before,
.ay-about-panel:hover::before,
.ay-trust-number:hover::before {
  opacity: 1;
}

/* 7. Ambient drifting hero blobs (slow continuous motion, not scroll-linked) */
.ay-about-hero::before { animation: ayDriftA 14s ease-in-out infinite; }
.ay-about-hero::after { animation: ayDriftB 18s ease-in-out infinite; }
@keyframes ayDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 3%) scale(1.08); }
}
@keyframes ayDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .ay-about-hero::before, .ay-about-hero::after { animation: none; }
}

/* 8. Floating section-progress pill ("II / XIX") */
.ay-about-progress-pill {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(27,67,50,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  pointer-events: none;
}
.ay-about-progress-pill i { font-style: normal; opacity: .65; font-weight: 500; font-size: 11px; }
@media (max-width: 767px) {
  .ay-about-progress-pill { display: none; }
}

/* 9. Animated SVG progress ring around trust-number counts */
.ay-trust-ring {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
}
.ay-trust-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ay-trust-ring-track { fill: none; stroke: rgba(27,67,50,.12); stroke-width: 4; }
.ay-trust-ring-fill {
  fill: none;
  stroke: var(--ay-primary, #1B4332);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 175.93;
  stroke-dashoffset: 175.93;
}
.ay-trust-ring strong {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ay-trust-number span { display: block; margin-top: 2px; }

/* 10. Process step 3D tilt on hover */
.ay-process-step { transition: transform .3s ease; transform-style: preserve-3d; }
.ay-process-steps { perspective: 800px; }
.ay-process-step:hover { transform: rotateX(6deg) translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .ay-process-step { transition: none; }
  .ay-process-step:hover { transform: none; }
}

/* 11. Button ripple micro-interaction (JS appends .ay-btn-ripple on click) */
.ay-about-hero .ay-btn,
#ayAboutMain .ay-btn,
.ay-about-contact-cta .ay-btn {
  position: relative;
  overflow: hidden;
}
.ay-btn-ripple {
  position: absolute;
  width: 8px; height: 8px;
  margin-left: -4px; margin-top: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  animation: ayRipple .6s ease-out forwards;
  pointer-events: none;
}
@keyframes ayRipple {
  to { transform: scale(18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ay-btn-ripple { display: none; }
}

/* 12. Ornamental divider dot between zebra bands */
.ay-section:not(:first-of-type)::after {
  content: '✦';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--ay-primary, #1B4332);
  opacity: .35;
  background: inherit;
  width: 20px;
  text-align: center;
  pointer-events: none;
}

/* 13. Decorative giant quote mark on the hero lead paragraph */
.ay-about-quote-lead { position: relative; padding-left: 22px; }
.ay-about-quote-lead::before {
  content: '\201C';
  position: absolute;
  left: -6px;
  top: -14px;
  font-family: var(--ay-font-display, 'Fraunces', serif);
  font-size: 48px;
  color: var(--ay-primary, #1B4332);
  opacity: .22;
  line-height: 1;
}

/* 14. Premium expo-out easing on the core interactive transitions */
.ay-value-card,
.ay-diff-card,
.ay-trust-number,
.ay-about-quicknav a,
.ay-quicknav-underline {
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}

/* 15. Quicknav scroll-shrink (condensed once past the hero) */
.ay-about-quicknav {
  transition: padding .25s cubic-bezier(.16,1,.3,1);
}
.ay-about-quicknav.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
}
.ay-about-quicknav.is-scrolled a {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 12.5px;
}

/* 16. FAQ item hover lift before opening */
.ay-accordion-item {
  transition: transform .2s ease, box-shadow .2s ease;
}
#ayAboutFaqAccordion .ay-accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
@media (prefers-reduced-motion: reduce) {
  .ay-accordion-item { transition: none; }
  #ayAboutFaqAccordion .ay-accordion-item:hover { transform: none; }
}

/* 17. Dark-mode ambient vignette for a "premium showroom" feel */
html[data-ay-theme="dark"] body.ay-body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(127,184,154,.08), transparent 60%);
}

/* 18. Soft glow ring behind cards on hover (gradient-border alternative) */
.ay-value-card:hover,
.ay-diff-card:hover,
.ay-trust-number:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.09), 0 0 0 1px rgba(201,162,39,.25);
}

/* 19. Refined ::selection + focus rings for a polished detail touch */
#ayAboutMain ::selection,
.ay-about-hero ::selection {
  background: rgba(201,162,39,.35);
  color: inherit;
}
.ay-about-quicknav a:focus-visible,
.ay-btn:focus-visible {
  outline: 2px solid #C9A227;
  outline-offset: 2px;
}

/* 20. Dark-mode coverage for the V3 additions */
html[data-ay-theme="dark"] .ay-value-card,
html[data-ay-theme="dark"] .ay-diff-card,
html[data-ay-theme="dark"] .ay-about-panel,
html[data-ay-theme="dark"] .ay-trust-number {
  background: rgba(20,35,27,.55);
  border-color: rgba(255,255,255,.08);
}
html[data-ay-theme="dark"] .ay-about-hero h1 em {
  background: linear-gradient(120deg, #7fb89a, #C9A227);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-ay-theme="dark"] .ay-section-watermark {
  background: linear-gradient(180deg, #7fb89a, rgba(127,184,154,0));
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-ay-theme="dark"] .ay-trust-ring-track { stroke: rgba(255,255,255,.1); }
html[data-ay-theme="dark"] .ay-trust-ring-fill { stroke: #7fb89a; }
html[data-ay-theme="dark"] .ay-about-progress-pill { background: rgba(20,35,27,.92); }
html[data-ay-theme="dark"] .ay-about-quote-lead::before { color: #7fb89a; }
html[data-ay-theme="dark"] .ay-value-card:hover,
html[data-ay-theme="dark"] .ay-diff-card:hover,
html[data-ay-theme="dark"] .ay-trust-number:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.4), 0 0 0 1px rgba(201,162,39,.3);
}
html[data-ay-theme="dark"] .ay-section + .ay-section.ay-bg-1::before { background: #0f1a14; }
html[data-ay-theme="dark"] .ay-section + .ay-section.ay-bg-2::before { background: #14231b; }
html[data-ay-theme="dark"] .ay-section + .ay-section.ay-bg-3::before { background: rgba(255,255,255,.035); }
