/* Shared V1 header, disclosure menus and social links. */
:root { --header-height: 96px; }
html { scroll-padding-top: var(--header-height); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 28;
  gap: 14px;
  background: var(--bg);
}
.site-header .brand, .footer-brand { display: inline-flex; flex: 0 1 auto; min-width: 0; }
.brand img { display: block; width: clamp(124px, 11vw, 164px); height: auto; }
.brand .brand-light, [data-theme="light"] .brand .brand-dark { display: none; }
[data-theme="light"] .brand .brand-light { display: block; }
.footer-brand { margin-bottom: 10px; }
.reader nav { top: calc(var(--header-height) + 16px); }
@media (max-width: 760px), (max-width: 1100px) and (pointer: coarse) {
  :root { --header-height: 59px; }
}
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html { cursor: url("/assets/segment-six/crystal-cursor.svg") 3 2, auto; }
  :is(a[href], button:not([disabled]), summary, select, label[for], [role="button"], input:is([type="range"],[type="checkbox"],[type="radio"],[type="button"],[type="submit"])) {
    cursor: url("/assets/segment-six/crystal-cursor-active.svg") 5 28, pointer;
  }
  html body a[href] { cursor: url("/assets/segment-six/crystal-cursor-active.svg") 5 28, pointer; }
  :is(a[href], button, summary, [role="button"]) :is(svg,img,span,path) { cursor: inherit; }
  :is(textarea, input:not([type]), input:is([type="text"],[type="email"],[type="search"],[type="tel"],[type="url"],[type="password"],[type="number"]), [contenteditable="true"]) {
    cursor: text;
  }
  .site-header .nav-pop summary, .faq-list summary, .reviewstream button {
    cursor: url("/assets/segment-six/crystal-cursor-active.svg") 5 28, pointer;
  }
}
@media (min-width: 761px) and (pointer: fine), (min-width: 1101px) {
  .site-header { height: auto; min-height: 74px; padding-block: 12px; }
}
.site-header > nav { align-items: center; gap: clamp(12px, 1.7vw, 27px); }
.site-header .mobile-contact { display: none; }
.site-header .nav-pop { position: static; }
.site-header .nav-pop summary {
  display: flex; align-items: center; min-height: 44px; gap: 7px;
  cursor: pointer; list-style: none; font-size: 14px;
}
.site-header summary::-webkit-details-marker { display: none; }
.site-header summary::after {
  content: ''; width: 6px; height: 6px; border-right: 1px solid;
  border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg);
}
.site-header summary:focus-visible, .social-profiles a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
.site-header .nav-pop:is([open], .current) > summary { color: var(--accent); }
.site-header .nav-pop[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.site-header .nav-panel {
  position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%);
  width: min(920px, calc(100vw - 48px)); background: #191713;
  border: 1px solid #4c4135;
  border-radius: 10px; padding: 22px;
  max-height: calc(100dvh - var(--header-height) - 12px);
  overflow-y: auto;
  box-shadow: 0 20px 42px #0008;
}
.site-header .nav-menu-index {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid #494038; padding: 0 6px 9px; margin-bottom: 10px;
}
.site-header .nav-menu-index strong { font-size: 27px; letter-spacing: -.04em; }
.site-header .menu-overview { color: var(--accent); display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.site-header .nav-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 15px; }
.site-header .nav-menu-grid a, .site-header .nav-panel-small a {
  display: flex; align-items: center; padding: 8px 12px; min-height: 44px;
  border-radius: 4px; font-size: 16px; line-height: 1.35;
}
.site-header :is(.nav-menu-grid,.nav-panel-small) a:hover { background: #30251c; }
.site-header .nav-menu-grid a {
  gap: 12px; min-height: 72px; padding: 7px;
}
.nav-art {
  display: grid; place-items: center; flex: 0 0 58px; height: 58px;
  border: 1px solid #4c4135; border-radius: 5px; background: #27231d;
}
.nav-art img { width: 100%; height: 100%; object-fit: contain; }
.nav-item-text { display: grid; gap: 3px; min-width: 0; }
.nav-item-text strong { color: var(--fg); font-size: 16px; }
.nav-item-text > span { color: #c0b5a6; font-size: 13px; }
.site-header .nav-pop:has(.nav-panel-small) { position: relative; }
.site-header .nav-panel-small { left: auto; right: 0; transform: none; width: 192px; padding: 9px; top: 100%; }
.site-header .nav-panel-small .social-profiles { margin: 6px 3px 3px; padding-top: 9px; border-top: 1px solid #494038; }
.site-header .nav-panel-small .social-profiles a { padding: 0; display: inline-grid; }
.site-header .direct-contact {
  display: grid; justify-items: center; gap: 2px; line-height: 1.2;
}
.site-header :is(.direct-phone, .mobile-contact) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #a57151;
  border-radius: 5px;
  background: linear-gradient(110deg, #653b2a, #855137 52%, #704430);
  color: #fff3e5;
  font-size: 15px;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px #ffdab430, 0 3px 9px #0005;
}
.site-header .direct-phone { display: inline-flex; }
.site-header :is(.direct-phone, .mobile-contact):hover {
  border-color: #d49a70;
  background: linear-gradient(110deg, #70432e, #92583a 52%, #7b4a33);
  color: #fff3e5;
}
.site-header :is(.direct-phone, .mobile-contact):focus-visible {
  outline: 2px solid #ffd0a4;
  outline-offset: 3px;
}
.site-header .direct-phone svg {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: linear-gradient(150deg, #24120854, #ffe5c32b);
  box-shadow: inset 0 1px 2px #30130780, 0 1px #ffe5c325;
}
.site-header .direct-email { color: #eee2d3; font-size: 13px; padding: 4px 2px; }
.site-header .direct-email:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { display: flex; align-items: center; flex-wrap: wrap; column-gap: 16px; margin-top: 10px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 42px; color: #eee2d3; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.social-profiles { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.social-profiles a {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #655647; border-radius: 6px; color: var(--fg);
}
.social-profiles a:hover { color: var(--accent); background: #2c2119; }
.social-profiles svg { width: 20px; height: 20px; }
main > .trail { border: 0; padding-block: 0; margin: 0 0 6px; }
main.wrap > .trail { padding-inline: 0; }
main:not(.wrap) > .trail { padding-top: 18px; }
main > .trail a { min-height: 36px; }
main:has(> .trail) > .lead:first-of-type { padding-top: 21px; }
main:has(> .trail) > .lead:first-of-type > .folio { display: none; }
@media (max-width: 900px) {
  .site-header.wrap { padding-inline: 21px; }
  .site-header > nav { gap: 10px; }
  .site-header .direct-contact { padding-inline: 8px; }
}
@media (max-width: 760px), (max-width: 1100px) and (pointer: coarse) {
  .site-header .direct-contact { display: none; }
  .site-header .mobile-contact { display: inline-flex; }
  main > .trail a { min-height: 44px; }
  main:not(.wrap) > .trail { padding-top: 8px; }
}
@media (max-width: 760px) {
  .intake .social-profiles { margin-bottom: 18px; }
}


.site-cursor {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
}
.site-cursor img {
  display: block;
  transform-origin: 3px 2px;
  transition: transform 170ms cubic-bezier(.35,0,.2,1);
}
.site-cursor.is-link img { transform: rotate(-80deg); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html.has-site-cursor,
  html.has-site-cursor * { cursor: none !important; }
  .has-site-cursor .site-cursor { display: block; }
}

.site-header .nav-service-pop > summary::after {
  content: "+";
  width: auto;
  height: auto;
  border: 0;
  font-size: 17px;
  line-height: 1;
  transform: none;
}
.site-header .nav-service-pop[open] > summary::after { transform: rotate(45deg); }
.site-header .nav-service-panel {
  width: min(calc(100vw - 32px), calc(var(--site-frame) + 44px));
  display: grid;
  grid-template-columns: minmax(175px, .85fr) minmax(0, 3fr);
  align-items: start;
  gap: 16px clamp(18px, 3vw, 48px);
  padding: clamp(20px, 3vw, 44px);
  border-radius: 0 0 8px 8px;
}
.nav-service-intro { padding-block: 9px; }
.nav-service-intro h2 {
  margin: 0 0 12px;
  max-width: 10ch;
  font-size: clamp(28px, 3.15vw, 51px);
  font-weight: 480;
  letter-spacing: -.055em;
}
.nav-service-intro .menu-overview { border-bottom: 1px solid var(--line); }
.nav-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.nav-service-grid > section {
  padding: clamp(13px, 1.8vw, 26px);
  min-width: 0;
}
.nav-service-grid > section:nth-child(even) { border-inline-start: 1px solid var(--line); }
.nav-service-grid > section:nth-child(n+3) { border-block-start: 1px solid var(--line); }
.nav-service-grid h3 { margin: 0; font-size: clamp(17px, 1.5vw, 24px); font-weight: 580; }
.nav-service-grid p { margin: 4px 0 8px; font-size: 14px; line-height: 1.4; }
.nav-service-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  font-size: 14px;
  border-block-end: 1px solid var(--line);
}
.nav-service-grid a span { color: var(--accent); }
.nav-service-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: end;
  border-block-start: 1px solid var(--line);
}

@media (max-width: 760px), (max-width: 1100px) and (pointer: coarse) {
  body:has(.mobile-more[open]) { overflow: hidden; }
  .mobile-more {
    --menu-gutter: clamp(16px, 5vw, 24px);
    margin: auto auto 0;
    max-inline-size: 100%;
    max-block-size: min(620px, calc(100dvh - 20px));
    padding: 0;
    border-radius: 20px 20px 0 0;
  }
  .mobile-more[open] { display: flex; flex-direction: column; }
  .mobile-more-heading {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--menu-gutter);
    border-block-end: 1px solid var(--line);
  }
  .mobile-more-heading h2 { margin: 0; font-size: 28px; line-height: 1.1; }
  .mobile-more-heading form { margin: 0; }
  .mobile-more-heading button {
    display: grid;
    place-items: center;
    float: none;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 20px;
  }
  .mobile-more-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--menu-gutter) calc(18px + env(safe-area-inset-bottom, 0px));
    scroll-padding-block: 8px 16px;
  }
  .mobile-more-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    font-size: 16px;
  }
  .mobile-more-links a[aria-current] { color: var(--accent); }
  .mobile-more a.mobile-more-cta {
    display: flex;
    min-height: 44px;
    justify-content: space-between;
    margin: 14px 0;
    padding: 8px 14px;
    font-size: 15px;
  }
  .mobile-more-offices { display: grid; gap: 8px; }
  .mobile-more-offices .footer-office {
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .mobile-more-offices h3 { margin: 0; font-size: 14px; font-weight: 650; }
  .mobile-more-offices address { font-style: normal; }
  .mobile-more-offices address a {
    display: flex;
    align-items: flex-start;
    min-height: 44px;
    padding: 3px 0 0;
    border: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

/* Breadcrumb links are underlined so they read as links without relying on colour (WCAG 1.4.1). */
main > .trail a { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }

/* Policy pages: space between paragraphs and lists inside a section. */
main.interior .band :is(p, ul) + :is(p, ul) { margin-top: .8em; }
