/* Eje Nado'wejek Counselling — Warmed Gold theme */
:root {
  --navy: #1f2531;
  --navy-deep: #151a23;
  --cream: #faf5ea;
  --cream-card: #fffdf7;
  --gold: #d9b36c;
  --gold-deep: #8a6420;
  --ink: #232a36;
  --muted: #565b64;
  --line: #e7dcc4;
  --font-display: "Michroma", "Arial Narrow", sans-serif;
  --font-sub: "Abel", "Helvetica Neue", sans-serif;
  --font-body: "Bellefair", Georgia, serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(31, 37, 49, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.3; margin: 0 0 1rem; }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); }
p { margin: 0 0 1.1rem; }
a { color: var(--navy); }

.wrap { width: min(1120px, 92%); margin: 0 auto; }
.wrap.narrow { width: min(780px, 92%); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy);
  padding: 0.6rem 1rem; z-index: 200; font-family: var(--font-sub); border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(31, 37, 49, 0.97);
  border-bottom: 2px solid var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.55rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand-mark { border-radius: 6px; }
.brand-text { font-family: var(--font-display); font-size: 0.95rem; color: #fff; letter-spacing: 0.04em; }
.brand-text em { display: block; font-style: normal; font-family: var(--font-sub); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; }
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.85rem; color: #f3ead6; text-decoration: none; padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.header-phone {
  font-family: var(--font-sub); color: var(--navy); background: var(--gold);
  text-decoration: none; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.9rem;
  letter-spacing: 0.06em; white-space: nowrap;
}
.header-phone:hover { background: #e6c37f; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 6px 0; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero-photo {
  position: relative; display: flex; align-items: center; text-align: center;
  min-height: min(92vh, 780px); padding: 5rem 0; overflow: hidden;
  background: var(--navy-deep); color: #fdf8ec;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,25,34,0.82) 0%, rgba(31,37,49,0.55) 55%, rgba(20,25,34,0.85) 100%);
}
.hero-photo .hero-inner { position: relative; z-index: 1; }
.hero-emblem { margin: 0 auto 1.6rem; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.hero-photo h1 { color: #fff; margin-bottom: 1.2rem; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero-photo .welcome-line { color: var(--gold); text-shadow: 0 1px 12px rgba(0,0,0,0.6); margin-bottom: 2rem; }
.hero-photo .button.secondary { color: #fff; border-color: #fff; }
.hero-photo .button.secondary:hover { background: rgba(255,255,255,0.14); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- interactive emblem ---------- */
.emblem-wrap { position: relative; display: inline-block; line-height: 0; margin: 0 auto 0.9rem; }
.emblem-wrap .hero-emblem { margin: 0; display: block; }
.hotspot {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: none; border-radius: 50%; background: transparent; cursor: pointer; padding: 0;
}
.hotspot span {
  position: absolute; inset: 12px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 179, 108, 0.35), 0 0 14px rgba(217, 179, 108, 0.8);
}
.hotspot::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 2px solid var(--gold); animation: hotspot-ping 2.4s ease-out infinite;
}
@keyframes hotspot-ping {
  0% { transform: scale(0.55); opacity: 0.9; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}
.hotspot:hover span, .hotspot:focus-visible span { background: #f0cd8a; }
.hotspot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.emblem-story {
  background: none; border: none; cursor: pointer; margin: 0 0 1.6rem; padding: 0.3rem 0.6rem;
  font-family: var(--font-sub); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); text-decoration: underline; text-underline-offset: 4px;
}
.emblem-story:hover { color: #f0cd8a; }

/* ---------- teaching popup ---------- */
.teaching-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; background: rgba(15, 19, 27, 0.72); backdrop-filter: blur(3px);
}
.teaching-modal[hidden] { display: none; }
.teaching-card {
  position: relative; max-width: 520px; width: 100%; max-height: 86vh; overflow: auto;
  background: var(--navy); color: #f3ecd9; border: 1px solid rgba(217, 179, 108, 0.45);
  border-radius: 18px; padding: 2.4rem 2.2rem 2.2rem; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.teaching-card .section-ornament img { width: 56px; }
.teaching-kicker {
  font-family: var(--font-sub); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0.9rem 0 0.7rem;
}
.teaching-card h3 { color: #fff; margin: 0 0 1rem; font-size: 1.65rem; }
.teaching-card p#teaching-text { margin: 0; font-size: 1.12rem; line-height: 1.75; color: #f3ecd9; }
.teaching-close {
  position: absolute; top: 0.7rem; right: 0.9rem; width: 44px; height: 44px;
  background: none; border: none; border-radius: 50%; cursor: pointer;
  color: var(--gold); font-size: 2rem; line-height: 1;
}
.teaching-close:hover { color: #f0cd8a; background: rgba(217, 179, 108, 0.12); }

/* ---------- buttons ---------- */
.button {
  display: inline-block; font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.92rem; background: var(--gold); color: var(--navy); text-decoration: none;
  padding: 0.85rem 1.9rem; border-radius: 999px; border: 2px solid var(--gold); cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.button:hover { background: #e6c37f; border-color: #e6c37f; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--gold); }
.button.secondary:hover { background: rgba(217, 179, 108, 0.14); }
.section .button.secondary { color: var(--navy); border-color: var(--navy); }
.section .button.secondary:hover { background: rgba(31, 37, 49, 0.07); }

/* ---------- sections ---------- */
.section { padding: 4.2rem 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #f0ead9; }
.section.navy.deep { background: var(--navy-deep); }
.eyebrow {
  font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.82rem; color: var(--gold-deep); margin: 0 0 0.9rem;
}
.eyebrow.light { color: var(--gold); }
.section.navy h2 { color: #fff; }
.section-lead { font-size: 1.25rem; }

/* ---------- disclosures / accordions ---------- */
.disclosure {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius);
  margin: 0 0 0.9rem; box-shadow: var(--shadow); overflow: hidden;
}
.disclosure summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.9rem;
  padding: 1.05rem 1.3rem; font-family: var(--font-sub); font-size: 1.08rem; letter-spacing: 0.02em; color: var(--navy);
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::before {
  content: "+"; flex: 0 0 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 1.3rem; line-height: 2rem; text-align: center;
  transition: transform 0.2s;
}
.disclosure[open] summary::before { content: "–"; }
.disclosure summary:hover { background: #fdf6e6; }
.disclosure summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.disclosure-body { padding: 0 1.3rem 1.3rem 4.2rem; color: var(--ink); }
.disclosure-body p:last-child { margin-bottom: 0; }
.service-name { font-size: 1.12rem; }

/* ---------- about / grounding grids ---------- */
.about-grid, .grounding-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.about-photo img { border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); border: 3px solid var(--gold); }
.grounding-photo img { border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.credentials { font-family: var(--font-sub); letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; font-size: 0.95rem; }
.subhead { font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.22em; font-size: 1rem; color: var(--gold); margin: 1.6rem 0 0.6rem; }
.provider-intro { font-size: 1.08rem; color: #d9d2bd; border-left: 3px solid var(--gold); padding-left: 1rem; }
.safe-caption { font-family: var(--font-sub); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.spirit-name { color: var(--gold); font-size: 0.72em; white-space: nowrap; }
.section.navy p { color: #e6dfcd; }

/* ---------- contact ---------- */
.contact-block { text-align: center; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.2rem 0; text-align: left; }
.contact-details > div { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.contact-details dt { font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--gold-deep); margin-bottom: 0.4rem; }
.contact-details dd { margin: 0; font-size: 1.08rem; }
.contact-details a { color: var(--navy); font-weight: bold; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- safe space ---------- */
.safe-space { text-align: center; }
.safe-graphic { width: min(260px, 58%); margin: 0 auto 1.8rem; border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- floral accents ---------- */
.section { position: relative; overflow: hidden; }
.bg-floral {
  position: absolute; top: 1.5rem; right: 3%; width: 320px; max-width: 44vw;
  opacity: 0.09; pointer-events: none; z-index: 0;
}
.section.navy .bg-floral { opacity: 0.11; }
.section > .wrap { position: relative; z-index: 1; }
.section-ornament { margin: 0 0 1rem; line-height: 0; }
.section-ornament img { width: 68px; height: auto; opacity: 0.95; }
.contact-block .section-ornament, .safe-space .section-ornament { text-align: center; }
/* floral divider between sections */
.floral-rule {
  display: flex; align-items: center; gap: 1.1rem;
  max-width: 480px; margin: 2.6rem auto 0; padding: 0 1rem;
}
.floral-rule::before, .floral-rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, rgba(185, 141, 62, 0.75), transparent);
}
.floral-rule img { width: 66px; height: auto; flex: none; }
/* footer floral */
.footer-floral { text-align: center; margin-bottom: 1.3rem; line-height: 0; }
.footer-floral img { width: 88px; height: auto; }

/* ---------- intake form ---------- */
.emergency-note { background: #f7ecd4; border-left: 4px solid var(--gold-deep); padding: 0.9rem 1.2rem; border-radius: 0 8px 8px 0; }
.intake-form { background: var(--cream-card); border: 1px solid var(--line); border-radius: 14px; padding: 2.2rem; box-shadow: var(--shadow); margin-top: 1.8rem; }
.intake-form fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.intake-form legend { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); padding: 0; margin-bottom: 1rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-family: var(--font-sub); letter-spacing: 0.04em; margin-bottom: 0.35rem; color: var(--navy); }
.required { color: #a33b2e; }
.optional { color: var(--muted); font-size: 0.9em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc4a8; border-radius: 8px; padding: 0.7rem 0.9rem;
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(217, 179, 108, 0.55); border-color: var(--gold-deep); }
.field-help { font-size: 0.98rem; color: var(--muted); margin: 0.4rem 0 0; }
.consent-row { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0 0 1.4rem; }
.consent-row input { width: 1.35rem; height: 1.35rem; margin-top: 0.25rem; accent-color: var(--navy); flex-shrink: 0; }
.consent-row label { font-family: var(--font-sub); letter-spacing: 0.02em; }
.honeypot { position: absolute; left: -9999px; }
.form-status { border-radius: 8px; padding: 0.9rem 1.2rem; margin-bottom: 1.2rem; font-family: var(--font-sub); }
.form-status.ok { background: #e4efe0; border: 1px solid #5c8a52; color: #2c4a27; }
.form-status.err { background: #f7e3de; border: 1px solid #a33b2e; color: #7c2a20; }
.privacy-line { font-size: 0.95rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfc8b4; text-align: center; padding: 2.6rem 0; border-top: 2px solid var(--gold); }
.footer-mark { margin: 0 auto 1.1rem; border-radius: 6px; }
.site-footer p { margin: 0 0 0.5rem; font-size: 1rem; }
.footer-safe { color: var(--gold); font-family: var(--font-sub); letter-spacing: 0.08em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-nav, .header-phone { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .mobile-nav { display: none; flex-direction: column; background: var(--navy-deep); border-top: 1px solid rgba(217,179,108,0.35); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { color: #f3ead6; text-decoration: none; font-family: var(--font-sub); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; padding: 0.9rem 4%; border-bottom: 1px solid rgba(217,179,108,0.15); }
  .mobile-nav a.mobile-phone { color: var(--gold); }
  .about-grid, .grounding-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-photo img { width: 100%; max-width: 420px; margin: 0 auto; }
  .contact-details { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .intake-form { padding: 1.4rem; }
  .section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
