:root {
  color-scheme: light;
  --ink: #251414;
  --muted: #7a5750;
  --paper: #fffbe8;
  --cream: #fff7d6;
  --charcoal: #2d1614;
  --red: #d12e2e;
  --coral: #f17b5d;
  --line: rgba(209, 46, 46, 0.18);
  --shadow: 0 24px 80px rgba(209, 46, 46, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fffbe8;
  transition: background 240ms ease, color 240ms ease, border 240ms ease;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(255, 251, 232, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 98px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  transition: filter 180ms ease, opacity 180ms ease;
}

.site-header:hover .brand-logo,
.brand:hover .brand-logo,
.site-header.scrolled .brand-logo,
.site-header.open .brand-logo {
  filter: brightness(0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 86px) 54px;
  background: var(--red);
  color: #fffbe8;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

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

.eyebrow,
.section-kicker,
.label {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  width: min(46vw, 620px);
  max-height: 46vh;
  margin: 0 auto;
  object-fit: contain;
}

.hero-copy {
  max-width: 640px;
  margin: 24px auto 0;
  color: #fffbe8;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.22;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  background: #fffbe8;
  color: var(--red);
}

.button.secondary {
  border-color: #fffbe8;
  color: #fffbe8;
}

.hero-note {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  margin: 42px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 251, 232, 0.42);
  text-align: center;
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 251, 232, 0.66);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-note strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.section {
  scroll-margin-top: 92px;
  padding: clamp(36px, 4.6vw, 60px) clamp(20px, 6vw, 86px);
}

.intro {
  background: var(--paper);
}

.intro-grid,
.split,
.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 92px);
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.5vw, 3.45rem);
  font-weight: 700;
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.02;
}

p {
  color: var(--muted);
}

.intro-copy {
  align-self: end;
  max-width: 650px;
  font-size: 1.04rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principles article {
  min-height: 170px;
  padding: 24px;
  background: #fffbe8;
}

.principles span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
}

.principles h3 {
  color: var(--red);
}

.split {
  background: var(--coral);
  color: var(--ink);
}

.split p {
  color: rgba(37, 20, 20, 0.72);
}

.gathering-list {
  display: grid;
  gap: 18px;
}

.gathering {
  border-top: 1px solid var(--line);
  padding: 26px 0 14px;
}

.date {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.text-link {
  flex: 0 0 auto;
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-size: 0.96rem;
}

.themes {
  background: var(--red);
  color: #fffbe8;
}

.themes p {
  color: rgba(255, 251, 232, 0.7);
}

.theme-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.theme-pill {
  min-height: 42px;
  border: 1px solid rgba(255, 251, 232, 0.28);
  background: transparent;
  color: #fffbe8;
  padding: 10px 16px;
  cursor: pointer;
}

.theme-pill.active {
  background: #fffbe8;
  color: var(--red);
  border-color: #fffbe8;
}

.theme-panel {
  display: grid;
  grid-template-columns: 0.38fr 0.9fr 0.78fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid rgba(255, 251, 232, 0.24);
  padding-top: 24px;
}

.theme-panel h3 {
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.04;
}

.community {
  background: #fffbe8;
}

.community h2 {
  max-width: 1040px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: rgba(209, 46, 46, 0.18);
  border: 1px solid rgba(209, 46, 46, 0.18);
}

.community-grid article {
  min-height: 165px;
  padding: 26px;
  background: #fffbe8;
}

.community-grid strong,
.community-grid span {
  display: block;
}

.community-grid strong {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.community-grid span {
  color: var(--muted);
}

.journal {
  background: var(--paper);
  color: var(--ink);
}

.journal p {
  color: var(--muted);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.journal-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: #f17b5d;
  box-shadow: var(--shadow);
}

.journal-grid article:nth-child(2) {
  background: #fff1c2;
}

.journal-grid article:nth-child(2) h3 {
  color: var(--ink);
}

.journal-grid article:nth-child(3) {
  background: #d12e2e;
  color: #fffbe8;
}

.journal-grid article:nth-child(3) p {
  color: rgba(255, 251, 232, 0.74);
}

.journal-grid p {
  margin: 0;
  color: rgba(37, 20, 20, 0.66);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.journal-grid h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
}

.apply {
  background: var(--coral);
}

.apply-copy p,
.apply-copy ul {
  max-width: 560px;
}

.apply-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.apply-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: #fffbe8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid rgba(209, 46, 46, 0.24);
  background: #fff7d6;
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 0;
}

.apply-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  background: var(--charcoal);
  color: #fffbe8;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(20px, 6vw, 86px);
  background: var(--red);
  color: #fffbe8;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 251, 232, 0.64);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    padding: 14px 18px;
    background: rgba(255, 251, 232, 0.94);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    backdrop-filter: blur(16px);
  }

  .brand-logo {
    width: 88px;
    height: 42px;
    filter: brightness(0);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(255, 251, 232, 0.98);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .site-header.open .nav {
    display: grid;
  }

  .nav a {
    padding: 13px 0;
    border-top: 1px solid rgba(209, 46, 46, 0.14);
  }

  .nav-cta {
    margin-top: 8px;
    padding: 12px 14px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 112px 20px 44px;
  }

  .hero-logo {
    width: min(82vw, 420px);
    max-height: 36vh;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    scroll-margin-top: 82px;
    padding: 54px 20px;
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 0.96;
  }

  .intro-grid,
  .split,
  .apply,
  .theme-panel,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .principles,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .community-grid article,
  .journal-grid article {
    min-height: auto;
  }

  .principles span,
  .community-grid strong {
    margin-bottom: 24px;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 16px;
  }

  .theme-track {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .theme-pill {
    flex: 0 0 auto;
  }

  .footer {
    display: grid;
    padding: 30px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .hero {
    min-height: auto;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
