:root {
  --bg: #f4f4f4;
  --bg-white: #ffffff;
  --ink: #2b2c2d;
  --ink-strong: #262626;
  --muted: rgba(43, 44, 45, 0.75);
  --button: #b7aca2;
  --button-text: #262626;
  --button-dark: #797068;
  --sand: #c2b7ac;
  --scheme5: #323841;
  --footer: #1c2228;
  --link: #001128;
  --line: rgba(43, 44, 45, 0.14);
  --radius: 6px;
  --media-radius: 8px;
  --page: 1200px;
  --font-body: "Jost", sans-serif;
  --font-heading: "DM Sans", sans-serif;
  --header-h: 6.4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  box-sizing: border-box;
  font-size: 62.5%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06rem;
  line-height: 1.8;
}

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

a { color: var(--link); }

h1, h2, h3, h4,
[id] {
  scroll-margin-top: 10rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.06rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }

@media screen and (min-width: 750px) {
  h1 { font-size: 4.2rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 2rem; }
}

p { margin: 0 0 1.4rem; }

main { flex: 1; }

.page-width {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media screen and (min-width: 750px) {
  .page-width { padding-left: 5rem; padding-right: 5rem; }
}

.narrow { max-width: 78rem; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.8rem 1.2rem;
  overflow: visible;
  clip: auto;
  background: #fff;
  color: var(--ink);
  z-index: 100;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 0.2rem solid var(--link);
  outline-offset: 0.2rem;
}

.announcement {
  background: var(--scheme5);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
}

.announcement p {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.08rem;
  color: #fff;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-bottom: 0.1rem solid rgba(43, 44, 45, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 4.4rem 1fr 4.4rem;
  align-items: center;
  min-height: var(--header-h);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

html:not(.js) .header-inner {
  display: block;
}

html:not(.js) .nav-toggle { display: none; }

html:not(.js) .logo { display: inline-flex; margin: 0.8rem 0; }

.logo {
  justify-self: center;
  display: flex;
  align-items: center;
}

.logo img { height: 3.8rem; width: auto; }

.nav-toggle {
  justify-self: start;
  width: 4.4rem;
  height: 4.4rem;
  margin-left: -1.2rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.8rem;
  height: 0.15rem;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -0.55rem; }
.nav-toggle__bars::after { top: 0.55rem; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: static;
  width: auto;
  background: transparent;
}

.js .site-nav {
  display: none;
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  width: min(36rem, 88vw);
  background: var(--bg);
  border-right: 0.1rem solid var(--line);
  padding: 2rem 0 3rem;
  overflow: auto;
}

.js .site-nav.is-open { display: block; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 17, 40, 0.35);
  z-index: 35;
}

.nav-backdrop.is-open { display: block; }

.nav-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a,
.nav-row {
  display: flex;
  align-items: center;
}

.nav-list a {
  color: rgba(43, 44, 45, 0.85);
  text-decoration: none;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  display: flex;
  flex: 1;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  color: var(--ink);
}

.nav-row { padding-right: 1rem; }

.sub-toggle {
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.sub-toggle span {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 auto;
  border-right: 0.15rem solid currentColor;
  border-bottom: 0.15rem solid currentColor;
  transform: rotate(45deg) translate(-0.1rem, -0.1rem);
}

.has-sub.is-open .sub-toggle span { transform: rotate(225deg) translate(-0.1rem, -0.1rem); }

.submenu { display: none; padding: 0 0 0.8rem 1.6rem; }
.has-sub.is-open .submenu { display: block; }
.submenu a { font-size: 1.5rem; padding: 0.9rem 2rem; }

@media screen and (min-width: 990px) {
  .header-inner {
    display: flex;
    gap: 1rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .nav-toggle,
  .nav-backdrop,
  .sub-toggle { display: none; }

  .logo { justify-self: auto; }

  .js .site-nav,
  .site-nav {
    display: block;
    position: static;
    width: auto;
    inset: auto;
    border: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-list > li { position: relative; }

  .nav-list a {
    font-size: 1.4rem;
    padding: 1.1rem 1.3rem;
  }

  .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 24rem;
    padding: 0.6rem 0;
    background: var(--bg-white);
    border-radius: var(--media-radius);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 17, 40, 0.08);
    opacity: 0;
    visibility: hidden;
    z-index: 5;
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
  }

  .submenu a { padding: 0.8rem 1.6rem; white-space: nowrap; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0 3rem;
  border-radius: var(--radius);
  border: 0.1rem solid var(--button);
  background: var(--button);
  color: var(--button-text);
  font-family: inherit;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button:hover { background: #a89d93; border-color: #a89d93; }

.button--secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.button--secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.button--dark {
  background: var(--button-dark);
  border-color: var(--button-dark);
  color: #fff;
}

.button--dark:hover { background: #655e57; border-color: #655e57; color: #fff; }

.button--light {
  background: #fdfdfd;
  border-color: #fdfdfd;
  color: var(--ink-strong);
}

.button--light:hover { background: #fff; color: var(--ink-strong); }

.text-link {
  color: var(--link);
  text-underline-offset: 0.25rem;
}

.slideshow { background: #111; }

.slideshow__viewport {
  position: relative;
  height: 42rem;
  overflow: hidden;
}

@media screen and (min-width: 750px) {
  .slideshow__viewport { height: 56rem; }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.slide.is-active { opacity: 1; visibility: visible; }

.slide__media,
.slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.4;
}

.slide__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media screen and (min-width: 750px) {
  .slide__content {
    text-align: left;
    align-items: flex-start;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.slide__content h2 {
  color: #fff;
  font-size: 3rem;
  max-width: 54rem;
  margin-bottom: 1rem;
}

@media screen and (min-width: 750px) {
  .slide__content h2 { font-size: 4.2rem; }
}

.slide__content p {
  color: #fff;
  font-size: 1.6rem;
  max-width: 48rem;
  margin-bottom: 0;
}

.slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

@media screen and (min-width: 750px) {
  .slide__actions { justify-content: flex-start; }
}

.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--bg);
  color: var(--ink);
  border-top: 0.1rem solid rgba(43, 44, 45, 0.08);
  min-height: 4.6rem;
  position: relative;
}

.slider-button,
.autoplay {
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  background: transparent;
  color: rgba(43, 44, 45, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-button svg { width: 1rem; height: 0.6rem; }
.slider-button--prev svg { transform: rotate(90deg); }
.slider-button--next svg { transform: rotate(-90deg); }

.slider-counter {
  font-size: 1.3rem;
  letter-spacing: 0.08rem;
  min-width: 6rem;
  text-align: center;
  color: var(--ink);
}

.autoplay { position: absolute; right: 0.4rem; }
.autoplay svg { width: 1rem; height: 1.2rem; }
.autoplay .icon-play { display: none; }
.autoplay.is-paused .icon-pause { display: none; }
.autoplay.is-paused .icon-play { display: block; }

.section { padding: 4.8rem 0; }
@media screen and (min-width: 750px) { .section { padding: 6.4rem 0; } }

.section--white { background: var(--bg-white); }
.section--sand { background: var(--sand); color: rgba(38, 38, 38, 0.82); }
.section--sand h2,
.section--sand h3 { color: var(--ink-strong); }

.lede {
  font-size: 1.7rem;
  max-width: 68rem;
  color: var(--muted);
}

.kicker {
  font-size: 1.3rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--button-dark);
}

.actions { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; align-items: center; margin-top: 2rem; }

.use-grid,
.steps,
.split {
  display: grid;
  gap: 1.6rem;
}

@media screen and (min-width: 750px) {
  .use-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
}

.use-card {
  background: var(--bg-white);
  border-radius: var(--media-radius);
  overflow: hidden;
}

.section--white .use-card { background: var(--bg); }

.use-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.use-card__body { padding: 1.8rem 1.8rem 2rem; }
.use-card h3 { margin-bottom: 0.6rem; }
.use-card h3 a { color: inherit; text-decoration: none; }
.use-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.2rem; }
.use-card p { margin-bottom: 1rem; }
.use-card .sister { font-size: 1.4rem; }

.step-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--button-dark);
  margin-bottom: 0.6rem;
}

.page-intro { padding: 3.6rem 0 0.4rem; }
.page-intro .lede { margin-bottom: 0; }

.prose { max-width: 74rem; }
.prose h2 { margin-top: 3.2rem; }
.prose ul { margin: 0 0 1.6rem; padding-left: 1.8rem; }
.prose li { margin: 0.4rem 0; }

.service-block {
  padding-top: 3.2rem;
  margin-top: 1rem;
  border-top: 0.1rem solid var(--line);
}

.service-block:first-of-type { border-top: 0; padding-top: 0; }

.link-row { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin-top: 1.2rem; }

.sister-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

@media screen and (min-width: 750px) {
  .sister-list { grid-template-columns: 1fr 1fr; }
}

.sister-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.2rem;
  padding: 1.2rem 1.6rem;
  background: var(--bg-white);
  border-radius: var(--media-radius);
  text-decoration: none;
  color: var(--ink);
}

.sister-list a:hover { text-decoration: underline; text-underline-offset: 0.2rem; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin: 0 0 1rem; }
.contact-list a { color: var(--ink); }

.note {
  background: var(--bg-white);
  border-radius: var(--media-radius);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
}

form.intake {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.fields {
  display: grid;
  gap: 1.4rem;
}

@media screen and (min-width: 750px) {
  .fields--2 { grid-template-columns: 1fr 1fr; }
}

label.field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 1.4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 0.1rem solid rgba(43, 44, 45, 0.55);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.04rem;
  padding: 1.3rem 1.4rem;
  min-height: 4.6rem;
}

textarea { min-height: 14rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 0.2rem solid var(--button-dark);
  outline-offset: 0.1rem;
  border-color: var(--button-dark);
}

.optin {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 0.1rem solid var(--line);
  border-radius: var(--media-radius);
  padding: 1.4rem;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.55;
  letter-spacing: 0.03rem;
}

.optin input { width: auto; margin-top: 0.3rem; min-height: 0; }

.form-status { min-height: 1.6em; color: var(--ink); font-size: 1.5rem; }
.form-status.is-error { color: #8a2a24; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.6rem 0 2.4rem;
  margin-top: auto;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2rem; }
.site-footer p { color: rgba(255, 255, 255, 0.82); }

.footer-grid {
  display: grid;
  gap: 2.4rem;
}

@media screen and (min-width: 750px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; }
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.45rem 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
}

.site-footer :focus-visible { outline-color: #fff; }

.legal h2 {
  font-size: 1.8rem;
  margin-top: 2.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 0.2rem solid var(--button);
}

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