/* ===== Resolve brand layer over the Calm coaching layout (calm.css) =====
   Colours are Resolve's own (from the launch poster, see BRAND.md): navy #0d2947, accent #3f6d9e,
   powder blues #cfe1f2 / #eef5fb / #9fb9d6, page #fbfcfe, alt #eef4fa, border #d7e4f0.
   Fonts: Fraunces (headings, wordmark) + Inter (text), self-hosted, SIL OFL (assets/fonts/LICENSE-*). */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-400-normal.woff2) format("woff2"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-500-normal.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --phx-h: 0px;
  --oat: #fbfcfe;      /* page */
  --mist: #eef4fa;     /* soft panels, about band */
  --sky: #eef5fb;      /* notes */
  --blush: #9fb9d6;    /* second blob */
  --white: #ffffff;
  --ink: #0d2947;
  --muted: #3c5978;
  --line: #d7e4f0;
  --moss: #0d2947;     /* primary: buttons, dots, focus */
  --moss-2: #081625;   /* hover */
  --sage: #9fb9d6;     /* soft accent: underline, dotted path */
  --accent: #3f6d9e;
  --powder: #cfe1f2;
  --head: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-size: 1.03rem; }
.header { background: rgba(251, 252, 254, .9); }
.header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(13, 41, 71, .5); }
.brand { font: 500 1.65rem/1 var(--head); color: var(--ink); letter-spacing: .01em; }
.nav a[aria-current="page"] { background-size: 100% 2px; }
.drawer a[aria-current="page"] { background: var(--mist); }
.js .drawer { box-shadow: 0 30px 60px -30px rgba(13, 41, 71, .45); }
.btn--primary { box-shadow: 0 10px 30px -12px rgba(13, 41, 71, .55); }
.btn--soft { background: var(--powder); }
.btn--soft:hover { background: var(--sage); }
.eyebrow, .quiet-link, .area__icon, .facts .i, .ring { color: var(--accent); }
.eyebrow { font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
.hero__title, .h2, .pause__title, .area h3, .steps__list h3, .footer__brand { font-weight: 400; }

/* Hero: the wordmark stays the big headline, as on the old site */
.blob--1 { background: var(--powder); }
.blob--2 { opacity: .45; }
.hero__word { font: 500 clamp(4rem, 11vw, 7.5rem)/.95 var(--head); letter-spacing: -.02em; margin-top: .75rem; color: var(--ink); }
.hero__dates { margin-top: 1rem; font: 600 .9rem var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__strap { margin-top: 1.5rem; font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.25 var(--head); }
.hero__photo img { box-shadow: 0 40px 80px -40px rgba(13, 41, 71, .45); }

/* Meanings (in the Calm "pause" card slot) */
.meaning__card { grid-template-columns: 1fr; }
@media (min-width: 48rem) { .meaning__card { grid-template-columns: 14rem 1fr; } }
.meaning__word { font: 400 2.6rem/1 var(--head); color: var(--ink); }
.meaning__word span { display: block; margin-top: .5rem; font: 400 1rem var(--body); color: var(--muted); }
.meaning__list { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .meaning__list { grid-template-columns: repeat(3, 1fr); } }
.meaning__list li { background: var(--mist); border-radius: 24px; padding: 1.25rem 1.4rem; }
.meaning__label { display: block; font: 600 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.meaning__def { margin-top: .4rem; font: 400 1.2rem/1.35 var(--head); }
.pause__card { box-shadow: 0 30px 60px -45px rgba(13, 41, 71, .4); }

.area__num { font: 500 .9rem var(--head); color: var(--accent); }

/* Why this week */
.why { padding-block: 0 5rem; }
.why__quote { max-width: 52rem; margin-inline: auto; text-align: center; }
.why__quote blockquote { margin: 1rem 0 0; }
.why__quote blockquote p { font: 400 clamp(1.45rem, 2.8vw, 2.1rem)/1.35 var(--head); text-wrap: balance; }

.about__photo img { box-shadow: 0 40px 80px -50px rgba(13, 41, 71, .45); }
.about__role { margin-top: .5rem; font-weight: 600; color: var(--accent); }
.facts li { box-shadow: 0 0 0 1px var(--line) inset; }

.contact__card { box-shadow: 0 40px 80px -60px rgba(13, 41, 71, .5); border: 1px solid var(--line); }
.field input, .field textarea { background: var(--mist); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 5px var(--powder); }
.form-status[data-state="ok"] { color: #1d5b2c; }
.invest { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--sage); }
.invest strong { font-family: var(--head); font-weight: 500; font-size: 1.1rem; }

.footer { background: var(--ink); color: #eaf1f8; }
.footer__tag, .footer__h, .footer__base { color: #b9cbdd; }
.footer__brand { font-weight: 500; }

/* Inner pages (events, privacy, terms) */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: 3.5rem 2.5rem; }
.page-head .blob--1 { width: 26rem; height: 26rem; top: -12rem; right: -8rem; }
.page-head__lead { margin-top: 1rem; font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.prose { padding-bottom: 5rem; }
.prose .wrap { max-width: 46rem; }
.prose h2 { font: 400 1.5rem var(--head); margin: 2rem 0 .6rem; }
.prose p { margin-top: .8rem; color: var(--muted); }
.prose a { color: var(--accent); font-weight: 600; }

/* ===== Events ===== */
.events { padding-bottom: 5rem; }
.events__h { font: 400 1.6rem var(--head); margin: 2.5rem 0 1.25rem; }
.events__list { display: grid; gap: 1.25rem; }
.event { display: grid; gap: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 1.5rem; box-shadow: 0 30px 60px -50px rgba(13, 41, 71, .45); }
@media (min-width: 48rem) { .event { grid-template-columns: 6.5rem 1fr auto; align-items: center; padding: 1.75rem 2rem; } }
.event__date { display: grid; place-items: center; align-content: center; width: 6rem; height: 6rem; border-radius: 50%; background: var(--powder); color: var(--ink); text-align: center; line-height: 1.05; }
.event__day { font: 500 2rem var(--head); }
.event__mon { font: 600 .75rem var(--body); letter-spacing: .12em; text-transform: uppercase; }
.event__title { font: 400 1.4rem/1.25 var(--head); }
.event__sample { display: inline-block; margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; background: #fff3cd; color: #6b4e00; font: 600 .72rem/1.6 var(--body); letter-spacing: .04em; vertical-align: middle; }
.event__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.event__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.event__meta .i { color: var(--accent); }
.event__desc { margin-top: .6rem; color: var(--muted); max-width: 42rem; }
.event__cta { justify-self: start; }
.event--past { background: #f4f6f8; border-color: #e3e7ec; box-shadow: none; color: #5d6773; }
.event--past .event__date { background: #e3e7ec; color: #5d6773; }
.event--past .event__title, .event--past .event__meta, .event--past .event__desc, .event--past .event__meta .i { color: #5d6773; }
.event__past-tag { font: 600 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: #5d6773; }
.events__empty { background: var(--mist); border-radius: 32px; padding: 2rem; display: grid; gap: .75rem; justify-items: start; }
.events__empty h3 { font: 400 1.4rem var(--head); }
.events__empty p { color: var(--muted); }
.events__note { margin-top: 2rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 30rem) { .brand { font-size: 1.4rem; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.events__note a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
