/* KrazzyCreations — 2026-10 redesign ("Violet mono", Plus Jakarta Sans headings, DM Sans body).
   Overrides the shared tokens in styles.css and adds the home page sections.
   Loaded by every krazzycreations.com page after styles.css (and pages.css on inner pages). */
:root {
  --accent: #5B2BB8;
  --accent-hover: #47208F;
  --accent-soft: #E4DBFF;
  --second: #3B1D8A;

  --bg: #FFFFFF;
  --bg-rgb: 255,255,255;
  --surface: #F6F4FB;
  --ink: #17142A;
  --ink-2: #17142A;
  --sub: #5A566E;
  --muted: #5A566E;
  --card: #FFFFFF;
  --line: #E4E0F0;
  --line-2: #E4E0F0;
  --line-3: #E4E0F0;
  --shadow-rgb: 23,20,42;

  --dark: #3B1D8A;
  --dark-ink: #FFFFFF;
  --dark-head: #FFFFFF;
  --dark-sub: #CFC2F2;
  --band-line: rgba(255,255,255,.18);

  --c-bg: #F6F4FB;
  --c-ink: #17142A;
  --c-head: #17142A;
  --c-sub: #5A566E;
  --c-card: #FFFFFF;
  --c-line: #E4E0F0;

  --footer-bg: #3B1D8A;
  --footer-sub: #CFC2F2;
  --footer-dim: #E4DBFF;
  --footer-link: #CFC2F2;

  --f-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --f-mono: 'DM Sans', system-ui, sans-serif;
}

html { scroll-padding-top: 84px; }
h1, h2, h3, p { text-wrap: pretty; }
.noise, .hero__glow, .approach__glow, .contact__spark { display: none; }

/* Type */
.h2, .page-hero__title, .contact__title, .card h3, .pillar h3, .founder__name, .product h3, .prose h2, .prose h3 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em;
}
.page-hero__title { letter-spacing: -.03em; line-height: 1.04; }
.h2 { font-size: clamp(1.9rem,4vw,2.9rem); line-height: 1.08; margin-top: 14px; }
.eyebrow, .card__num, .founder__role, .contact-card__label, .toc__title, .footer__heading, .prose th {
  font-family: var(--f-body); font-weight: 600;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; letter-spacing: .14em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Nav: solid, hairline below */
.nav, .nav.is-scrolled { background: var(--bg); box-shadow: none; border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__inner { max-width: 1140px; padding: 16px var(--gutter); }
.brand__word { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); }
.nav .spark { width: 24px; height: 24px; }
.nav__link { font-family: var(--f-body); font-size: .93rem; font-weight: 500; color: var(--sub); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); }

/* Buttons */
.btn { border-radius: 8px; font-family: var(--f-body); box-shadow: none !important; transform: none !important; }
.btn--primary { background: var(--accent); transition: background .2s; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--nav { background: var(--second); font-size: .9rem; padding: 10px 18px; }
.btn--nav:hover { background: var(--accent); }
.btn--hero, .btn--cta { font-size: 1rem; padding: 15px 26px; }
.btn--ghost { border: 1px solid var(--line); background: transparent; padding: 15px 24px; font-size: 1rem; transition: border-color .2s; }
.btn--ghost:hover { border-color: var(--second); background: transparent; }

/* Cards & shared components */
.container { max-width: 1140px; }
.card { border-radius: 12px; padding: 26px 24px; }
.card.is-settled:hover, .js .card.is-settled:hover, .card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: none; }
.card__top .spark { display: none; }
.card__top::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); }
.card__num { letter-spacing: .06em; }
.card h3 { font-size: 1.18rem; line-height: 1.2; margin: 18px 0 8px; letter-spacing: -.01em; }
.card p { font-size: .95rem; line-height: 1.6; color: var(--sub); }

.founder { background: var(--surface); border-radius: 14px; box-shadow: none; }
.founder__avatar { border-radius: 10px; background: var(--second); box-shadow: none; width: 60px; height: 60px; font-family: var(--f-display); }
.founder__role { letter-spacing: .08em; font-size: .82rem; }
.pill { border-radius: 8px; border: 1px solid var(--line); background: var(--bg); padding: 9px 14px; font-size: .88rem; }

.product { border-radius: 14px; box-shadow: none; background: var(--surface); }

/* Bands */
.approach .eyebrow, .approach .card__num { color: var(--accent-soft); }
.pillar { border-top-color: var(--accent-soft); }
.contact .eyebrow { color: var(--accent); }

/* Footer */
.footer { border-top: 0; }
.footer .brand__word { color: #fff; font-size: 1.08rem; }
.footer .spark { fill: var(--accent-soft); width: 20px; height: 20px; }
.footer__heading { letter-spacing: .14em; font-size: .74rem; }
.footer__links a { font-size: .9rem; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top-color: var(--band-line); font-family: var(--f-body); font-size: .82rem; color: var(--footer-sub); }

/* Inner pages */
.page-hero { padding-top: clamp(64px,10vh,120px); }
.prose .note { border-radius: 12px; background: var(--surface); }
.prose a { color: var(--accent); }

/* ---------- Home page ---------- */
.home-hero { padding: clamp(72px,12vh,150px) var(--gutter) clamp(56px,8vh,96px); }
.home-hero h1 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.6rem,6.4vw,4.8rem); line-height: 1.04; max-width: 19ch; margin: 20px 0 0;
}
.home-hero h1 span { color: var(--accent); }
.home-hero .lede { font-size: clamp(1.05rem,1.6vw,1.25rem); line-height: 1.6; color: var(--sub); max-width: 60ch; margin-top: 24px; }
.home-hero .hero__actions { margin-top: 36px; gap: 12px; animation: none; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(20px,3vw,40px);
  margin-top: clamp(56px,8vh,88px); padding-top: 28px; border-top: 1px solid var(--line);
}
.stats b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.02em; color: var(--second); }
.stats span { display: block; font-size: .95rem; color: var(--sub); margin-top: 6px; }

.band-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px,4vw,64px); align-items: end; }
.section-head > p { font-size: 1.05rem; line-height: 1.6; color: var(--sub); max-width: 52ch; margin: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: clamp(40px,6vh,64px); }
.card__stack { font-size: .8rem; font-weight: 500; color: var(--sub); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px,3vw,32px); margin-top: clamp(40px,6vh,64px); }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .8rem; font-weight: 500; color: var(--sub); }
.step__meta b { font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; margin-top: 14px; }
.step p { font-size: .95rem; line-height: 1.6; color: var(--sub); margin-top: 8px; }

.approach .h2 { max-width: 24ch; }
.pillar h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.pillar p { font-size: 1rem; line-height: 1.6; margin-top: 10px; }
.promises { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px,6vh,56px); padding-top: 24px; border-top: 1px solid var(--band-line); font-size: .95rem; color: var(--dark-sub); }
.promises b { font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); }

.model { border: 1px solid var(--line); border-radius: 12px; padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.model__stage { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.model h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.model p { font-size: .97rem; line-height: 1.6; color: var(--sub); margin: 0; }
.model dl { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: .88rem; }
.model dl div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.model dt { color: var(--sub); }
.model dd { margin: 0; font-weight: 600; }

.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px,3vw,40px); }
.stack h3 { font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.stack p { font-size: .95rem; line-height: 1.7; margin-top: 8px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px,5vw,80px); align-items: start; }
.split .copy p { font-size: 1.05rem; line-height: 1.65; color: var(--sub); margin-top: 16px; }
.split .copy .h2 + p { margin-top: 22px; }
.split .copy p a { font-weight: 600; color: var(--accent); border-bottom: 1px solid currentColor; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-body); font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: .97rem; line-height: 1.65; color: var(--sub); padding: 0 32px 20px 0; margin: 0; }

.contact-list { border-top: 1px solid var(--line); }
.contact-list > * { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: color .2s; }
.contact-list a:hover { color: var(--accent); }
.contact-list span:first-child { font-size: .85rem; color: var(--sub); }
.contact-list span:last-child { word-break: break-word; }
.home-contact .h2 { font-size: clamp(2rem,4.6vw,3.4rem); line-height: 1.06; }

/* Logo (logo kit "7f"): K mark + Outfit wordmark. Colour comes from `color` (violet on light, white on dark). */
.logo { display: flex; align-items: center; gap: 10px; color: var(--accent); line-height: 1; }
.logo__mark { width: 40px; height: 40px; flex: none; display: block; }
.logo__word { display: flex; flex-direction: column; font-family: 'Outfit', var(--f-display); }
.logo__name { font-weight: 600; font-size: 25px; letter-spacing: -.025em; color: var(--accent); }
.logo__sub { font-weight: 500; font-size: 9.4px; letter-spacing: .22em; color: #6B6B70; margin-top: 4px; padding-left: 1px; }
.nav__inner { padding-top: 12px; padding-bottom: 12px; }
.footer .logo { color: #fff; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #CFC2F2; }
@media (max-width: 480px) {
  .logo__mark { width: 34px; height: 34px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 8px; }
}
