/* assets/css/stylists.css (MOBILE-FIRST UPGRADE) */
/* Nav + Footer are intentionally NOT styled here. */

:root{
  --kc-font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --kc-ink: #0b1220;
  --kc-muted: rgba(11,18,32,.72);

  --kc-aqua: #2bc4e3;
  --kc-pink: #ff2d55;
  --kc-yellow:#ffd66b;
  --kc-purple:#7c5cff;

  --kc-line: rgba(11,18,32,.10);
  --kc-line2: rgba(11,18,32,.08);

  --kc-shadow: 0 18px 60px rgba(11,18,32,.14);
  --kc-shadow2: 0 12px 34px rgba(11,18,32,.10);
  --kc-shadow3: 0 10px 22px rgba(11,18,32,.08);

  --kc-radius: 22px;
  --kc-radius2: 30px;

  --kc-pad: 16px;            /* mobile */
  --kc-wrap: 1120px;

  --kc-glass: rgba(255,255,255,.72);
  --kc-glass2: rgba(255,255,255,.62);
  --kc-glass3: rgba(255,255,255,.80);
}

*{ box-sizing:border-box; }
html{ overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--kc-font);
  color:var(--kc-ink);
  background:#fff7ed;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.kc-main{
  isolation:isolate;
  overflow-x:clip;
}

/* -----------------------------
   Buttons (kept, refined)
------------------------------ */
.kc-btn{
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:-0.02em;
  border:1px solid rgba(11,18,32,.10);
  box-shadow:0 12px 28px rgba(11,18,32,.10);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.kc-btn:focus-visible{
  outline:3px solid rgba(43,196,227,.35);
  outline-offset:3px;
}

.kc-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 52px rgba(11,18,32,.14);
}

.kc-btn:active{
  transform:translateY(0);
  filter:saturate(110%);
}

.kc-btn--primary{
  color:#0b1220;
  border:1px solid rgba(255,255,255,.58);
  background:
    radial-gradient(140px 140px at 14% 50%, rgba(255,255,255,.38), transparent 62%),
    linear-gradient(90deg, rgba(43,196,227,1) 0%, rgba(255,45,85,1) 100%);
}

.kc-btn__bubble{
  width:40px;
  height:40px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:0 10px 22px rgba(11,18,32,.10);
  font-weight:900;
  flex:0 0 auto;
}

.kc-btn--soft{
  color:var(--kc-ink);
  background:rgba(255,255,255,.78);
  border:1px solid rgba(11,18,32,.10);
  box-shadow:0 12px 26px rgba(11,18,32,.08);
}

.kc-btn--wide{ width:100%; }

/* -----------------------------
   Hero (premium typography + depth)
------------------------------ */
.kc-stylistsHero{
  width:100%;
  padding:34px 0 26px;
  border-bottom:1px solid var(--kc-line);

  background:
    radial-gradient(1000px 520px at 10% 0%, rgba(255,214,107,.36), transparent 60%),
    radial-gradient(900px 520px at 10% 100%, rgba(43,196,227,.18), transparent 62%),
    radial-gradient(900px 520px at 95% 20%, rgba(124,92,255,.16), transparent 64%),
    radial-gradient(900px 520px at 95% 95%, rgba(255,45,85,.10), transparent 64%),
    linear-gradient(180deg, rgba(255,247,237,1), rgba(255,247,237,.90));
  position:relative;
}

.kc-stylistsHero::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height:260px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.72), transparent 70%),
    radial-gradient(closest-side, rgba(43,196,227,.18), transparent 72%);
  filter:blur(2px);
  opacity:.55;
  pointer-events:none;
}

.kc-stylistsHero__inner{
  width:min(var(--kc-wrap), calc(100% - (var(--kc-pad) * 2)));
  margin:0 auto;
  text-align:center;
  display:grid;
  justify-items:center;
  gap:12px;
  position:relative;
}

.kc-stylistsHero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(11,18,32,.08);
  box-shadow:0 14px 34px rgba(11,18,32,.10);
  font-weight:900;
  color:rgba(11,18,32,.88);
}

.kc-stylistsHero__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--kc-aqua);
  box-shadow:0 0 0 4px rgba(43,196,227,.14);
}

.kc-stylistsHero__title{
  margin:0;
  font-weight:950;
  letter-spacing:-0.06em;
  line-height:1.02;
  font-size:clamp(34px, 8.6vw, 62px);
  max-width:18ch;
  position:relative;
}

.kc-stylistsHero__title::after{
  content:"";
  display:block;
  width:min(220px, 62vw);
  height:10px;
  margin:12px auto 0;
  border-radius:999px;
  background:
    linear-gradient(90deg, rgba(43,196,227,.55), rgba(255,45,85,.55));
  filter:blur(.2px);
  opacity:.65;
}

.kc-stylistsHero__lead{
  margin:0;
  max-width:44ch;
  color:rgba(11,18,32,.82);
  font-weight:750;
  letter-spacing:-0.02em;
  font-size:clamp(15px, 3.7vw, 18px);
  line-height:1.55;
}

.kc-stylistsHero__sub{
  margin:0;
  max-width:60ch;
  color:var(--kc-muted);
  font-size:15px;
  line-height:1.85;
  background:rgba(255,255,255,.46);
  border:1px solid rgba(11,18,32,.06);
  border-radius:18px;
  padding:14px 14px;
  box-shadow:0 10px 26px rgba(11,18,32,.06);
}

.kc-stylistsHero__ctaRow{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}

@media (max-width: 380px){
  .kc-btn{
    width:100%;
    justify-content:space-between;
  }
  .kc-stylistsHero__ctaRow{ gap:8px; }
}

/* -----------------------------
   Section Head (stronger hierarchy)
------------------------------ */
.kc-stylistsSection{
  width:100%;
  padding:22px 0 10px;
  background:#fff7ed;
}

.kc-stylistsSection__inner{
  width:min(var(--kc-wrap), calc(100% - (var(--kc-pad) * 2)));
  margin:0 auto;
  display:grid;
  gap:14px;
}

.kc-sectionHead{
  text-align:center;
  display:grid;
  gap:10px;
  padding:6px 0 8px;
}

.kc-sectionHead__title{
  margin:0;
  font-weight:950;
  letter-spacing:-0.05em;
  line-height:1.08;
  font-size:clamp(24px, 6.2vw, 44px);
}

.kc-sectionHead__text{
  margin:0;
  color:var(--kc-muted);
  line-height:1.85;
  max-width:64ch;
  margin-left:auto;
  margin-right:auto;
  font-size:15px;
}

/* -----------------------------
   Stylists area (no more "blank box")
   Your stylists.js can inject markup into #kcStylistsEmbed.
   This CSS supports:
   - .kc-teamGrid, .kc-teamCard, .kc-teamMeta, etc.
------------------------------ */
.kc-stylistsEmbed{
  width:100%;
  border-radius:var(--kc-radius2);
  background:
    radial-gradient(900px 360px at 10% 0%, rgba(43,196,227,.14), transparent 60%),
    radial-gradient(900px 360px at 100% 100%, rgba(255,45,85,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.60));
  border:1px solid rgba(11,18,32,.08);
  box-shadow:var(--kc-shadow2);
  padding:14px;
  position:relative;
  overflow:hidden;
  min-height:260px;
}

.kc-stylistsEmbed::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 18% 24%, rgba(255,255,255,.50), transparent 70%),
    radial-gradient(closest-side at 82% 74%, rgba(255,255,255,.34), transparent 72%);
  opacity:.7;
  pointer-events:none;
}

.kc-stylistsEmbed:empty{
  display:grid;
  place-items:center;
  text-align:center;
  gap:10px;
}

.kc-stylistsEmbed:empty::after{
  content:"Loading stylists…";
  position:relative;
  z-index:1;
  font-weight:900;
  letter-spacing:-0.02em;
  color:rgba(11,18,32,.70);
  background:rgba(255,255,255,.82);
  border:1px solid rgba(11,18,32,.08);
  border-radius:999px;
  padding:10px 14px;
  box-shadow:0 12px 26px rgba(11,18,32,.08);
}

.kc-teamGrid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.kc-teamCard{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:20px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(11,18,32,.08);
  box-shadow:var(--kc-shadow3);
}

.kc-teamAvatar{
  width:64px;
  height:64px;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(43,196,227,.18), rgba(255,45,85,.10));
  border:1px solid rgba(11,18,32,.08);
}

.kc-teamAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.kc-teamMeta{
  display:grid;
  gap:4px;
}

.kc-teamName{
  margin:0;
  font-weight:950;
  letter-spacing:-0.03em;
  line-height:1.15;
  font-size:16px;
}

.kc-teamRole{
  margin:0;
  color:rgba(11,18,32,.70);
  font-weight:750;
  font-size:13px;
}

.kc-teamBio{
  margin:6px 0 0;
  color:var(--kc-muted);
  line-height:1.75;
  font-size:14px;
}

/* Optional: little “skill chips” if you render them */
.kc-teamChips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.kc-teamChip{
  font-size:12px;
  font-weight:850;
  color:rgba(11,18,32,.78);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(11,18,32,.08);
  border-radius:999px;
  padding:6px 10px;
}

/* -----------------------------
   Closing card
------------------------------ */
.kc-stylistsClosing{
  text-align:center;
  display:grid;
  justify-items:center;
  gap:12px;
  border-radius:var(--kc-radius2);
  background:
    radial-gradient(900px 340px at 10% 10%, rgba(255,214,107,.20), transparent 62%),
    radial-gradient(900px 340px at 100% 90%, rgba(124,92,255,.14), transparent 62%),
    rgba(255,255,255,.78);
  border:1px solid rgba(11,18,32,.08);
  box-shadow:var(--kc-shadow);
  padding:16px;
}

.kc-stylistsClosing__line{
  margin:0;
  max-width:62ch;
  color:var(--kc-muted);
  line-height:1.85;
  font-size:15px;
}

/* -----------------------------
   Gallery wrap spacing
------------------------------ */
.kc-galleryWrap{
  width:100%;
  padding:10px 0 46px;
  background:#fff7ed;
}

.kc-galleryWrap__inner{
  width:min(var(--kc-wrap), calc(100% - (var(--kc-pad) * 2)));
  margin:0 auto;
}

/* -----------------------------
   Responsive refinements
------------------------------ */
@media (min-width: 560px){
  :root{ --kc-pad: 18px; }
  .kc-stylistsHero{ padding:42px 0 30px; }
  .kc-stylistsHero__sub{ padding:16px 16px; }
  .kc-stylistsEmbed{ padding:16px; min-height:280px; }
  .kc-teamGrid{ grid-template-columns:repeat(2, 1fr); }
  .kc-teamCard{ grid-template-columns:72px 1fr; }
  .kc-teamAvatar{ width:72px; height:72px; }
}

@media (min-width: 900px){
  :root{ --kc-pad: 22px; }
  .kc-stylistsHero{ padding:56px 0 38px; }
  .kc-stylistsSection{ padding:28px 0 16px; }
  .kc-stylistsSection__inner{ gap:18px; }
  .kc-stylistsEmbed{ padding:18px; }
  .kc-teamGrid{ grid-template-columns:repeat(3, 1fr); gap:14px; }
  .kc-teamCard{ padding:14px; }
  .kc-sectionHead__text{ font-size:16px; }
}

@media (prefers-reduced-motion: reduce){
  .kc-btn{ transition:none; }
}
