/* AI Natives – shared styles. Page-specific values stay inline, exactly as in the design files. */
:root {
  --headline: 'Megrim';
  --headline-weight: 400;
}
body { margin: 0; background: #22665F; -webkit-font-smoothing: antialiased; }
a { color: #CFB3E8; }
a:hover { color: #F3FFF8; }
[hidden] { display: none !important; }

/* Headlines: Megrim (Anton fallback) with a subtle outline thickening */
.hl {
  font-family: var(--headline), 'Anton', sans-serif;
  font-weight: var(--headline-weight);
  -webkit-text-stroke: 0.018em currentColor;
  paint-order: stroke fill;
}

/* Hover states (inline styles set the resting state, so these need !important) */
.hov-btn:hover { background: #DCC6F0 !important; color: #16161A !important; }
.hov-submit:hover { background: #DCC6F0 !important; }
.hov-arrow:hover { background: rgba(207,179,232,1) !important; }
.hov-map:hover { background: #16161A !important; color: #F3FFF8 !important; }

/* Home marquee */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { [style*="animation:marquee"] { animation-duration: 120s !important; } }

/* Program carousel */
[data-carousel-rail]::-webkit-scrollbar { display: none; }

/* Home hero on phones: shift the crop so the eye sits just right of centre (desktop unchanged) */
@media (max-width: 700px) { .home-hero-img { object-position: 63% top !important; } }

/* Phones: home headlines as large as the width allows; more space above the header */
@media (max-width: 700px) {
  .home-h1 { font-size: calc((100vw - 2 * clamp(20px, 8vw, 150px)) / 7.2) !important; }
  .home-h2 { font-size: calc((100vw - 2 * clamp(20px, 8vw, 150px)) / 7.5) !important; }
  .site-header { padding-top: 40px !important; }
}

/* Become AI Native hero on phones: keep the face (right side of the artwork) in frame */
@media (max-width: 700px) { .become-hero-img { object-position: 22% center !important; } }

/* Newsletter essays (home) and outline buttons */
.nl-card { transition: transform .2s ease, box-shadow .2s ease; }
.nl-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.nl-card:hover .nl-more { color: #22665F !important; }
.hov-outline:hover { background: #CFB3E8 !important; color: #16161A !important; }
@media (prefers-reduced-motion: reduce) { .nl-card, .nl-card:hover { transition: none; transform: none; } }

/* Sign-up forms (hub, events, appointments) – same look as the contact and book forms */
.f-form { display: flex; flex-direction: column; gap: 22px; font-size: clamp(17px, 1.2vw, 22px); }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.f-label { display: flex; flex-direction: column; gap: 8px; }
.f-label > span > span { opacity: .6; margin-left: 6px; }
.f-input { height: 60px; padding: 0 14px; border: 1px solid #16161A; border-radius: 0; background: #FAFAFA; font: inherit; color: #16161A; box-sizing: border-box; width: 100%; }
textarea.f-input { height: auto; padding: 14px; resize: vertical; }
.f-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-submit { align-self: flex-start; padding: 22px 46px; border: 0; border-radius: 6px; background: #CFB3E8; color: #16161A; font: inherit; font-size: clamp(20px, 1.5vw, 26px); cursor: pointer; }
.f-submit:hover { background: #DCC6F0; }
.f-submit[disabled] { opacity: .6; cursor: wait; }
.f-note { margin: 0; font-size: 15px; line-height: 1.5; opacity: .8; }
.f-done { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(243,255,248,.4); border-radius: 6px; font-size: clamp(18px, 1.3vw, 23px); line-height: 1.5; }
.f-done p { margin: 0; }
/* a past event keeps its description but loses its sign-up form */
[data-events-past] form { display: none; }

/* Kassandra (Hub page): the research behind the Hub, in its own terminal look */
.kass-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.kass ::selection { background: #C8FF00; color: #050505; }
.kass-step { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 0 0; font-size: 14px; line-height: 1.55; color: #8A897E; }
.kass-step span { color: #C8FF00; font-size: 12px; letter-spacing: .2em; }
.kass-step strong { color: #E8E6DF; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.kass-note { transition: transform .2s ease, box-shadow .2s ease; }
.kass-note:hover { color: #E8E6DF; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.kass-note:hover .kass-more { color: #F3FFF8 !important; }
.kass-note .kass-cta { transition: filter .2s ease; }
.kass-note:hover .kass-cta { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .kass-note, .kass-note:hover { transition: none; transform: none; } }
@media (max-width: 700px) { .kass-note-img { display: none !important; } }
