/* ==========================================================================
   Will & Della · brand styles
   Palette and type from the brand board. Headlines: Recoleta (licensed) with
   Fraunces as the free fallback. Body & accents: Quicksand.
   ========================================================================== */

:root {
  --ivory: #F9F6EF;
  --blush: #EAD6D1;
  --rose: #C9A7A1;
  --sage: #A7B29F;
  --taupe: #D6C6B9;
  --cocoa: #68574E;
  --cocoa-deep: #4F413A;
  --white: #FFFDFA;
  --muted: #7A6A60;

  --bg: var(--ivory);
  --text: var(--cocoa);

  --font-display: "Recoleta", "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Quicksand", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --radius: 24px;
  --shadow: 0 12px 32px rgba(104, 87, 78, 0.10);
  --container: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: var(--cocoa);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 4.6vw + 1rem, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 2.2vw + 1rem, 2.75rem); }
h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
h1 em, h2 em { font-style: italic; color: var(--rose); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 34em;
  color: var(--muted);
}
.est {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}

.visually-hidden {
  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; left: 1rem; top: -4rem;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--cocoa); color: var(--ivory);
  font-weight: 700; z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Wordmark
   -------------------------------------------------------------------------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--cocoa);
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.wordmark__name .amp {
  color: var(--rose);
  font-weight: 500;
  margin-inline: 0.05em;
}
.wordmark__sub {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons & forms
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.button--primary { background: var(--cocoa); color: var(--ivory); }
.button--primary:hover { background: var(--cocoa-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.button--outline { background: transparent; color: var(--cocoa); border-color: var(--cocoa); }
.button--outline:hover { background: var(--cocoa); color: var(--ivory); }
.button--small { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid rgba(167, 178, 159, 0.7);
  outline-offset: 3px;
}
.button:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

.signup { margin-top: 1.75rem; max-width: 520px; }
.signup__row { display: flex; gap: 0.6rem; }
.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--taupe);
  background: var(--white);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.18s ease;
}
.signup input[type="email"]::placeholder { color: #A89A90; }
.signup input[type="email"]:focus { border-color: var(--sage); }
.signup__note, .signup__status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.signup__status:empty { display: none; }
.signup.is-done .signup__status { color: var(--cocoa); font-weight: 700; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
@media (max-width: 480px) {
  .signup__row { flex-direction: column; }
  .signup .button { width: 100%; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 246, 239, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 198, 185, 0.55);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.site-nav { display: none; gap: 2rem; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease;
}
.site-nav a:hover { border-color: var(--rose); }
@media (min-width: 760px) { .site-nav { display: flex; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2rem, 6vw, 5rem); }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}
.hero__copy { max-width: 36rem; }
.hero__art {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.hero__blob {
  position: absolute;
  inset: 10% 6% 6% 6%;
  background: var(--blush);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
}
.hero__blob::after {
  content: "";
  position: absolute;
  inset: 12% 10% 8% 10%;
  background: rgba(255, 253, 250, 0.35);
  border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%;
}
.mascot { position: absolute; bottom: 12%; height: auto; }
.mascot--monkey { left: 13%; width: 40%; }
.mascot--bunny { right: 12%; width: 36%; }
.sprig { position: absolute; bottom: 8%; width: 13%; height: auto; }
.sprig--left { left: 0; }
.sprig--right { right: 0; transform: scaleX(-1); }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero__art { animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a, .card { transition: none; }
}

/* --------------------------------------------------------------------------
   Values band (tissue-paper pattern)
   -------------------------------------------------------------------------- */
.values {
  border-top: 1px solid rgba(214, 198, 185, 0.6);
  border-bottom: 1px solid rgba(214, 198, 185, 0.6);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23A7B29F' fill-opacity='0.28'%3E%3Cpath d='M28 60c0-16 8-28 24-34-2 16-10 28-24 34z'/%3E%3Cpath d='M110 132c0-16 8-28 24-34-2 16-10 28-24 34z'/%3E%3Cpath d='M112 48c0-16-8-28-24-34 2 16 10 28 24 34z'/%3E%3Cpath d='M46 128c0-16-8-28-24-34 2 16 10 28 24 34z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
  padding-block: 2.75rem;
}
.values__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
  text-align: center;
}
@media (min-width: 760px) { .values__list { grid-template-columns: repeat(4, 1fr); } }
.values__word {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--cocoa);
  margin-bottom: 0.25rem;
}
.values__line {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 16em;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */
.story { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.story__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .story__inner { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
}
.story__art { display: flex; justify-content: center; }
.monogram { width: min(70%, 280px); }
.monogram__text { font-family: var(--font-display); font-weight: 600; }
.story__copy p { max-width: 36em; }
.story__copy .est { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   What's coming
   -------------------------------------------------------------------------- */
.coming { padding-block: clamp(1rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--white);
  border: 1px solid rgba(214, 198, 185, 0.7);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(167, 178, 159, 0.22);
  color: var(--cocoa);
}
.card__icon svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   Join (scalloped blush band)
   -------------------------------------------------------------------------- */
.join {
  position: relative;
  background: var(--blush);
  padding-block: calc(clamp(3.5rem, 8vw, 6rem) + 18px) clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.join::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 18px;
  background-image: radial-gradient(circle at 50% 0, var(--ivory) 0 15px, transparent 16px);
  background-size: 34px 18px;
  background-repeat: repeat-x;
}
.join__inner { display: flex; flex-direction: column; align-items: center; }
.join .lede { color: var(--cocoa); opacity: 0.85; }
.join .eyebrow { color: var(--cocoa); opacity: 0.75; }
.signup--center { width: 100%; }
.signup--center .signup__row { justify-content: center; }
.signup--center input[type="email"] { max-width: 340px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding-block: clamp(3.5rem, 8vw, 6.5rem); text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .lede { margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: rgba(214, 198, 185, 0.32);
  border-top: 1px solid rgba(214, 198, 185, 0.7);
  padding-block: 2.75rem 2.25rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 760px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
  .site-footer__brand { align-items: flex-start; }
}
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.site-footer__tag { margin: 0; font-size: 0.9rem; color: var(--muted); }
.site-footer__meta { font-size: 0.85rem; color: var(--muted); }
.site-footer__meta p { margin: 0.35rem 0 0; }
.site-footer__link { font-weight: 700; color: var(--cocoa); text-decoration: none; border-bottom: 2px solid var(--rose); }
.site-footer__link:hover { border-color: var(--cocoa); }
