@font-face {
  font-family: "Liquid Unflow";
  src:
    url("assets/brand/fonts/liquid-unflow.woff2") format("woff2"),
    url("assets/brand/fonts/liquid-unflow.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Brivela";
  src: url("assets/brand/fonts/brivela.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ember-red: #e82325;
  --ember-red-ink: #c91c21;
  --deep-ember: #3d1212;
  --warm-cream: #ebe4d3;
  --paper: #fbf7ef;
  --clear-blue: #3699d5;
  --clear-blue-ink: #2479ad;
  --chartreuse: #ccd02e;
  --leaf-green: #569742;
  --white: #fff;
  --line: rgba(61, 18, 18, 0.16);
  --shadow: 0 18px 50px rgba(61, 18, 18, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--deep-ember);
  background: var(--paper);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 76px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--deep-ember);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  width: min(100%, calc(100vw - 32px));
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-link img {
  width: min(220px, 48vw);
}

.desktop-logo {
  display: none;
}

.header-actions {
  display: none;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm-cream);
  color: var(--deep-ember);
  font: inherit;
  font-weight: 700;
}

.site-nav {
  display: none;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.site-nav[data-open] {
  display: grid;
}

.site-nav a {
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ember-red-ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.button.primary {
  background: var(--ember-red-ink);
  color: var(--warm-cream);
}

.button.secondary {
  background: var(--warm-cream);
  border-color: var(--deep-ember);
  color: var(--deep-ember);
}

.button.dark {
  background: var(--deep-ember);
  color: var(--warm-cream);
}

.button:focus,
.menu-button:focus,
a:focus {
  outline: 3px solid var(--clear-blue-ink);
  outline-offset: 3px;
}

.section {
  padding: 52px 16px;
}

.section.alt {
  background: var(--warm-cream);
}

.section.dark {
  background: var(--deep-ember);
  color: var(--warm-cream);
}

.container {
  width: min(100%, calc(100vw - 32px));
  max-width: var(--container);
  margin: 0 auto;
}

.section > .container {
  width: calc(100vw - 64px);
  max-width: calc(100vw - 64px);
  margin-left: 0;
  margin-right: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ember-red-ink);
  font-size: 0.86rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Liquid Unflow", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  font-size: clamp(1.78rem, 7.2vw, 4.9rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 6vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

.lede {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.brand-script {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--deep-ember);
  font-family: "Brivela", Georgia, serif;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  line-height: 1.05;
  transform: rotate(-1deg);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.hero {
  padding-top: 34px;
}

.hero .eyebrow {
  margin-bottom: 0;
  padding-bottom: clamp(18px, 3vw, 26px);
}

.hero h1,
.hero .lede,
.hero .brand-script,
.hero .actions,
.hero .quick-facts,
.hero .hero-logo {
  width: 100%;
  max-width: 300px;
}

.hero-grid {
  display: grid;
  gap: 30px;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-logo {
  width: min(460px, 100%);
  margin: 0 auto;
}

.headshot {
  width: min(330px, 82vw);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 30px;
}

.fact {
  min-height: 72px;
  padding: 14px;
  border-left: 6px solid var(--ember-red);
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card.green {
  border-top: 6px solid var(--leaf-green);
}

.card.blue {
  border-top: 6px solid var(--clear-blue);
}

.card.red {
  border-top: 6px solid var(--ember-red);
}

.card.chartreuse {
  border-top: 6px solid var(--chartreuse);
}

.card p,
.detail-list p {
  margin: 8px 0 0;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.detail {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.list {
  display: grid;
  gap: 8px;
  padding-left: 1.1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill {
  padding: 8px 12px;
  background: var(--warm-cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.notice {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed var(--deep-ember);
  border-radius: var(--radius);
  background: var(--warm-cream);
}

.contact-panel {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

@media (max-width: 659px) {
  #client-access .contact-panel {
    gap: 42px;
  }
}

.map-embed {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.map-actions {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--warm-cream);
}

.map-actions .button {
  width: 100%;
}

.site-footer {
  padding: 44px 16px 96px;
  background: var(--deep-ember);
  color: var(--warm-cream);
}

.footer-grid {
  display: grid;
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-logo {
  width: min(260px, 80vw);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.footer-brand {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.footer-verification {
  min-height: 72px;
}

.footer-verification .sx-verified-seal {
  display: inline-block;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--warm-cream);
  text-decoration: none;
}

.sticky-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: block;
  min-height: 65px;
  background: var(--deep-ember);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-actions a {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  flex: none;
  width: 33.3333%;
  max-width: 33.3333%;
  min-width: 0;
  min-height: 64px;
  place-items: center;
  padding: 8px 4px;
  color: var(--warm-cream);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.sticky-actions a:nth-child(1) {
  left: 0;
}

.sticky-actions a:nth-child(2) {
  left: 33.3333%;
}

.sticky-actions a:nth-child(3) {
  left: 66.6666%;
}

.sticky-actions span {
  font-size: 1.2rem;
  line-height: 1;
}

body.spwidget--no-scroll .sticky-actions {
  display: none;
}

@media (min-width: 660px) {
  body {
    padding-bottom: 0;
  }

  .section > .container {
    width: min(100%, calc(100vw - 48px));
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero h1,
  .hero .lede,
  .hero .brand-script,
  .hero .actions,
  .hero .quick-facts,
  .hero .hero-logo {
    max-width: 100%;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-actions {
    display: none;
  }
}

@media (min-width: 900px) {
  .mobile-logo {
    display: none;
  }

  .desktop-logo {
    display: block;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 14px 24px;
  }

  .menu-button {
    display: none;
  }

  .site-nav,
  .site-nav[data-open] {
    display: flex;
    grid-column: auto;
    gap: 22px;
    align-items: center;
    justify-content: center;
    border-top: 0;
    padding-top: 0;
  }

  .site-nav a {
    padding: 4px 0;
  }

  .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .header-actions .button {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.92rem;
  }

  .section {
    padding: 78px 24px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
