/* pawfect.website — Pawfect · Tailwise */
:root {
  --cream: #faf7f2;
  --cream-warm: #f0e6d8;
  --brown: #3d2817;
  --brown-mid: #5c4033;
  --accent: #d17a3e;
  --accent-light: #e89b5a;
  --accent-deep: #b8622e;
  --white: #ffffff;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(61, 40, 23, 0.12);
  --tap: 44px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-page {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(232, 155, 90, 0.35), transparent 55%),
    radial-gradient(ellipse 90% 70% at -15% 60%, rgba(209, 122, 62, 0.22), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

/* Floating orbs (brochure-style ambience) */
.orb-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.5;
  animation: orb-drift 20s ease-in-out infinite;
}

.orb--1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(209, 122, 62, 0.35), transparent 70%);
  top: -50px;
  right: -70px;
  animation-delay: -4s;
}

.orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 40, 23, 0.12), transparent 72%);
  bottom: 8%;
  left: -120px;
  animation-delay: -9s;
}

.orb--3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 155, 90, 0.28), transparent 68%);
  top: 38%;
  right: -30px;
  animation-delay: -14s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-14px, 20px) scale(1.04);
  }
  66% {
    transform: translate(12px, -16px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
    opacity: 0.32;
  }
}

main {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 247, 242, 0.85);
  border-bottom: 1px solid rgba(61, 40, 23, 0.07);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--tap) + 6px);
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--brown);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(209, 122, 62, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--brown-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) {
  .nav-links a:hover {
    color: var(--brown);
    background: rgba(209, 122, 62, 0.12);
  }
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent)) !important;
  color: var(--white) !important;
  padding-inline: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(209, 122, 62, 0.35);
}

@media (hover: hover) {
  .nav-cta:hover {
    filter: brightness(1.05);
  }
}

.hero {
  padding-block: clamp(2.25rem, 8vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin: 0 0 0.5rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

.hero-copy .lede {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--brown-mid);
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.5rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge--ios {
  background: var(--brown);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.store-badge--android {
  background: var(--white);
  color: var(--brown);
  border: 2px solid rgba(61, 40, 23, 0.12);
}

.store-badge--soon {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

@media (hover: hover) {
  .store-badge:not(.store-badge--soon):hover {
    transform: translateY(-2px);
  }
}

.hero-meta {
  font-size: 0.8125rem;
  color: var(--brown-mid);
}

.store-placeholder-note {
  font-size: 0.75rem;
  color: var(--brown-mid);
  margin: 0.4rem 0 0;
  max-width: 36rem;
  opacity: 0.92;
}

.store-placeholder-note code {
  font-size: 0.72rem;
  background: rgba(61, 40, 23, 0.06);
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
}

.hero-meta-api {
  margin-top: 0.85rem;
}

.hero-visual {
  perspective: 880px;
}

/* Hero screenshot: soft frame only — asset PNGs already include device chrome */
.hero-shot-stage {
  position: relative;
  max-width: min(280px, 78vw);
  margin-inline: auto;
  animation: floaty 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot-stage {
    animation: none;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotateX(2deg);
  }
  50% {
    transform: translateY(-10px) rotateX(1deg);
  }
}

.hero-shot-frame {
  position: relative;
  aspect-ratio: 9 / 18.5;
  border-radius: clamp(20px, 5vw, 28px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(61, 40, 23, 0.22),
    0 0 0 1px rgba(61, 40, 23, 0.06);
  background: linear-gradient(165deg, var(--accent-light) 0%, var(--accent) 42%, var(--accent-deep) 100%);
  background-size: 200% 200%;
  animation: grad 10s ease infinite;
}

.hero-shot-frame.has-img {
  animation: none;
  background: #111;
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot-frame:not(.has-img) {
    animation: none;
    background: linear-gradient(165deg, var(--accent-light), var(--accent-deep));
  }
}

@keyframes grad {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

.hero-shot-frame:not(.has-img)::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-shot-frame:not(.has-img) .hero-shot {
  display: none;
}

.hero-shot-brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-shot-brand img {
  width: min(44%, 120px);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.22));
}

.hero-shot-frame.has-img .hero-shot-brand {
  display: none;
}

.hero-shot-fallback-card {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(61, 40, 23, 0.18);
}

.hero-shot-frame.has-img .hero-shot-fallback-card {
  display: none;
}

.hero-shot-fallback-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 800;
}

.hero-shot-fallback-card p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--brown-mid);
  line-height: 1.4;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.hero-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(209, 122, 62, 0.12);
  color: var(--accent-deep);
  border: 1px solid rgba(209, 122, 62, 0.2);
  animation: pill-in 0.65s ease backwards;
}

.hero-pill:nth-child(1) {
  animation-delay: 0.06s;
}

.hero-pill:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-pill:nth-child(3) {
  animation-delay: 0.18s;
}

.hero-pill:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes pill-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pill {
    animation: none;
  }
}

.story-callout {
  padding-block: 0.35rem;
}

.story-callout__card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(ellipse 90% 130% at 100% -10%, rgba(232, 155, 90, 0.26), transparent 52%),
    radial-gradient(ellipse 75% 100% at -5% 95%, rgba(209, 122, 62, 0.11), transparent 50%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 242, 0.82));
  border: 1px solid rgba(61, 40, 23, 0.07);
  box-shadow:
    0 16px 46px rgba(61, 40, 23, 0.07),
    0 2px 12px rgba(209, 122, 62, 0.06);
}

.story-callout__card::before {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 155, 90, 0.22), transparent 68%);
  top: -44px;
  right: -28px;
  pointer-events: none;
}

.story-callout__card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 122, 62, 0.12), transparent 70%);
  bottom: -22px;
  left: 12%;
  pointer-events: none;
}

.story-callout__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.5rem;
}

.story-callout__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 4.2vw, 1.62rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 0.7rem;
  color: var(--brown);
}

.story-callout__body {
  position: relative;
  z-index: 1;
  margin: 0 0 1.05rem;
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.58;
  max-width: 36rem;
}

.story-callout__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--tap);
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(209, 122, 62, 0.32);
  box-shadow: 0 5px 18px rgba(209, 122, 62, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.story-callout__cta-arrow {
  font-weight: 700;
  color: var(--accent-deep);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .story-callout__cta:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 122, 62, 0.48);
    box-shadow: 0 8px 24px rgba(209, 122, 62, 0.18);
  }

  .story-callout__cta:hover .story-callout__cta-arrow {
    transform: translateX(3px);
  }
}

.section-intro--tight {
  margin-top: -0.65rem;
}

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

@media (min-width: 720px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(61, 40, 23, 0.07);
  box-shadow: 0 6px 24px rgba(61, 40, 23, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

@media (hover: hover) {
  .audience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.audience-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.audience-card__lede {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.audience-card__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--brown-mid);
  line-height: 1.55;
}

.audience-card__list li {
  margin-bottom: 0.35rem;
}

.audience-card__list li:last-child {
  margin-bottom: 0;
}

section {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--brown-mid);
  font-size: 1rem;
  max-width: 40rem;
}

.section-wordmark {
  margin: 0 0 1.25rem;
  text-align: center;
}

.tailwise-wordmark-img {
  width: min(240px, 78vw);
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

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

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

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(61, 40, 23, 0.07);
  box-shadow: 0 6px 24px rgba(61, 40, 23, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 155, 90, 0.35), rgba(209, 122, 62, 0.2));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--brown-mid);
  line-height: 1.45;
}

.cta-band {
  margin-block: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 50%, var(--accent-light));
  background-size: 160% 160%;
  animation: grad 14s ease infinite;
  color: var(--white);
  text-align: center;
  box-shadow: 0 16px 48px rgba(209, 122, 62, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .cta-band {
    animation: none;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent-light));
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  opacity: 0.96;
  font-size: 1rem;
}

.cta-band .store-row {
  justify-content: center;
}

.cta-band .store-badge--android {
  background: rgba(255, 255, 255, 0.95);
}

.legal-note {
  font-size: 0.8125rem;
  color: var(--brown-mid);
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.45;
}

.site-footer {
  padding-block: 2rem 2.5rem;
  border-top: 1px solid rgba(61, 40, 23, 0.08);
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--brown-mid);
  margin: 0;
  max-width: 28rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) {
  .footer-links a:hover {
    text-decoration: underline;
  }
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--brown-mid);
  opacity: 0.9;
}

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

@media (hover: hover) {
  .footer-copy a:hover {
    text-decoration: underline;
  }
}

/* --- Gallery: contained orbit carousels (fade edges + 3D tilt) --- */
.gallery-section {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}

.orbit-carousel {
  position: relative;
  margin-block: 1.15rem 1.35rem;
}

.orbit-carousel__stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding-block: 0.55rem;
  background: linear-gradient(165deg, rgba(250, 247, 242, 0.96), rgba(240, 230, 216, 0.42));
  box-shadow:
    inset 0 0 0 1px rgba(61, 40, 23, 0.07),
    inset 0 20px 56px rgba(250, 247, 242, 0.75);
}

.orbit-carousel__viewport {
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: 50% 42%;
}

.orbit-carousel__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 16vw, 110px);
  z-index: 3;
  pointer-events: none;
}

.orbit-carousel__edge--start {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    var(--cream-warm) 18%,
    rgba(240, 230, 216, 0.82) 38%,
    rgba(240, 230, 216, 0.35) 62%,
    rgba(240, 230, 216, 0.08) 82%,
    transparent 100%
  );
}

.orbit-carousel__edge--end {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--cream) 0%,
    var(--cream-warm) 18%,
    rgba(240, 230, 216, 0.82) 38%,
    rgba(240, 230, 216, 0.35) 62%,
    rgba(240, 230, 216, 0.08) 82%,
    transparent 100%
  );
}

.orbit-carousel__track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  transform-style: preserve-3d;
  animation: orbit-scroll 52s linear infinite;
}

.orbit-carousel--quotes .orbit-carousel__track {
  animation-duration: 68s;
  gap: 1rem;
  padding-block: 0.35rem;
}

.orbit-carousel__cell {
  flex: 0 0 auto;
  transform-style: preserve-3d;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 14px 32px rgba(61, 40, 23, 0.14),
    0 2px 10px rgba(61, 40, 23, 0.06);
}

.orbit-carousel--shots .orbit-carousel__cell {
  width: min(124px, 27vw);
  animation: orbit-tilt-shot 18s ease-in-out infinite;
}

.orbit-carousel--shots .orbit-carousel__cell:nth-child(4n + 2) {
  animation-delay: -4.5s;
}

.orbit-carousel--shots .orbit-carousel__cell:nth-child(4n + 3) {
  animation-delay: -9s;
}

.orbit-carousel--shots .orbit-carousel__cell:nth-child(4n + 4) {
  animation-delay: -13.5s;
}

@keyframes orbit-tilt-shot {
  0%,
  100% {
    transform: rotateY(-26deg) rotateX(4deg) translateZ(-28px) scale(0.9);
    opacity: 0.72;
    filter: saturate(0.88) brightness(0.97);
  }
  50% {
    transform: rotateY(26deg) rotateX(-3deg) translateZ(12px) scale(1);
    opacity: 1;
    filter: saturate(1.02) brightness(1);
  }
}

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

@keyframes orbit-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonials-block {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: 0.5rem;
}

.orbit-carousel--quotes .orbit-carousel__cell.quote-card {
  width: min(268px, 74vw);
  margin: 0;
  padding: 1.05rem 1.12rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(61, 40, 23, 0.08);
  box-shadow:
    0 12px 36px rgba(61, 40, 23, 0.1),
    0 1px 6px rgba(61, 40, 23, 0.05);
  animation: orbit-tilt-quote 22s ease-in-out infinite;
}

.orbit-carousel--quotes .orbit-carousel__cell.quote-card:nth-child(odd) {
  animation-delay: -11s;
}

@keyframes orbit-tilt-quote {
  0%,
  100% {
    transform: rotateY(-14deg) translateZ(-14px) scale(0.94);
    opacity: 0.78;
  }
  50% {
    transform: rotateY(14deg) translateZ(10px) scale(1);
    opacity: 1;
  }
}

.orbit-carousel--quotes .quote-card blockquote {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brown);
}

.orbit-carousel--quotes .quote-card figcaption {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-deep);
}

/* --- Footer panel --- */
.footer-soft-top {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(209, 122, 62, 0.45), rgba(232, 155, 90, 0.35), transparent);
  margin-bottom: -1px;
}

.site-footer--panel {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: 0;
  border-top: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(240, 230, 216, 0.35));
}

.footer-panel-inner {
  padding-block: clamp(1.75rem, 4vw, 2.35rem);
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

.footer-grid--rich {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-grid--rich {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
  }
}

.footer-about .footer-note {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.footer-col-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown-mid);
  margin-bottom: 0.45rem;
}

.footer-col .footer-links {
  gap: 0.35rem;
}

/* --- Support page --- */
.support-main {
  padding-block: clamp(2rem, 6vw, 3rem);
}

.support-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.support-lede {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--brown-mid);
  max-width: 36rem;
  line-height: 1.55;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 520px) {
  .support-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.support-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.55rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--white);
  box-shadow: 0 6px 22px rgba(209, 122, 62, 0.35);
}

.support-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.55rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid rgba(61, 40, 23, 0.14);
  color: var(--brown);
  background: var(--white);
}

@media (hover: hover) {
  .support-secondary:hover {
    border-color: rgba(209, 122, 62, 0.45);
    color: var(--accent-deep);
  }
}

.support-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--brown-mid);
  max-width: 38rem;
  line-height: 1.5;
}

.support-section {
  margin-top: clamp(2.25rem, 5vw, 3rem);
}

.support-links-band {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(61, 40, 23, 0.07);
}

.support-inline-links {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--brown-mid);
  line-height: 1.65;
}

.support-inline-links a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) {
  .support-inline-links a:hover {
    text-decoration: underline;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(61, 40, 23, 0.08);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(61, 40, 23, 0.05);
  overflow: hidden;
}

.faq-summary {
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tap);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-weight: 800;
  color: var(--accent-deep);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] .faq-summary::after {
  content: "\2212";
}

.faq-body {
  padding: 0 1.1rem 1.05rem;
  border-top: 1px solid rgba(61, 40, 23, 0.06);
}

.faq-body p {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.55;
}

.faq-body a {
  color: var(--accent-deep);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orbit-carousel__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
    justify-content: center;
    row-gap: 0.65rem;
  }

  .orbit-carousel--shots .orbit-carousel__cell,
  .orbit-carousel--quotes .orbit-carousel__cell.quote-card {
    animation: none;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .orbit-carousel__stage {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .orbit-carousel__viewport {
    overflow: visible;
    perspective: none;
  }

  .orbit-carousel__edge {
    display: none;
  }
}
