/* Beyond The Frontline Foundation — Mobile Scroll Mockup */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500;1,9..144,600;1,9..144,700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --paper: #e6decc;
  --paper-deep: #ddd4bf;
  --ink: #1b1e29;
  --ink-muted: #4a4d57;
  --ink-faint: #8a8678;
  --rust: #a2574a;
  --rust-soft: #c4a090;
  --rule: rgba(27, 30, 41, 0.22);
  --rule-strong: #1b1e29;
  --dark: #1b1e29;
  --cream-btn: #e6decc;

  --font-serif: "Fraunces", "Times New Roman", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad-x: 1.35rem;
  --max: 26.875rem; /* ~430px */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-serif);
  background: #cfc6b2;
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(27, 30, 41, 0.08), 0 24px 64px rgba(27, 30, 41, 0.12);
  overflow-x: hidden;
}

.pad {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ——— Shared ——— */
.meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label .mark {
  color: var(--rust);
  font-weight: 500;
}

.section-label .title {
  color: var(--ink);
  font-weight: 400;
}

.hairline {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.hairline--strong {
  border-top-color: var(--rule-strong);
  border-top-width: 1.5px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary:hover {
  background: #2a2e3c;
}

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

.btn-primary--cream:hover {
  background: #f0e9d8;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.link-arrow:hover {
  color: var(--rust);
}

.accent-italic {
  color: var(--rust);
  font-style: italic;
  font-weight: 500;
}

/* ——— Header ——— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem var(--pad-x) 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand__seal {
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
}

.brand__text {
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand__sub {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.menu-btn {
  flex-shrink: 0;
  padding: 0.55rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ——— Issue strip ——— */
.issue-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem var(--pad-x);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.issue-strip span {
  white-space: nowrap;
}

/* ——— Hero ——— */
.hero {
  padding: 1.75rem var(--pad-x) 2rem;
  position: relative;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.hero__kicker::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--rust);
  flex-shrink: 0;
}

.hero__layout {
  position: relative;
  padding-right: 5.5rem;
  margin-bottom: 1.35rem;
}

.hero__stamp {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  width: 6.25rem;
  height: 6.25rem;
  opacity: 0.95;
  animation: stampIn 0.9s var(--ease) both;
}

@keyframes stampIn {
  from {
    opacity: 0;
    transform: rotate(-8deg) scale(0.92);
  }
  to {
    opacity: 0.95;
    transform: rotate(0deg) scale(1);
  }
}

.hero__headline {
  font-size: clamp(2.15rem, 9.5vw, 2.65rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__dek {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  max-width: 22rem;
}

.hero__meta {
  margin: 1.35rem 0 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.hero__bottom-rule {
  margin-top: 1.75rem;
  border: none;
  height: 0;
  border-top: 5px solid var(--ink);
}

/* ——— Mission ——— */
.mission {
  padding: 2.25rem var(--pad-x) 2rem;
}

.mission__headline {
  font-size: clamp(1.85rem, 7.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.mission__body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}

.mission__body p + p {
  margin-top: 1.1rem;
}

.has-dropcap::first-letter {
  float: left;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 0.8;
  padding-right: 0.45rem;
  padding-top: 0.2rem;
  color: var(--rust);
  font-style: normal;
}

/* ——— Stats ——— */
.stats {
  padding: 0.5rem var(--pad-x) 2rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.25rem;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat__value {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--rust);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.45;
}

/* ——— Why here ——— */
.why {
  padding: 2.25rem var(--pad-x) 2rem;
  position: relative;
}

.why__quote-mark {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 500;
  line-height: 0.55;
  color: var(--rust-soft);
  opacity: 0.55;
  margin-bottom: 0.5rem;
  user-select: none;
}

.why__quote {
  font-size: clamp(1.35rem, 5.5vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1.35rem;
}

.why__body {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.why__body p + p {
  margin-top: 1rem;
}

.why__attribution {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.why__name {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.why__role {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ——— How we help ——— */
.help {
  padding: 2.25rem var(--pad-x) 0;
}

.help__headline {
  font-size: clamp(1.75rem, 7vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.help__intro {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}

.help__list {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.help__item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.65rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.help__num {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-faint);
  padding-top: 0.1rem;
}

.help__item-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.help__item-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ——— Save the date ——— */
.event {
  margin-top: 2.5rem;
  padding: 2.5rem var(--pad-x) 2.75rem;
  background: var(--dark);
  color: var(--paper);
}

.event__frame {
  position: relative;
  padding: 2rem 1.25rem 1.75rem;
  border: 1px solid rgba(230, 222, 204, 0.28);
  text-align: center;
}

.event__frame::before,
.event__frame::after {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-color: var(--rust);
  border-style: solid;
}

.event__frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.event__frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.event__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.event__corners::before,
.event__corners::after {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-color: var(--rust);
  border-style: solid;
}

.event__corners::before {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.event__corners::after {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.event__kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.35rem;
}

.event__invite {
  font-size: clamp(1.35rem, 5.5vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 1.75rem;
  color: var(--paper);
}

.event__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.event__ornament span {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: var(--rust);
}

.event__ornament i {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--rust);
}

.event__date-lead,
.event__date-tail {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(230, 222, 204, 0.85);
}

.event__day {
  display: block;
  margin: 0.15rem 0;
  font-size: clamp(3.5rem, 16vw, 4.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--rust);
  letter-spacing: -0.02em;
}

.event__venue {
  margin-top: 1.35rem;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
  color: rgba(230, 222, 204, 0.9);
}

.event__features {
  margin: 1.35rem 0 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(230, 222, 204, 0.7);
}

.event__features .dot {
  color: var(--rust);
}

/* ——— Team ——— */
.team {
  padding: 2.5rem var(--pad-x) 0.5rem;
}

.team__headline {
  font-size: clamp(1.75rem, 7vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.team__intro {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.75rem;
  max-width: 20rem;
}

.team__list {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.team__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.team__initials {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.team__name {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.team__role {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

/* ——— Donate CTA ——— */
.donate {
  padding: 2.75rem var(--pad-x) 2.5rem;
  text-align: center;
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
}

.donate__seal {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
}

.donate__headline {
  font-size: clamp(1.55rem, 6.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.donate__copy {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 20rem;
  margin: 0 auto 1.5rem;
}

.donate__meta {
  margin-top: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding: 2.25rem var(--pad-x) 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.footer__seal {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.footer__name {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.footer__sub {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 222, 204, 0.55);
  line-height: 1.5;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.85rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__links a {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(230, 222, 204, 0.9);
}

.footer__links a:hover {
  color: var(--paper);
}

.footer__legal {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(230, 222, 204, 0.15);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 222, 204, 0.45);
  line-height: 1.7;
}

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

  .hero__stamp {
    animation: none;
  }
}
