/* =========================================================
   Eastern Shore Mediation — shared production stylesheet
   Extracted from index.html 2026-06-25 for the multi-page
   restructure. Single source of truth for every page.
   Navy #16314F / Burgundy #B23A2E (tagline only) /
   Italic gray #4A4A4A / White. Georgia serif throughout.
   ========================================================= */

:root {
  --navy: #16314F;           /* "this blue" — used throughout (2026-06-08) */
  --navy-dark: #112840;
  --navy-deep: #16314F;      /* hero / practice band / footer all the same blue */
  --burgundy: #B23A2E;       /* brand burgundy (light backgrounds) */
  --burgundy-lift: #D2705F;  /* light burgundy — matches the "complex" headline word */
  --gold: #A98445;           /* accent gold */
  --gold-soft: #C7A86E;      /* gold on dark backgrounds */
  --ink: #25221C;
  --gray: #5A554B;
  --gray-soft: #6B6760;
  --paper: #ECE7DC;          /* deeper warm parchment */
  --stone: #E2DCD0;          /* deeper cream for alternating sections */
  --stone-deep: #D6D0C2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Positioning statement (the hero copy) */
.hero-pos {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  color: var(--navy);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  max-width: 32em;
}
.hero-pos strong { font-weight: normal; font-style: normal; color: var(--burgundy); }
.hero-pos-c { text-align: center; margin: 0 auto; }

/* Wordmark */
.wordmark {
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
  font-weight: normal;
}

/* Practice-areas tagline */
.tagline { font-style: italic; color: var(--burgundy); letter-spacing: 0.02em; font-size: 0.78rem; }

/* Hairline rules */
.hairline { border: 0; border-top: 1px solid var(--navy); width: 60px; margin: 1.25rem 0; opacity: 0.55; }
.hairline-c { border: 0; border-top: 1px solid var(--navy); width: 60px; margin: 1.25rem auto; opacity: 0.55; }
.hairline-wide-c { border: 0; border-top: 1px solid var(--navy); width: 100%; max-width: 320px; margin: 2rem auto; opacity: 0.35; }
.hairline-light { border: 0; border-top: 1px solid rgba(255,255,255,0.55); width: 60px; margin: 1.25rem 0; }
.hairline-light-c { border: 0; border-top: 1px solid rgba(255,255,255,0.55); width: 60px; margin: 1.25rem auto; }
.hairline-foot { border: 0; border-top: 1px solid var(--navy); width: 100%; max-width: 240px; margin: 1.5rem auto; opacity: 0.3; }

/* Typography */
h1, h2, h3, h4 { font-weight: normal; font-family: Georgia, serif; }
h2.section-title { font-size: 1.75rem; color: var(--navy); letter-spacing: 0.01em; }
.hairline-c, .hairline { border-top-color: var(--gold) !important; }
h2.section-title-light { font-size: 1.75rem; color: #FFFFFF; letter-spacing: 0.01em; font-weight: 300; }
h3.subsection { font-size: 1.15rem; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 0.75rem; }
h3.subsection-light { font-size: 1.15rem; color: #FFFFFF; letter-spacing: 0.03em; margin-bottom: 0.75rem; }

.lead { font-style: italic; color: var(--gray); font-size: 1.18rem; max-width: 40em; line-height: 1.6; }
.lead-c { font-style: italic; color: var(--gray); font-size: 1.18rem; max-width: 40em; line-height: 1.6; margin: 0 auto; }
p { line-height: 1.75; margin-bottom: 1rem; }
/* Interior text pages — larger, more readable body (2026-06-25) */
.container-narrow p, .container-narrow li, .container-narrow .desc { font-size: 1.1rem; }

/* Layout helpers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
.grid-2 { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

section { padding: 5rem 0; }

/* ========== HEADER ========== */
header {
  background: #0E1E3A;   /* deep navy — ties to the LinkedIn cards (2026-06-25) */
  border-bottom: 3px solid rgba(199,168,110,0.6);   /* stronger gold seam */
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.1rem 2.25rem;
  display: flex;
  flex-direction: column;     /* stacked + centered masthead (2026-06-25) */
  align-items: center;
  gap: 0.85rem;
}
.header-mark { text-align: center; }
.header-mark .wordmark { font-size: 1.4rem; letter-spacing: 0.22em; white-space: nowrap; color: #FFFFFF; }
.header-mark .wordmark:hover { text-decoration: none; color: #FFFFFF; }
.header-mark .tagline { margin-top: 0.5rem; font-size: 0.95rem; color: var(--burgundy-lift); }
nav.primary {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
  flex-wrap: wrap;
  justify-content: center;
}
nav.primary a { transition: color 0.2s; white-space: nowrap; color: var(--gold-soft); }
nav.primary a:hover { color: #FFFFFF; text-decoration: none; }
/* Current-page marker for multi-page nav (2026-06-25) */
nav.primary a.current { color: #FFFFFF; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* Mobile nav (2026-06-25): instead of hiding the nav entirely (which left
   phone visitors with no way to reach other pages), stack the header and let
   the links wrap into a centered row beneath the wordmark. */
@media (max-width: 860px) {
  .header-inner { flex-direction: column; gap: 1rem; padding: 1rem 1.25rem; }
  .header-mark { justify-content: center; }
  nav.primary { justify-content: center; gap: 1rem 1.25rem; font-size: 0.9rem; }
}

/* Footer brand mark (reversed cream+gold, above the footer wordmark) */
footer .logo-mark-foot { height: 30px; width: auto; display: block; margin: 0 auto 0.6rem; }

/* ========== Breadcrumb (interior pages, 2026-06-25) ========== */
.crumb { background: var(--stone); color: var(--gray); font-size: 0.8rem; letter-spacing: 0.04em; padding: 0.7rem 0; border-bottom: 1px solid var(--stone-deep); }
.crumb .container { padding-top: 0; padding-bottom: 0; }
.crumb a { color: var(--navy); }
.crumb .sep { opacity: 0.5; padding: 0 0.5rem; }

/* ========== HERO A — navy "Authority" treatment ========== */
.hero-a {
  background: var(--navy-deep);
  min-height: calc(100vh - 130px);    /* center content in the viewport under the ~130px header */
  min-height: calc(100svh - 130px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 4.5rem;
  text-align: center;
}
.hero-a .hero-eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.86rem;
  font-weight: 600;
  color: #8AA79B;
  margin-bottom: 1.6rem;
}
.hero-a .hero-pos {
  color: #FFFFFF;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
}
.hero-a .hero-pos strong { color: #D2705F; font-style: italic; font-weight: 400; }
.hero-a .hairline-c { border-top-color: var(--gold); opacity: 0.9; margin: 0 auto 2rem; }
.hero-a .hero-sub {
  font-style: italic;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 44ch;
  margin: 1.8rem auto 0;
}
.hero-a .hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-a .hero-btn {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  width: 23rem; text-align: center; box-sizing: border-box;
  padding: 0.95rem 1.4rem;
  background: transparent; color: var(--gold-soft);
  border: 1.5px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.hero-a .hero-btn:hover { background: var(--gold); color: var(--navy-deep); text-decoration: none; }
@media (max-width: 560px) { .hero-a .hero-btn { width: 100%; } }
.hero-a .hero-attribution { font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gray); }
.hero-a .hero-attribution em { color: var(--ink); }
.hero-a .hero-inquiry {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 1.2rem;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  letter-spacing: 0.02em;
}
.hero-a .hero-inquiry:hover { color: #fff; border-bottom-color: #fff; text-decoration: none; }

/* ========== CREDENTIALS STRIP ========== */
.credentials { background: var(--paper); padding: 4rem 0; border-bottom: none; }
.credentials .container { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding: 2.5rem 0; }
.credentials .grid-3 { text-align: center; gap: 2rem; }
.credentials .num { font-size: 2rem; color: var(--navy); margin-bottom: 0.6rem; font-weight: 400; letter-spacing: 0.015em; }
.credentials .label { font-style: italic; color: var(--gray); font-size: 0.9rem; }

/* ========== POSITIONING ========== */
.positioning { background: var(--paper); padding: 5rem 0; }
.positioning .pull { font-size: 1.45rem; line-height: 1.5; color: var(--navy); font-style: italic; max-width: 30em; margin: 0 auto; text-align: center; padding: 0 2rem; }
.positioning .pull strong { font-weight: normal; font-style: normal; color: var(--burgundy); }
.positioning .attribution { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gray); text-transform: uppercase; }

/* ========== PRACTICE AREAS ========== */
.practice-area-card { border-top: 1px solid var(--navy); padding-top: 1.5rem; }
.practice-area-card h3 { margin-bottom: 1rem; }

/* ========== PROCESS ========== */
.process { background: var(--stone); }
.process-step { padding-top: 1.5rem; border-top: 1px solid var(--navy); }
.process-step .step-label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 0.5rem; opacity: 0.85; }
.process-step h3 { margin-bottom: 0.75rem; }
.process-step ul { list-style: none; margin: 0; padding: 0; }
.process-step ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--stone-deep); font-size: 0.95rem; color: var(--ink); }
.process-step ul li:last-child { border-bottom: none; }

/* ========== MEDIATOR ========== */
.mediator { background: var(--paper); }
.mediator img {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--navy);
  display: block;
  margin: 0.55rem auto 0 auto;
}
.mediator .name-block { text-align: center; margin-top: 1rem; max-width: 300px; margin-left: auto; margin-right: auto; }
.mediator .name-block .name { color: var(--navy); font-size: 1.05rem; }
.mediator .name-block .title { font-style: italic; color: var(--gray); font-size: 0.85rem; }
.mediator .bug-links { text-align: center; margin: 1rem auto 0 auto; max-width: 300px; font-size: 0.78rem; font-style: italic; letter-spacing: 0.04em; color: var(--gray); }
.mediator .bug-links a { color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 1px; opacity: 0.7; transition: opacity 0.2s; }
.mediator .bug-links a:hover { opacity: 1; text-decoration: none; }
.mediator .bug-links .sep { opacity: 0.5; padding: 0 0.35rem; }
.mediator .depth-claim { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--stone-deep); font-size: 0.95rem; color: var(--gray); font-style: italic; }

/* ========== Scroll cue (hero) ========== */
.hero-a { position: relative; }
.hero-a::after {
  content: "";
  display: none;   /* scroll chevron removed 2026-06-25 — nav line in header makes it redundant */
  position: absolute;
  bottom: 1.9rem;
  left: 50%;
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.7;
  pointer-events: none;
  animation: chev-in 0.8s ease 3.0s both, scroll-cue 2.4s ease-in-out 3.8s infinite;
}
@keyframes chev-in { from { opacity: 0; } to { opacity: 0.7; } }
@keyframes scroll-cue {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(8px) rotate(45deg); opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) { .hero-a::after { animation: none; } }

/* ========== Hero entrance ========== */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-a .hero-eyebrow { animation: hero-rise 1.6s ease-in-out 0.2s both; }
.hero-a .hairline-c   { animation: hero-rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }
.hero-a .hero-pos     { animation: hero-rise 2.2s ease-in-out 0.9s both; }
.hero-a .hero-sub     { animation: hero-rise 2.2s ease-in-out 1.3s both; }
.hero-a .hero-cta     { animation: hero-rise 2.2s ease-in-out 1.6s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-a .hero-eyebrow,
  .hero-a .hairline-c,
  .hero-a .hero-pos,
  .hero-a .hero-sub,
  .hero-a .hero-cta { animation: none; }
}

/* ========== APPROACH ========== */
.approach { background: var(--stone); }

/* ========== INSIGHTS ========== */
.insights { background: var(--navy); color: #FFFFFF; }
.insights .lead-c { color: #E5E2DC; }
.insights .grid-3 { margin-top: 3rem; gap: 2.5rem; }
.insights-col { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.4); }
.insights-col h3 { color: #FFFFFF; font-weight: normal; }
.insights-col p { font-style: italic; color: #D5D2CC; font-size: 0.95rem; margin-top: 0.5rem; }
.insights-col .entry { font-style: normal; color: #FFFFFF; font-size: 0.95rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.insights-col .entry .meta { font-style: italic; color: #B5B2AC; font-size: 0.8rem; margin-top: 0.25rem; }

/* ========== REPRESENTATIVE / RECENT MATTERS (2026-06-25) ========== */
.matters { background: var(--paper); }
.matter-list { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 38em; text-align: left; }
.matter-list li { padding: 1.4rem 0; border-top: 1px solid var(--stone-deep); }
.matter-list li:last-child { border-bottom: 1px solid var(--stone-deep); }
.matter-list .cat { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--burgundy); opacity: 0.9; margin-bottom: 0.45rem; }
.matter-list .desc { color: var(--ink); font-size: 1.02rem; line-height: 1.65; margin: 0; }
.matters .disclaimer { margin-top: 2.25rem; font-style: italic; color: var(--gray-soft); font-size: 0.82rem; }

/* ========== CONTACT ========== */
#engagement { padding-bottom: 2.5rem !important; }
.contact { background: var(--stone); border-top: 1px solid var(--stone-deep); padding: 4rem 0 4.5rem; text-align: center; }
.contact h2 { margin-bottom: 1rem; }
.contact .details { margin-top: 2rem; font-size: 1.05rem; line-height: 2; }
.contact .details a { border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.contact .city { font-style: italic; color: var(--gray); font-size: 0.9rem; margin-top: 1rem; }
.contact .cta-row, #engagement .cta-row { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact .cta-row .schedule-btn, #engagement .cta-row .schedule-btn { min-width: 15rem; text-align: center; box-sizing: border-box; }
.contact .neutrality, #engagement .neutrality { font-style: italic; color: var(--gray-soft); font-size: 0.78rem; margin-top: 1.25rem; }
.contact .schedule-btn, #engagement .schedule-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: var(--navy);
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact .schedule-btn:hover,
.contact .schedule-btn:focus,
#engagement .schedule-btn:hover,
#engagement .schedule-btn:focus {
  background: var(--navy-dark);
  color: var(--paper);
  text-decoration: none;
  outline: none;
}

/* ========== FOOTER ========== */
footer { background: var(--paper); border-top: 1px solid #E5E2DC; padding: 2.5rem 0; text-align: center; }
footer .wordmark { font-size: 0.95rem; letter-spacing: 0.2em; }
footer .tagline { font-size: 0.82rem; margin-top: 0.45rem; }
footer .footer-line { font-style: italic; color: var(--gray); font-size: 0.78rem; margin-top: 1.25rem; }
footer .footer-legal { font-style: italic; color: var(--gray); font-size: 0.78rem; margin-top: 0.65rem; }
footer .footer-legal a { color: var(--gray); transition: color 0.2s; }
footer .footer-legal a:hover { color: var(--navy); text-decoration: none; }
footer .copy { color: var(--gray-soft); font-size: 0.75rem; margin-top: 0.75rem; letter-spacing: 0.01em; }

/* ============================================================
   RECOLOR OVERRIDES (2026-06-08)
   ============================================================ */
nav.primary a:hover { color: #FFFFFF !important; }
.practice-navy .practice-area-card { border-top-color: var(--gold); }
.practice-navy .practice-area-card h3.subsection { color: var(--gold-soft); }
.practice-navy .practice-area-card p { color: rgba(255,255,255,0.86); }
.practice-navy { border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }

footer { background: var(--navy-deep); border-top: 2px solid var(--gold); }
footer .wordmark { color: #fff; }
footer .tagline { color: var(--gold-soft); }
footer .footer-line { color: rgba(255,255,255,0.75); }
footer .footer-legal { color: rgba(255,255,255,0.65); }
footer .footer-legal a { color: rgba(255,255,255,0.65); }
footer .footer-legal a:hover { color: var(--gold-soft); }
footer .copy { color: rgba(255,255,255,0.5); }
footer .hairline-foot { border-top-color: var(--gold) !important; opacity: 0.5; }
.contact .cta-row .schedule-btn, #engagement .cta-row .schedule-btn { transition: background 0.2s, border-color 0.2s, color 0.2s; }
.contact .cta-row .schedule-btn:hover, #engagement .cta-row .schedule-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ========== HERO A — photo-left layout (2026-06-10) ========== */
.hero-a {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.hero-photo { position: relative; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 43% 24%;
  display: block;
}
.hero-a .hero-content {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3.5rem 3rem 5.5rem;
}
.hero-a .hero-pos { margin: 0 auto; max-width: 22ch; }
.hero-a .hairline-c { margin: 0 auto 2rem; }
.hero-a .hero-sub { margin: 1.8rem auto 0; }
.hero-a .hero-cta { justify-content: center; flex-direction: column; align-items: center; }
.hero-a::after { left: 71%; }
@media (max-width: 800px) {
  .hero-a { grid-template-columns: 1fr; }
  .hero-photo { min-height: 46vh; }
  .hero-a .hero-content { padding: 2.5rem 2rem 5.5rem; }
  .hero-a::after { left: 50%; }
}

/* ========== Interior page intro (2026-06-25) ========== */
.page-intro { background: var(--paper); padding: 4rem 0 1rem; text-align: center; }
.page-intro .container-narrow { padding-top: 0; }

/* ========== Credentials — two-column grid (2026-06-25) ========== */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem 4.5rem; max-width: 1000px; margin: 3.5rem auto 0; text-align: left; }
.panel-grid .full { grid-column: 1 / -1; }
.panel .subhead { letter-spacing: 0.16em; text-transform: uppercase; font-size: 1rem; color: var(--burgundy); margin: 0 0 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--gold); }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 0.7rem 0; border-bottom: 1px solid var(--stone-deep); }
.panel li:last-child { border-bottom: none; }
.panel .nm { color: var(--navy); font-size: 1.12rem; }
.panel .sub { display: block; font-style: italic; color: var(--gray); font-size: 0.95rem; margin-top: 0.2rem; line-height: 1.5; }
.panel p { color: var(--ink); font-size: 1.08rem; line-height: 1.7; margin: 0; }
.panel p .award { color: var(--navy); }
@media (max-width: 760px) { .panel-grid { grid-template-columns: 1fr; gap: 2rem; } }
