/* ============================================================
   ANUBANDH LUXE — hand-crafted layer (no build step needed)
   Loaded after app.css. Pure CSS: typography scale, floating
   pill nav, hero safety, editorial sections, giant footer.
   ============================================================ */

:root {
  --luxe-ivory: #FDFBF6;
  --luxe-earth: #2D211A;
  --luxe-earth-2: #1E1611;
  --luxe-gold: #C9A86A;
  --luxe-gold-soft: #E3C893;
  --luxe-clay: #C46A4A;
  --luxe-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Hero: fluid type, never cut ---------- */
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  /* min grows with the viewport: ~44px @375, ~70px @768, capped at 5.6rem */
  font-size: clamp(2.6rem, 1.2rem + 6.6vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* line-mask clips overflow for the reveal animation — pad it so descenders (g, y)
   and italic overhang are never cut, then pull the extra space back with a negative margin */
.hero-title .line-mask { padding: 0.04em 0.12em 0.16em 0; margin-bottom: -0.1em; }
.hero-sub {
  font-size: clamp(1.02rem, 0.95rem + 0.6vw, 1.28rem);
  line-height: 1.6;
}
.hero-shell {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}
@media (max-width: 640px) {
  .hero-shell { padding-top: 6.5rem; padding-bottom: 3rem; }
  .hero-scroll-hint { display: none; }
}

/* ---------- Floating pill navigation (readable everywhere) ---------- */
.nav-pill {
  background: rgba(30, 22, 17, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  transition: box-shadow 0.4s var(--luxe-ease), background 0.4s var(--luxe-ease);
}
#site-header.scrolled .nav-pill {
  background: rgba(30, 22, 17, 0.88);
  box-shadow: 0 22px 60px -16px rgba(0, 0, 0, 0.65);
}
/* The precompiled app.css paints #site-header.scrolled with a light ivory
   background + shadow of its own. The pill above doesn't span the full
   header width, so that shows through as a pale strip around/behind the
   dark pill on scroll. Neutralize it — the pill owns the scrolled look. */
#site-header.scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--luxe-gold-soft); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--luxe-gold);
  transform: translateX(-50%);
}
.nav-cta {
  background: var(--luxe-gold);
  color: #1E1611;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.35s var(--luxe-ease), background 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--luxe-gold-soft); transform: translateY(-2px); }

/* Mobile overlay drawer */
#mobile-drawer {
  background: #1E1611;
  color: #FDFBF6;
}
.drawer-link {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 8vw, 2.9rem);
  line-height: 1.15;
  color: #FDFBF6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: color 0.3s, padding-left 0.35s var(--luxe-ease);
}
.drawer-link:hover, .drawer-link.active { color: var(--luxe-gold-soft); padding-left: 0.5rem; }

/* ---------- Impact band with dividers ---------- */
.stat-band { border-top: 1px solid rgba(45, 33, 26, 0.12); border-bottom: 1px solid rgba(45, 33, 26, 0.12); }
.stat-cell { position: relative; padding: 0.5rem 0; }
@media (min-width: 1024px) {
  .stat-cell + .stat-cell::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(45, 33, 26, 0.14);
  }
}

/* ---------- Marquee ---------- */
.marquee-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ---------- Voices (real words, editorial quotes) ---------- */
.voice-card {
  background: #fff;
  border: 1px solid rgba(45, 33, 26, 0.09);
  border-radius: 1.4rem;
  transition: transform 0.5s var(--luxe-ease), box-shadow 0.5s var(--luxe-ease);
}
.voice-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -20px rgba(45, 33, 26, 0.3); }
.voice-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  line-height: 1.25;
}

/* ---------- Steps: giant outline numerals ---------- */
.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3.4rem, 3rem + 3vw, 5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 106, 0.75);
  transition: color 0.5s var(--luxe-ease);
}
.step-card:hover .step-num { color: rgba(201, 168, 106, 0.22); }

/* ---------- Buttons: arrow glide ---------- */
.btn-arrow svg { transition: transform 0.35s var(--luxe-ease); }
.btn-arrow:hover svg { transform: translateX(5px); }

/* ---------- Giant footer wordmark ---------- */
.footer-giant {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3.6rem, 12vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: rgba(253, 251, 246, 0.07);
  user-select: none;
  white-space: nowrap;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  background: rgba(30, 22, 17, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6);
}
.sticky-cta-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; }
.sticky-cta-call, .sticky-cta-donate {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  border-radius: 0.85rem;
  padding: 0.85rem 0;
  text-decoration: none;
}
.sticky-cta-call { font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.1); }
.sticky-cta-donate { font-weight: 700; color: #1E1611; background: #C9A86A; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
/* keep the footer's last line clear of the sticky bar on phones */
@media (max-width: 767px) { footer { padding-bottom: 5.5rem; } }

/* ---------- Page hero rhythm (clears floating pill) ---------- */
.page-hero-shell { padding-top: 9.5rem; }
@media (max-width: 640px) { .page-hero-shell { padding-top: 8rem; } }

/* ============================================================
   NAV LAYOUT — self-contained (does not rely on utilities that
   are missing from the precompiled app.css)
   ============================================================ */
.nav-wrap { max-width: 80rem; margin: 0 auto; padding: 0 0.75rem; }
@media (min-width: 40rem) { .nav-wrap { padding: 0 1.5rem; } }
.nav-pill {
  margin: 0.75rem auto 0;
  width: 100%;
  max-width: 72rem;
  min-height: 64px;
  padding: 0.5rem 0.5rem 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 40rem) { .nav-pill { padding-left: 1.4rem; padding-right: 0.6rem; } }
.nav-brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; min-width: 0; text-decoration: none; }
.nav-logo {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 999px; overflow: hidden; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.45);
}
.nav-logo img { width: 2rem; height: 2rem; object-fit: contain; }
.nav-brand-text { line-height: 1.15; min-width: 0; }
.nav-brand-title { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.nav-brand-sub { display: none; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; color: var(--luxe-gold-soft); white-space: nowrap; }
@media (min-width: 40rem) { .nav-brand-sub { display: block; } .nav-brand-title { font-size: 1.25rem; } }
.nav-links { display: none; align-items: center; gap: 1.1rem; margin-left: auto; }
@media (min-width: 64rem) { .nav-links { display: flex; } }
@media (min-width: 80rem) { .nav-links { gap: 1.6rem; } }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 64rem) { .nav-actions { margin-left: 0.5rem; } }
.nav-menu-btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; flex-shrink: 0;
  border: 0; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.1);
  cursor: pointer; transition: background 0.3s;
}
.nav-menu-btn:hover { background: rgba(255, 255, 255, 0.2); }
@media (min-width: 64rem) { .nav-menu-btn { display: none; } }
/* The drawer already carries the CTA, and the sticky bar covers it on phones */
@media (max-width: 29.99rem) { .nav-cta { display: none; } }
@media (max-width: 39.99rem) { .nav-cta { padding: 0.6rem 1rem; font-size: 0.82rem; } }

/* Mobile drawer: hidden from layout/keyboard until opened, smooth slide */
#mobile-drawer {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  visibility: hidden;
  transition: translate 0.5s var(--luxe-ease), transform 0.5s var(--luxe-ease), visibility 0s linear 0.5s;
}
#mobile-drawer.translate-x-0 { visibility: visible; transition-delay: 0s; }
@media (min-width: 64rem) { #mobile-drawer { display: none; } }
#mobile-drawer > nav { padding-bottom: 6rem; }

/* ============================================================
   MISSING UTILITIES — classes used in Blade views that were not
   in the precompiled app.css (layout silently broke without them)
   ============================================================ */
.flex-shrink-0 { flex-shrink: 0; }
.select-none { -webkit-user-select: none; user-select: none; }
.w-8 { width: calc(var(--spacing) * 8); }
.h-8 { height: calc(var(--spacing) * 8); }
.w-max { width: max-content; }
.h-\[76px\] { height: 76px; }
.h-\[380px\] { height: 380px; }
.min-h-\[64px\] { min-height: 64px; }
.top-28 { top: calc(var(--spacing) * 28); }
.top-44 { top: calc(var(--spacing) * 44); }
.ml-4 { margin-left: calc(var(--spacing) * 4); }
.mb-12 { margin-bottom: calc(var(--spacing) * 12); }
.mt-16 { margin-top: calc(var(--spacing) * 16); }
.p-7 { padding: calc(var(--spacing) * 7); }
.px-7 { padding-inline: calc(var(--spacing) * 7); }
.py-3 { padding-block: calc(var(--spacing) * 3); }
.py-4 { padding-block: calc(var(--spacing) * 4); }
.pl-4 { padding-left: calc(var(--spacing) * 4); }
.pr-3 { padding-right: calc(var(--spacing) * 3); }
.gap-10 { gap: calc(var(--spacing) * 10); }
.gap-x-12 { column-gap: calc(var(--spacing) * 12); }
.gap-y-8 { row-gap: calc(var(--spacing) * 8); }
.space-y-6 > :not(:last-child) { margin-block-end: calc(var(--spacing) * 6); }
.space-y-10 > :not(:last-child) { margin-block-end: calc(var(--spacing) * 10); }
.text-\[0\.62rem\] { font-size: 0.62rem; }
.text-\[1\.25rem\] { font-size: 1.25rem; }
.max-w-\[95\%\] { max-width: 95%; }
.\!bg-earth-950 { background-color: #1e1611 !important; }
.\!border-earth-950 { border-color: #1e1611 !important; }

/* hero overlay gradient stops (bg-gradient-to-t from/via/to) */
.from-earth-950\/95 { --tw-gradient-from: rgb(30 22 17 / 0.95); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-earth-950\/40 { --tw-gradient-via: rgb(30 22 17 / 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to); }
.to-earth-950\/60 { --tw-gradient-to: rgb(30 22 17 / 0.6); }
@media (hover: hover) {
  .group:hover .group-hover\:bg-earth-950\/15 { background-color: rgb(30 22 17 / 0.15); }
}

@media (min-width: 40rem) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .md\:flex { display: flex; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================================
   TEXT SAFETY — long words / emails / phone numbers never clip
   ============================================================ */
h1, h2, h3, h4, p, li, address, a { overflow-wrap: break-word; }
address a, footer a[href^="mailto:"] { overflow-wrap: anywhere; }
img, iframe, video { max-width: 100%; }
html, body { overflow-x: clip; }

/* inputs that reserve space for a leading icon (gallery search) */
.field.pl-10 { padding-left: 2.5rem; }
