.sc-home {
  --sc-ink: #2c2a2f;
  --sc-paper: #f7f4ef;
  --sc-tint: #ece5da;
  --sc-accent: #9b5338;
  --sc-gutter: clamp(1.25rem, 5vw, 5rem);
  color: var(--sc-ink);
  background: var(--sc-paper);
  font-family: system-ui, sans-serif;
}

:where(.sc-home) :where(h1, h2, h3) {
  font-family: Newsreader, Georgia, serif;
  font-weight: 450;
  line-height: 1.08;
  margin: 0 0 0.24em;
}

:where(.sc-home) :where(h1) { font-size: clamp(2.7rem, 6.4vw, 6rem); }
:where(.sc-home) :where(h2) { font-size: clamp(2.1rem, 4.8vw, 4rem); }
:where(.sc-home) :where(h3) { font-size: clamp(1.45rem, 2.3vw, 2rem); }
:where(.sc-home) :where(p) { margin: 0 0 0.8em; }
:where(.sc-home) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.sc-home) :where(figure) { margin: 0; }
:where(.sc-home) :where(a) { color: var(--sc-accent); }
:where(.sc-home) :where([id]) { scroll-margin-top: 7rem; }

.sc-home .wp-block-button__link {
  border-radius: 999px;
  padding: 0.75em 1.2em;
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.sc-home .wp-block-button__link:not(.has-background) { background-color: var(--sc-accent); }
.sc-home .wp-block-button__link:not(.has-text-color) { color: white; }

:where(.sc-home) :where(.wp-block-button__link):hover { text-decoration: underline; }
:where(.sc-home) :where(.wp-block-buttons) { display: flex; flex-wrap: wrap; gap: 0.58rem; }
:where(.sc-home) :where(.sc-small-button .wp-block-button__link) { font-size: 0.82rem; }

.sc-home .sc-nav, .sc-home .sc-brand { display: flex; align-items: center; gap: 0.75rem; }
.sc-home .sc-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.7rem min(3vw, 2rem);
  background: var(--sc-paper);
  box-shadow: 0 1px 0 #2c2a2f18;
}

.admin-bar .sc-home .sc-nav { top: 32px; }
.sc-home .sc-brand :where(p, h3) { margin: 0; font-family: Newsreader, Georgia, serif; font-size: 1.22rem; }
.sc-home .sc-brand .sc-logo { width: 2.8rem; flex: 0 0 2.8rem; }
.sc-home .sc-nav-links .wp-block-button__link:not(.has-background) { background: none; }
.sc-home .sc-nav-links .wp-block-button__link:not(.has-text-color) { color: inherit; }
.sc-home .sc-nav-links .wp-block-button__link { padding: 0.35em 0.5em; }
.sc-home .sc-nav-links { gap: 0; }

:where(.sc-video-panel) {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 28rem;
  color: white;
  background: #303b31;
}

:where(.sc-hero) { min-height: min(48rem, 88svh); }
:where(.sc-video-panel) :where(.sc-background-video) { position: absolute; z-index: -2; inset: 0; margin: 0; }
:where(.sc-background-video) :where(video) { display: block; width: 100%; height: 100%; object-fit: cover; }
:where(.sc-video-panel)::after { position: absolute; z-index: -1; inset: 0; background: #212620a8; content: ''; }
:where(.sc-video-copy) { max-width: 66rem; margin: 0 auto; padding: 3.5rem var(--sc-gutter); text-align: center; }
:where(.sc-video-copy) :where(p:not(.sc-eyebrow)) { max-width: 44rem; margin-inline: auto; }
:where(.sc-video-copy) :where(.wp-block-buttons) { justify-content: center; margin-top: 1.15rem; }

:where(.sc-section, .sc-footer) { padding: clamp(3rem, 7vw, 6rem) var(--sc-gutter); }
:where(.sc-section) > :where(:not(.sc-split, .sc-grid)) { max-width: 55rem; }
:where(.sc-tint) { background: var(--sc-tint); }
:where(.sc-letter) { text-align: center; }
:where(.sc-letter) > :where(*) { margin-inline: auto; }
:where(.sc-letter) :where(.wp-block-list) { width: fit-content; text-align: left; }
:where(.sc-letter) :where(.wp-block-image img) { width: 5rem; height: 5rem; margin: 1rem auto 0; object-fit: cover; border-radius: 50%; }
:where(.sc-eyebrow) { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.73rem; font-weight: 650; }
:where(.sc-quote) { font: italic 1.36rem/1.45 Newsreader, Georgia, serif; }
:where(.sc-stat) { font-weight: 650; }

.sc-home .sc-split, .sc-home .sc-grid { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.sc-home .sc-split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.sc-home .sc-grid { margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(16.5rem, 100%), 1fr)); }
:where(.sc-feature-image) :where(img) { width: 100%; max-height: 31rem; object-fit: cover; border-radius: 1.15rem; }
:where(.sc-portrait) :where(img) { object-position: 50% 32%; }
:where(.sc-card, .sc-faq .wp-block-details) { padding: clamp(1.1rem, 2.6vw, 1.8rem); background: #fffdf8; border: 1px solid #2c2a2f18; border-radius: 1rem; }
:where(.sc-card) :where(.wp-block-buttons) { margin-top: 0.9rem; }
:where(.sc-media-card) { padding: 0; overflow: hidden; }
:where(.sc-card-copy) { padding: 1.3rem; }
:where(.sc-card-image img) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
:where(.sc-callout) { margin-top: 1.6rem; }
:where(.sc-faq) { display: grid; gap: 0.65rem; margin-top: 1.4rem; }
:where(.sc-faq summary) { cursor: pointer; font-weight: 650; }
:where(.sc-faq details) :where(p) { margin: 0.8rem 0 0; }
:where(.sc-footer) { background: var(--sc-ink); color: var(--sc-paper); }
:where(.sc-footer) :where(p) { max-width: 42rem; }
:where(.sc-footer) :where(.sc-brand, .wp-block-buttons) { margin-bottom: 1rem; }

@media (max-width: 782px) {
  .admin-bar .sc-home .sc-nav { top: 46px; }
  .sc-home .sc-nav-links { flex-basis: 100%; order: 1; }
  .sc-home .sc-nav-links .wp-block-button__link { font-size: 0.78rem; }
  .sc-home .sc-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .sc-home .sc-nav { position: static; }
  :where(.sc-home) :where([id]) { scroll-margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.sc-video-panel) :where(.sc-background-video) { display: none; }
}

.editor-styles-wrapper :where(.sc-video-panel, .sc-background-video),
.editor-styles-wrapper .sc-home .sc-nav { position: static; }
.editor-styles-wrapper :where(.sc-video-panel) { display: block; min-height: 0; }
.editor-styles-wrapper :where(.sc-video-panel)::after { display: none; }
