:root {
  --color-emerald:      #0D4830;
  --color-gold:         #BF9856;
  --color-porcelain:    #FBFAF7;
  --color-ink:          #1F2623;
  --color-graphite:     #5F5F60;
  --color-emerald-mist: #EEF3EF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Poppins', sans-serif;
  --container:    1420px;
  --gutter:       40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: hidden;
}
body {
  max-width: 100%;
  font-family: var(--font-body);
  background: var(--color-porcelain);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container-cutis {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  /* Without this, .container-cutis — as the sole flex child of a
     display:flex ancestor (e.g. a swiper-slide) — defaults to
     min-width:auto, letting its own intrinsic content width (driven by
     deeply-nested text that doesn't wrap, e.g. the hero's stats-strip
     labels) force it wider than its flex parent and overflow the
     viewport. Confirmed at 320px: was rendering 406px wide. */
  min-width: 0;
}

/* Shared eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-graphite);
}
.eyebrow::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Shared buttons */
.btn-cutis {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-cutis-primary {
  background: var(--color-emerald);
  color: var(--color-porcelain);
  border-color: var(--color-emerald);
}
.btn-cutis-primary:hover { background: #165c3a; border-color: #165c3a; }
.btn-cutis-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-cutis-outline:hover { background: rgba(31,38,35,0.05); }

/* Arrow in buttons */
.btn-cutis .btn-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}
.btn-cutis:hover .btn-arrow { transform: translateX(3px); }

@media (max-width: 768px) {
  :root { --gutter: 20px; }
}

/* ── Swiper base (shared by every carousel: hero, testimonials, journal) ── */
.swiper {
  position: relative;
  overflow: hidden;
}
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.swiper-slide {
  height: auto;
  min-height: 100%;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
}
.swiper-pagination {
  position: absolute !important;
  bottom: 16px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(191,152,86,.35);
  opacity: 1;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.swiper-pagination .swiper-pagination-bullet-active {
  background: #BF9856;
  transform: scale(1.25);
}

/* FOUC prevention — only the first slide is visible until Swiper finishes
   initializing (library load + init can lag a tick behind DOMContentLoaded) */
.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.swiper.swiper-initialized .swiper-slide { display: flex; }
