/* ============================================================
   CMBN — Canadian Multicultural Business Network
   Editorial Luxury design system. Plain CSS, no frameworks.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --crimson: #a10f1a;
  --crimson-deep: #7d0b14;
  --ivory: #f6f2eb;
  --sand: #d8c8b7;
  --charcoal: #1e1e1e;
  --graphite: #4b4b4b;
  --success: #4d8c57;
  --white: #ffffff;
  --border: #e7e0d5;

  --radius: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 2px 8px rgba(30, 30, 30, 0.04), 0 18px 40px rgba(30, 30, 30, 0.07);
  --shadow-lift: 0 4px 12px rgba(30, 30, 30, 0.06), 0 28px 60px rgba(30, 30, 30, 0.12);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Raleway", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-hand: "Dancing Script", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
}

::selection {
  background: var(--crimson);
  color: var(--ivory);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5.5rem;
  background: var(--white);
}

.section--ivory {
  background: var(--ivory);
}
.section--charcoal {
  background: var(--charcoal);
}
.section--crimson {
  background: var(--crimson);
}

.measure {
  max-width: 44rem;
}
.measure--wide {
  max-width: 52rem;
}

.split {
  display: grid;
  gap: 3.5rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-3--spaced,
.grid-2--spaced {
  margin-top: 3.5rem;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}
.eyebrow--sand {
  color: var(--sand);
}
.eyebrow--muted {
  color: rgba(75, 75, 75, 0.7);
  margin-top: 1.75rem;
}

.eyebrow__rule {
  display: block;
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.h2 {
  margin-top: 1.75rem;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  color: var(--charcoal);
}
.h2--ivory {
  color: var(--ivory);
}

.h3 {
  margin-top: 1.75rem;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--charcoal);
}

.lede {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--graphite);
}
.lede--ivory {
  color: rgba(246, 242, 235, 0.7);
  max-width: 36rem;
}

.prose {
  margin-top: 2rem;
  color: var(--graphite);
  line-height: 1.75;
}
.prose > p + p {
  margin-top: 1.25rem;
}
.prose--tight {
  margin-top: 2rem;
}

.prose__pull {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--charcoal);
}

.hand {
  font-family: var(--font-hand);
  font-size: 1.875rem;
  line-height: 1.3;
  color: var(--crimson);
}
.hand--lg {
  font-size: 2.25rem;
}
.hand--sand {
  color: var(--sand);
  font-size: 1.5rem;
  margin-top: 0.75rem;
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.btn:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 4px;
}

.btn--arrow::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  transition: transform 0.3s ease;
  -webkit-mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.btn--arrow:hover::after {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--crimson);
  color: var(--ivory);
}
.btn--primary:hover {
  background: var(--crimson-deep);
}

.btn--ivory {
  background: var(--ivory);
  color: var(--charcoal);
}
.btn--ivory:hover {
  background: var(--sand);
}

.btn--success {
  background: var(--success);
  color: var(--ivory);
}
.btn--success:hover {
  background: rgba(77, 140, 87, 0.85);
}

.btn--outline {
  border: 1px solid rgba(30, 30, 30, 0.25);
  color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

.btn--outline-ivory {
  border: 1px solid rgba(246, 242, 235, 0.32);
  color: var(--ivory);
}
.btn--outline-ivory:hover {
  background: var(--ivory);
  color: var(--charcoal);
}

.btn--block {
  display: flex;
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.3s ease;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.3s ease;
}
.link-arrow:hover {
  color: var(--crimson);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

.lift {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

/* ---------- 6. Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  /* Always solid + legible. The original transparent-over-hero effect relied on a
     JS scroll listener toggling .is-scrolled, which is unreliable inside the
     WordPress/Elementor editor and with caching/optimization plugins, so this
     theme keeps the header readable at all times instead. */
  background: rgba(246, 242, 235, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

/* Since the header is now always solid (see .site-header above), push page
   content down by the header's height so nothing sits hidden underneath it. */
body {
  padding-top: 84px;
}

.nav__logo-plate {
  display: inline-block;
  border-radius: 12px;
  background: transparent;
  padding: 0.5rem 0.75rem 0.5rem 0;
  transition: background-color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__logo-plate img {
  height: 2rem;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links a:hover {
  color: var(--crimson);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__cta {
  display: none;
  padding: 0.75rem 1.5rem;
  font-size: 13px;
}
.nav__burger {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  color: var(--charcoal);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.mobile-menu__top img {
  height: 2rem;
  width: auto;
}
.mobile-menu__close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  color: var(--charcoal);
}
.mobile-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
}
.mobile-menu__links a {
  display: block;
  padding-block: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--charcoal);
}
.mobile-menu__foot {
  padding-bottom: 3rem;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
}
.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 30, 30, 0.95),
    rgba(30, 30, 30, 0.75) 50%,
    rgba(30, 30, 30, 0.25)
  );
}
.hero__scrim--vertical {
  background: linear-gradient(
    to top,
    rgba(30, 30, 30, 0.7),
    transparent 50%,
    rgba(30, 30, 30, 0.4)
  );
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 8rem 7rem;
}
.hero__content {
  max-width: 58rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(246, 242, 235, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(246, 242, 235, 0.1);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.9);
}
.icon-star {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  fill: var(--sand);
  stroke: var(--sand);
}

.hero__title {
  max-width: 20ch;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  color: var(--ivory);
}
.hero__title em {
  font-style: normal;
  color: var(--sand);
}

.hero__lede {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(246, 242, 235, 0.75);
}

.hero__actions {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  inset: auto 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero__scroll-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.5);
}
.hero__scroll-track {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 1.5rem;
  height: 2.5rem;
  padding-top: 0.5rem;
  border: 1px solid rgba(246, 242, 235, 0.3);
  border-radius: var(--radius-pill);
}
.hero__scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

/* Hero entrance animation */
.intro {
  opacity: 0;
  transform: translateY(20px);
  animation: intro-in 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes intro-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. Trust strip ---------- */
.trust {
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.trust__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--graphite);
}
.trust__marquee {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.trust__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  padding-right: 3.5rem;
  animation: marquee 42s linear infinite;
}
.trust__track span {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(75, 75, 75, 0.6);
}
.trust__track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 9. Cards ---------- */
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.media-frame:hover img {
  transform: scale(1.03);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.25rem;
  border-radius: var(--radius);
  background: var(--white);
}
.card--bordered {
  border: 1px solid rgba(216, 200, 183, 0.6);
}
.card--soft {
  box-shadow: var(--shadow-soft);
}
.card--sandline {
  border: 1px solid rgba(216, 200, 183, 0.7);
  background: var(--ivory);
  padding: 2.5rem;
}
.card__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--crimson);
}
.card__body {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--graphite);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0.8rem;
  border-radius: 50%;
  background: rgba(161, 15, 26, 0.08);
  color: var(--crimson);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.benefit:hover .benefit__icon {
  background: var(--crimson);
  color: var(--ivory);
}

/* ---------- 10. Statistics ---------- */
.stats__grid {
  display: grid;
  gap: 3rem;
}
.stat {
  border-top: 1px solid var(--sand);
  padding-top: 2rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--crimson);
}
.stat__label {
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* ---------- 11. Gallery ---------- */
.gallery {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory);
}
.gallery__item--tall {
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.03);
}

/* ---------- 12. Events ---------- */
.event__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--charcoal);
  color: var(--ivory);
}
.event__date span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.event__date strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.pill {
  border-radius: var(--radius-pill);
  padding: 0.375rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--success {
  background: rgba(77, 140, 87, 0.1);
  color: var(--success);
}
.event__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--charcoal);
}
.event__meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--graphite);
}
.event__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.event__meta svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.event__foot {
  margin-top: auto;
  padding-top: 2rem;
}

/* ---------- 13. Join the movement ---------- */
.way__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--charcoal);
}
.way__foot {
  margin-top: auto;
  padding-top: 2rem;
}

/* ---------- 14. WhatsApp community ---------- */
.phone-wrap {
  display: flex;
  justify-content: center;
}
.phone {
  width: 300px;
  padding: 0.75rem;
  border: 1px solid rgba(246, 242, 235, 0.15);
  border-radius: 42px;
  background: rgba(246, 242, 235, 0.05);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(6px);
}
.phone__screen {
  overflow: hidden;
  border-radius: 32px;
  background: var(--ivory);
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--success);
}
.phone__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(246, 242, 235, 0.2);
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--ivory);
}
.phone__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ivory);
}
.phone__status {
  font-size: 11px;
  color: rgba(246, 242, 235, 0.75);
}
.phone__thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: rgba(216, 200, 183, 0.25);
}
.bubble {
  align-self: flex-start;
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  line-height: 1.4;
  color: var(--charcoal);
}
.bubble--mine {
  align-self: flex-end;
  background: rgba(77, 140, 87, 0.15);
  box-shadow: none;
}
.bubble__from {
  margin-bottom: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--crimson);
}

/* ---------- 15. Founder story ---------- */
.founder {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}
.pullquote {
  margin-top: 2.5rem;
  border-left: 2px solid var(--crimson);
  padding-left: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--charcoal);
}
.signature {
  margin-top: 2.5rem;
}
.signature__role {
  margin-top: 0.5rem;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* ---------- 16. Mission & vision ---------- */
.panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.75rem;
  border-radius: var(--radius);
}
.panel--sand {
  background: rgba(216, 200, 183, 0.4);
}
.panel--charcoal {
  background: var(--charcoal);
}
.panel__body {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.3;
  color: var(--charcoal);
}
.panel--charcoal .panel__body {
  color: var(--ivory);
}

/* ---------- 17. Testimonials ---------- */
.quote-card {
  margin-top: 3.5rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.stars {
  display: flex;
  gap: 0.25rem;
}
.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--crimson);
  stroke: var(--crimson);
}
.quote {
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.quote.is-fading {
  opacity: 0;
  transform: translateY(10px);
}
.quote__text {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  color: var(--charcoal);
}
.quote__who {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quote__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: rgba(216, 200, 183, 0.6);
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--charcoal);
}
.quote__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.quote__role {
  display: block;
  font-size: 0.875rem;
  color: var(--graphite);
}
.quote__controls {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 0.75rem;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  transition: width 0.3s ease, background-color 0.3s ease;
}
.dot.is-active {
  width: 2rem;
  background: var(--crimson);
}
.arrows {
  display: flex;
  gap: 0.75rem;
}
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.8rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--charcoal);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.arrow:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

/* ---------- 18. Final CTA ---------- */
.final {
  text-align: center;
}
.final__title {
  max-width: 56rem;
  margin-inline: auto;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  color: var(--ivory);
}
.final__lede {
  max-width: 42rem;
  margin: 2rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(246, 242, 235, 0.8);
}
.final__actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---------- 19. Footer ---------- */
.footer {
  padding: 6rem 0 3rem;
  background: var(--charcoal);
  color: var(--ivory);
}
.footer__grid {
  display: grid;
  gap: 3.5rem;
}
.footer__logo {
  height: 2.75rem;
  width: auto;
  border-radius: 8px;
  background: var(--ivory);
  padding: 0.5rem 0.75rem;
}
.footer__about {
  margin-top: 1.5rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(246, 242, 235, 0.6);
}
.footer__text {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(246, 242, 235, 0.7);
}
.subscribe {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem;
  border: 1px solid rgba(246, 242, 235, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(246, 242, 235, 0.05);
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--ivory);
}
.subscribe input::placeholder {
  color: rgba(246, 242, 235, 0.4);
}
.subscribe input:focus {
  outline: none;
}
.subscribe button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  padding: 0.75rem;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--ivory);
  transition: background-color 0.3s ease;
}
.subscribe button:hover {
  background: var(--crimson-deep);
}
.footer__nav ul {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  list-style: none;
}
.footer__nav a {
  font-size: 0.875rem;
  color: rgba(246, 242, 235, 0.7);
  transition: color 0.3s ease;
}
.footer__nav a:hover {
  color: var(--ivory);
}
.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 242, 235, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(246, 242, 235, 0.45);
}
.socials {
  display: flex;
  gap: 0.75rem;
  list-style: none;
}
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(246, 242, 235, 0.2);
  border-radius: 50%;
  color: rgba(246, 242, 235, 0.7);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.socials a:hover {
  color: var(--ivory);
  border-color: var(--ivory);
}

/* ---------- 20. Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 1rem;
  border-top: 1px solid rgba(216, 200, 183, 0.6);
  background: rgba(246, 242, 235, 0.95);
  backdrop-filter: blur(18px);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-cta.is-visible {
  transform: translateY(0);
}

/* ---------- 21. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 22. Responsive ---------- */
@media (min-width: 640px) {
  .nav__logo-plate img {
    height: 2.25rem;
  }
  .nav__cta {
    display: inline-flex;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 8.75rem;
  }
  .trust {
    padding-block: 5rem;
  }
  .trust__title {
    font-size: 2rem;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3--spaced,
  .grid-2--spaced {
    margin-top: 5rem;
  }
  .card,
  .quote-card {
    padding: 2.25rem;
  }
  .quote-card {
    padding: 4rem;
    margin-top: 4rem;
  }
  .panel {
    padding: 3.5rem;
  }
  .lede,
  .prose {
    font-size: 1.0625rem;
  }
  .hero__lede,
  .lede--ivory,
  .final__lede {
    font-size: 1.125rem;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    margin-top: 5rem;
  }
  .section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .split {
    gap: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
  .nav__burger {
    display: none;
  }
  .mobile-cta {
    display: none;
  }
  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }
  .split--center {
    align-items: center;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .founder {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
  .footer__grid {
    grid-template-columns: 5fr 4fr 3fr;
    gap: 5rem;
  }
  .footer__nav ul {
    grid-template-columns: 1fr;
  }
  .phone-wrap {
    justify-content: flex-end;
  }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .intro {
    opacity: 1;
    transform: none;
  }
}
