:root {
  --paper: #f7f6f2;
  --ink: #3b2a1f;   /* dark brown (Yves 1.1.9; was #2d251f) */
  --body: #5a4739;  /* brown body text (was gray-brown #514b45) */
  --line: #a59083; /* light brown hairline (Yves 1.2.8) */
  /* 1.2.38 harmonized rhythm (Yves): one body size, one CTA gap, one end-of-page space */
  --fs-body: 18px;
  --lh-body: 1.7;
  --fs-small: 16px;   /* secondary text only: FAQ answers, small notes */
  --cta-gap: 32px;    /* last paragraph -> button, every page */
  --end-space: 96px;  /* button / last block -> footer hairline, every page */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body { font-family: "minion-pro", Georgia, serif; }
a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 6% 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}

.brand-crest {
  display: block;
  width: 51px;
  height: auto;
}

/* Name + tagline as live text, matched to Midcoast Clinic header (1.1.3) */
.brand-text { display: block; text-align: center; color: var(--ink); }
.brand-title {
  display: block;
  font-family: "trajan-pro-3", "Times New Roman", Times, serif;
  font-weight: 600;
  font-style: normal;
  font-size: 15.75px;
  letter-spacing: 0.19em;
  line-height: 0.9em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-tagline {
  display: block;
  margin-top: 15px;
  font-family: "franklin-gothic-urw-cond", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.44em;
  line-height: 1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 40px;   /* Midcoast --nav-margin-top: tagline to nav */
  padding: 0;
  font-family: "minion-pro", Georgia, serif;
  font-weight: 600;
  font-size: 11px;    /* Midcoast --fs-nav */
  letter-spacing: .27em; /* Midcoast --track-nav */
  line-height: 1em;
  text-transform: uppercase;
}

.nav a {
  margin: 0 1.225em;  /* Midcoast nav link spacing */
  padding: 0.618em 0;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav a:hover,
.text-link:hover { color: #a59083; border-color: #a59083; } /* solid lighter brown hover (1.2.14), was opacity fade */
.nav a.active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } /* Yves: keep BD current-page underline */

.hairline {
  height: 1px;
  margin: 42px 6% 0;  /* Midcoast --header-rule-gap: nav to hairline */
  background: var(--ink); /* dark header hairline (Yves 1.2.25) */
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr .95fr;
  gap: 56px;
  align-items: start; /* 1.2.39: photo top level with the eyebrow (was center; the taller two-lead text pushed the photo down, Yves) */
  padding: 48px 6% var(--end-space); /* top: Midcoast --main-pad-top-desktop; bottom: 1.2.38 same end space as every page */
  padding-inline: max(6%, calc((100% - 1440px) / 2)); /* 1.2.40: hero content caps at 1440px and centres on big screens (Yves: unbalanced); <=1568px wide unchanged */
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* 1.2.40: always the full 3:2 picture (was fixed 430px tall, cropped to ~3:1 on wide screens) */
  object-fit: cover;
  filter: grayscale(1) sepia(.08);
}

.hero-copy { padding-right: 4%; }

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: .27em;
  text-transform: uppercase;
}

h1 {
  max-width: 560px;
  margin: 0;
  font-family: "minion-pro", Georgia, serif;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

.lead {
  max-width: 480px;
  color: var(--body);
  font-family: "minion-pro", Georgia, serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.button {
  display: block;         /* 1.2.38: block so the gap above is always --cta-gap (margins collapse with the paragraph above) */
  width: fit-content;
  margin-top: var(--cta-gap);
  padding: 16px 25px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .27em;
  text-transform: uppercase;
  transition: background-color .2s ease;
}

.button:hover { background: #5a4739; } /* lighter brown, solid (1.2.14) */

.values {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 28px;
  background: linear-gradient(var(--ink), var(--ink)) center top / 88% 1px no-repeat; /* dark footer hairline inset 6% (Yves 1.2.25; inset 1.2.12) */
  font-family: "minion-pro", Georgia, serif;
  font-size: 18px;
  font-style: italic;
}
/* Copyright line under values row: Midcoast .copyright type (1.1.8) */
.copyright {
  margin: 0;
  padding: 28px 28px 38px; /* Midcoast: 28px under footer hairline */
  text-align: center;
  font-family: "minion-pro", "Times New Roman", Times, serif;
  font-size: 12px;
  letter-spacing: 0.26px;
  line-height: 1.6;
  color: #a59083; /* solid light brown (1.2.15), was translucent and read gray */
}
.footer-hairline { height: 1px; margin: 0 6%; background: var(--ink); } /* dark hairline above copyright (Yves 1.2.25) */
.copyright em { font-style: italic; }
.values span + span::before { content: "\00B7"; margin: 0 .6em; font-style: normal; } /* middle dot between words (Yves 1.1.7) */

.sub-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 6% 40px; /* match home hero */
  text-align: center;
}

.sub-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(48px, 5vw, 68px); /* same as home h1 */
}

.sub-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 330px);
  gap: 10%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 48px 6% 72px;
  border-top: 1px solid var(--line);
}

.prose {
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.prose .standfirst {
  margin-top: 0;
  color: var(--ink);
}

.prose h2,
.contact-aside h2 { /* section heading inside running text */
  margin: 44px 0 14px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

/* 1.2.38: one display-h2 size for big section headings (bios, closings, Approach inner heading) */
.closing-section h2,
.about-closing h2,
.mediator-grid h2,
.sub-hero-inner h2 {
  color: var(--ink);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.criteria {
  margin: 30px 0; /* 1.2.38: same as .areas / .cases */
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.criteria li {
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.criteria li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.page-aside {
  align-self: start;
  position: sticky;
  top: 40px;
  padding: 0 0 28px; /* top aligned with first paragraph (1.2.11) */
  border-bottom: 1px solid var(--line);
}

.page-aside p {
  margin: 0;
  font-size: var(--fs-body);
  font-style: italic;
  line-height: var(--lh-body);
}

.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.faq-section {
  padding: 64px 6% var(--end-space); /* 1.2.38: last section on Mediation */
  background: #f0eee8;
}

.faq-section > .eyebrow {
  max-width: 1160px;
  margin: 0 auto 38px;
  font-weight: normal; /* 1.2.54: FAQ eyebrow is an h2 (landmarks), same look as the old p */
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 70px;
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-grid article {
  padding: 26px 0; /* 1.2.38: same as .cases / .areas items */
  border-bottom: 1px solid var(--line);
}

.faq-grid h3,
.prose .areas h3,
.prose .cases h3,
.process-list h3 { /* 1.2.38: one item-heading style (FAQ, focus areas, cases, process steps); steps are h3 since 1.2.53 */
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.faq-grid p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.process-section {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 9%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 48px 6% 72px;
  border-top: 1px solid var(--line);
}

.process-intro p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0; /* 1.2.38: same as other hairline item lists */
  border-bottom: 1px solid var(--line);
}

.process-list article:first-child { padding-top: 0; } /* Inquiry aligns with intro top (1.2.11) */

.process-list article > span {
  padding-top: 6px;
  font-size: 11px;
  letter-spacing: .27em;
}

.process-list p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.landscape-band {
  height: 410px;
  margin: 0;
  overflow: hidden;
}

.landscape-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(.08);
}

.closing-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 6% var(--end-space); /* 1.2.38: same as About closing */
}

.closing-section h2 {
  max-width: 520px;
  margin: 0;
}

.closing-section > div:last-child > p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* 1.2.34: About closing — full-width heading, two columns aligned with the bio text, extra space under the button (Yves) */
.about-closing {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 0 var(--end-space);
}

.about-closing h2 {
  margin: 0 0 40px;
  padding: 0 4%; /* = 8% of one bio column, same left edge as the bio text */
}

.about-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.about-cols > div { padding: 0 8%; } /* same as .mediator-grid article */

.about-cols p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* 1.2.33: hairline directly under the About headline (Yves) */
.about-rule {
  max-width: 760px;
  margin: 28px auto 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.mediator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1220px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mediator-grid article {
  padding: 48px 8%;
}

.mediator-grid article + article { border-left: 1px solid var(--line); }
.mediator-photo { margin: 0 0 36px; }
.mediator-photo img { display: block; width: 100%; height: auto; }
.mediator-grid h2 { margin: 0 0 30px; }

.mediator-grid article > p:not(.eyebrow) {
  color: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.mediator-grid dl {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.mediator-grid dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.mediator-grid dt {
  font-size: 11px;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.mediator-grid dd {
  margin: 0;
  color: var(--body);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(250px, 350px);
  gap: 10%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 48px 6% var(--end-space); /* 1.2.38: last section on Contact */
  border-top: 1px solid var(--line);
}

.inquiry-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.inquiry-form label {
  display: grid;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #a59083;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 18px/1.5 "minion-pro", Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
}

.inquiry-form input,
.inquiry-form select { min-height: 46px; }
.inquiry-form textarea { padding: 12px 0; resize: vertical; }
.inquiry-form select {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 28px 0 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233b2a1f' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 4px center;
  cursor: pointer;
}
.inquiry-form select:has(option[value=""]:checked) { color: #a59083; }
.inquiry-form select option { color: var(--ink); }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { border-color: var(--ink); }
.inquiry-form .button { margin-top: calc(var(--cta-gap) - 24px); border: 0; cursor: pointer; } /* 1.2.38: 24px grid gap + 8px = --cta-gap */

.contact-aside {
  align-self: start;
  padding: 0 0 34px; /* top aligned with form (1.2.11) */
}

.contact-aside h2 { margin: 0 0 22px; }
.contact-aside p { color: var(--body); font-size: var(--fs-body); line-height: var(--lh-body); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details strong { font-size: 18px; font-weight: 400; }
.contact-details span { color: var(--body); }
/* 1.2.38: address + phone (Yves, 'for now'); labels like the bio dl / eyebrows */
.contact-lines { margin: 18px 0 0; border-top: 1px solid var(--line); }
.contact-lines div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 15px 0 0; }
.contact-lines dt { padding-top: 4px; font-size: 11px; letter-spacing: .27em; text-transform: uppercase; }
.contact-lines dd { margin: 0; color: var(--body); font-size: var(--fs-small); line-height: 1.6; } /* same size as the name/place lines above */
.contact-lines a { border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-lines a:hover { color: var(--line); }


@media (max-width: 900px) {
  .site-header { padding-top: 15px; }
  .brand-lockup { gap: 15px; margin-bottom: 6px; }
  .brand-crest { width: 47px; }
  .brand-title { font-size: 13.5px; }
  .brand-tagline { margin-top: 11.25px; }
  .nav { gap: 4px 18px; flex-wrap: wrap; letter-spacing: .2em; }
  .nav a { margin: 0; }
  .hero { grid-template-columns: 1fr; gap: 38px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 3 / 2; } /* 1.2.30: same shape as desktop (Yves) */
  .hero-copy { padding: 0 2%; }
  .editorial-layout,
  .process-section,
  .closing-section,
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .about-cols { grid-template-columns: 1fr; row-gap: 1em; } /* 1.2.34 */
  .about-closing h2 { padding-inline: 8%; } /* 1.2.34: one column, match bio */
  .page-aside { position: static; }
  .faq-grid,
  .mediator-grid { grid-template-columns: 1fr; }
  .mediator-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 5%; }
  .nav { gap: 14px 20px; font-size: 9px; }
  .hairline { margin-inline: 5%; }
  .hero { padding: 28px 5% var(--end-space); }
  h1 { font-size: 46px; }
  .values { padding-inline: 5%; font-size: 15px; }
  .copyright { font-size: 11px; padding-inline: 5%; }
  .footer-hairline { margin-inline: 5%; }
  .values { background-size: 90% 1px; } /* Midcoast phone size */
  .sub-hero { padding: 28px 5% 34px; } /* match home phone hero */
  .sub-hero h1 { font-size: 46px; }
  .editorial-layout,
  .process-section,
  .closing-section,
  .contact-layout { padding-left: 5%; padding-right: 5%; }
  .faq-section { padding-inline: 5%; }
  .form-row { grid-template-columns: 1fr; }
  .landscape-band { height: 300px; }
  .closing-section h2,
  .about-closing h2,
  .mediator-grid h2,
  .sub-hero-inner h2 { font-size: 40px; }
  .mediator-grid article { padding: 40px 5%; }
  .about-closing h2, .about-cols > div { padding-inline: 5%; } /* 1.2.34 */
}

/* 1.1.0 — contact spam guard (ported from Midcoast 4.3.43) */
.inquiry-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 2026-10-10 (1.2.55): Invisible Turnstile after the submit button, zero height like MC's .contact-form .cf-turnstile;
   position absolute takes it out of the form grid, so the 24px grid gap is not added and the layout is unchanged */
.inquiry-form .cf-turnstile {
  position: absolute;
  height: 0;
  margin: 0;
  overflow: hidden;
}
.inquiry-form .form-error {
  color: #8a2b1f;
  margin: 0 0 1rem;
}

/* 1.2.38: one gap between stacked paragraphs everywhere (was 1em / .8em / browser default mixed) */
.about-cols p + p,
.closing-section > div:last-child > p + p,
.prose .cases p + p,
.process-intro p + p,
.process-list p + p,
.faq-grid article p + p { margin-top: 1em; }

/* 1.2.35: Mediation rewrite — inline prose link, bold lead-ins in criteria lists, spacing after lists */
.prose p a { border-bottom: 1px solid var(--line); color: var(--ink); }
.prose p a:hover { color: #a59083; border-color: #a59083; }
.criteria strong { color: var(--ink); font-weight: 600; }

/* 1.2.36: Mediation "Matters we mediate" areas + multi-paragraph FAQ answers */
.prose .areas { margin: 30px 0; border-top: 1px solid var(--line); }
.prose .areas h3 { margin-top: 26px; }
.prose .areas p { margin: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }

/* 1.2.37: Approach rewrite — illustrative cases, inner section heading, multi-paragraph steps */
.prose .note { margin: -4px 0 0; color: var(--body); font-size: var(--fs-small); font-style: italic; }
.prose .cases { margin: 30px 0; border-top: 1px solid var(--line); }
.prose .cases article { padding: 26px 0; border-bottom: 1px solid var(--line); }
.prose .cases p { margin: 0; }
.prose .cases p:last-child { color: var(--ink); font-style: italic; }
.sub-hero-inner { border-top: 1px solid var(--line); padding-top: 64px; }
.sub-hero-inner h2 { max-width: 920px; margin: 0 auto; }

/* 1.2.41: phone-consult announcement banner (Yves: Midcoast banner in BD dark brown).
   Ported from Midcoast 4.3.44 .announcement: top of page above the header, not sticky,
   franklin-gothic-urw-cond 11px / .1em / uppercase, padding .8em 3em, dismiss x at right. */
.announcement {
  position: relative;
  z-index: 1;
  background: var(--ink);   /* #3b2a1f, same as .button */
  color: var(--paper);      /* #f7f6f2, same as .button text */
  text-align: center;
}
.announcement.is-hidden { display: none; }
.announcement-text {
  margin: 0;
  padding: 0.8em 3em;
  font-family: "franklin-gothic-urw-cond", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.2em;
  text-transform: uppercase;
}
.announcement-text a {
  color: var(--paper);
  text-decoration: underline;
}
.announcement-text a:hover { color: var(--line); }
.announcement-text .announcement-phone { white-space: nowrap; color: inherit; text-decoration: none; } /* 1.2.43: plain text like Midcoast (no link, no underline); was tel link in 1.2.42 */
@media (max-width: 560px) {
  .announcement-text .announcement-phone { display: table; margin: 0 auto; } /* 1.2.42 (Yves): number always on its own 2nd line on phones; colon stays on line 1 */
}
.announcement-close {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  width: 2.8em;
  height: 2.78em;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.15);
  color: var(--paper);
  font-size: 11px;
  text-align: center;
  line-height: 0;
}
.announcement-close::after {
  content: "\00d7";
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
  font-weight: 100;
  line-height: 2.7em;
  letter-spacing: normal;
  padding: 0;
  text-align: center;
}

/* 1.2.49: stacked sub-hero paragraphs (Contact) share one style; 1em between */
.sub-hero > p:not(.eyebrow) + p { margin-top: 1em; }
/* 1.2.50: no single-word last line in sub-hero intros */
.sub-hero > p:not(.eyebrow) { text-wrap: balance; }

/* 1.2.52 (step 13): <picture> wrappers add no box, so the <img> keeps its old place in the grid/figure (hero grid item, band 100% height). */
picture { display: contents; }
picture source { display: none; } /* otherwise the empty <source> boxes become grid items (extra rows in .hero) */
.brand-crest { aspect-ratio: 617 / 853; } /* crest file is now 120px wide; keep the exact old box (51 x 70.5px) */
/* 1.2.54: footer moved out of <main> (landmarks); mirrors .page so it looks identical */
.site-footer { overflow: hidden; background: var(--paper); }
