:root {
  --plum: #3F2C3C;
  --lavender: #94629F;
  --mauve: #C29DB5;
  --sand: #D4C8CF;
  --mist: #ECE9F0;
  --paper: #F6F6FE;
  --beacon-50: var(--paper);
  --beacon-100: var(--mist);
  --beacon-200: var(--sand);
  --beacon-300: var(--mauve);
  --beacon-400: var(--mauve);
  --beacon-500: var(--lavender);
  --beacon-600: var(--lavender);
  --beacon-700: var(--plum);
  --beacon-800: var(--plum);
  --beacon-900: var(--plum);
  --surface: #FFFFFF;
  --text-muted: color-mix(in srgb, var(--plum) 72%, var(--paper));
  --border: var(--sand);
  --map-surface: #F4F5F7;
  --content: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--beacon-50);
  color: var(--beacon-900);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(148, 98, 159, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

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

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

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

p {
  margin: 0;
}

.shell {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--beacon-900);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid var(--beacon-200);
  background: rgba(246, 246, 254, 0.94);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup,
.nav-links,
.nav-actions,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  min-width: 190px;
}

.proprise-mark {
  width: auto;
  height: 18px;
  opacity: 0.62;
}

.brand-divider {
  color: var(--sand);
  font-size: 12px;
}

.beacon-mark {
  width: auto;
  height: 24px;
}

.nav-links {
  gap: 28px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--beacon-600);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1px solid var(--beacon-800);
  background: var(--beacon-800);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.button:hover {
  border-color: var(--beacon-900);
  background: var(--beacon-900);
}

.button-light {
  border-color: #FFFFFF;
  background: #FFFFFF;
  color: var(--beacon-900);
}

.button-light:hover {
  border-color: var(--beacon-100);
  background: var(--beacon-100);
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  border: 1px solid var(--beacon-200);
  background: var(--surface);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 18px;
  height: 1px;
  background: var(--beacon-900);
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.mobile-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--beacon-200);
  background: var(--beacon-50);
  box-shadow: 0 20px 45px rgba(63, 44, 60, 0.16);
}

.mobile-panel a:not(.button) {
  display: block;
  padding: 11px 2px;
  border-bottom: 1px solid var(--beacon-200);
  font-size: 14px;
}

.mobile-panel .button {
  width: 100%;
  margin-top: 16px;
}

.eyebrow,
.section-number,
.story-index,
.meta-label,
.breadcrumb,
.outcome-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--beacon-500);
  content: "";
}

.eyebrow,
.section-number,
.story-index,
.outcome-label {
  color: var(--beacon-600);
}

.hub-hero,
.story-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  border-bottom: 1px solid var(--beacon-200);
}

.hub-hero::after,
.story-hero::after {
  position: absolute;
  top: 8%;
  right: -10%;
  width: min(580px, 60vw);
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(148, 98, 159, 0.25), rgba(148, 98, 159, 0.04));
  content: "";
  filter: blur(70px);
  pointer-events: none;
}

.hub-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 410px;
  align-content: center;
  padding-block: 76px 64px;
}

.hub-hero h1,
.story-hero h1 {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(40px, 4.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hub-hero h1 em,
.story-hero h1 em,
.final-cta h2 em {
  color: var(--beacon-500);
  font-weight: 500;
}

.hub-intro {
  max-width: 720px;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.stories-section {
  padding-block: 72px 80px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading-row h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.2vw, 34px);
  line-height: 1.08;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.story-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.story-card:nth-child(3n + 2) {
  background: rgba(236, 233, 240, 0.82);
}

.story-card:hover {
  background: #FFFFFF;
  box-shadow: inset 0 4px 0 var(--beacon-500);
}

.story-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.story-card h2 {
  margin-top: 42px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.08;
}

.person {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.card-outcome {
  margin-top: auto;
  padding-top: 38px;
}

.card-outcome p:last-child {
  margin-top: 9px;
  color: var(--beacon-900);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--beacon-700);
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 38px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--beacon-600);
}

.story-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 38px 84px;
}

.story-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: end;
  margin-top: 72px;
}

.story-hero .eyebrow {
  margin-bottom: 20px;
}

.story-hero h1 {
  margin-top: 0;
  font-size: clamp(40px, 4.6vw, 48px);
}

.story-byline {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 16px;
}

.hero-outcome {
  padding: 26px;
  border: 1px solid var(--beacon-300);
  background: rgba(255, 255, 255, 0.72);
}

.hero-outcome p:last-child {
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  line-height: 1.28;
}

.story-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 72px 80px;
}

.story-article {
  min-width: 0;
}

.story-section {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  padding-block: 50px;
  border-top: 1px solid var(--beacon-200);
}

.story-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-section h2 {
  font-size: clamp(30px, 3.2vw, 34px);
  line-height: 1.12;
}

.story-section .prose p {
  margin-top: 18px;
  color: var(--plum);
  font-size: 18px;
  line-height: 1.72;
}

.story-section .prose p:first-of-type {
  margin-top: 22px;
}

.challenge-quote {
  margin-top: 30px;
  padding: 30px 30px 32px;
  border-left: 4px solid var(--beacon-500);
  background: var(--beacon-100);
  color: var(--beacon-900);
  font-size: clamp(23px, 3vw, 33px);
  line-height: 1.35;
}

.quote-source {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-aside {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--beacon-200);
  background: var(--surface);
}

.aside-group + .aside-group {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--beacon-200);
}

.meta-label {
  color: var(--beacon-500);
}

.aside-value {
  margin-top: 8px;
  color: var(--plum);
  font-size: 14px;
  line-height: 1.55;
}

.pull-quote {
  position: relative;
  overflow: hidden;
  padding-block: 72px;
  background: var(--beacon-900);
  color: #FFFFFF;
}

.pull-quote::after,
.final-cta::after {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 580px;
  aspect-ratio: 1;
  background: var(--beacon-600);
  content: "";
  filter: blur(120px);
  opacity: 0.28;
}

.pull-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 980px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.22;
}

.pull-quote cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 30px;
  color: var(--beacon-200);
  font-size: 14px;
  font-style: normal;
}

.related-section {
  padding-block: 72px 80px;
  background: #FFFFFF;
}

.related-section h2 {
  font-size: clamp(30px, 3.2vw, 34px);
  line-height: 1.1;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--beacon-200);
  border-left: 1px solid var(--beacon-200);
}

.related-card {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--beacon-200);
  border-bottom: 1px solid var(--beacon-200);
}

.related-card:hover {
  background: var(--beacon-50);
}

.related-card h3 {
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.18;
}

.related-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 76px;
  background: var(--beacon-800);
  color: #FFFFFF;
  text-align: center;
}

.final-cta .shell {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(32px, 3.6vw, 38px);
  line-height: 1.1;
}

.final-cta p {
  max-width: 650px;
  margin: 20px auto 32px;
  color: var(--beacon-100);
  font-size: 18px;
}

.site-footer {
  padding-block: 54px 34px;
  border-top: 1px solid var(--beacon-200);
  background: var(--beacon-50);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  gap: 10px;
}

.footer-copy {
  max-width: 340px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--beacon-200);
  color: var(--text-muted);
  font-size: 12px;
}

:focus-visible {
  outline: 3px solid var(--beacon-400);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .story-grid,
  .related-grid,
  .story-heading-grid,
  .story-content {
    grid-template-columns: 1fr;
  }

  .story-content {
    gap: 52px;
  }

  .story-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .aside-group + .aside-group {
    margin-top: 0;
    padding-top: 0;
    padding-left: 22px;
    border-top: 0;
    border-left: 1px solid var(--beacon-200);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, var(--content));
  }

  .nav-inner {
    min-height: 66px;
  }

  .proprise-mark {
    height: 15px;
  }

  .beacon-mark {
    height: 21px;
  }

  .hub-hero,
  .story-hero {
    padding-top: 66px;
  }

  .hub-hero-inner {
    min-height: 440px;
    padding-block: 76px 64px;
  }

  .hub-hero h1,
  .story-hero h1 {
    font-size: 43px;
  }

  .stories-section,
  .story-content,
  .related-section {
    padding-block: 60px 72px;
  }

  .section-heading-row,
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-card {
    min-height: 350px;
    padding: 28px;
  }

  .story-heading-grid {
    margin-top: 50px;
  }

  .story-hero-inner {
    padding-block: 30px 58px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 42px;
  }

  .story-section .prose p {
    font-size: 17px;
  }

  .challenge-quote {
    padding: 24px;
  }

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

  .aside-group + .aside-group {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--beacon-200);
    border-left: 0;
  }

  .pull-quote,
  .final-cta {
    padding-block: 72px;
  }

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

  .footer-links {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.beacon-v2 *,
.beacon-v2 *::before,
.beacon-v2 *::after {
  border-radius: 0 !important;
}

.beacon-pre-hidden {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

.beacon-pre-hidden.beacon-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .beacon-pre-hidden {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
