/* ==========================================================================
   COMPONENTS
   ==========================================================================
   Reusable primitives, composed from tokens. Nothing page-specific lives
   here — if a style only applies to one page's one section, it belongs
   in that page's own stylesheet, not here.
   ========================================================================== */

/* ---- Eyebrow / label -----------------------------------------------------
   A small structural label used ABOVE a heading to give context
   ("Services", "About Aarati"). Used only where it encodes real
   information (a section category), never as decoration. */

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* ---- Text utilities -------------------------------------------------- */

.text-ui {
  font-family: var(--font-ui);
}



.text-faint {
  color: var(--color-ink-faint);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance; /* keeps headlines from ending in a lonely single word */
}


/* ---- Links (contextual variants) ------------------------------------
   Base <a> styling lives in base.css. These are intentional variants
   for specific contexts. */

.link {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-underline-offset: 0.15em;
  transition: var(--transition-color);
}

.link:hover {
  color: var(--color-accent-deep);
  text-decoration-color: currentColor;
}

/* Quiet link — footer, meta contexts. Reads as text until interacted with. */
.link--quiet {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.link--quiet:hover {
  color: var(--color-accent);
}


/* ---- Buttons ---------------------------------------------------------
   "Buttons feel like invitations, not commands." (Design Language)
   Three variants:
     .btn--primary   real commitments only (e.g. WhatsApp CTA)
     .btn--secondary quiet, outlined — most in-page actions
     .btn--text      lowest emphasis, reads almost as a link with padding
   All share the same base sizing/motion so switching variants never
   shifts layout. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-normal);
  padding: var(--space-3) var(--space-6);
  border-radius: 50px;
  
  cursor: pointer;
  transition: var(--transition-color), var(--transition-transform);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--color-blush);
  color: var(--color-accent-plum-deep);
  font-weight: var(--weight-medium);
}

.btn--primary:hover {
  background-color: var(--color-accent-plum);
  border-color: var(--color-gold-deep);
  color: var(--color-blush);
}

.btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: calc(var(--space-3) ) calc(var(--space-5) );
  box-shadow: none;
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--color-paper);
}

.btn--text {
  padding: var(--space-3) var(--space-3);
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-color: transparent;
}

.btn--text:hover {
  color: var(--color-gold-deep);
  text-decoration-color: currentColor;
}

.btn--full {
  width: 100%;
}


/* ---- Card --------------------------------------------------------------
   "Cards feel like pauses, not advertisements." Minimal elevation,
   generous internal spacing, no hard borders unless on the paper-deep
   background (where a border reads more naturally than a shadow). */

.card {
  background-color: var(--color-paper-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-out);
}

@media (max-width: 767px) {
  .card {
    padding: var(--space-5);
  }
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* On an already-raised (.section--deep) background, a card sitting on
   .color-paper-raised needs no shadow to read as distinct — use a
   hairline border instead, to stay quiet. */
.section--deep .card {
  box-shadow: none;
  border: 1px solid var(--color-line);
}

.section--deep .card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card__eyebrow { margin-bottom: var(--space-2); }
.card__title   { margin-bottom: var(--space-3); }
.card__body    { color: var(--color-ink-soft); }
.card__footer  { margin-top: var(--space-5); }

/* On .section--plum, a raised paper-white card would look stark against
   a rich dark background — so instead of .color-paper-raised, use a
   translucent wash of paper itself. Border replaces shadow (a dark
   shadow is invisible on a dark background anyway), and hover reaches
   for --shadow-accent-glow, which is the one shadow token designed to
   read against a dark surface. */
.section--plum .card {
  background-color: color-mix(in srgb, var(--color-paper) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-paper) 16%, transparent);
  box-shadow: none;
  color: var(--color-paper-deep);
}

.section--plum .card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px rgba(228, 168, 62, 0.16), 0 16px 36px rgba(228, 168, 62, 0.18);
  transform: translateY(-2px);
}

.section--plum .card__hook {
  color: var(--color-paper);
}


/* ---- Navigation --------------------------------------------------------
   Minimal, effortless — "the visitor should never wonder where to go."
   Sticky, translucent, and softly reflective so the content behind it
   remains visible while the nav still feels anchored. */

.site-nav {
  position: sticky;
  top: 0;
  z-index: calc(var(--z-overlay) + 1);
  background:#270d2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color var(--duration-base) var(--ease-soft),
              box-shadow var(--duration-base) var(--ease-soft),
              background var(--duration-base) var(--ease-soft);
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
}

.site-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 1.25rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-soft), transform var(--duration-base) var(--ease-soft);
}

.site-nav--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-nav--scrolled::after {
  opacity: 1;
  transform: translateY(0);
}

.site-nav__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.site-nav__brand {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__brand-mark {
  width: 34px;
  height: 34px;
  display: inline-block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-nav__brand {
    font-size: larger ;
    font-weight: var(--weight-semibold);
  }

  .site-nav__brand-mark {
    width: 26px;
    height: 26px;
    display: none;
  }
}




.site-nav__brand:hover {
  color: #ffffff;
}

.nav-list {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.95);
  padding-block: var(--space-2);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.95);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: #ffffff;
}

/* ---- Hamburger / close toggle ------------------------------------------
   Three explicit bars instead of a single icon span, so the hamburger
   can morph into an X with pure CSS, driven off [aria-expanded] —
   no JS change needed, main.js already sets that attribute. */

.nav-toggle {
  display: none;
  position: relative;
  z-index: calc(var(--z-overlay) + 3); /* stays above .mobile-menu always */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
}

.nav-toggle__bar {
  width: 22px;
  height: 1.5px;
  background-color: currentColor; /* inherits .site-nav__inner's text color */
  transition: transform var(--duration-base) var(--ease-soft),
              opacity var(--duration-base) var(--ease-soft);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Mobile menu panel --------------------------------------------------
   Drops down from just below the header (--site-nav-height, already
   set sitewide by animation.js) instead of covering the full screen.
   Height is content-driven with a max-height + scroll safety net, not
   forced to 100vh. */

.mobile-menu {
  position: fixed;
  top: var(--site-nav-height, 4.5rem);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--site-nav-height, 4.5rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: calc(var(--z-overlay) + 2);
  background: linear-gradient(160deg, rgba(10, 7, 12, 0.98) 0%, rgba(15, 6, 24, 0.99) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 var(--space-4) var(--space-6);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft),
              visibility 0s linear var(--duration-base);
}

.mobile-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft),
              visibility 0s linear 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: var(--space-3);
}

.mobile-menu .nav-link {
  display: block;
  width: 100%;
  padding: var(--space-4) 0;
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  color: var(--color-paper);
  text-align: left;
  letter-spacing: 0.01em;
}

.mobile-menu .nav-link + .nav-link {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:focus {
  color: var(--color-gold);
}

.mobile-menu .nav-link[aria-current="page"] {
  color: var(--color-gold);
}

/* CTA gets its own bordered treatment — distinct from the plain links,
   like the reference's outlined "SYSTEM AUDIT" button. */
.mobile-menu .mobile-menu__cta {
  display: block;
  width: 100%;
  margin-top: var(--space-5);
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .nav-toggle__bar { transition: none; }
}

/* ---- FAQ Accordion -----------------------------------------------------
   Built on native <details>/<summary> — expand/collapse works with zero
   JS, which matches "simplicity over complexity" (Article IX). Reusable
   across any page that needs Q&A (Home, Services pricing, etc.).

   Markup:
     <div class="faq">
       <details class="faq-item">
         <summary class="faq-item__question">Question text</summary>
         <div class="faq-item__answer"><p>Answer text</p></div>
       </details>
     </div>
*/

.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* remove default marker so we can draw our own */
  transition: background-color 200ms var(--ease-soft);
}

.faq-item__question:hover,
.faq-item__question:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .faq-item__question {
    font-size: var(--text-sm);
  }
}

/* Remove default disclosure triangle across browsers */
.faq-item__question::-webkit-details-marker {
  display: none;
}

/* Custom plus/minus indicator — a dedicated <span class="faq-item__icon">
   inside the <summary>, built from two pseudo-elements so it can
   rotate/collapse smoothly rather than swapping glyphs (a glyph swap
   causes a visible "pop" that reads as a bug, not a design choice). */

.faq-item__icon {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 360ms var(--ease-soft);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #ffffff;
  transition: transform 360ms var(--ease-soft), opacity 260ms var(--ease-soft);
  transform-origin: center;
}

.faq-item__icon::before {
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-4);
  color: rgba(255, 255, 255, 0.82);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition:
    max-height 420ms var(--ease-soft),
    opacity 320ms var(--ease-soft),
    transform 320ms var(--ease-soft);
}

.faq-item[open] .faq-item__answer {
  max-height: 999px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item__answer p + p {
  margin-top: var(--space-3);
}

/* Reduced motion: icon still changes state, just without the animated
   collapse — respects user preference without losing functionality */
@media (prefers-reduced-motion: reduce) {
  .faq-item__icon::after {
    transition: none;
  }
}

/* ---- Whisper ---------------------------------------------------------
   A quiet aside — reflective, italic, lower-emphasis than body copy.
   Distinct from .statement (a pivot/thesis line): a whisper doesn't
   carry structural weight, it just softens the moment right before
   something is asked of the visitor (e.g. before a choice or a CTA). */

.whisper {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--color-gold-deep);
  max-width: 45ch;
}

/* ---- Statement -----------------------------------------------------
   A pivot/thesis line — distinct from .whisper (a quiet aside) because
   it carries structural weight: it's the hinge a section turns on,
   often bridging into the next section. Marked with a small accent
   rule, not decoration — a quiet signal that this line matters more. */

.statement {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-gold-deep);
  max-width: 32ch;
  margin-top: var(--space-8) !important;
}

.statement::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* ---- Card: equal-height + pinned footer (upgrade to existing .card) ----
   Makes every card in a grid row stretch to match its tallest sibling,
   and always pins the CTA to the same baseline regardless of how much
   text sits above it. Global improvement — benefits any future card
   grid (Services pillar cards, etc.), not just this section. */

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card__footer {
  margin-top: auto;
}

/* ---- Card: recognition statement ---------------------------------------
   A short first-person line, styled as an internal thought rather than
   a label — quiet italic, quotation marks, no accent color (accent is
   reserved for eyebrow-style category labels; this is the opposite of
   a label — it's the visitor's own voice). */

.card__recognition {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-ink-faint);
  margin-bottom: var(--space-3);
}

.card__recognition::before { content: '\201C'; }
.card__recognition::after  { content: '\201D'; }

/* ---- Card: hook line -----------------------------------------------
   The one-line human positioning beneath the service name — slightly
   heavier than body copy so it reads as the card's point, without
   shouting or using accent color (equal weight across all three cards
   matters more here than emphasis). */

.card__hook {
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}
/* ---- Testimonial ---------------------------------------------------
   Deliberately NOT a card — no box, no shadow, no avatar, no star
   rating. Reads as lived experience, not a review widget. Built on
   the existing blockquote semantics/spacing already in base.css. */

.testimonial {
  margin-top: var(--space-9) !important;
}

.testimonial:first-of-type {
  margin-top: 0 !important;
}

.testimonial__pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.testimonial__body {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-ink-soft);
}

.testimonial__attribution {
  margin-top: var(--space-4);
  font-family: var(--font-ui);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-ink-faint);
}

/* ---- Testimonial ---------------------------------------------------
   Deliberately NOT a card — no box, no shadow, no avatar, no star
   rating. Reads as lived experience, not a review widget. Built on
   the existing blockquote semantics/spacing already in base.css. */

.testimonial {
  margin-top: var(--space-9) !important;
}

.testimonial:first-of-type {
  margin-top: 0 !important;
}

.testimonial__pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.testimonial__body {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-ink-soft);
}

.testimonial__attribution {
  margin-top: var(--space-4);
  font-family: var(--font-ui);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-ink-faint);
}

/* ---- Site Footer ---------------------------------------------------
   Brand + three link columns + bottom bar. Reused across every page
   via partials.js — edit markup there, not per-page. */

.section--footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(228, 168, 62, 0.24) 0, rgba(228, 168, 62, 0.12) 18%, transparent 10%),
    radial-gradient(circle at 100% 0%, rgba(115, 67, 120, 0.7) 0, rgba(115, 67, 120, 0.3) 24%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 244, 228, 0.1) 0, rgba(255, 244, 228, 0.04) 24%, transparent 12%),
    linear-gradient(135deg, #1f1022 0%, #2d1630 40%, #3b1d3c 100%);
  color: #ffffff;
}

.section--footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 35%, rgba(228,168,62,0.08) 65%, transparent);
  pointer-events: none;
}

.site-footer {
  padding-block: var(--space-8);
  color: #ffffff;
}

@media (max-width: 767px) {
  .site-footer {
    padding-block: var(--space-7);
  }
}

.site-footer__grid {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
  }
}

.site-footer__brand-link {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: left;
  gap: 0.75rem;
}

.site-footer__brand-mark {
  width: 80px;
  height: 80px;
  display: inline-block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-footer__brand-mark {
    width: 64px;
    height: 64px;
  }
}

.site-footer__brand-link:hover {
  color: #ffffff;
}

.site-footer__tagline {
  margin-top: var(--space-3);
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
}

.site-footer__heading {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__social {
  margin-top: var(--space-5);
  gap: var(--space-3);
}

.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-color), border-color var(--duration-fast) var(--ease-soft);
}

.site-footer__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.site-footer__icon:hover {
  color: #ffffff;
  border-color: #ffffff;
}


.site-footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
  }
}

.site-footer__meta {
  line-height: var(--leading-normal);
}

.site-footer .link--quiet {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer .link--quiet:hover {
  color: #ffffff;
}

.site-footer__dot {
  margin-inline: var(--space-2);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__meta a {
  color: var(--color-gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-sm);
}

.site-footer__meta a:hover {
  color: #ffffff;
}

.site-footer__top {
  flex-shrink: 0;
  font-size: var(--text-sm);
}
.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-line);
}

/* ---- Image Placeholder (v2) ---------------------------------------
   For sections awaiting a real photograph. Shows the AI-generation
   prompt as visible caption text inside a dashed frame — so the page
   still looks intentional (not "broken") even before the real photo
   exists, and the prompt is right there for whoever generates it. */

.image-placeholder {
  aspect-ratio: var(--ph-ratio, 4 / 5);
  background-color: var(--color-blush);
  border: 1px dashed var(--color-gold-deep);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  text-align: center;
}

.image-placeholder__prompt {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--color-ink-soft);
  max-width: 30ch;
}

/* ---- Testimonial Avatar --------------------------------------------
   Real client photos can't be AI-generated (these are named, real
   people) — using initials-in-a-circle instead of a placeholder-photo
   box avoids implying a fake photo of a real person. Swap for a real
   <img> later without changing markup structure. */

.testimonial__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-paper);
  margin-bottom: var(--space-3);
}

/* ---- Scroll Reveal ---------------------------------------------------
   Subtle "emerge on scroll" treatment. Progressive enhancement: content
   is visible by default — the hidden initial state ONLY applies once
   JS confirms it's ready (adds .js-reveal-ready to <html>) and the user
   hasn't requested reduced motion. This guarantees content is never
   stuck invisible if JS fails or is blocked.
   Usage: add data-reveal to any element (typically each <section>). */
 
.js-reveal-ready [data-reveal] {
  position: relative;
}

.js-reveal-ready [data-reveal] > .reveal-contents {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
 
.js-reveal-ready [data-reveal].is-revealed > .reveal-contents {
  transform: translateY(0);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}