/* ============================================================
   Tent-Acles! — design system carried from the brand guide.
   Every object gets a thick ink outline and a hard offset shadow,
   because every piece of the character art is drawn that way.
   Palette sampled from the logo file.
   ============================================================ */
:root {
  color-scheme: light dark;
  --paper:   #FFF9FD;
  --paper-2: #FDEFF8;
  --surface: #FFFFFF;
  --sticker: #FFFFFF;      /* fixed both themes: art has a white ground */
  --ink:     #1A0B2E;
  --ink-soft:#55407C;
  --line:    #1A0B2E;
  --drop:    #1A0B2E;

  --pink:      #FC84D8;
  --pink-hot:  #E8329B;
  --pink-ink:  #B01070;
  --purple:    #7824FC;
  --purple-deep:#3D1080;
  --gold:      #FCC078;
  --gold-ink:  #8A5A12;
  --blue:      #7FC4F5;
  --mint:      #7FD9C0;
  --mint-ink:  #0B6E63;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#150724; --paper-2:#1E0C33; --surface:#261141;
    --ink:#FFEEF9; --ink-soft:#C3A8E8; --line:#07010F; --drop:#000000;
    --pink-hot:#FF8FD4; --pink-ink:#FFB3E2; --purple:#9A5CFF;
    --gold-ink:#FCC078; --mint-ink:#7FD9C0;
  }
}
:root[data-theme="dark"] {
  --paper:#150724; --paper-2:#1E0C33; --surface:#261141;
  --ink:#FFEEF9; --ink-soft:#C3A8E8; --line:#07010F; --drop:#000000;
  --pink-hot:#FF8FD4; --pink-ink:#FFB3E2; --purple:#9A5CFF;
  --gold-ink:#FCC078; --mint-ink:#7FD9C0;
}

* { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Grandstander", "Nunito", sans-serif; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p, ul { margin: 0; }
a { color: var(--pink-ink); }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.hand { font-family: "Caveat", "Segoe Script", cursive; font-weight: 700; }
.eyebrow { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-ink); }
.stick { border: 3px solid var(--line); background: var(--surface); box-shadow: 6px 6px 0 var(--drop); }

/* nav */
.nav { border-bottom: 3px solid var(--line); background: var(--paper); }
.nav-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 13px; }
.mark {
  font-family: "Grandstander", sans-serif; font-weight: 900; font-size: 24px;
  color: var(--pink-hot); -webkit-text-stroke: 1.5px var(--line);
  text-decoration: none; white-space: nowrap;
}
.nav .soon {
  margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* buttons */
.btn {
  display: inline-block; font-family: "Grandstander", sans-serif; font-weight: 800;
  font-size: 16px; padding: 12px 22px; border: 3px solid var(--line); border-radius: 999px;
  background: var(--pink-hot); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--drop); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--drop); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--drop); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

/* hero */
.hero {
  position: relative; overflow: hidden; border-bottom: 3px solid var(--line);
  background:
    radial-gradient(60% 55% at 78% 28%, color-mix(in srgb, var(--pink) 26%, transparent), transparent 70%),
    radial-gradient(50% 50% at 10% 82%, color-mix(in srgb, var(--blue) 24%, transparent), transparent 70%),
    var(--paper);
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding-block: 62px 56px; position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.02; font-weight: 900; margin-block: 14px 18px; }
.hero h1 em { font-style: normal; color: var(--pink-hot); -webkit-text-stroke: 1.5px var(--line); }
.hero-lede { font-size: 18px; max-width: 34em; color: var(--ink-soft); }
.hero-art { padding: 14px; border-radius: 26px; background: var(--sticker); transform: rotate(-1.6deg); }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 14px; }
.hero-cap { display: block; text-align: right; font-size: 19px; color: var(--ink-soft); margin-top: 8px; transform: rotate(-1.6deg); }

.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bub { position: absolute; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--line) 32%, transparent); animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
@media (prefers-reduced-motion: reduce) { .bub { animation: none; } .btn { transition: none; } }

/* signup */
.signup { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; max-width: 520px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; font-family: inherit; font-size: 16px; padding: 12px 16px;
  border: 3px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); box-shadow: 4px 4px 0 var(--drop);
}
.fineprint { font-size: 14px; color: var(--ink-soft); margin-top: 12px; max-width: 44em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* sections */
section { border-bottom: 3px solid var(--line); }
.sec { padding-block: 70px; }
.sec-head { max-width: 40em; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.08; margin-block: 10px 14px; }
.sec-head p { color: var(--ink-soft); font-size: 17.5px; }

/* the kit */
.kit { background: var(--paper-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 22px 20px; border-radius: 18px; }
.stat b {
  display: block; font-family: "Grandstander", sans-serif; font-weight: 900;
  font-size: 34px; line-height: 1.05; color: var(--purple); font-variant-numeric: tabular-nums;
}
.stat span { display: block; font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.stat i { font-style: normal; display: block; font-size: 13px; color: var(--ink-soft); opacity: .85; margin-top: 8px; }

/* pillars */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border: 3px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--surface); box-shadow: 6px 6px 0 var(--drop);
}
.pillar { padding: 24px 22px; border-right: 3px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; margin-bottom: 10px; }
.pillar:nth-child(1) h3 { color: var(--pink-ink); }
.pillar:nth-child(2) h3 { color: var(--purple); }
.pillar:nth-child(3) h3 { color: var(--gold-ink); }
.pillar:nth-child(4) h3 { color: var(--mint-ink); }
.pillar p { font-size: 15.5px; color: var(--ink-soft); }
.sources { font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }

/* crew */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.ch { border-radius: 20px; padding: 14px 14px 18px; display: flex; flex-direction: column; transition: transform .14s ease; }
.ch:nth-child(odd) { transform: rotate(-1.1deg); }
.ch:nth-child(even) { transform: rotate(1deg); }
.ch:hover { transform: rotate(0) translateY(-4px); }
.ch figure {
  margin: 0 0 12px; background: var(--sticker); border: 2px solid var(--line);
  border-radius: 14px; height: 150px; display: grid; place-items: center; overflow: hidden;
}
.ch img { max-width: 92%; max-height: 92%; object-fit: contain; }
.ch .nm { font-size: 25px; line-height: 1.1; color: var(--pink-ink); }
.ch .role { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }

/* closing cta */
.closing { background: var(--paper-2); }
.cta-box {
  padding: 42px 34px; border-radius: 24px; background: var(--pink);
  border: 3px solid var(--line); box-shadow: 8px 8px 0 var(--drop);
  text-align: center; color: #2A0A1D;
}
.cta-box h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-bottom: 10px; }
.cta-box p { color: rgba(42,10,29,.8); max-width: 38em; margin-inline: auto; }
.cta-box .signup { margin-inline: auto; justify-content: center; }
.cta-box .fineprint { color: rgba(42,10,29,.75); text-align: center; margin-inline: auto; }

/* footer */
footer { border-bottom: 0; background: var(--paper); }
.foot-in {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-start; padding-block: 40px 26px; font-size: 14.5px; color: var(--ink-soft);
}
.colophon { border-top: 3px solid var(--line); padding-block: 20px 38px; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 40px; }
  .hero-art { order: -1; max-width: 460px; }
  .hero-cap { text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 3px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .sec { padding-block: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ch, .ch:hover, .ch:nth-child(odd), .ch:nth-child(even) { transform: none; }
}

/* ============================================================
   Shared page chrome for inner pages (shop, contact, policies)
   ============================================================ */
.nav-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--pink-hot); color: var(--pink-ink); }

.page-head { border-bottom: 3px solid var(--line); background: var(--paper); }
.page-head .wrap { padding-block: 46px 38px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; line-height: 1.05; margin-block: 12px 14px; }
.page-head p { font-size: 17.5px; color: var(--ink-soft); max-width: 46em; }

/* long-form copy for policy pages */
.prose { max-width: 68ch; padding-block: 48px 56px; }
.prose h2 { font-size: clamp(21px, 2.8vw, 27px); font-weight: 900; line-height: 1.15; margin-top: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 800; margin-top: 26px; }
.prose p { margin-top: 12px; color: var(--ink-soft); }
.prose ul { margin-top: 12px; padding-left: 1.15em; color: var(--ink-soft); }
.prose li { margin-block: 7px; }
.prose li::marker { color: var(--pink-hot); }
.prose a { font-weight: 700; }
.prose .updated { font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.prose address {
  font-style: normal; margin-top: 12px; padding: 16px 18px; border-radius: 12px;
  border: 3px solid var(--line); background: var(--surface); box-shadow: 4px 4px 0 var(--drop);
  color: var(--ink); font-size: 15.5px; display: inline-block;
}

/* shop */
.goods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.good { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.good .swatch {
  height: 170px; border: 2px solid var(--line); border-radius: 12px; display: grid;
  place-items: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 19px;
  color: #2A1A05; text-align: center; padding: 12px; line-height: 1.25;
}
.good h2 { font-size: 19px; font-weight: 800; }
.good .desc { font-size: 14.5px; color: var(--ink-soft); }
.good .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.good .amt { font-family: "Grandstander", sans-serif; font-weight: 900; font-size: 21px; font-variant-numeric: tabular-nums; }
.good .amt small { font-family: "Nunito", sans-serif; font-weight: 700; font-size: 12px; color: var(--ink-soft); display: block; }

.pending {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
  border: 2px dashed var(--gold-ink); color: var(--gold-ink);
  background: color-mix(in srgb, var(--gold) 20%, transparent); white-space: nowrap;
}

.banner {
  padding: 18px 20px; border-radius: 14px; border: 3px solid var(--line);
  background: color-mix(in srgb, var(--gold) 26%, transparent);
  box-shadow: 5px 5px 0 var(--drop); margin-bottom: 34px; font-size: 15.5px;
}
.banner b { color: var(--gold-ink); }

/* footer link row */
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 14.5px; }
.foot-links a { text-decoration: none; border-bottom: 2px solid transparent; }
.foot-links a:hover { border-bottom-color: var(--pink-ink); }
