/* Diablo Pacific v0.2 — design tokens, shared shell, homepage, and fallback pages. */
:root {
  --dp-green: #294d38;
  --dp-dark: #172f25;
  --dp-gold: #8b6d2e;
  --dp-cream: #f8f7f2;
  --dp-white: #fff;
  --dp-text: #25352c;
  --dp-muted: #5e6960;
  --dp-border: #d9ddd3;
  --dp-soft: #efeee5;
  --dp-width: 1280px;
  --dp-radius: 10px;
  --dp-space: clamp(4rem, 7vw, 7.5rem);
  --header-offset: 150px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}
body {
  margin: 0;
  background: var(--dp-cream);
  color: var(--dp-text);
  font:
    400 1rem/1.7 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
iframe,
video {
  max-width: 100%;
}
a {
  color: var(--dp-green);
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #b3791d;
  outline-offset: 5px;
}
main:focus,
section[tabindex="-1"]:focus {
  outline: none;
}
h1,
h2,
h3,
h4 {
  color: var(--dp-dark);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  overflow-wrap: break-word;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.75rem);
}
h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.6rem);
}
h3 {
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}
h2 em {
  color: #677854;
  font-weight: 400;
}
p {
  margin: 0 0 1.25rem;
}
.container {
  width: min(var(--dp-width), calc(100% - 5rem));
  margin-inline: auto;
}
.section {
  padding-block: var(--dp-space);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.dp-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  vertical-align: middle;
}
.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 999999;
  padding: 1rem;
  color: var(--dp-dark);
  background: white;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8c9c64;
  flex-shrink: 0;
}

/* Sticky header and progressively enhanced navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dp-cream);
  border-bottom: 1px solid var(--dp-border);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 25px #172f250d;
}
.admin-bar .site-header {
  top: 32px;
}
.utility-bar {
  background: var(--dp-dark);
  color: #e6ebdf;
  font-size: 1rem;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.4rem;
  gap: 1rem;
}
.utility-bar a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}
.utility-bar .dp-icon {
  width: 13px;
  height: 13px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 92px;
}
.site-branding {
  flex-shrink: 0;
}
.brand-name {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--dp-dark);
  text-decoration: none;
}
.brand-name span {
  display: block;
  font:
    600 0.51rem/1 system-ui,
    sans-serif;
  letter-spacing: 0.22em;
  margin-top: 0.75rem;
}
.custom-logo {
  width: auto;
  max-width: 200px;
  max-height: 77px;
}

.utility-links{
  display: flex;
    gap: 30px;
}
.primary-navigation {
  margin-left: auto;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-navigation > ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.primary-navigation li {
  position: relative;
}
.primary-navigation a {
  display: inline-block;
  color: var(--dp-text);
  font-size: 1.1rem;
  padding: 0.8rem 0;
  text-decoration: none;
  font-weight: 600;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  text-decoration: underline;
  text-decoration-color: var(--dp-gold);
}
.primary-navigation ul ul {
  min-width: 245px;
  padding: 0.65rem;
  border: 1px solid var(--dp-border);
  background: white;
  border-radius: 6px;
}
.nav-ready .primary-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 20px 40px #172f2515;
  animation: submenu-in 0.18s ease-out;
}
.primary-navigation ul ul a {
  display: block;
  padding: 0.7rem;
}
.submenu-toggle {
  min-width: 20px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--dp-green);
  padding: 0rem;
}
.submenu-toggle svg {
  transition: transform 0.2s;
}
.submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.menu-toggle,
.primary-navigation .mobile-phone {
  display: none;
}
.header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.button,
.wp-element-button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  background: var(--dp-green);
  color: white;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 550;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
  background: var(--dp-dark);
  text-decoration: none;
}
.button .dp-icon,
.text-link .dp-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.button:hover .dp-icon,
.text-link:hover .dp-icon {
  transform: translate(2px, -2px);
}
.button-small {
  min-height: 43px;
  padding: 0.6rem 0.9rem;
  font-size: 0.76rem;
}
.button-outline {
  color: var(--dp-green);
  background: transparent;
  border-color: #b9c3b5;
}
.button-outline:hover {
  color: white;
}
.button-gold {
  background: var(--dp-gold);
}
.button-light {
  background: transparent;
  border-color: #fff8;
  color: white;
}
.button-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-block: 0.55rem;
}

/* Editorial split hero. */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(760px, 85vh);
}
.hero-copy {
  align-self: center;
  padding: clamp(3.5rem, 6.5vw, 6.5rem) clamp(2rem, 4vw, 5rem);
  padding-left: max(2.5rem, calc((100vw - var(--dp-width)) / 2));
}
.home-hero h1 {
  max-width: 11.5ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 4.6vw, 4.9rem);
  line-height: 1.055;
}
.hero-description {
  max-width: 540px;
  color: var(--dp-muted);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-copy .button-group {
  gap: 1.15rem 1.4rem;
}
.hero-copy .text-link {
  font-size: 1rem;
}
.hero-footnote {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-footnote p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.hero-footnote p span {
  font-weight: 400;
  color: var(--dp-muted);
}
.small-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #c7d0bf;
  border-radius: 50%;
}
.small-seal .dp-icon {
  width: 18px;
}
.hero-visual {
  min-width: 0;
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #6d785a;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: calc(100% + 50px);
  max-width: none;
  object-fit: cover;
  object-position: 59% 50%;
  transform: translateY(calc(-25px + var(--hero-shift, 0px)));
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 65%, #1324199c);
  pointer-events: none;
}
.image-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 1;
  color: white;
  font-size: 0.72rem;
  width: calc(100% - 9rem);
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.caption-rule {
  width: 25px;
  height: 1px;
  flex-shrink: 0;
  background: white;
}
.hero-scroll {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #fff9;
  border-radius: 50%;
  color: white;
  transition: background 0.2s;
}
.hero-scroll .dp-icon {
  transform: rotate(90deg);
}
.hero-scroll:hover {
  background: #ffffff25;
}
.hero-enter {
  animation: hero-enter 0.9s both cubic-bezier(0.2, 0.65, 0.3, 1);
}
.hero-enter:nth-child(2) {
  animation-delay: 0.08s;
}
.hero-enter:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-enter:nth-child(4) {
  animation-delay: 0.24s;
}
.hero-enter:nth-child(5) {
  animation-delay: 0.32s;
}
.service-ribbon {
  background: var(--dp-dark);
  color: #e7eadf;
}
.service-ribbon > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.service-ribbon span {
  font-size: 1rem;
  letter-spacing: 0.07em;
}
.service-ribbon span::before {
  content: "✧";
  color: #bcc795;
  margin-right: 0.8rem;
}

/* Service overview. */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 360px;
  font-size: 0.92rem;
  color: var(--dp-muted);
  margin-bottom: 0.25rem;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #f0f0e8;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  border-radius: 6px;
  min-width: 0;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.service-card:nth-child(2) {
  background: #ebece3;
}
.service-card:nth-child(3) {
  background: #e8eee7;
}
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.service-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #bfccb9;
  border-radius: 50%;
}
.service-symbol .dp-icon {
  width: 28px;
  height: 28px;
}
.section-number {
  font-size: 0.7rem;
  color: var(--dp-muted);
}
.service-card h3 {
  font-size: 1.85rem;
  margin-bottom: 0.9rem;
}
.service-card h3 a {
  text-decoration: none;
  color: inherit;
}
.service-card p {
  font-size: 1rem;
  color: var(--dp-muted);
}
.service-card .service-intro {
  color: var(--dp-dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.service-card .service-detail {
  font-size: 1rem;
  padding-block: 0.6rem 1.3rem;
  margin-top: auto;
  margin-bottom: 0;
}
.service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #bdc7b9;
  padding-top: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.circle-arrow {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #b8c2b2;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}
.circle-arrow .dp-icon {
  width: 17px;
  height: 17px;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: #bcc8b4;
  }
  .service-card:hover .circle-arrow {
    color: white;
    background: var(--dp-green);
  }
}

/* Accessible details list and schematic regional guide. */
.regions-section {
  background: #eeefe7;
}
.regions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}
.regions-copy > p:not(.eyebrow) {
  color: var(--dp-muted);
  font-size: 0.93rem;
}
.region-list {
  margin-top: 2rem;
  border-top: 1px solid #cbd3c2;
}
.region-item {
  border-bottom: 1px solid #cbd3c2;
}
.region-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  font-weight: 550;
  font-size: 1.2rem;
}
.region-item summary::-webkit-details-marker {
  display: none;
}
.region-plus {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.region-plus::before,
.region-plus::after {
  content: "";
  width: 11px;
  height: 1px;
  background: currentColor;
  position: absolute;
  top: 12px;
  left: 6px;
  transition: transform 0.2s;
}
.region-plus::after {
  transform: rotate(90deg);
}
.region-item[open] .region-plus::after {
  transform: rotate(0);
}
.region-description {
  padding-bottom: 0.9rem;
  max-width: 430px;
}
.region-description p {
  font-size: 1rem;
  color: var(--dp-muted);
  margin-bottom: 0.75rem;
}
.region-description .region-cities {
  font-size: 0.77rem;
  color: var(--dp-green);
}
.region-scope {
  font-size: 0.72rem !important;
  margin: 1.4rem 0 0;
}
.region-map-card {
  background: #e2e8d8;
  border: 1px solid #d1dac7;
  border-radius: 8px;
  padding: 1.65rem;
}
.map-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.region-map {
  position: relative;
  max-width: 440px;
  aspect-ratio: 460 / 580;
  margin: 0.5rem auto;
}
.california-map {
  width: 100%;
  height: 100%;
  color: #537047;
}
.state-outline {
  fill: #ccd8b9;
  stroke: #849b6f;
  stroke-width: 1.2;
}
.map-ridge {
  fill: none;
  stroke: #a2b58e;
  stroke-width: 1;
  stroke-dasharray: 4 5;
}
.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem;
  min-height: 36px;
  border: 1px solid #c3cfb6;
  border-radius: 40px;
  background: #f8f9ef;
  color: #294d38;
  font-size: clamp(0.59rem, 0.8vw, 0.72rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 15px #23331c0a;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.pin-dot {
  width: 8px;
  height: 8px;
  background: #79985a;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-pin.is-active,
.map-pin:hover {
  background: var(--dp-green);
  color: white;
  border-color: var(--dp-green);
}
.map-pin.is-active .pin-dot {
  background: #d2dcb0;
  box-shadow: 0 0 0 4px #ffffff15;
}
.map-pin-north-state {
  left: 32%;
  top: 19%;
}
.map-pin-sierra-foothills {
  left: 53%;
  top: 43%;
}
.map-pin-sacramento {
  left: 34%;
  top: 51%;
}
.map-pin-bay-area {
  left: 13%;
  top: 63%;
}
.map-pin-central-valley {
  left: 47%;
  top: 72%;
}
.map-note {
  margin: 0;
  font-size: 0.7rem;
  text-align: center;
}
.map-note span {
  display: block;
  color: #55694d;
  font-size: 0.6rem;
  margin-top: 0.35rem;
}

/* Trust and optional real testimonials. */
.trust-section {
  background: var(--dp-dark);
  color: #d7dfd0;
}
.trust-section h2,
.trust-section h3 {
  color: #f6f6ea;
}
.trust-section h2 em {
  color: #bcc79d;
}
.trust-section .text-link {
  color: #e1e8ce;
  flex-shrink: 0;
}
.trust-section .eyebrow {
  color: #c2cea9;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.trust-grid article {
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff35;
}
.trust-index {
  color: #b9c79b;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 1.5rem;
}
.trust-grid h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
  max-width: 200px;
}
.trust-grid p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c1cfbf;
}
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
}
.testimonial {
  margin: 0 0 2rem;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
  color: #8c9c71;
}
.testimonial blockquote {
  margin: 0 0 2rem;
  font:
    400 clamp(1.5rem, 2.4vw, 2.4rem)/1.4 Georgia,
    serif;
  letter-spacing: -0.02em;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.83rem;
}
.testimonial figcaption span {
  color: var(--dp-muted);
  font-size: 0.74rem;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dp-border);
  padding-top: 1.5rem;
}
.testimonial-controls p {
  font-size: 0.75rem;
  margin: 0;
}
.testimonial-controls > div {
  display: flex;
  gap: 0.5rem;
}
.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cbd3c1;
  border-radius: 50%;
  background: transparent;
  color: var(--dp-green);
}
.testimonial-controls button:hover {
  background: #e5ebda;
}
.arrow-back {
  transform: rotate(180deg);
}

/* Contact layout and working form. */
.home-contact {
  background: #f0efe7;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.contact-copy {
  padding-top: 1.5rem;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 380px;
  color: var(--dp-muted);
  font-size: 1.2rem;
}
.contact-methods {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.contact-methods a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.2rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-methods a span {
  min-width: 0;
}
.contact-hours {
  font-size: 0.95rem !important;
  padding-left: 2.25rem;
  margin-top: 1rem;
}
.contact-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px solid #d3d7cc;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
}
.contact-form-card {
  background: white;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: 8px;
  border: 1px solid #e4e5db;
  box-shadow: 0 12px 35px #23331c05;
}
.contact-form-card h3 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}
.form-intro {
  color: var(--dp-muted);
  font-size: 0.9rem;
  margin-top: -0.6rem;
  margin-bottom: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.form-field {
  min-width: 0;
}
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 550;
  margin-bottom: 0.4rem;
}
.form-field-full {
  grid-column: 1 / -1;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(
    [type="hidden"]
  ),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--dp-text);
  background: #fbfbf8;
  border: 1px solid #bfc8b8;
  border-radius: 4px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--dp-green);
}
.consent-label {
  display: flex;
  align-items: start;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--dp-muted);
}
.consent-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--dp-green);
  margin: 2px 0 0;
}
.form-submit {
  width: 100%;
  justify-content: space-between;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-notice {
  padding: 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.form-notice p:last-child,
.form-notice ul {
  margin-bottom: 0;
}
.form-success {
  background: #eaf3e4;
  border-left: 3px solid var(--dp-green);
}
.form-error {
  background: #fff1e8;
  border-left: 3px solid #a8452f;
}

/* Footer. */
.site-footer {
  background: #142a21;
  color: #ced7c8;
  padding-block: 3.5rem 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid #ffffff26;
  padding-bottom: 2.8rem;
  margin-bottom: 3.5rem;
}
.footer-top p {
  font:
    400 clamp(1.6rem, 2.6vw, 2.6rem)/1.2 Georgia,
    serif;
  color: #eff1e5;
  letter-spacing: -0.025em;
  margin: 0;
}
.footer-conversation {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #e2e8ce;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.footer-conversation .dp-icon {
  width: 30px;
  height: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 1fr 0.85fr;
  gap: 2.5rem;
}
.site-footer h2 {
  color: #f2f4e9;
  font:
    500 1.2rem/1.4 system-ui,
    sans-serif;
  letter-spacing: 0;
  margin-bottom: 1.4rem;
}
.site-footer a {
  color: #d1dccc;
  overflow-wrap: anywhere;
}
.site-footer a:hover {
  color: white;
}
.site-footer .brand-name {
  color: #f2f4e9;
  font-size: 1.85rem;
  margin-bottom: 1.6rem;
}
.site-footer p,
.site-footer address {
  font-size: 1rem;
  line-height: 1.8;
}
.site-footer address {
  font-style: normal;
  margin-block: 1rem;
}
.footer-list,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list {
  font-size: 1rem;
}
.footer-list li {
  margin-bottom: 0.65rem;
}
.footer-list a {
  text-decoration: none;
}
.footer-list a:hover {
  text-decoration: underline;
}
.housing-logo {
  max-width: 65px;
  max-height: 75px;
  object-fit: contain;
  padding: 5px;
  background: white;
  border-radius: 2px;
}
.housing-text {
  color: #b9c5b3;
  font-size: 0.64rem !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff26;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  font-size: 0.8rem;
}
.footer-menu a {
  text-decoration: none;
}
.footer-menu a:hover {
  text-decoration: underline;
}

/* Existing boilerplate interior templates remain supported. */
.page-heading {
  padding-top: var(--dp-space);
}
.page-heading h1 {
  max-width: 1000px;
}
.page-heading-compact {
  padding-top: 0;
  padding-bottom: 2rem;
}
.page-intro {
  max-width: 760px;
  font-size: 1.15rem;
  color: var(--dp-muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-block: 2rem;
}
.card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}
.card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  background: white;
  min-width: 0;
}
.card p {
  color: var(--dp-muted);
}
.card h2 {
  font-size: 1.9rem;
}
.portal-card {
  margin-bottom: 2rem;
}
.card-grid .portal-card {
  margin-bottom: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 3rem;
  align-items: start;
}
.contact-details {
  overflow-wrap: anywhere;
}
address {
  font-style: normal;
  margin-block: 1.5rem;
}
.featured-media {
  margin-top: 2rem;
}
.featured-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--dp-radius);
}
.article-narrow {
  max-width: 820px;
}
.entry-content {
  overflow-wrap: anywhere;
}
.entry-content > * {
  margin-bottom: 1.5rem;
}
.entry-content h2:not(:first-child),
.entry-content h3:not(:first-child) {
  margin-top: 2.5rem;
}
.entry-content .alignwide,
.entry-content .alignfull {
  max-width: 100%;
}
.entry-content .alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.entry-content .alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content .aligncenter {
  margin-inline: auto;
}
.entry-content blockquote {
  border-left: 3px solid var(--dp-gold);
  padding-left: 1.5rem;
  margin-inline: 0;
}
.entry-content pre {
  overflow-x: auto;
  padding: 1rem;
  background: var(--dp-soft);
}
.wp-block-table {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
td,
th {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--dp-border);
}
.entry-content summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
}
.entry-content details {
  border-bottom: 1px solid var(--dp-border);
}
.callout {
  background: var(--dp-soft);
  border-radius: var(--dp-radius);
  padding: 2rem;
  margin-block: 2rem;
}
.editor-note {
  background: #fff8e6;
  color: #5f4b19;
  border-left: 3px solid var(--dp-gold);
  padding: 1rem;
  margin-block: 1.5rem;
  font-size: 0.9rem;
}
.search-form {
  display: flex;
  gap: 0.75rem;
  margin-block: 1.5rem;
}
.search-form label {
  flex: 1;
}
.post-card img {
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.post-meta {
  color: var(--dp-muted);
}
.pagination,
.post-navigation {
  margin-block: 2rem;
}
.page-numbers {
  display: inline-block;
  padding: 0.5rem 0.85rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
}
.comments-area {
  margin-top: 3rem;
}

/* Animation: short entrance movements, no autoplay or forced scrolling. */
[data-reveal] {
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}
.service-card[data-reveal]:nth-child(2),
.trust-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}
.service-card[data-reveal]:nth-child(3),
.trust-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}
.trust-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.18s;
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes submenu-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive breakpoints. */
@media (min-width: 1600px) {
  .hero-copy {
    padding-right: 5rem;
  }
  .home-hero {
    min-height: 760px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 1rem;
  }
  .primary-navigation > ul {
    gap: 0.8rem;
  }
  .brand-name {
    font-size: 1.5rem;
  }
  .hero-copy {
    padding-right: 2rem;
  }
  .hero-copy .button-group {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 1100px) {
  .utility-bar {
    display: none;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: 85px;
    padding-block: 1rem;
  }
  .site-branding {
    margin-right: auto;
  }
  .nav-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 44px;
    border: 1px solid #c8d1c2;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    background: transparent;
    color: var(--dp-green);
    font-size: 0.8rem;
  }
  .menu-lines {
    width: 17px;
    height: 14px;
    position: relative;
  }
  .menu-lines::before,
  .menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-lines::before {
    top: 3px;
  }
  .menu-lines::after {
    bottom: 3px;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines::before {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines::after {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .header-actions {
    order: 2;
  }
  .primary-navigation {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }
  .nav-ready .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dp-cream);
    padding: 1rem 2.5rem;
    border-bottom: 1px solid #cbd2c5;
    max-height: calc(100dvh - var(--header-offset));
    overflow-y: auto;
    box-shadow: 0 15px 25px #172f2510;
  }
  .primary-navigation > ul {
    display: block;
  }
  .primary-navigation a {
    padding: 0.8rem 0;
    font-size: 1rem;
  }
  .primary-navigation .mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    border-top: 1px solid #cbd2c5;
    font-size: 0.9rem;
  }
  .nav-ready .primary-navigation ul ul {
    position: static;
    box-shadow: none;
    margin-bottom: 0.75rem;
  }
  .submenu-toggle {
    min-width: 44px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .service-card {
    padding: 1.5rem;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
}
@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 4.5rem 2.5rem;
  }
  .home-hero h1 {
    max-width: 17ch;
    font-size: clamp(3rem, 7.5vw, 4.6rem);
  }
  .hero-description {
    max-width: 520px;
  }
  .hero-copy .button-group {
    flex-direction: row;
    align-items: center;
  }
  .hero-footnote {
    margin-top: 2rem;
  }
  .hero-visual {
    min-height: 400px;
  }
  .hero-image {
    object-position: 50% 60%;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: 520px;
    margin-top: 1.5rem;
  }
  .section-heading > .text-link {
    margin-top: 1.5rem;
  }
  .regions-layout,
  .contact-layout,
  .testimonial-layout {
    gap: 3rem;
  }
  .regions-layout {
    grid-template-columns: 1fr;
  }
  .region-map-card {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
  }
  .map-pin {
    font-size: 0.72rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-copy > p:not(.eyebrow) {
    max-width: 570px;
  }
  .contact-note {
    margin-top: 1.5rem;
  }
  .testimonial-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 2.5rem);
  }
  .header-inner {
    column-gap: 0.75rem;
  }
  .header-actions {
    width: 100%;
  }
  .header-actions .button {
    flex: 1;
    min-height: 40px;
  }
  .nav-ready .primary-navigation {
    padding-inline: 1.25rem;
  }
  .hero-copy {
    padding: 3.5rem 1.25rem;
  }
  .home-hero h1 {
    font-size: clamp(2.7rem, 9vw, 3.6rem);
    max-width: 14ch;
  }
  .hero-copy .eyebrow {
    font-size: 0.62rem;
  }
  .hero-visual {
    min-height: 350px;
  }
  .image-caption {
    left: 1.5rem;
    bottom: 1.6rem;
    font-size: 0.64rem;
    width: calc(100% - 7rem);
  }
  .hero-scroll {
    right: 1.25rem;
    bottom: 1.3rem;
    width: 42px;
    height: 42px;
  }
  .service-ribbon > div {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    padding-block: 1rem;
  }
  .service-ribbon span {
    font-size: 0.6rem;
  }
  .service-ribbon span::before {
    margin-right: 0.45rem;
  }
  .service-cards,
  .card-grid,
  .card-grid-two,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 1.75rem;
  }
  .service-card h3 {
    font-size: 1.65rem;
  }
  .service-card-top {
    margin-bottom: 1.75rem;
  }
  .service-card p {
    max-width: 440px;
  }
  .service-detail {
    padding-bottom: 1.5rem !important;
  }
  .section-heading {
    margin-bottom: 2rem;
  }
  .trust-grid {
    gap: 1.5rem;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
  .search-form {
    flex-wrap: wrap;
  }
  .contact-form-card {
    padding: 1.5rem;
  }
  .form-grid {
    gap: 1rem;
  }
  .region-map-card {
    padding: 1.25rem;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
@media (max-width: 420px) {
  .hero-copy .button-group {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-copy .text-link {
    align-self: start;
  }
  .hero-footnote p {
    font-size: 0.66rem;
  }
  .form-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid h3 {
    max-width: none;
  }
  .trust-grid {
    gap: 1rem;
  }
  .trust-index {
    margin-bottom: 1rem;
  }
  .map-pin {
    font-size: 0.59rem;
    gap: 0.35rem;
    padding-inline: 0.45rem;
  }
  .map-pin-sierra-foothills {
    left: 49%;
  }
  .contact-methods a {
    font-size: 0.86rem;
  }
  .brand-name {
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  .hero-image {
    transform: translateY(-25px);
  }
}
@media print {
  .site-header {
    position: static;
  }
  .utility-bar,
  .header-actions,
  .menu-toggle,
  .primary-navigation,
  .hero-scroll,
  .testimonial-controls {
    display: none !important;
  }
  .home-hero,
  .contact-layout,
  .regions-layout {
    display: block;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   CORRECTED REGIONAL MAP
======================================== */

/*
The container and SVG must have identical
proportions so their coordinates stay aligned.
*/

.region-map.region-map-corrected {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 460 / 600;
    margin: 0.75rem auto;
    isolation: isolate;
}

/* SVG fills the coordinate area exactly */

.region-map.region-map-corrected .california-map {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* State outline */

.region-map.region-map-corrected .state-outline {
    fill: #ccd8b9;
    stroke: #849b6f;
    stroke-width: 1.2;
}

/* Decorative ridge lines */

.region-map.region-map-corrected .map-ridge {
    fill: none;
    stroke: #a2b58e;
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

/* Marker-to-label connecting lines */

.region-map.region-map-corrected .region-map-connectors path {
    fill: none;
    stroke: #6c845b;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* Marker halo */

.region-map.region-map-corrected .region-marker-ring {
    fill: #f8f9ef;
    fill-opacity: 0.85;
    stroke: #9caf87;
    stroke-width: 1;
}

/* Fixed geographical marker */

.region-map.region-map-corrected .region-marker-dot {
    fill: #294d38;
}

/*
Labels are centered on their own coordinates.

Higher selector specificity overrides the old
.map-pin-bay-area, .map-pin-sacramento, etc.
positions, including their mobile overrides.
*/

.region-map.region-map-corrected .map-pin {
    position: absolute;
    left: var(--label-x);
    top: var(--label-y);
    right: auto;
    bottom: auto;

    transform: translate(-50%, -50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: max-content;
    min-height: 36px;
    padding: 0.45rem 0.75rem;

    border: 1px solid #bdcbb0;
    border-radius: 999px;

    background: #f8f9ef;
    color: #294d38;

    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;

    box-shadow: 0 3px 12px rgb(35 51 28 / 6%);

    z-index: 2;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover, keyboard focus, and selected region */

.region-map.region-map-corrected .map-pin:hover,
.region-map.region-map-corrected .map-pin:focus-visible,
.region-map.region-map-corrected .map-pin.is-active {
    background: #294d38;
    border-color: #294d38;
    color: #fff;
    box-shadow: 0 4px 14px rgb(35 51 28 / 14%);
}

.region-map.region-map-corrected .map-pin:focus-visible {
    outline: 3px solid #8b6d2e;
    outline-offset: 4px;
    z-index: 3;
}

/* Phone labels */

@media (max-width: 700px) {
    .region-map.region-map-corrected .map-pin {
        padding: 0.4rem 0.6rem;
        font-size: 0.6875rem;
    }
}

/* Narrow phones */

@media (max-width: 380px) {
    .region-map.region-map-corrected .map-pin {
        padding-inline: 0.5rem;
        font-size: 0.625rem;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .region-map.region-map-corrected .map-pin {
        transition: none;
    }
}

/* More prominent numbered section labels */

.eyebrow.dp-section-label {
    --section-number-color: #294d38;
    --section-label-color: #294d38;
    --section-divider-color: #020202;

    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.5rem);

    width: 100%;
    margin: 0 0 clamp(2rem, 4vw, 3.5rem);
    padding: 0;
}

/* Large number */

.eyebrow.dp-section-label .dp-section-label__number {
    flex: 0 0 auto;

    color: var(--section-number-color);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.06em;
    font-variant-numeric: lining-nums tabular-nums;
}

/* Section name */

.eyebrow.dp-section-label .dp-section-label__text {
    flex: 0 1 auto;
    min-width: 0;

    color: var(--section-label-color);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Divider fills the remaining width */

.eyebrow.dp-section-label::after {
    content: "";
    display: block;
    flex: 1 0 1.5rem;
    height: 3px;
    background: var(--section-divider-color);
}

/* Use this variation on dark backgrounds */

.eyebrow.dp-section-label.dp-section-label--light {
    --section-number-color: #d0ddb9;
    --section-label-color: #edf2e5;
    --section-divider-color: rgb(255, 255, 255);
}

/* Mobile */

@media (max-width: 600px) {
    .eyebrow.dp-section-label {
        gap: 0.85rem;
        margin-bottom: 2rem;
    }

    .eyebrow.dp-section-label .dp-section-label__number {
        font-size: 2.5rem;
    }

    .eyebrow.dp-section-label .dp-section-label__text {
        font-size: 0.76rem;
        letter-spacing: 0.09em;
    }
}

.button-black {
color: #fff;
    background: #2b2b2b; 
   
}

/* Active navigation item and its parent menu */

.site-header .primary-navigation .current-menu-item > a,
.site-header .primary-navigation .current_page_item > a,
.site-header .primary-navigation .current-menu-ancestor > a,
.site-header .primary-navigation .current_page_ancestor > a,
.site-header .primary-navigation a[aria-current="page"] {
    text-decoration-line: underline;
    text-decoration-color: #8b6d2e;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-decoration-skip-ink: none;
}

/* Slightly closer underline on mobile */

@media (max-width: 1100px) {
    .site-header .primary-navigation .current-menu-item > a,
    .site-header .primary-navigation .current_page_item > a,
    .site-header .primary-navigation .current-menu-ancestor > a,
    .site-header .primary-navigation .current_page_ancestor > a,
    .site-header .primary-navigation a[aria-current="page"] {
        text-underline-offset: 5px;
    }
}



/* Shared portal section: Home, Tenants and Owners */
.dp-portal-links {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: #eef1e7;
    border-top: 1px solid #d5ddcd;
    border-bottom: 1px solid #d5ddcd;
}

.dp-portal-links .dp-portal-links__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
}

.dp-portal-links .dp-portal-links__copy {
    flex: 1 1 260px;
    min-width: 0;
}

.dp-portal-links .dp-portal-links__title {
    margin: 0 0 0.4rem;
    color: #172f25;
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.dp-portal-links .dp-portal-links__copy > p:last-child {
    margin: 0;
    color: #53614f;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dp-portal-links .dp-portal-links__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.dp-portal-links .dp-portal-links__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 180px;
    min-height: 54px;
    padding: 0.9rem 1.25rem;
    border: 1px solid #294d38;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dp-portal-links .dp-portal-links__button--owner {
    background: #294d38;
    color: #ffffff;
}

.dp-portal-links .dp-portal-links__button--tenant {
    background: transparent;
    color: #294d38;
}

.dp-portal-links .dp-portal-links__button:hover {
    background: #172f25;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.dp-portal-links .dp-portal-links__button:focus-visible {
    outline: 3px solid #8b6d2e;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .dp-portal-links .dp-portal-links__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .dp-portal-links .dp-portal-links__copy {
        flex: initial;
    }

    .dp-portal-links .dp-portal-links__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .dp-portal-links .dp-portal-links__button {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-portal-links .dp-portal-links__button {
        transition: none;
        transform: none;
    }
}

/* Home page: property management questions */

.dp-home-faq {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    border-top: 1px solid #d9ddd3;
    border-bottom: 1px solid #d9ddd3;
    background: #edf1e7;
}

.dp-home-faq__heading {
    max-width: 800px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.dp-home-faq__heading .eyebrow {
    margin: 0 0 1rem;
    color: #536447;
}

.dp-home-faq__heading h2 {
    margin: 0;
    color: #172f25;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.dp-home-faq__list {
    border-top: 1px solid #bcc9b2;
}

.dp-home-faq__item {
    margin: 0;
    border-bottom: 1px solid #bcc9b2;
}

.dp-home-faq__item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    color: #294d38;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

.dp-home-faq__item > summary::-webkit-details-marker {
    display: none;
}

.dp-home-faq__item > summary::marker {
    content: "";
}

.dp-home-faq__item > summary:hover {
    color: #705522;
}

.dp-home-faq__item > summary:focus-visible {
    outline: 3px solid #8b6d2e;
    outline-offset: 5px;
    border-radius: 3px;
}

.dp-home-faq__icon {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #b9c7ae;
    border-radius: 50%;
    color: #294d38;
    transition: background-color 180ms ease, color 180ms ease;
}

.dp-home-faq__icon::before,
.dp-home-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.dp-home-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 180ms ease;
}

.dp-home-faq__item[open] .dp-home-faq__icon {
    background: #294d38;
    color: #ffffff;
}

.dp-home-faq__item[open] .dp-home-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.dp-home-faq__answer {
    max-width: 900px;
    padding: 0 3.5rem 1.5rem 0;
}

.dp-home-faq__answer p {
    margin: 0;
    color: #53614f;
    font-size: 1rem;
    line-height: 1.85;
}

@media (max-width: 600px) {
    .dp-home-faq__item > summary {
        gap: 1rem;
        padding-block: 1.25rem;
    }

    .dp-home-faq__answer {
        padding: 0 0 1.25rem;
    }

    .dp-home-faq__answer p {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-home-faq__icon,
    .dp-home-faq__icon::after {
        transition: none;
    }
}

.res-lead {
    color: var(--dp-dark);
    font-size: clamp(1.15rem, 1.65vw, 1.4rem);
    line-height: 1.5;
    font-weight: 500;
}