:root {
  --heritage-ink: #132740;
  --heritage-navy: #102640;
  --heritage-deep: #0b192b;
  --heritage-muted: #475b73;
  --heritage-red: #b31936;
  --heritage-paper: #f4f6fa;
  --heritage-line: #dce3ed;
  --heritage-display: 'Segoe UI', system-ui, sans-serif;
  --heritage-body: 'Segoe UI', system-ui, sans-serif;
  --heritage-container: 73.5rem;
}

html:has(.premium-site, .standalone-contact, .history-page) { background: var(--heritage-paper); }
.premium-site, body.standalone-contact {
  color: var(--heritage-ink);
  background: var(--heritage-paper);
  font: 1rem/1.65 var(--heritage-body);
  -webkit-text-size-adjust: 100%;
}
.premium-site *, .standalone-contact * { box-sizing: border-box; }
.premium-site a:focus-visible, .standalone-contact a:focus-visible, .history-page a:focus-visible {
  outline: 3px solid #b31936;
  outline-offset: 3px;
}
.premium-site a, .standalone-contact a, .history-page a { text-underline-offset: .2em; }
.premium-site a:link, .premium-site a:visited, .standalone-contact a:link, .standalone-contact a:visited {
  color: var(--heritage-navy);
  font-family: inherit;
}
.heritage-brand {
  display: block;
  width: clamp(11.25rem, 20vw, 16rem);
  max-width: 100%;
  text-decoration: none;
}
.heritage-brand img { display: block; width: 100%; height: auto; }

.premium-site #page_wrap, .premium-site #header_wrap, .premium-site #center_wrap {
  width: 100%;
  background: none;
}
.premium-site #header_wrap { border-top: 3px solid var(--heritage-red); }
.premium-site #header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2.65rem);
  width: min(100% - 3.5rem, var(--heritage-container)) !important;
  height: auto;
  margin: 0 auto;
  padding: 1.05rem 0;
  border: 0;
}
.premium-site #header > .clearfix, .premium-site #center > .clearfix { display: none; }
.premium-site #header .header_phone {
  position: static;
  z-index: auto;
  margin: 0;
  color: var(--heritage-muted);
  font: 650 .84rem/1.2 var(--heritage-body);
  white-space: nowrap;
}
.premium-site .icon_phone { display: none; }
.premium-site #header .nav_wrap { min-width: 0; float: none; }
.premium-site #header .nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem;
  width: auto;
  margin: 0;
}
.premium-site .nav li { float: none; }
.premium-site #header .nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .46rem .68rem;
  border-radius: .5rem;
  color: var(--heritage-ink);
  font: 650 .9rem/1.2 var(--heritage-body);
}
.premium-site #header .nav a:hover, .premium-site #header .nav a[aria-current="page"] {
  background: #e8edf5;
  color: var(--heritage-deep);
}
.premium-site #header .nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--heritage-red); }
.premium-site #header .nav li:last-child a { border: 1px solid #acbacd; }
.premium-site #header .nav a.header-form-link {
  border-color: var(--heritage-red);
  color: #fff;
  background: var(--heritage-red);
}
.premium-site #header .nav a.header-form-link:hover { background: #93152c; }
.heritage-menu-toggle { display: none; }

.premium-site #center {
  position: relative;
  width: min(100% - 3.5rem, var(--heritage-container)) !important;
  margin: 0 auto;
  padding: 0;
  overflow-wrap: anywhere;
}
.heritage-skip { position: absolute; inset: .4rem auto auto .4rem; z-index: 3; padding: .5rem .8rem; background: white; }
.heritage-skip:not(:focus) { clip-path: inset(50%); }
.heritage-hero {
  display: grid;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 3.5rem);
  margin: 0 0 clamp(1.2rem, 3.2vw, 2.5rem);
  padding: clamp(1.45rem, 4.6vw, 3.8rem);
  border: 1px solid #d7e0ed;
  border-inline-start: 4px solid var(--heritage-red);
  border-radius: 1.4rem;
  background: #ecf1f8;
}
.heritage-hero-home {
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  border: 0;
  border-bottom: 4px solid var(--heritage-red);
  background: linear-gradient(116deg, #0b192b 8%, #132a45 62%, #1e4267 100%);
  color: #ffffff;
}
.heritage-hero .heritage-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  color: #385372;
  font: 750 .72rem/1.25 var(--heritage-body);
  letter-spacing: .145em;
  text-transform: uppercase;
}
.heritage-kicker::before { content: ''; width: 1.4rem; height: 1px; background: #b31936; }
.heritage-hero-home .heritage-kicker { color: #ffb5c3; }
.heritage-hero-home .heritage-kicker::before { background: #ffb5c3; }
.heritage-hero .content_title, .heritage-hero .content_title a {
  width: auto;
  color: inherit;
  font: 750 clamp(2.1rem, 5.35vw, 4rem)/1.04 var(--heritage-display);
  letter-spacing: -.045em;
  text-decoration: none;
}
.heritage-hero-home .content_title { text-wrap: balance; }
.heritage-hero:not(.heritage-hero-home) .content_title,
.heritage-hero:not(.heritage-hero-home) .content_title a {
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
}
.heritage-hero-art { display: block; width: 100%; height: auto; justify-self: end; }
.heritage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.55rem; }
.premium-site .heritage-actions a, .premium-site .contact-form-link, .premium-site #center a.button_learnmore,
.premium-site .video_frame > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font: 700 .93rem/1.2 var(--heritage-body);
  text-align: center;
  text-decoration: none;
}
.premium-site .heritage-primary, .premium-site .contact-form-link { background: var(--heritage-red); color: white !important; }
.premium-site .heritage-primary:hover, .premium-site .contact-form-link:hover { background: #93152c; }
.premium-site .heritage-secondary, .premium-site #center a.button_learnmore, .premium-site .video_frame > a {
  border-color: #acbacd;
  background: white;
  color: var(--heritage-navy);
}
.premium-site .heritage-secondary:hover, .premium-site #center a.button_learnmore:hover, .premium-site .video_frame > a:hover { background: #eef2f8; }
.premium-site .heritage-hero-home .heritage-secondary { color: #ffffff; background: transparent; border-color: #8eabc8; }
.premium-site .heritage-hero-home .heritage-secondary:hover { background: #26496a; }

.heritage-columns { display: grid; gap: clamp(1rem, 2.7vw, 2.15rem); align-items: start; }
.heritage-columns-with-sidebar { grid-template-columns: minmax(0, 2.35fr) minmax(14.5rem, 1fr); }
.premium-site #center :is(.col1_lrg, .col1_sml, .col_long, .col_half) {
  width: auto !important;
  min-width: 0;
  float: none;
  margin: 0;
}
.premium-site #center .col_half { padding: 0 0 .8rem; }
.premium-site #center :is(.title_wrap_lrg, .title_wrap_xlrg, .title_wrap_sml) {
  width: auto !important;
  min-height: 0;
  height: auto;
  padding: .95rem clamp(.95rem, 2.5vw, 1.55rem);
  border: 1px solid var(--heritage-line);
  border-bottom: 0;
  border-radius: .8rem .8rem 0 0;
  background: #eaf0f8;
}
.premium-site #center :is(.title_wrap_lrg, .title_wrap_xlrg, .title_wrap_sml) .content_title,
.premium-site #center :is(.title_wrap_lrg, .title_wrap_xlrg, .title_wrap_sml) .content_title a {
  width: auto;
  color: var(--heritage-ink);
  font: 600 clamp(1.07rem, 2vw, 1.44rem)/1.22 var(--heritage-display);
  text-decoration: none;
}
.premium-site #center :is(.content_lrg, .content_xlrg, .content_sml) {
  width: auto !important;
  min-width: 0;
  margin: 0 0 1rem;
  padding: clamp(.95rem, 2.65vw, 1.55rem) !important;
  border: 1px solid var(--heritage-line);
  border-radius: 0 0 .8rem .8rem;
  background: #fff;
}
.premium-site #center :is(.content_lrg, .content_xlrg):first-child { border-radius: .8rem; }
.heritage-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.heritage-location { padding: .8rem; border: 1px solid var(--heritage-line); border-radius: .55rem; background: #f2f5fa; }
.heritage-location strong { display: block; margin-bottom: .25rem; color: var(--heritage-navy); }
.premium-site #center .service-guide { font-size: 1rem; line-height: 1.75; }
.premium-site #center .service-guide-intro { font-size: 1.15rem; color: var(--heritage-navy); }
.service-guide-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 1.25rem 0 2rem; padding: .8rem 0; border-block: 1px solid var(--heritage-line); }
.service-guide-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 650; }
.service-guide > section { margin-top: 2.5rem; scroll-margin-top: 1rem; }
.premium-site #center .service-guide h2 { padding: 0; margin: 0 0 .7rem; color: var(--heritage-navy); font: 400 clamp(1.5rem, 3vw, 2rem)/1.2 var(--heritage-display); }
.premium-site #center .service-guide h3 { padding: 0; margin: 1.6rem 0 .4rem; color: var(--heritage-navy); font: 700 1.12rem/1.35 var(--heritage-body); }
.service-guide-options > section + section { margin-top: 1.5rem; padding-top: .4rem; border-top: 1px solid var(--heritage-line); }
.service-guide li { padding: .3rem 0 .3rem .2rem; }
.service-guide details { border-bottom: 1px solid var(--heritage-line); padding: .5rem 0; }
.service-guide summary { min-height: 44px; padding: .6rem .2rem; color: var(--heritage-navy); font-weight: 650; cursor: pointer; }
.service-guide summary:focus-visible { outline: 3px solid var(--heritage-red); outline-offset: 3px; }
.service-guide-action { padding-top: 1.3rem; border-top: 1px solid var(--heritage-line); }
.service-guide-action p { flex-basis: 100%; }
.premium-site #center .service-guide-action a { background: var(--heritage-red); color: white; }
.heritage-location span { display: block; font-size: .93rem; }
.heritage-locations + .button_learnmore { margin-top: .85rem; }
.premium-site #center [hidden] { display: none !important; }
.premium-site #center .content_sml h2 {
  padding: .62rem 0;
  border-bottom: 1px solid #e1e8f2;
  font-size: .9rem;
  font-weight: 650;
}
.premium-site #center .col1_lrg p, .premium-site #center .col_half p { padding: .45rem 0; }
.premium-site #center :is(.content_lrg, .content_xlrg) a[href]:not([class]) { text-decoration: underline; }
.premium-site #center .video_frame a[href] { text-decoration: none; }
.heritage-home-player { display: block; width: 100%; height: auto; margin: 0 0 .8rem; border-radius: .65rem; background: var(--heritage-deep); }
.premium-site .video_frame > a { margin: 0 .4rem .4rem 0; }
.premium-site #center :is(.content_lrg, .content_xlrg) :is(ul, ol) { padding-inline-start: 1.35rem; }
.premium-site #center :is(.services_header, .contact_header, .privacy_header, .orange_lrg, .orange) {
  color: var(--heritage-navy);
  font-family: inherit;
}
.premium-site #center a.button_learnmore {
  width: auto;
  height: auto;
  margin-top: .35rem;
  background-image: none;
  text-indent: 0;
}
.premium-site #center :is(.video_frame, .map_frame) { width: 100% !important; height: auto; border: 0; }
.premium-site .map_frame iframe { border-radius: .45rem; }
.premium-site #center .review_wrap { border-bottom: 1px solid var(--heritage-line); }
.premium-site #center .review_wrap p:is(.review_left, .review_right) { color: var(--heritage-muted); }
.premium-site #center input, .premium-site #center textarea { max-width: 100%; }
.premium-site #center iframe { max-width: 100%; }
.premium-site .header-gallery, .premium-site .photo-gallery { display: grid; gap: clamp(.45rem, 1.2vw, .9rem); }
.premium-site .header-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 42rem; margin: 1rem 0 2rem; }
.premium-site .service-art-gallery { max-width: none; gap: 1rem; margin: 2.5rem 0; }
.premium-site .service-art-tile { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--heritage-line); border-radius: 16px; background: #fff; overflow: hidden; text-decoration: none; transition: border-color .15s ease; }
.premium-site .service-art-tile:hover { border-color: var(--heritage-red); }
.premium-site .service-art-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.premium-site .service-art-tile span { color: var(--heritage-navy); font-size: .95rem; font-weight: 700; line-height: 1.4; padding: .9rem 1rem 1.1rem; }
@media (max-width: 640px) { .premium-site .service-art-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; } .premium-site .service-art-tile span { font-size: .82rem; padding: .7rem .65rem .85rem; } }
.premium-site .photo-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.premium-site .header-gallery .header_img, .premium-site .photo-gallery .img_wrap {
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0 !important;
  padding: .35rem;
  border: 1px solid var(--heritage-line);
  border-radius: .5rem;
  background: white;
}
.premium-site .header_img img, .premium-site .img_wrap img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.modern-photo-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, clamp(6.25rem, 12vw, 10.5rem));
  gap: .65rem;
}
.modern-photo-gallery figure { position: relative; overflow: hidden; border-radius: .55rem; background: #eaf0f8; }
.modern-photo-gallery figure:first-child { grid-row: span 2; }
.modern-photo-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modern-photo-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: .85rem .75rem .55rem;
  background: linear-gradient(transparent, rgb(11 25 43 / .88));
  color: #fff;
  font: 650 .84rem/1.25 var(--heritage-body);
}

.premium-site #footer_wrap {
  width: auto !important;
  padding: clamp(1.35rem, 4vw, 3rem) max(1rem, calc((100% - var(--heritage-container)) / 2));
  background: var(--heritage-deep);
  color: #e9eff7;
  font: .86rem/1.8 var(--heritage-body);
  text-align: left;
  overflow-wrap: anywhere;
}
.premium-site #footer_wrap a:link, .premium-site #footer_wrap a:visited { color: #ffffff; font-family: inherit; text-decoration: underline; }
.premium-site #footer_wrap a:hover { color: #ffb5c3; }

body.standalone-contact { width: min(100% - 2rem, 43rem); padding: 1.15rem 0; }
.standalone-contact > header { margin-bottom: 1rem; }
.standalone-contact main { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--heritage-line); border-radius: .85rem; background: white; }
.standalone-contact h1 { margin: 0 0 .4rem; font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.1 var(--heritage-display); }
.standalone-contact fieldset { margin: 1rem 0; border: 1px solid var(--heritage-line); border-radius: .5rem; }
.standalone-contact input, .standalone-contact textarea, .standalone-contact button { padding: .55rem; }
.brand-video-page { width: min(100% - 2rem, 62rem) !important; margin: 0 auto; }
.brand-video-page main { margin-bottom: 1.15rem; }
.brand-video-page video { display: block; width: 100%; height: auto; margin: 1rem 0; border-radius: .55rem; background: var(--heritage-deep); }
.brand-video-page footer { color: var(--heritage-muted); font-size: .85rem; }
.application-page { width: min(100% - 1.5rem, 62rem) !important; margin: 0 auto; }
.application-page main { padding: clamp(.7rem, 3vw, 1.6rem); }
.application-page #application-form { min-height: 36rem; margin: 1rem 0; }
.application-page footer { color: var(--heritage-muted); font-size: .85rem; }
.history-page .heritage-brand { margin: 0 0 .9rem; padding: .45rem .6rem; border-radius: .42rem; background: #fff; }
.history-page .history-header, .history-page footer { background: var(--heritage-deep); }
.history-page .history-header { border-top: 3px solid var(--heritage-red); }
.history-page .history-home { display: block; }

@media (max-width: 900px) {
  .premium-site #header { grid-template-columns: 1fr auto; }
  .premium-site #header .nav_wrap { grid-row: 3; grid-column: 1 / -1; }
  .premium-site #header .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: .35rem;
  }
  .premium-site #header .nav li:last-child { grid-column: 1 / -1; }
  .premium-site #header .header_phone { grid-column: 1; grid-row: 2; text-align: left; }
  .premium-site #header.menu-enhanced:not(.menu-open) .nav_wrap { display: none; }
  .premium-site #header.menu-enhanced .heritage-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid #acbacd;
    border-radius: .5rem;
    background: white;
    color: var(--heritage-navy);
    cursor: pointer;
  }
  .heritage-menu-toggle:focus-visible { outline: 3px solid var(--heritage-red); outline-offset: 3px; }
  .heritage-menu-icon { display: grid; width: 22px; gap: 5px; }
  .heritage-menu-icon span { display: block; width: 22px; height: 2px; background: currentColor; }
  .menu-open .heritage-menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .heritage-menu-icon span:nth-child(2) { opacity: 0; }
  .menu-open .heritage-menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .heritage-columns-with-sidebar { grid-template-columns: minmax(0, 1.8fr) minmax(12.2rem, 1fr); }
  .premium-site .photo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .premium-site #header, .premium-site #center { width: calc(100% - 1.5rem) !important; }
  .premium-site #header { gap: .65rem .5rem; padding: .75rem 0; }
  .premium-site #header .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-site #header .nav a { padding: .35rem .25rem; font-size: .83rem; }
  .premium-site #header .nav li:last-child { grid-column: 1 / -1; }
  .heritage-brand { width: clamp(9rem, 47vw, 12rem); }
  .premium-site #header .header_phone { font-size: .75rem; }
  .heritage-hero { border-radius: .85rem; }
  .heritage-hero-home, .heritage-columns-with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .heritage-locations { grid-template-columns: minmax(0, 1fr); }
  .modern-photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: .5rem; }
  .modern-photo-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .modern-photo-gallery figure:not(:first-child) { aspect-ratio: 4 / 3; }
  .heritage-hero-home .heritage-hero-art { max-width: 18rem; justify-self: start; }
  .heritage-actions { margin-top: 1.15rem; }
}
