/* =========================================================
   CODI Kids Wear — Sales Agency
   Design system: fun · clean · minimal · pastel
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (sampled from the CODI mark) */
  --purple: #9a7fd0;
  --purple-deep: #7b5fc0;
  --purple-ink: #5a4790;
  --lavender: #b9a6e0;
  --lavender-100: #f4effb;
  --lavender-200: #e8def7;
  --pink: #f0c2d4;
  --pink-100: #fcebf2;
  --peach: #fbe0cd;
  --peach-100: #fdf1e9;
  --mint: #cfeae0;
  --mauve: #a78d96;

  /* Ink + surfaces */
  --ink: #3c3942;
  --ink-2: #6b6675;
  --ink-3: #9a95a4;
  --bg: #ffffff;
  --bg-2: #faf8fe;
  --line: #eee9f7;

  /* Shadows (purple-tinted) */
  --shadow-sm: 0 4px 14px -6px rgba(123, 95, 192, 0.22);
  --shadow: 0 18px 40px -22px rgba(123, 95, 192, 0.42);
  --shadow-lg: 0 34px 70px -30px rgba(123, 95, 192, 0.50);

  /* Geometry */
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-hand: "Caveat", "Poppins", cursive;
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16.5px;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--lavender-200); color: var(--purple-ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lavender), var(--pink));
}

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-top: 0.7rem;
}
.section-sub {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: 1.06rem;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tint { background: var(--bg-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.92em 1.55em;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--lavender) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.6px var(--lavender-200);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1.6px var(--lavender), var(--shadow-sm);
  color: var(--purple-deep);
}

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: #fff; color: var(--purple-deep); transform: translateY(-3px); }

.btn--sm { padding: 0.7em 1.2em; font-size: 0.9rem; }

/* ---------- Decorative blobs / dots ---------- */
.blob {
  position: absolute;
  z-index: 0;
  filter: blur(0.5px);
  pointer-events: none;
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  animation: float 16s var(--ease) infinite;
}
.blob--lav { background: var(--lavender-200); }
.blob--pink { background: var(--pink-100); }
.blob--peach { background: var(--peach-100); }

.dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--lavender) 1.7px, transparent 1.8px);
  background-size: 16px 16px;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

/* ====================================================
   Header / Nav
   ==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(123, 95, 192, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-2);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--purple-deep); background: var(--lavender-100); }
.nav-links a.active { color: var(--purple-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.16rem;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lavender-100);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ====================================================
   Hero — full-bleed Backgroundcodi scene
   ==================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 880px);
  overflow: hidden;
  background: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
  /* The photo is shot on white, so multiplying drops the backdrop out over the
     pastel details beneath it — no cutout, and no halo around the model's hair. */
  mix-blend-mode: multiply;
}

/* ---------- Hero pastel details ----------
   Two layers, either side of the ::after scrim (z-index 1):
   · right-hand details sit at z-index 0, under the photo, and read through its
     white backdrop via the multiply blend
   · left-hand details sit at z-index 2, above the scrim, which is otherwise
     opaque white on that side and would erase them
   The copy sits above both at z-index 3.                                      */
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.hero-deco--blob-right {
  z-index: 0;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 3 / 4;
  top: 6%;
  right: -5%;
  animation-delay: -3s;
}
.hero-deco--star {
  z-index: 0;
  width: clamp(34px, 3.6vw, 52px);
  color: var(--pink);
  top: 39%;
  right: 6%;
  animation: float 14s var(--ease) infinite;
}
.hero-deco--heart {
  z-index: 0;
  width: clamp(30px, 3.2vw, 46px);
  color: var(--pink);
  bottom: 20%;
  right: 2.5%;
  animation: float 18s var(--ease) infinite;
  animation-delay: -7s;
}

/* Left-hand group — kept clear of the copy: corner above the eyebrow, and the
   band below the buttons. */
.hero-deco--blob-left {
  z-index: 2;
  width: clamp(190px, 20vw, 300px);
  aspect-ratio: 1 / 1;
  bottom: -15%;
  left: -7%;
  animation-delay: -9s;
}
.hero-deco--blob-pink {
  z-index: 2;
  width: clamp(230px, 26vw, 400px);
  aspect-ratio: 8 / 5;
  bottom: -19%;
  left: 5%;
  animation-delay: -6s;
}
.hero-deco--dots {
  z-index: 2;
  width: clamp(120px, 13vw, 190px);
  height: clamp(80px, 9vw, 130px);
  bottom: 5%;
  left: 9%;
}
.hero-deco--sparkle {
  z-index: 2;
  width: clamp(34px, 3.6vw, 52px);
  color: #edb87f; /* the amber of the original sparkle; --peach is too pale to read */
  top: 4%;
  left: 2.5%;
  animation: float 20s var(--ease) infinite;
  animation-delay: -4s;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.94) 30%,
    rgba(255, 255, 255, 0.55) 47%,
    rgba(255, 255, 255, 0) 64%
  );
}
.hero-inner {
  position: relative;
  z-index: 3; /* above both decoration layers and the scrim */
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  margin-top: 1.1rem;
  letter-spacing: -0.035em;
}
.hero h1 .l1 { color: var(--ink); display: block; }
.hero h1 .l2 { color: var(--purple); display: inline; }
.hero h1 .heart { display: inline-block; width: clamp(28px, 4vw, 46px); vertical-align: baseline; margin-left: 0.1em; }
.hero h1 .heart path { fill: var(--pink); }

.hero p.lede {
  margin-top: 1.4rem;
  max-width: 40ch;
  font-size: 1.12rem;
  color: var(--ink-2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.1rem; }

.hero-stats {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
}
.hero-stats .stat span { font-size: 0.85rem; color: var(--ink-3); }

/* ====================================================
   Logo marquee
   ==================================================== */
.marquee-wrap {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.marquee-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.6rem;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: scroll-x 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 38px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(1) brightness(0.45) contrast(1.15);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
/* Square marks read much smaller than wide wordmarks at the same height,
   because height alone caps their width too. Give them room to match. */
.marquee-track img.logo-tall { height: 72px; }
.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1) contrast(1);
  transform: scale(1.06);
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ====================================================
   Value props
   ==================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.value-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--ink-2); font-size: 0.96rem; }

/* tint helpers for icons / badges */
.t-lav { background: var(--lavender-200); color: var(--purple-deep); }
.t-pink { background: var(--pink-100); color: #c76b94; }
.t-peach { background: var(--peach-100); color: #cb8a52; }
.t-mint { background: var(--mint); color: #4f9b81; }

/* ====================================================
   Brand grid (Brands page + featured)
   ==================================================== */
.brands-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 2.4rem;
}
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--lavender); color: var(--purple-deep); }
.chip.active {
  background: linear-gradient(135deg, var(--purple), var(--lavender));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-top: 3rem;
}
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    opacity 0.4s ease;
}
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.brand-card.is-hidden { display: none; }

.brand-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--lavender-100);
}
.brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.brand-card:hover .brand-media img { transform: scale(1.06); }
.brand-flag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  padding: 0.34rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.brand-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.brand-body h3 { font-size: 1.3rem; }
.brand-body p { color: var(--ink-2); font-size: 0.96rem; flex: 1; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.brand-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--purple-deep);
  background: var(--lavender-100);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--purple-deep);
}
.brand-link svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.brand-card:hover .brand-link svg { transform: translateX(4px); }

/* ====================================================
   Brand badges (Carmi-style, in CODI logo circles)
   ==================================================== */
.is-hidden { display: none !important; }

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2.8rem, 4.8vw, 4.2rem) clamp(1.2rem, 3vw, 2.2rem);
  margin-top: 2rem;
}
.brand-badge {
  display: flex;
  flex: 0 1 clamp(160px, 24%, 260px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  color: inherit;
  max-width: 280px;
  min-width: 0;
}
.badge-text { min-width: 0; max-width: 100%; }
.badge-circle {
  width: clamp(112px, 32vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.badge-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 -12px 28px rgba(80, 60, 110, 0.09), inset 0 10px 24px rgba(255, 255, 255, 0.32);
}
.brand-badge:hover .badge-circle { transform: translateY(-7px) scale(1.035); box-shadow: var(--shadow-lg); }
.badge-circle img {
  position: relative;
  z-index: 1;
  max-width: 72%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(50, 30, 70, 0.24));
}
.badge-circle.c-lav    { background: linear-gradient(155deg, #bda6e8 0%, #a488d6 100%); }
.badge-circle.c-purple { background: linear-gradient(155deg, #a88bd6 0%, #8b6dc6 100%); }
.badge-circle.c-brown  { background: linear-gradient(155deg, #96807a 0%, #78615a 100%); }
.badge-circle.c-mauve  { background: linear-gradient(155deg, #ac8f96 0%, #8b6874 100%); }
/* Larger logo lockups for wordmarks that read small on the circle */
.badge-circle img.logo-xl { max-width: 78%; max-height: 62%; }
.brand-badge h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; transition: color 0.25s ease; }
.brand-badge:hover h3 { color: var(--purple-deep); }
.brand-badge .badge-sub { color: var(--ink-2); font-size: 0.93rem; margin-top: 0.35rem; }
.brand-badge .badge-country { display: block; margin-top: 0.6rem; font-size: 0.74rem; letter-spacing: 0.05em; color: var(--ink-3); }

/* Brand detail page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-2);
  transition: color 0.2s ease, gap 0.2s ease;
}
.back-link svg { width: 1em; height: 1em; }
.back-link:hover { color: var(--purple-deep); gap: 0.7em; }
.split-media.portrait { aspect-ratio: 4 / 5; }
.brand-detail-badge { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.brand-detail-badge .badge-circle { width: 62px; box-shadow: var(--shadow-sm); }
.brand-detail-badge .eyebrow::before { display: none; }

/* ---------- Brand gallery (lookbook) ---------- */
.brand-gallery .gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
}
.brand-gallery .gallery-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-top: 0.55rem;
}
.brand-gallery .gallery-head p {
  color: var(--ink-2);
  font-size: 0.98rem;
  max-width: 34ch;
}
.masonry {
  column-count: 3;
  column-gap: clamp(0.8rem, 1.6vw, 1.25rem);
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 clamp(0.8rem, 1.6vw, 1.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  cursor: zoom-in;
  position: relative;
}
.masonry figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(60, 42, 90, 0.28));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.masonry figure:hover::after { opacity: 1; }
.masonry figure img {
  width: 100%;
  height: auto;
  transition: transform 0.65s var(--ease);
}
.masonry figure:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .masonry { column-count: 2; } }
@media (max-width: 420px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(38, 26, 58, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.lb-open { overflow: hidden; }
body.lb-open .lightbox { display: flex; }
.lb-img {
  max-width: min(92vw, 1080px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: lb-in 0.32s var(--ease);
}
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.26); }
.lb-close { top: 1.1rem; right: 1.1rem; font-size: 2rem; }
.lb-prev { left: 1.3rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.3rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: 0.6rem; right: 0.6rem; }
}

/* ====================================================
   Page hero (interior pages)
   ==================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, var(--lavender-100), #fff);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 0.8rem; }
.page-hero p { max-width: 56ch; margin: 1.1rem auto 0; color: var(--ink-2); font-size: 1.1rem; }

/* ====================================================
   Split / About teaser
   ==================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-2); }
.checklist .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lavender-200);
  color: var(--purple-deep);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
  margin-top: 1px;
}

/* ====================================================
   CTA band
   ==================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--purple) 0%, var(--lavender) 70%, var(--pink) 130%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.cta-inner::before { width: 240px; height: 240px; top: -90px; right: -60px; }
.cta-inner::after { width: 180px; height: 180px; bottom: -80px; left: -40px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); position: relative; }
.cta-inner p { position: relative; margin: 1rem auto 2rem; max-width: 48ch; color: rgba(255,255,255,0.92); font-size: 1.08rem; }
.cta-inner .hero-cta { justify-content: center; position: relative; }

/* ====================================================
   Contact form + info cards
   ==================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 1.1rem; }
.form-row + .form-row { margin-top: 1.1rem; }
.form-2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.85rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lavender);
  background: #fff;
  box-shadow: 0 0 0 4px var(--lavender-100);
}
.contact-form .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-3); text-align: center; }

.contact-side { display: grid; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .value-icon { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; font-size: 1.3rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.info-card p, .info-card a { color: var(--ink-2); font-size: 0.95rem; }
.info-card a { font-weight: 500; }
.info-card a:hover { color: var(--purple-deep); }

/* ====================================================
   Stat band (About)
   ==================================================== */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.stat-tile strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--purple-deep);
  letter-spacing: -0.02em;
}
.stat-tile span { font-size: 0.9rem; color: var(--ink-2); }

/* ====================================================
   Footer
   ==================================================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-2); font-size: 0.96rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--ink-2); font-size: 0.96rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--purple-deep); }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.25s ease;
}
.footer-socials a:hover { color: var(--purple-deep); border-color: var(--lavender); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--ink-3);
  font-size: 0.86rem;
}
.footer-dots { display: inline-flex; gap: 5px; vertical-align: middle; }
.footer-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ====================================================
   Scroll reveal
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ====================================================
   Responsive
   ==================================================== */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* The hero art is portrait-ish (0.95:1), so at a given hero height it eats far
   more width than the old landscape shot did. Below roughly 1200px there is no
   longer room for the copy beside it and the model starts overlapping the text,
   so stack early rather than letting them collide. Phones are handled again in
   the 860px block below, alongside the nav. */
@media (max-width: 1200px) {
  .hero { display: block; min-height: 0; }
  .hero-photo { position: static; width: 100%; height: auto; object-fit: contain; }
  .hero::after { display: none; }
  .hero-copy { max-width: none; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem clamp(1.15rem, 4vw, 2.5rem) 1.6rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    margin: 0;
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn:not(.nav-toggle) { display: none; }

  .hero { display: block; min-height: 0; }
  .hero-photo { position: static; width: 100%; height: auto; object-fit: contain; }
  .hero::after { display: none; }
  .hero-copy { max-width: none; }
  .hero p.lede { max-width: 48ch; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }

  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-badge { flex-basis: 40%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 2px;
  border-radius: 6px;
}
