/* Feed A Stray: bright, happy, paw-sitive */

:root {
  --sun: #fff4d6;
  --sun-deep: #ffe08a;
  --cream: #fffbf5;
  --coral: #e85d2c;
  --coral-dark: #c43d12;
  --coral-hover: #ff6b35;
  --mint: #5ec9a0;
  --mint-light: #d4f5e8;
  --sky: #5eb8e8;
  --sky-light: #d6efff;
  --lavender: #b8a0e8;
  --lavender-light: #ede6ff;
  --ink: #2a1f3d;
  --ink-soft: #4a3f5c;
  --white: #ffffff;
  --shadow: 0 6px 28px rgba(42, 31, 61, 0.1);
  --shadow-lg: 0 16px 48px rgba(42, 31, 61, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 76px;
  --cta-bg: #c43d12;
  --cta-text: #ffffff;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --touch-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Keep header (and menu) above the dimmed backdrop */
body.nav-open .site-header {
  z-index: 250;
}

main {
  display: flex;
  flex-direction: column;
}

/* Story flows: hero → Vandana's story → her work → impact */
#about {
  order: 2;
}

#service {
  order: 3;
}

#recovery {
  order: 4;
}

.needs {
  order: 5;
}

#gallery {
  order: 6;
}

#help {
  order: 7;
}

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

a {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  letter-spacing: -0.01em;
}

h1 .highlight {
  color: var(--coral);
  display: inline-block;
  position: relative;
}

h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.35em;
  background: var(--sun-deep);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.7;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.15em;
}

.container {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: max(1rem, var(--safe-left)) max(1rem, var(--safe-right));
}

.section {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

.section-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coral-dark);
  background: var(--sun);
  border-radius: var(--radius-pill);
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  background: rgba(255, 251, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--sun-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: var(--header-h);
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 112;
}

.header-cta {
  display: none;
  white-space: nowrap;
}

.btn-compact {
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  box-shadow: 0 3px 0 #8f2d0e, 0 4px 14px rgba(196, 61, 18, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo:hover,
.logo:focus,
.logo:focus-visible,
.logo:active,
.logo:visited {
  color: var(--ink);
  text-decoration: none;
}

.logo-text {
  color: inherit;
}

.logo-mark {
  font-size: 1.5rem;
  color: inherit;
  animation: wiggle 2.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--coral);
}

.site-nav .nav-cta {
  background: var(--cta-bg);
  color: var(--cta-text) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 #8f2d0e, 0 6px 16px rgba(196, 61, 18, 0.35);
  border: 2px solid #8f2d0e;
}

.site-nav .nav-cta:hover {
  background: var(--coral-hover);
  color: var(--cta-text) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #8f2d0e, 0 8px 20px rgba(196, 61, 18, 0.4);
}

.site-nav .nav-cta--secondary {
  background: var(--white);
  color: var(--ink) !important;
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--ink), 0 5px 12px rgba(42, 31, 61, 0.12);
}

.site-nav .nav-cta--secondary:hover {
  background: var(--sun);
  color: var(--ink) !important;
  box-shadow: 0 4px 0 var(--ink), 0 6px 16px rgba(42, 31, 61, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

/* Buttons: high contrast CTAs */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--touch-min);
  padding: 0.9rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: #8f2d0e;
  box-shadow: 0 5px 0 #8f2d0e, 0 8px 24px rgba(196, 61, 18, 0.35);
}

.btn-primary:hover {
  background: var(--coral-hover);
  color: var(--cta-text);
  box-shadow: 0 6px 0 #8f2d0e, 0 10px 28px rgba(196, 61, 18, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink), 0 6px 16px rgba(42, 31, 61, 0.12);
}

.btn-secondary:hover {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: transparent;
  box-shadow: none;
  min-height: auto;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: var(--coral);
  background: rgba(255, 255, 255, 0.6);
  transform: none;
  box-shadow: none;
}

.btn-large {
  padding: 1.05rem 2rem;
  font-size: 1.1rem;
}

.help .btn-primary {
  box-shadow: 0 5px 0 #6b2808, 0 10px 32px rgba(0, 0, 0, 0.35);
}

/* Hero */

.hero {
  position: relative;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sun) 0%, var(--cream) 55%);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
}

.blob-1 {
  width: 280px;
  height: 280px;
  background: var(--mint-light);
  top: -80px;
  right: -60px;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--lavender-light);
  bottom: 20%;
  left: -50px;
}

.blob-3 {
  width: 120px;
  height: 120px;
  background: var(--sky-light);
  top: 40%;
  right: 30%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.hero-intro,
.hero-lead {
  font-size: 1.125rem;
  max-width: 32rem;
}

.hero-intro {
  font-weight: 600;
  color: var(--ink);
}

.pull-quote__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral-dark);
}

.hero-support-lead {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.hero-visual {
  margin: 0;
}

.hero-photo-frame {
  position: relative;
  padding: 0.65rem;
  background: linear-gradient(145deg, var(--coral), var(--sun-deep), var(--mint));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}

.hero-photo-inner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 4px solid var(--white);
  background: var(--sun);
}

.hero-photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(255, 244, 214, 0.15) 100%
  );
  pointer-events: none;
}

.hero-photo-inner img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  aspect-ratio: 4 / 5;
}

.hero-deco {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(42, 31, 61, 0.15));
  pointer-events: none;
}

.hero-deco--tl {
  top: -0.35rem;
  left: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border: 3px solid var(--coral);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-deco--tr {
  top: -0.5rem;
  right: 0.25rem;
  font-size: 1.6rem;
  transform: rotate(8deg);
}

.hero-deco--bl {
  bottom: 2.5rem;
  left: -0.45rem;
  width: 2.35rem;
  height: 2.35rem;
  background: var(--lavender-light);
  border: 3px dashed var(--lavender);
  border-radius: 50%;
  font-size: 1.1rem;
}

.hero-deco--br {
  bottom: 2.75rem;
  right: -0.35rem;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--sun-deep);
  border-radius: 50%;
  font-size: 1rem;
  transform: rotate(15deg);
}

.hero-deco--ring {
  inset: -0.35rem;
  border: 3px dotted rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  z-index: 0;
}

.hero-photo-tag {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 3;
  transform: translateX(-50%) rotate(1deg);
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--coral);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(42, 31, 61, 0.12);
  pointer-events: none;
}

.hero-visual figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23fffbf5' d='M0 48L60 28 120 40 180 22 240 36 300 18 360 34 420 20 480 38 540 24 600 36 660 18 720 32 780 22 840 40 900 26 960 34 1020 20 1080 36 1140 24 1200 40V48H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* Click paw prints */
.paw-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.paw-print {
  position: fixed;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition:
    opacity 0.15s ease,
    transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  will-change: transform, opacity;
  user-select: none;
}

.paw-print.is-visible {
  opacity: 0.85;
  transform: translate(-50%, -50%) scale(1);
}

.paw-print.is-fade {
  opacity: 0;
  transform: translate(-50%, -65%) scale(0.85);
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 1.5rem 0 clamp(2.5rem, 5vw, 3.5rem);
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 3px solid transparent;
  transition: transform 0.2s;
}

.stat:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.stat--sun {
  background: var(--sun-deep);
  border-color: #f5c842;
}

.stat--coral {
  background: #ffd4c4;
  border-color: var(--coral);
}

.stat--mint {
  background: var(--mint-light);
  border-color: var(--mint);
}

.stat--sky {
  background: var(--sky-light);
  border-color: var(--sky);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  line-height: 1.35;
  padding-inline: 0.15rem;
}

/* Service */

.service {
  background: var(--white);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.service-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 3px solid var(--sun-deep);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* About */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.pull-quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--lavender-light), var(--mint-light));
  border-radius: var(--radius-lg);
  border: 3px dashed var(--lavender);
}

.pull-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

/* Carousel */

.carousel {
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  touch-action: pan-x pan-y;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
}

.carousel-slide img {
  width: 100%;
  object-fit: cover;
  background: var(--cream);
}

.about-carousel .carousel-slide img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.recovery-carousel .carousel-viewport {
  background: var(--white);
}

.recovery-carousel .carousel-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.recovery-slide-media {
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
  background: var(--ink);
  border-bottom: 3px solid var(--sun-deep);
}

.recovery-carousel .carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 560px);
  object-fit: cover;
  object-position: center center;
  margin-inline: auto;
}

.recovery-slide-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 1.15rem 1.35rem 1.35rem;
  text-align: center;
  background: var(--sun);
  border-top: none;
}

.recovery-slide-caption-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.recovery-slide-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.recovery-slide-note {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.recovery-slide-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.carousel-slide figcaption {
  padding: 0.9rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  background: var(--sun);
  border-top: 3px solid var(--sun-deep);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.15rem;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--cta-text);
  background: var(--cta-bg);
  border: 2px solid #8f2d0e;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 0 #8f2d0e;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s, background 0.15s;
}

.carousel-btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
}

.carousel-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #8f2d0e;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  inset: -12px;
}

.carousel-dot:hover {
  transform: scale(1.15);
  background: var(--sun-deep);
}

.carousel-dot.is-active {
  background: var(--coral);
  border-color: var(--coral-dark);
  transform: scale(1.2);
}

/* Recovery */

.recovery {
  background: linear-gradient(180deg, var(--mint-light) 0%, var(--cream) 100%);
}

.recovery-carousel {
  max-width: 920px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .recovery-carousel .carousel-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 0;
  }

  .recovery-slide-media {
    border-bottom: none;
    border-right: 3px solid var(--sun-deep);
    min-height: 400px;
    max-height: 480px;
  }

  .recovery-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 480px;
    aspect-ratio: auto;
    object-fit: cover;
    margin-inline: 0;
  }

  .recovery-slide-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: linear-gradient(
      165deg,
      var(--mint-light) 0%,
      var(--sun) 55%,
      var(--sun-deep) 100%
    );
    text-align: left;
  }

  .recovery-slide-caption-body {
    width: 100%;
    max-width: 20rem;
    gap: 0.85rem;
    padding: clamp(1.35rem, 2.5vw, 1.75rem);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 3px solid var(--sun-deep);
    box-shadow: var(--shadow-lg);
    position: relative;
  }

  .recovery-slide-caption-body::before {
    content: "💛";
    display: block;
    font-size: 1.5rem;
    line-height: 1;
  }

  .recovery-slide-quote {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.55;
  }

  .recovery-slide-note {
    padding-top: 0.65rem;
    border-top: 2px dashed var(--sun-deep);
    font-family: var(--font-display);
    font-size: 0.9rem;
  }
}

/* Needs */

.needs {
  background: var(--white);
}

.needs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.need-card {
  padding: 1.6rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 3px solid transparent;
  transition: transform 0.2s;
}

.need-card:hover {
  transform: translateY(-6px) rotate(1deg);
}

.need-card--food {
  background: var(--sun);
  border-color: var(--sun-deep);
}

.need-card--med {
  background: #ffe8e0;
  border-color: var(--coral);
}

.need-card--vet {
  background: var(--mint-light);
  border-color: var(--mint);
}

.need-card--gear {
  background: var(--lavender-light);
  border-color: var(--lavender);
}

.need-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.need-card h3 {
  margin-bottom: 0.35rem;
}

.need-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Gallery: full images, no cropping */

.gallery {
  background: linear-gradient(180deg, var(--white) 0%, var(--sun) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}

.gallery-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.gallery-more-btn {
  width: 100%;
  max-width: 20rem;
}

.gallery-help-cta {
  width: 100%;
  max-width: 20rem;
  text-align: center;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Help */

.help {
  background: linear-gradient(160deg, #3d2060 0%, #5c3480 50%, #7a4a9e 100%);
  color: rgba(255, 255, 255, 0.92);
}

.help h2 {
  color: var(--white);
}

.help a:not(.btn) {
  color: var(--sun-deep);
}

.help a:not(.btn):hover {
  color: var(--white);
}

.help-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.help-header {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.help-header h2 {
  margin-top: 0.35rem;
}

.help-header-lead {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.help-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.help-choice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 3px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.help-choice:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.help-choice--registry:hover,
.help-choice--registry:focus-visible {
  border-color: var(--coral);
}

.help-choice--upi:hover,
.help-choice--upi:focus-visible {
  border-color: #2e9f6b;
}

.help-choice-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.help-choice-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.help-choice h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.help-choice p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.help-choice-link {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--coral);
}

.help-choice--upi .help-choice-link {
  color: #1f7a52;
}

.help-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.help-main {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.help-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
}

#registry,
#upi {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.help-panel--registry {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 212, 122, 0.35);
}

.help-panel--upi {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(46, 159, 107, 0.4);
}

.help-panel-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
}

.help-panel-badge--registry {
  color: var(--ink);
  background: var(--sun-deep);
}

.help-panel-badge--upi {
  color: var(--white);
  background: #2e9f6b;
}

.help-panel h2 {
  margin-top: 0;
}

.help-panel-lead {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.upi-rate-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  border-left: 4px solid var(--sun-deep);
}

.upi-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.upi-step-card {
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 3.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
}

.upi-step-num {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--sun-deep);
  border-radius: 50%;
}

.upi-step-question {
  display: block;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  cursor: pointer;
}

.upi-step-hint {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.upi-stepper {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.upi-step-btn {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  min-height: 3.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, transform 0.15s ease;
}

.upi-step-btn:hover {
  background: var(--sun);
}

.upi-step-btn:active {
  transform: scale(0.96);
}

.upi-step-value {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.35rem 0.5rem;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
}

.upi-step-input {
  width: 2.75rem;
  min-width: 2ch;
  max-width: 4.5rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  background: transparent;
  border: none;
  -moz-appearance: textfield;
}

.upi-step-input::-webkit-outer-spin-button,
.upi-step-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.upi-step-input:focus {
  outline: none;
}

.upi-step-value:focus-within {
  border-color: var(--sun-deep);
  box-shadow: 0 0 0 3px rgba(255, 212, 122, 0.45);
}

.upi-step-unit {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.upi-link-btn {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--sun-deep);
  background: none;
  border: none;
  cursor: pointer;
}

.upi-link-btn:hover,
.upi-link-btn.is-active {
  color: var(--white);
}

.upi-pay-section {
  padding-top: 0.25rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.upi-pay-section > .upi-step-num {
  position: static;
  display: inline-flex;
  margin-bottom: 0.5rem;
}

.upi-pay-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.upi-total-card {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.25rem;
  text-align: center;
  background: rgba(255, 244, 214, 0.14);
  border: 2px solid rgba(255, 212, 122, 0.45);
  border-radius: var(--radius-lg);
}

.upi-total-label {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

.upi-total-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 2.85rem);
  font-weight: 700;
  color: var(--sun-deep);
  line-height: 1.1;
}

.upi-total-summary {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.upi-qr-label {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.upi-device-hint {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  border-left: 4px solid var(--sun-deep);
}

.upi-pay-block {
  margin-bottom: 1.25rem;
}

.upi-app-picker {
  margin-bottom: 0.85rem;
}

.upi-app-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.upi-app-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a1f3d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.upi-app-select:focus {
  outline: none;
  border-color: var(--sun-deep);
  box-shadow: 0 0 0 3px rgba(255, 212, 122, 0.45);
}

.upi-pay-block .upi-pay-btn {
  width: 100%;
}

.upi-pay-note {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.btn-upi {
  background: linear-gradient(135deg, #2e9f6b 0%, #1f7a52 100%);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-upi:hover {
  filter: brightness(1.06);
  color: var(--white);
}

.upi-qr-block {
  margin-bottom: 1.15rem;
}

.upi-qr-frame {
  display: inline-flex;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 4px solid var(--sun-deep);
  box-shadow: var(--shadow-md);
}

.upi-qr-canvas {
  width: 220px;
  height: 220px;
  line-height: 0;
}

.upi-qr-canvas img {
  display: block;
  width: 220px;
  height: 220px;
}

.upi-qr-caption {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.upi-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.upi-id-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

.upi-id-value {
  flex: 1;
  min-width: 10rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sun-deep);
  word-break: break-all;
}

.btn-copy {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.btn-copy:hover {
  border-color: var(--coral);
}

.btn-copy.is-copied {
  background: var(--mint);
  border-color: var(--mint);
}

.upi-trust-note {
  margin-bottom: 0;
}

/* UPI: phone vs desktop layout */
.help-panel--upi.upi-mode-mobile .upi-qr-block {
  margin-top: 0.25rem;
}

.help-panel--upi.upi-mode-mobile .upi-qr-frame {
  padding: 0.5rem;
}

.help-panel--upi.upi-mode-mobile .upi-qr-canvas,
.help-panel--upi.upi-mode-mobile .upi-qr-canvas img {
  width: 160px;
  height: 160px;
}

.help-panel--upi.upi-mode-desktop .upi-pay-block--mobile {
  display: none !important;
}

.help-panel--upi.upi-mode-mobile .upi-pay-block--mobile {
  display: block !important;
}

.help-panel--upi.upi-mode-mobile .upi-qr-caption--desktop-only {
  display: none;
}

.wishlist-preview {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.wishlist-preview li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.wishlist-preview li:last-child {
  border-bottom: none;
}

.wishlist-preview .price {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  white-space: nowrap;
}

.help-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.help-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--sun-deep);
  box-shadow: var(--shadow-lg);
}

.help-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--sun);
}

.help-card-text {
  padding: 1.5rem;
  background: var(--sun);
}

.help-card-quote {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.help-card-sign {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 calc(2.5rem + var(--safe-bottom));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-logo:hover,
.footer-logo:focus,
.footer-logo:focus-visible,
.footer-logo:active,
.footer-logo:visited {
  color: var(--white);
  text-decoration: none;
}

.footer-logo .logo-mark {
  color: inherit;
}

.footer-brand {
  margin: 0;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--sun-deep);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.55;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Desktop header */

@media (min-width: 641px) {
  .gallery-item {
    background: transparent;
    border: none;
    box-shadow: var(--shadow);
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    margin-left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .nav-backdrop {
    display: none !important;
  }
}

/* Responsive: tablet */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .help-choices {
    grid-template-columns: 1fr;
  }

  .help-inner {
    grid-template-columns: 1fr;
  }

  .about-carousel {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero-visual {
    max-width: min(400px, 100%);
    margin-inline: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .needs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-card {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Responsive: mobile */

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 1rem;
    line-height: 1.65;
  }

  .container {
    padding-inline: max(0.75rem, var(--safe-left)) max(0.75rem, var(--safe-right));
  }

  .section {
    padding: clamp(2.75rem, 8vw, 4rem) 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.65rem, 6vw, 2.15rem);
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-mark {
    font-size: 1.25rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-cta.btn-compact {
    min-height: 32px;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    line-height: 1.2;
    box-shadow: 0 2px 0 #8f2d0e, 0 3px 10px rgba(196, 61, 18, 0.28);
  }

  .header-cta.btn-compact:active {
    box-shadow: 0 1px 0 #8f2d0e;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 202;
  }

  .header-actions {
    z-index: 202;
  }

  /* Hide nav in header bar on mobile; show as dropdown when open */
  .header-inner > .site-nav:not(.is-open) {
    display: none;
  }

  .header-inner > .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: 0;
    right: 0;
    z-index: 2;
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    margin: 0;
    padding: 1rem;
    padding-bottom: calc(1rem + var(--safe-bottom));
    background: var(--cream);
    border-bottom: 3px solid var(--sun-deep);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  .site-nav.is-open a {
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 1.05rem;
    color: var(--ink-soft);
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(232, 93, 44, 0.15);
  }

  .site-nav.is-open a:active {
    background: var(--sun);
  }

  .site-nav.is-open .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
    min-height: 48px;
    background: var(--cta-bg);
    color: var(--cta-text) !important;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 0 #8f2d0e;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(42, 31, 61, 0.4);
    cursor: pointer;
    pointer-events: auto;
  }

  .nav-backdrop[hidden] {
    display: none !important;
    pointer-events: none;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

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

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    max-width: 100%;
    margin-top: 0.25rem;
  }

  .eyebrow {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .hero-intro,
  .hero-lead {
    font-size: 1.05rem;
    max-width: none;
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1.35rem;
  }

  .hero-support-lead {
    font-size: 0.9rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    padding-inline: 1.25rem;
  }

  .hero-actions .btn-ghost {
    width: 100%;
  }

  .hero-photo-frame {
    transform: rotate(-1deg);
    max-width: min(340px, 100%);
    margin-inline: auto;
  }

  .hero-photo-inner img {
    max-height: min(42vh, 320px);
    aspect-ratio: auto;
    object-position: center 15%;
  }

  .hero-deco--bl {
    bottom: 2.25rem;
  }

  .hero-deco--br {
    bottom: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .stat {
    padding: 0.9rem 0.5rem;
  }

  .stat:hover {
    transform: none;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .blob-1 {
    width: 160px;
    height: 160px;
  }

  .blob-2 {
    width: 120px;
    height: 120px;
  }

  .blob-3 {
    display: none;
  }

  .about-grid {
    gap: 2rem;
  }

  .pull-quote p {
    font-size: 1.05rem;
  }

  .about-carousel .carousel-slide img {
    aspect-ratio: auto;
    max-height: min(65vh, 480px);
    object-fit: contain;
  }

  .recovery-carousel .carousel-slide img {
    max-height: min(58vh, 440px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .recovery-slide-caption {
    padding: 1rem 1.1rem 1.2rem;
  }

  .recovery-slide-quote {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .recovery-slide-note {
    font-size: 0.8rem;
  }

  .carousel-slide figcaption {
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
    line-height: 1.45;
  }

  .carousel-controls {
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .carousel-swipe-hint {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    opacity: 0.75;
  }

  .needs-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .need-card {
    padding: 1.25rem 1.15rem;
  }

  .need-card:hover {
    transform: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .gallery-grid.is-collapsed .gallery-item:nth-child(n + 7) {
    display: none;
  }

  .gallery-item {
    border-width: 2px;
    aspect-ratio: 1;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-actions {
    margin-top: 1rem;
  }

  .gallery-more-btn,
  .gallery-help-cta {
    max-width: none;
  }

  .wishlist-preview li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
  }

  .wishlist-preview .price {
    font-size: 0.8125rem;
  }

  .help-inner {
    gap: 1.75rem;
  }

  .help .btn-large {
    width: 100%;
    padding-inline: 1.25rem;
  }

  .upi-step-card {
    padding: 1rem 1rem 1rem 3rem;
  }

  .upi-step-num {
    top: 1rem;
    left: 0.85rem;
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.88rem;
  }

  .upi-step-question {
    font-size: 1rem;
  }

  .upi-step-btn {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    min-height: 3.5rem;
    font-size: 1.65rem;
  }

  .upi-step-input {
    width: 2.75rem;
    font-size: 2rem;
  }

  .upi-step-unit {
    font-size: 1.15rem;
  }

  .upi-pay-block .btn-large {
    width: 100%;
  }

  .upi-id-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    width: 100%;
    min-height: 44px;
  }

  .help-card-text {
    padding: 1.15rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .footer-links a {
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
  }
}

.carousel-swipe-hint {
  display: none;
}

/* Small phones */

@media (max-width: 380px) {
  .logo-text {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stat-label {
    font-size: 0.68rem;
  }
}

/* Coarse pointer / touch devices */

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .stat:hover,
  .gallery-item:hover,
  .need-card:hover,
  .carousel-btn:hover {
    transform: none;
  }

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

  .carousel-btn:active {
    transform: scale(0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .logo-mark {
    animation: none;
  }
}
