/* kit.css — layout & component styles for the Peaceful Hearts marketing website kit.
   Consumes the design tokens from colors_and_type.css. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }

.ph-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------------- Nav ---------------- */
.ph-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); transition: background var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
.ph-nav.is-scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border-subtle); }

/* Utility bar (location + phone) */
.ph-nav-utility { background: var(--navy-800); color: var(--navy-100); overflow: hidden; transition: max-height var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard); max-height: 44px; }
.ph-nav.is-scrolled .ph-nav-utility { max-height: 0; opacity: 0; }
.ph-nav-utility-inner { max-width: var(--container-max); margin: 0 auto; padding: 8px var(--gutter); display: flex; justify-content: flex-end; gap: var(--space-6); }
.ph-nav-utility span, .ph-nav-utility a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--navy-100); }
.ph-nav-utility a:hover { color: #fff; }

.ph-nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0.55rem var(--gutter); display: flex; align-items: center; gap: var(--space-5); }
.ph-nav-logo img { height: 104px; width: auto; transition: height var(--dur-base) var(--ease-standard); }
.ph-nav.is-scrolled .ph-nav-logo img { height: 78px; }
.ph-nav-links { display: flex; gap: var(--space-5); margin-left: auto; }
.ph-nav-links a { font-size: var(--text-sm); font-weight: 600; color: var(--navy-800); white-space: nowrap; }
.ph-nav-links a:hover { color: var(--green-700); }
.ph-nav-cta { display: flex; align-items: center; gap: var(--space-4); margin-left: var(--space-2); }
.ph-nav-cta .btn { white-space: nowrap; }
.ph-nav-phone { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 700; color: var(--navy-800); }
.ph-nav-burger { display: none; background: none; border: none; cursor: pointer; margin-left: auto; padding: 6px; }
.ph-nav-mobile { display: none; }

/* ---------------- Hero ---------------- */
.ph-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section-pad-y); background:
  radial-gradient(120% 90% at 85% -10%, var(--sand-50) 0%, rgba(250,247,241,0) 55%), #fff; }
.ph-hero-grid { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ph-hero-copy h1 { margin: 0.6rem 0 1.1rem; font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.ph-hero-copy .lead { max-width: 30rem; }
.ph-hero-actions { display: flex; gap: var(--space-3); margin: var(--space-6) 0 var(--space-5); flex-wrap: wrap; }
.ph-hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.ph-hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-sm); font-weight: 600; color: var(--navy-700); }
.ph-hero-media { position: relative; }
.ph-hero-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.ph-hero-badge-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; flex: none; }
.ph-hero-badge strong { display: block; font-size: var(--text-sm); color: var(--fg1); font-weight: 800; }
.ph-hero-badge span { font-size: var(--text-xs); color: var(--fg3); }

/* Photo placeholder */
.ph-photo { width: 100%; border-radius: var(--radius-xl); background:
  linear-gradient(150deg, var(--navy-700), var(--navy-800)); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
.ph-photo::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 70% 20%, rgba(120,150,72,0.35), transparent 60%); }
.ph-photo-mark { width: 76px; height: 76px; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.ph-photo-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.78);
  font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; z-index: 1; }

/* ---------------- Sections ---------------- */
.ph-section { padding: var(--section-pad-y) 0; }
.ph-section.is-warm { background: var(--sand-50); }
/* Two warm sections in a row share one background — drop the doubled padding
   between them (e.g. co-founders + quote on the About page). */
.ph-section.is-warm + .ph-section.is-warm { padding-top: 0; }
.ph-section.is-tint { background: var(--navy-50); }
.ph-sechead { max-width: 40rem; margin-bottom: var(--space-7); }
.ph-sechead.is-center { margin-inline: auto; text-align: center; }
.ph-sechead h2 { margin: 0.5rem 0 0.75rem; }
.ph-sechead .lead { margin: 0 auto; }

/* Steps */
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.ph-step { position: relative; background: #fff; border: 1px solid var(--border-warm); border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5); box-shadow: var(--shadow-sm); }
.ph-step-num { position: absolute; top: -14px; left: var(--space-5); width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-family: var(--font-heading); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ph-step-ic { width: 54px; height: 54px; border-radius: var(--radius-md); background: var(--green-50); display: flex; align-items: center; justify-content: center; margin: var(--space-3) 0 var(--space-4); }
.ph-step h3 { margin: 0 0 0.4rem; }
.ph-step p { margin: 0; font-size: var(--text-base); }

/* Feature grid */
.ph-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.ph-feature { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-xs); transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.ph-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ph-feature-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-50); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
/* Two-tone icon chips on the services grid (alternating green / navy).
   Use the -100 tints so the alternation is visible but still soft. */
.ph-feature--green .ph-feature-ic { background: var(--green-100); }
.ph-feature--navy .ph-feature-ic { background: var(--navy-100); }
.ph-feature h3 { margin: 0 0 0.4rem; }
.ph-feature p { margin: 0; font-size: var(--text-base); }

/* About */
.ph-about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ph-about-copy h2 { margin: 0.5rem 0 1rem; }
.ph-checklist { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.ph-checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-800); }

/* Pricing */
.ph-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; max-width: 760px; margin-inline: auto; }
.ph-plan { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: var(--space-6); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.ph-plan.is-popular { border: 2px solid var(--green-500); box-shadow: var(--shadow-lg); }
/* Selectable cards (enroll page) */
.ph-plan.is-selectable { cursor: pointer; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast); }
.ph-plan.is-selectable:hover { border-color: var(--green-500); box-shadow: var(--shadow-md); }
.ph-plan.is-selectable:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }
.ph-plan.is-selected { border: 2px solid var(--green-500); box-shadow: var(--shadow-lg); background: var(--green-50); }
.ph-plan .btn { width: 100%; }
/* Compact row + chevron are mobile-only (accordion); hidden on desktop. */
.ph-plan-compact, .ph-plan-toggle { display: none; }

/* Enroll page */
.ph-enroll-chosen { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4);
  background: var(--green-50); border: 1px solid var(--green-500); border-radius: var(--radius-md); }
.ph-enroll-chosen-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg3); font-weight: 700; }
.ph-enroll-chosen strong { font-size: var(--text-md); color: var(--fg1); }
.ph-enroll-summary { margin: var(--space-4) 0; padding: var(--space-4); background: var(--surface-2, #f6f4ef); border-radius: var(--radius-md); display: grid; gap: var(--space-2); }
.ph-enroll-summary div { display: flex; justify-content: space-between; gap: var(--space-4); }
.ph-enroll-summary dt { color: var(--fg3); font-size: var(--text-sm); margin: 0; }
.ph-enroll-summary dd { margin: 0; font-weight: 700; color: var(--fg1); text-align: right; }
.ph-enroll-note { font-size: var(--text-sm); color: var(--fg2); background: var(--surface-2, #f6f4ef); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin: 0 0 var(--space-4); }
.ph-form-error { color: #B23A3A; font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.ph-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Unified enroll form — one card, two numbered steps */
.ph-enroll-form { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-6) var(--space-7); }
.ph-enroll-form-done { max-width: 560px; }
.ph-enroll-step + .ph-enroll-step { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.ph-enroll-step-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.ph-enroll-step-head h3 { margin: 0; font-size: var(--text-md); }
.ph-enroll-step-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--color-primary); color: #fff;
  font-weight: 800; font-size: var(--text-sm); display: flex; align-items: center; justify-content: center; }
.ph-enroll-form .ph-plans { max-width: none; }
.ph-enroll-form .ph-field { margin-bottom: var(--space-4); }
.ph-enroll-form .ph-field label { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--fg1); margin-bottom: 6px; }
.ph-enroll-form .ph-field input, .ph-enroll-form .ph-field textarea, .ph-enroll-form .ph-field select {
  width: 100%; padding: 11px 13px; font-family: var(--font-body); font-size: var(--text-base); color: var(--fg1);
  border: 1.5px solid var(--border-default); border-radius: var(--radius-md); outline: none; resize: vertical; background: #fff; }
.ph-enroll-form .ph-field input:focus, .ph-enroll-form .ph-field textarea:focus, .ph-enroll-form .ph-field select:focus {
  border-color: var(--border-focus); box-shadow: var(--ring); }
/* inline per-field validation */
.ph-field.has-error input, .ph-field.has-error textarea, .ph-field.has-error select { border-color: #B23A3A; }
.ph-field-error { display: block; color: #B23A3A; font-size: var(--text-xs); margin-top: 5px; }

/* Co-founders / team cards (About page) */
.ph-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); max-width: 760px; margin-inline: auto; }
.ph-team-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); padding: var(--space-6); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.ph-team-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-xl); letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2); overflow: hidden; }
.ph-team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ph-team-card h3 { margin: 0; font-size: var(--text-md); }
.ph-team-title { margin: 0; font-size: var(--text-sm); color: var(--green-700, #506330); font-weight: 700; }
.ph-plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green-500); color: #fff;
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.ph-plan h3 { margin: 0 0 0.3rem; }
.ph-plan-blurb { font-size: var(--text-sm); color: var(--fg3); margin: 0 0 var(--space-4); min-height: 2.6em; }
.ph-plan-price { font-family: var(--font-heading); font-size: 3rem; color: var(--fg1); font-weight: 600; line-height: 1; display: flex; align-items: baseline; }
.ph-plan-cur { font-size: 1.4rem; margin-right: 2px; }
.ph-plan-per { font-family: var(--font-body); font-size: var(--text-sm); color: var(--fg3); font-weight: 600; margin-left: 6px; }
.ph-plan ul { list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-6); display: grid; gap: var(--space-3); flex: 1; }
.ph-plan li { display: flex; align-items: flex-start; gap: 9px; font-size: var(--text-base); color: var(--fg2); }
.ph-plans-note { text-align: center; max-width: 44rem; margin: var(--space-6) auto 0; font-size: var(--text-sm); color: var(--fg3); }

/* FAQ */
.ph-faq-wrap { max-width: var(--container-narrow); }
.ph-faq { margin-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.ph-faq-item { border-bottom: 1px solid var(--border-subtle); }
.ph-faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 0; text-align: left; font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; color: var(--fg1); }
.ph-faq-q svg { transition: transform var(--dur-base) var(--ease-standard); flex: none; }
.ph-faq-item.is-open .ph-faq-q svg { transform: rotate(180deg); }
.ph-faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-standard); }
.ph-faq-item.is-open .ph-faq-a { max-height: 240px; }
.ph-faq-a p { margin: 0 0 var(--space-5); color: var(--fg2); max-width: 60ch; }

/* CTA band */
.ph-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; padding: var(--section-pad-y) 0; }
.ph-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.ph-cta h2 { color: #fff; margin: 0 0 0.5rem; }
.ph-cta p { color: var(--navy-200); margin: 0; font-size: var(--text-lg); }
.ph-cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.ph-btn-ghostlight { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.ph-btn-ghostlight:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); color: #fff; }

/* Footer */
.ph-footer { background: var(--navy-900); color: var(--navy-200); padding: var(--space-8) 0 var(--space-6); }
.ph-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-6); }
.ph-footer-brand img { height: 96px; width: auto; margin-bottom: var(--space-4); }
.ph-footer-brand p { max-width: 24rem; font-size: var(--text-sm); color: var(--navy-200); }
.ph-footer-col h4 { color: #fff; font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 var(--space-4); }
.ph-footer-col a, .ph-footer-col p { display: flex; align-items: center; gap: 8px; color: var(--navy-200); font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.ph-footer-col a:hover { color: #fff; }
.ph-footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--text-xs); color: var(--navy-300); }

/* ---------------- Interior page header ---------------- */
.ph-pagehead { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.ph-pagehead.is-center { text-align: center; }
.ph-pagehead.is-center .lead { margin-inline: auto; }
.ph-pagehead h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0.5rem 0 0.75rem; }
.ph-pagehead .lead { max-width: 44rem; margin-bottom: 0; }
.ph-pagehead.is-warm { background: var(--sand-50); border-bottom: 1px solid var(--border-warm); }
.ph-pagehead.is-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.ph-pagehead.is-navy h1 { color: #fff; }
.ph-pagehead.is-navy .lead { color: var(--navy-200); }
.ph-pagehead.is-navy .eyebrow { color: var(--green-300); }

/* ---------------- Contact ---------------- */
.ph-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ph-contact-info h2 { margin: 0.5rem 0 0.9rem; }
.ph-contact-list { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-4); }
.ph-contact-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.ph-contact-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; }
.ph-contact-list .ph-contact-label { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--fg3); margin-bottom: 2px; }
.ph-contact-list strong { display: block; font-size: var(--text-md); color: var(--fg1); font-weight: 700; }
.ph-contact-list .ph-contact-sub { display: block; font-size: var(--text-sm); color: var(--fg3); }
.ph-map { position: relative; height: 220px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle);
  background:
    repeating-linear-gradient(0deg, rgba(30,54,78,0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(30,54,78,0.05) 0 1px, transparent 1px 40px),
    radial-gradient(80% 80% at 50% 40%, var(--green-50), var(--sand-50));
  display: flex; align-items: center; justify-content: center; }
.ph-map-pin { width: 50px; height: 50px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg); background: var(--green-600);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.ph-map-pin svg { transform: rotate(-45deg); }
.ph-map-label { position: absolute; bottom: 12px; right: 14px; font-size: var(--text-xs); font-weight: 700; color: var(--navy-700);
  background: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: var(--radius-pill); }
.ph-contact-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-6); }
.ph-contact-card h3 { margin: 0 0 var(--space-5); font-size: var(--text-xl); }
.ph-contact-card .ph-field { margin-bottom: var(--space-4); }
.ph-contact-card .ph-field label { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--fg1); margin-bottom: 6px; }
.ph-contact-card .ph-field input, .ph-contact-card .ph-field textarea, .ph-contact-card .ph-field select {
  width: 100%; padding: 11px 13px; font-family: var(--font-body); font-size: var(--text-base); color: var(--fg1);
  border: 1.5px solid var(--border-default); border-radius: var(--radius-md); outline: none; resize: vertical; background: #fff; }
.ph-contact-card .ph-field input:focus, .ph-contact-card .ph-field textarea:focus, .ph-contact-card .ph-field select:focus { border-color: var(--border-focus); box-shadow: var(--ring); }
.ph-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ph-contact-fineprint { font-size: var(--text-xs); color: var(--fg3); margin: var(--space-3) 0 0; text-align: center; }
.ph-contact-done { text-align: center; padding: var(--space-5) 0; }
.ph-contact-done p { max-width: 32ch; margin: 0 auto var(--space-5); }

/* ---------------- Join modal ---------------- */
.ph-modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(14,27,41,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-4); animation: phFade var(--dur-base) var(--ease-standard); }
.ph-modal { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); padding: var(--space-7) var(--space-6) var(--space-6); animation: phRise var(--dur-slow) var(--ease-out); }
.ph-modal-x { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; padding: 4px; }
.ph-modal-body h3 { margin: 0.4rem 0 var(--space-5); font-size: var(--text-2xl); }
.ph-modal-plans { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.ph-modal-plan { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md); background: #fff; cursor: pointer; text-align: left; transition: border-color var(--dur-fast), background var(--dur-fast); }
.ph-modal-plan.is-on { border-color: var(--green-500); background: var(--green-50); }
.ph-modal-plan-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex: none; }
.ph-modal-plan.is-on .ph-modal-plan-radio { background: var(--green-500); border-color: var(--green-500); }
.ph-modal-plan-name { font-weight: 700; color: var(--fg1); }
.ph-modal-plan-price { margin-left: auto; font-weight: 700; color: var(--navy-700); }
.ph-form { display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
.ph-field label { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--fg1); margin-bottom: 6px; }
.ph-field input, .ph-field textarea { width: 100%; padding: 11px 13px; font-family: var(--font-body); font-size: var(--text-base);
  color: var(--fg1); border: 1.5px solid var(--border-default); border-radius: var(--radius-md); outline: none; resize: vertical; }
.ph-field input:focus, .ph-field textarea:focus { border-color: var(--border-focus); box-shadow: var(--ring); }
.ph-modal-actions { display: flex; gap: var(--space-3); }
.ph-modal-actions .btn { flex: 1; }
.ph-modal-done { text-align: center; }
.ph-modal-done-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); }
.ph-modal-done p { margin: 0 auto var(--space-5); max-width: 30ch; }

@keyframes phFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes phRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .ph-nav-links, .ph-nav-cta { display: none; }
  .ph-nav-burger { display: block; }
  .ph-nav-inner { padding: 0.4rem var(--gutter); }
  .ph-nav-logo img { height: 72px; }
  .ph-nav.is-scrolled .ph-nav-logo img { height: 60px; }
  .ph-nav-utility-inner { justify-content: center; gap: var(--space-5); }
  .ph-nav-mobile { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--gutter) var(--space-5); background: #fff; border-top: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); }
  .ph-nav-mobile a { font-weight: 600; color: var(--navy-800); padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
  .ph-nav-mobile .btn { margin-top: var(--space-3); width: 100%; border-bottom: none; }
  /* the generic mobile-link color rule above would otherwise make the primary
     button text dark-on-navy (invisible) — keep it white */
  .ph-nav-mobile a.btn-primary { color: #fff; }
  .ph-hero-grid, .ph-about { grid-template-columns: 1fr; }
  .ph-hero-media { order: -1; }
  .ph-about-media { order: -1; }
  .ph-steps, .ph-grid-3, .ph-plans, .ph-footer-grid { grid-template-columns: 1fr; }
  .ph-grid-3 { gap: var(--space-4); }
  /* Reorder the emphasized plan to the top on mobile ONLY for the static pricing
     grids — never the selectable enroll grid (would make a tapped card jump). */
  .ph-plan.is-popular:not(.is-selectable) { order: -1; }
  .ph-contact { grid-template-columns: 1fr; }

  /* Mobile accordion for the selectable (enroll) plan cards: compact rows that
     both fit on screen; tap the chevron to expand a plan's full details. */
  .ph-plan.is-selectable { padding: var(--space-5); }
  .ph-plan.is-selectable h3, .ph-plan.is-selectable .ph-plan-compact { padding-right: 38px; }
  .ph-plan.is-selectable h3 { font-size: 1.2rem; white-space: nowrap; }   /* keep "Founding Member" on one line */
  .ph-plan.is-selectable .ph-plan-toggle { display: flex; position: absolute; top: var(--space-4); right: var(--space-4);
    background: none; border: none; cursor: pointer; padding: 4px; transition: transform var(--dur-fast); }
  .ph-plan.is-selectable.is-expanded .ph-plan-toggle { transform: rotate(180deg); }
  .ph-plan.is-selectable .ph-plan-compact { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; margin-top: 4px; }
  .ph-plan.is-selectable .ph-plan-compact-price { font-family: var(--font-heading); font-weight: 600; font-size: 1.7rem; color: var(--fg1); line-height: 1; }
  .ph-plan.is-selectable .ph-plan-compact-price span { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--fg3); margin-left: 2px; }
  /* collapsed: hide details. The "First 20 members" pill stays embedded in the
     card's top border (like the membership page). */
  .ph-plan.is-selectable .ph-plan-blurb,
  .ph-plan.is-selectable .ph-plan-price,
  .ph-plan.is-selectable .ph-plan-highlight,
  .ph-plan.is-selectable ul,
  .ph-plan.is-selectable .btn { display: none; }
  /* expanded: reveal details (big price stays hidden — compact price shows it) */
  .ph-plan.is-selectable.is-expanded .ph-plan-blurb { display: block; }
  .ph-plan.is-selectable.is-expanded .ph-plan-highlight { display: inline-flex; }
  .ph-plan.is-selectable.is-expanded ul { display: grid; }
  .ph-plan.is-selectable.is-expanded .btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .ph-field-row, .ph-team { grid-template-columns: 1fr; }
  .ph-nav-utility span { display: none; }
  .ph-nav-utility-inner { justify-content: center; }
  .ph-hero-actions { flex-direction: column; align-items: stretch; }
  .ph-hero-actions .btn { width: 100%; }
  .ph-hero-badge { left: 50%; transform: translateX(-50%); right: auto; bottom: -22px; white-space: nowrap; }
  .ph-hero-media { margin-bottom: var(--space-6); }
  .ph-cta-inner { flex-direction: column; align-items: flex-start; }
  .ph-cta-actions { width: 100%; }
  .ph-cta-actions .btn { flex: 1; }
  .ph-footer-bottom { flex-direction: column; gap: var(--space-2); }
  .ph-modal { padding: var(--space-6) var(--space-5) var(--space-5); }
  .ph-modal-actions { flex-direction: column-reverse; }
}
