/* ============================================================
   Caruso Danielson — 1A · Subtle, modern, polished
   Cormorant Garamond headlines, Manrope body. Logo navy with
   steel-blue accents; white and a cool tint as grounds.
   ============================================================ */

:root {
  --navy:        #0D2B5A;
  --navy-2:      #173A6E;
  --steel:       #4A6A8F;
  --steel-lt:    #8FB0D6;

  --serif:       "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:        Manrope, "Helvetica Neue", Arial, sans-serif;

  --shell:       1440px;
  --gutter:      clamp(1.25rem, 5vw, 4.5rem);
  --section-py:  clamp(4.5rem, 9.7vw, 8.75rem);
  --measure:     66ch;
  --read:        38rem;   /* section prose: about 70 characters a line */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --tap:         44px;
  --mh:          104px;

  color-scheme: light;
}

/* Paper roles. Redeclared inside navy grounds (.band--deep, .request, .phead,
   .hero) so every component reverses without a rule of its own. */
:root {
  --ground:      #FFFFFF;
  --tint:        #F4F6F9;
  --plate:       #FFFFFF;
  --ink:         #1A2233;
  --ink-2:       #3B4453;
  --ink-3:       #5F6775;
  --head:        var(--navy);
  --accent:      var(--steel);
  --rule:        #E3E7EE;
  --rule-strong: #C9D2DE;
  --focus:       var(--steel);
  --flag:        #A33A1F;
}

.band--deep, .request, .phead, .hero, .strip, .nav-panel, .qbar {
  --ground:      var(--navy);
  --ink:         #FFFFFF;
  --ink-2:       #D5DEEA;
  --ink-3:       #AFC0D6;
  --head:        #FFFFFF;
  --accent:      var(--steel-lt);
  --rule:        rgba(255, 255, 255, .18);
  --rule-strong: rgba(255, 255, 255, .42);
  --focus:       var(--steel-lt);
  --flag:        #FFB4A2;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mh) + 12px); }

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

img, video { max-width: 100%; display: block; }
figure, blockquote { margin: 0; }

::selection { background: var(--navy); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
section[tabindex="-1"]:focus { outline: none; }

.visually-hidden, .screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #FFFFFF; color: var(--navy);
  padding: .85rem 1.15rem; font-size: .9375rem; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

.fig { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
/* Cormorant sets old-style figures by default; figures in display type line up. */
h1, h2, h3, h4, .t-display, .t-headline, .t-title, .num { font-variant-numeric: lining-nums; }
.nowrap { white-space: nowrap; }

/* ── Type ───────────────────────────────────────────────── */

.eyebrow, .lbl {
  display: block; margin: 0;
  font-family: var(--sans); font-size: .75rem; font-weight: 500; line-height: 1.4;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}

/* Headings are styled by class as well as element: the heading-level controls
   can retag a title (h2 → p), and it must keep its look. */
h1, h2, h3, h4, .t-display, .t-headline, .t-title { margin: 0; text-wrap: balance; }
h1, h2, .t-display, .t-headline {
  font-family: var(--serif); font-weight: 500; color: var(--head); letter-spacing: -.01em;
}
.t-display { font-size: clamp(2.75rem, 5.85vw, 5.25rem); line-height: 1.02; }
.t-headline { font-size: clamp(2.125rem, 3.35vw, 3rem); line-height: 1.1; text-wrap: pretty; }
.eyebrow + .t-headline, .eyebrow + .t-display { margin-top: 1.25rem; }
.t-headline--xl { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
h3, h4, .t-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; color: var(--head); }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
.prose p { max-width: var(--measure); color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }

a { color: var(--head); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.num { font-family: var(--serif); font-size: .9375rem; font-weight: 500; letter-spacing: .1em; color: var(--accent); }

/* The quiet underlined link with an arrow: "Meet the appraisers →". */
.textlink {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start;
  padding-bottom: .4rem; border-bottom: 1px solid currentColor;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em; color: var(--head); text-decoration: none;
}
.textlink svg { width: 13px; height: 13px; flex: none; transition: transform .25s var(--ease); }
.textlink:hover { color: var(--accent); }
.textlink:hover svg { transform: translateX(3px); }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: var(--tap); padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 2px;
  background: var(--navy); color: #FFFFFF;
  font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--navy-2); color: #FFFFFF; }
.btn svg { width: 13px; height: 13px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1.05rem 2rem; font-size: .9375rem; }
.btn--light { background: #FFFFFF; color: var(--navy); }
.btn--light:hover { background: #E6ECF4; color: var(--navy); }
.btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; }
.btn--ghost svg { width: 15px; height: 15px; }
.btn--ghost:hover svg { transform: none; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.roundbtn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  background: transparent; border: 1px solid var(--rule-strong); color: var(--head); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.roundbtn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.roundbtn:disabled { opacity: .35; cursor: default; }
.roundbtn svg { width: 14px; height: 14px; }

/* ── Masthead: one colour everywhere. The full-colour logo on white, then a
   navy panel from just before the nav to the right edge, holding the nav and
   the phone as a white button. Its items stretch to the bar's full height so
   the panel can fill it. The bar is all white while the mobile menu sheet is
   open beneath it. */

.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: #FFFFFF; box-shadow: 0 8px 22px -8px rgba(4, 16, 36, .32);
}
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }

body.scroll-lock { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; padding-right: var(--sbw, 0px); }
/* Locking the page hides a desktop scrollbar; the bar keeps its width so nothing jumps (main.js sets --sbw). */
.menu-open .masthead { padding-right: var(--sbw, 0px); }

.masthead__inner { display: flex; align-items: stretch; gap: clamp(1rem, 2.5vw, 2.25rem); }
/* The logo holds one size whether or not the page has scrolled; its padding sets the bar's height (--mh). */
.brand { flex: none; display: flex; align-items: center; padding-block: 1.25rem; }
.brand img { width: auto; height: 72px; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav__item { display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: var(--tap);
  font-size: .875rem; font-weight: 500; letter-spacing: .04em; color: #FFFFFF; text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease);
}
.nav__link:hover { color: #FFFFFF; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .is-branch > .nav__link::after, .is-open > .nav__link::after { transform: scaleX(1); }

.masthead__actions { display: flex; align-items: center; gap: 1rem; }

.tel {
  --focus: #FFFFFF;
  display: inline-flex; align-items: center; min-height: var(--tap); padding: .7rem 1.35rem;
  background: #FFFFFF; border: 1px solid #FFFFFF; border-radius: 2px;
  font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.tel:hover { background: #E6ECF4; border-color: #E6ECF4; color: var(--navy); }

.nav-toggle {
  display: none; place-items: center; flex: none; width: var(--tap); height: var(--tap); padding: 0;
  background: none; border: 0; color: #FFFFFF; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; overflow: visible; }
.nav-toggle path { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease); }
.masthead--open .nav-toggle .t { transform: translateY(3.5px) rotate(45deg); }
.masthead--open .nav-toggle .b { transform: translateY(-3.5px) rotate(-45deg); }

.nav-panel { display: contents; }
.nav-panel__foot { display: none; }

/* The navy panel is painted by border-image outset: it reaches 2.25rem left
   of the first link and past the right edge of the window, without taking up
   room or clipping the drop-downs that hang from the bar. */
@media (min-width: 1201px) {
  .nav { --focus: #FFFFFF; border-image: linear-gradient(var(--navy) 0 0) fill 0 / / 0 100vmax 0 2.25rem; }
  .nav__list > .nav__item > .nav__more,
  .nav__list > .nav__item > .nav__more:hover { color: #FFFFFF; }
}
@media (max-width: 1200px) {
  .masthead__actions { margin-left: auto; border-image: linear-gradient(var(--navy) 0 0) fill 0 / / 0 100vmax 0 1.25rem; }
  .masthead--open .masthead__actions { border-image: none; }
  .masthead--open .tel { --focus: var(--steel); background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
  .masthead--open .nav-toggle { color: var(--navy); }
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(640px, 100svh, 960px); background: var(--navy); color: #FFFFFF;
}
.hero__media { position: absolute; inset: 0; background: var(--navy) var(--poster, none) center / cover no-repeat; }
/* Phones: the portrait crop (hero.php sets both; main.js's phone breakpoint matches). */
@media (max-width: 768px) {
  .hero__media { background-image: var(--poster-phone, var(--poster, none)); }
}
.hero__media > video { width: 100%; height: 100%; object-fit: cover; }
.hero__media > video::-webkit-media-controls-start-playback-button { display: none; -webkit-appearance: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 43, 90, .42) 0%, rgba(13, 43, 90, .08) 40%, rgba(13, 43, 90, .62) 100%),
    linear-gradient(90deg, rgba(13, 43, 90, .34) 0%, rgba(13, 43, 90, 0) 65%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 3rem;
  padding-block: calc(var(--mh) + 4rem) clamp(3rem, 6.7vw, 6rem);
}
/* On wide screens the headline runs above the stats; the deck, button and
   stats share the bottom row. */
.hero__copy { display: contents; }
.hero__eyebrow, .hero__title, .hero__rule { grid-column: 1 / -1; }
.hero__title { max-width: 66rem; }
.hero__eyebrow { font-size: .8125rem; color: #FFFFFF; opacity: .85; }
.hero__title { margin-top: 1.4rem; color: #FFFFFF; text-wrap: balance; }
.hero__rule { display: block; width: 72px; height: 2px; margin: 2rem 0; background: var(--steel-lt); transform-origin: left center; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.hero__deck { flex: 1 1 20rem; max-width: 25rem; min-width: 0; margin: 0; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
.hero__aside { display: flex; align-items: center; align-self: center; justify-self: end; gap: clamp(1.5rem, 2.2vw, 2.25rem); flex: none; }
.hero__stats { display: flex; align-items: flex-start; gap: clamp(1.5rem, 2.2vw, 2.25rem); margin: 0; }
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stat { order: -1; margin: 0; font-family: var(--serif); font-size: clamp(1.875rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1; }
.hero__stat-label { margin-top: .5rem; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); white-space: nowrap; line-height: 1.4; }
/* A credential logo after the figures, all white, set off by a hairline. */
.hero__logo { display: block; width: auto; height: clamp(40px, 3vw, 46px); padding-left: clamp(1.5rem, 2.2vw, 2.25rem); border-left: 1px solid rgba(255, 255, 255, .28); }
.hero__aside > .hero__logo:only-child { padding-left: 0; border-left: 0; }

/* Appraisal purposes, after Services: the head over a navy row of cells that
   turn white on hover. */
.purposes__head { max-width: 46rem; margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.strip { background: var(--navy); color: var(--ink); }
.strip__purposes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__purposes li { display: flex; }
.strip__purposes li + li { border-left: 1px solid var(--rule); }
.strip__purposes a, .strip__item {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
  color: #FFFFFF; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.strip__name { font-family: var(--serif); font-size: clamp(1.25rem, 1.55vw, 1.5rem); font-weight: 500; line-height: 1.2; text-wrap: balance; }
.strip__purposes svg { width: 14px; height: 14px; flex: none; color: var(--steel-lt); transition: transform .25s var(--ease), color .25s var(--ease); }
.strip__purposes a:hover, .strip__purposes a:focus-visible { background: #FFFFFF; color: var(--navy); }
.strip__purposes a:hover svg, .strip__purposes a:focus-visible svg { color: var(--navy); transform: translateX(3px); }
.strip__purposes a:focus-visible { outline: 2px solid var(--steel-lt); outline-offset: -2px; }

/* ── Sections ───────────────────────────────────────────── */

.band { padding-block: var(--section-py); background: var(--ground); }
.band--tint { background: var(--tint); }
/* Two white bands in a row share one gap rather than doubling it. */
.band:not(.band--tint, .band--deep) + .band:not(.band--tint, .band--deep) { padding-top: 0; }
.band--deep { background: var(--navy); color: var(--ink); }

.section__next { margin: 2.5rem 0 0; max-width: var(--read); font-size: 1rem; color: var(--ink-2); }
.section__next a { font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  display: block; width: 34px; height: 34px;
  /* Stroke width is in the symbols' 512-unit grid (Flaticon draws at 30). */
  fill: none; stroke: var(--accent); stroke-width: 22; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;
}

/* The firm: asymmetric 5 / 7 split, then three numbered points. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2.5rem, 5.5vw, 5rem); }
.split__body { display: flex; flex-direction: column; padding-top: clamp(0rem, 4.2vw, 3.75rem); }
.lede { max-width: 35rem; font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.7; color: var(--ink-2); }
.split__body .textlink { margin-top: 2.25rem; }

.why {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3.3vw, 3rem);
  margin-top: clamp(4rem, 8vw, 6.5rem);
}
.why__pt { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.why__title { margin: 0 0 .8rem; }
.why__text { margin: 0; font-size: 1rem; color: var(--ink-3); }
/* Who we work for: one ruled line under the points. */
.why__clients {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: .75rem 2rem;
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
.why__names { list-style: none; margin: 0; padding: 0; font-size: .875rem; line-height: 1.7; color: var(--ink-2); text-wrap: balance; }
.why__names li { display: inline; white-space: nowrap; }
.why__names li:not(:last-child)::after { content: "\00b7"; margin: 0 .45rem; color: var(--steel); }

/* Services: the title in the first cell, then cards 1–2 beside it and 3–5 beneath. */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.svc__head { grid-column: span 4; align-self: end; padding: 0 1rem 2rem 0; }
.svc__intro { margin: 1.25rem 0 0; font-size: 1rem; color: var(--ink-3); max-width: 30rem; }
.svc__card {
  grid-column: span 4; position: relative; display: flex; flex-direction: column;
  background: var(--plate); padding: 2.25rem 2rem 2rem; border: 1px solid var(--rule); border-top: 2px solid var(--navy);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc__card:hover { transform: translateY(-4px); border-top-color: var(--steel); box-shadow: 0 24px 48px -32px rgba(13, 43, 90, .35); }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(2rem, 3.5vw, 3.25rem); }
.svc__title { font-family: var(--sans); font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; color: var(--navy); margin-bottom: .75rem; }
.svc__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-3); }
.svc__types { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.svc__types .eyebrow { font-size: .6875rem; margin-bottom: .6rem; }
.svc__types ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.25rem; }
.svc__types li { position: relative; break-inside: avoid; padding: .2rem 0 .2rem .9rem; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.svc__types li::before { content: ""; position: absolute; left: 0; top: .9em; width: 5px; height: 1px; background: var(--steel); }
.svc__body { margin-bottom: 1.75rem; }
.svc__go {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; margin-top: auto;
  padding-bottom: .35rem; border-bottom: 1px solid currentColor;
  font-size: .875rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.svc__go::before { content: ""; position: absolute; inset: 0; }
.svc__go svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.svc__card:hover .svc__go { color: var(--steel); }
.svc__card:hover .svc__go svg { transform: translateX(3px); }
.svc__go:focus-visible { outline: none; }
.svc__card:has(.svc__go:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── Property types: list left, photo stage right ── */

.tplate { position: relative; margin: 0; overflow: hidden; background: var(--tint); }
.tplate--photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.tplate--text { display: flex; align-items: flex-start; padding: clamp(1.5rem, 3.5vw, 3rem); background: var(--navy); }
.tplate__text { margin: 0; max-width: 18ch; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.25; color: #FFFFFF; text-wrap: pretty; }

.tindex { --g: clamp(2.5rem, 5.5vw, 5rem); position: relative; }
.tindex__head { margin-bottom: 2.5rem; }
.tindex__intro { margin: 1.25rem 0 0; max-width: 30rem; font-size: 1rem; color: var(--ink-3); }
.tindex__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.tindex__item { border-bottom: 1px solid var(--rule); }
.tindex__name { margin: 0; font: inherit; }
.tindex__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  min-height: var(--tap); padding: 1.05rem 0; margin: 0; background: none; border: 0; border-radius: 0;
  cursor: pointer; text-align: left; font-family: var(--sans); font-size: 1.125rem; font-weight: 500; color: var(--ink-3);
  transition: color .25s var(--ease);
}
.tindex__btn > span { transition: transform .35s var(--ease); }
.tindex__label { display: inline-flex; align-items: center; gap: .9rem; }
.tindex__ico { display: inline-flex; flex: none; }
.tindex__ico .ico { width: 24px; height: 24px; stroke: var(--steel); transition: stroke .25s var(--ease); }
.tindex__btn:hover .ico, .tindex__item.is-active .ico { stroke: var(--navy); }
.tindex__btn > svg { width: 16px; height: 16px; flex: none; color: var(--steel); opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.tindex__btn:hover { color: var(--navy); }
.tindex__item.is-active .tindex__btn { color: var(--navy); }
.tindex__item.is-active .tindex__btn > span { transform: translateX(.5rem); }
.tindex__item.is-active .tindex__btn > svg { opacity: 1; transform: none; }
.tindex__panel { padding: 0 0 1.5rem; }
.tindex__plate { aspect-ratio: 4 / 3; }
.tindex__platelink { display: block; }
.tindex__platelink:hover .tplate--photo img { filter: none; }
.tindex__capname { display: none; }
.tindex__cap { padding-top: 1rem; }
.tindex__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.tgo { margin-top: 1rem; }
.tindex.is-enhanced .tindex__item:not(.is-active) .tindex__panel { display: none; }

@media (min-width: 861px) {
  .tindex { min-height: clamp(460px, 42vw, 600px); }
  .tindex__side { width: calc((100% - var(--g)) / 2); }
  .tindex.is-enhanced .tindex__item:not(.is-active) .tindex__panel { display: flex; }
  .tindex.is-enhanced .tindex__panel {
    position: absolute; right: 0; top: 50%; width: calc((100% - var(--g)) / 2); height: clamp(460px, 42vw, 600px);
    padding: 0; transform: translateY(-50%);
    visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .tindex.is-enhanced .is-active .tindex__panel { visibility: visible; opacity: 1; transition: opacity .45s var(--ease), visibility 0s; }
  /* The photo fills the top of the panel and the name, summary and link sit below it, clear of the photo. */
  .tindex.is-enhanced .tindex__panel { display: flex; flex-direction: column; }
  .tindex.is-enhanced .tindex__plate { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: 2px; }
  .tindex.is-enhanced .tindex__platelink { display: flex; flex: 1 1 auto; min-height: 0; }
  .tindex.is-enhanced .tindex__plate img { position: absolute; inset: 0; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .3s var(--ease); }
  .tindex.is-enhanced .is-active .tindex__plate img { transform: none; }
  .tindex.is-enhanced .tindex__cap { flex: none; padding: 1.5rem 0 0; max-width: 34rem; }
  .tindex.is-enhanced .tindex__capname { display: block; margin-bottom: .6rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
}

/* ── Clients: one-colour logos in a ruled grid ──────────── */

.clients__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.clients__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.clients__cell {
  display: grid; place-items: center; min-height: clamp(7.5rem, 10vw, 9.5rem); padding: 1.25rem;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.clients__cell img { max-width: 82%; height: auto; opacity: .88; }
.clients__cell--more { place-items: center start; background: var(--tint); }
.clients__cell--more p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ── Service area: the valley to scale, beside the town list ── */

.area__grid { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 7vw, 7rem); align-items: center; }
.area__map { position: relative; overflow: hidden; margin: 0; padding: clamp(1rem, 2.5vw, 2.25rem) clamp(1.5rem, 4vw, 3.5rem); background: var(--tint); }
.area__frame { position: relative; width: 100%; }
.area__base { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.area__lake {
  position: absolute; transform: translate(-50%, -50%) rotate(var(--turn, 0deg)); white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: .9375rem; letter-spacing: .04em; color: var(--steel);
}
.area__pin { position: absolute; width: 0; height: 0; }
.area__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 4px rgba(13, 43, 90, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.area__name {
  position: absolute; top: 0; left: 14px; transform: translateY(-50%); white-space: nowrap;
  font-size: .875rem; font-weight: 500; line-height: 1; color: var(--navy);
  text-shadow: 0 0 3px var(--tint), 0 0 3px var(--tint), 0 0 6px var(--tint);
}
.area__pin--left .area__name { left: auto; right: 14px; }
.area__pin.is-office .area__dot { left: -7px; top: -7px; width: 14px; height: 14px; box-shadow: 0 0 0 5px rgba(13, 43, 90, .16); }
.area__pin.is-office .area__name { left: 17px; font-weight: 700; }
/* Towns outside the service list: a small hollow mark and grey type, for bearings only. */
.area__pin.is-context .area__dot { left: -3px; top: -3px; width: 6px; height: 6px; background: var(--tint); border: 1.5px solid #9AA6B6; box-shadow: none; }
.area__pin.is-context .area__name { left: 9px; font-size: .75rem; font-weight: 400; color: #7A8596; }
.area__pin--left.is-context .area__name { left: auto; right: 9px; }
.area__hwy {
  position: absolute; transform: translate(-50%, -50%); min-width: 1.5rem; padding: .1rem .3rem; border: 1px solid #BAC5D3; border-radius: 3px;
  background: var(--tint); font-size: .625rem; font-weight: 600; line-height: 1.2; text-align: center; color: #6B7686;
}

.area__body .t-headline { text-wrap: balance; }
.area__intro { margin: 1.25rem 0 0; max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-3); }

/* ── Recent assignments ─────────────────────────────────── */

.reel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 3.3vw, 3rem); }
.reel__head .t-headline { margin-bottom: 0; }
.reel__nav:not([hidden]), .tst__nav:not([hidden]) { display: flex; align-items: center; gap: .6rem; }
.reel__count { margin-right: .75rem; font-size: .875rem; color: var(--ink-3); white-space: nowrap; }
.reel__n { color: var(--ink); font-weight: 700; }
.reel__track, .tst__track {
  --edge: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
  list-style: none; margin: 0; padding: 0 var(--edge);
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.reel__track::-webkit-scrollbar, .tst__track::-webkit-scrollbar { display: none; }
.reel__track:focus-visible, .tst__track:focus-visible { outline-offset: -2px; }
.reel__slide { flex: 0 0 min(80%, 62rem); scroll-snap-align: start; }
.reel__slide figure { position: relative; }
.reel__img { overflow: hidden; background: var(--tint); border-radius: 2px; }
.reel__slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.reel.is-ready .reel__slide.is-current img { transform: scale(1.04); transition: opacity .5s var(--ease), transform 11s cubic-bezier(.25, .6, .3, 1); }
.reel.is-ready .reel__slide:not(.is-current) img { opacity: .45; }
.reel__cap {
  position: absolute; left: clamp(1rem, 2.2vw, 2rem); bottom: clamp(1rem, 2.2vw, 2rem);
  display: grid; gap: .25rem; max-width: calc(100% - 2rem);
  background: var(--plate); padding: 1.25rem 1.6rem; box-shadow: 0 20px 50px rgba(13, 43, 90, .15);
}
.reel__cap b { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
.reel__cap > span:last-child { font-size: .875rem; color: var(--ink-2); }

/* ── Appraisers ─────────────────────────────────────────── */

.pros { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem 1.5rem; align-items: start; }
.pros__head { grid-column: 1 / span 4; padding-right: clamp(0rem, 3vw, 2.5rem); }
.pros__intro { margin: 1.5rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--ink-3); }
.pro { grid-column: span 4; display: flex; flex-direction: column; }
.pro + .pro { margin-top: clamp(0rem, 6.7vw, 6rem); }
.pro__photo { margin: 0; max-width: 17.5rem; overflow: hidden; background: var(--tint); }
.pro__photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.pro:hover .pro__photo img { filter: grayscale(0); }
.monogram {
  display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; background: var(--navy); color: #FFFFFF;
  font-family: var(--serif); font-size: 2.25rem; font-weight: 500;
}
.pro__id { margin-top: 1.5rem; }
.pro__name { font-family: var(--sans); font-size: 1.375rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.pro__des { margin: .3rem 0 0; font-size: .875rem; letter-spacing: .04em; color: var(--steel); }
.pro__role { margin: .1rem 0 .35rem; font-size: .875rem; color: var(--ink-3); }
.pro__mail { display: inline-flex; align-items: center; gap: .5rem; min-height: var(--tap); font-size: .9375rem; font-weight: 600; color: var(--head); text-decoration: none; }
.pro__mail svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.pro__mail span { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.pro__mail:hover { color: var(--accent); }
.pro__bio { margin: .9rem 0 1.25rem; font-size: .9375rem; line-height: 1.65; color: var(--ink-3); }
.checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--rule); }
.checklist li {
  display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .7rem; align-items: baseline;
  padding: .6rem 0; border-bottom: 1px solid var(--rule); font-size: .875rem; line-height: 1.5; color: var(--ink-2);
}
.checklist li::before {
  content: ""; width: 12px; height: 12px; background: var(--accent); transform: translateY(1px);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5 6.5 12 13.5 4' fill='none' stroke='black' stroke-width='2'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5 6.5 12 13.5 4' fill='none' stroke='black' stroke-width='2'/></svg>") center / contain no-repeat;
}
.pro__profile {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 17.5rem;
  min-height: var(--tap); margin-top: auto; padding-top: .35rem; border-top: 1px solid var(--rule);
  font-size: .875rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.pro__profile svg { width: 13px; height: 13px; flex: none; transition: transform .25s var(--ease); }
.pro__profile:hover { color: var(--steel); }
.pro__profile:hover svg { transform: translateX(3px); }

/* ── Testimonials ───────────────────────────────────────── */

.tst__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 3.3vw, 3rem); }
.tst__card { flex: 0 0 min(32.5rem, 86vw); scroll-snap-align: start; display: flex; }
.tst__card figure {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; width: 100%;
  min-height: 18.75rem; padding: clamp(2rem, 3vw, 2.75rem) clamp(1.6rem, 2.8vw, 2.5rem); background: var(--plate);
  border: 1px solid var(--rule); border-top: 2px solid var(--navy);
}
.tst__card blockquote p {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.35; color: var(--navy); text-wrap: pretty;
}
.tst__card blockquote p::before { content: "\201C"; }
.tst__card blockquote p::after { content: "\201D"; }
.tst__card figcaption { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.tst__org { color: var(--ink-3); font-weight: 400; }
.tst__org::before { content: " — "; }

/* ── FAQ ────────────────────────────────────────────────── */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2.5rem, 5.5vw, 5rem); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--mh) + 2rem); }
.faq-wrap__intro { margin: 1.25rem 0 0; font-size: 1rem; color: var(--ink-3); max-width: 28rem; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--tap); padding: 1.35rem 0; cursor: pointer;
  font-family: var(--sans); font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: var(--navy);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font: inherit; letter-spacing: inherit; color: inherit; text-wrap: pretty; }
.faq summary:hover { color: var(--steel); }
.faq__i { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.faq__i .v { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease); }
.faq details[open] .faq__i .v { transform: scaleY(0); }
.faq__a { padding: 0 3rem 1.6rem 0; }
.faq__a p { margin: 0; max-width: 62ch; font-size: 1rem; line-height: 1.7; color: var(--ink-3); }

@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ── Quote request: the navy block ──────────────────────── */

.request-band { padding-block: 0 var(--section-py); background: #FFFFFF; }
.band--tint + .request-band { padding-top: var(--section-py); }
.request-band + .band { padding-top: 0; }

.request {
  --py: clamp(2.25rem, 5.5vw, 5rem); --px: clamp(1.5rem, 4.5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "head form" "aside form";
  background: var(--navy); color: var(--ink);
}
.request__head { grid-area: head; padding: var(--py) var(--px) 0; border-right: 1px solid var(--rule); }
.request__aside { grid-area: aside; padding: 0 var(--px) var(--py); border-right: 1px solid var(--rule); }
.request__form { grid-area: form; padding: var(--py) var(--px); }
.request__head .t-headline { font-size: clamp(2.125rem, 3.2vw, 2.875rem); }
.request__intro { margin: 1.25rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.request__group { margin-top: 2.25rem; }
.request__group > .eyebrow { margin-bottom: .9rem; }
.request__note { margin: 2.25rem 0 0; font-size: .875rem; color: var(--ink-3); }
.request .checklist { margin: 0; }

/* A list that folds behind a button on phones (main.js); a plain label elsewhere. */
.fold__toggle {
  display: none; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  min-height: var(--tap); padding: .5rem 0; margin: 0; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  cursor: pointer; text-align: left; font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.fold__toggle[aria-expanded="true"] .faq__i .v { transform: scaleY(0); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .4rem; padding: .45rem 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--accent); }
.steps a { color: #FFFFFF; font-weight: 600; }

h3.n { font-family: var(--sans); line-height: 1.4; letter-spacing: 0; }

/* The form on navy: underlined fields, white type. */
.form { display: grid; gap: 1.5rem; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { position: relative; display: grid; gap: .2rem; }
.field > .flabel, .gform_wrapper .gfield_label, .gform_wrapper .gform-field-label {
  display: block; margin: 0; padding: 0; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2);
}
.field .req, .gform_wrapper .gfield_required { color: var(--accent); margin-left: .15rem; }

.field input, .field select, .field textarea,
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.gform_wrapper select, .gform_wrapper textarea {
  width: 100%; min-height: var(--tap); padding: .8rem 0; margin: 0;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; box-shadow: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea, .gform_wrapper textarea { min-height: 6.5rem; height: 6.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover,
.gform_wrapper input:hover, .gform_wrapper select:hover, .gform_wrapper textarea:hover { border-bottom-color: #FFFFFF; }
.field input:focus, .field select:focus, .field textarea:focus,
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus {
  outline: none; border-bottom-color: #FFFFFF; box-shadow: 0 1px 0 #FFFFFF;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.gform_wrapper input:focus-visible, .gform_wrapper select:focus-visible, .gform_wrapper textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.field textarea::placeholder, .gform_wrapper textarea::placeholder, .field input::placeholder { color: var(--ink-3); opacity: 1; }
.field select, .gform_wrapper select {
  appearance: none; padding-right: 2rem;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/></svg>") no-repeat right .2rem center / 11px;
}
.field select option, .field select optgroup, .gform_wrapper select option, .gform_wrapper select optgroup { color: #1A2233; background: #FFFFFF; }
.field textarea.is-noted, .gform_wrapper textarea.is-noted { animation: noted 1.8s var(--ease) .55s both; }
@keyframes noted { from { background-color: rgba(143, 176, 214, .22); } to { background-color: transparent; } }

/* Consent: a square checkbox with its sentence beside it (the theme form and Gravity Forms). */
.check, .gform_wrapper .ginput_container_consent { display: flex; align-items: flex-start; gap: .75rem; padding-top: .35rem; cursor: pointer; }
.field .check input, .gform_wrapper .ginput_container_consent input[type="checkbox"] {
  flex: none; width: 1.25rem; height: 1.25rem; min-height: 0; margin: .1rem 0 0; padding: 0;
  border: 0; box-shadow: none; accent-color: var(--accent); cursor: pointer;
}
.field .check input:focus-visible, .gform_wrapper .ginput_container_consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.check__text, .gform_wrapper .gfield_consent_label { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.field .check input[aria-invalid="true"], .gform_wrapper .gfield_error .ginput_container_consent input[type="checkbox"] { outline: 2px solid var(--flag); outline-offset: 2px; box-shadow: none; }

.field__err { font-size: .8125rem; font-weight: 600; color: var(--flag); }
.field__err:not([hidden]) { display: flex; align-items: center; gap: .45rem; margin-top: .35rem; }
.field__err svg { width: 11px; height: 11px; flex: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"],
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error textarea {
  border-bottom-color: var(--flag); box-shadow: 0 1px 0 var(--flag);
}

.form__meta { margin: 0; font-size: .8125rem; color: var(--ink-3); }
.form__meta a { font-weight: 600; color: #FFFFFF; }
#form-status { min-height: 1.5em; font-weight: 600; color: #FFFFFF; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request .form .btn, .request .gform_wrapper .btn { margin-top: .5rem; }
/* On navy the primary action is the white button (the theme form and Gravity Forms both use .btn). */
.request .btn:not(.btn--ghost), .band--deep .btn:not(.btn--ghost) { background: #FFFFFF; color: var(--navy); }
.request .btn:not(.btn--ghost):hover, .band--deep .btn:not(.btn--ghost):hover { background: #E6ECF4; color: var(--navy); }

/* The acknowledgement that replaces a sent form. */
.sent { padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--rule); outline: none; }
.sent__mark { width: 52px; height: 52px; margin-bottom: 1.25rem; fill: none; stroke: var(--accent); overflow: visible; }
.sent__box { stroke-width: 1.5; }
.sent__tick { stroke-width: 2.5; stroke-linecap: square; }
.sent__title { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 500; color: var(--head); margin-bottom: .6rem; }
.sent__msg { font-size: 1.0625rem; color: var(--ink-2); max-width: 44ch; }
.sent__alt { font-size: .9375rem; color: var(--ink-2); }
.sent__alt a { color: #FFFFFF; font-weight: 600; }
.sent__again {
  display: inline-block; margin-top: 1rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor;
  font-size: .875rem; font-weight: 600; color: #FFFFFF; text-decoration: none;
}

/* Gravity Forms: its CSS is off (inc/gravity-forms.php); its classic markup takes the theme's form. */
.gform_wrapper form { display: grid; gap: 1.5rem; }
.gform_wrapper .gform_heading, .gform_wrapper .gform-icon { display: none; }
.gform_wrapper .gform_required_legend { font-size: .8125rem; color: var(--ink-3); margin: 0; }
.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; border: 0; }
.gform_wrapper .gfield { grid-column: 1 / -1; display: grid; gap: .2rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.gform_wrapper .gfield--width-half { grid-column: span 6; }
.gform_wrapper .gfield_required_text { font-size: 0; }
.gform_wrapper .gfield_required_text::after { content: "*"; font-size: .8125rem; }
.gform_wrapper .ginput_container { margin: 0; }
.gform_wrapper .gfield_description { font-size: .8125rem; color: var(--ink-3); }
.gform_wrapper .validation_message, .gform_wrapper .gfield_validation_message { font-size: .8125rem; font-weight: 600; color: var(--flag); }
.gform_wrapper .gform_validation_errors { border-top: 2px solid var(--flag); padding-top: .7rem; }
.gform_wrapper .gform_validation_errors h2, .gform_wrapper .gform_submission_error { font-family: var(--sans); font-size: .9375rem; font-weight: 600; line-height: 1.45; color: var(--flag); margin: 0; letter-spacing: 0; }
.gform_wrapper .gform_validation_errors ol { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .875rem; }
.gform_wrapper .gform_validation_errors a { color: var(--flag); }
.gform_wrapper .gform_footer { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; }
.gform_wrapper .gform_ajax_spinner { width: 20px; height: 20px; }
.gform_wrapper .gform_validation_container, .gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gfield_visibility_hidden, .gform_wrapper .gform_hidden, .gform_wrapper .gfield--type-hidden {
  position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden;
}
.gform_wrapper .screen-reader-text, .gform_wrapper .hidden_label .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Inner page head ────────────────────────────────────── */

.phead {
  position: relative; overflow: hidden; color: #FFFFFF;
  background: radial-gradient(120% 140% at 100% 0%, #173A6E 0%, var(--navy) 55%, #0A2349 100%);
}
.phead__inner { padding-block: calc(var(--mh) + clamp(3.5rem, 7vw, 6rem)) clamp(3.5rem, 7vw, 6rem); }
.phead__eyebrow { color: var(--steel-lt); margin-bottom: 1.25rem; }
.phead__title { color: #FFFFFF; font-size: clamp(2.5rem, 4.6vw, 4.25rem); max-width: 24ch; }
.phead .hero__rule { margin: 1.75rem 0; }
.phead__deck { margin: 0; max-width: 40rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: rgba(255, 255, 255, .88); }
.phead__deck a { color: #FFFFFF; }
.phead__act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.phead--bg { isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.phead--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 54, .94) 0%, rgba(8, 26, 54, .8) 45%, rgba(8, 26, 54, .4) 100%); }
@media (max-width: 860px) {
  .phead--bg::before { background: linear-gradient(180deg, rgba(8, 26, 54, .78) 0%, rgba(8, 26, 54, .9) 100%); }
}

/* Contact: three ways in. */
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.reach__card { display: flex; flex-direction: column; background: var(--plate); padding: 2.25rem 2rem 2rem; border: 1px solid var(--rule); border-top: 2px solid var(--navy); }
.reach__card > .eyebrow { margin-bottom: 1rem; }
.reach__tel { align-self: flex-start; font-family: var(--serif); font-size: clamp(1.875rem, 2.6vw, 2.375rem); font-weight: 500; line-height: 1.1; color: var(--navy); text-decoration: none; }
.reach__tel:hover { color: var(--steel); }
.reach__addr { font-style: normal; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.reach__note { margin: .85rem 0 1.75rem; font-size: .9375rem; color: var(--ink-3); max-width: 36ch; }
.reach__go { margin-top: auto; }
.reach__mail { align-self: flex-start; font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 500; line-height: 1.15; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.reach__mail:hover { color: var(--steel); }

/* Our Appraisers: one ruled profile each, identity left, record right. */
.team .dossier + .dossier { margin-top: clamp(3.5rem, 6vw, 5.5rem); padding-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--rule); }
.dossier { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; gap: 1.75rem clamp(2.5rem, 5.5vw, 5rem); align-items: start; scroll-margin-top: calc(var(--mh) + 2rem); }
/* Wide screens: the portrait holds the left column; the name, designation and email open the right one, above the bio. */
.dossier__id { display: contents; }
.dossier__photo { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--mh) + 2rem); max-width: 20rem; }
.dossier__id > div { grid-column: 2; grid-row: 1; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.dossier__body { grid-column: 2; grid-row: 2; }
.dossier__name { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.625rem); font-weight: 500; line-height: 1.1; color: var(--head); }
.dossier__bio { margin: 0; max-width: 40rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.35; color: var(--head); text-wrap: pretty; }
.dossier__record { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.dossier__record .eyebrow { margin-bottom: .9rem; }
.dossier__creds li { font-size: .9375rem; }
.dossier__creds strong { font-weight: 600; color: var(--navy); }
.dossier__creds + .eyebrow { margin-top: 2.25rem; }
.dossier__work { margin: 0; padding-top: .6rem; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.7; color: var(--ink-2); }

/* ── Colophon ───────────────────────────────────────────── */

.colophon { border-top: 1px solid var(--rule); padding-block: clamp(3rem, 4.5vw, 4rem) 2.5rem; background: #FFFFFF; }
.colophon__grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 2.6fr) minmax(0, 2.4fr) minmax(0, 3.6fr); gap: 2.5rem; align-items: start; }
.colophon__brand img { width: auto; height: 64px; }
.colophon address { font-style: normal; font-size: .875rem; line-height: 1.75; color: var(--ink-3); }
.colophon address a { color: var(--navy); font-weight: 600; text-decoration: none; }
.colophon address a:hover { color: var(--steel); }
.colophon .eyebrow { margin-bottom: .9rem; font-size: .6875rem; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.colophon ul a { display: inline-flex; align-items: center; min-height: 34px; font-size: .875rem; font-weight: 500; color: var(--steel); text-decoration: none; }
.colophon ul a:hover { color: var(--navy); }
.colophon__cred { justify-self: end; width: 100%; max-width: 291px; }
/* Width-led with height: auto, so a narrow column scales the mark down
   instead of squashing it. */
.colophon__cred img { width: 100%; height: auto; }
.colophon__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  font-size: .75rem; color: var(--ink-3);
}
.colophon__base a { color: var(--ink-2); }
.colophon__base a:hover { color: var(--navy); }
.colophon__sep { margin: 0 .5rem 0 .35rem; }

/* ── Inner pages: editor content as prose ───────────────── */

.entry-content { max-width: 46rem; }
.entry-content > * + * { margin-top: 1.05rem; }
.entry-content p, .entry-content li { color: var(--ink-2); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2.4rem; }
.entry-content h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.15; }
.entry-content h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.entry-content h4 { font-size: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li + li { margin-top: .35rem; }
.entry-content blockquote { border-left: 2px solid var(--steel-lt); padding-left: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1.4; color: var(--navy); }
.entry-content img, .entry-figure img { height: auto; }
.entry-content figcaption, .wp-caption-text { font-size: .875rem; color: var(--ink-3); margin-top: .5rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--rule); }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2rem; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.entry-figure { margin: 0 0 2.5rem; max-width: 46rem; }
.page-links { margin-top: 2rem; font-weight: 600; }

.post-list { list-style: none; margin: 0; padding: 0; max-width: 46rem; border-top: 1px solid var(--rule); }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.post-list .eyebrow { margin-bottom: .5rem; }
.post-list__title { margin-bottom: .4rem; }
.post-list__title a { text-decoration: none; }
.post-list__title a:hover { text-decoration: underline; }
.post-list p { margin: 0; color: var(--ink-3); }
.pagination, .post-navigation { margin-top: 2.5rem; max-width: 46rem; }
.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: var(--tap); min-height: var(--tap); border: 1px solid var(--rule); text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.post-navigation a { display: grid; gap: .3rem; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; }

/* ── Mega menu ──────────────────────────────────────────────
   A top-level item with pages beneath it carries a small button beside its
   link. Desktop: the button (or pointing at the item) opens a white panel the
   width of the page under the masthead, with a navy scrim over the page.
   Below 1201px the panel is an indented list that opens under its row in
   the menu sheet. Markup: inc/nav.php; behaviour: main.js. */

.nav__more {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: var(--tap); padding: 0; margin-left: .15rem;
  background: none; border: 0; border-radius: 2px; color: var(--steel); cursor: pointer;
}
.nav__more svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; overflow: visible; }
.nav__more path { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease); }
.nav__more .h, .nav__more .v { display: none; }
.nav__more[aria-expanded="true"] .c { transform: rotate(180deg); }
.nav__more:hover { color: var(--navy); }

.mega { display: none; }
.mega__inner { padding-block: clamp(2.25rem, 3.4vw, 3rem) clamp(2.5rem, 3.8vw, 3.25rem); }

@media (min-width: 1201px) {
  /* The masthead is fixed, so the panel hangs from it at full width. */
  .mega {
    --ink: #1A2233; --ink-2: #3B4453; --ink-3: #5F6775; --head: var(--navy); --accent: var(--steel);
    --rule: #E3E7EE; --rule-strong: #C9D2DE; --focus: var(--steel);
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--mh) - 2rem); overflow-y: auto; overscroll-behavior: contain;
    background: #FFFFFF; border-top: 1px solid var(--rule); box-shadow: 0 34px 60px -34px rgba(4, 16, 36, .45);
    color: var(--ink); text-align: left; white-space: normal;
  }
  .nav__item.is-open > .mega { display: block; animation: mega-in .4s var(--ease) both; }

  /* With the script, one shared backdrop (.mega-bg, added by main.js) carries
     the panel's colour and shadow, and grows or shrinks to the next panel's
     height as the pointer moves between items. The panels sit on it without
     a ground of their own, and take turns: the old one fades out, then the
     new one fades in, drifting a little from the side it was reached from,
     so the two never overlap. */
  .nav.is-enhanced .mega { background: transparent; border-top-color: transparent; box-shadow: none; }
  .nav.is-switching .nav__item.is-open > .mega { animation: mega-swap-in .32s var(--ease) .12s both, mega-reveal .5s var(--ease) both; }
  .nav__item.is-leaving > .mega { display: block; pointer-events: none; animation: mega-swap-out .12s ease-out both; }
  .mega-bg {
    position: absolute; left: 0; right: 0; top: 100%; z-index: -1; height: 0;
    background: #FFFFFF; border-top: 1px solid var(--rule); box-shadow: 0 34px 60px -34px rgba(4, 16, 36, .45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: height .5s var(--ease), background-color .35s var(--ease), opacity .25s ease-out, visibility 0s linear .25s;
  }
  .masthead.has-mega .mega-bg { opacity: 1; visibility: visible; transition: height .5s var(--ease), background-color .35s var(--ease), opacity .25s ease-out, visibility 0s; }
  .mega-bg.is-instant { transition: none; }
  /* Without script, pointing at or tabbing into the item opens it. */
  .nav:not(.is-enhanced) .nav__item--mega:hover > .mega,
  .nav:not(.is-enhanced) .nav__item--mega:focus-within > .mega { display: block; }

  .mega__inner { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start; }
  .mega--types .mega__inner { grid-template-columns: minmax(0, 3.3fr) minmax(0, 4.2fr) minmax(0, 4.5fr); }

  .mega__intro { position: relative; padding-right: clamp(1rem, 2vw, 2rem); }
  .mega__intro::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--rule); }
  .mega__title { margin: .9rem 0 .8rem; font-family: var(--serif); font-size: clamp(1.75rem, 2.1vw, 2.125rem); font-weight: 500; line-height: 1.12; color: var(--navy); text-wrap: balance; }
  .mega__text { margin: 0 0 1.75rem; max-width: 24rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-3); }

  .mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.25rem; align-content: start; }
  .mega__link {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.1rem; align-items: start; align-content: start;
    height: 100%; padding: 1.05rem 1.15rem 1.15rem; border-radius: 2px; text-decoration: none; color: var(--ink);
    transition: background-color .25s var(--ease);
  }
  .mega__link:hover, .mega__link:focus-visible { background: var(--tint); }
  .mega__ico { grid-row: span 2; padding-top: .1rem; }
  .mega__ico .ico { width: 30px; height: 30px; transition: stroke .25s var(--ease); }
  .mega__link:hover .ico { stroke: var(--navy); }
  .mega__name { grid-column: 2; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
  .mega__sum { grid-column: 2; margin-top: .3rem; font-size: .8125rem; line-height: 1.55; color: var(--ink-3); }
  .mega__link > .mega__name:first-child, .mega__link > .mega__name:first-child + .mega__sum { grid-column: 1 / -1; }
  .mega__link[aria-current="page"] .mega__name { text-decoration: underline; text-decoration-color: var(--steel-lt); text-underline-offset: 4px; }

  /* Services: the sixth cell is a navy prompt with the phone number. */
  .mega__cta {
    --ink: #FFFFFF; --ink-2: #D5DEEA; --ink-3: #AFC0D6; --head: #FFFFFF; --focus: var(--steel-lt);
    display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem 1.35rem 1.25rem; border-radius: 2px; background: var(--navy); color: #FFFFFF;
  }
  .mega__cta-title { margin: 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.2; }
  .mega__cta-text { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--ink-2); }
  .mega__tel { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; min-height: 36px; margin-top: auto; font-size: 1rem; font-weight: 600; color: #FFFFFF; text-decoration: none; }
  .mega__tel svg { width: 15px; height: 15px; flex: none; }
  .mega__tel:hover span { text-decoration: underline; text-underline-offset: 4px; }
  /* With an even number of services the prompt takes a row of its own. */
  .mega__cta:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: center; }
  .mega__cta:nth-child(odd) .mega__cta-title, .mega__cta:nth-child(odd) .mega__cta-text { grid-column: 1; }
  .mega__cta:nth-child(odd) .mega__tel { grid-column: 2; grid-row: 1 / span 2; margin: 0; }

  /* Property types: a ruled list of names beside the pointed-at type's photograph. */
  .mega--types .mega__links { gap: 0 1.75rem; border-top: 1px solid var(--rule); grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
  .mega--types .mega__link {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--tap);
    padding: .78rem 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none;
  }
  .mega--types .mega__name { font-weight: 500; color: var(--ink-2); transition: color .25s var(--ease), transform .35s var(--ease); }
  .mega--types .mega__link::after {
    content: ""; flex: none; width: 13px; height: 13px; background: var(--steel); opacity: 0; transform: translateX(-6px);
    transition: opacity .25s var(--ease), transform .35s var(--ease);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.7'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.7'/></svg>") center / contain no-repeat;
  }
  .mega--types .mega__link.is-on .mega__name, .mega--types .mega__link:hover .mega__name { color: var(--navy); transform: translateX(.35rem); }
  .mega--types .mega__link.is-on::after, .mega--types .mega__link:hover::after { opacity: 1; transform: none; }

  /* The plates share one grid cell, so the stage is as tall as the tallest: the photo, then its name and summary beneath, clear of the photo. */
  .mega__stage { display: grid; }
  .mega__plate { grid-area: 1 / 1; opacity: 0; transition: opacity .4s var(--ease); }
  .mega__plate.is-on { opacity: 1; }
  .mega__photo { aspect-ratio: 3 / 2; border-radius: 2px; }
  .mega__photo.tplate--photo img { position: absolute; inset: 0; transform: scale(1.03); transition: transform 1.2s var(--ease); }
  .mega__plate.is-on .mega__photo.tplate--photo img { transform: none; }
  .mega__photo.tplate--text { padding: 2rem 2.25rem; }
  .mega__photo .tplate__text { font-size: 1.625rem; }
  .mega__cap { display: grid; gap: .2rem; margin: 0; padding-top: .9rem; }
  .mega__cap b { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
  .mega__cap span { font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }

  /* About (and any other panel): the pages as bordered cards in a row. */
  .mega--about .mega__links, .mega--list .mega__links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .mega--about .mega__link, .mega--list .mega__link {
    display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.4rem 1.5rem;
    border: 1px solid var(--rule); border-top: 2px solid var(--navy);
  }
  .mega--about .mega__link:hover, .mega--list .mega__link:hover { border-top-color: var(--steel); }
  .mega--about .mega__sum, .mega--list .mega__sum { margin-top: 0; }

  /* The page behind dims while a panel is open. */
  .mega-scrim {
    position: fixed; left: 0; right: 0; top: var(--mh-open, var(--mh)); bottom: 0; z-index: -1;
    background: rgba(13, 43, 90, .26); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .masthead.has-mega .mega-scrim { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
}

@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes mega-swap-in { from { opacity: 0; transform: translateX(var(--mega-shift, 0)); } to { opacity: 1; transform: none; } }
@keyframes mega-swap-out { to { opacity: 0; } }
/* A taller panel is uncovered as the backdrop grows, so its content never spills past it. */
@keyframes mega-reveal { from { clip-path: inset(0 0 var(--mega-clip, 0px) 0); } to { clip-path: inset(0); } }

@media (max-width: 1200px) {
  .mega-scrim, .mega-bg { display: none; }
  .nav-panel .nav__more { width: var(--tap); height: 4rem; margin: 0; color: var(--steel-lt); }
  .nav-panel .nav__more svg { width: 16px; height: 16px; stroke-width: 1.4; }
  .nav-panel .nav__more .c { display: none; }
  .nav-panel .nav__more .h, .nav-panel .nav__more .v { display: inline; }
  .nav-panel .nav__more[aria-expanded="true"] .v { transform: scaleY(0); }
  .masthead--menu-light .nav-panel .nav__more { color: var(--steel); }

  /* A section's pages open and close under its row by easing the row's
     height (0fr ↔ 1fr); hidden while closed, so they leave the tab order. */
  .nav-panel .mega {
    grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-panel .nav__item.is-open > .mega { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
  .nav-panel .mega__inner { min-height: 0; overflow: hidden; padding: 0; }
  .nav-panel .mega__intro, .nav-panel .mega__stage, .nav-panel .mega__cta,
  .nav-panel .mega__ico, .nav-panel .mega__sum { display: none; }
  .nav-panel .mega__links { list-style: none; margin: 0 0 1.1rem .2rem; padding: 0 0 0 1.1rem; border-left: 1px solid var(--rule); }
  .nav-panel .mega__link { display: flex; align-items: center; min-height: var(--tap); padding: .45rem 0; text-decoration: none; }
  .nav-panel .mega__name { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
  .nav-panel .mega__link:hover .mega__name, .nav-panel .mega__link[aria-current="page"] .mega__name { color: var(--head); }
  .nav-panel .mega__link[aria-current="page"] .mega__name { text-decoration: underline; text-underline-offset: 5px; }
}

/* ── Inner pages ────────────────────────────────────────── */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: 0 0 1.4rem; padding: 0; font-size: .8125rem; letter-spacing: .03em; }
.crumbs li { display: inline-flex; align-items: center; gap: .55rem; color: var(--steel-lt); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid rgba(255, 255, 255, .5); border-right: 1px solid rgba(255, 255, 255, .5); transform: rotate(45deg); }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }

.phead--photo .phead__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2.5rem, 5vw, 5rem); align-items: end; }
.phead__photo { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border-radius: 2px; background: #0A2349; }
.phead__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Section head: label, title and intro above a section's content. */
.shead { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.shead__intro { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-3); }
.split > .shead, .pts-split > div > .shead { margin-bottom: 0; }

/* The page's text beside a sticky aside. */
.detail__grid { display: grid; grid-template-columns: minmax(0, 7.6fr) minmax(0, 4fr); gap: 3rem clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
/* The aside runs the full height of the text so its quote card can stay in view. */
.detail__aside { align-self: stretch; display: grid; gap: 1.25rem; align-content: start; }
.detail__aside .glance--cta { position: sticky; top: calc(var(--mh) + 1.5rem); }
.detail .entry-content { max-width: 44rem; }

/* ── The page's text in sections (inc/sections.php) ─────── */
.entry-content.sect__body { max-width: none; }
.sect__body > :not(.sect-wide, .sect-close) { max-width: var(--read); }
.sect__body > * + .sect-wide, .sect__body > .sect-wide + *, .sect__body > * + .sect-close { margin-top: clamp(2.25rem, 4vw, 3rem); }
.sect__body > h3 { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
.sect__body > h3 + * { margin-top: 1rem; }

/* The eyebrow is the H3 after the H2 in the markup, lifted above it here. */
.sect__head { display: flex; flex-direction: column; gap: 1.1rem; max-width: 50rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.sect__eyebrow { order: -1; }

/* The overview: the opening heading, then the first paragraphs beside what
   the report is used for, then the related pages as a centred row of icon links. */
.sect-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 2.5rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.sect-intro .sect__body > p { max-width: var(--read); }
/* A property type page's section of text alone: the heading beside the text, as the commercial page sets its rows. */
.sect-side { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2.5rem, 5vw, 4rem); align-items: start; }
.sect-side > .sect__head { margin-bottom: 0; }
@media (min-width: 1021px) {
  .sect-side > .sect__head { position: sticky; top: calc(var(--mh) + 2rem); }
  /* A property type page's uses stay in view beside a long opening. */
  .is-type .sect--opening .sect-intro__grid > .sect-uses { position: sticky; top: calc(var(--mh) + 2rem); }
}
/* Property type pages: sub-points open on a hairline, not the heavy navy rule, in the opening's left column and beside a side heading. */
.is-type .sect--opening .sect-sub, .is-type .sect-side .sect-sub { padding-top: clamp(1.5rem, 2.5vw, 2rem); border-top: 1px solid var(--rule-strong); }
.is-type .sect--opening .sect-sub__title, .is-type .sect-side .sect-sub__title { font-size: clamp(1.375rem, 2vw, 1.625rem); }
.is-type .sect--opening .sect__body > * + .sect-wide, .is-type .sect--opening .sect__body > .sect-wide + * { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.is-type .sect--opening .sect-check, .is-type .sect-intro__grid .entry-content ul.sect-check { grid-template-columns: minmax(0, 1fr); }
/* A property type page's services: one ruled line of links under the other property types. */
.related__services { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: clamp(2rem, 3.5vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); }
.related__services .eyebrow { margin: 0; }
.related__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.sect-side .sect-flow { columns: 1; }
.sect-side .sect-flow > p + p { margin-top: 1.05rem; }
/* Our Clients: the page's sections side by side, one column each. */
.sect-colset { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); }
.sect-colset__col { padding-top: clamp(1.5rem, 2.5vw, 2rem); border-top: 2px solid var(--navy); }
.sect-colset__title { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.875rem); font-weight: 500; line-height: 1.15; color: var(--head); text-wrap: balance; }
.sect-colset .sect__body > * + * { margin-top: 1rem; }
.sect-colset .sect-flow { columns: 1; }
.sect-colset .sect-flow > p + p { margin-top: 1rem; }
.sect-colset .sect-index { margin-top: 1.5rem; }
.sect-colset .sect-index__row, .band--tint .sect-colset .sect-index__row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: .3rem; padding: .9rem 0; background: none; }
.sect-colset .sect-index dt { font-size: 1.25rem; }
.sect-colset .sect-index dd { font-size: .9375rem; }
.sect-colset + .sect-close { margin-top: clamp(2.5rem, 4vw, 3.25rem); }
/* A sub-heading with a list on a property type page: a ruled block like its sub-headings of text. */
.sect-sub--list > * + * { margin-top: 1rem; }
.sect-sub--list > .sect-sub__title + * { margin-top: 0; }
/* A service page's first section with the uses beside it: the paragraphs in one column, the rest of the section beneath. */
.sect-intro__grid .sect-flow { columns: 1; }
.sect-intro__grid .sect-flow > p { max-width: var(--read); }
.sect__below { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
.sect-uses .eyebrow { margin-bottom: .9rem; }
/* About: the appraisers line and the links to Our Appraisers and Our Clients, where the uses would be. */
.sect-people__lede { margin: 0 0 1.25rem; max-width: 26rem; font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.3; color: var(--head); text-wrap: pretty; }
.sect-people .glance__links + .eyebrow { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.sect-uses__list { margin: 0; border-top-color: var(--rule-strong); }
.sect-uses__list li { padding: .7rem 0; font-size: .9375rem; color: var(--ink); border-bottom-color: var(--rule-strong); align-items: center; }
/* A dot rather than the checklist's tick. Pointing at a row grows the dot
   into a ring, nudges the text along and draws a fine line under it. */
.sect-uses__list li { position: relative; cursor: default; }
.sect-uses__list li::before {
  width: 6px; height: 6px; justify-self: center; border-radius: 50%; background: var(--steel); transform: none;
  -webkit-mask: none; mask: none; box-shadow: 0 0 0 0 rgba(74, 106, 143, 0);
  transition: transform .35s var(--ease), background-color .25s var(--ease), box-shadow .35s var(--ease);
}
.sect-uses__list li > span { transition: transform .35s var(--ease), color .25s var(--ease); }
.sect-uses__list li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease);
}
.sect-uses__list li:hover::before { transform: scale(1.35); background: var(--navy); box-shadow: 0 0 0 4px rgba(74, 106, 143, .18); }
.sect-uses__list li:hover > span { transform: translateX(.35rem); color: var(--navy); }
.sect-uses__list li:hover::after { transform: scaleX(1); }
.sect-uses--wide .sect-uses__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); border-top: 0; }
.sect-uses--wide .sect-uses__list li:nth-child(-n+2) { border-top: 1px solid var(--rule-strong); }

.sect-related { margin-top: clamp(2.25rem, 4vw, 3rem); padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid var(--rule-strong); text-align: center; }
.sect-related .eyebrow { margin-bottom: 1rem; }
/* Every item takes the same width, so the gaps match whatever the names, and the row centres on the page. */
.sect-related__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: .75rem; }
.sect-related__list li { display: flex; justify-content: center; flex: 0 0 9.5rem; }
.sect-related__link { width: 100%; }
.sect-related__link {
  display: flex; flex-direction: column; align-items: center; gap: .45rem; min-height: var(--tap); padding: .35rem .25rem;
  color: var(--navy); text-decoration: none; transition: color .25s var(--ease);
}
.sect-related__ico .ico { width: 26px; height: 26px; transition: stroke .25s var(--ease), transform .35s var(--ease); }
a.sect-related__link:hover { color: var(--steel); }
a.sect-related__link:hover .ico { stroke: var(--navy); transform: translateY(-2px); }
.sect-related__name { font-size: .875rem; font-weight: 600; line-height: 1.3; }
a.sect-related__link:hover .sect-related__name { text-decoration: underline; text-underline-offset: 4px; }

/* The quote button and phone number. */
.sect-act { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #FFFFFF; }
.btn--outline svg { width: 15px; height: 15px; }
.btn--outline:hover svg { transform: none; }
.sect-close { padding-top: clamp(2rem, 3.5vw, 2.75rem); border-top: 1px solid var(--rule-strong); }
/* Ruled rows already close on a rule: the buttons follow without a second one. */
.sect-index + .sect-close { padding-top: 0; border-top: 0; }

/* A long run of paragraphs flows across two columns. */
.sect-flow { columns: 2; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
.sect-flow > p { break-inside: avoid; max-width: none; }
.entry-content h3 + .sect-flow { margin-top: .75rem; }

/* An H3 of paragraphs only: a ruled block with a serif title. */
.sect-sub { padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 2px solid var(--navy); }
.entry-content .sect-sub__title, .sect__body > .sect-sub__title { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 500; line-height: 1.15; color: var(--head); }
/* A sub-heading straight after text in the same section gets room above it. */
.sect__body > * + .sect-sub__title { margin-top: clamp(2.25rem, 4vw, 3rem); }
.sect-sub > p { max-width: var(--read); }
.sect-sub .sect-flow { margin-top: 0; }

/* Text that folds after its first paragraph on phones (main.js); the button shows only there. */
.more__toggle {
  display: none; align-items: center; gap: .6rem; min-height: var(--tap); margin: 0; padding: 0; background: none; border: 0;
  cursor: pointer; font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--navy);
}
.more__toggle span { padding-bottom: .2rem; border-bottom: 1px solid currentColor; }
.more__toggle svg { width: 13px; height: 13px; }
.more > [tabindex="-1"]:focus { outline: none; }
.sect-run > * + * { margin-top: 1.05rem; }

/* A bold-led list: a ruled index, the bold words as each row's title. */
.sect-index { margin: 0; border-top: 1px solid var(--rule-strong); }
/* A list's label ("We appraise"): set apart from the text above, close to its list. */
.sect__body > * + .sect-listlabel { margin-top: clamp(2.25rem, 4vw, 3rem); }
.sect__body > .sect-listlabel + .sect-wide { margin-top: 1rem; }
.sect-index__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .5rem clamp(2rem, 5vw, 4rem); padding: 1.5rem 1.5rem; border-bottom: 1px solid var(--rule); }
.sect-index__row:nth-child(even) { background: var(--tint); }
.band--tint .sect-index__row:nth-child(even) { background: var(--plate); }
.sect-index dt, .entry-content .sect-index__title { margin: 0; font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.2; color: var(--head); }
.sect-index dd, .sect-index__text { margin: 0; max-width: 40rem; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.sect-index__text > * + * { margin-top: 1rem; }
.sect-index dd::first-letter { text-transform: uppercase; }

/* H3 sub-sections of similar length: numbered columns. */
.entry-content .sect-cols { padding: 0; }
.sect-cols .points__title { margin: 0 0 .7rem; font-family: var(--serif); font-size: clamp(1.375rem, 1.8vw, 1.625rem); font-weight: 500; line-height: 1.2; color: var(--head); }
.sect-cols .points__text + .points__text { margin-top: .85rem; }

/* H3 sub-sections of uneven length: a carousel of numbered steps (main.js); stacked without script. */
.entry-content .slides__track { list-style: none; margin: 0; padding: 0; }
.entry-content .slides__slide { padding: clamp(1.75rem, 4vw, 3rem); background: var(--tint); border-top: 3px solid var(--navy); }
.entry-content .slides__slide::before { content: none; }
.band--tint .entry-content .slides__slide { background: var(--plate); }
.slides:not(.is-ready) .slides__slide + .slides__slide { margin-top: 1.5rem; }
/* With script the cards sit in a row that scrolls a card at a time; the row takes the tallest card's height. */
.slides.is-ready .slides__track {
  display: flex; gap: 1.5rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.slides.is-ready .slides__track::-webkit-scrollbar { display: none; }
.slides.is-ready .slides__slide { flex: 0 0 100%; scroll-snap-align: start; }
@media (max-width: 860px) {
  .slides.is-ready .slides__track { align-items: flex-start; transition: height .4s var(--ease); }
}
.slides__count { margin: 0 0 .9rem; font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .22em; color: var(--accent); }
.slides__count span { color: var(--ink-3); }
.entry-content .slides__title { margin: 0 0 1.25rem; font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.375rem); font-weight: 500; line-height: 1.15; color: var(--head); }
.slides__slide > p:not(.slides__count), .slides__slide .sect-flow > p { max-width: var(--read); }
.slides__bar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; }
.slides__dots { display: flex; align-items: center; gap: 0; }
.slides__dot { display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; background: none; cursor: pointer; }
.slides__dot::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--rule-strong); transition: width .3s var(--ease), background-color .3s var(--ease); }
.slides__dot:hover::before { background: var(--steel); }
.slides__dot[aria-current="true"]::before { width: 1.75rem; background: var(--navy); }
.slides__nav { display: flex; gap: .6rem; }
/* Wide screens: every step at once, as the ruled index's rows, the title beside the text. */
@media (min-width: 861px) {
  .slides { border-top: 1px solid var(--rule-strong); }
  .entry-content .slides__slide {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .5rem clamp(2rem, 5vw, 4rem); align-items: start;
    padding: 1.5rem; background: none; border-top: 0; border-bottom: 1px solid var(--rule);
  }
  .entry-content .slides__slide:nth-child(even) { background: var(--tint); }
  .band--tint .entry-content .slides__slide { background: none; }
  .band--tint .entry-content .slides__slide:nth-child(even) { background: var(--plate); }
  .slides:not(.is-ready) .slides__slide + .slides__slide { margin-top: 0; }
  .slides__count { display: none; }
  .entry-content .slides__title { margin: 0; font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.2; }
  .slides__slide > :not(.slides__count, .slides__title) { grid-column: 2; margin: 0; }
  .slides__slide .sect-flow { columns: 1; }
  .slides__slide .sect-flow > p + p { margin-top: 1rem; }
}

/* An H3 about what to send, with its list: a card of numbered document tiles. */
.prep { padding: clamp(1.75rem, 4vw, 3rem); background: var(--tint); border: 1px solid var(--rule); border-top: 4px solid var(--navy); }
.band--tint .prep { background: var(--plate); }
.prep__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); padding-bottom: clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--rule-strong); }
.entry-content .prep__title { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.375rem); font-weight: 500; line-height: 1.15; color: var(--head); }
.entry-content .prep__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .75rem; }
/* Five or six documents sit three to a row on wide screens, so no tile is left on a row alone. */
@media (min-width: 1021px) {
  .entry-content .prep__items:has(> li:nth-child(5)):not(:has(> li:nth-child(7))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.entry-content .prep__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; margin: 0; padding: 1.15rem 2.75rem 1.15rem 1.15rem; background: var(--plate); border: 1px solid var(--rule); }
.entry-content .prep__item::before { content: none; }
.band--tint .entry-content .prep__item { background: var(--tint); }
.prep__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 2px; background: var(--navy); color: #FFFFFF; }
.prep__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.prep__text { align-self: center; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.prep__num { position: absolute; top: .9rem; right: 1rem; font-family: var(--serif); font-size: .9375rem; color: var(--ink-3); }
.entry-content .prep__note { margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; max-width: 52rem; padding-left: 1rem; border-left: 3px solid var(--steel); font-size: .9375rem; line-height: 1.6; color: var(--ink-3); }

/* Any other bulleted list: the uses list's ruled rows, a dot on each, two to a row. */
.entry-content ul.sect-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); padding: 0; }
.entry-content ul.sect-check > li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .7rem; align-items: baseline; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--rule-strong); font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.entry-content ul.sect-check > li:nth-child(-n+2) { border-top: 1px solid var(--rule-strong); }
.entry-content ul.sect-check > li::before { position: static; width: 6px; height: 6px; justify-self: center; border-radius: 50%; background: var(--steel); transform: translateY(-.2em); }

/* Two lists side by side ("Usually included" / "Usually excluded"): a heading over a
   ruled list each. Items a heading says are left out take a dash instead of a tick,
   under a lighter rule. A note beneath spans both. */
.sect-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem clamp(2.5rem, 6vw, 6rem); }
.sect-pair__col { padding-top: clamp(1.5rem, 2.5vw, 2rem); border-top: 2px solid var(--navy); }
.sect-pair__col--out { border-top-color: var(--rule-strong); }
.entry-content .sect-pair__title { margin: 0 0 1.1rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 500; line-height: 1.15; color: var(--head); }
.entry-content .sect-pair__list { margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.entry-content .sect-pair__list > li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .85rem; align-items: baseline; margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.55; color: var(--ink); }
.entry-content .sect-pair__list > li::before {
  position: static; width: 12px; height: 12px; background: var(--accent); transform: translateY(1px);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5 6.5 12 13.5 4' fill='none' stroke='black' stroke-width='2'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5 6.5 12 13.5 4' fill='none' stroke='black' stroke-width='2'/></svg>") center / contain no-repeat;
}
.entry-content .sect-pair__col--out .sect-pair__list > li { color: var(--ink-2); }
.entry-content .sect-pair__col--out .sect-pair__list > li::before { width: 10px; height: 2px; background: var(--ink-3); -webkit-mask: none; mask: none; transform: translateY(-.32em); }
.sect-pair__note { grid-column: 1 / -1; max-width: var(--read); }
.entry-content .sect-pair__note p { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }

/* A numbered list: a row of steps. */
.entry-content ol.sect-steps { list-style: none; counter-reset: sect-step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.entry-content ol.sect-steps > li { counter-increment: sect-step; padding-top: 1.4rem; border-top: 2px solid var(--navy); font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.entry-content ol.sect-steps > li::before { content: counter(sect-step, decimal-leading-zero); display: block; margin-bottom: .8rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--accent); }

/* A section with an image: text beside the photo. */
.sect__split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2.5rem, 6vw, 6rem); align-items: center; }
.sect__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rule); }
.sect__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The photo band with the quote buttons. */
.sect-cta {
  --ink: #FFFFFF; --ink-2: #D5DEEA; --head: #FFFFFF; --accent: var(--steel-lt); --focus: var(--steel-lt);
  position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); background: var(--navy); color: #FFFFFF;
}
.sect-cta__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sect-cta--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 54, .92) 0%, rgba(8, 26, 54, .78) 45%, rgba(8, 26, 54, .35) 100%); }
.sect-cta__inner { display: grid; justify-items: start; gap: 1.25rem; }
.sect-cta__title { max-width: 36rem; color: #FFFFFF; }
.sect-cta__text { max-width: 34rem; margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.sect-cta .sect-act { margin-top: .75rem; }

@media (max-width: 860px) {
  .sect-pair { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .sect__split { grid-template-columns: minmax(0, 1fr); }
  .sect__photo { aspect-ratio: 3 / 2; }
  .sect-flow { columns: 1; }
  .sect-index__row { grid-template-columns: minmax(0, 1fr); padding: 1.25rem 1rem; }
  .prep__head { align-items: flex-start; }
  .sect-cta--photo::before { background: rgba(8, 26, 54, .82); }
}
@media (max-width: 680px) {
  .entry-content ul.sect-check { grid-template-columns: minmax(0, 1fr); }
  .entry-content ul.sect-check > li:nth-child(2) { border-top: 0; }
  .sect-act .btn { width: 100%; }
}

.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 3rem; }
.entry-content h2 + p, .entry-content h3 + p { margin-top: .75rem; }
.entry-content h3 { font-family: var(--sans); font-size: 1.1875rem; font-weight: 600; line-height: 1.35; color: var(--navy); margin-top: 2rem; }
.entry-content p, .entry-content li { line-height: 1.7; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul > li { position: relative; padding-left: 1.35rem; }
.entry-content ul > li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--steel); }
.entry-content ol { padding-left: 1.4rem; }
.entry-content ol > li::marker { color: var(--steel); font-weight: 600; }
.entry-content strong { color: var(--ink); font-weight: 600; }

.glance { background: var(--plate); border: 1px solid var(--rule); border-top: 2px solid var(--navy); padding: 1.6rem 1.6rem 1.7rem; }
.glance > .eyebrow { margin-bottom: .75rem; }
.glance > * + .eyebrow { margin-top: 1.75rem; }
.glance .checklist { margin: 0; }
.glance__lede { margin: 0 0 1.1rem; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.glance__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.glance__links li { border-bottom: 1px solid var(--rule); }
.glance__links a, .glance__links li > span { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--tap); padding: .5rem 0; font-size: .9375rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.glance__links li > span { font-weight: 500; color: var(--ink-2); }
.glance__links svg { width: 13px; height: 13px; flex: none; color: var(--steel); transition: transform .25s var(--ease); }
.glance__links a:hover { color: var(--steel); }
.glance__links a:hover svg { transform: translateX(3px); }
.glance__people { list-style: none; margin: 0; padding: 0; }
.glance__people a.n { color: var(--navy); text-decoration: none; }
.glance__people a.n:hover { text-decoration: underline; text-underline-offset: 3px; }

.glance--cta {
  --ink: #FFFFFF; --ink-2: #D5DEEA; --ink-3: #AFC0D6; --head: #FFFFFF; --accent: var(--steel-lt); --focus: var(--steel-lt);
  display: grid; gap: .8rem; justify-items: start; border: 0; background: var(--navy); color: #FFFFFF;
}
.glance__title { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.glance__text { margin: 0 0 .4rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.glance--cta .btn { width: 100%; }
.glance__tel { display: inline-flex; align-items: center; gap: .55rem; min-height: var(--tap); font-size: 1.0625rem; font-weight: 600; color: #FFFFFF; text-decoration: none; }
.glance__tel svg { width: 15px; height: 15px; flex: none; }
.glance__tel:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Cards that link to pages: related services and types, onward links. */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pcards--service { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.pcards--type { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--plate); border: 1px solid var(--rule); border-top: 2px solid var(--navy);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-4px); border-top-color: var(--steel); box-shadow: 0 24px 48px -32px rgba(13, 43, 90, .35); }
.pcard__ico { padding: 1.75rem 1.6rem 0; }
.pcard__plate { aspect-ratio: 4 / 3; }
.pcard__plate.tplate--text { padding: 1.35rem 1.4rem; }
.pcard__plate .tplate__text { font-size: 1.25rem; line-height: 1.3; }
.pcard__plate.tplate--photo img { transition: transform 1s var(--ease); }
.pcard:hover .pcard__plate.tplate--photo img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.6rem 1.6rem; }
.pcard__ico + .pcard__body { padding-top: 1.5rem; }
.pcard__title { margin: 0 0 .5rem; font-family: var(--sans); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--navy); }
.pcards--type .pcard__title { font-size: 1.0625rem; }
.pcard__text { margin: 0 0 1.4rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-3); }
/* A type without a photograph yet: its drawn icon on the navy plate. */
.tplate--icon { display: grid; place-items: center; background: var(--navy); }
.tplate--icon .ico { width: clamp(44px, 4vw, 60px); height: clamp(44px, 4vw, 60px); stroke: var(--steel-lt); }
/* The next four property types on a type page, in one row like the services. */
.related .pcards--type { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard__go {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; margin-top: auto;
  padding-bottom: .35rem; border-bottom: 1px solid currentColor; font-size: .875rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.pcard__go::before { content: ""; position: absolute; inset: 0; }
.pcard__go svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.pcard:hover .pcard__go { color: var(--steel); }
.pcard:hover .pcard__go svg { transform: translateX(3px); }
.pcard__go:focus-visible { outline: none; }
.pcard:has(.pcard__go:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Ruled points, numbered or not, in two to four columns. */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3.3vw, 3rem); }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points__item { margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--rule-strong); }
.points__item > .num { display: block; margin-bottom: 1rem; }
.points__title { margin: 0 0 .7rem; font-family: var(--serif); font-size: clamp(1.375rem, 1.8vw, 1.625rem); font-weight: 500; line-height: 1.2; color: var(--head); text-wrap: balance; }
.points__text { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--ink-3); }
dl.points dd { margin: 0; }

/* About: mission beside the values title, then the values. */
.values__head { align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.values__mission { margin: 0; padding-left: clamp(1.25rem, 2.5vw, 2rem); border-left: 2px solid var(--steel-lt); }
.values__mission p { margin: 0; max-width: 34ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.3; color: var(--navy); text-wrap: pretty; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tile { padding: 1.6rem 1.5rem 1.7rem; background: var(--plate); border: 1px solid var(--rule); border-top: 2px solid var(--navy); }
.tile__title { margin: 0 0 .5rem; font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.tile__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-3); }

.standards__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.standards__head .shead { margin-bottom: 0; }
.standards__logo { flex: none; width: clamp(160px, 16vw, 220px); height: auto; }

/* Services: purposes in four ruled groups. */
.purposes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 2.8vw, 2.5rem); align-items: start; }
.purposes__label, .towns__label {
  margin: 0; padding-bottom: .9rem; border-bottom: 2px solid var(--navy);
  font-family: var(--sans); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.purposes__list { margin: 0; }
.purposes__list > div { padding: .9rem 0 1rem; border-bottom: 1px solid var(--rule); }
.purposes__list dt { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
.purposes__list dd { margin: .3rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--ink-3); }

/* Service area: the page's text beside the map, then the communities. */
.area__grid--page { align-items: start; }
.area__grid--page .area__body { padding-top: .5rem; }
.area__more { margin-top: 1.75rem; }
.towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); align-items: start; }
.towns__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.towns__list li { break-inside: avoid; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; font-weight: 500; color: var(--ink); }

@media (max-width: 1200px) {
  /* Ten types, or four: two columns leave no gap in the last row. */
  .pcards--type, .related .pcards--type { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards--service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purposes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .sect-intro__grid, .sect-side, .sect-colset { grid-template-columns: minmax(0, 1fr); }
  .detail__grid { grid-template-columns: minmax(0, 1fr); }
  .detail__aside { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }
  .detail__aside .glance--cta { position: static; }
  .phead--photo .phead__inner { grid-template-columns: minmax(0, 1fr); }
  .phead__photo { max-width: 36rem; }
  .values__head { align-items: start; }
}

@media (max-width: 860px) {
  .points, .points--2, .points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards--type { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .towns { grid-template-columns: minmax(0, 1fr); }
  .standards__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .points, .points--2, .points--4, .tiles, .pcards, .pcards--service { grid-template-columns: minmax(0, 1fr); }
  .sect-uses--wide .sect-uses__list { grid-template-columns: minmax(0, 1fr); }
  .sect-uses--wide .sect-uses__list li:nth-child(2) { border-top: 0; }
  /* Phones: three to a row, so six types make a 3 × 2 grid. */
  .sect-related__list li { flex-basis: 33.333%; }
  .points { gap: 2rem; }
  .purposes__grid { grid-template-columns: minmax(0, 1fr); }
  /* The page head fits a phone's first screen with the start of the page below it: tighter padding and title, the two actions side by side. */
  .phead__inner { padding-block: calc(var(--mh) + 2rem) 2.75rem; }
  .phead__title { font-size: 2.25rem; }
  .phead .hero__rule { margin: 1.25rem 0; }
  .phead__act { margin-top: 1.75rem; gap: .5rem; }
  .phead__act .btn { flex: 1 1 0; min-width: 0; padding-inline: .7rem; }
  .crumbs ol { margin-bottom: 1rem; font-size: .75rem; }
  .pcard__body { padding: 1.1rem 1.15rem 1.25rem; }
  /* Property type cards as rows: the photo beside the name and summary. */
  .pcards--type, .related .pcards--type { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .pcards--type .pcard { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
  .pcards--type .pcard:hover { transform: none; }
  .pcards--type .pcard__plate { aspect-ratio: auto; height: 100%; min-height: 8.5rem; }
  .pcards--type .pcard__body { padding: .95rem 1rem 1rem; }
  .pcards--type .pcard__title { margin-bottom: .3rem; }
  .pcards--type .pcard__text { margin-bottom: .8rem; font-size: .875rem; line-height: 1.5; }
  .tplate--icon .ico { width: 40px; height: 40px; }
}

/* ── Motion ─────────────────────────────────────────────── */

@keyframes cd-zoom { from { transform: scale(1.18); } to { transform: none; } }
@keyframes cd-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes cd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cd-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cd-draw { from { stroke-dashoffset: var(--len, 216); } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* The hero arrives once: the aerial eases out of a slow zoom, then the type rises. */
  .js-arrive .hero__media { animation: cd-zoom 3.2s cubic-bezier(.16, .7, .2, 1) both; }
  .js-arrive .hero__eyebrow { animation: cd-rise 1.1s var(--ease) .7s both; }
  .js-arrive .hero__title { animation: cd-rise 1.2s var(--ease) .85s both; }
  .js-arrive .hero .hero__rule { animation: cd-line 1s var(--ease) 1.45s both; }
  .js-arrive .hero__act { animation: cd-rise 1s var(--ease) 1.25s both; }
  .js-arrive .hero__aside { animation: cd-rise 1s var(--ease) 1.5s both; }
  .js-arrive .phead__eyebrow, .js-arrive .phead .crumbs, .js-arrive .phead__title { animation: cd-rise 1s var(--ease) .15s both; }
  .js-arrive .phead__photo { animation: cd-fade 1.2s var(--ease) .35s both; }
  .js-arrive .phead .hero__rule { animation: cd-line .9s var(--ease) .55s both; }
  .js-arrive .phead__deck, .js-arrive .phead__act { animation: cd-rise 1s var(--ease) .4s both; }

  /* Sections fade up as they arrive (main.js marks them). */
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

  .sent.is-in .sent__box { stroke-dasharray: 216; animation: cd-draw .7s var(--ease) both; }
  .sent.is-in .sent__tick { stroke-dasharray: 40; --len: 40; animation: cd-draw .45s var(--ease) .55s both; }
  .sent.is-in .sent__title, .sent.is-in .sent__msg, .sent.is-in .sent__alt, .sent.is-in .sent__again { animation: cd-rise .6s var(--ease) .35s both; }
}
.faq details[open] .faq__a p { animation: cd-fade .45s var(--ease) both; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1200px) {
  .hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .hero__copy { display: block; }
  .hero__stat-label { max-width: 11rem; white-space: normal; }
  .hero__deck { min-width: 0; }
  .svc__head { grid-column: 1 / -1; padding: 0 0 1rem; }
  .svc__card { grid-column: span 6; }
  .svc__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Marks across the top, contact and menu beneath. */
  .colophon__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem;
    grid-template-areas: "logo cred" "contact nav";
  }
  .colophon__brand { grid-area: logo; align-self: center; }
  .colophon__cred { grid-area: cred; align-self: center; }
  .colophon__col--contact { grid-area: contact; }
  .colophon__col--nav { grid-area: nav; }
  .clients__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Small desktops: the logo, the links and the phone only just share the row,
   so the gaps tighten. */
@media (min-width: 1201px) and (max-width: 1439px) {
  .masthead__inner { gap: 1.5rem; }
  .nav__list { gap: 1.1rem; }
}

@media (max-width: 1200px) {
  .nav-toggle { display: inline-grid; }

  .nav-panel {
    position: fixed; left: 0; right: 0; top: var(--mh-open, 76px); bottom: 0; z-index: 39;
    display: flex; flex-direction: column; gap: 2.5rem;
    padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--navy); overflow-y: auto; overscroll-behavior: contain;
    /* The sheet unfolds down from the bar's bottom edge, never over the bar. */
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: clip-path .5s var(--ease), opacity .2s ease-out, visibility 0s linear .5s;
  }
  .menu-open .nav-panel { padding-right: calc(var(--gutter) + var(--sbw, 0px)); }
  .masthead--open .nav-panel { visibility: visible; opacity: 1; clip-path: inset(0); transition: clip-path .5s var(--ease), opacity .2s ease-out, visibility 0s; }
  .nav-panel .nav { display: block; margin: 0; }
  .nav-panel .nav__list { display: block; }
  .nav-panel .nav__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--rule); }
  .nav-panel .nav__link {
    justify-content: space-between; min-height: 4rem; padding: .5rem 0;
    font-family: var(--serif); font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 500; letter-spacing: -.005em; color: #FFFFFF;
  }
  .nav-panel .nav__link:hover, .nav-panel .nav__link[aria-current="page"], .nav-panel .is-branch > .nav__link { color: #FFFFFF; }
  .nav-panel .nav__link::after {
    position: static; flex: none; width: 18px; height: 18px; background: var(--steel-lt); transform: none;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/></svg>") center / contain no-repeat;
    transition: transform .25s var(--ease);
  }
  .nav-panel .nav__link:hover::after { transform: translateX(4px); }
  /* An item with pages beneath: the + opens them, so the row drops its arrow. */
  .nav-panel .nav__item--mega > .nav__link::after { display: none; }
  .nav-panel__foot { display: grid; gap: .3rem; margin-top: auto; }
  .nav-panel__cta { justify-self: start; margin-bottom: 1.75rem; }
  .nav-panel__tel { justify-self: start; display: inline-flex; align-items: center; min-height: var(--tap); font-size: 1.375rem; font-weight: 600; color: #FFFFFF; text-decoration: none; }
  .nav-panel__addr { margin: 0; font-size: .9375rem; color: var(--ink-3); }
  html.menu-open { overflow: hidden; }

  /* Light sheets (Masthead → Mobile menu colour): paper roles back to the page
     defaults, navy type, the navy button, and the bar's rule carried on top. */
  .masthead--menu-light .nav-panel {
    --ink: #1A2233; --ink-2: #3B4453; --ink-3: #5F6775; --head: var(--navy); --accent: var(--steel);
    --rule: #E3E7EE; --rule-strong: #C9D2DE; --focus: var(--steel);
    background: #FFFFFF; box-shadow: inset 0 2px 0 var(--rule);
  }
  .masthead--menu-tint .nav-panel { --rule: #DDE3EB; background: var(--tint); }
  .masthead--menu-light .nav-panel .nav__link,
  .masthead--menu-light .nav-panel .nav__link:hover,
  .masthead--menu-light .nav-panel .nav__link[aria-current="page"],
  .masthead--menu-light .nav-panel .is-branch > .nav__link,
  .masthead--menu-light .nav-panel__tel { color: var(--navy); }
  .masthead--menu-light .nav-panel .nav__link::after { background: var(--steel); }
  .masthead--menu-light .nav-panel__cta { background: var(--navy); color: #FFFFFF; }
  .masthead--menu-light .nav-panel__cta:hover { background: var(--navy-2); color: #FFFFFF; }
}

@media (max-width: 1020px) {
  .split, .faq-wrap, .area__grid { grid-template-columns: minmax(0, 1fr); }
  .area__body { order: -1; }
  .area__map { width: 100%; max-width: 30rem; }
  /* Title and intro, then the form, then what happens next. */
  .request { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "form" "aside"; }
  .request__head { border-right: 0; }
  .request__aside { border-right: 0; border-top: 1px solid var(--rule); padding-top: var(--py); }
  .request__aside > .request__group:first-child { margin-top: 0; }
  /* The home form keeps only the privacy note, which stays under the intro. */
  .request--note { grid-template-areas: "head" "aside" "form"; }
  .request--note .request__aside { border-top: 0; padding-top: 0; padding-bottom: 0; }
  .split__body { padding-top: 0; }
  .why { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .why__pt { padding-block: 1.5rem; }
  .faq-wrap__head { position: static; }
  .pros__head { grid-column: 1 / -1; padding-right: 0; }
  .pro { grid-column: span 6; }
  .pro + .pro { margin-top: 0; }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .dossier, .dossier__record { grid-template-columns: minmax(0, 1fr); }
  .dossier__id { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: end; }
  .dossier__photo, .dossier__id > div, .dossier__body { grid-column: auto; grid-row: auto; position: static; }
  .dossier__id > div { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 900px) {
  .strip__purposes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__purposes li:nth-child(odd) { border-left: 0; }
  .strip__purposes li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  :root { --mh: 80px; }
  .brand { padding-block: .875rem; }
  .brand img { height: 52px; }
  .masthead .tel { display: none; }
  .masthead__actions { border-image-outset: 0 100vmax 0 .75rem; }
}

/* Phones and small tablets: property types become a set of squared buttons,
   with the chosen type's plate beneath them. The items dissolve so every
   name flows into one wrapping row and the open plate drops below it. */
@media (max-width: 860px) {
  .tindex__head { margin-bottom: 1.5rem; }
  .tindex.is-enhanced .tindex__list { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 0; }
  .tindex.is-enhanced .tindex__item { display: contents; }
  .tindex.is-enhanced .tindex__name { order: 1; }
  .tindex.is-enhanced .tindex__panel { order: 2; flex: 0 0 100%; padding: .75rem 0 0; }
  .tindex.is-enhanced .tindex__btn {
    width: auto; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--navy); border-radius: 2px;
    font-size: .875rem; color: var(--navy); background: transparent;
  }
  .tindex.is-enhanced .tindex__btn > span, .tindex.is-enhanced .is-active .tindex__btn > span { transform: none; }
  .tindex.is-enhanced .tindex__btn > svg { display: none; }
  .tindex.is-enhanced .tindex__ico { display: none; }
  .tindex.is-enhanced .is-active .tindex__btn { background: var(--navy); color: #FFFFFF; }
  .tindex.is-enhanced .tindex__capname { display: block; margin-bottom: .3rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
  .tindex.is-enhanced .tindex__plate.tplate--text { aspect-ratio: auto; min-height: 9rem; padding: 1.5rem; }
  .tindex.is-enhanced .tindex__plate .tplate__text { font-size: 1.375rem; }
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .svc { gap: 1rem; }
  .svc__card, .svc__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc__card { padding: 1.5rem 1.35rem 1.35rem; }
  /* The number and icon ride beside the title instead of on a row of their own. */
  .svc__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; }
  .svc__top { grid-column: 2; grid-row: 1; align-self: start; margin: .2rem 0 0; }
  .svc__top .ico { width: 28px; height: 28px; }
  .svc__body { grid-column: 1; grid-row: 1; }
  .svc__go { grid-column: 1 / -1; justify-self: start; }
  .svc__body { margin-bottom: 1.1rem; }
  /* The property lists repeat the Property types section just below. */
  .svc__types { display: none; }
  /* Phones: one centred column. Both marks first, then the menu in two
     columns, then contact details; the base line centred. One rule only:
     the footer's own top border. */
  .colophon__grid {
    grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center;
    grid-template-areas: "logo" "cred" "nav" "contact";
  }
  .colophon__col--nav { margin-bottom: 2rem; }
  .colophon__brand { justify-self: center; margin-bottom: 1.25rem; }
  .colophon__brand img { height: 56px; }
  .colophon__cred { justify-self: center; max-width: 160px; margin-bottom: 2.25rem; }
  .colophon__col--nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; justify-items: center; }
  .colophon__base { flex-direction: column; align-items: center; text-align: center; padding-top: 0; border-top: 0; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --section-py: 3rem; }
  .why { margin-top: 2.5rem; }
  .hero { min-height: clamp(560px, 92svh, 760px); }
  .hero__inner { padding-bottom: 2.5rem; gap: 2rem; }
  .hero__title { margin-top: 1rem; }
  .hero__rule { margin: 1.5rem 0; }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__aside { flex-direction: column; align-items: flex-start; gap: 1.5rem; width: 100%; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .22); }
  .hero__stats { gap: 1.5rem; width: 100%; }
  .hero__stats > div { flex: 1; }
  .hero__logo { height: 36px; padding-left: 0; border-left: 0; }
  .strip__purposes { grid-template-columns: minmax(0, 1fr); }
  .strip__purposes li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .strip__purposes a, .strip__item { padding: 1.1rem 1.25rem; }
  .hero__stat { font-size: 1.875rem; }
  .hero__stat-label { font-size: .625rem; letter-spacing: .1em; }

  .reel__head, .tst__head { align-items: flex-start; flex-direction: column; }
  .reel__slide { flex-basis: 88%; }
  .reel__slide img { aspect-ratio: 4 / 3; }
  .reel__cap { position: static; max-width: none; background: none; box-shadow: none; padding: .9rem 0 0; }

  /* The firm's points: a swipeable row that peeks at the next card. */
  .why {
    display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .why::-webkit-scrollbar { display: none; }
  .why__pt { display: block; flex: 0 0 82%; scroll-snap-align: start; padding: 1.35rem 1.25rem 1.5rem; background: var(--plate); border: 1px solid var(--rule); border-top: 2px solid var(--navy); }
  .why__title { margin: 0 0 .5rem; font-size: 1.375rem; }
  .why__clients { grid-template-columns: minmax(0, 1fr); }
  .why__clients .textlink { justify-self: start; }
  .why__text { font-size: .9375rem; }

  /* Appraisers side by side; a card opens to full width for the bio. */
  .pros { row-gap: 2rem; column-gap: 1rem; align-items: stretch; }
  .pro__id { margin-bottom: .75rem; }
  .pro { grid-column: span 6; }
  .pro__photo { max-width: none; }
  .pro__id { margin-top: .9rem; }
  .pro__name { font-size: 1.0625rem; }
  .pro__des, .pro__role { font-size: .75rem; }
  .pro__mail { min-height: 36px; font-size: .75rem; gap: .35rem; }
  .pro__mail svg { width: 13px; height: 13px; }
  /* Phones keep the pair compact: the bio waits on the Our Appraisers page. */
  .pro__bio { display: none; }
  .pro__profile { max-width: none; font-size: .75rem; }
  .pro__profile span { flex: 1; }

  .request { --py: 2rem; --px: 1.35rem; }
  .request-band .shell { padding-inline: 0; }
  .request__aside { padding-top: 1rem; }
  .request__group { margin-top: .25rem; }
  .request__note { margin-top: 1.25rem; }
  .fold.is-ready .fold__label { display: none; }
  .fold.is-ready .fold__toggle { display: flex; }
  .fold.is-ready .fold__body { padding-top: .75rem; }
  .fold.is-folded .fold__body { display: none; }
  .form__pair { grid-template-columns: minmax(0, 1fr); }
  .gform_wrapper .gfield--width-half { grid-column: 1 / -1; }
  .faq__a { padding-right: 0; }
  .faq summary { font-size: 1.0625rem; }
  .dossier__id { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
  .dossier__name { font-size: 1.75rem; }

  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__cell { min-height: 6.5rem; padding: 1rem; }
  .area__name { font-size: .8125rem; }
  .area__lake { font-size: .8125rem; }
  /* Too tight for every mark at phone width: the highway numbers step out. Every town stays. */
  .area__hwy { display: none; }
}

/* Service pages on phones: shorter. The text folds after its first paragraph,
   the uses list steps out (the sections below cover the same ground), the
   other services shrink to a row each, and the bands sit closer. */
@media (max-width: 680px) {
  .is-service { --section-py: 2.5rem; }
  .more.is-folded > :not(:first-child) { display: none; }
  .more.is-folded + .more__toggle { display: inline-flex; margin-top: -.25rem; }
  .is-service .sect-intro__grid > .sect-uses { display: none; }
  .is-service .entry-content .slides__slide { padding: 1.35rem 1.25rem 1.5rem; }
  .is-service .entry-content .slides__title { margin-bottom: .85rem; font-size: 1.5rem; }
  .related .pcards--service { gap: .75rem; }
  .related .pcards--service .pcard__ico, .related .pcards--service .pcard__text, .related .pcards--service .pcard__go span { display: none; }
  .related .pcards--service .pcard__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; }
  .related .pcards--service .pcard__title { margin: 0; font-size: 1.0625rem; }
  .related .pcards--service .pcard__go { flex: none; align-self: center; margin: 0; padding: 0; border: 0; }
  .related .pcards--service .pcard__go svg { width: 15px; height: 15px; }
}

/* Service and property type pages: two tint bands never meet. After a tint
   band the related pages turn white and the questions take the tint instead. */
.is-service .band--tint + .related, .is-type .band--tint + .related { background: var(--ground); }
.is-service .band--tint + .related + #faq, .is-type .band--tint + .related + #faq { background: var(--tint); }
.is-service .band--tint + .related + #faq + .request-band, .is-type .band--tint + .related + #faq + .request-band { padding-top: var(--section-py); }

/* The call and quote bar: phones only (main.js shows and hides it). */
.qbar { display: none; }
@media (max-width: 680px) {
  .is-service .sect-intro--uses { display: none; }
  /* The document checklist as a ruled list: the bar below carries the actions. */
  .is-service .prep { padding: 1.35rem 1.15rem 1.25rem; }
  .is-service .prep__head { margin-bottom: 1rem; padding-bottom: 0; border-bottom: 0; }
  .is-service .prep__head .sect-act { display: none; }
  .is-service .entry-content .prep__items { gap: 0; border-top: 1px solid var(--rule); }
  .is-service .entry-content .prep__item { gap: .75rem; padding: .7rem 0; background: none; border: 0; border-bottom: 1px solid var(--rule); }
  .is-service .prep__icon { width: 2rem; height: 2rem; }
  .is-service .prep__icon svg { width: 16px; height: 16px; }
  .is-service .prep__num { display: none; }
  .qbar:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 38;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: .5rem;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: var(--navy); border-top: 1px solid var(--rule);
    transform: translateY(100%); transition: transform .4s var(--ease);
  }
  .qbar.is-shown { transform: none; }
  .menu-open .qbar { visibility: hidden; }
  .qbar .btn { min-height: 48px; padding: .6rem .75rem; font-size: .9375rem; }
  .has-qbar .colophon { padding-bottom: calc(2.5rem + 4.25rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 400px) {
  .brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reel.is-ready .reel__slide.is-current img { transform: none; }
  .field textarea.is-noted, .gform_wrapper textarea.is-noted { animation-duration: 1.8s !important; }
  .svc__card:hover { transform: none; }
}

@media print {
  .masthead, .btn, .skip, .hero__media, .nav-toggle, .tst__nav, .reel__nav { display: none; }
  body { font-size: 11pt; }
  .hero, .phead, .band--deep, .request { background: none !important; color: #1A2233; }
  .hero, .phead, .band--deep, .request {
    --ink: #1A2233; --ink-2: #3B4453; --ink-3: #5F6775; --head: #0D2B5A; --accent: #4A6A8F; --rule: #E3E7EE;
  }
  .hero::after { display: none; }
  .hero__logo { filter: brightness(0); }
  .hero__title, .hero__eyebrow, .hero__deck, .hero__stat, .hero__stat-label, .phead__title, .phead__deck { color: #1A2233; }
}
