/*
  Nectar Fruits — v2 visual redesign ("Tropical, not corporate")
  Brand palette is client-final (exact hex, see PRODUCT.md/DESIGN.md):
  orange #F58220, gold #EEA320, purple #60489D, warm black #231F20.

  Contrast rule driving color usage (measured, not guessed):
  - Orange/gold FAIL as text on white or purple, even at large sizes.
    They work as text only on dark/ink or on each other's near-neutral.
    So orange/gold are BLOCK + ACCENT colors; purple and ink carry text.
  - Purple passes as text on white/cream (7.2:1) and reads as the
    "readable accent" color everywhere orange/gold can't be text.
*/

:root {
  /* ---- Brand colors (exact, client-provided) ---- */
  --orange: #F58220;
  --orange-deep: #D96C0F;
  --gold: #EEA320;
  --purple: #60489D;
  --purple-deep: #4A3679;
  --purple-tint: #EDE9F6;
  --ink: #231F20;
  --white: #FFFFFF;
  --cream: #FFFBF7;

  /* ---- Semantic roles ---- */
  --text-on-light: var(--ink);
  --text-on-dark: var(--cream);
  --text-accent-on-light: var(--purple);
  --text-accent-on-dark: var(--gold);

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --fvs-display: "SOFT" 60, "WONK" 1, "opsz" 100;
  --fvs-display-tight: "SOFT" 40, "WONK" 1, "opsz" 60;

  /* ---- Spacing / rhythm ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  --measure: 66ch;
  --container: min(1280px, 92vw);

  /* ---- Motion ---- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.6s;
  --dur-slow: 1.2s;
  --dur-zoom: 1.5s;

  --z-base: 0;
  --z-thread: 5;
  --z-fab: 40;
  --z-nav: 50;
  --z-tag: 10;
  --z-overlay: 80;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-display);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
p.prose, .prose p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: var(--container); margin-inline: auto; }
.measure { max-width: var(--measure); }

/* ============ Motion: zoom-in (replaces safe fade/slide) ============ */
.zoom-in {
  overflow: hidden;
}
.zoom-in img, .zoom-in .zoom-in__target {
  transform: scale(1.42);
  filter: saturate(0.85);
  transition: transform var(--dur-zoom) var(--ease-out-expo),
              filter var(--dur-zoom) var(--ease-out-expo);
}
.zoom-in.is-visible img, .zoom-in.is-visible .zoom-in__target {
  transform: scale(1);
  filter: saturate(1);
}
@media (prefers-reduced-motion: reduce) {
  .zoom-in img, .zoom-in .zoom-in__target { transform: none; filter: none; transition: none; }
}

/* ============ Motion: reveal (text/blocks — playful settle, not a slide) ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity var(--dur-med) var(--ease-out-quart),
              transform var(--dur-med) var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Organic shape masks ============ */
.mask-wedge {
  clip-path: polygon(8% 0%, 100% 0%, 100% 88%, 92% 100%, 0% 100%, 0% 12%);
}
.mask-wedge--alt {
  clip-path: polygon(0% 0%, 92% 0%, 100% 14%, 100% 100%, 8% 100%, 0% 86%);
}
.mask-oval {
  clip-path: ellipse(48% 46% at 50% 50%);
}
.mask-blob {
  clip-path: url(#blob-clip);
}

/* ============ Skip link / utility ============ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--space-sm); top: -100px;
  background: var(--orange); color: var(--ink);
  padding: var(--space-2xs) var(--space-sm);
  z-index: var(--z-overlay);
  transition: top var(--dur-fast) ease;
  font-family: var(--font-display); font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-sm); }

/* ============ Nav ============ */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) clamp(2rem, 6vw, 5rem);
  background: transparent;
  transition: background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.site-nav.is-scrolled {
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  padding-block: var(--space-xs);
  box-shadow: 0 1px 0 rgba(35,31,32,0.08);
}
.site-nav.is-scrolled .site-nav__mark,
.site-nav.is-scrolled .site-nav__links a { color: var(--ink); }
.site-nav__mark {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-display-tight);
  font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--white);
  transition: color var(--dur-fast) ease;
}

.site-nav__links { display: flex; gap: var(--space-md); font-size: 0.85rem; font-weight: 600; }
.site-nav__links a {
  text-decoration: none; color: var(--white);
  padding-block: var(--space-3xs);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.site-nav.is-scrolled .site-nav__links a { color: var(--ink); }
.site-nav__links a:hover, .site-nav__links a:focus-visible,
.site-nav__links a.is-active { color: var(--orange); border-color: var(--orange); }
/* On white/scrolled nav, orange fails AA (2.6:1) — use purple (7.2:1) instead */
.site-nav.is-scrolled .site-nav__links a:hover,
.site-nav.is-scrolled .site-nav__links a:focus-visible,
.site-nav.is-scrolled .site-nav__links a.is-active { color: var(--purple); border-color: var(--purple); }
.site-nav__cta.btn { display: none; }
@media (min-width: 720px) { .site-nav__cta.btn { display: inline-flex; } }
.site-nav__toggle {
  display: none; background: none; border: 1.5px solid var(--white); color: var(--white);
  width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
}
.site-nav.is-scrolled .site-nav__toggle { border-color: var(--ink); color: var(--ink); }
@media (max-width: 719px) {
  .site-nav__links { display: none; }
  .site-nav__toggle { display: inline-flex; }
}

/* Logo: default = white-letter version over photo/colored bg; swap to dark-letter on scroll */
.site-nav__logo { height: 64px; width: auto; display: block; }
.site-nav__logo--dark { display: none; }
.site-nav__logo--light { display: block; }
.site-nav.is-scrolled .site-nav__logo--dark { display: block; }
.site-nav.is-scrolled .site-nav__logo--light { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(0.97);
  transition: opacity var(--dur-med) var(--ease-out-expo),
              visibility var(--dur-med) var(--ease-out-expo),
              transform var(--dur-med) var(--ease-out-expo);
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--space-lg); text-align: center; }
.mobile-menu a {
  font-family: var(--font-display); font-variation-settings: var(--fvs-display);
  font-weight: 700; font-size: 2rem; text-decoration: none; color: var(--cream);
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--gold); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.005em;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 100px;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px) rotate(-1deg); }
.btn-primary:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px) rotate(1deg); }
.btn-ghost:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ============ Inspection tag ============ */
.tag {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  background: var(--gold); color: var(--ink);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 96% 100%, 4% 100%, 0 70%);
  z-index: var(--z-tag);
}
.tag__dot { width: 6px; height: 6px; background: var(--orange-deep); flex-shrink: 0; border-radius: 50%; }

/* Hero tag: outline only (no fill) over the photo, sits above the title */
.hero__tag {
  background: transparent;
  border: 1px solid rgba(255,251,247,0.6);
  color: var(--cream);
  margin-bottom: var(--space-md);
}

/* ============ Section rhythm + backgrounds ============ */
.section { padding-block: var(--space-2xl); position: relative; }
.section--tight { padding-block: var(--space-xl); }
.section--white { background: var(--white); color: var(--ink); }
.section--purple {
  background-color: var(--purple);
  background-image: linear-gradient(rgba(96,72,157,0.55), rgba(96,72,157,0.55)), url("../back1.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  color: var(--cream);
}
.section--orange { background: var(--orange); color: var(--ink); }
.section--cream { background: var(--cream); color: var(--ink); }

/* Subtle grain on flat solid sections — breaks digital flatness */
.section--white,
.section--cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}
@media (prefers-reduced-motion: reduce) {
  .section--white, .section--cream { background-image: none; }
}

.section--purple h1, .section--purple h2, .section--purple h3 { color: var(--cream); }
.section--orange h1, .section--orange h2, .section--orange h3 { color: var(--ink); }

.section-head { max-width: 46ch; margin-bottom: var(--space-xl); }

.section-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.05; letter-spacing: -0.01em; }

/* ============ Organic seam dividers (varied per seam, not repeated) ============ */
.seam { position: relative; height: 0; }
.seam svg { position: absolute; left: 0; width: 100%; display: block; }
.seam--wave-down { bottom: -1px; }
.seam--wave-up { top: -1px; transform: rotate(180deg); }

/* Seam fills: same fixed, viewport-anchored background as the purple sections
   they lead into, so the texture reads as one continuous surface through the
   curve instead of two independently-cropped images meeting at a hard edge. */
.seam__fill {
  position: absolute; left: 0; top: 0; width: 100%;
  background-color: var(--purple);
  background-image: linear-gradient(rgba(96,72,157,0.55), rgba(96,72,157,0.55)), url("../back1.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
}
.seam__fill--product { height: 160px; clip-path: url(#wave-clip-product); }
.seam__fill--footer { height: 120px; clip-path: url(#wave-clip-footer); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%;
  transform: scale(1.45); filter: saturate(0.8);
  transition: transform 1.8s var(--ease-out-expo), filter 1.8s var(--ease-out-expo);
}
.hero.is-loaded .hero__media img, .hero.is-loaded .hero__media video { transform: scale(1); filter: saturate(1.08); }
@media (prefers-reduced-motion: reduce) {
  .hero__media video { transform: none; filter: saturate(1.08); transition: none; }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(35,31,32,0.35) 0%, rgba(35,31,32,0.28) 35%, rgba(35,31,32,0.88) 94%),
    linear-gradient(90deg, rgba(35,31,32,0.6) 0%, transparent 55%);
}
.hero__edge {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 90px; z-index: 1;
  background-color: var(--purple);
  background-image: linear-gradient(rgba(96,72,157,0.55), rgba(96,72,157,0.55)), url("../back1.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  clip-path: url(#wave-clip-hero);
}
.hero__content { position: relative; width: 100%; padding: var(--space-2xl) clamp(2rem, 6vw, 5rem) var(--space-xl); color: var(--cream); }
.hero__title {
  font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 700; line-height: 0.96;
  letter-spacing: -0.02em; max-width: 17ch; color: var(--cream);
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 144;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__sub { margin-top: var(--space-sm); max-width: 46ch; font-size: 1.2rem; color: rgba(255,251,247,0.82); }
.hero__actions { margin-top: var(--space-lg); display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero__scroll-cue {
  position: absolute; right: var(--space-md); bottom: var(--space-md);
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,251,247,0.7);
  display: flex; align-items: center; gap: var(--space-2xs); z-index: 2;
}
.hero__scroll-cue::after { content: ""; width: 1px; height: 40px; background: currentColor; }

/* ============ Story (purple block, no eyebrow, big statement) ============ */
.story {
  display: grid; gap: var(--space-xl); align-items: center; position: relative;
}
@media (min-width: 900px) { .story { grid-template-columns: 1.05fr 0.95fr; } }
.story__statement {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 144;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  color: var(--cream);
  text-wrap: balance;
}
.story__statement strong { color: var(--gold); font-weight: 700; }
.story__body { margin-top: var(--space-lg); color: rgba(255,251,247,0.86); }
.story__body p + p { margin-top: var(--space-sm); }
.story__media {
  position: relative;
  aspect-ratio: 4/5;
  justify-self: center;
  width: min(100%, 420px);
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media .tag { position: absolute; left: 0.75rem; bottom: var(--space-md); }
.story__media::after {
  content: "";
  position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px;
  background: var(--orange); z-index: -1; border-radius: 50%;
  opacity: 0.9;
}

/* ============ Process: continuous narrative, not cards ============ */
.process-flow { position: relative; }
.process-flow__intro {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md);
  flex-wrap: wrap; margin-bottom: var(--space-xl);
}
.process-flow__intro h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.08; color: var(--purple); max-width: 14ch;
}
.process-flow__intro p { max-width: 32ch; color: var(--ink); opacity: 0.75; }

.process-thread {
  position: absolute;
  left: 50%; top: 0; bottom: 0; width: 0; transform: translateX(-50%);
  z-index: var(--z-thread);
  display: none;
  border-left: 3px dashed var(--orange);
  opacity: 0.55;
}
@media (min-width: 860px) { .process-thread { display: block; } }

.process-stage {
  display: grid; gap: var(--space-lg); align-items: center;
  padding-block: var(--space-lg);
  position: relative;
}
@media (min-width: 860px) {
  .process-stage { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .process-stage--reverse .process-stage__media { order: 2; }
  .process-stage--reverse .process-stage__text { order: 1; text-align: right; }
  .process-stage--reverse .process-stage__text p { margin-left: auto; }
}
.process-stage__media { position: relative; aspect-ratio: 4/5; }
.process-stage__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.process-stage__num {
  position: absolute;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 7rem);
  color: var(--purple-tint);
  z-index: -1;
  top: -1.4rem; left: -1rem;
  line-height: 1;
  pointer-events: none;
}
.process-stage--reverse .process-stage__num { left: auto; right: -1rem; }
.process-stage__text h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.process-stage__text p { color: rgba(35,31,32,0.72); max-width: 42ch; }

/* ============ Product (orange block) ============ */
.product-gallery {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}
.product-card { position: relative; overflow: hidden; }
.product-card:nth-child(1) { aspect-ratio: 3/4; }
.product-card:nth-child(2) { aspect-ratio: 1/1; align-self: center; }
.product-card:nth-child(3) { aspect-ratio: 4/5; }
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-quart);
}
.product-card:hover img { transform: scale(1.06) rotate(-1deg); }
.product-card .tag { position: absolute; left: var(--space-2xs); bottom: var(--space-2xs); background: var(--ink); color: var(--cream); }
.product-card .tag .tag__dot { background: var(--gold); }

.product-facts {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: var(--space-xl); padding-top: var(--space-lg);
  border-top: 2px solid rgba(35,31,32,0.15);
}
.product-facts dt {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--purple); text-transform: uppercase; margin-bottom: var(--space-2xs);
}
.product-facts dd { margin: 0; color: rgba(35,31,32,0.75); }
/* Product-facts on purple background */
.section--purple .product-facts { border-top-color: rgba(255,251,247,0.2); }
.section--purple .product-facts dt { color: var(--gold); }
.section--purple .product-facts dd { color: rgba(255,251,247,0.82); }

/* ============ Market: stats lead, big character ============ */
.market-lead {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  margin-bottom: var(--space-xl);
}
.market-lead__stat {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  font-weight: 700;
  line-height: 0.9;
  color: var(--purple);
}
.market-lead__stat::before {
  content: "";
  display: block;
  width: 36px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}
.market-lead__stat:first-child {
  font-size: clamp(3.5rem, 11vw, 9rem);
  grid-column: span 2;
}
.market-lead__stat:not(:first-child) { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.market-lead__stat span {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem; color: var(--ink); opacity: 0.7; margin-top: var(--space-sm);
  line-height: 1.4;
}
.market-body { display: grid; gap: var(--space-xl); }
@media (min-width: 860px) { .market-body { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.market-body__intro {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  max-width: 50ch;
  color: var(--ink);
}

/* ============ Contact ============ */
.contact .section-head { margin-bottom: var(--space-sm); }
.contact .section-head h2 { font-size: clamp(2.6rem, 4.5vw, 4rem); }
.contact { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }
.contact__direct { color: rgba(35,31,32,0.75); }
.contact__direct a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

.form-field { margin-bottom: var(--space-sm); }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(35,31,32,0.72);
  margin-bottom: var(--space-2xs);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--white); border: 1.5px solid rgba(35,31,32,0.2);
  color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  padding: 0.8rem 0.9rem; border-radius: 10px;
  transition: border-color var(--dur-fast) ease;
}
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: none; border-color: var(--purple);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; gap: var(--space-sm); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: var(--space-sm); font-size: 0.9rem; }
.form-status[data-state="success"] { color: var(--purple); }
.form-status[data-state="error"] { color: var(--orange-deep); }

/* ============ Footer: brand moment, not a gray afterthought ============ */
.site-footer {
  position: relative;
  background-color: var(--purple);
  background-image: linear-gradient(rgba(96,72,157,0.55), rgba(96,72,157,0.55)), url("../back1.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  color: var(--cream);
  padding-top: calc(var(--space-lg) + 60px);
  padding-bottom: var(--space-lg);
}
.site-footer__seam { position: absolute; top: -1px; left: 0; width: 100%; line-height: 0; }

/* iOS Safari computes `cover` against the wrong containing block for
   background-attachment:fixed, rendering the texture blurry/pixelated.
   Desktop and Android render it correctly, so scope the fallback to mobile.
   `cover` also has to go: with attachment:scroll each element sizes the
   image against its OWN box, and the seam waves are short (120-160px) vs
   the tall sections they lead into — cover blows the leaf print up huge
   in the wave and tiny in the section, two visibly different scales at
   the same seam. A fixed, shared background-size keeps the print the
   same scale everywhere; repeat covers the box instead of stretching. */
@media (max-width: 719px) {
  .section--purple,
  .hero__edge,
  .seam__fill,
  .site-footer {
    background-attachment: scroll, scroll;
    background-size: 900px auto, 900px auto;
    background-repeat: repeat, repeat;
  }
}
.site-footer__logo { height: 76px; width: auto; }
.site-footer__inner {
  width: var(--container); margin-inline: auto;
  display: grid; gap: var(--space-lg);
}

.site-footer__row {
  display: flex; flex-wrap: wrap; gap: var(--space-lg);
  justify-content: space-between; align-items: flex-end;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,251,247,0.18);
}
.site-footer__links { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.site-footer__links a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.site-footer__links a:hover, .site-footer__links a:focus-visible { color: var(--cream); border-color: var(--cream); }
.site-footer__meta { font-size: 0.85rem; color: rgba(255,251,247,0.65); max-width: 40ch; }

/* ============ WhatsApp floating button ============ */
.whatsapp-fab {
  position: fixed;
  right: var(--space-md);
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(18,140,126,0.35), 0 2px 8px rgba(35,31,32,0.2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: opacity var(--dur-med) var(--ease-out-expo),
              visibility var(--dur-med) var(--ease-out-expo),
              transform var(--dur-med) var(--ease-out-expo),
              box-shadow var(--dur-fast) ease;
}
.whatsapp-fab.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(18,140,126,0.45), 0 4px 10px rgba(35,31,32,0.22);
}
.whatsapp-fab:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.whatsapp-fab svg { width: 30px; height: 30px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: opacity var(--dur-fast) ease; }
}
@media (max-width: 719px) {
  .whatsapp-fab {
    width: 54px; height: 54px;
    right: var(--space-sm);
    bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-fab svg { width: 27px; height: 27px; }
}
