:root {
  --ink: #182b3f;
  --ink-soft: #3e4650;
  --paper: #fff8f4;
  --paper-warm: #f8eee8;
  --blush: #efb4a8;
  --blush-strong: #e49384;
  --rose: #f6d7d0;
  --cream: #fffdf9;
  --charcoal: #101419;
  --line: rgba(24, 43, 63, 0.16);
  --shadow: 0 20px 55px rgba(44, 25, 18, 0.18);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--blush-strong);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1536px, calc(100% - 88px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.4vw, 3.05rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
  font-size: 0.95rem;
  font-weight: 600;
  color: #171b1f;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  background: currentColor;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.42rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blush);
  color: #251712;
  font-weight: 700;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #f3c4bb;
  color: #251712;
}

.button.outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.button.subtle {
  background: transparent;
  color: var(--ink);
  border-color: rgba(24, 43, 63, 0.36);
}

.button.subtle:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 448px;
  display: grid;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 14, 13, 0.84) 0%, rgba(44, 28, 21, 0.38) 47%, rgba(40, 26, 20, 0.5) 100%),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=78") center 50% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(14, 18, 18, 0.18));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1536px, calc(100% - 88px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(250px, 0.7fr) minmax(360px, 0.92fr);
  gap: clamp(1.2rem, 3.6vw, 4rem);
  align-items: center;
  padding: 1.9rem 0 1.7rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blush);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.article h1,
.card-heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(3.45rem, 4.3vw, 4.55rem);
}

.hero h1 em,
.section-heading em,
.page-hero em {
  color: var(--blush);
  font-style: italic;
}

.hero-copy {
  max-width: 420px;
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: rgba(255, 253, 249, 0.92);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-device {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: clamp(170px, 15vw, 220px);
  aspect-ratio: 0.54;
  border: 8px solid #1a2028;
  border-radius: 26px;
  background: #0f151a;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: 48%;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #121820;
  transform: translateX(-50%);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.phone-dot {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.34);
}

.phone-dot.one {
  left: 12%;
  bottom: 18%;
  width: 22px;
  height: 22px;
}

.phone-dot.two {
  left: 42%;
  bottom: 9%;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(239, 180, 168, 0.8);
  background: rgba(20, 18, 16, 0.3);
}

.phone-dot.three {
  right: 20%;
  bottom: 26%;
  width: 18px;
  height: 18px;
}

.mission-panel {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.mission-copy {
  width: min(100%, 410px);
  max-width: 410px;
  padding: 0.25rem 0 0.3rem 1.35rem;
  border-left: 2px solid var(--blush);
  color: rgba(255, 253, 249, 0.92);
  font-size: 0.96rem;
  line-height: 1.48;
}

.mission-copy p {
  margin: 0;
}

.mission-copy p + p {
  margin-top: 0.75rem;
}

.trust-line {
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.badge-card {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.9);
  color: #2f2521;
  box-shadow: 0 14px 34px rgba(44, 25, 18, 0.18);
  backdrop-filter: blur(10px);
}

.spark {
  width: 32px;
  height: 32px;
  color: var(--blush-strong);
}

.badge-card strong {
  display: block;
  margin-bottom: 0.08rem;
  color: #241814;
  font-size: 1rem;
  line-height: 1.2;
}

.badge-card span {
  display: block;
  font-style: italic;
  color: #4d4642;
  font-size: 0.94rem;
  line-height: 1.35;
}

.section {
  border-top: 1px solid rgba(228, 147, 132, 0.42);
}

#stages .section-inner {
  padding: 1.9rem 0 1.55rem;
}

#stages .section-heading h2 {
  font-size: clamp(2.25rem, 2.8vw, 3rem);
}

.section-inner {
  width: min(1536px, calc(100% - 88px));
  margin: 0 auto;
  padding: clamp(3.6rem, 8vw, 6.5rem) 0;
}

.split-intro {
  display: grid;
  grid-template-columns: 250px 245px minmax(0, 1fr);
  gap: clamp(1.15rem, 3vw, 2.8rem);
  align-items: center;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.6rem);
}

.lead {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.stage-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stage-card,
.story-card,
.resource-card,
.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
}

.stage-card {
  min-height: 286px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: 0 16px 36px rgba(31, 25, 22, 0.14);
}

.stage-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 18, 18, 0.02), rgba(14, 18, 18, 0.78));
}

.stage-content {
  padding: 1rem;
  color: white;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.9);
  color: #35221d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-content h3 {
  margin: 0.65rem 0 0.2rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.stage-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.55rem 0;
}

.proof-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.proof-item svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.proof-item strong {
  display: block;
  line-height: 1.2;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.story-card,
.resource-card,
.post-card {
  border: 1px solid var(--line);
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card div,
.resource-card,
.post-card {
  padding: 1.25rem;
}

.story-card h3,
.resource-card h3,
.post-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.story-card p,
.resource-card p,
.post-card p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  background: var(--ink);
  color: var(--cream);
}

.band .lead,
.band .proof-item span {
  color: rgba(255, 253, 249, 0.74);
}

.band .resource-card {
  background: rgba(255, 253, 249, 0.08);
  border-color: rgba(255, 253, 249, 0.16);
}

.band .resource-card p {
  color: rgba(255, 253, 249, 0.72);
}

.community-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  border-top: 1px solid rgba(255, 253, 249, 0.18);
  padding-top: 2rem;
  margin-top: 2.2rem;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  width: min(100%, 540px);
}

.newsletter input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
}

.site-footer {
  background: #111a24;
  color: var(--cream);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 0.9rem;
}

.footer-inner h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.footer-inner p,
.footer-inner li {
  color: rgba(255, 253, 249, 0.72);
}

.footer-about p {
  margin: 0 0 0.65rem;
}

.footer-about p:last-child {
  margin-bottom: 0;
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.subfooter {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  color: rgba(255, 253, 249, 0.64);
  font-size: 0.88rem;
}

.page-hero {
  background: linear-gradient(120deg, var(--paper), #f5dad2);
  border-bottom: 1px solid rgba(228, 147, 132, 0.35);
}

.page-hero .section-inner {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.page-hero p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.article {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.article h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
}

.article-meta {
  margin: 1rem 0 2rem;
  color: var(--ink-soft);
}

.article h2 {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.article p,
.article li {
  color: #2f3842;
  font-size: 1.05rem;
}

.article a {
  color: #9c4e42;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.article blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--blush-strong);
  background: var(--cream);
  color: var(--ink);
}

.article-nav {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto 4rem;
}

.story-section {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.story-section h2 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.story-section p {
  margin: 0 0 1.15rem;
  color: #2f3842;
  font-size: 1.08rem;
}

.story-section blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 3px solid var(--blush-strong);
  background: var(--cream);
}

.story-section blockquote p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.story-section hr {
  width: 100%;
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: rgba(228, 147, 132, 0.4);
}

.story-signoff {
  margin-top: 2rem;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.75rem 16px 1rem;
    background: rgba(255, 248, 244, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 0.85rem 0;
  }

  .menu-button {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .hero-inner,
  .split-intro,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-device {
    display: none;
  }

  .mission-panel {
    gap: 1.4rem;
    justify-items: start;
    max-width: 540px;
  }

  .mission-copy {
    width: min(100%, 500px);
    font-size: 0.98rem;
  }

  .badge-card {
    width: min(100%, 380px);
  }

  .stage-row,
  .grid-3,
  .proof-bar {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .nav-wrap {
    width: min(100% - 24px, 1180px);
    min-height: 72px;
  }

  .brand {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13.5vw, 3.85rem);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  }

  .hero-inner {
    padding: 2.7rem 0 2.25rem;
    gap: 1rem;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(8, 11, 12, 0.74) 0%, rgba(8, 11, 12, 0.58) 42%, rgba(8, 11, 12, 0.82) 100%),
      linear-gradient(90deg, rgba(8, 11, 12, 0.66), rgba(8, 11, 12, 0.28)),
      url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1000&q=76") 39% center / cover no-repeat;
  }

  .mission-copy {
    width: 100%;
    padding: 1rem 1rem 1rem 1.05rem;
    border-radius: 8px;
    background: rgba(10, 12, 14, 0.36);
    backdrop-filter: blur(8px);
    font-size: 1rem;
  }

  .mission-copy p {
    margin: 0 0 0.7rem;
  }

  .badge-card {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .footer-inner,
  .subfooter,
  .article,
  .article-nav {
    width: min(100% - 24px, 1180px);
  }

  .nav-links {
    inset: 72px 0 auto;
  }

  .hero-buttons,
  .newsletter {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .newsletter .button {
    width: 100%;
  }

  .stage-row,
  .grid-3,
  .proof-bar {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: 280px;
  }

  .proof-item {
    grid-template-columns: 32px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
