/* ANCA Life — site styles. No inline styles anywhere, so the CSP can use style-src 'self'. */

:root {
  --teal: #195764;
  --teal-dark: #12434d;
  --sage: #80A874;
  --light: #AAD39C;
  --mint: #EAF3DE;
  --cream: #F6F3EA;
  --card: #FBF9F3;
  --sand: #E5DECA;
  --olive: #45441A;
  --ink: #282C15;
  --ink-deep: #1C2414;
  --error: #8a2b1d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.5; }
a { color: var(--teal); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--card); padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* Layout helpers */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.pad { padding-top: 88px; padding-bottom: 88px; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
section { scroll-margin-top: 80px; }

/* Type */
h1, h2, h3 { margin: 0; color: var(--teal); }
.serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.15; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); }
.lead { margin: 0; font-size: 18px; line-height: 1.6; }
.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

/* Buttons & chips */
.btn { display: inline-block; text-decoration: none; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 17px; border: 1.5px solid var(--teal); cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--teal); color: var(--card); }
.btn-primary:hover { background: var(--teal-dark); color: var(--card); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--mint); }
.btn-light { background: var(--card); color: var(--teal); border-color: var(--card); }
.btn-light:hover { background: var(--mint); color: var(--teal); }

.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--mint); color: var(--teal); }
.chip--teal { background: var(--teal); color: var(--card); }
.chip--olive { background: var(--olive); color: var(--card); }
.chip--light { background: var(--light); color: var(--ink-deep); }
.chip--lg { padding: 8px 16px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 234, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sand); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 600; color: var(--teal); letter-spacing: .03em; }
.brand-name i, .wordmark-italic { font-weight: 400; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a.btn { color: var(--card); padding: 12px 22px; font-size: 16px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text p { margin: 0; font-size: 20px; line-height: 1.55; max-width: 560px; }
.hero-art { flex: 1 1 320px; min-width: 0; background: var(--teal); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-art .chips { justify-content: center; gap: 10px; }

/* Workshops */
.band { background: var(--mint); }
.card { flex: 1 1 400px; min-width: 0; background: var(--card); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 32px; }
.card p { margin: 0; font-size: 17px; line-height: 1.6; }
.card ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.8; }
.note { font-size: 14px; color: var(--olive); }
.card .note { font-size: 14px; }

.teamday { background: var(--teal); color: var(--mint); border-radius: 24px; padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.teamday-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.teamday h3 { color: var(--card); font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 32px; }
.teamday p { margin: 0; font-size: 17px; line-height: 1.6; }

/* How it works */
.step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 48px; color: var(--sage); line-height: 1; }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { margin: 0; font-size: 17px; line-height: 1.6; }

/* About */
.about { background: var(--teal); color: var(--mint); }
.about h2 { color: var(--card); }
.about-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text p { margin: 0; font-size: 18px; line-height: 1.65; }
.people { flex: 1 1 440px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.person { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 200px; text-align: center; }
.person img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--light); }
.person .name { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--card); }
.person .role { font-size: 14px; line-height: 1.5; }

/* Contact & form */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-text h2 { font-size: clamp(34px, 4.8vw, 48px); line-height: 1.1; }
.contact-alt { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.contact-alt span { color: var(--olive); }
.contact-alt a { font-weight: 600; font-size: 18px; }

.form { flex: 999 1 520px; min-width: 0; background: var(--card); border: 1px solid var(--sand); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field--full { flex-basis: 100%; }
.field label { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--olive); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #B9C7B0; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.field textarea { resize: vertical; }

/* Honeypot: off-screen (not display:none, which some bots detect). Humans never see or tab into it. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.turnstile-wrap { flex-basis: 100%; }
.form-foot { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: 13px; color: var(--olive); flex: 1 1 260px; }
.form-error { flex-basis: 100%; margin: 0; color: var(--error); font-size: 15px; }
.form-thanks { flex-basis: 100%; text-align: center; padding: 40px 12px; }
.form-thanks h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 32px; margin-bottom: 12px; }
.form-thanks p { margin: 0; font-size: 17px; }
.is-hidden { display: none !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--sand); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--olive); }

/* Plain text pages (privacy, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 32px 96px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 36px 0 12px; }
.page p, .page li { font-size: 17px; line-height: 1.7; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links { gap: 16px; font-size: 15px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .pad { padding-top: 64px; padding-bottom: 64px; }
  .card, .form { padding: 24px; }
  .hero-art { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
