/* Going Endo · Grounded Futurism palette */
:root {
  --teal: #123C3A;
  --teal-deep: #0B2726;
  --lime: #C7F36B;
  --ivory: #F5F3EA;
  --graphite: #252B2B;
  --sage: #B8C9BD;
  --mist: #E9EEE8;
  --white: #FFFFFF;
  --line: #DAD7CB;
  --muted: #4A5452;
  --on-dark: #D6E0DA;
  --radius: 20px;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--graphite);
  background: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.band-dark :focus-visible { outline-color: var(--lime); }
main :focus-visible, .site-header :focus-visible { box-shadow: 0 0 0 5px var(--teal); }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--teal); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.teal { color: var(--teal); }
.lime { color: var(--lime); }
.light { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: #3A4241; }
.lead.light { color: var(--on-dark); }
.narrow { max-width: 40rem; margin-bottom: 48px; }
.hidden { display: none; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--teal); color: var(--ivory); }
.btn-dark:hover { background: var(--teal-deep); color: var(--ivory); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--ivory); }
.btn-lime { background: var(--lime); color: var(--teal); font-weight: 700; }
.btn-lime:hover { background: #B6E655; color: var(--teal); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 234, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a:not(.btn) { text-decoration: none; padding: 10px 0; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--teal); width: 44px; height: 44px; cursor: pointer; border-radius: 8px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 12px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; }
  .nav-links .btn { margin-top: 8px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero-copy .lead { max-width: 34rem; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }

/* Bands */
.band-dark { background: var(--teal); color: var(--ivory); }
.band-mist { background: var(--mist); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 28px; }
.pillar { border-top: 2px solid var(--lime); padding-top: 24px; }
.pillar p:last-child { color: var(--on-dark); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-copy { flex: 999 1 520px; min-width: 0; }
.about-copy .lead { max-width: 38rem; margin-bottom: 36px; }
.about-copy h3 { font-size: 1.25rem; margin-bottom: 8px; }
.about-copy p:last-child { max-width: 38rem; color: var(--muted); }
.founder { flex: 1 1 320px; background: var(--mist); border: 1px solid var(--sage); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.founder-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.founder-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--sage); color: var(--teal); }
.founder h3 { color: var(--teal); margin-bottom: 0; }
.founder-title { font-weight: 600; color: var(--muted); margin-bottom: 12px !important; }

/* Session */
.session { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.session-copy { flex: 999 1 520px; min-width: 0; }
.session-copy .lead { max-width: 38rem; margin-bottom: 28px; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 38rem; }
.dots li { position: relative; padding-left: 26px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }

.ticket { flex: 1 1 320px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.price { font-family: var(--display); font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--teal); }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 0.95rem; }
.ticket dt { font-weight: 600; }
.ticket dd { margin: 0; }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid #CBD6CE; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { color: var(--teal); margin: 0; font-size: 1.6rem; }
.card-dark { background: var(--teal); color: var(--ivory); border-color: var(--teal); }
.card-dark h3 { color: var(--ivory); }
.card-dark p { color: var(--on-dark); }
.card-foot { margin-top: auto !important; font-size: 0.95rem; font-weight: 600; color: var(--teal); }
.card-dark .card-foot { color: var(--lime); }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; color: var(--teal); }
.tag-lime { background: var(--lime); }
.tag-sage { background: var(--sage); }
.tag-outline { background: var(--mist); border: 1px solid var(--sage); }

/* Topics */
.topics { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.topics-intro { flex: 1 1 320px; }
.topic-grid { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.topic { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.topic .t { font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--teal); margin-bottom: 4px; }
.topic .d { font-size: 0.875rem; color: var(--muted); }
.topic-dark { background: var(--teal); border-color: var(--teal); }
.topic-dark .t { color: var(--ivory); }
.topic-dark .d { color: var(--lime); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.partners-copy { flex: 999 1 520px; min-width: 0; }
.partners-copy .lead { max-width: 38rem; }
.partners-cta { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }

/* Signup */
.signup { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; }
.signup-intro { flex: 1 1 300px; }
.signup-form-wrap { flex: 999 1 440px; min-width: 0; }
form { display: flex; flex-direction: column; gap: 18px; }
form .btn { align-self: flex-start; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label, legend { font-size: 0.875rem; font-weight: 600; }
input[type="text"], input[type="email"] {
  font: inherit; padding: 14px 16px; border: 1.5px solid #B7B9B0; border-radius: 12px;
  background: var(--white); color: var(--graphite); min-height: 48px;
}
input::placeholder { color: #6B7470; }
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(18, 60, 58, 0.18); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; font-weight: 500; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #B7B9B0; background: var(--white); color: var(--teal); font-size: 0.95rem; transition: background-color .15s ease; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--lime), 0 0 0 5px var(--teal); }
.form-error { color: #9B2C1F; font-weight: 600; }
.thanks { background: var(--teal); color: var(--ivory); border-radius: 16px; padding: 32px; }
.thanks-title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.thanks p:last-child { color: var(--on-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; font-size: 0.875rem; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; max-width: 34rem; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; color: var(--teal); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Policy page */
.policy { max-width: 46rem; padding-top: 72px; }
.policy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.policy h2 { font-size: 1.5rem; color: var(--teal); margin: 40px 0 12px; }
.policy p, .policy ul { margin: 0 0 14px; }
.policy ul { padding-left: 22px; }
.policy li { margin-bottom: 6px; }
