/* Shared styles for KissUX article pages */
:root{
  --bg: #faf3ea;
  --bg-warm: #f3e7d4;
  --bg-deep: #1a1320;
  --ink: #1d141a;
  --ink-soft: #4d3d48;
  --ink-mute: #6b5a67;
  --line: #ead9c5;
  --pink: #ff3b9a;
  --pink-soft: #ffb0d6;
  --purple: #9b6bff;
  --purple-deep: #6b3bd9;
  --cream: #fffaf2;
  --brand-grad: linear-gradient(95deg, #ff3b9a 0%, #d44dc4 45%, #9b6bff 100%);
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
}
*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; overflow-x: hidden; }
body{
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }

.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link{
  position: absolute; top: -200px; left: 16px;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: 12px;
  font-weight: 600; font-size: 14px;
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus{ top: 16px; outline: 3px solid var(--pink); outline-offset: 2px; }
:where(a, button, [tabindex]):focus-visible{
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap{ max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow{ max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* Nav */
/* Reading progress bar */
.read-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-grad);
  z-index: 100;
  transition: width 80ms linear;
  pointer-events: none;
}

.nav{
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 35%, transparent);
}
.nav-inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px 32px;
  max-width: 1240px; margin: 0 auto;
}
.logo{ display:flex; align-items:center; }
.logo img{ height: 40px; width: auto; }
.nav-links{ display:flex; align-items:center; gap: 8px; }
.nav-link{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  padding: 11px 16px;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-link:hover{ color: var(--ink); }
.nav-cta{
  font-weight: 500;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover{ background: #2a1f28; transform: translateY(-1px); }

/* Article header */
.post-head{
  padding: 72px 0 48px;
  position: relative;
}
.post-head::before{
  content:"";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 50%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,59,154,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.post-head .wrap-narrow{ position: relative; z-index: 1; }
.crumb{
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.crumb a:hover{ color: var(--ink); }
.post-meta{
  display:flex; align-items:center; gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 20px;
}
.news-cat{
  background: color-mix(in srgb, var(--pink) 12%, transparent);
  color: var(--purple-deep);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
h1.post-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
h1.post-title em{
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.post-lede{
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Hero image block */
.post-hero{
  margin: 48px 0 56px;
}
.post-hero .wrap-narrow{ padding: 0; max-width: 1080px; }
.hero-card{
  aspect-ratio: 16/8;
  border-radius: 28px;
  background: var(--thumb, linear-gradient(135deg, #ff7eb9, #b58aff));
  display:grid; place-items:center;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding: 48px;
  text-align: center;
  box-shadow: 0 30px 70px -40px rgba(80, 30, 60, 0.4);
}

/* Article body */
.post-body{ padding: 8px 0 80px; }
.post-body .wrap-narrow{ max-width: 720px; }
.post-body p{
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
}
.post-body p.lead{
  font-size: 20px;
  color: var(--ink);
}
.post-body h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
}
.post-body h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
}
.post-body ul, .post-body ol{
  padding-left: 22px;
  margin: 0 0 22px;
}
.post-body li{
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.65;
}
.post-body blockquote{
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid;
  border-image: var(--brand-grad) 1;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  background: color-mix(in srgb, var(--pink) 4%, transparent);
  border-radius: 0 14px 14px 0;
}
.post-figure{
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(40, 20, 40, 0.22), 0 4px 16px -4px rgba(40, 20, 40, 0.10);
}
.post-figure img{
  width: 100%;
  height: auto;
  display: block;
}

.post-body .pull{
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 32px 0;
  margin: 32px 0;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.post-body hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
.post-body a{
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  border-bottom: 1px solid color-mix(in srgb, var(--pink) 30%, transparent);
  padding-bottom: 1px;
}

/* Share / Author */
.byline{
  display:flex; align-items:center; gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0 32px;
}
.byline .av{
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-grad);
  color: var(--cream);
  display:grid; place-items:center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  flex: 0 0 48px;
}
.byline .info{ flex: 1; }
.byline .name{ font-weight: 600; color: var(--ink); font-size: 15px; }
.byline .role{ font-size: 13px; color: var(--ink-soft); }

/* Related */
.related{
  background: color-mix(in srgb, var(--bg-warm) 45%, var(--bg));
  border-top: 1px solid var(--line);
  padding: 88px 0 96px;
}
.related h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
}
.related-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card{
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display:flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(80, 30, 60, 0.28);
}
.article-thumb{
  aspect-ratio: 16/10;
  background: var(--thumb, linear-gradient(135deg, #ffd2e3, #d8c5ff));
  display:grid; place-items:center;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  padding: 24px;
}
.article-body{
  padding: 24px 28px 28px;
  display:flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.article-body .meta{
  display:flex; align-items:center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.article-body h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.article-body .read{
  margin-top: auto;
  display:inline-flex; align-items:center; gap: 6px;
  font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.article-body .read::after{
  content: "→";
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Footer */
footer{
  background: var(--bg);
  color: var(--ink-mute);
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
footer .wrap{
  display:flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
footer .logo img{ height: 40px; }
footer small{ font-size: 14px; letter-spacing: 0.04em; }
.footer-li{ color: var(--ink-mute); display:flex; align-items:center; transition: color .2s; }
.footer-li:hover{ color: var(--ink); }
.footer-privacy{ font-size: 14px; color: var(--ink-mute); transition: color .2s; }
.footer-privacy:hover{ color: var(--ink); }

/* Team member bios */
.team-grid{
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0;
}
.team-member{
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  background: color-mix(in srgb, var(--bg-warm) 40%, var(--cream));
  border: 1px solid var(--line);
  border-radius: 20px;
}
.team-av{
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-grad);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex: 0 0 56px;
}
.team-info{ flex: 1; }
.team-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 3px;
}
.team-role{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.team-bio{
  font-size: 15.5px !important;
  line-height: 1.6 !important;
  color: var(--ink-soft) !important;
  margin: 0 !important;
}

/* Support / endorsement list */
.support-list{
  list-style: none;
  padding: 0; margin: 16px 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.support-list li{
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.5;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--pink) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--pink) 14%, transparent);
  border-radius: 12px;
}
.support-list li::before{
  content: "›";
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  flex: 0 0 14px;
  line-height: 1.4;
}

@media (max-width: 960px){
  .related-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .wrap, .wrap-narrow{ padding: 0 16px; }
  .post-head{ padding: 60px 0 24px; }
  .hero-card{ padding: 24px; }
  .post-body blockquote{ padding: 16px 18px; }
  .team-member{ flex-direction: column; gap: 16px; padding: 20px 16px; }
  .related-grid{ grid-template-columns: 1fr; }
  footer .wrap{ flex-direction: column; text-align: center; gap: 12px; }
}

/* ---------- Burger & mobile menu ---------- */
.burger{
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.burger .bar{
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease;
}
.burger.open .bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open .bar:nth-child(2){ opacity: 0; transform: scaleX(0); }
.burger.open .bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 96px 32px 48px;
  text-align: center;
}
.mobile-menu.is-open{ display: flex; }
.mobile-nav-link{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 52px);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: opacity .2s ease;
}
.mobile-nav-link:hover{ opacity: 0.55; }
.mobile-nav-cta{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  transition: background .2s ease;
}
.mobile-nav-cta .arrow{
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-grad);
  color: var(--cream);
  display:grid; place-items:center; font-size: 13px;
}
.mobile-nav-cta:hover{ background: #2a1f28; }

@media (max-width: 768px){
  .nav-links{ display: none; }
  .burger{ display: flex; }
}
