/* ==========================================================================
   D&JP Pietrangelo Law — Oxblood & Ivory
   djplawfirm.ca

   Colour names below are legacy (--forest, --cream) and now carry oxblood and
   ivory values. Kept deliberately: every rule and every hard-coded SVG fill in
   the HTML references them, and renaming ~200 usages buys nothing.

   Contrast is calculated, not eyeballed:
     --brass-light #C9A468 on --forest #5C1A2B  → 5.49:1  (small text OK)
     --brass-deep  #7E5E2C on --cream  #F7F3ED  → 5.39:1  (small text OK)
     --muted       #6E6259 on --cream           → 5.35:1  (body text OK)
     --brass / --stone are decorative only — both fail small-text contrast.
   ========================================================================== */

:root {
  /* Core palette — Oxblood & Ivory */
  --forest:      #5C1A2B;  /* oxblood */
  --forest-deep: #3F1220;  /* deep oxblood — topbar, footer */
  --forest-soft: #74243A;  /* lifted oxblood — gradient stops */
  --brass:       #B08D4F;  /* aged brass — rules, marks, decoration */
  --brass-light: #C9A468;  /* brass for text on oxblood — 5.49:1 */
  --brass-deep:  #7E5E2C;  /* brass for text on ivory   — 5.39:1 */
  --cream:       #F7F3ED;  /* ivory */
  --paper:       #FCFAF6;  /* lifted ivory — alternating sections */
  --ink:         #1E1C1A;  /* charcoal */
  --muted:       #6E6259;  /* body-safe muted — 5.35:1 on ivory */
  --stone:       #9A8F86;  /* taupe — decorative only: borders, rules */
  --line:        #E2D9CC;
  --line-dark:   rgba(201, 164, 104, 0.24);

  /* Type */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
  --swoop-h: clamp(48px, 8vw, 110px);
  --radius: 3px;
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1.06rem; line-height: 1.35; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ utilities -- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2, .section--forest h3 { color: #fff; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 34px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 0 0 34px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}
.section--forest .eyebrow { color: var(--brass-light); }
.section--forest .eyebrow::after,
.section--forest .eyebrow::before { background: var(--brass-light); }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}
.section--forest .lede { color: rgba(247, 243, 237, 0.82); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before {
  content: "";
  flex: 0 0 34px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}
.section--forest.center .eyebrow::before { background: var(--brass-light); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.center .section-head { margin-inline: auto; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: clamp(40px, 6vw, 64px) 0;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease,
              border-color .22s ease, transform .22s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn--primary:hover { background: #977640; border-color: #977640; }

.btn--ghost-light { color: var(--cream); border-color: rgba(247,243,237,0.4); }
.btn--ghost-light:hover { border-color: var(--brass-light); color: var(--brass-light); }

.btn--ghost-dark { color: var(--forest); border-color: rgba(92,26,43,0.28); }
.btn--ghost-dark:hover { border-color: var(--forest); background: var(--forest); color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.center .btn-row { justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass-deep);
  border-bottom: 1px solid rgba(176,141,79,0.35);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.textlink:hover { color: var(--forest); border-color: var(--forest); gap: 0.8rem; }
.textlink .arrow { transition: transform .2s ease; }
.textlink:hover .arrow { transform: translateX(3px); }
.section--forest .textlink { color: var(--brass-light); border-color: rgba(201,164,104,0.4); }
.section--forest .textlink:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------- header -- */

.topbar {
  background: var(--forest-deep);
  color: rgba(247, 243, 237, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  padding-block: 6px;
}
.topbar__contact { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.topbar__contact a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color .2s ease;
}
.topbar__contact a:hover { color: var(--brass-light); }
.topbar__contact svg { width: 13px; height: 13px; flex: none; opacity: 0.75; }

.social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.social a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: rgba(247, 243, 237, 0.72);
  transition: color .2s ease, background-color .2s ease;
}
.social a:hover { color: var(--forest-deep); background: var(--brass-light); }
.social svg { width: 15px; height: 15px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 245, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--forest);
}
.brand__mark {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  background: var(--forest);
  color: var(--brass-light);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(201, 164, 104, 0.4);
  border-radius: 1px;
}
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  display: block;
}
.brand__tag {
  display: block;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--brass-deep); }
.nav__links a[aria-current="page"] {
  color: var(--brass-deep);
  border-color: var(--brass);
}

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--forest);
  cursor: pointer;
  place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(92, 26, 43, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 480px; }
  .nav__links a {
    display: block;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--line);
    border-left: 2px solid transparent;
  }
  .nav__links a[aria-current="page"] { border-left-color: var(--brass); border-bottom-color: var(--line); }
  .nav__inner { position: relative; }
}

@media (max-width: 720px) {
  .topbar__contact .topbar__hide { display: none; }
  .topbar__inner { justify-content: space-between; }
}
@media (max-width: 460px) {
  .topbar .social { display: none; }
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 82% 0%, rgba(176, 141, 79, 0.22) 0%, rgba(176, 141, 79, 0) 62%),
    linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 55%, var(--forest) 100%);
}
/* Fine engraved-rule texture — reads as letterpress, not as noise */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(201, 164, 104, 0.045) 0px,
    rgba(201, 164, 104, 0.045) 1px,
    transparent 1px,
    transparent 9px
  );
  pointer-events: none;
}

.hero__inner {
  padding-top: clamp(72px, 11vw, 130px);
  /* keeps content clear of the swoop */
  padding-bottom: calc(var(--swoop-h) + clamp(40px, 6vw, 72px));
}
.hero--page .hero__inner {
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: calc(var(--swoop-h) + clamp(28px, 4vw, 52px));
}

.hero h1 { color: #fff; max-width: 11ch; }
.hero--page h1 { max-width: 16ch; }
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.65;
  color: rgba(247, 243, 237, 0.85);
  max-width: 58ch;
  margin-top: 1.4rem;
}

.hero__swoop {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: var(--swoop-h);
  display: block;
  z-index: 1;
}

/* Gentler echo of the same motif, at exactly one other boundary */
.swoop-echo {
  position: absolute;
  left: 0; top: -1px;
  width: 100%;
  height: clamp(32px, 5vw, 68px);
  display: block;
}
.has-echo { position: relative; }

@media (max-width: 640px) {
  :root { --swoop-h: 40px; }
  .swoop-echo { height: 26px; }
}

/* -------------------------------------------------------------- credits -- */

/* NOTE: must stay --cream. It sits directly under the hero swoop, and the
   swoop's fill is hard-coded to #F7F3ED — change one and you get a seam. */
.credstrip {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.credstrip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.credstrip__item {
  padding: clamp(28px, 4vw, 42px) clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.credstrip__item:first-child { border-left: 0; }
.credstrip__num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--forest);
  display: block;
  margin-bottom: 0.5rem;
}
.credstrip__label {
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 860px) {
  .credstrip__grid { grid-template-columns: repeat(2, 1fr); }
  .credstrip__item:nth-child(3) { border-left: 0; }
  .credstrip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .credstrip__grid { grid-template-columns: 1fr; }
  .credstrip__item { border-left: 0; border-top: 1px solid var(--line); }
  .credstrip__item:first-child { border-top: 0; }
}

/* ----------------------------------------------------------- door cards -- */

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.door {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  padding: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.door:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -26px rgba(92, 26, 43, 0.42);
}
.door__who {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 0.9rem;
}
.door h3 { margin-bottom: 0.7rem; }
.door p { color: var(--muted); font-size: 0.98rem; }
.door .textlink { margin-top: auto; align-self: flex-start; }

.ticklist { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; }
.ticklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
}
.section--forest .ticklist li { color: rgba(247, 243, 237, 0.9); }
.section--forest .ticklist li::before { background: var(--brass-light); }

/* -------------------------------------------------------------- columns -- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.grid-2--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .grid-2--split { grid-template-columns: 1fr; } }

.approach__num {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--brass-deep);
  display: block;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.approach h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.approach p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------------------------------------------- team -- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 52px);
}
.person__portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(70% 70% at 50% 32%, var(--forest-soft) 0%, var(--forest) 62%, var(--forest-deep) 100%);
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 1.6rem;
  overflow: hidden;
}
.person__portrait::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 164, 104, 0.34);
  pointer-events: none;
}
.person__monogram {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--brass-light);
  text-align: center;
}
.person__monogram small {
  display: block;
  font-family: var(--body);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.5);
  margin-top: 1rem;
}
.person__name { margin-bottom: 0.25rem; }
.person__role {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1.1rem;
}
.person__body p { color: var(--muted); font-size: 0.98rem; }
.person__meta {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.person__meta li {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  padding-block: 0.4rem;
}
.person__meta dt, .person__meta .k {
  flex: 0 0 8.5rem;
  color: var(--brass-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-top: 0.28rem;
}
.person__meta .v { color: var(--muted); }

/* -------------------------------------------------------------- feature -- */

.feature {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 110% at 15% 15%, rgba(176,141,79,0.2) 0%, rgba(176,141,79,0) 60%);
  pointer-events: none;
}
.feature .container { position: relative; }

/* .feature paints its own dark ground but is NOT .section--forest, so none of
   the light-text rules above reach it. Without this block .lede falls back to
   --muted and .ticklist li to --ink, both of which render near-black on
   oxblood. Keep these in sync with the .section--forest equivalents. */
.feature { color: var(--cream); }
.feature h2, .feature h3 { color: #fff; }
.feature .eyebrow { color: var(--brass-light); }
.feature .eyebrow::after,
.feature .eyebrow::before { background: var(--brass-light); }
.feature .lede { color: rgba(247, 243, 237, 0.82); }
.feature .ticklist li { color: rgba(247, 243, 237, 0.9); }
.feature .ticklist li::before { background: var(--brass-light); }
.feature .textlink { color: var(--brass-light); border-color: rgba(201, 164, 104, 0.4); }
.feature .textlink:hover { color: #fff; border-color: #fff; }
.pullquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 2px solid var(--brass);
}
.pullquote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-top: 1.6rem;
}

/* -------------------------------------------------------------- reviews -- */

.reviewslot {
  border: 1px dashed rgba(176, 141, 79, 0.55);
  background: var(--paper);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.reviewslot__stars {
  color: var(--brass);
  letter-spacing: 0.35em;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.reviewslot h3 { margin-bottom: 0.6rem; }
.reviewslot p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.reviewslot__tag {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  border: 1px solid rgba(176,141,79,0.4);
  border-radius: 100px;
  padding: 0.4rem 0.95rem;
}

/* ------------------------------------------------------------- services -- */

.svc-block { scroll-margin-top: 110px; }
.svc-block + .svc-block { margin-top: clamp(56px, 8vw, 96px); }

.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.4rem;
  margin-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 2px solid var(--forest);
}
.svc-head h2 { margin: 0; }
.svc-head .svc-who {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
  transition: background-color .22s ease;
}
.svc-card:hover { background: #fff; }
.svc-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.svc-card h3::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  background: var(--brass);
  transform: rotate(45deg);
}
.svc-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  margin-top: 1.5rem;
}
.compare th, .compare td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  border-bottom-color: var(--brass);
}
.compare tbody th { font-weight: 500; color: rgba(247,243,237,0.95); font-family: var(--body); font-size: 0.96rem; }
.compare td { color: rgba(247, 243, 237, 0.76); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------ resources -- */

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}
.res-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.2vw, 34px);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.res-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(92, 26, 43, 0.4);
}
.res-card__tag {
  align-self: flex-start;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  border: 1px solid rgba(176,141,79,0.4);
  border-radius: 100px;
  padding: 0.32rem 0.8rem;
  margin-bottom: 1.2rem;
}
.res-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.res-card p { font-size: 0.95rem; color: var(--muted); }
.res-card__meta {
  margin-top: auto;
  padding-top: 1.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 0;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.linklist a:hover { color: var(--brass-deep); padding-left: 8px; }
.linklist strong { font-weight: 600; font-size: 1rem; }
.linklist span { font-size: 0.9rem; color: var(--muted); }

details.faq {
  border-bottom: 1px solid var(--line);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 2.5rem 1.3rem 0;
  font-family: var(--display);
  font-size: 1.14rem;
  line-height: 1.35;
  position: relative;
  transition: color .2s ease;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--brass-deep); }
details.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 1.75rem;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg);
  transition: transform .22s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 1.95rem; }
details.faq .faq__body {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 68ch;
}

.notebar {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(176, 141, 79, 0.09);
  border-left: 2px solid var(--brass);
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}
.notebar svg { width: 17px; height: 17px; flex: none; color: var(--brass-deep); margin-top: 3px; }
.notebar p { margin: 0; }

/* ----------------------------------------------------------- newsletter -- */

.signup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  padding: clamp(28px, 4vw, 48px);
}
.section--forest .signup {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
  border-top-color: var(--brass);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.5rem;
}
.section--forest .field label { color: var(--brass-light); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section--forest .field input,
.section--forest .field select,
.section--forest .field textarea {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-dark);
  color: #fff;
}
.section--forest .field input::placeholder,
.section--forest .field textarea::placeholder { color: rgba(247,243,237,0.42); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176, 141, 79, 0.18);
}
.field textarea { resize: vertical; min-height: 150px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field .error {
  display: none;
  font-size: 0.82rem;
  color: #9B3226;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-top: 0.4rem;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #9B3226; }
.field.is-invalid .error { display: block; }
.section--forest .field.is-invalid .error { color: #E9A79C; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.consent input { width: auto; margin-top: 4px; flex: none; }
.section--forest .consent { color: rgba(247,243,237,0.72); }

/* The consent box isn't inside a .field, so it needs its own invalid state —
   otherwise an unticked box blocks submit with nothing on screen to explain why. */
.consent.is-invalid { color: #9B3226; }
.consent.is-invalid input { outline: 2px solid #9B3226; outline-offset: 2px; }
.section--forest .consent.is-invalid { color: #E9A79C; }

.form-success {
  display: none;
  border: 1px solid var(--brass);
  background: rgba(176, 141, 79, 0.1);
  padding: clamp(24px, 3.4vw, 36px);
  text-align: center;
}
.form-success.is-shown { display: block; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); margin: 0; }
.section--forest .form-success p { color: rgba(247,243,237,0.8); }
form.is-sent { display: none; }

.issue {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px);
}
.issue + .issue { margin-top: clamp(20px, 2.6vw, 28px); }
.issue__date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.9rem;
}
.issue h3 { margin-bottom: 1rem; }
.issue__items { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.issue__items li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}
.issue__items li b { font-weight: 600; }
.issue__items li span { color: var(--muted); display: block; font-size: 0.9rem; margin-top: 2px; }

/* -------------------------------------------------------------- contact -- */

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 38px);
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  font-size: 0.98rem;
}
.contact-list svg { width: 17px; height: 17px; flex: none; color: var(--brass); margin-top: 5px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(176,141,79,0.4); transition: color .2s ease; }
.contact-list a:hover { color: var(--brass-deep); }
.contact-list .sub { display: block; color: var(--muted); font-size: 0.88rem; }

.hours { list-style: none; margin: 0; padding: 0; font-size: 0.96rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours span { color: var(--muted); }

.map {
  border: 1px solid var(--line);
  line-height: 0;
  background: var(--paper);
}
.map iframe { width: 100%; height: clamp(280px, 40vw, 420px); border: 0; display: block; filter: grayscale(0.35) contrast(1.02); }

/* --------------------------------------------------------------- footer -- */

.footer {
  background: var(--forest-deep);
  color: rgba(247, 243, 237, 0.72);
  font-size: 0.93rem;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-block: clamp(52px, 7vw, 80px);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--brass-light); }
.footer .brand { color: var(--cream); margin-bottom: 1.2rem; }
.footer .brand__tag { color: var(--brass-light); }
.footer .social { margin-top: 1.4rem; }
.footer .social a { color: rgba(247,243,237,0.7); border: 1px solid rgba(201,164,104,0.28); }
.footer .social a:hover { color: var(--forest-deep); background: var(--brass-light); border-color: var(--brass-light); }

.footer__bar {
  border-top: 1px solid rgba(201, 164, 104, 0.18);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(247, 243, 237, 0.55);
}
.footer__disclaimer { max-width: 68ch; line-height: 1.6; }

/* ------------------------------------------------------------- reveal -- */

/* `.reveal` is an inert markup hook, deliberately left with no hidden state.
   A scroll-in animation was tried and removed: any environment that stalls
   IntersectionObserver or CSS transitions (backgrounded tabs, prerender,
   embedded webviews) leaves the entire page at opacity 0. For a firm's public
   site that failure is unacceptable, and the animation isn't worth the risk.
   The class is kept so the effect can be reintroduced in one block if wanted. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------------------------------------------------------- prose body -- */
/* Output of the dashboard rich-text editor (h2/h3/p/ul/ol/blockquote/a).
   Team bios, service bodies and newsletter articles all render through this. */
.prose-body { font-size: 1.02rem; line-height: 1.75; color: var(--ink); max-width: 68ch; }
.prose-body > *:first-child { margin-top: 0; }
.prose-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.2em 0 .55em; }
.prose-body h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin: 1.8em 0 .5em; }
.prose-body p { margin: 0 0 1.15em; }
.prose-body ul, .prose-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose-body li { margin-bottom: .5em; }
.prose-body ul { list-style: none; padding-left: 0; }
.prose-body ul li { position: relative; padding-left: 1.5rem; }
.prose-body ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg);
}
.prose-body blockquote {
  margin: 1.8em 0; padding-left: clamp(16px, 2.4vw, 26px);
  border-left: 2px solid var(--brass);
  font-family: var(--display); font-size: 1.25rem; line-height: 1.45; color: var(--forest);
}
.prose-body a { color: var(--brass-deep); border-bottom: 1px solid rgba(176,141,79,.4); text-decoration: none; }
.prose-body a:hover { color: var(--forest); border-color: var(--forest); }
.prose-body strong { font-weight: 600; }
.prose-body img { margin: 1.8em 0; }
.section--forest .prose-body,
.feature .prose-body { color: rgba(247, 243, 237, .88); }
.section--forest .prose-body h2, .section--forest .prose-body h3 { color: #fff; }

/* Footer meta row: Terms · Staff login · built-by. Keeps the separators from
   orphaning onto their own line on narrow screens. */
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.footer__meta a { border-bottom: 1px solid rgba(201, 164, 104, .3); }
.footer__meta a:hover { border-color: var(--brass-light); }
.footer__meta > span[aria-hidden] { opacity: .4; }

/* ------------------------------------------------------------- rooms -- */
/* LTB hearing-room table. Light ground, unlike .compare which lives on the
   oxblood band — don't reuse that one here. */
.rooms { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--paper); }
.rooms thead th {
  font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep);
  text-align: left; padding: .9rem 1rem; border-bottom: 2px solid var(--brass);
  background: var(--cream); position: sticky; top: 0;
}
.rooms tbody th, .rooms td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.rooms tbody th { font-family: var(--display); font-size: 1.1rem; font-weight: 400; color: var(--forest); width: 8rem; }
.rooms td { color: var(--muted); font-variant-numeric: tabular-nums; }
.rooms tbody tr:hover { background: #fff; }
.rooms tbody tr:last-child th, .rooms tbody tr:last-child td { border-bottom: 0; }
.rooms .textlink { font-size: .72rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
#room-filter:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,79,.18); }
