:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #efe8dd;
  --surface-warm: #f3eadc;
  --text: #1f1d1a;
  --muted: #5d564d;
  --line: #ddd3c5;
  --accent: #1f1d1a;
  --accent-2: #6f5c46;
  --accent-soft: #8a7358;
  --hero-glow: rgba(111, 92, 70, 0.16);
  --shadow: 0 12px 32px rgba(31, 29, 26, 0.08);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32rem),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 16%, #f4ede2 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, .logo {
  font-family: Georgia, "Times New Roman", serif;
}
h1, h2, h3, h4 {
  text-wrap: balance;
}
p {
  margin-top: 0;
}
.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 211, 197, 0.8);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
  height: auto;
  max-height: 44px;
  width: auto;
}
@media (max-width: 700px) {
  .logo img {
    max-height: 30px;
  }
}
.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.home .site-header {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.03;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.hero-sub,
.hero-text,
.lead,
.section-heading p,
.section-header p,
.story-card p,
.card p,
.cta-box p,
.highlight-box p,
.note-box p,
.sponsor-card p,
.site-footer p,
.final-cta p {
  color: var(--muted);
}
.hero-actions,
.cta-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 1.5rem 0 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow);
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}
.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  border-color: var(--line);
}
.btn-small {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.hero-points li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 0.5rem;
}

.hero-card {
  min-height: 480px;
}
.photo-block {
  position: relative;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31,29,26,0.05), rgba(31,29,26,0.55)),
    url('https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  box-shadow: var(--shadow);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.58) 100%);
}
.photo-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  color: #fff;
}
.photo-caption h2 {
  margin: 0.5rem 0;
  font-size: 1.75rem;
  line-height: 1.1;
}
.caption-tag,
.pill {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.pill {
  background: var(--surface-soft);
  color: var(--text);
}

.section,
.page-hero {
  padding: 4rem 0;
}
.section-compact {
  padding-top: 0;
  padding-bottom: 1.25rem;
}
.section-alt,
.page-hero {
  background: rgba(255,255,255,0.45);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 1.7rem;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}
.section-header {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  text-align: center;
}
.section-header h2,
.highlight-box h2,
.note-box h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}
.section-heading.left { margin-left: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.card-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card a {
  font-weight: 700;
  text-decoration: none;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}
.start-here-resources {
  padding-bottom: 2rem;
}
.start-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.start-card p {
  margin-bottom: 0;
}
.start-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
.start-card-primary {
  background: linear-gradient(180deg, #fff, rgba(243, 234, 220, 0.72));
  border-color: rgba(31, 29, 26, 0.32);
}
.start-card-primary h3 {
  font-size: 1.45rem;
}
.aurora-resources-section {
  padding-top: 2rem;
}
.resource-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.resource-grid {
  align-items: stretch;
}
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.resource-card p {
  margin-bottom: 0;
}
.resource-good-for {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(221, 211, 197, 0.78);
}
.resource-good-for h4 {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--accent-2);
}
.resource-good-for ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.resource-action {
  align-self: flex-start;
  margin-top: 0.2rem;
}
.resource-disclaimer {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.event-host-note {
  color: var(--accent-2);
  font-weight: 700;
  margin: 1rem 0 0;
}
.city-jump-section {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.city-jump-section .section-heading {
  margin-bottom: 1rem;
}
.city-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.city-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.city-jump-link:hover,
.city-jump-link:focus-visible {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.event-city-section {
  padding-top: 3.4rem;
  padding-bottom: 3.4rem;
}
.event-city-section .section-heading {
  margin-bottom: 1rem;
}
.event-city-section .section-heading h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.event-card h3 {
  margin-bottom: 0;
}
.event-card p {
  margin-bottom: 0;
}
.event-details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}
.event-details div {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(221, 211, 197, 0.72);
}
.event-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.event-details dt {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-details dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}
.event-source {
  align-self: flex-start;
  margin-top: auto;
}
.featured-events-section {
  background:
    linear-gradient(180deg, rgba(243, 234, 220, 0.74), rgba(255, 255, 255, 0.42));
  border-top: 1px solid rgba(221, 211, 197, 0.8);
  border-bottom: 1px solid rgba(221, 211, 197, 0.8);
}
.featured-event-card {
  background: linear-gradient(180deg, #fff, rgba(243, 234, 220, 0.72));
  border-color: rgba(111, 92, 70, 0.34);
}
.featured-event-primary {
  border-color: rgba(31, 29, 26, 0.32);
}
.event-date {
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-highlights {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}
.event-community-cta h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.featured .text-link,
.text-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.cta-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-note {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}
.checklist,
.stack-list {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.1rem;
}
.stack-list.compact { gap: 0.55rem; }
.check-item,
.story-card,
.page-main .lead {
  font-size: 1.05rem;
}
.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.disclaimer-box {
  margin: 0 auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(221, 211, 197, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(31, 29, 26, 0.04);
}
.disclaimer-box-light {
  margin-bottom: 1.5rem;
  background: rgba(243, 234, 220, 0.62);
}
.disclaimer-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.groups-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}
.groups-page .page-hero {
  background: transparent;
}
.groups-page .hero-actions {
  justify-content: center;
}
.groups-intro-card {
  background: rgba(255, 255, 255, 0.74);
}
.start-here-section {
  padding-top: 1.25rem;
}
.quick-start-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 234, 220, 0.72));
}
.listing-grid {
  display: grid;
  gap: 1.5rem;
}
.listing-card {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid #e7e2d8;
  border-radius: 1.25rem;
  background: #fffaf2;
  box-shadow: var(--shadow);
}
.listing-copy {
  flex: 1;
}
.listing-meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.listing-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
}
.listing-card h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}
.listing-card p {
  color: var(--muted);
}
.listing-action {
  display: flex;
  min-width: 11rem;
  justify-content: flex-end;
}
.check-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}
.check-list li {
  margin-bottom: 0.4rem;
}

.home main > .hero,
.home main > .section,
.home .site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.home .hero {
  position: relative;
  padding-top: 5.25rem;
}
.home .hero::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto auto;
  width: min(30vw, 18rem);
  height: min(30vw, 18rem);
  background: radial-gradient(circle, var(--hero-glow), transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 760px;
  padding: 2rem 0 0.75rem;
}
.hero-content h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
}
.hero-text {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.home .intro-section {
  padding-top: 2.2rem;
}
.home .highlight-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.highlight-box,
.note-box,
.sponsor-card,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.highlight-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(243, 234, 220, 0.95)),
    var(--surface);
}
.highlight-box > div {
  max-width: 42rem;
}
.home .sponsor-section .section-header,
.home .founder-note .note-box,
.home .final-cta {
  max-width: 820px;
}
.sponsor-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 234, 220, 0.68));
  padding: 1.75rem;
}
.note-box {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.78);
  padding: 2rem;
}
.final-cta {
  margin: 0 auto;
  text-align: center;
  background: var(--text);
  color: #fff;
  padding: 2.4rem 1.4rem;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin: 0 auto 1.4rem;
}
.final-cta .button.primary {
  background: #fff;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(221, 211, 197, 0.9);
  padding: 2.5rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 1.5rem;
}
.footer-logo { display: inline-block; margin-bottom: 0.6rem; }
.site-footer h4 { margin-top: 0; margin-bottom: 0.5rem; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--text); }

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .card-grid.two,
  .card-grid.three,
  .card-grid.two-up,
  .card-grid.three-up,
  .footer-grid,
  .cta-box,
  .highlight-box {
    grid-template-columns: 1fr;
  }
  .cta-box {
    display: grid;
  }
  .highlight-box {
    display: grid;
  }
  .hero-card,
  .photo-block { min-height: 360px; }
}

@media (max-width: 760px) {
  .home .site-header {
    width: min(100% - 1.25rem, var(--max));
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.85rem 0;
  }
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
  }
  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
  }
  .site-nav a {
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.25rem 0;
  }
  .hero,
  .section,
  .page-hero { padding: 2.6rem 0; }
  .home .hero {
    padding-top: 3.2rem;
  }
  .hero-content {
    padding-top: 0.5rem;
  }
  .highlight-box,
  .note-box,
  .sponsor-card,
  .final-cta {
    border-radius: 22px;
  }
  .disclaimer-box {
    padding: 0.95rem 1rem;
  }
  .groups-hero {
    padding: 3rem 1rem 2rem;
  }
  .section-heading,
  .section-header {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }
  .container,
  .narrow { width: min(100% - 1.25rem, var(--max)); }
  .logo img {
    max-height: 28px;
  }
  .home .site-header,
  .nav-wrap {
    gap: 0.65rem;
  }
  .site-nav {
    gap: 0.35rem 0.5rem;
  }
  .site-nav a {
    font-size: 0.9rem;
  }
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .btn,
  .button { width: 100%; }
  .start-card .btn,
  .resource-action,
  .event-source {
    align-self: stretch;
  }
  .section,
  .page-hero {
    padding: 2.35rem 0;
  }
  .section-compact {
    padding-top: 0;
    padding-bottom: 1rem;
  }
  .start-here-resources,
  .aurora-resources-section,
  .start-here-section {
    padding-top: 1.75rem;
  }
  .listing-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }
  .listing-action {
    width: 100%;
    min-width: 0;
  }
  .listing-action .button {
    width: 100%;
    text-align: center;
  }
  .listing-meta {
    gap: 0.45rem;
  }
  .photo-caption h2 { font-size: 1.45rem; }
  .site-header { position: static; }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .page-hero h1 {
    font-size: 2.35rem;
    letter-spacing: -0.03em;
  }
  .section-heading h2,
  .section-header h2,
  .highlight-box h2,
  .note-box h2,
  .final-cta h2 {
    font-size: 2rem;
  }
  .page-main .lead,
  .hero-text,
  .resource-intro {
    font-size: 1rem;
  }
  .card,
  .sponsor-card,
  .note-box,
  .highlight-box,
  .final-cta {
    padding: 1.35rem;
  }
  .resource-card,
  .start-card,
  .event-card {
    gap: 0.8rem;
  }
  .resource-good-for {
    padding-top: 0.8rem;
  }
  .final-cta {
    border-radius: 20px;
  }
}
