/* ===== Design tokens (see HANDOFF.md → Color system) ===== */
:root{
  --sky:#DCE9F0;        /* page background — pastel blue */
  --sky-deep:#B9D3E2;   /* photo placeholders, RSVP buttons */
  --mist:#F5F9FA;       /* cards / light surfaces */
  --spruce:#1C3A3A;     /* primary ink, main buttons, dark panel */
  --spruce-hover:#12292B;
  --spruce-mid:#2E5E5A; /* labels, eyebrows, quote band */
  --fern:#5A8C88;       /* logo second ring */
  --seaglass:#C3DEDC;   /* light accent on the dark panel */
  --seaglass-text:#C6DCDE;
  --text:#38535A;       /* body copy */
  --text-soft:#4A646B;  /* secondary meta text */
  --line:#A9C4C8;       /* dividers */
  --field:#98B4BA;      /* input borders */
  --butter:#FFF3C4;     /* pastel yellow — ONLY on blue backgrounds */
  --navy:#1E3550;       /* text/buttons on yellow (never green on yellow) */
  --butter-ink:#FFFBEA;
  --wrap:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sky);color:var(--spruce);font-family:'Hanken Grotesk',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--spruce)}a:hover{color:var(--spruce-hover)}
img{max-width:100%;display:block}
input,textarea,button{font:inherit}
input:focus,textarea:focus{outline:2px solid var(--spruce);outline-offset:1px}
:focus-visible{outline:2px solid var(--spruce);outline-offset:2px}
.wrap{max-width:var(--wrap);margin:0 auto}
.eyebrow{margin:0;font-size:14px;font-weight:600;color:var(--spruce-mid)}
.h2{margin:0;font-size:clamp(30px,4vw,44px);font-weight:700;letter-spacing:-0.03em}
.lede{margin:0;max-width:560px;font-size:17px;line-height:1.55;color:var(--text)}
.stack{display:flex;flex-direction:column}
.card{background:var(--mist);border-radius:16px}
.photo{border-radius:20px;background:var(--sky-deep);display:flex;align-items:flex-end;padding:18px}
.photo span{font-size:13px;color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;text-decoration:none;font-weight:700;white-space:nowrap}
.btn-primary{height:54px;padding:0 24px;border-radius:14px;background:var(--spruce);color:#fff;font-size:16px}
.btn-primary:hover{background:var(--spruce-hover);color:#fff}
.btn-outline{height:54px;padding:0 18px;border-radius:14px;border:1.5px solid var(--spruce);color:var(--spruce);font-size:15px;font-weight:600;background:transparent}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.field input,.field textarea{padding:0 14px;border-radius:12px;border:1.5px solid var(--field);background:#fff;color:var(--spruce);font-size:16px;width:100%}
.field input{height:48px}
.field textarea{padding:12px 14px;resize:vertical}
.visually-hidden{position:absolute;left:-9999px}

/* Header */
.site-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px}
.logo{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap;font-size:17px;font-weight:700;letter-spacing:-0.02em;text-decoration:none}
.tm{font-size:.5em;font-weight:600;margin-left:1px}
.nav{display:flex;align-items:center;gap:2px;flex-shrink:0}
.nav a{display:flex;align-items:center;height:44px;padding:0 6px;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none}
.nav .say-hello{padding:0 14px;border-radius:12px;background:var(--butter);color:var(--navy)}

/* Hero */
.hero{padding:8px 12px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:8px;align-items:center}
.hero .photo{min-height:340px;height:100%}
.hero-copy{padding:32px 8px 40px;gap:20px}
.hero h1{margin:0;font-weight:700;font-size:clamp(48px,7vw,84px);line-height:.98;letter-spacing:-0.035em}
.hero-sub{margin:0;max-width:460px;font-size:18px;line-height:1.5;color:var(--text)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}
.hero-ctas .btn-primary{flex-grow:1;max-width:280px}

/* Belief */
.belief{padding:40px 12px 0}
.belief-card{padding:clamp(28px,4vw,44px) 20px;border-radius:20px;background:var(--mist);gap:14px;align-items:center;text-align:center}
.belief-line{margin:0;max-width:720px;font-size:clamp(24px,3.4vw,40px);font-weight:600;line-height:1.2;letter-spacing:-0.02em}
.belief-body{margin:0;max-width:560px;font-size:17px;line-height:1.6;color:var(--text)}

/* What we do */
.section{padding:72px 20px 0;gap:24px}
.section-intro{gap:10px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.practice{padding:24px;gap:10px}
.practice .num{font-size:14px;font-weight:700;color:var(--spruce-mid)}
.practice h3{margin:0;font-size:20px;font-weight:700}
.practice p{margin:0;font-size:16px;line-height:1.55;color:var(--text)}

/* Quote band */
.quote{padding:88px 20px 16px;display:flex;justify-content:center;text-align:center}
.quote p{margin:0;max-width:760px;font-size:clamp(30px,4.6vw,52px);font-weight:600;line-height:1.15;letter-spacing:-0.03em;color:var(--spruce-mid)}

/* First gathering (dark panel) */
.first{padding:72px 12px 0}
.first-panel{padding:clamp(32px,5vw,56px) 20px;border-radius:20px;background:var(--spruce);color:var(--mist)}
.first-copy{gap:14px}
.first-panel.with-photo{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;align-items:center}
.first-panel .label{margin:0;font-size:14px;font-weight:600;color:var(--seaglass)}
.first-panel h2{margin:0;font-size:clamp(28px,3.6vw,40px);font-weight:700;line-height:1.1;letter-spacing:-0.03em}
.first-panel p.body{margin:0;max-width:620px;font-size:16px;line-height:1.6;color:var(--seaglass-text)}
.btn-ask{align-self:flex-start;height:52px;padding:0 22px;margin-top:6px;border-radius:14px;background:var(--seaglass);color:var(--spruce);font-size:16px}

/* Events */
.section-tight{padding:72px 20px 0;gap:20px}
.events-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.event{display:flex;gap:16px;padding:18px}
.event-date{flex-shrink:0;width:56px;height:64px;border-radius:12px;background:var(--spruce);color:var(--mist);display:flex;flex-direction:column;align-items:center;justify-content:center}
.event-date .m{font-size:12px;font-weight:600;letter-spacing:.08em}
.event-date .d{font-size:24px;font-weight:700;line-height:1}
.event-photo{flex-shrink:0;width:96px;height:96px;object-fit:cover;border-radius:12px;background:var(--sky-deep)}
.event-body{gap:6px;flex-grow:1}
@media (max-width:600px){
  .event{flex-wrap:wrap}
  .event-photo{order:-1;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .event-body{flex-basis:0}
}
.event-body h3{margin:0;font-size:18px;font-weight:700}
.event-meta{margin:0;font-size:14px;color:var(--text-soft)}
.event-blurb{margin:0;font-size:15px;line-height:1.45;color:var(--text)}
.btn-rsvp{align-self:flex-start;height:44px;padding:0 18px;margin-top:4px;border-radius:12px;background:var(--sky-deep);color:var(--spruce);font-size:15px}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.member{padding:16px;gap:8px}
.member .photo{aspect-ratio:1/1;border-radius:12px;padding:12px;margin-bottom:6px}
.member h3{margin:0;font-size:19px;font-weight:700}
.member .role{margin:0;font-size:14px;font-weight:600;color:var(--spruce-mid)}
.member .bio{margin:0;font-size:15px;line-height:1.5;color:var(--text)}

/* FAQ */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;font-size:18px;font-weight:600}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{font-size:24px;font-weight:400;transition:transform .2s}
.faq details[open] .plus{transform:rotate(45deg)}
.faq p{margin:0 0 20px;font-size:16px;line-height:1.6;color:var(--text)}

/* Contact + signup */
.contact{padding:72px 12px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.form-card{padding:28px 20px;border-radius:20px;gap:16px}
.form-card h2{margin:0;font-size:28px;font-weight:700;letter-spacing:-0.025em}
.form-card p{margin:0;font-size:16px;line-height:1.5;color:var(--text)}
.form-card .btn{height:52px;border-radius:14px;font-size:16px}
.form-contact{background:var(--mist)}
.form-contact .btn{background:var(--spruce);color:var(--mist)}
.form-signup{background:var(--butter);color:var(--navy);align-self:start}
.form-signup p{color:var(--navy)}
.form-signup .field input{border-color:var(--navy);color:var(--navy)}
.form-signup .btn{background:var(--navy);color:var(--butter-ink)}
.form-status{font-size:15px;font-weight:600}

/* Footer */
.site-footer{padding:72px 20px 40px;gap:24px}
.closer{margin:0;font-size:clamp(28px,4vw,44px);font-weight:700;letter-spacing:-0.03em}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:24px;border-top:1px solid var(--line)}
.footer-info{gap:6px;font-size:15px;color:var(--text)}
.footer-info .brand{font-weight:700;color:var(--spruce)}
.footer-info .tm{font-size:.6em}
.socials{display:flex;gap:4px;align-items:flex-start}
.socials a{display:flex;align-items:center;height:44px;padding:0 10px;font-size:15px;font-weight:600}

/* Ask-us-anything dialog */
dialog.ask{width:calc(100% - 32px);max-width:460px;max-height:calc(100% - 32px);padding:28px 22px;border:0;border-radius:20px;background:var(--mist);color:var(--spruce)}
dialog.ask::backdrop{background:rgba(18,41,43,.55)}
.ask-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.ask-head h2{margin:0;font-size:26px;font-weight:700;letter-spacing:-0.025em}
.ask-close{flex-shrink:0;width:44px;height:44px;margin:-8px -8px 0 0;border:0;border-radius:12px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ask form,.ask .ask-thanks,.ask .dialog-thanks{display:flex;flex-direction:column;gap:16px}
.ask p{margin:0;font-size:16px;line-height:1.5;color:var(--text)}
.ask .btn{height:52px;border-radius:14px;background:var(--spruce);color:var(--mist);font-size:16px}
[hidden]{display:none !important}

/* ===== Desktop refinements (phone layout is the default) ===== */
@media (min-width: 900px){
  .site-header{padding:20px 40px}
  .hero,.belief,.first,.contact{padding-left:40px;padding-right:40px}
  .section,.section-tight,.quote,.site-footer{padding-left:40px;padding-right:40px}
  .hero{gap:32px}
  .belief-card{max-width:860px;margin:0 auto;padding:44px 48px}
  .first-panel{max-width:860px;margin:0 auto;padding:64px}
  .contact{max-width:960px;margin:0 auto;gap:20px}
  .form-card{padding:36px 32px}
}

/* Team photos (real images) */
.member img.photo{width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--sky-deep);border-radius:12px;margin-bottom:6px;padding:0}

/* Uploaded photos (hero, belief) */
.hero .photo,.belief-photo,.first-photo{position:relative;overflow:hidden}
/* Uploaded photos show whole, at their own proportions, never cropped */
.hero .photo img,.belief-photo img,.first-photo img{display:block;width:100%;height:auto;border-radius:inherit}
.photo.has-img{padding:0;aspect-ratio:auto;min-height:0;height:auto}
.hero .photo.has-img{align-self:center}
.photo.has-img .photo-caption{display:none}
.belief-photo{width:100%;max-width:640px;aspect-ratio:16/9;margin-top:10px;border-radius:16px;padding:14px;background:var(--mist)}
.first-photo{width:100%;aspect-ratio:4/3;border-radius:16px;padding:14px;background:var(--spruce)}
.first-photo .photo-caption{color:var(--seaglass-text)}

/* Team cards: horizontal on phones so one headshot doesn't fill the screen */
@media (max-width:600px){
  .member{display:grid;grid-template-columns:110px 1fr;column-gap:14px;align-items:start}
  .member .photo,.member img.photo{grid-row:1/4;width:110px;margin:0}
  .member h3,.member .role,.member .bio{grid-column:2}
  .member .bio{margin-top:4px}
}

/* Resources */
.resources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.resources-grid>.lede{grid-column:1/-1}
.resource{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--spruce)}
.resource img,.resource-blank{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:12px;background:var(--mist)}
.resource-title{font-size:15px;font-weight:600;line-height:1.3}
.resource-cta{font-size:14px;font-weight:600;color:var(--spruce-mid)}
.resource:hover .resource-cta{color:var(--spruce);text-decoration:underline}
