:root{
    --ink:#0f1d3a; --ground:#ffffff; --surface:#faf6ec; --surface-2:#f1ead9;
    --gold:#a9791f; --gold-bright:#c99f45; --muted:#5f5947; --line:#e6dcc4;
    --hero-bg:#0f1d3a; --hero-ink:#f4efe2; --hero-muted:#b9c0d0; --hero-line:#28375a;
    /* front / hero — white in light, dark in dark (theme-aware, separate from the always-navy --hero-* used by mediation+footer) */
    --front-bg:#ffffff; --front-ink:#0f1d3a; --front-muted:#5f5947; --front-line:#e6dcc4; --front-em:#a9791f;
    --shadow:0 18px 48px -24px rgba(15,29,58,.30);
    --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
    --sans:"Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
    --emblem:url("../img/emblem.png");
  }
  @media (prefers-color-scheme:dark){
    :root{
      --ink:#ede6d4; --ground:#0a1120; --surface:#111c31; --surface-2:#16233c;
      --gold:#c99f45; --gold-bright:#e0bd6b; --muted:#9aa2b4; --line:#243250;
      --hero-bg:#080e1b; --hero-ink:#f3eede; --hero-muted:#aab2c6; --hero-line:#25344f;
      --front-bg:#0a1120; --front-ink:#f3eede; --front-muted:#aab2c6; --front-line:#25344f; --front-em:#e0bd6b;
      --shadow:0 20px 52px -26px rgba(0,0,0,.6);
    }
  }
  :root[data-theme="light"]{
    --ink:#0f1d3a; --ground:#ffffff; --surface:#faf6ec; --surface-2:#f1ead9;
    --gold:#a9791f; --gold-bright:#c99f45; --muted:#5f5947; --line:#e6dcc4;
    --hero-bg:#0f1d3a; --hero-ink:#f4efe2; --hero-muted:#b9c0d0; --hero-line:#28375a;
    --front-bg:#ffffff; --front-ink:#0f1d3a; --front-muted:#5f5947; --front-line:#e6dcc4; --front-em:#a9791f;
    --shadow:0 18px 48px -24px rgba(15,29,58,.30);
  }
  :root[data-theme="dark"]{
    --ink:#ede6d4; --ground:#0a1120; --surface:#111c31; --surface-2:#16233c;
    --gold:#c99f45; --gold-bright:#e0bd6b; --muted:#9aa2b4; --line:#243250;
    --hero-bg:#080e1b; --hero-ink:#f3eede; --hero-muted:#aab2c6; --hero-line:#25344f;
    --front-bg:#0a1120; --front-ink:#f3eede; --front-muted:#aab2c6; --front-line:#25344f; --front-em:#e0bd6b;
    --shadow:0 20px 52px -26px rgba(0,0,0,.6);
  }

  *{box-sizing:border-box}
  body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);
    line-height:1.65;-webkit-font-smoothing:antialiased;}
  img{max-width:100%;display:block}
  a{color:inherit}
  h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.1;text-wrap:balance;margin:0}
  p{margin:0}

  .wrap{max-width:1120px;margin:0 auto;padding:0 28px}
  .eyebrow{font-family:var(--sans);font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
    font-weight:700;color:var(--gold)}

  .mark{background:var(--emblem) center/contain no-repeat;flex:none}
  .mark-nav{width:37px;height:40px}
  .mark-hero{width:min(360px,80%);aspect-ratio:460/505;filter:drop-shadow(0 18px 30px rgba(15,29,58,.22))}
  .mark-foot{width:42px;height:46px}
  @media (max-width:860px){.mark-hero{width:min(230px,58%)}}

  /* ---------- NAV ---------- */
  .nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--front-bg) 88%,transparent);
    backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
  .nav-in{display:flex;align-items:center;gap:22px;height:70px}
  .brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-right:auto}
  .brand-name{font-family:var(--serif);font-size:1.06rem;letter-spacing:.02em;line-height:1.05}
  .brand-name b{display:block;font-weight:600}
  .brand-name span{display:block;font-family:var(--sans);font-size:.6rem;letter-spacing:.28em;
    text-transform:uppercase;color:var(--gold);font-weight:700;margin-top:2px}
  .nav-links{display:flex;gap:24px}
  .nav-links a{text-decoration:none;font-size:.9rem;color:var(--muted);font-weight:500;
    transition:color .18s}
  .nav-links a:hover{color:var(--ink)}
  .btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--sans);font-weight:600;
    font-size:.9rem;text-decoration:none;border-radius:2px;padding:11px 20px;cursor:pointer;
    border:1px solid transparent;transition:transform .16s,box-shadow .16s,background .16s}
  .btn-gold{background:var(--gold);color:#fff;box-shadow:0 8px 20px -10px var(--gold)}
  .btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 26px -10px var(--gold)}
  .btn-outline{border-color:var(--line);color:var(--ink)}
  .btn-outline:hover{border-color:var(--gold);color:var(--gold)}
  .btn-ghost{border-color:var(--hero-line);color:var(--hero-ink)}
  .btn-ghost:hover{border-color:var(--gold);color:var(--gold-bright)}
  @media (max-width:900px){.nav-links{display:none}}

  /* ---------- HERO (front page — white in light theme) ---------- */
  .hero{background:var(--front-bg);color:var(--front-ink);position:relative;overflow:hidden;
    border-bottom:1px solid var(--line)}
  .hero::before{content:"";position:absolute;inset:0;
    background:
      radial-gradient(120% 90% at 82% -10%,rgba(201,159,69,.13),transparent 55%),
      radial-gradient(80% 70% at 6% 112%,rgba(201,159,69,.07),transparent 60%);
    pointer-events:none}
  .hero-in{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;
    padding:74px 0 82px;position:relative}
  .hero h1{font-size:clamp(2.4rem,5.4vw,4rem);margin:18px 0 0;color:var(--front-ink)}
  .hero h1 em{font-style:italic;color:var(--front-em)}
  .hero-lead{font-family:var(--serif);font-style:italic;font-size:clamp(1.15rem,2vw,1.4rem);color:var(--gold);margin:16px 0 0;max-width:38ch}
  .hero-sub{color:var(--front-muted);font-size:1.1rem;max-width:46ch;margin:16px 0 0}
  .hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
  .cred-strip{display:flex;flex-wrap:wrap;gap:14px 26px;margin-top:38px;padding-top:26px;
    border-top:1px solid var(--front-line);color:var(--front-muted);font-size:.86rem}
  .cred-strip b{color:var(--front-ink);font-weight:600}
  .cred-strip span{display:inline-flex;align-items:center;gap:9px}
  .cred-strip span::before{content:"";width:6px;height:6px;background:var(--gold);
    transform:rotate(45deg);flex:none}
  .hero-art{display:flex;justify-content:center}
  @media (max-width:860px){
    .hero-in{grid-template-columns:1fr;padding:56px 0 64px;text-align:center}
    .hero-sub{margin-left:auto;margin-right:auto}
    .hero-cta,.cred-strip{justify-content:center}
    .hero-art{order:-1;margin-bottom:6px}
  }

  /* ---------- SECTIONS ---------- */
  section{padding:84px 0}
  .sec-head{max-width:660px;margin-bottom:46px}
  .sec-head h2{font-size:clamp(1.9rem,3.6vw,2.7rem);margin:14px 0 0}
  .sec-head p{color:var(--muted);font-size:1.06rem;margin-top:14px}

  .services{background:var(--surface)}
  .about{background:var(--ground)}
  .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
  @media (max-width:760px){.grid-3{grid-template-columns:1fr}}
  .card{background:var(--ground);border:1px solid var(--line);border-radius:4px;padding:26px 24px;
    transition:transform .2s,box-shadow .2s,border-color .2s}
  .card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
  .card .ico{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;
    background:color-mix(in srgb,var(--gold) 16%,transparent);color:var(--gold);margin-bottom:16px}
  .card .ico svg{width:21px;height:21px}
  .card h3{font-size:1.2rem}
  .card p{color:var(--muted);font-size:.94rem;margin-top:9px}
  .more-note{margin-top:24px;text-align:center;color:var(--muted);font-size:1rem}
  .more-note strong{color:var(--ink);font-family:var(--serif);font-style:italic}

  /* ---------- EXPERIENCE / MEET MARY ---------- */
  .exp-in{display:grid;grid-template-columns:.82fr 1.18fr;gap:48px;align-items:start}
  @media (max-width:860px){.exp-in{grid-template-columns:1fr;gap:34px}}
  .portrait{margin:0;border-radius:8px;overflow:hidden;border:1px solid var(--line);
    box-shadow:var(--shadow);background:var(--surface)}
  .portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 22%}
  .portrait figcaption{padding:16px 20px;border-top:2px solid var(--gold);background:var(--surface)}
  .portrait figcaption b{font-family:var(--serif);font-size:1.15rem;display:block}
  .portrait figcaption span{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
    color:var(--gold);font-weight:700}
  .exp-body p{color:var(--muted);margin-top:18px;font-size:1.04rem}
  .exp-body p strong{color:var(--ink)}
  .signature{font-family:var(--serif);font-style:italic;font-size:1.5rem;color:var(--gold);
    margin-top:24px}
  .cred-panel{margin-top:26px;background:var(--surface);border:1px solid var(--line);border-radius:6px;
    padding:24px 26px;box-shadow:var(--shadow)}
  .cred-panel h3{font-size:.76rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);
    font-family:var(--sans);font-weight:700;margin-bottom:16px}
  .stat-row{display:flex;gap:30px;margin-bottom:20px}
  .stat b{display:block;font-family:var(--serif);font-size:2rem;color:var(--ink);line-height:1}
  .stat span{font-size:.8rem;color:var(--muted)}
  .cred-list{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid var(--line);
    display:grid;grid-template-columns:1fr 1fr;gap:12px 22px}
  @media (max-width:560px){.cred-list{grid-template-columns:1fr}}
  .cred-list li{display:flex;gap:11px;font-size:.94rem;align-items:flex-start}
  .cred-list li::before{content:"";width:7px;height:7px;background:var(--gold);transform:rotate(45deg);
    margin-top:8px;flex:none}

  /* ---------- PRICING ---------- */
  .pricing{background:var(--surface)}
  .price-grid{grid-template-columns:repeat(2,1fr);max-width:720px;margin:0 auto}
  @media (max-width:760px){.price-grid{grid-template-columns:1fr;max-width:420px}}
  .price{display:flex;flex-direction:column;background:var(--ground);border:1px solid var(--line);
    border-radius:6px;padding:30px 28px;text-align:center;align-items:center}
  .price .ico{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;
    background:color-mix(in srgb,var(--gold) 15%,transparent);color:var(--gold);margin-bottom:16px}
  .price .ico svg{width:24px;height:24px}
  .price h3{font-size:1.28rem}
  .price .tag{font-family:var(--sans);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
    color:var(--gold);font-weight:700;margin:8px 0 10px}
  .price p{color:var(--muted);font-size:.95rem}
  .price-cta{text-align:center;margin-top:36px;display:flex;flex-direction:column;align-items:center;gap:12px}
  .price-cta p{color:var(--muted);font-size:.95rem;max-width:52ch}

  /* ---------- MEDIATION (coming soon) ---------- */
  .mediation{background:var(--hero-bg);color:var(--hero-ink);position:relative;overflow:hidden}
  .mediation::before{content:"";position:absolute;inset:0;
    background:radial-gradient(90% 120% at 85% 10%,rgba(201,159,69,.15),transparent 55%);pointer-events:none}
  .med-in{position:relative;max-width:760px;text-align:center;margin:0 auto}
  .pill{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--gold);color:var(--gold-bright);
    font-family:var(--sans);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:700;
    padding:7px 16px;border-radius:100px}
  .pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold-bright);
    box-shadow:0 0 0 0 rgba(201,159,69,.6);animation:pulse 2.4s infinite}
  @keyframes pulse{0%{box-shadow:0 0 0 0 rgba(201,159,69,.5)}70%{box-shadow:0 0 0 12px rgba(201,159,69,0)}100%{box-shadow:0 0 0 0 rgba(201,159,69,0)}}
  .mediation h2{font-size:clamp(1.9rem,3.6vw,2.7rem);color:var(--hero-ink);margin:20px 0 0}
  .mediation p{color:var(--hero-muted);font-size:1.08rem;margin:18px auto 0;max-width:52ch}
  .mediation .btn{margin-top:30px}

  /* ---------- CONTACT (info + form) ---------- */
  .contact-sec{background:var(--ground)}
  .contact-head{max-width:640px;margin:0 auto 42px;text-align:center}
  .contact-head h2{font-size:clamp(1.9rem,3.6vw,2.7rem);margin:14px 0 0}
  .contact-head p{color:var(--muted);font-size:1.06rem;margin-top:14px}
  .contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:start;
    max-width:1000px;margin:0 auto}
  @media (max-width:820px){.contact-grid{grid-template-columns:1fr;gap:32px}}
  .contact-info{display:flex;flex-direction:column}
  .cm{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);
    text-decoration:none}
  .cm .ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;
    background:color-mix(in srgb,var(--gold) 15%,transparent);color:var(--gold)}
  .cm .ico svg{width:20px;height:20px}
  .cm small{display:block;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
    color:var(--gold);font-weight:700}
  .cm b{font-weight:600;font-size:1.05rem;color:var(--ink);font-family:var(--serif)}
  .cm:hover b{color:var(--gold)}
  .contact-note{margin-top:22px;color:var(--muted);font-size:.92rem}
  form{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:30px;
    box-shadow:var(--shadow)}
  .field{margin-bottom:18px}
  .field label{display:block;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;
    font-weight:700;color:var(--muted);margin-bottom:7px}
  .field input,.field textarea{width:100%;font-family:var(--sans);font-size:.98rem;color:var(--ink);
    background:var(--ground);border:1px solid var(--line);border-radius:3px;padding:12px 14px;
    transition:border-color .16s,box-shadow .16s}
  .field input:focus,.field textarea:focus{outline:none;border-color:var(--gold);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 22%,transparent)}
  .field textarea{resize:vertical;min-height:130px}
  .row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  @media (max-width:520px){.row-2{grid-template-columns:1fr}}
  form .btn-gold{width:100%;justify-content:center;border:0;font-size:.98rem;padding:14px}
  .form-note{font-size:.8rem;color:var(--muted);margin-top:12px;text-align:center}

  /* ---------- FOOTER ---------- */
  footer{background:var(--hero-bg);color:var(--hero-muted);padding:52px 0 40px}
  .foot-in{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
  .foot-brand{display:flex;align-items:center;gap:13px}
  .foot-brand b{font-family:var(--serif);color:var(--hero-ink);font-size:1.1rem;display:block}
  .foot-brand span{font-size:.62rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-bright)}
  .foot-links{display:flex;gap:22px;font-size:.88rem;flex-wrap:wrap}
  .foot-links a{color:var(--hero-muted);text-decoration:none}
  .foot-links a:hover{color:var(--gold-bright)}
  .foot-legal{width:100%;border-top:1px solid var(--hero-line);margin-top:34px;padding-top:24px;
    font-size:.78rem;color:var(--hero-muted);display:flex;justify-content:space-between;
    flex-wrap:wrap;gap:10px}

  .reveal{opacity:0;transform:translateY(16px);animation:rise .7s cubic-bezier(.2,.7,.2,1) forwards}
  @keyframes rise{to{opacity:1;transform:none}}
  @media (prefers-reduced-motion:reduce){
    .reveal{animation:none;opacity:1;transform:none}
    .btn,.card,.ccard,.pill::before{transition:none;animation:none}
  }

  .form-success{text-align:center;padding:18px 4px}
  .form-success h3{font-family:var(--serif);font-size:1.5rem;color:var(--gold)}
  .form-success p{color:var(--muted);margin-top:10px}

  /* ---------- Mobile navigation (hamburger) + forced white theme ---------- */
  .nav-toggle{display:none}
  .lbl-short{display:none}
  .nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;
    width:44px;height:40px;padding:9px 10px;cursor:pointer;flex:none;background:none;border:0}
  .nav-burger span{display:block;height:2px;width:100%;background:var(--ink);border-radius:2px;
    transition:transform .25s,opacity .2s}
  .mobile-menu{display:none;flex-direction:column;background:var(--ground);
    border-top:1px solid var(--line)}
  .mobile-menu a{padding:16px 28px;text-decoration:none;color:var(--ink);font-weight:500;
    font-size:1.02rem;border-bottom:1px solid var(--line)}
  .mobile-menu a:hover,.mobile-menu a:focus{color:var(--gold);background:var(--surface)}
  .nav-toggle:checked ~ .nav-in .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle:checked ~ .nav-in .nav-burger span:nth-child(2){opacity:0}
  .nav-toggle:checked ~ .nav-in .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  @media (max-width:900px){
    .nav-burger{display:flex}
    .nav-toggle:checked ~ .mobile-menu{display:flex}
    /* Force the light/white palette in the mobile layout, even when the phone is in dark mode */
    :root, :root[data-theme="dark"]{
      --ink:#0f1d3a; --ground:#ffffff; --surface:#faf6ec; --surface-2:#f1ead9;
      --gold:#a9791f; --gold-bright:#c99f45; --muted:#5f5947; --line:#e6dcc4;
      --hero-bg:#0f1d3a; --hero-ink:#f4efe2; --hero-muted:#b9c0d0; --hero-line:#28375a;
      --front-bg:#ffffff; --front-ink:#0f1d3a; --front-muted:#5f5947; --front-line:#e6dcc4; --front-em:#a9791f;
      --shadow:0 18px 48px -24px rgba(15,29,58,.30);
    }
    .services,.pricing{background:var(--ground)}
  }
  @media (max-width:560px){
    .nav-in{gap:10px}
    .nav .btn{padding:9px 14px;font-size:.82rem}
    .lbl-full{display:none}
    .lbl-short{display:inline}
  }
