/* Harbor header: final shared rules and responsive variants. */
.hb-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ocf-bg);
}

.hb-nav__inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home .hb-nav__inner {
  min-height: 88px;
}

.hb-nav__brand {
  font: 700 24px/30px var(--font-body);
  color: var(--ocf-heading);
  text-decoration: none;
  max-width: 300px;
  overflow-wrap: anywhere;
}

.hb-nav__brand img {
  width: auto;
  max-width: 240px;
  max-height: 56px;
  object-fit: contain;
}

.hb-nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hb-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hb-nav__link-row {
  display: flex;
  align-items: center;
}

.hb-nav__link-row > a {
  font: 500 14px/20px var(--font-body);
  color: var(--ocf-heading);
  text-decoration: none;
  padding-block: 16px;
}

.hb-nav__item {
  position: relative;
}

.hb-nav__disclosure {
  border: 0;
  background: none;
  color: var(--ocf-heading);
  min-width: 32px;
  min-height: 44px;
  cursor: pointer;
}

.hb-nav__chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}

.hb-nav__disclosure[aria-expanded="true"] .hb-nav__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.hb-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 600px;
  max-width: calc(100vw - 48px);
  padding: 24px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ocf-border);
  border-radius: var(--hb-radius);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ocf-heading) 7%, transparent);
}

.hb-nav__dropdown[hidden] {
  display: none;
}

@media (min-width: 992px) and (hover: hover) {
  .hb-nav__item:hover .hb-nav__dropdown[hidden] {
    display: grid;
  }
}

.hb-nav__dropdown a {
  color: var(--ocf-heading);
  font: 500 16px/24px var(--font-body);
  padding: 14px 12px;
  border-radius: var(--ocf-radius-sm, var(--hb-radius));
  text-decoration: none;
}

.hb-nav__dropdown a:hover {
  background: var(--ocf-bg-alt);
}

.hb-nav__toggle {
  display: none;
}

.home .hb-nav {
  position: fixed;
  top: 0;
  inset: 0 0 auto;
  width: 100%;
  background: var(--ocf-bg);
  border-bottom: 1px solid var(--ocf-border);
  color: var(--ocf-heading);
}

.home .hb-nav .container-global {
  width: min(100% - (var(--container-pad) * 2), var(--container-max));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.home .hb-nav__disclosure {
  color: var(--ocf-heading);
}

.home .hb-nav__brand {
  color: var(--ocf-heading);
  display: inline-flex;
  align-items: center;
}

.home .hb-nav__placeholder-logo {
  width: 190px;
  max-width: 190px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .home .hb-nav__placeholder-logo {
  mix-blend-mode: normal;
}

.home .hb-nav__link-row > a {
  color: var(--ocf-heading);
  font-size: 16px;
  line-height: 24px;
}

.home .hb-nav__link-row > a:hover {
  color: var(--ocf-heading);
  opacity: .8;
}

.nav-cta {
  border-radius: var(--ocf-button-radius);
  min-height: 56px;
  box-shadow: none;
  font-size: 14px;
}

@media (max-width: 1199px) {
  .hb-nav__links {
    gap: 16px;
  }
  .hb-nav__menu {
    gap: 24px;
  }
  .hb-nav .hb-button {
    width: 210px;
  }
  .home .hb-nav .container-global {
    padding-inline: 0;
  }
  .home .hb-nav {
    inset: auto;
  }
  .home .hb-nav__toggle {
    border-color: var(--ocf-border);
    color: var(--ocf-heading);
  }
}

@media (max-width: 991px) {
  .hb-nav__inner {
    min-height: 88px;
    flex-wrap: wrap;
    gap: 0;
  }
  .hb-nav__menu {
    display: none;
    flex-basis: 100%;
    align-items: stretch;
    padding: 16px 0 32px;
    flex-direction: column;
  }
  .hb-nav__menu.is-open {
    display: flex;
  }
  .hb-nav__links {
    display: block;
  }
  .hb-nav__link-row {
    justify-content: space-between;
    border-bottom: 1px solid var(--ocf-border);
  }
  .hb-nav__link-row a {
    flex: 1;
  }
  .hb-nav__dropdown {
    width: 100%;
    max-width: none;
  }
  .hb-nav .hb-button {
    width: 280px;
  }
}

@media (max-width: 599px) {
  .hb-nav__brand {
    font-size: 20px;
    max-width: 220px;
  }
  .hb-nav__brand img {
    max-width: 180px;
  }
  .home .hb-nav .container-global {
    padding-inline: 0;
  }
  .home .hb-nav__menu {
    margin-inline: -24px;
    padding-inline: 24px;
    background: var(--ocf-bg);
  }
  .hb-nav__dropdown {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }
  .hb-nav__dropdown a {
    font-size: 14px;
    padding: 12px 4px;
  }
}

.hb-nav__menu-icon {
  display: block;
}

@media (max-width: 991px) {
  .hb-nav__toggle {
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ocf-heading);
    font: 500 14px/20px var(--font-body);
    width: 48px;
    height: 48px;
    padding: 8px;
    box-shadow: none;
  }

  .hb-nav__toggle .hb-nav__menu-icon {
    width: 32px;
    height: 32px;
  }
}

.hb-header {
  --hb-header-height: 89px;
  height: var(--hb-header-height);
}

.hb-header .hb-nav__menu {
  gap: 28px;
}

.hb-header .hb-nav__links {
  padding: 6px 12px;
  background: color-mix(in srgb, var(--ocf-heading) 7%, var(--ocf-bg));
}

.hb-header .hb-nav__link-row > a {
  padding: 12px 12px;
}

.hb-header .hb-nav__disclosure {
  min-width: 24px;
  margin-inline-start: -8px;
  margin-inline-end: 6px;
}

.hb-header .hb-nav__phone {
  min-height: 44px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 24px;
  color: var(--ocf-heading);
}

.hb-header .hb-nav__phone:hover {
  text-decoration: none;
  opacity: .72;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hb-header .hb-nav__menu {
    gap: 18px;
  }
  .hb-header .hb-nav__links {
    padding-inline: 8px;
  }
  .hb-header .hb-nav__link-row > a {
    padding-inline: 8px;
    font-size: 14px;
  }
  .hb-header .hb-nav__phone {
    font-size: 14px;
  }
  .hb-header .hb-nav .hb-button {
    width: 210px;
  }
}

@media (min-width: 992px) and (max-width: 1099px) {
  .hb-header .hb-nav__actions .hb-nav__phone {
    display: none;
  }
}

@media (max-width: 991px) {
  .hb-header .hb-nav__links {
    padding: 0;
    border-radius: 0;
  }
  .hb-header .hb-nav__phone {
    padding-block: 16px;
    border-bottom: 1px solid var(--ocf-border);
  }
}

.hb-header .hb-nav__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1400px) {
  .hb-header .hb-nav__inner {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    gap: 32px;
  }
  .hb-header .hb-nav__menu {
    display: contents;
  }
  .hb-header .hb-nav__links {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .hb-header .hb-nav__actions {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    min-width: 0;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .hb-header .hb-nav__actions {
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .hb-header .hb-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hb-header .hb-nav__actions .hb-button {
    flex-basis: auto;
  }
  .hb-nav__dropdown {
    position: static;
    margin-block: 16px;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .hb-header .hb-nav__actions .hb-button {
    flex: 0 0 240px;
    width: 240px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .hb-header .hb-nav__actions {
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .hb-header .hb-nav__links {
    background: var(--ocf-bg-alt);
  }
}

.hb-header .hb-nav__links {
  gap: 0;
  padding-inline: 20px;
  border-radius: var(--hb-control-radius);
}

.hb-header .hb-nav__dropdown {
  border-radius: var(--hb-control-radius);
}

.hb-header .hb-nav .hb-button {
  width: max-content;
  min-width: min(100%, var(--hb-button-width));
  max-width: 100%;
}

.hb-header .hb-nav__actions .hb-button {
  width: max-content;
  min-width: min(100%, var(--hb-button-width));
  max-width: 100%;
  flex-basis: auto;
}

@media (max-width: 991px) {
  .hb-header {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .hb-header .hb-nav {
    position: static;
  }
  .hb-header .hb-nav__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 88px auto;
    align-items: center;
  }
  .hb-header .hb-nav__brand {
    grid-column: 1;
    grid-row: 1;
  }
  .hb-header .hb-nav__toggle {
    grid-column: 2;
    grid-row: 1;
  }
  .hb-header .hb-nav__menu {
    padding-top: 32px;
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    box-sizing: border-box;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .hb-header .hb-nav__links {
    gap: 0;
    background: transparent;
    padding-inline: 0;
  }
  .hb-header .hb-nav__link-row > a {
    padding-block: 14px;
  }
  .hb-header .hb-nav__dropdown a {
    font-size: 18px;
    line-height: 28px;
    padding-block: 16px;
  }
}

.hb-header .hb-nav__inner {
  min-height: 88px;
}

.hb-header .hb-nav__link-row > a {
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 991px) {
  .hb-header .hb-nav__link-row > a {
    font-size: 18px;
    line-height: 28px;
  }
  .hb-header .hb-nav__actions .hb-button {
    width: 100%;
    flex: 0 0 auto;
    min-height: 52px;
    height: auto;
  }
}

.hb-nav__dropdown {
  display: grid;
  gap: 8px 24px;
  background: var(--ocf-bg);
  --hb-dropdown-gutter: 24px;
  padding-top: 12px;
  padding-bottom: 0;
}

@media (min-width: 992px) {
  .hb-nav__dropdown {
    left: -96px;
    width: 676px;
    padding: 12px 24px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 0;
  }
}

.hb-nav__dropdown > a:not(.hb-nav__all) {
  color: var(--ocf-heading);
  border-radius: 0;
  border-bottom: 0;
  padding: 14px 12px;
}

.hb-nav__dropdown > a:not(.hb-nav__all):hover {
  background: color-mix(in srgb, var(--ocf-primary) 7%, var(--ocf-bg));
  color: var(--ocf-heading);
}

.hb-nav__dropdown .hb-nav__all {
  grid-column: 1/-1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  margin-inline: calc(-1 * var(--hb-dropdown-gutter));
  padding: 14px calc(var(--hb-dropdown-gutter) + 18px) 14px calc(var(--hb-dropdown-gutter) + 12px);
  border-top: 1px solid var(--ocf-border);
  border-radius: 0 0 var(--hb-control-radius, var(--hb-radius)) var(--hb-control-radius, var(--hb-radius));
  background: var(--ocf-bg-alt);
  color: var(--ocf-heading);
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.hb-nav__dropdown .hb-nav__all:hover {
  background: color-mix(in srgb, var(--ocf-primary) 7%, var(--ocf-bg));
  color: var(--ocf-heading);
}

.hb-nav__dropdown .hb-nav__all svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

@media (max-width: 991px) {
  .hb-header .hb-nav__dropdown .hb-nav__all {
    font-size: 18px;
    line-height: 28px;
    margin-top: 0;
    padding-block: 14px;
  }
}

@media (max-width: 599px) {
  .hb-nav__dropdown {
    gap: 8px;
    --hb-dropdown-gutter: 16px;
  }
}

.hb-nav__services-label {
  display: none;
}

@media (max-width: 991px) {
  .hb-header .hb-nav__item--services .hb-nav__link-row > a {
    display: none;
  }
  .hb-header .hb-nav__item--services .hb-nav__disclosure {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 12px;
    font: 500 18px/28px var(--font-body);
    text-align: left;
  }
  .hb-header .hb-nav__services-label {
    display: inline;
  }
}

/* OCF_AGENT_BLOCK:text-wordmark-header START */
.hb-nav__wordmark {
  display: inline-block;
  font: inherit;
  color: inherit;
  line-height: 1.2;
  white-space: normal;
}
/* OCF_AGENT_BLOCK:text-wordmark-header END */

/* OCF_AGENT_BLOCK:dfw-header-compact-1199-placeholder START */
/* Compact navigation through tablet widths; the opened menu overlays content while the header reserves only the main row. */
.hb-header {
  height: var(--hb-nav-row-height, 89px);
}

@media (max-width: 1199px) {
  .hb-header {
    position: relative;
    height: var(--hb-nav-row-height, 89px);
  }

  .hb-header .hb-nav {
    position: fixed;
    inset: var(--hb-nav-top-offset, 0px) 0 auto;
    z-index: 50;
    width: 100%;
  }

  .hb-header .hb-nav__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(88px, auto);
    align-items: center;
    min-height: 0;
    gap: 0;
  }

  .hb-header .hb-nav__brand { grid-column: 1; grid-row: 1; }
  .hb-header .hb-nav__toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 8px;
  }

  .hb-header .hb-nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-height: calc(100dvh - var(--hb-nav-top-offset, 0px) - var(--hb-nav-row-height, 89px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px 24px 24px;
    background: var(--ocf-bg);
    border-top: 1px solid var(--ocf-border);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ocf-heading) 12%, transparent);
    overscroll-behavior-y: contain;
  }

  .hb-header .hb-nav__menu.is-open { display: flex; }
  .hb-header .hb-nav__links {
    display: block;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .hb-header .hb-nav__link-row {
    justify-content: space-between;
    border-bottom: 1px solid var(--ocf-border);
  }
  .hb-header .hb-nav__link-row > a {
    flex: 1;
    padding: 14px 12px;
    font-size: 18px;
    line-height: 28px;
  }
  .hb-header .hb-nav__item--services .hb-nav__link-row > a { display: none; }
  .hb-header .hb-nav__item--services .hb-nav__disclosure {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 12px;
    font: 500 18px/28px var(--font-body);
    text-align: left;
  }
  .hb-header .hb-nav__services-label { display: inline; }
  .hb-header .hb-nav__dropdown {
    position: static;
    width: 100%;
    max-width: none;
    margin-block: 12px;
    padding: 8px 12px 0;
    grid-template-columns: minmax(0, 1fr);
    box-shadow: none;
  }
  .hb-header .hb-nav__item:hover .hb-nav__dropdown[hidden] { display: none !important; }
  .hb-header .hb-nav__dropdown a,
  .hb-header .hb-nav__dropdown .hb-nav__all {
    min-height: 44px;
    padding-block: 14px;
    font-size: 18px;
    line-height: 28px;
  }
  .hb-header .hb-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hb-header .hb-nav__phone {
    padding-block: 16px;
    border-bottom: 1px solid var(--ocf-border);
  }
  .hb-header .hb-nav__actions .hb-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    height: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 599px) {
  .hb-header .hb-nav__menu { padding-inline: 24px; }
}
/* OCF_AGENT_BLOCK:dfw-header-compact-1199-placeholder END */

/* SilverPlanner: compact controls, clear photography and day/night surfaces. */
html[data-theme="light"] {
  --ocf-bg: #f3efe6; --ocf-bg-alt: #e1e9e4; --ocf-heading: #173c43;
  --ocf-body: #29454b; --ocf-border: #c2cec7; --hb-bg-soft: #e1e9e4;
  --sp-panel: #faf8f2; --sp-accent: #b68d49;
}
html[data-theme="dark"] {
  --ocf-bg: #101f28; --ocf-bg-alt: #1b323c; --ocf-heading: #f1eee4;
  --ocf-body: #d7e1e1; --ocf-border: #49616b; --hb-bg-soft: #1b323c;
  --sp-panel: #172b35; --sp-accent: #e2bc79;
}
.hb-header .hb-nav { background: var(--ocf-bg); color: var(--ocf-heading); }
.hb-header .hb-nav__brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.sp-logo-mark { width: 45px; height: 45px; flex: 0 0 45px; color: var(--ocf-heading); }
.sp-logo-type { display: flex; flex-direction: column; gap: 3px; }
.sp-logo-name { font: 600 27px/1.05 Georgia, serif; letter-spacing: -.8px; white-space: nowrap; }
.sp-logo-name span { font-weight: 400; }
.sp-logo-region { font: 600 10px/1.3 var(--font-body); letter-spacing: 2.5px; text-transform: uppercase; }
.dfw-display-container.sp-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-block: 6px; margin-block: 0; min-height: 56px; box-sizing: border-box; position: relative; z-index: 25; }
.sp-tools button, .sp-tools summary { font: 600 14px/1.2 var(--font-body); min-height: 44px; padding: 9px 13px; border: 1px solid var(--ocf-border); background: var(--sp-panel); color: var(--ocf-heading); border-radius: 8px; cursor: pointer; box-sizing: border-box; }
.sp-theme-buttons { display: inline-flex; gap: 4px; }
.sp-tools button[aria-pressed="true"] { background: var(--ocf-heading); color: var(--ocf-bg); border-color: var(--ocf-heading); }
.sp-tools .dfw-display { position: relative; width: auto; max-width: none; padding: 0; margin: 0; border: 0; background: transparent; }
.sp-tools .dfw-display summary { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; width: auto; }
.sp-tools summary::-webkit-details-marker { display: none; }
.sp-tools .dfw-display__controls { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 40px)); display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px; margin: 0; background: var(--sp-panel); border: 1px solid var(--ocf-border); border-radius: 12px; box-shadow: 0 12px 32px #07151c24; box-sizing: border-box; }
.sp-tools .dfw-display:not([open]) .dfw-display__controls { display: none; }
.sp-tools .dfw-display__size { display: grid; gap: 10px; padding: 0; margin: 0; border: 0; min-width: 0; }
.sp-tools .dfw-display__size legend { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sp-tools label { font-size: 14px; color: var(--ocf-heading); }
.sp-tools input[type="range"] { width: 100%; min-height: 28px; }
.sp-tools .dfw-display__theme { display: grid; gap: 6px; }
.sp-tools select { color: var(--ocf-heading); background: var(--ocf-bg); border: 1px solid var(--ocf-border); width: 100%; min-height: 44px; }
body.home #site-main > .hb-hero { padding: 0 0 28px; background: var(--ocf-bg); }
body.home .hb-hero > .container-global { width: min(calc(100% - 48px), 1600px); margin-inline: auto; }
body.home .hb-hero .hb-hero__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 570px; height: auto; overflow: hidden; border-radius: 20px; background: #173c43; isolation: isolate; }
body.home .hb-hero .hb-hero__panel::before, body.home .hb-hero .hb-hero__panel::after, body.home .hb-hero .hb-satin-frost__layer { display: none; }
body.home .hb-hero .hb-hero__image { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 570px; max-height: 760px; object-fit: cover; object-position: 57% center; opacity: 1; filter: none; z-index: 0; }
body.home .hb-hero .hb-hero__copy { position: relative; grid-column: 1; grid-row: 1; align-self: center; width: 100%; max-width: none; padding: clamp(30px, 4vw, 64px); box-sizing: border-box; color: #f8f4e9; z-index: 1; }
body.home .hb-hero .hb-hero__copy h1 { color: #fffaf0; font-size: clamp(36px, 3.45vw, 62px); line-height: 1.08; max-width: 12em; margin: 24px 0; letter-spacing: -1.4px; }
body.home .hb-hero .hb-hero__intro { color: #e1e9e4; font-size: calc(18px * var(--dfw-display-scale, 1)); line-height: 1.65; max-width: 34em; margin: 0 0 28px; }
body.home .hb-hero .hb-label { background: #284e53; color: #f5e2bd; padding: 8px 12px; }
body.home .hb-hero .hb-hero__eyebrow-copy { color: inherit; font-size: 14px; }
body.home .hb-hero .hb-phone { color: #f8f4e9; margin-top: 16px; }
body.home .hb-hero .hb-button, .hb-header .hb-nav .hb-button { background: #e2bc79; color: #172f36; }
body.home .hb-hero .hb-button span, .hb-header .hb-nav .hb-button span { color: #172f36; }
body.home #site-main > section:not(.hb-hero):not(.hb-cta) { border-radius: 0; margin-top: 0; }
body.home #site-main > section:nth-of-type(even):not(.hb-cta) { background: var(--ocf-bg-alt); }
body.home #site-main > section:nth-of-type(odd):not(.hb-hero):not(.hb-cta) { background: var(--ocf-bg); }
.hb-services .hb-service-row { border-color: var(--ocf-border); }
.hb-footer { background: #17333d; color: #e0e7e5; }
.hb-footer :is(a, h2, h3) { color: #f3eee2; }
@media (max-width: 1199px) {
  body.home .hb-hero .hb-hero__panel { min-height: 500px; }
  body.home .hb-hero .hb-hero__image { min-height: 500px; }
}
@media (max-width: 767px) {
  .hb-header .hb-nav__inner { grid-template-rows: minmax(76px, auto); }
  .sp-logo-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .sp-logo-name { font-size: 24px; }
  .sp-logo-region { font-size: 9px; letter-spacing: 1.8px; }
  .dfw-display-container.sp-tools { justify-content: flex-end; gap: 5px; min-height: 54px; }
  .sp-tools button, .sp-tools summary { padding-inline: 11px; }
  body.home .hb-hero > .container-global { width: calc(100% - 28px); }
  body.home .hb-hero .hb-hero__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 14px; }
  body.home .hb-hero .hb-hero__image { grid-column: 1; grid-row: 1; min-height: 0; height: auto; aspect-ratio: 3/2; max-height: none; object-position: center; }
  body.home .hb-hero .hb-hero__copy { grid-column: 1; grid-row: 2; padding: 28px 24px 32px; }
  body.home .hb-hero .hb-hero__copy h1 { font-size: clamp(32px, 7vw, 44px); max-width: none; letter-spacing: -.8px; margin: 20px 0; }
}
@media (max-width: 359px) {
  .sp-logo-name { font-size: 20px; }
  .sp-logo-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .hb-header .hb-nav__brand { gap: 7px; }
}

body.home .hb-hero .hb-hero__copy { gap: 0; }
body.home .hb-hero .hb-hero__copy .hb-label { color: #f5e2bd !important; margin: 0 !important; }
body.home .hb-hero .hb-hero__copy .hb-label span { color: inherit !important; }
body.home .hb-hero .hb-hero__copy .hb-hero__intro { color: #e1e9e4 !important; }
body.home .hb-hero .hb-hero__copy .hb-phone, body.home .hb-hero .hb-hero__copy .hb-phone span { color: #f8f4e9 !important; }
body.home .hb-hero .hb-hero__copy .hb-button { margin: 0; }

.hb-header .hb-nav, .hb-header .hb-nav.scrolled { background: var(--ocf-bg) !important; }
.hb-header .hb-nav__brand, .hb-header .hb-nav__brand span, .hb-header .hb-nav__link-row > a, .hb-header .hb-nav__phone, .hb-header .hb-nav__phone span { color: var(--ocf-heading) !important; }
body.home .hb-hero .hb-hero__panel { position: relative; }
body.home .hb-hero .hb-hero__image { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; max-height: none; min-height: 0; }
body.home .hb-hero .hb-hero__copy { min-height: 570px; }
@media(max-width: 767px) { body.home .hb-hero .hb-hero__image { position: relative; left: auto; top: auto; width: 100%; height: auto; } body.home .hb-hero .hb-hero__copy { min-height: 0; } }

body.home .hb-hero .hb-hero__image { grid-column: 1 / -1; }
body.home .hb-hero .hb-hero__copy { inset: auto; transform: none; align-self: stretch; justify-content: center; }
@media(max-width:767px) { body.home .hb-hero .hb-hero__image { grid-column: 1; } }

@media(max-width:359px) { .sp-tools button, .sp-tools summary { font-size: 13px !important; padding-inline: 8px; white-space: nowrap; } .sp-tools summary span { font: inherit !important; } }

.hb-footer .sp-footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; text-decoration: none; }
.hb-footer .sp-footer-logo, .hb-footer .sp-footer-logo span { color: #f3eee2 !important; }

/* SilverPlanner content and header refinements, October 23. */
html[data-theme="light"] { --sp-header-surface: #fffdf7; }
html[data-theme="dark"] { --sp-header-surface: #17303b; }
.hb-header .hb-nav { position: fixed !important; inset: var(--hb-nav-top-offset, 0px) 0 auto !important; width: 100%; padding-block: 8px; background: var(--sp-header-surface) !important; border-bottom: 1px solid var(--ocf-border); box-shadow: 0 3px 12px #102f3510; }
.hb-header .hb-nav > .container-global { width: min(calc(100% - 48px), 1440px); max-width: none; margin-inline: auto; padding-inline: 0; }
.hb-header .hb-nav__inner { min-height: 76px; gap: 24px; }
.hb-header .hb-nav__brand { max-width: none; min-width: 220px; }
.hb-header .sp-logo-name { font-size: 30px; line-height: 1.15; }
.hb-header .sp-logo-region { font-size: 10px; }
.hb-header .sp-logo-mark { height: 48px; width: 48px; flex-basis: 48px; }
.hb-header .hb-nav__links { background: transparent; padding-inline: 0; }
.hb-header .hb-nav__link-row > a { font-size: 16px; font-weight: 600; }
.hb-header .hb-nav__actions { gap: 24px; }
.hb-header .hb-nav .sp-practical-button { min-width: 180px; width: auto; justify-content: space-between; gap: 20px; padding: 14px 20px; border-radius: 8px; font-size: 16px; line-height: 1.4; }
.hb-header .hb-nav .sp-practical-button:hover, .hb-header .hb-nav .sp-practical-button:focus-visible { color: #172f36 !important; background: #e2bc79 !important; }
.hb-header .hb-nav .sp-practical-button span { color: #172f36 !important; }
html[data-theme="light"] .hb-text-link { color: #654a1a !important; }
html[data-theme="light"] .ocf-about__body a { color: #173c43 !important; }
#practical-help { scroll-margin-top: 145px; }
.sp-services-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.sp-services-photo { margin: 0; min-width: 0; border-radius: 16px; overflow: hidden; }
.sp-services-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.home #site-main .sp-services-layout .hb-services__list { display: block; margin: 0; }
body.home #site-main .sp-services-layout .hb-service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 18px; padding: 20px 0; min-height: 0; border-bottom: 1px solid var(--ocf-border); }
body.home #site-main .sp-services-layout .hb-service-row:first-child { padding-top: 0; }
body.home #site-main .sp-services-layout .hb-service-row__number { display: none; }
body.home #site-main .sp-services-layout .hb-service-row h3 { grid-column: 1; font-size: 25px; line-height: 1.22; margin: 0; }
body.home #site-main .sp-services-layout .hb-service-row p { grid-column: 1 / -1; grid-row: 2; font-size: calc(16px * var(--dfw-display-scale, 1)); line-height: 1.5; max-width: 56ch; margin: 0; }
body.home #site-main .sp-services-layout .hb-service-row > .hb-text-link { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.hb-work.sp-work-text-only .hb-work__layout { display: block; max-width: 1040px; }
.hb-work.sp-work-text-only .hb-work__copy { max-width: none; }
body:not(.home) .hb-cta .hb-cta__panel { min-height: 0; padding-block: 48px; background: #173c43; }
body:not(.home) .hb-cta .hb-satin-frost__layer { display: none; }
body:not(.home) .hb-cta .hb-cta__copy, body:not(.home) .hb-cta .hb-cta__actions { position: relative; inset: auto; }
.sp-social { padding: 30px 0; margin-top: 32px; border-top: 1px solid #779097; display: grid; gap: 20px; }
.sp-social h2 { font-size: 25px; margin: 0 0 6px; }
.sp-social p { margin: 0; font-size: 15px; color: #d4dfdf; }
.sp-social ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.sp-social li { margin: 0; }
.sp-social :is(a, .sp-social-pending) { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #779097; border-radius: 8px; color: #f3eee2 !important; font: 500 15px/1.4 var(--font-body); }
.sp-social .sp-social-pending { opacity: .8; }
.sp-social a:hover { background: #294a55; }
@media (max-width: 1399px) and (min-width:1200px) { .hb-header .hb-nav__phone { display: none; } }
@media (max-width: 1199px) {
 .hb-header .hb-nav__inner { gap: 0; grid-template-rows: minmax(76px, auto); }
 .hb-header .hb-nav__menu { background: var(--sp-header-surface); }
 .hb-header .hb-nav__actions { gap: 16px; }
 .hb-header .hb-nav__brand { min-width: 0; }
 .hb-header .hb-nav .sp-practical-button { width: 100%; }
}
@media (max-width: 767px) {
 .hb-header .hb-nav { padding-block: 0; }
 .hb-header .sp-logo-name { font-size: 25px; }
 .hb-header .sp-logo-mark { height: 38px; width: 38px; flex-basis: 38px; }
 .sp-services-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .sp-services-photo { aspect-ratio: 3/2; }
 body.home #site-main .sp-services-layout .hb-service-row { grid-template-columns: 1fr; padding-block: 20px; }
 body.home #site-main .sp-services-layout .hb-service-row h3 { font-size: 25px; }
 body.home #site-main .sp-services-layout .hb-service-row > .hb-text-link { grid-column: 1; grid-row: 3; }
}
@media (max-width: 359px) {
 .hb-header .sp-logo-name { font-size: 21px; }
 .hb-header .sp-logo-mark { height: 32px; width: 32px; flex-basis: 32px; }
}
