/* =============================================
   LEVEL UP WITH AI — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --paper: #F4EEE3;
  --ash: #D8D3CA;
  --signal: #E84820;
  --moss: #2B4A38;
  --clay: #C47840;
  --sky: #8BAEC4;
  --ink: #1C1C1A;
  --white: #FFFFFF;
  --signal-dark: #C03A18;
  --moss-light: #3A6350;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.25s ease;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.1;
  font-style: italic;
  font-weight: 800;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { font-size: clamp(1rem, 1.5vw, 1.125rem); color: inherit; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section--sm { padding: var(--space-lg) 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--signal);
  color: var(--white);
  border-color: var(--signal);
}
.btn--primary:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--signal-outline {
  background: transparent;
  color: var(--signal);
  border-color: var(--signal);
}
.btn--signal-outline:hover {
  background: var(--signal);
  color: var(--white);
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--serif);
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--signal); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: all var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 800;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 6rem;
  padding-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-circle {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(55vw, 700px);
  height: min(55vw, 700px);
  opacity: 0.07;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: var(--signal);
  margin-bottom: var(--space-sm);
}

.hero__title {
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero__title .with {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: 0.45em;
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: -0.2em;
}

.hero__title .ai {
  color: var(--signal);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  max-width: 50ch;
  margin-bottom: var(--space-md);
  color: #4a4a48;
  font-weight: 400;
  line-height: 1.5;
  font-style: normal;
  font-family: var(--sans);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--ink);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* --- Statement Band --- */
.statement-band {
  background: var(--signal);
  color: var(--white);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.statement-band__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.statement-band h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.statement-band .dot {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- About / Mission --- */
.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about__card {
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
}

.about__card--signal { background: var(--signal); color: var(--white); }
.about__card--moss { background: var(--moss); color: var(--white); }
.about__card--paper { background: var(--ash); color: var(--ink); }
.about__card--outline { border: 2px solid var(--ink); background: transparent; }

.about__card h4 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.about__text .eyebrow {
  color: var(--signal);
  margin-bottom: var(--space-sm);
}

.about__text h2 { margin-bottom: var(--space-md); }
.about__text p { margin-bottom: var(--space-sm); color: #4a4a48; }

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
}

.tag--signal { background: var(--signal); color: var(--white); }
.tag--moss { background: var(--moss); color: var(--white); }
.tag--outline { border: 1.5px solid var(--ink); color: var(--ink); }

/* --- Offerings --- */
.offerings {
  background: var(--moss);
  color: var(--white);
}

.offerings__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.offerings__header .eyebrow { color: var(--signal); margin-bottom: var(--space-sm); }
.offerings__header h2 { color: var(--white); }

.offerings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offering-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.offering-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.offering-card__number {
  font-family: var(--serif);
  font-size: 4rem;
  font-style: italic;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.offering-card__icon {
  width: 48px;
  height: 48px;
  background: var(--signal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.offering-card__icon svg { width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 2; }

.offering-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.offering-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* --- Events --- */
.events {
  background: var(--paper);
}

.events__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.events__header .eyebrow { color: var(--signal); margin-bottom: var(--space-sm); }

.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ash);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.event-card__header {
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--ash);
}

.event-card__date {
  background: var(--signal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}

.event-card__date .month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.event-card__date .day {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-card__meta {
  flex: 1;
}

.event-card__type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.25rem;
}

.event-card__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
}

.event-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__desc {
  font-size: 0.9rem;
  color: #4a4a48;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.event-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.event-card__detail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #6a6a68;
  font-weight: 500;
}

.event-card__detail svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.event-card__footer {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.events__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-lg);
  background: var(--ash);
  border-radius: var(--radius-lg);
  color: #6a6a68;
}

.events__empty h3 { color: var(--ink); margin-bottom: 0.5rem; }

/* --- Testimonials --- */
.testimonials {
  background: var(--ash);
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.testimonials__header .eyebrow { color: var(--signal); margin-bottom: var(--space-sm); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--signal);
  font-style: italic;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #4a4a48;
  margin-bottom: var(--space-sm);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  font-style: normal;
  display: block;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: #6a6a68;
  font-style: normal;
  display: block;
}

/* --- Resources Teaser --- */
.resources-teaser {
  background: var(--ink);
  color: var(--white);
}

.resources-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.resources-teaser__text .eyebrow {
  color: var(--signal);
  margin-bottom: var(--space-sm);
}

.resources-teaser__text h2 { margin-bottom: var(--space-md); }
.resources-teaser__text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.resources-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.resource-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

.resource-preview:hover { background: rgba(255,255,255,0.1); }

.resource-preview__icon {
  width: 40px;
  height: 40px;
  background: var(--signal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-preview__icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.resource-preview__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.resource-preview__type {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.125rem;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--signal);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.05;
}

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

.cta-section .eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}

.cta-section h2 { margin-bottom: var(--space-sm); }
.cta-section p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  margin: 0 auto var(--space-md);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer__brand .nav__logo {
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 30ch;
  line-height: 1.6;
}

.footer__col h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
  font-style: normal;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--signal); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

/* =============================================
   RESOURCES PAGE
   ============================================= */

.page-hero {
  padding-top: 8rem;
  padding-bottom: var(--space-lg);
  background: var(--moss);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  right: -10%;
  bottom: -20%;
  opacity: 0.08;
  width: 500px;
  height: 500px;
}

.page-hero .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: var(--space-sm); }
.page-hero h1 { margin-bottom: var(--space-sm); }
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  max-width: 52ch;
}

/* Resource filters */
.resource-filters {
  background: var(--ash);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--ash);
}

.resource-filters__inner {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  border: 1.5px solid var(--ash);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink);
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--signal); color: var(--signal); }
.filter-btn.active { background: var(--signal); border-color: var(--signal); color: var(--white); }

/* Resources grid */
.resources-section { background: var(--paper); }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ash);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.resource-card__header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.resource-card__header--signal { background: var(--signal); }
.resource-card__header--moss { background: var(--moss); }
.resource-card__header--ink { background: var(--ink); }
.resource-card__header--clay { background: var(--clay); }

.resource-card__header-icon {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

.resource-card__header-icon svg {
  width: 64px;
  height: 64px;
  stroke: white;
  fill: none;
  stroke-width: 1.5;
}

.resource-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.resource-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.5rem;
}

.resource-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.resource-card p {
  font-size: 0.875rem;
  color: #4a4a48;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.resource-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--ash);
  margin-top: auto;
}

.resource-card__size {
  font-size: 0.78rem;
  color: #6a6a68;
  font-weight: 500;
}

.resource-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--signal);
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  padding: 0;
}

.resource-card__download:hover { color: var(--signal-dark); }
.resource-card__download svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Coming soon state */
.resource-card--coming-soon { opacity: 0.6; }
.resource-card--coming-soon .resource-card__download { color: #6a6a68; cursor: default; }

/* Multi-download list inside a resource card */
.resource-card__downloads {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--ash);
}

.resource-download-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ash);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--sans);
  transition: all var(--transition);
  text-decoration: none;
  background: var(--paper);
}

.resource-download-link:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: var(--white);
  transform: translateX(2px);
}

.resource-download-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.resource-download-link span:first-of-type {
  flex: 1;
}

.resource-download-link__type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6a6a68;
}

.resource-download-link:hover .resource-download-link__type {
  color: var(--signal);
}

.resource-download-link--disabled {
  cursor: default;
  color: #aaa;
}
.resource-download-link--disabled:hover {
  border-color: var(--ash);
  color: #aaa;
  background: var(--paper);
  transform: none;
}

/* Newsletter strip */
.newsletter-strip {
  background: var(--signal);
  color: var(--white);
  padding: var(--space-lg) 0;
}

.newsletter-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.newsletter-strip h3 { margin-bottom: 0.25rem; }
.newsletter-strip p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  font-family: var(--sans);
  min-width: 260px;
  outline: none;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

/* --- Utility --- */
.text-signal { color: var(--signal); }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }

/* --- Scroll animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .offerings__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .resources-teaser__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
  }

  .nav__links,
  .nav__cta .btn { display: none; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__bg-circle { opacity: 0.04; width: 90vw; height: 90vw; }

  .about__card-stack { grid-template-columns: 1fr 1fr; }
  .about__card { min-height: 120px; }

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

  .events__header { flex-direction: column; align-items: flex-start; }
  .events__grid { grid-template-columns: 1fr; }

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

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

  .cta-section h2 { font-size: 2.5rem; }

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

  .newsletter-strip__inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: unset; width: 100%; }
}

@media (max-width: 480px) {
  .about__card-stack { grid-template-columns: 1fr; }
  .resources-teaser__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}
