/* ---------------------------------------------------------------------------
 * WLNS welcome page — standalone static build of the storefront's
 * "Our story" section. Tokens mirror app/globals.css (brand book v2):
 * white base, black type, pink + light pink + purple chrome.
 * ------------------------------------------------------------------------- */

@font-face {
  font-family: "DynaPuff";
  src: url("fonts/DynaPuff-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --accent: #e8709e;
  --primary: #6e2e74;
  --ink-soft: #656565;
  --accent-soft: #fbe2ec;

  --radius-card: 1.25rem;
  --radius-pill: 999px;

  --font-sans: "Quicksand", system-ui, sans-serif;
  --font-display: "DynaPuff", sans-serif;

  --text-display: clamp(2rem, 1.6rem + 2vw, 3.25rem);
}

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

html { -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 60;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { left: 1rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.5rem;
  background: var(--paper);
  border-bottom: 1px solid rgb(17 17 17 / 0.1);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 4px; }

/* ----------------------------------------------------------------- story */
.story { background: var(--paper); }

.story__wrap {
  max-width: 96rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.story__card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgb(17 17 17 / 0.1);
  border-radius: var(--radius-card);
}

/* Copy panel */
.story__copy {
  position: relative;
  padding: 3rem 1.75rem;
  background: linear-gradient(to bottom right, var(--paper) 0%, var(--paper) 50%, rgb(251 226 236 / 0.7) 100%);
}

.eyebrow {
  font-size: 0.8125rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.eyebrow-bar {
  display: block;
  margin-top: 0.75rem;
  width: 2rem;
  height: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

.display {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: var(--text-display);
  line-height: 1.08;
  text-transform: capitalize;
}
.display em { font-style: italic; color: var(--primary); }

.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 24rem;
  margin-top: 1.75rem;
}
.rule__line { flex: 1; height: 1px; background: rgb(110 46 116 / 0.25); }
.icon--heart { color: var(--accent); }

.story__text {
  display: grid;
  gap: 1.25rem;
  max-width: 28rem;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.story__signoff {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.monogram {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--primary);
}
.signoff__title { font-size: 0.875rem; line-height: 1.375; font-weight: 700; }

/* Portrait stage */
.story__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--accent-soft);
}

.rings {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ring {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgb(110 46 116 / 0.1);
}
.ring--lg { left: -10rem; width: 26rem; height: 26rem; }
.ring--sm { left: -6rem; width: 18rem; height: 18rem; }
.glow {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgb(232 112 158 / 0.2);
  filter: blur(64px);
}

.portrait {
  position: relative;
  flex: 1;
  min-height: 24rem;
}
.portrait picture {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 2rem;
  bottom: 0;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* Badge — hidden until the two-column layout, where it sits at the seam */
.badge { display: none; }

/* Trust card */
.trust {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgb(17 17 17 / 0.12);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.trust__text {
  font-size: 0.875rem;
  line-height: 1.375;
}
.trust__text b { display: block; font-weight: 700; }
.trust__text span { display: block; color: var(--ink-soft); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgb(17 17 17 / 0.1);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ breakpoints */
@media (min-width: 640px) {
  .story__copy { padding-left: 2.5rem; padding-right: 2.5rem; }
  .portrait { min-height: 30rem; }
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }
  .trust li { padding: 1.25rem; }
  .trust li + li { border-left: 1px solid rgb(17 17 17 / 0.1); }
}

@media (min-width: 1024px) {
  .story__wrap { padding: 6rem 3rem; }
  .story__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .story__copy { padding: 5rem 3.5rem; }

  .ring--lg { left: -13rem; width: 34rem; height: 34rem; }
  .ring--sm { left: -8rem; width: 24rem; height: 24rem; }

  .portrait { min-height: 40rem; }
  .portrait picture { left: 1.5rem; right: 1.5rem; bottom: 9rem; }

  .badge {
    display: block;
    position: absolute;
    top: 3rem;
    left: -4rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 20px 44px rgb(110 46 116 / 0.35);
  }
  .badge__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .badge text {
    fill: var(--paper);
    font-family: var(--font-sans);
    font-size: 7.25px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .badge__heart {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--paper);
    stroke-width: 1.5;
  }

  .trust {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    margin: 0;
  }
}

@media (min-width: 1280px) {
  .story__copy { padding-left: 5rem; padding-right: 5rem; }
  .badge { top: 4rem; width: 10rem; height: 10rem; }
  .trust li { padding-left: 1.5rem; padding-right: 1.5rem; }
}
