/* Gesher Mediation — modern static rebuild
   Faithful to the original grey/white identity, dependency-free. */

@import url('./fonts/fonts.css');

:root {
  --brand: #6f6f6f;
  --brand-dark: #565656;
  --ink: #4a4a4a;
  --ink-soft: #777777;
  --paper: #ffffff;
  --bg: #7a7a7a;
  --line: #e2e2e2;
  --panel: #ededed;
  --accent: #b98a3e;               /* warm gold, echoing the necklace/star */
  --serif: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --maxw: 720px;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--brand-dark); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--brand);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px;
}
.nav-brand { display: flex; align-items: center; flex: 0 0 auto; }
.nav-brand img { height: 44px; width: auto; }
.nav-brand .sr-only-brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.nav-toggle {
  margin-left: auto; display: none;
  background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 6px;
  padding: 8px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }

.nav-links {
  margin: 0 0 0 auto; padding: 0; list-style: none;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: #fff; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: 15px;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-links a.active { background: #fff; color: var(--brand-dark); }
.nav-contact a { color: #ffe9c9; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    flex-basis: 100%; flex-direction: column; gap: 2px; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links a { padding: 12px 8px; }
  .nav.open .nav-links { max-height: 60vh; padding-bottom: 8px; }
}

/* ---------- Layout ---------- */
main { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 44px 40px;
  margin: 26px auto;
  scroll-margin-top: 84px;
}
.card:first-of-type { margin-top: 96px; }
@media (max-width: 560px) { .card { padding: 26px 22px 30px; } }

.card > h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: 30px; line-height: 1.15;
  text-align: right; color: var(--brand-dark);
  margin: 0 0 1.1em; padding-bottom: .5em;
  border-bottom: 3px solid var(--panel);
}
.card h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: 21px; margin: 1.8em 0 .4em;
}
.card h4 { font-family: var(--serif); font-weight: 400; font-size: 18px; margin: 1.6em 0 .3em; }
.card p { margin: 1em 0; }
.card ul { padding-left: 1.2em; }
.card li { margin: .35em 0; }

/* ---------- Mediator / hero ---------- */
.eyebrow { color: var(--ink-soft); font-size: 15px; }
.portrait {
  border-radius: 12px; overflow: hidden; margin: 6px 0 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.portrait img { width: 100%; }

.badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0 4px; }
.badges .yelp img { height: 48px; width: auto; }

/* read-more accreditation */
details.more { margin-top: 8px; }
details.more > summary {
  cursor: pointer; list-style: none; color: var(--ink-soft);
  font-family: var(--serif); text-align: right; padding: 6px 0;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ' \25be'; }
details.more[open] > summary::after { content: ' \25b4'; }
details.more[open] > summary .label-closed { display: none; }
details.more > summary .label-open { display: none; }
details.more[open] > summary .label-open { display: inline; }

/* ---------- Fees ---------- */
.feenote { color: var(--ink-soft); font-size: 15px; }

/* ---------- Notes on Mediation ---------- */
.notes-intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 1.8em; }
.note-group { margin: 0 0 2.2em; }
.note-theme {
  font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--brand-dark);
  margin: 0 0 .15em; padding-bottom: .3em; border-bottom: 2px solid var(--panel);
}
.note-theme-desc { margin: .3em 0 1em; color: var(--ink-soft); font-size: 14.5px; font-style: italic; }
.note {
  border: 1px solid var(--line); border-radius: 10px;
  margin: 8px 0; background: #fff; overflow: hidden;
}
.note > summary {
  cursor: pointer; list-style: none;
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  background: var(--panel);
}
.note > summary::-webkit-details-marker { display: none; }
.note > summary::after {
  content: '+'; margin-left: auto; color: var(--ink-soft);
  font-family: var(--serif); font-size: 20px; line-height: 1;
}
.note[open] > summary::after { content: '\2013'; }
.note > summary:hover { background: #e4e4e4; }
.note[open] > summary { background: var(--brand); }
.note[open] > summary .note-title,
.note[open] > summary::after { color: #fff; }
.note-title { font-family: var(--serif); font-weight: 400; font-size: 16.5px; color: var(--brand-dark); }
.note-body { padding: 8px 20px 18px; }
.note-body p { margin: .8em 0; }

/* ---------- Testimonials ---------- */
.quote { margin: 0 0 26px; }
.quote blockquote {
  margin: 0; padding: 20px 24px; background: var(--panel);
  border-radius: 12px; font-family: var(--serif); font-weight: 300; font-style: italic;
  color: var(--ink); font-size: 16px;
}
.quote blockquote p { margin: .6em 0; }
.quote blockquote p:first-child::before { content: '\201C'; }
.quote blockquote p:last-child::after { content: '\201D'; }
.quote cite { display: block; text-align: right; margin: 8px 6px 0; color: var(--ink-soft); font-style: normal; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { text-align: center; color: #fff; padding: 40px 16px 56px; }
.footer img { height: 56px; width: auto; margin: 0 auto 14px; }
.footer .contact { margin: 8px 0; }
.footer a { color: #ffe9c9; }
.footer small { color: rgba(255,255,255,.75); display: block; margin-top: 12px; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
