/* ---------------------------------------------------------------
   Sunny's Party — shared stylesheet for subpages
   Derived from index.html's inline CSS. Same design tokens.
   Radius rule: surfaces 18px, interactive elements full pill.
   Accent rule: plum is the single interactive accent; golden and
   coral are brand surface colors, never competing CTA colors.
---------------------------------------------------------------- */
:root {
  --cream: #fff8ec;
  --cream-deep: #fdefd6;
  --ink: #2b2320;
  --ink-soft: #57493f;
  --golden: #f5b731;
  --golden-soft: #fbe3a8;
  --coral: #e8674c;
  --coral-deep: #b8431f;
  --blush: #f6c7bd;
  --blush-soft: #fbe4de;
  --plum: #5b2a4e;
  --plum-deep: #46203c;
  --radius-card: 18px;
  --shadow-card: 0 10px 30px rgba(91, 42, 78, 0.14);
  --shadow-lift: 0 16px 40px rgba(91, 42, 78, 0.2);
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --ease-pop: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

a { color: var(--plum); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { max-width: 62ch; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--plum);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease-pop);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 35, 32, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.brand .sun { flex: none; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.header-nav a.nav-link:hover { color: var(--coral-deep); }
.header-nav a.nav-link[aria-current="page"] { color: var(--coral-deep); }
@media (max-width: 720px) { .header-nav { gap: 0.9rem; } }
@media (max-width: 560px) {
  .header-nav a.nav-link { display: none; }
}

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--plum);
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-pop);
}
.btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 44px; padding: 0.5rem 1.35rem; font-size: 1rem; }

/* ------------------------------------------------ page hero */
.page-hero { padding: 3.75rem 0 3.25rem; }
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.page-hero h1 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  color: var(--ink);
}
.page-hero h1 em {
  font-style: italic;
  color: var(--plum);
  line-height: 1.1;
  padding-bottom: 0.1em;
}
.page-hero .sub {
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------ sections */
section { padding: 4rem 0; }

.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: var(--ink);
}
.section-head p {
  margin-top: 0.9rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.band-deep { background: var(--cream-deep); }

/* ------------------------------------------------ kiki cards */
.kiki-card {
  width: 215px;
  aspect-ratio: 5 / 7;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fffdf7;
  border: 1.5px solid rgba(43, 35, 32, 0.14);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.kiki-card .cat {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-tea     { background: var(--coral);       color: #fffdf7; }
.cat-costume { background: var(--golden);      color: var(--ink); }
.cat-picture { background: var(--blush);       color: var(--plum-deep); }
.cat-enlight { background: var(--plum);        color: var(--cream); }
.cat-rollback{ background: var(--cream-deep);  color: var(--coral-deep); border: 1.5px solid var(--coral); }
.cat-rating  { background: var(--golden-soft); color: var(--ink); }
.cat-nice    { background: var(--blush-soft);  color: var(--plum-deep); }
.cat-filth   { background: var(--plum-deep);   color: var(--cream); }
.kiki-card .prompt {
  flex: 1;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.kiki-card .mark {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* mini sample cards used inside product cards */
.sample-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sample-row .kiki-card {
  width: 100%;
  aspect-ratio: auto;
  min-height: 190px;
  transition: transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.sample-row .kiki-card:nth-child(odd)  { rotate: -1.2deg; }
.sample-row .kiki-card:nth-child(even) { rotate: 1.4deg; }
.sample-row .kiki-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.sample-row .kiki-card .prompt { font-size: 1.15rem; }
@media (max-width: 640px) {
  .sample-row { grid-template-columns: 1fr; }
  .sample-row .kiki-card { min-height: 150px; }
}

/* ------------------------------------------------ status badges */
.status {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-live { background: var(--golden); color: var(--ink); }
.status-next { background: var(--blush); color: var(--plum-deep); }
.status-coming { background: var(--cream-deep); color: var(--ink-soft); border: 1px solid rgba(43, 35, 32, 0.18); }

/* ------------------------------------------------ product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.product {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem;
  background: #fffdf7;
  border: 1.5px solid rgba(43, 35, 32, 0.1);
  border-radius: var(--radius-card);
}
.product-full { grid-column: 1 / -1; }
.product-featured {
  background: linear-gradient(135deg, var(--golden-soft), rgba(245, 183, 49, 0.35));
  border-color: var(--golden);
}
.product-gentle {
  background: var(--blush-soft);
  border-color: var(--blush);
}
.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.product-head h2, .product-head h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
}
.product > p { color: var(--ink-soft); }
.product-featured > p { color: var(--ink); }
.product-meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--plum);
}
.price-note {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .product { padding: 1.5rem; }
}

/* ------------------------------------------------ what's inside lists */
.inside-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.inside-list li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.8rem 1.1rem;
  background: var(--cream);
  border: 1.5px solid rgba(43, 35, 32, 0.1);
  border-radius: var(--radius-card);
}
.inside-tag {
  flex: none;
  min-width: 5.6rem;
  text-align: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--cream-deep);
  border: 1.5px solid rgba(184, 67, 31, 0.35);
  color: var(--coral-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.inside-list li span:last-child { font-weight: 600; color: var(--ink); }
.inside-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--plum);
}

/* ------------------------------------------------ stats (work page) */
.stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem;
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.stat-card .stat-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--golden);
}
.stat-card p { color: var(--blush-soft); font-size: 1.0625rem; }
.stat-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blush);
}
@media (max-width: 760px) { .stat-band { grid-template-columns: 1fr; } }

/* ------------------------------------------------ CTA band */
.cta { background: var(--cream); }
.cta .panel {
  max-width: 640px;
  margin-inline: auto;
  padding: 3rem clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  background: #fffdf7;
  border: 2px solid var(--golden);
  border-radius: calc(var(--radius-card) * 1.5);
  box-shadow: var(--shadow-card);
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.cta .panel > p {
  margin: 0.9rem auto 2rem;
  color: var(--ink-soft);
  font-size: 1.0925rem;
}

/* ------------------------------------------------ footer */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid rgba(43, 35, 32, 0.1);
  padding: 3rem 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer .col p { font-size: 0.9375rem; color: var(--ink-soft); }
.site-footer .col .brand { margin-bottom: 0.5rem; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--plum);
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--coral-deep); }
.footer-links { display: flex; flex-direction: column; }

/* ------------------------------------------------ motion */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.shown {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-pop);
}

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