/* =========================================================
   DIPAWER — DESIGN SYSTEM v2
   Bricolage Grotesque · Warm cream · Periwinkle #8190c9
   ========================================================= */

:root {
  /* ===== PRIMARY: Periwinkle (logo) ===== */
  --peri-50:  #f4f5fb;
  --peri-100: #e8eaf3;
  --peri-200: #d2d6e8;
  --peri-300: #b0b8d6;
  --peri-400: #8190c9;   /* brand */
  --peri-500: #6976b3;
  --peri-600: #525e95;
  --peri-700: #424c79;
  --peri-800: #2e3556;
  --peri-900: #1a1d2e;

  /* ===== WARM CREAM background (yellow/brown undertone that pairs with peri) ===== */
  --cream-50:  #fdfbf6;
  --cream-100: #fbf7ef;   /* page bg */
  --cream-200: #f5efe1;
  --cream-300: #ebe2cb;

  /* ===== Accents (sophisticated palette pairing) ===== */
  --terra-300: #e2a48a;   /* soft terracotta */
  --terra-500: #c97757;   /* terracotta */
  --sage-300:  #c3cdb6;   /* sage */
  --sage-500:  #8a9b78;   /* deeper sage */
  --honey-400: #d4a574;   /* warm honey */

  /* ===== Neutrals ===== */
  --ink:      #1a1d2e;
  --ink-2:    #3d4358;
  --ink-3:    #6b7186;
  --ink-mute: #9aa0b3;
  --line:     #e8e2d3;
  --line-2:   #efe9da;

  /* ===== Semantic ===== */
  --bg:         var(--cream-100);
  --bg-alt:     var(--cream-50);
  --bg-deep:    var(--peri-900);
  --surface:    #ffffff;
  --text:       var(--ink);
  --text-soft:  var(--ink-2);
  --text-mute:  var(--ink-3);
  --border:     var(--line);
  --accent:     var(--peri-400);
  --accent-d:   var(--peri-600);

  /* ===== Type ===== */
  --font: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ===== Spacing ===== */
  --s-1:  0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5:  1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9:  6rem;    --s-10: 8rem;   --s-11: 10rem;

  /* ===== Radii ===== */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 36px; --r-2xl: 48px;
  --r-pill: 999px;

  /* ===== Shadows ===== */
  --sh-sm: 0 1px 2px rgba(26,29,46,0.04), 0 1px 3px rgba(26,29,46,0.06);
  --sh-md: 0 4px 12px rgba(26,29,46,0.05), 0 12px 32px rgba(26,29,46,0.07);
  --sh-lg: 0 12px 24px rgba(26,29,46,0.07), 0 32px 64px rgba(26,29,46,0.1);

  /* ===== Easings ===== */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);

  /* ===== Layout ===== */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 76px;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  /* Cream background with a faint periwinkle bloom — gives the warm/cool dialogue */
  background:
    radial-gradient(1200px 800px at 100% 0%, rgba(129, 144, 201, 0.07), transparent 60%),
    radial-gradient(900px 600px at 0% 40%, rgba(212, 165, 116, 0.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-feature-settings: "ss01", "ss02", "ss05";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--peri-200); color: var(--peri-900); }

/* Display headings get Bricolage's wider 'wdth' axis */
h1, h2, h3, .hero__title, .section__title, .product__title,
.mission__title, .contact__title, .impact__title, .hero__title-accent {
  font-family: var(--font);
  font-weight: 600;
  font-variation-settings: "wdth" 90, "opsz" 96;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--s-9) 0; position: relative; }
@media (max-width: 880px) { .section { padding: var(--s-9) 0; } }
@media (max-width: 540px) { .section { padding: var(--s-8) 0; } }

.section__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: var(--s-9);
}
.section__head-left { max-width: 680px; }
.section__head .section__sub { max-width: 380px; align-self: end; }
@media (max-width: 880px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: var(--s-7); }
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-d);
  margin-bottom: var(--s-5);
  font-variation-settings: "wdth" 95;
}
.eyebrow--light { color: var(--peri-200); }

.section__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--text);
}

/* Highlight word — playful curved underline using SVG-style background */
.hl, .hl-light {
  position: relative;
  display: inline-block;
  color: var(--accent-d);
  white-space: nowrap;
}
.hl::after, .hl-light::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2,8 Q50,2 100,6 T198,5' fill='none' stroke='%238190c9' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.hl-light { color: var(--terra-300); }
.hl-light::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2,8 Q50,2 100,6 T198,5' fill='none' stroke='%23e2a48a' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}

.section__sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.link-arrow {
  color: var(--accent-d);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow span { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.96rem;
  border-radius: var(--r-pill);
  transition: transform 0.4s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.005em;
  font-variation-settings: "wdth" 95;
}
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn svg { transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: var(--cream-50); }
.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(129, 144, 201, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream-50); transform: translateY(-2px); }

.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(251, 247, 239, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(26, 29, 46, 0.06);
  padding: 10px 0;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 90;
}
.nav__brand img { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); background: rgba(129, 144, 201, 0.12); }

.nav__cta { padding: 10px 18px; font-size: 0.92rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: calc(var(--nav-h) - 8px);
  left: 16px; right: 16px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-lg);
  flex-direction: column;
  gap: 4px;
  display: none;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__mobile.is-open { display: flex; transform: translateY(0); opacity: 1; }
.nav__mobile a { padding: 12px 16px; font-weight: 500; border-radius: var(--r-md); }
.nav__mobile a:not(.btn):hover { background: var(--cream-200); }
.nav__mobile .btn { justify-content: center; margin-top: 8px; }

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: var(--peri-300);
  top: -200px; right: -150px;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: var(--terra-300);
  bottom: -200px; left: -100px;
  opacity: 0.3;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--peri-700);
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--sh-sm);
}
.hero__tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra-500);
  box-shadow: 0 0 0 4px rgba(201, 119, 87, 0.2);
  animation: pulse 2s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 119, 87, 0.2); }
  50%      { box-shadow: 0 0 0 10px rgba(201, 119, 87, 0); }
}

.hero__title {
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-variation-settings: "wdth" 85, "opsz" 96;
  color: var(--text);
  margin-bottom: var(--s-6);
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--accent-d);
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--terra-300);
  opacity: 0.6;
  border-radius: 4px;
  z-index: -1;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: var(--s-6);
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — collage of pet photos */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.hero__photo {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__photo--main {
  top: 0; left: 0;
  width: 70%;
  height: 80%;
  transform: rotate(-3deg);
  z-index: 2;
  background: var(--peri-200);
  animation: float-a 8s var(--ease-io) infinite alternate;
}
.hero__photo--sub {
  bottom: 0; right: 0;
  width: 50%;
  height: 50%;
  transform: rotate(4deg);
  z-index: 1;
  background: var(--cream-200);
  animation: float-b 7s var(--ease-io) infinite alternate;
}

@keyframes float-a {
  to { transform: rotate(-3deg) translateY(-10px); }
}
@keyframes float-b {
  to { transform: rotate(4deg) translateY(-8px); }
}

.hero__sticker {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: var(--sh-md);
  z-index: 3;
}
.hero__sticker--1 {
  top: -10px; right: 10%;
  width: 64px; height: 64px;
  color: var(--terra-500);
  animation: spin 30s linear infinite;
}
.hero__sticker--1 svg { width: 28px; height: 28px; }
.hero__sticker--2 {
  bottom: 12%; left: -10px;
  width: 56px; height: 56px;
  font-size: 1.6rem;
  background: var(--peri-400);
  transform: rotate(-12deg);
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero__visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .hero { padding-bottom: 80px; padding-top: calc(var(--nav-h) + 48px); }
  .hero__visual { max-width: 340px; }
}

/* Marquee */
.hero__marquee {
  margin-top: var(--s-9);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero__marquee::before,
.hero__marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero__marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.hero__marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 500;
}
.hero__marquee-track .dot { color: var(--peri-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MISSION
   ========================================================= */
.mission {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}
.mission .eyebrow { color: var(--accent-d); }
.mission__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: var(--s-6);
  line-height: 1.1;
}
.mission__body {
  font-size: 1.2rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================================
   SERVICES
   ========================================================= */
.section--services { background: var(--bg-alt); }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services { grid-template-columns: 1fr; } }

.service {
  position: relative;
  padding: 44px 36px;
  background: var(--surface);
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.service:hover { background: var(--cream-50); }

.service__num {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mute);
  font-variation-settings: "wdth" 75;
  letter-spacing: 0.06em;
}

.service__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--peri-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--peri-700);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease-out);
}
.service__icon svg { width: 24px; height: 24px; }
.service:hover .service__icon {
  background: var(--ink);
  color: var(--terra-300);
  transform: rotate(-4deg);
}

.service h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 90, "opsz" 36;
}
.service p {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* CTA card variant */
.service--cta {
  background: var(--peri-400);
  color: var(--cream-50);
  justify-content: center;
  align-items: flex-start;
}
.service--cta:hover { background: var(--peri-500); }
.service--cta h3 { color: var(--cream-50); margin-bottom: 8px; }
.service--cta p { color: var(--peri-100); margin-bottom: 22px; }
.service--cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--cream-50);
  padding: 10px 18px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.service--cta a:hover { background: rgba(255,255,255,0.25); transform: translateX(3px); }
.service--cta svg { transition: transform 0.3s var(--ease-out); }
.service--cta a:hover svg { transform: translateX(2px); }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
@media (max-width: 880px) { .products { gap: 80px; } }

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product--reverse .product__media { order: 2; }
@media (max-width: 880px) {
  .product, .product--reverse { grid-template-columns: 1fr; gap: 32px; }
  .product--reverse .product__media { order: -1; }
}

.product__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background:
   transparent;
}
.product__media--dark {
  background: transparent
}
.product__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1%;
}
.product__media-inner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  transition: transform 0.8s var(--ease-out);
}
.product:hover .product__media-inner img { transform: translateY(-8px) scale(1.02); }

.product__pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  animation: float-a 4s var(--ease-io) infinite alternate;
}
.product__pill svg { color: var(--terra-500); }
.product__pill--1 { top: 28px; right: 28px; }
.product__pill--2 { bottom: 32px; left: 28px; animation-delay: -2s; }

.product__body { padding: 12px 0; }
.product__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-d);
  padding: 4px 12px;
  background: var(--peri-100);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  font-variation-settings: "wdth" 90;
}
.product__title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  font-variation-settings: "wdth" 80, "opsz" 96;
}
.product__tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent-d);
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.product__desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 480px;
}

/* =========================================================
   IMPACT
   ========================================================= */
.section--impact {
  background: var(--peri-400);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.section--impact::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 144, 201, 0.3), transparent 60%);
  filter: blur(60px);
}
.section--impact::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 119, 87, 0.18), transparent 60%);
  filter: blur(60px);
}

.impact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 48px 64px;
}
.impact__head { grid-column: 1; grid-row: 1; align-self: end; }
.impact__visual {
  grid-column: 2;
  grid-row: 1 / 3;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;

  border-radius: 4px;
}

/* Paw trail container */
.paw-trail {
  position: absolute;
  inset: 0;
}

.paw {
  position: absolute;
  width: 22%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
  transform-origin: center;
  will-change: opacity, transform;
  animation: pawWalk 7s linear infinite;
}

/* Positions along a gentle S-curve, alternating L/R like a real gait.
   Each paw starts 0.6s after the previous one (negative delay = "already in progress"),
   so they appear sequentially top -> bottom, then the whole trail fades together. */
.paw--1 { top:  6%; left: 20%; --r: -10deg; animation-delay: -2.4s; }
.paw--2 { top: 24%; left: 44%; --r:  10deg; animation-delay: -1.8s; }
.paw--3 { top: 44%; left: 22%; --r:  -10deg; animation-delay: -1.2s; }
.paw--4 { top: 62%; left: 48%; --r:  10deg; animation-delay: -0.6s; }
.paw--5 { top: 82%; left: 26%; --r: -10deg; animation-delay:  0s;   }

/*
  Timeline (7s total):
  0%    -> paw drops in (slight scale + lift)
  6%    -> paw fully visible, stays put
  50%   -> still visible (whole trail formed by now)
  75%   -> trail fades out together
  100%  -> invisible, ready to restart from the top
*/
@keyframes pawWalk {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.85) rotate(var(--r, 0deg)) scaleY(-1);
  }
  6% {
    opacity: 0.95;
    transform: translateY(0) scale(1) rotate(var(--r, 0deg)) scaleY(-1);
  }
  50% {
    opacity: 0.95;
    transform: translateY(0) scale(1) rotate(var(--r, 0deg)) scaleY(-1);
  }
  75% {
    opacity: 0;
    transform: translateY(0) scale(1) rotate(var(--r, 0deg)) scaleY(-1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.85) rotate(var(--r, 0deg)) scaleY(-1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .paw { animation: none; opacity: 0.85; }
}

@media (max-width: 880px) {
  .impact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact__head {
    grid-column: 1;
    grid-row: 1;
  }

  .stats {
    grid-column: 1;
    grid-row: 2;
  }

  .impact__visual {
    grid-column: 1;
    grid-row: 3;
    aspect-ratio: 1.15 / 1;
  }
}

@media (max-width: 720px) {
  .impact__visual {
    aspect-ratio: 1 / 1;
  }

  .paw {
    width: 18%;
  }

  .paw--1 { top:  6%; left: 16%; }
  .paw--2 { top: 24%; left: 52%; }
  .paw--3 { top: 44%; left: 20%; }
  .paw--4 { top: 62%; left: 54%; }
  .paw--5 { top: 82%; left: 24%; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stat {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat__num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--cream-50);
  margin-bottom: 8px;
  font-variation-settings: "wdth" 80, "opsz" 96;
  line-height: 1;
}
.stat__label {
  font-size: 0.95rem;
  color: var(--peri-200);
}

/* =========================================================
   CLIENTS
   ========================================================= */
.section--clients {
  background: var(--bg-alt);
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
}
.clients__head { text-align: center; margin-bottom: 56px; }

.clients {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px 96px;
}
.client {
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease-out);
  display: inline-flex;
  align-items: center;
}
.client:hover { filter: none; opacity: 1; transform: scale(1.05); }
.client img {
  height: 110px;             /* was 72px */
  width: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .clients { gap: 32px 56px; }
  .client img { height: 80px; }
}

/* =========================================================
   TEAM — Smart asymmetric grid for 7
   Row 1: 4 cards | Row 2: 3 cards centered
   Card 1 (CEO) gets a 'featured' size variant
   ========================================================= */
.team {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--peri-200);
  cursor: pointer;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* Layout: 4 + 3 grid out of 12 columns
   Row 1: 4 cards × 3 cols = 12  ✓
   Row 2: 3 cards × 3 cols = 9, offset by 1.5 cols using grid-column starts
*/
.team-card:nth-child(1) { grid-column: span 3; }
.team-card:nth-child(2) { grid-column: span 3; }
.team-card:nth-child(3) { grid-column: span 3; }
.team-card:nth-child(4) { grid-column: span 3; }
.team-card:nth-child(5) { grid-column: 2 / span 3; }
.team-card:nth-child(6) { grid-column: span 3; }
.team-card:nth-child(7) { grid-column: span 3; }

@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(6, 1fr); }
  .team-card { grid-column: span 2 !important; }
  /* 6 fit as 3+3; the 7th becomes centered alone? Use 2-3-2 instead: */
  .team-card:nth-child(1) { grid-column: 1 / span 2 !important; }
  .team-card:nth-child(2) { grid-column: 3 / span 2 !important; }
  .team-card:nth-child(3) { grid-column: 5 / span 2 !important; }
  .team-card:nth-child(4) { grid-column: 1 / span 2 !important; }
  .team-card:nth-child(5) { grid-column: 3 / span 2 !important; }
  .team-card:nth-child(6) { grid-column: 5 / span 2 !important; }
  .team-card:nth-child(7) { grid-column: 3 / span 2 !important; }
}
@media (max-width: 720px) {
  .team { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-card,
  .team-card:nth-child(n) { grid-column: span 1 !important; }
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s ease;
}
.team-card:hover img { transform: scale(1.05); filter: brightness(0.75); }

.team-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--peri-300), var(--peri-500));
  color: var(--cream-50);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 80;
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,29,46,0.94) 0%, rgba(26,29,46,0.55) 40%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--cream-50);
}
.team-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 90;
}
.team-card__role {
  font-size: 0.84rem;
  color: var(--peri-200);
  font-weight: 500;
}
.team-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.5s, margin-top 0.5s;
}
.team-card:hover .team-card__desc {
  max-height: 90px;
  opacity: 1;
  margin-top: 8px;
}

/* =========================================================
   FAQ
   ========================================================= */
.section--faq { background: var(--bg-alt); }

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .faq-wrap { grid-template-columns: 1fr; gap: 40px; } }

.faq-head {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  z-index: 2;
  background: var(--bg-alt);
  padding: 20px 0;
  margin: -20px 0;
  align-self: start;
}
.faq-head .section__sub { margin-top: var(--s-5); }

/* Disable sticky on tablet/mobile — layout stacks, sticky no longer makes sense */
@media (max-width: 980px) {
  .faq-head {
    position: static;
    top: auto;
    z-index: auto;
    background: transparent;
    padding: 0;
    margin: 0;
  }
}

.faq { display: flex; flex-direction: column; gap: 12px; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item[open] {
  border-color: var(--peri-300);
  box-shadow: var(--sh-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--peri-100);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--peri-700);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--cream-50); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__body {
  padding: 0 26px 22px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.faq__body p { max-width: 600px; }

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact {
  background: var(--bg-deep);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--peri-500), transparent 60%);
  filter: blur(80px);
  opacity: 0.4;
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

.contact__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--cream-50);
  margin: 16px 0 24px;
}
.contact__body {
  font-size: 1.1rem;
  color: var(--peri-200);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 420px;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__detail-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra-300);
  flex-shrink: 0;
}
.contact__detail-icon svg { width: 20px; height: 20px; }
.contact__detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--peri-300);
  margin-bottom: 4px;
}
.contact__details a,
.contact__details p {
  color: var(--cream-50);
  font-size: 1rem;
  line-height: 1.5;
}
.contact__details a:hover { color: var(--terra-300); }

.contact__form {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-2xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 540px) { .contact__form { padding: 28px; } }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--peri-200);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--cream-50);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terra-300);
  background: rgba(255,255,255,0.07);
}

.contact__form .btn--primary { background: var(--terra-500); color: var(--cream-50); }
.contact__form .btn--primary:hover { background: var(--cream-50); color: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--peri-200);
  padding: 64px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
}

.footer__brand .nav__brand { color: var(--cream-50); margin-bottom: 12px; }
.footer__brand p { color: var(--peri-200); font-size: 0.95rem; max-width: 280px; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 540px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

.footer__cols h4 {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin-bottom: 16px;
}
.footer__cols a, .footer__cols p {
  display: block;
  color: var(--peri-200);
  font-size: 0.94rem;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.footer__cols a:hover { color: var(--terra-300); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 0.86rem; color: var(--text-mute); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.footer__social a:hover { background: var(--terra-500); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; color: var(--cream-50); }

.scroll-top {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1.25rem, 2.5vw, 2rem);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream-50);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-lg);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  z-index: 120;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-2px);
  background: var(--accent);
}
.scroll-top svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top { transition: none; }
}