:root {
  --ink: #304e5d;
  --muted: #59636a;
  --paper: #f8f7f3;
  --white: #ffffff;
  --line: #d9dcd8;
  --orange: #f47b25;
  --orange-dark: #af4615;
}

@property --question-rim-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,247,243,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.wordmark { display: block; flex: none; width: 260px; line-height: 0; }
.brand-lockup { display: block; width: 100%; height: auto;  }
.wordmark:focus-visible { outline: 2px solid var(--orange-dark); outline-offset: 6px; }

.nav-links { display: flex; gap: 29px; align-items: center; }
.nav-links a { font-size: .88rem; font-weight: 550; color: #3c4b51; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible,
.mobile-panel a:hover, .mobile-panel a:focus-visible,
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--orange-dark); }

.landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  background: var(--paper);
  color: var(--ink);
}
.landing-landscape {
  display: block;
  order: 2;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 239;
  margin-top: auto;
  pointer-events: none;
}
.landing-grid {
  padding-top: clamp(24px, 5svh, 48px);
  padding-bottom: 28px;
}
.landing-main { max-width: 900px; }
.landing-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 900px;
  margin: 0;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.hero-copy {
  max-width: 670px;
  margin: clamp(28px, 4vh, 42px) 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--orange);
  font-size: clamp(1.1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
  color: #46565d;
}
.home-message { max-width: 670px; margin-top: clamp(28px, 4vh, 42px); }
.home-message h2 { color: var(--orange); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.question-section { max-width: 670px; margin-top: clamp(28px, 4vh, 42px); }
.question-form { display: grid; gap: 10px; }
.question-form textarea,
.question-form input {
  width: 100%;
  border: 1px solid #bfc7c9;
  border-radius: 3px;
  background: rgb(255 255 255 / 72%);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
}
.question-form textarea {
  --question-rim-angle: 0deg;
  min-height: 104px;
  resize: vertical;
  padding: 15px 16px;
  border: 2px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    conic-gradient(from var(--question-rim-angle), var(--orange), #ffc39d, var(--orange), var(--orange-dark), var(--orange)) border-box;
  box-shadow: 0 6px 18px rgb(48 78 93 / 8%);
  animation: question-rim 7s linear infinite;
}
@keyframes question-rim { to { --question-rim-angle: 360deg; } }
.question-form input { min-width: 0; padding: 11px 13px; }
.question-form textarea::placeholder,
.question-form input::placeholder { color: #7b8589; opacity: 1; }
.question-form textarea:focus-visible { outline: none; box-shadow: 0 8px 24px rgb(244 123 37 / 18%); }
.question-form input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-color: var(--orange); }
.question-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.question-email-step { display: grid; gap: 8px; }
.question-email-step[hidden] { display: none; }
.question-form button { border: 1px solid var(--orange); border-radius: 3px; padding: 10px 17px; background: var(--paper); color: var(--orange-dark); font: inherit; font-weight: 600; cursor: pointer; }
.question-form .question-next { justify-self: start; }
.question-form button:hover,
.question-form button:focus-visible { background: #fff7f1; border-color: var(--orange-dark); }
.question-form button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.question-form button:disabled { cursor: wait; opacity: .65; }
.question-status { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.question-status:empty { display: none; }
.question-status.is-error { color: #8a3415; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page-hero { padding: 84px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.06; }
.page-hero p { max-width: 720px; font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin-top: 28px; }
.page-hero .kicker { color: var(--orange-dark); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.content-section { padding: 64px 0 90px; }
.content-narrow { max-width: 780px; }
.content-narrow h2 { font-size: 2rem; letter-spacing: -.04em; margin: 42px 0 12px; }
.content-narrow p { font-size: 1.08rem; line-height: 1.7; color: #3f4b50; }
.text-link { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .18em; }
.text-link:hover, .text-link:focus-visible { color: var(--orange); }
.callout { margin-top: 42px; padding: 28px; border: 1px solid var(--line); background: white; }
.callout h3 { margin: 0 0 12px; font-size: 1.4rem; }
.callout p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.footer-motto { color: var(--ink); font-weight: 700; }
.connect-line {
  flex-basis: 100%;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.footer-connect-only .connect-line { padding-top: 0; margin-top: 0; border-top: 0; }
.connect-label { color: var(--ink); font-weight: 700; }
.connect-line a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .18em; }
.connect-email { overflow-wrap: anywhere; }
.connect-note { font-size: .82em; color: #7a8388; }

.mobile-trigger { display: none; background: none; border: 0; color: var(--ink); font: inherit; padding: 8px; cursor: pointer; }
.mobile-panel { display: none; }

@media (min-width: 761px) and (max-width: 900px) {
  .wordmark { width: 250px; }
  .nav-links { gap: 16px; }
  .nav { gap: 16px; }
  .nav-links a { font-size: .8rem; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1120px); }
  .nav { min-height: 68px; gap: 12px; }
  .wordmark { width: min(220px, calc(100vw - 104px)); }
  .nav-links { display: none; }
  .mobile-trigger { display: block; }
  .mobile-panel.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    padding: 8px 16px 18px;
  }
  .mobile-panel a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .connect-line { align-items: flex-start; gap: 10px 18px; }
  .connect-label { flex-basis: 100%; }
  .landing-grid {
    padding-top: clamp(20px, 3svh, 32px);
    padding-bottom: 20px;
  }
  .landing-title { font-size: clamp(1.8rem, 10.5vw, 3.2rem); white-space: nowrap; }
  .hero-copy { margin-top: 24px; padding-left: 17px; font-size: 1rem; line-height: 1.55; }
  .home-message h2 { font-size: clamp(1.25rem, 6.6vw, 1.65rem); line-height: 1.1; letter-spacing: -.045em; white-space: nowrap; }
  .question-form-row { grid-template-columns: 1fr; }
  .question-form button { width: 100%; }
  .page-hero { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-links a { transition: none; }
  .question-form textarea { animation: none; }
}

.content-narrow > p + p { margin-top: 1rem; }

.home-page { min-height: 100svh; display: flex; flex-direction: column; }
.home-page .site-footer { flex-grow: 0; background: var(--paper); border-top: 0; }

/* Keep the overview compact without clipping enlarged text or short screens. */
body { min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.home-page > main { flex: 1 0 auto; display: flex; min-height: 0; }
.home-page .landing { flex: 1; flex-direction: column; }
.home-page .landing-grid { flex: 1 0 auto; }
.home-page .landing-main { width: 100%; }
.site-header, .site-footer { flex-shrink: 0; }
.page-hero { padding: clamp(24px, 4svh, 40px) 0 22px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
.page-hero p { margin-top: 14px; font-size: 1.05rem; line-height: 1.5; }
.page-hero .kicker { margin-top: 0; margin-bottom: 8px; }
.content-section { padding: 22px 0 28px; }
.content-narrow h2 { margin: 20px 0 8px; font-size: 1.4rem; }
.content-narrow h2:first-child { margin-top: 0; }
.content-narrow p { font-size: 1rem; line-height: 1.5; }
.callout { margin-top: 20px; padding: 16px 20px; }
.callout h3 { font-size: 1.1rem; margin-bottom: 8px; }
.footer-inner { gap: 12px; }
.connect-line { padding-top: 12px; }
@media (max-width: 760px) {
  .mobile-panel.open { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); box-shadow: 0 10px 16px rgb(48 78 93 / 12%); }
  .site-footer { padding: 18px 0; }
}
@media (max-height: 700px) {
  .landing-grid { padding-top: 20px; }
  .landing-title { font-size: clamp(2.6rem, 7.5vw, 5rem); }
  .hero-copy { margin-top: 20px; font-size: 1rem; line-height: 1.45; }
  .site-footer { padding: 16px 0; }
}

.meetup-hero, .education-hero, .private-help-hero, .local-economy-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.meetup-artwork, .education-artwork, .private-help-artwork, .local-economy-artwork { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 760px) {
  .meetup-hero, .education-hero, .private-help-hero, .local-economy-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.page-details > summary { display: none; }
@media (max-width: 760px), (max-height: 600px) {
  .page-details > summary { display: list-item; cursor: pointer; padding: 12px 0; color: var(--orange-dark); font-weight: 700; }
  .page-details > summary:focus-visible { outline: 2px solid var(--orange-dark); outline-offset: 4px; }
  .page-details[open] > summary { margin-bottom: 12px; }
  .content-section { padding: 8px 0 16px; }
  .page-hero { padding: 20px 0 16px; }
  .page-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
  .page-hero p { font-size: 1rem; line-height: 1.45; }
  .footer-inner > div:not(.connect-line) { display: none; }
  .connect-line { border-top: 0; padding-top: 0; margin-top: 0; }
}

/* Four clear next steps, with the original low mountain silhouette below. */
.home-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 900px; }
.home-paths a { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: rgb(255 255 255 / 65%); }
.home-path-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 1.05rem; font-weight: 700; }
.home-path-title > span { color: var(--orange-dark); }
.home-path-description { color: var(--muted); font-size: .94rem; line-height: 1.4; }
.home-paths a:hover { border-color: var(--orange-dark); background: white; }
.home-paths a:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
@media (min-width: 1100px) {
  .home-paths { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
  .home-page .landing-main { max-width: none; }
}
@media (max-width: 760px) {
  .home-paths { margin-top: 20px; gap: 8px; }
  .home-paths a { padding: 12px; gap: 6px; }
  .home-path-title { font-size: .9rem; }
  .home-path-description { font-size: .82rem; }
}
@media (max-height: 700px) {
  .home-page .landing-grid { padding-top: 16px; padding-bottom: 12px; }
  .home-paths { margin-top: 16px; gap: 8px; }
  .home-paths a { padding: 10px 12px; gap: 4px; }
}
@media (max-height: 500px) and (min-width: 761px) {
  .home-paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-path-description { font-size: .8rem; }
  .home-path-title { font-size: .88rem; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .home-page .landing-grid { padding-top: 24px; padding-bottom: 16px; }
}
@media (max-width: 360px) and (max-height: 620px) {
  .home-page .landing-title { font-size: 2rem; }
  .home-page .hero-copy { margin-top: 14px; font-size: .9rem; line-height: 1.4; }
  .home-paths a { padding: 8px; }
  .home-page .site-footer { padding: 12px 0; }
}
@media (max-height: 500px) and (min-width: 761px) {
  .home-page .landing-grid { padding-top: 16px; }
}

@media (max-width: 360px) and (max-height: 620px) {
  .home-page .connect-line { gap: 6px 12px; }
  .home-page .landing-grid { padding-top: 12px; padding-bottom: 8px; }
}

/* Fit the opening scene to the viewport; let expanded forms and zoom scroll. */
.home-page .nav { min-height: 64px; }
.home-page .wordmark { width: 224px; }
.home-page .landing-grid {
  padding-top: clamp(16px, 3svh, 32px);
  padding-bottom: clamp(12px, 2svh, 22px);
}
.home-page .landing-title { font-size: clamp(2rem, min(6.2vw, 9svh), 4.75rem); }
.home-page .hero-copy {
  margin-top: clamp(12px, 2.2svh, 22px);
  padding-left: 18px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}
.home-page .home-message,
.home-page .question-section { margin-top: clamp(16px, 2.6svh, 26px); }
.home-page .home-message h2 { font-size: clamp(1.3rem, 2.8vw, 2rem); }
.home-page .question-form textarea { min-height: 80px; padding: 11px 14px; }
.home-page .landing-landscape { max-height: 23svh; }
.home-page .site-footer { padding: 14px 0; }
@media (max-width: 760px) {
  .home-page .nav { min-height: 60px; }
  .home-page .wordmark { width: min(200px, calc(100vw - 104px)); }
  .home-page .landing-title { font-size: clamp(1.8rem, 9.5vw, 3.2rem); }
  .home-page .home-message h2 { font-size: clamp(1.2rem, 5.8vw, 1.65rem); }
  .home-page .hero-copy { padding-left: 14px; line-height: 1.45; }
  .home-page .site-footer { padding: 12px 0; }
  .home-page .connect-line { gap: 6px 14px; font-size: .82rem; }
  .home-page .connect-label { flex-basis: auto; }
  .home-page .question-form textarea { min-height: 96px; }
  .home-page .mobile-trigger { min-width: 44px; min-height: 44px; }
  .home-page .landing-title,
  .home-page .home-message h2 { white-space: normal; text-wrap: balance; }
}

@media (max-width: 360px) and (max-height: 620px) {
  .home-page .landing-grid { padding-top: 12px; padding-bottom: 8px; }
  .home-page .hero-copy { margin-top: 10px; }
  .home-page .home-message,
  .home-page .question-section { margin-top: 12px; }
}
