/* Shared navigation and page rhythm for the public draft. */
:root { --line: #b5cdd8; --ice: #edf7fa; }
.section { padding-block: clamp(2.6rem, 5.2vw, 4.75rem); }
.section-heading { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.contact-strip { container: utilityBar / inline-size; }

.strip-inner,
.header-inner {
  max-width: 69rem;
}

.strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .3rem clamp(.7rem, 1.75vw, 1.65rem);
  min-height: 48px;
  padding-block: .2rem;
}

.strip-inner > span { font-weight: 600; }
.strip-inner > .strip-phone {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 44px;
  font-size: clamp(1.13rem, 1.8vw, 1.45rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: .012em;
  text-decoration: underline;
  text-decoration-color: #87b6cc;
  text-underline-offset: 4px;
}

.strip-inner > .strip-phone:hover { text-decoration-color: white; }

.strip-credentials {
  display: flex;
  align-items: center;
  justify-self: center;
  flex-wrap: wrap;
  gap: 0 clamp(.6rem, 1.5vw, 1.25rem);
}

.strip-credentials .owner-mark {
  color: #fff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.strip-credentials .owner-mark .icon {
  display: block;
  flex: none;
  color: #086437;
}

.strip-credentials .header-certification {
  min-height: 44px;
  white-space: normal;
  text-decoration: underline;
  text-decoration-color: #9ebccf;
  text-underline-offset: .2em;
}

.strip-credentials .header-certification:hover { text-decoration-color: currentColor; }

@container utilityBar (max-width: 63rem) {
  .strip-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .strip-inner > span { display: none; }
  .strip-credentials { justify-self: start; }
}

@container utilityBar (max-width: 42rem) {
  .contact-strip .strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: .12rem .3rem;
  }

  .strip-inner > .strip-phone { justify-self: center; font-size: 1.2rem; }

  .strip-credentials {
    justify-content: center;
    justify-self: stretch;
    gap: 0 .75rem;
    border-bottom: 1px solid #ffffff36;
  }
}

@container utilityBar (18rem <= width <= 26rem) {
  .strip-credentials {
    display: grid;
    grid-template-columns: minmax(0, max-content) max-content;
  }
}

@container utilityBar (max-width: 26rem) {
  .contact-strip .strip-inner { width: calc(100% - 1.5rem); }
  .strip-credentials { column-gap: .6rem; }
  .strip-credentials .owner-mark { font-size: .9375rem; }
}

.header-inner {
  min-height: 88px;
  padding: .82rem 0;
  grid-template-columns: minmax(0, 17rem) minmax(max-content, 1fr) auto;
  column-gap: clamp(.85rem, 1.42vw, 1.25rem);
}

.header-inner > .brand { width: min(17rem, 100%); }

.desktop-nav {
  display: flex;
  justify-self: center;
  gap: clamp(.65rem, 1.2vw, 1.05rem);
}

.header-inner > .header-quote {
  justify-self: end;
  min-height: 46px;
  padding: .6rem 1rem;
  border-radius: .38rem;
  font-size: 1rem;
  white-space: nowrap;
}

.mobile-menu { display: none; }

@container siteHeader (max-width: 64rem) {
  .header-inner {
    min-height: 0;
    padding-inline: .55rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .2rem .9rem;
  }

  .header-inner > .brand { width: min(15rem, 100%); }
  .header-inner .desktop-nav,
  .header-inner > .header-quote { display: none; }
  .mobile-menu { display: block; }
}

.desktop-nav > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding-block: .55rem;
  text-underline-offset: .38em;
}
.menu-lines { width: .92rem; height: .64rem; border-block: 2px solid; position: relative; }
.menu-lines::after { content: ''; position: absolute; inset: calc(50% - 1px) 0 auto; border-top: 2px solid; }
.mobile-menu > summary { min-height: 44px; }
.mobile-menu[open] > summary { color: white; background: var(--navy); }
.mobile-menu nav {
  top: calc(100% + .45rem); width: min(22rem, calc(100vw - 1.75rem));
  padding: .55rem 1.15rem .8rem; border-top: 3px solid var(--cyan);
}
.mobile-menu nav a { padding-block: .6rem; }
.mobile-menu nav a.menu-quote { border: 2px solid var(--navy); display: flex; margin-top: .55rem; }

.contact-band { padding-block: clamp(2.3rem, 4.5vw, 3.75rem); }
.contact-band-inner { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.25rem, 4vw, 4rem); }
.contact-band h2 { font-size: clamp(2.65rem, 4.4vw, 4rem); text-wrap: initial; }
.contact-band p { margin-top: .65rem; font-size: 1.125rem; }
.contact-band .actions { align-items: center; flex-direction: row; gap: .35rem 1.25rem; }
.contact-band .brand-waterline { opacity: .1; height: 65px; }
.site-footer { background: #fff; padding: clamp(2rem, 4.5vw, 3.8rem) 0 1.3rem; border-top: 4px solid var(--cyan); }
.footer-main { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,.65fr); gap: clamp(1rem, 4vw, 3.2rem); }
.footer-hours { margin: .45rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.footer-brand .brand { width: min(14rem,100%); margin-bottom: .7rem; }
.footer-brand p, .site-footer [itemprop=email] { line-height: 1.45; }
.site-footer nav a { min-height: 32px; }
.site-footer nav .footer-game-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .25rem;
  padding: .38rem .83rem;
  font-size: 1rem;
}
.site-footer nav .footer-game-link:hover { text-decoration: none; background: var(--ice); }
.footer-bottom { margin-top: 1.25rem; padding-top: .85rem; }
.footer-policy-links { display: flex; flex-wrap: wrap; gap: .125rem 1.25rem; }
.footer-bottom { align-items: center; }
.footer-policy-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  .footer-policy-links { margin-top: .55rem; }
}
.site-footer .footer-locations { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: .7rem; gap: .4rem 1.25rem; }

.quote-opening { background: #edf7fa; padding-block: clamp(1.8rem, 5vw, 4.5rem); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  grid-template-rows: auto 1fr;
  gap: 1.5rem clamp(1.5rem, 6vw, 5rem);
  align-items: start;
  max-width: 68rem;
}
.quote-intro { grid-column: 1; grid-row: 1; padding-top: .6rem; }
.quote-intro h1 { font-size: clamp(2.75rem, 5.5vw, 4.6rem); max-width: 12ch; text-wrap: initial; }
.quote-intro p { margin: .8rem 0 .25rem; font-size: 1.1875rem; line-height: 1.5; max-width: 36ch; }
.quote-phone a { min-height: 44px; display: inline-flex; align-items: center; }
.quote-form-panel {
  grid-column: 2; grid-row: 1 / span 2; border: 1px solid var(--line);
  border-top: .3rem solid var(--cyan); padding: clamp(1rem, 3vw, 2rem);
}
.quote-form-panel h2 { font: 700 clamp(1.85rem, 3.25vw, 2.4rem)/1.05 var(--display); text-wrap: initial; }
.quote-form-panel > p { margin: .45rem 0 1.15rem; }
.quote-form-panel form { min-width: 0; }
.quote-form-panel .field { margin-bottom: 1rem; }
.quote-form-panel .field select { max-width: 100%; text-overflow: ellipsis; }
.quote-form-panel .field label { margin-bottom: .26rem; }
.quote-form-panel .field :is(input, textarea, select) { border-radius: .15rem; }
.quote-form-panel .form-privacy { padding-top: .85rem; margin: 1rem 0 0; font-size: 1rem !important; }
.quote-form-panel .quote-spam { margin: .55rem 0 0; font-size: 1rem; line-height: 1.4; }
.quote-offer-note { padding: .75rem .9rem; border-inline-start: .25rem solid #0084a4; background: var(--ice); }
.quote-offer-note span { display: block; margin-top: .2rem; }
.quote-support { grid-column: 1; grid-row: 2; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote-support h2 { font: 700 1.25rem/1.2 var(--body); text-align: start; text-wrap: initial; }
.quote-support ol { margin: .75rem 0 1.2rem; padding-inline-start: 1.3rem; font-size: 1.125rem; line-height: 1.5; }
.quote-support li + li { margin-top: .45rem; }
.quote-support p { font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
.quote-page .mobile-contact { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-bottom: 5rem; }
  .site-header .header-inner { gap: .38rem .75rem; padding-block: .74rem; }
  .strip-inner { padding-block: 0; min-height: 44px; }
  .mobile-contact {
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); padding: 7px 14px max(7px, env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-contact > a:first-child { min-height: 44px; }
  .contact-band-inner, .footer-main { grid-template-columns: minmax(0,1fr); }
  .contact-band-inner { gap: 1rem; }
  .footer-main { gap: 1.35rem; }
  .site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer .footer-locations { margin-top: 1rem; }
  .quote-page { padding-bottom: 0; }
  .quote-layout { display: block; }
  .quote-intro { padding-top: 0; margin-bottom: 1rem; }
  .quote-intro h1 { max-width: 18ch; }
  .quote-support { margin-top: 1.5rem; }
}

