/* ============================================================
   We Show Up Anyway — brand stylesheet
   Mobile-first: base rules target phones, then min-width
   media queries progressively enhance for tablet/desktop.
   ============================================================ */

:root {
  color-scheme: light;

  --lavender: #8B72BE;
  --lavender-dark: #6B549C;
  --lavender-tint: #F1ECFA;
  --ivory: #FDFAF4;
  --golden-orange: #E8930A;
  --golden-orange-dark: #C87B06;
  --ink: #3A2E4D;
  --ink-soft: #6B6178;

  --font-heading: "Fredoka One", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --max-width: 1080px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--lavender-dark);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--lavender-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--lavender-dark);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--golden-orange);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 var(--lavender-dark);
}

.btn-primary:hover {
  background: var(--golden-orange-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--lavender-dark);
}

.btn-outline {
  background: transparent;
  color: var(--lavender-dark);
  border: 2px solid var(--lavender-dark);
}

.btn-outline:hover {
  background: var(--lavender-dark);
  color: #fff;
}

/* ---------------- Header / Logo ---------------- */

.site-header {
  padding: 20px 0;
  text-align: center;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark img {
  width: 130px;
  height: auto;
}

/* ---------------- Hero ---------------- */

.hero {
  background: var(--lavender-tint);
  text-align: center;
  padding: 40px 0 64px;
}

.hero .daisy-large {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.hero h1 {
  font-size: 2rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero p.subhead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 28px;
}

/* ---------------- My Story ---------------- */

.story {
  background: var(--ivory);
}

.story .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--lavender);
}

.story-photo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.story h2 {
  font-size: 1.6rem;
}

/* ---------------- Product ---------------- */

.product {
  background: var(--lavender-tint);
}

.product .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.product-cover {
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--lavender-dark);
}

.product-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.product h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25em;
}

.product .price {
  font-family: var(--font-heading);
  color: var(--golden-orange-dark);
  font-size: 1.3rem;
  margin-bottom: 1em;
}

.product .blurb {
  max-width: 46ch;
  color: var(--ink-soft);
}

.product .placeholder-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 12px;
}

/* ---------------- Email Signup ---------------- */

.signup {
  background: var(--ivory);
  text-align: center;
}

.signup .container {
  max-width: 480px;
}

.signup h2 {
  font-size: 1.6rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.signup-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid var(--lavender);
  background: #fff;
  color: var(--ink);
}

.signup-form input[type="email"]:focus-visible {
  outline: 3px solid var(--lavender-dark);
  outline-offset: 2px;
}

.signup-form button {
  width: 100%;
}

.signup .fine-print {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* MailerLite form: functional bits only (visual styling comes from .signup-form above) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ml-form-embedSubmitLoad {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.ml-form-embedSubmitLoad:after {
  content: " ";
  display: block;
  width: 11px;
  height: 11px;
  margin: 1px;
  border-radius: 50%;
  border: 4px solid #fff;
  border-color: #fff #fff #fff transparent;
  animation: ml-form-embedSubmitLoad 1.2s linear infinite;
}

@keyframes ml-form-embedSubmitLoad {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ml-error input {
  border-color: #d33 !important;
}

.ml-form-successContent h4 {
  font-family: var(--font-heading);
  color: var(--lavender-dark);
  font-size: 1.4rem;
  margin-bottom: 0.25em;
}

.ml-form-successContent p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--lavender-dark);
  color: #EFE9F9;
  text-align: center;
  padding: 48px 0 32px;
}

.site-footer .daisy-small {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.social-links a:hover {
  color: var(--golden-orange);
}

.site-footer .copyright {
  font-size: 0.8rem;
  color: #D9CDEF;
  margin: 0;
}

/* ---------------- 90s nostalgia details ---------------- */

/* Friendship-bracelet stripe: candy-stripe texture at the very top of the page */
.bracelet-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--lavender) 0 10px,
    var(--golden-orange) 10px 20px,
    var(--ivory) 20px 30px,
    var(--lavender-dark) 30px 40px
  );
}

/* Scrunchie-squiggle section dividers */
.squiggle {
  width: 100%;
  height: 22px;
  line-height: 0;
}

.squiggle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.squiggle--lavender {
  color: var(--lavender);
}

.squiggle--gold {
  color: var(--golden-orange);
}

/* Mixtape cassette icon, inline with story copy */
.cassette-icon {
  width: 34px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

/* Handwritten sticky-note callouts */
.note-tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lavender-dark);
  background: #fff;
  border: 2px dashed var(--golden-orange);
  border-radius: 8px;
  padding: 4px 16px;
  margin: 16px 0 0;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(58, 46, 77, 0.12);
}

.note-tag--footer {
  background: transparent;
  border-color: var(--golden-orange);
  color: #fff;
  transform: rotate(2deg);
}

/* ---------------- Tablet + up ---------------- */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p.subhead {
    font-size: 1.2rem;
  }

  section {
    padding: 88px 0;
  }
}

/* ---------------- Desktop + up ---------------- */

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .story .container {
    flex-direction: row;
    align-items: center;
  }

  .story .story-photo,
  .story .story-text {
    flex: 1;
  }

  .story .story-text h2 {
    font-size: 2rem;
  }

  .product .container {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 48px;
  }

  .product .product-cover {
    flex-shrink: 0;
  }

  .product .blurb {
    margin-left: 0;
    margin-right: 0;
  }

  .signup-form {
    flex-direction: row;
  }

  .signup-form input[type="email"] {
    flex: 1;
  }

  .signup-form button {
    width: auto;
  }

  /* MailerLite nests the input/button one level deeper than a plain form —
     these two rules make that wrapper row behave the same as the rule above. */
  .signup-form .ml-form-formContent {
    flex: 1;
  }

  .signup-form .ml-form-embedSubmit {
    flex-shrink: 0;
  }
}
