:root{
  --black:#0B0B0D;
  --white:#FFFFFF;
  --paper:#F5F5F7;
  --pearl:#F6EEF3;
  --orchid:#D000E0;
  --magenta:#E14BE8;
  --violet:#3B0A57;
  --muted:#6E6E77;

  --max: 1120px;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(0,0,0,.16);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--black);
  background: var(--pearl);
  line-height:1.55;
}

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

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }
.section{ padding: clamp(42px, 7vw, 86px) 0; }
.section.tight{ padding: 34px 0; }

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(208,0,224,.08);
  color:var(--violet);
  font-weight:600;
  letter-spacing:.2px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background: var(--pearl);
  box-shadow: var(--shadow-soft);
  font-weight:700;
  letter-spacing:.2px;
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn.primary{
  background: linear-gradient(135deg, var(--orchid), var(--magenta));
  color:var(--white);
  border:0;
}
.btn.ghost{ background: transparent; box-shadow:none; }
.btn.small{ padding:10px 14px; font-weight:700; }

.hr{ height:1px; background: rgba(0,0,0,.08); }

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 180px;
}
.brand img{ height:34px; width:auto; }
.brand .brand-text{ font-weight:900; letter-spacing:.3px; }
.nav{
  display:flex; align-items:center; gap:18px;
  font-weight:650;
}
.nav a{ padding:10px 6px; border-radius:10px; }
.nav a.active{ background: rgba(208,0,224,.08); color: var(--violet); text-decoration:none; }

.menu-toggle{ display:none; }
@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .nav{ display:none; position:absolute; left:0; right:0; top:64px; background:rgba(255,255,255,.96); border-bottom:1px solid rgba(0,0,0,.06); padding: 12px 20px; flex-direction:column; align-items:flex-start; }
  .nav.open{ display:flex; }
  .brand{ min-width: auto; }
}

.hero{
  padding: clamp(56px, 9vw, 110px) 0 48px;
  background:
    radial-gradient(1000px 520px at 15% 15%, rgba(208,0,224,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 25%, rgba(59,10,87,.10), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--white));
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(22px, 4vw, 52px);
  align-items:center;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.hero-card{
  background: rgba(255,255,255,.82);
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}
.hero-logo{
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
}
.hero-logo img{ width:min(440px, 100%); height:auto; }
.hero-tagline{
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  margin-top: -2px;
}

.h1{ font-size: clamp(34px, 4.2vw, 56px); line-height:1.05; margin: 14px 0 12px; letter-spacing:-.02em; }
.lede{ font-size: clamp(16px, 1.4vw, 19px); color: rgba(0,0,0,.78); margin: 0 0 18px; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px){ .grid3{ grid-template-columns: 1fr; } }

.card{
  background: var(--pearl);
  border:1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: rgba(0,0,0,.72); }

.kpi{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top: 16px;
}
.kpi .pill{
  border-radius:999px; padding:8px 14px;
  background: rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  font-weight:650;
}

.split{
  display:grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items:center;
}
@media (max-width: 980px){ .split{ grid-template-columns: 1fr; } }

.figure{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}
.figure img{ width:100%; height:auto; display:block; }

.footer{
  background: var(--black);
  color: rgba(255,255,255,.90);
  padding: 44px 0;
}
.footer a{ color: rgba(255,255,255,.90); }
.footer-grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
@media (max-width: 980px){ .footer-grid{ grid-template-columns: 1fr; } }

.small{ font-size: 13px; color: rgba(255,255,255,.72); line-height:1.6; }
.footer .btn{
  box-shadow:none;
  border-color: rgba(255,255,255,.22);
  background: transparent;
  color: rgba(255,255,255,.92);
}
.footer .btn:hover{ text-decoration:none; background: rgba(255,255,255,.08); }

.video-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px){ .video-grid{ grid-template-columns: 1fr; } }

.video-card{ padding:0; overflow:hidden; }
.video-thumb{ aspect-ratio: 16/9; background: #111; }
.video-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.video-body{ padding: 14px 16px 16px; }
.video-meta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.chip{ font-size: 12px; padding: 6px 10px; border-radius:999px; background: rgba(208,0,224,.08); color: var(--violet); font-weight:700; }

.filters{ display:flex; gap:10px; flex-wrap:wrap; margin: 16px 0 18px; }
select, input[type="search"]{
  padding: 12px 14px;
  border-radius: 12px;
  border:1px solid rgba(0,0,0,.12);
  background: var(--pearl);
  min-width: 220px;
}

.modal-overlay{ position:fixed; inset:0; background: rgba(0,0,0,.65); display:none; align-items:center; justify-content:center; padding: 20px; z-index: 999; }
.modal-overlay.open{ display:flex; }
.modal{
  width: min(980px, 100%);
  background: var(--pearl);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}
.modal-top{ display:flex; justify-content:space-between; align-items:center; padding: 12px 14px; border-bottom:1px solid rgba(0,0,0,.08); }
.modal-title{ font-weight:900; }
.modal-close{ border:0; background:transparent; font-size: 20px; cursor:pointer; padding: 8px 10px; border-radius: 10px; }
.modal-close:hover{ background: rgba(0,0,0,.06); }
.modal-content{ padding: 0; }
.embed{ position:relative; width:100%; aspect-ratio: 16/9; background:#000; }
.embed iframe, .embed video{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.notice{
  background: rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 16px;
}


/* KaelaPeau homepage updates */
.hero-image{
  max-width:520px;
  width:min(520px, 92%);
  height:auto;
  display:block;
  margin:0 auto 18px;
  border-radius:18px;
}

/* Header CTA buttons (desktop) */
.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

@media (max-width: 900px){
  .header-actions{ display:none; }
}


/* Brand: wordmark only (Option A) */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-wordmark{
  height:34px;
  width:auto;
  display:block;
}

/* Header polish to match mockup */
.header{
  background: rgba(246, 238, 243, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:14px;
}
.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:auto;
}
.menu-toggle{ margin-left: 10px; }

/* Hero: soft orchid blur with warm pearl overlay */
.hero.hero--orchid{
  position:relative;
  overflow:hidden;
  padding: 56px 0 44px;
  background-image: url("../images/orchid_blur.jpg");
  background-size: cover;
  background-position: center;
}
.hero.hero--orchid::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(246,238,243,.78);
}
.hero-inner{
  position:relative;
  text-align:center;
}
.hero-image--large{
  max-width: 560px;
  width: min(560px, 92%);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
  margin-bottom: 18px;
}
.hero-title{
  margin: 10px 0 10px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(40px, 4vw, 64px);
}
.lede{
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 880px;
  margin: 0 auto;
  color: rgba(0,0,0,.72);
}

/* Ensure header buttons remain readable */
.btn{ color: var(--black); }
.btn.small{ padding: 10px 14px; border-radius: 12px; }
.btn.ghost{ background: rgba(255,255,255,.55); }
