:root {
  --ink: #1b2d45;
  --ink-soft: #4e6078;
  --paper: #fffaf4;
  --white: #ffffff;
  --red-soft: #e99793;
  --red-deep: #b14e48;
  --blue-soft: #b7d7f2;
  --blue-deep: #5f88b4;
  --butter: #f4e59d;
  --border: #a84b42;
  --shadow: 0 10px 22px rgba(82, 47, 39, 0.08);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(183, 215, 242, 0.4), transparent 30%),
    radial-gradient(circle at top right, rgba(233, 151, 147, 0.28), transparent 28%),
    var(--border);
  color: var(--ink);
}

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

.page-frame {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto;
  background: var(--paper);
  border: 2px solid rgba(168, 75, 66, 0.65);
  overflow: clip;
}

.side-label {
  position: absolute;
  top: 220px;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 250, 244, 0.9);
  writing-mode: vertical-rl;
}

.side-label-left {
  left: 8px;
  transform: rotate(180deg);
}

.side-label-right {
  right: 8px;
}

main {
  padding: 22px 32px 60px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 18px;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--red-deep);
  line-height: 0.95;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(183, 215, 242, 0.16);
  border: 1px solid rgba(95, 136, 180, 0.18);
}

.nav a.is-active {
  background: linear-gradient(135deg, rgba(233, 151, 147, 0.9), rgba(183, 215, 242, 0.9));
}

.panel {
  border: 2px solid rgba(168, 75, 66, 0.2);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 650px;
  overflow: hidden;
}

.hero-photo,
.hero-copy {
  padding: 98px 26px 26px;
}

.hero-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3)),
    #f8efe7;
}

.flag-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: #f8f5ef;
}

.flag-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    #c85d5a 0 7.69%,
    #fffdf9 7.69% 15.38%
  );
}

.flag-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 54%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 8px;
  padding: 20px 16px;
  background: #5f88b4;
  z-index: 1;
}

.flag-stars span::before {
  content: "★";
  display: block;
  color: #fffaf4;
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.photo-caption {
  max-width: 440px;
  margin: 18px auto 0;
  font-size: 0.98rem;
  text-align: center;
  color: var(--ink-soft);
}

.striped-panel {
  position: relative;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(183, 215, 242, 0.7) 0 22px,
      rgba(255, 255, 255, 0.88) 22px 44px
    );
}

.striped-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 0 7.69%,
      rgba(255, 253, 249, 0) 7.69% 15.38%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 15.38% 23.07%,
      rgba(255, 253, 249, 0) 23.07% 30.76%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 30.76% 38.45%,
      rgba(255, 253, 249, 0) 38.45% 46.14%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 46.14% 53.83%,
      rgba(255, 253, 249, 0) 53.83% 61.52%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 61.52% 69.21%,
      rgba(255, 253, 249, 0) 69.21% 76.9%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 76.9% 84.59%,
      rgba(255, 253, 249, 0) 84.59% 92.28%
    ),
    linear-gradient(
      to bottom,
      rgba(200, 93, 90, 0.82) 92.28% 100%,
      rgba(255, 253, 249, 0) 100%
    );
  opacity: 0.18;
  pointer-events: none;
}

.striped-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 40%;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 34% 18%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 54% 18%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 74% 18%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 24% 34%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 44% 34%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 64% 34%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 84% 34%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 14% 50%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 34% 50%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 54% 50%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    radial-gradient(circle at 74% 50%, rgba(255, 250, 244, 0.95) 0 4px, transparent 4px),
    #5f88b4;
  opacity: 0.22;
  pointer-events: none;
}

.hero-center-brand {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--red-deep);
  text-align: center;
  line-height: 0.88;
  text-shadow: 0 8px 20px rgba(255, 250, 244, 0.55);
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-copy-inner {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-top: 138px;
  margin-left: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-heading h2,
.cta-banner h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
}

.lead,
.section-heading p,
.statement p,
.step-card p,
.resource-card p,
.social-card p,
.mini-note span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.lead {
  max-width: 38ch;
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ef8f84, #d75d58);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(177, 78, 72, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1.5px solid rgba(95, 136, 180, 0.35);
}

.mini-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 136, 180, 0.2);
  border-radius: 16px;
}

.statement {
  position: relative;
  padding: 72px 24px 54px;
  text-align: center;
}

.statement::before,
.statement::after {
  content: "";
  position: absolute;
  top: 58%;
  width: 120px;
  height: 120px;
  border-top: 3px solid rgba(27, 45, 69, 0.6);
  border-left: 3px solid rgba(27, 45, 69, 0.6);
  border-radius: 120px 0 0 0;
}

.statement::before {
  left: 8%;
  transform: rotate(-120deg);
}

.statement::after {
  right: 8%;
  transform: rotate(60deg);
}

.statement-tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  background: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement h2 {
  max-width: 13ch;
  margin: 0 auto 14px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.statement p {
  max-width: 58ch;
  margin: 0 auto;
  font-size: 1rem;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  margin-bottom: 28px;
}

.home-action-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(168, 75, 66, 0.15);
  padding: 22px;
}

.home-action-card h3,
.subpage-hero h1 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
}

.home-action-card h3 {
  font-size: 2rem;
}

.home-action-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.steps-wrap,
.grassroots-wrap {
  padding: 34px 28px;
  margin-bottom: 28px;
}

.subpage-hero {
  padding: 30px 28px;
  margin-bottom: 28px;
}

.subpage-hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading.centered {
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.resource-card,
.social-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(168, 75, 66, 0.15);
  padding: 22px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(183, 215, 242, 0.9), rgba(233, 151, 147, 0.92));
  font-weight: 800;
  font-size: 1.1rem;
}

.step-card h3,
.resource-card h3,
.social-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
  border: 2px dashed rgba(233, 151, 147, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
}

.cta-banner h3 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.grassroots-wrap {
  background: linear-gradient(180deg, rgba(244, 229, 157, 0.88), rgba(255, 255, 255, 0.9));
}

.resource-grid,
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  min-height: 220px;
}

.resource-kicker {
  margin: 0 0 10px;
  color: var(--red-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-card a,
.social-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: var(--red-deep);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.socials-wrap {
  padding: 32px 8px 0;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.embed-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(168, 75, 66, 0.15);
  box-shadow: var(--shadow);
}

.embed-card-full {
  grid-column: 1 / -1;
}

.embed-header {
  margin-bottom: 14px;
}

.embed-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.embed-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.embed-note a {
  color: var(--red-deep);
  font-weight: 800;
}

.platform-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(168, 75, 66, 0.12);
}

.platform-preview p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.platform-preview a {
  color: var(--red-deep);
  font-weight: 800;
}

.social-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: var(--card-accent, var(--blue-soft));
}

.social-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(183, 215, 242, 0.24);
  font-size: 1.3rem;
}

.social-platform {
  margin: 0;
  font-weight: 800;
}

.social-handle {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.social-post {
  margin: 0 0 14px;
  font-size: 1.02rem;
}

.social-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(183, 215, 242, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
}

.social-link {
  margin-top: 18px;
}

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

  .hero-copy-inner {
    margin-top: 58px;
    margin-left: 0;
  }

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

}

@media (max-width: 780px) {
  .page-frame {
    width: min(100%, calc(100% - 16px));
    margin: 8px auto;
  }

  .side-label {
    display: none;
  }

  main {
    padding: 16px 16px 44px;
  }

  .topbar,
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-photo,
  .hero-copy,
  .home-actions,
  .steps-wrap,
  .grassroots-wrap {
    padding: 20px;
  }

  .hero-photo,
  .hero-copy {
    padding-top: 92px;
  }

  .hero-copy-inner {
    margin-top: 24px;
  }

  .statement {
    padding-inline: 8px;
  }

  .statement::before,
  .statement::after {
    display: none;
  }

  .steps-grid,
  .home-actions,
  .embed-grid,
  .resource-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }
}
