/* ============================================================
   GIRLSGUIDE — GLOBAL STYLES
   Palette:
   pink  #EC4C7C
   plum  #3D1F2C
   cream #FBF5EF
   gold  #E8A93B
   ============================================================ */

:root {
  --pink: #EC4C7C;
  --pink-deep: #D63A69;
  --plum: #3D1F2C;
  --cream: #FBF5EF;
  --gold: #E8A93B;
  --line: #E0D8CE;
  --danger: #C0392B;

  --radius: 14px;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body-alt: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: 'Caveat', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--plum);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   WRAPPER
   ============================================================ */

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--plum);
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--plum);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

.mobile-menu-btn {
  display: none !important;
  background: none;
  border: 2px solid var(--pink);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

@media (max-width: 640px) {

  .mobile-menu-btn {
    display: flex !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -260px !important;
    width: 260px !important;
    height: 100vh !important;
    background: var(--plum) !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 80px 24px 24px !important;
    transition: right 0.3s ease !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3) !important;
    z-index: 100 !important;
  }

  .nav-links.open {
    right: 0 !important;
  }

  .nav-links a {
    color: #fff !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 100% !important;
    font-size: 15px !important;
  }
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */

.hero {
  text-align: center;
  padding: 40px 0 32px;
}

.hero .eyebrow {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.15;
}

.hero p {
  font-size: 15px;
  color: var(--plum);
  opacity: 0.75;
  max-width: 420px;
  margin: 0 auto 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  border-radius: 999px;

  padding: 14px 28px;

  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pink-deep);
}

.btn-gold {
  background: var(--gold);
  color: var(--plum);
}

.btn-ghost {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--plum);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ============================================================
   GENERAL CARDS
   ============================================================ */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.card-pink {
  background: var(--pink);
  color: #fff;
  border: none;
}

/* ============================================================
   GENERAL GRID
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.grid .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13px;
  color: var(--plum);
  opacity: 0.85;
}

.grid .item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FORMS
   ============================================================ */

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--plum);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;

  border: 1.5px solid var(--line);
  border-radius: 10px;

  background: #fff;
  color: var(--plum);

  margin-bottom: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--pink);
}

textarea#letter-body {
  min-height: 320px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  resize: vertical;
  border: none;
  padding: 8px 4px;
}

textarea#letter-body:focus {
  outline: none;
  box-shadow: none;
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  margin: -10px 0 14px;
  display: none;
}

.field-error.show {
  display: block;
}

.helper {
  font-size: 13px;
  color: var(--plum);
  opacity: 0.6;
  margin-top: -8px;
  margin-bottom: 16px;
}

/* ============================================================
   DATE CHIPS
   ============================================================ */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  color: var(--plum);
}

.chip.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ============================================================
   LETTER LIST
   ============================================================ */

.letter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  padding: 16px 18px;
  margin-bottom: 12px;
}

.letter-row .meta {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 4px;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: lowercase;
}

.status-sealed {
  background: #F1E9E4;
  color: var(--plum);
}

.status-ready {
  background: var(--gold);
  color: var(--plum);
}

.status-opened {
  background: #EFEFEF;
  color: #777;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  opacity: 0.6;
  font-size: 14px;
}

@media (max-width: 480px) {

  .letter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .letter-row .meta {
    margin-top: 0;
  }

  .status-pill {
    align-self: flex-start;
  }
}

/* ============================================================
   LETTER READING VIEW
   ============================================================ */

.letter-paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  padding: 32px 24px;

  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.9;

  color: var(--plum);
  white-space: pre-wrap;
}

/* ============================================================
   MISC
   ============================================================ */

.center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.mb-24 {
  margin-bottom: 24px;
}

.small {
  font-size: 13px;
  opacity: 0.65;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;

  transform: translateX(-50%);

  background: var(--plum);
  color: #fff;

  padding: 12px 20px;
  border-radius: 10px;

  font-size: 14px;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease;

  z-index: 50;
}

.toast.show {
  opacity: 1;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

body.home {
  font-family: var(--font-body-alt, var(--font));
  background: var(--cream);
}

body.home h1,
body.home h2,
body.home h3,
body.home h4 {
  font-family: var(--font-display, var(--font-serif));
}

body.home .wrap {
  max-width: min(1120px, 94vw);
}

body.home .prose {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HOMEPAGE NAV
   ============================================================ */

body.home .site-nav {
  position: relative;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 24px;

  max-width: 720px;
  margin: 0 auto;
}

body.home .site-nav .brand {
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

body.home .site-nav .brand img {
  width: 30px;
  height: 30px;
}

body.home .site-nav .nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

body.home .site-nav .nav-links a:hover {
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */

.envelope-hero {
  position: relative;
  background: var(--plum);
  overflow: hidden;
  padding-bottom: 50px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(30, 15, 22, 0.72) 0%,
      rgba(61, 31, 44, 0.55) 35%,
      rgba(45, 20, 30, 0.88) 100%
    );

  pointer-events: none;
}

.envelope-hero .wrap {
  position: relative;
  z-index: 1;

  max-width: 640px;

  padding-top: 24px;
  padding-bottom: 0;

  text-align: center;
}

.envelope-hero h1 {
  color: #fff;

  font-size: clamp(36px, 7vw, 72px);
  font-weight: 600;

  line-height: 1.08;
  letter-spacing: -0.01em;

  margin: 0 0 16px;

  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.envelope-hero h1 em {
  font-style: italic;
  color: var(--pink);
}

.envelope-hero p {
  color: rgba(255, 255, 255, 0.9);

  font-size: 15px;

  max-width: 380px;
  margin: 0 auto 24px;

  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   HERO BADGES
   ============================================================ */

.for-girls-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #fff;

  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 999px;

  padding: 5px 12px;
  margin-bottom: 14px;
}

.washi-tag {
  display: inline-block;

  font-family: var(--font-hand, var(--font));
  font-size: 20px;

  color: var(--plum);

  background:
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.9) 0 10px,
      rgba(255, 255, 255, 0.72) 10px 20px
    )
    var(--gold);

  padding: 6px 22px 8px;

  transform: rotate(-3deg);

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);

  margin-bottom: 20px;
}

/* ============================================================
   HERO BUTTONS
   ============================================================ */

.hero-cta-row {
  display: flex;
  gap: 12px;

  justify-content: center;
  flex-wrap: wrap;

  margin-bottom: 40px;
}

.btn-white {
  background: #fff;
  color: var(--pink-deep);
}

.btn-white:hover {
  background: #fff;
  opacity: 0.9;
}

.btn-outline-white {
  background: transparent;
  color: #fff;

  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  border-color: #fff;
}

/* ============================================================
   POSTAL STRIPE
   ============================================================ */

.postal-stripe {
  height: 10px;

  background:
    repeating-linear-gradient(
      -45deg,
      var(--pink) 0 14px,
      var(--cream) 14px 28px
    );
}

/* ============================================================
   BIG QUESTIONS
   ============================================================ */

body.home .big-questions {
  max-width: 760px;

  margin: 0 auto;

  padding: 72px 0 28px;

  text-align: center;
}

body.home .big-questions .intro {
  font-size: 14px;
  opacity: 0.65;

  max-width: 560px;

  margin: 0 auto 30px;

  text-align: center;
}

.question-stack {
  display: flex;
  flex-direction: column;

  gap: 6px;

  align-items: center;

  width: 100%;
  max-width: 680px;

  margin: 0 auto;
}

.question-stack span {
  font-family: var(--font-display);

  font-style: italic;
  font-weight: 500;

  font-size: clamp(20px, 5vw, 40px);

  color: var(--plum);

  text-align: center;

  line-height: 1.25;
}

.question-stack span:nth-child(even) {
  color: var(--pink-deep);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

body.home .section-head {
  text-align: center;

  max-width: 760px;

  margin: 0 auto 28px;
}

body.home .section-head h2 {
  font-size: clamp(24px, 4vw, 40px);

  margin: 10px 0;

  line-height: 1.15;
}

body.home .section-head .prose {
  max-width: 620px;

  margin: 0 auto;

  line-height: 1.7;
}

body.home #guides.section-head {
  margin-bottom: 34px;
}

/* ============================================================
   STATS
   ============================================================ */

body.home .stats-strip {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;

  width: min(680px, 100%);

  margin: 36px auto 76px;
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: var(--font-serif);

  font-size: 26px;

  color: var(--pink-deep);

  display: block;
}

.stat .label {
  font-size: 12px;
  opacity: 0.6;
}

/* ============================================================
   GUIDE GRID
   ============================================================

   IMPORTANT:
   Your current HTML does NOT contain a .stamp-grid wrapper.
   These rules therefore use the guide cards that appear
   immediately after #guides.

   This makes them behave as a 3-column grid on desktop,
   2-column on tablet, and 1-column on small phones.
   ============================================================ */

/* desktop guide area */

body.home #guides.section-head ~ .stamp-card {
  display: inline-flex;

  vertical-align: top;

  width: calc(33.333% - 14px);

  margin-right: 18px;
  margin-bottom: 20px;

  position: relative;

  padding: 22px 16px;

  text-align: center;

  background:
    radial-gradient(
      circle at 10px 0,
      var(--cream) 6px,
      transparent 6.5px
    )
    top left / 20px 14px repeat-x,

    radial-gradient(
      circle at 10px 14px,
      var(--cream) 6px,
      transparent 6.5px
    )
    bottom left / 20px 14px repeat-x,

    #fff;

  border: 1.5px dashed rgba(61, 31, 44, 0.18);

  min-height: 190px;

  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* every third card gets no right margin */

body.home #guides.section-head ~ .stamp-card:nth-of-type(3n) {
  margin-right: 0;
}

/* guide card content */

body.home #guides.section-head ~ .stamp-card h3 {
  font-size: 14px;

  margin: 0 0 6px;

  line-height: 1.35;

  max-width: 230px;
}

body.home #guides.section-head ~ .stamp-card p {
  font-size: 12px;

  opacity: 0.6;

  margin: 0;

  line-height: 1.5;

  max-width: 230px;
}

/* guide seal */

body.home #guides.section-head ~ .stamp-card .mini-seal {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  margin: 0 auto 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  font-family: var(--font-display);

  font-weight: 600;

  font-size: 16px;

  color: #fff;

  background:
    radial-gradient(
      circle at 35% 30%,
      var(--pink) 0%,
      var(--pink-deep) 70%
    );

  box-shadow:
    inset 0 -3px 5px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* live card */

body.home #guides.section-head ~ .stamp-card.live {
  border-style: solid;

  border-color: var(--pink);

  cursor: pointer;
}

body.home #guides.section-head ~ .stamp-card.live:hover {
  transform: translateY(-5px);

  box-shadow:
    0 10px 24px rgba(236, 76, 124, 0.22);
}

body.home #guides.section-head ~ .stamp-card.live .mini-seal {
  background:
    radial-gradient(
      circle at 35% 30%,
      var(--gold) 0%,
      #C98B26 70%
    );
}

/* postmark */

.postmark {
  position: absolute;

  top: -8px;
  right: -6px;

  width: 56px;
  height: 56px;

  border: 2px solid var(--plum);

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: rotate(-14deg);

  font-family: var(--font-hand);

  font-size: 12px;

  color: var(--plum);

  background: var(--cream);

  opacity: 0;
}

body.home #guides.section-head ~ .stamp-card.live .postmark {
  opacity: 1;
}

/* ============================================================
   OPTIONAL .STAMP-GRID SUPPORT
   If you later wrap the cards in <div class="stamp-grid">,
   this will automatically work too.
   ============================================================ */

.stamp-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  width: min(100%, 960px);

  margin: 0 auto 76px;
}

.stamp-grid .stamp-card {
  position: relative;

  min-height: 190px;

  padding: 22px 16px;

  text-align: center;

  background:
    radial-gradient(
      circle at 10px 0,
      var(--cream) 6px,
      transparent 6.5px
    )
    top left / 20px 14px repeat-x,

    radial-gradient(
      circle at 10px 14px,
      var(--cream) 6px,
      transparent 6.5px
    )
    bottom left / 20px 14px repeat-x,

    #fff;

  border: 1.5px dashed rgba(61, 31, 44, 0.18);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.stamp-grid .stamp-card h3 {
  font-size: 14px;

  margin: 0 0 6px;

  max-width: 230px;

  line-height: 1.35;
}

.stamp-grid .stamp-card p {
  font-size: 12px;

  opacity: 0.6;

  margin: 0;

  line-height: 1.5;

  max-width: 230px;
}

.stamp-grid .stamp-card.live {
  border-style: solid;

  border-color: var(--pink);

  cursor: pointer;
}

.stamp-grid .stamp-card.live:hover {
  transform: translateY(-5px);

  box-shadow:
    0 10px 24px rgba(236, 76, 124, 0.22);
}

.stamp-grid .mini-seal {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  margin: 0 auto 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-display);

  font-weight: 600;

  font-size: 16px;

  color: #fff;

  background:
    radial-gradient(
      circle at 35% 30%,
      var(--pink) 0%,
      var(--pink-deep) 70%
    );

  box-shadow:
    inset 0 -3px 5px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.stamp-grid .stamp-card.live .mini-seal {
  background:
    radial-gradient(
      circle at 35% 30%,
      var(--gold) 0%,
      #C98B26 70%
    );
}

.stamp-grid .postmark {
  opacity: 0;
}

.stamp-grid .stamp-card.live .postmark {
  opacity: 1;
}

/* ============================================================
   FOUNDER LETTER
   ============================================================ */

body.home .section-head + .founder-letter {
  width: min(100%, 760px);

  margin: 0 auto 76px;
}

.founder-letter {
  background: #fff;

  border: 1px solid var(--line);

  border-radius: 4px;

  padding: 34px 38px;

  margin: 24px 0;

  box-shadow:
    0 14px 34px rgba(61, 31, 44, 0.1);

  position: relative;
}

.founder-letter .letter-top {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 20px;

  flex-wrap: wrap;
}

.founder-photo {
  width: 64px;
  height: 64px;

  border-radius: 50%;

  flex-shrink: 0;
}

.founder-letter .name {
  font-family: var(--font-display);

  font-size: 18px;

  font-weight: 600;

  margin: 0;
}

.founder-letter .title {
  font-size: 12px;

  opacity: 0.6;

  margin: 2px 0 0;
}

.founder-letter p {
  font-size: 14px;

  line-height: 1.75;

  opacity: 0.85;

  margin: 0 0 14px;
}

.founder-letter blockquote {
  font-family: var(--font-display);

  font-style: italic;

  font-size: 18px;

  color: var(--pink-deep);

  line-height: 1.5;

  margin: 0 0 18px;

  padding-left: 14px;

  border-left: 3px solid var(--pink);
}

body.home .founder-letter blockquote {
  max-width: 650px;

  margin-left: auto;
  margin-right: auto;
}

body.home .founder-letter > p,
body.home .founder-letter details {
  max-width: 650px;

  margin-left: auto;
  margin-right: auto;
}

.founder-sign {
  font-family: var(--font-hand);

  font-size: 28px;

  color: var(--plum);

  margin-top: 8px;
}

/* ============================================================
   FUTURE ME PROCESS
   ============================================================ */

body.home .postal-steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  text-align: center;

  width: min(100%, 760px);

  margin: 0 auto 76px;
}

.postal-step .stamp-icon {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: var(--plum);

  color: #fff;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0 auto 10px;

  font-family: var(--font-display);

  font-size: 15px;
}

.postal-step h4 {
  font-size: 13px;

  margin: 0 0 4px;
}

.postal-step p {
  font-size: 11px;

  opacity: 0.6;

  margin: 0;

  line-height: 1.4;
}

/* ============================================================
   VISION
   ============================================================ */

.vision-section {
  background: var(--plum);

  padding: 48px 0;

  text-align: center;
}

.vision-section .washi-tag {
  background-color: var(--gold);
}

.vision-section .wrap {
  max-width: 900px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.vision-section h2 {
  color: #fff;

  max-width: 720px;

  margin: 12px auto 32px;

  font-size: 24px;

  line-height: 1.25;
}

.vision-list {
  display: flex;

  flex-direction: column;

  gap: 10px;

  width: min(100%, 620px);

  margin: 0 auto;
}

.vision-list span {
  font-family: var(--font-display);

  font-size: clamp(16px, 2.5vw, 22px);

  color: rgba(255, 255, 255, 0.92);
}

.vision-list span strong {
  color: var(--pink);

  font-weight: 600;
}

/* ============================================================
   CLOSING LINE
   ============================================================ */

body.home .closing-line {
  width: min(100%, 760px);

  margin: 0 auto;

  padding: 64px 0 56px;

  text-align: center;
}

body.home .closing-line p {
  max-width: 700px;

  margin: 0 auto;

  font-family: var(--font-display);

  font-style: italic;

  font-size: clamp(18px, 3.4vw, 30px);

  color: var(--plum);
}

/* ============================================================
   SEAL SPLIT / FUTURE ME
   ============================================================ */

.seal-split-section {
  background: var(--pink);

  padding: 48px 0;

  text-align: center;

  overflow: hidden;
}

.seal-split-section .wrap {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.seal-split-section .washi-tag {
  background-color: #fff;
}

.seal-split-wrap {
  position: relative;

  height: 140px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 8px;
}

.seal-half {
  position: absolute;

  width: 110px;
  height: 110px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 34% 30%,
      #fff 0%,
      #F3E4E9 60%,
      #E3C7D0 100%
    );

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 -6px 10px rgba(0, 0, 0, 0.12);

  transition:
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.1s ease;
}

.seal-half.a {
  clip-path: polygon(
    0 0,
    50% 0,
    50% 100%,
    0 100%
  );
}

.seal-half.b {
  clip-path: polygon(
    50% 0,
    100% 0,
    100% 100%,
    50% 100%
  );
}

.seal-split-wrap.in-view .seal-half.a {
  transform:
    translate(-38px, 6px)
    rotate(-22deg);
}

.seal-split-wrap.in-view .seal-half.b {
  transform:
    translate(38px, -6px)
    rotate(22deg);
}

.seal-mark {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  font-family: var(--font-display);

  font-size: 32px;

  font-weight: 600;

  color: var(--pink-deep);
}

.seal-split-section h2 {
  color: #fff;

  max-width: 620px;

  margin: 8px auto 14px;

  font-size: 26px;
}

.seal-split-section p {
  color: rgba(255, 255, 255, 0.85);

  max-width: 520px;

  margin: 0 auto 22px;

  font-size: 14px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.postcard {
  border: 2px solid var(--plum);

  background: #fff;

  padding: 30px 32px;

  margin: 64px auto 20px;

  position: relative;

  text-align: center;

  width: min(100%, 680px);
}

.postcard::before {
  content: '';

  position: absolute;

  top: 14px;
  right: 14px;

  width: 40px;
  height: 40px;

  border: 1.5px dashed rgba(61, 31, 44, 0.3);
}

.postcard h3 {
  font-size: 19px;

  margin: 0 0 6px;
}

.postcard .stamp-label {
  font-family: var(--font-hand);

  font-size: 11px;

  position: absolute;

  top: 24px;
  right: 26px;

  opacity: 0.4;
}

.postcard p {
  font-size: 13px;

  opacity: 0.7;

  margin: 0 auto 16px;

  max-width: 340px;
}

.newsletter-form {
  display: flex;

  gap: 8px;

  max-width: 360px;

  margin: 0 auto;
}

.newsletter-form input {
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  text-align: center;

  padding: 40px 24px 24px;

  border-top: 1px solid var(--line);

  margin-top: 48px;
}

.footer .brand {
  justify-content: center;

  margin-bottom: 8px;
}

.footer p {
  font-size: 13px;

  opacity: 0.55;

  margin: 0;
}

body.home .footer {
  background: var(--plum);

  border-top: none;
}

body.home .footer .brand {
  color: #fff;

  font-family: var(--font-display);
}

body.home .footer p {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;

  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;

  transform: translateY(24px);

  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.in-view > * {
  opacity: 1;

  transform: translateY(0);
}

.reveal-stagger.in-view > *:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger.in-view > *:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.in-view > *:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger.in-view > *:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-stagger.in-view > *:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-stagger.in-view > *:nth-child(6) {
  transition-delay: 0.4s;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */

.img-placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      #fff,
      #fff 10px,
      #F7EFEA 10px,
      #F7EFEA 20px
    );

  border: 1.5px dashed var(--line);

  border-radius: var(--radius);

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 10px;

  color: var(--plum);

  opacity: 0.55;

  font-size: 12px;

  font-weight: 600;

  text-transform: lowercase;
}

.img-placeholder svg {
  width: 34px;
  height: 34px;

  opacity: 0.7;
}

/* ============================================================
   BLOG
   ============================================================ */

body.blog .wrap {
  max-width: min(980px, 94vw);
}

/* ============================================================
   BLOG CATEGORY
   ============================================================ */

body.blog .category-hero {
  padding: 48px 0 42px;
}

body.blog .category-hero .eyebrow {
  display: inline-block;

  background: var(--pink);

  color: #fff;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.06em;

  text-transform: uppercase;

  padding: 6px 14px;

  border-radius: 999px;

  margin-bottom: 16px;
}

body.blog .category-hero h1 {
  margin-bottom: 12px;
}

body.blog .category-hero p {
  max-width: 520px;
}

/* ============================================================
   CATEGORY HEADING
   ============================================================ */

body.blog .category-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 20px;
}

body.blog .category-heading h2 {
  font-family: var(--font-serif);

  font-size: 24px;

  line-height: 1.2;

  margin: 4px 0 0;
}

body.blog .post-count {
  font-size: 12px;

  opacity: 0.55;

  white-space: nowrap;
}

/* ============================================================
   CATEGORY NOTE
   ============================================================ */

body.blog .category-note {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  background: rgba(236, 76, 124, 0.06);

  border: 1px dashed rgba(236, 76, 124, 0.35);

  border-radius: var(--radius);

  padding: 18px;

  margin-top: 20px;
}

body.blog .category-note-icon {
  width: 30px;
  height: 30px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--pink);

  color: #fff;

  font-size: 18px;

  font-weight: 500;
}

body.blog .category-note strong {
  display: block;

  font-size: 13px;

  margin-bottom: 4px;
}

body.blog .category-note p {
  margin: 0;

  font-size: 12px;

  line-height: 1.6;

  opacity: 0.65;
}

/* ============================================================
   CATEGORY PILLS
   ============================================================ */

.category-pills {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin: 8px 0 28px;
}

.category-pill {
  border: 1.5px solid var(--line);

  background: #fff;

  border-radius: 999px;

  padding: 8px 14px;

  font-size: 12.5px;

  font-weight: 600;

  color: var(--plum);

  opacity: 0.75;

  cursor: pointer;
}

.category-pill:hover {
  opacity: 1;

  border-color: var(--pink);
}

.category-pill.active {
  background: var(--plum);

  border-color: var(--plum);

  color: #fff;

  opacity: 1;
}

/* ============================================================
   POST GRID
   ============================================================ */

.post-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 16px;

  margin-bottom: 20px;
}

.post-card {
  display: block;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.post-card.is-live:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 24px rgba(61, 31, 44, 0.1);
}

.post-card.is-soon {
  opacity: 0.6;
}

.post-card .post-card-media {
  height: 130px;
}

.post-card .post-card-body {
  padding: 18px;
}

.post-card .post-category {
  display: inline-block;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.03em;

  text-transform: uppercase;

  color: var(--pink-deep);

  margin-bottom: 8px;
}

.post-card h3 {
  font-family: var(--font-serif);

  font-size: 18px;

  margin: 0 0 8px;

  line-height: 1.3;
}

.post-card p {
  font-size: 13px;

  opacity: 0.7;

  margin: 0 0 10px;

  line-height: 1.6;
}

.post-card .post-meta {
  font-size: 12px;

  opacity: 0.55;
}

/* ============================================================
   POST LAYOUT
   ============================================================ */

.post-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr) 280px;

  gap: 40px;

  align-items: start;
}

.post-article .post-category {
  display: inline-block;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.03em;

  text-transform: uppercase;

  color: var(--pink-deep);

  margin-bottom: 14px;
}

.post-article h1 {
  font-family: var(--font-serif);

  font-size: clamp(26px, 5vw, 38px);

  line-height: 1.2;

  margin: 0 0 14px;
}

.post-article .post-byline {
  font-size: 13px;

  opacity: 0.6;

  margin-bottom: 24px;
}

.post-article .post-body {
  font-size: 15.5px;

  line-height: 1.85;

  color: var(--plum);
}

.post-article .post-body p {
  margin: 0 0 20px;
}

.post-article .post-body h2 {
  font-family: var(--font-serif);

  font-size: 21px;

  margin: 30px 0 12px;
}

.post-article .post-body blockquote {
  font-family: var(--font-serif);

  font-style: italic;

  font-size: 18px;

  color: var(--pink-deep);

  margin: 24px 0;

  padding-left: 16px;

  border-left: 3px solid var(--pink);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-widget {
  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 20px;

  margin-bottom: 16px;
}

.sidebar-widget h4 {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.03em;

  opacity: 0.55;

  margin: 0 0 14px;
}

.sidebar-widget .founder-mini {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 10px;
}

.sidebar-widget .founder-mini img {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  object-fit: cover;
}

.sidebar-widget .founder-mini p {
  margin: 0;

  font-size: 13px;

  font-weight: 600;
}

.sidebar-widget .founder-mini span {
  font-size: 11px;

  opacity: 0.6;
}

.sidebar-widget p.body-text {
  font-size: 13px;

  opacity: 0.75;

  line-height: 1.6;

  margin: 0 0 12px;
}

.sidebar-cat-list {
  display: flex;

  flex-direction: column;

  gap: 2px;
}

.sidebar-cat-list a {
  display: flex;

  justify-content: space-between;

  padding: 8px 0;

  font-size: 13px;

  border-bottom: 1px solid var(--line);
}

.sidebar-cat-list a:last-child {
  border-bottom: none;
}

.sidebar-cat-list a span {
  opacity: 0.45;

  font-size: 12px;
}

.sidebar-cat-list a.active {
  color: var(--pink-deep);

  font-weight: 600;
}

.sidebar-widget .newsletter-form {
  flex-direction: column;

  max-width: none;
}

.sidebar-widget .newsletter-form input {
  margin-bottom: 8px;
}

/* ============================================================
   CAREER COMPASS MOBILE
   ============================================================ */

@media (max-width: 520px) {

  .topbar {
    gap: 10px;
  }

  .counter {
    font-size: 10px;
  }

  .option {
    padding: 14px 16px;

    font-size: 14px;
  }

  input.text-input {
    font-size: 18px;
  }

  .btn {
    padding: 12px 22px;

    font-size: 13px;
  }

  .result-body {
    flex-direction: column;
  }

  .chart-box svg {
    width: 100%;

    height: auto;
  }

  .note-row .val {
    font-size: 11px;
  }
}

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */

@media (max-width: 760px) {

  body.home > .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.home .big-questions {
    padding-top: 56px;
  }

  /* 2-column guide grid on tablet */

  body.home #guides.section-head ~ .stamp-card {
    width: calc(50% - 9px);

    margin-right: 14px;

    margin-bottom: 14px;
  }

  body.home #guides.section-head ~ .stamp-card:nth-of-type(3n) {
    margin-right: 14px;
  }

  body.home #guides.section-head ~ .stamp-card:nth-of-type(2n) {
    margin-right: 0;
  }

  /* actual .stamp-grid version */

  .stamp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
  }

  body.home .founder-letter {
    padding: 28px 24px;
  }

  body.home .vision-section .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

  .grid {
    grid-template-columns: 1fr;
  }

  body.home .big-questions {
    padding-top: 48px;
  }

  body.home .stats-strip {
    grid-template-columns: repeat(3, 1fr);

    margin-bottom: 56px;
  }

  /* one guide per row on phones */

  body.home #guides.section-head ~ .stamp-card,
  body.home #guides.section-head ~ .stamp-card:nth-of-type(2n),
  body.home #guides.section-head ~ .stamp-card:nth-of-type(3n) {
    display: flex;

    width: 100%;

    margin-right: 0;

    margin-bottom: 14px;

    min-height: 0;

    padding: 20px 18px;
  }

  /* actual .stamp-grid version */

  .stamp-grid {
    grid-template-columns: 1fr;

    max-width: 360px;

    gap: 14px;
  }

  .stamp-grid .stamp-card {
    min-height: 0;
  }

  body.home .founder-letter {
    padding: 24px 20px;
  }

  body.home .founder-letter .letter-top {
    justify-content: center;

    text-align: center;
  }

  body.home .founder-letter blockquote {
    text-align: left;
  }

  body.home .postal-steps {
    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 56px;
  }

  body.home .closing-line {
    padding: 48px 0 40px;
  }

  body.home .postcard {
    padding: 26px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;

    margin-top: 8px;
  }

  body.blog .category-hero {
    padding: 36px 0 32px;
  }

  body.blog .category-heading {
    align-items: flex-start;
  }

  body.blog .category-heading h2 {
    font-size: 21px;
  }

  body.blog .category-note {
    padding: 16px;
  }

  .category-pills {
    gap: 6px;
  }

  .category-pill {
    padding: 6px 12px;

    font-size: 11.5px;
  }

  .post-card .post-card-media {
    height: 110px;
  }

  .sidebar-widget {
    padding: 16px;
  }

  .post-layout {
    grid-template-columns: 1fr;

    gap: 24px;
  }

  .sidebar {
    order: -1;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;

    transform: none !important;

    transition: none !important;
  }

  .stamp-card,
  .post-card,
  .btn {
    transition: none !important;
  }
}