:root {
  --yb-ivory: #F6F1E8;
  --yb-navy: #1F2A37;
  --yb-sage: #9BAF9A;
  --yb-sand: #E2DDD2;
  --yb-terra: #B85C43;
  --yb-terra-dark: #91452F;
}

.yb-site-header,
.yb-site-footer,
.yb-utility-bar {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

.yb-site-header *,
.yb-site-footer *,
.yb-utility-bar * {
  box-sizing: border-box;
}

.yb-container {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.yb-skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--yb-navy);
}

.yb-skip-link:focus {
  top: 10px;
}

.yb-site-header :focus-visible,
.yb-utility-bar :focus-visible,
.yb-skip-link:focus-visible {
  outline: 3px solid var(--yb-navy);
  outline-offset: 3px;
}

.yb-site-footer :focus-visible {
  outline: 3px solid var(--yb-ivory);
  outline-offset: 3px;
}

.yb-utility-bar {
  color: var(--yb-ivory);
  background: var(--yb-navy);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yb-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 32px;
}

.yb-utility-inner span:last-child { opacity: .76; }

.yb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--yb-navy);
  background: rgba(246, 241, 232, .96);
  border-bottom: 1px solid rgba(31, 42, 55, .1);
  backdrop-filter: blur(14px);
}

.yb-site-header.is-scrolled { box-shadow: 0 8px 28px rgba(31, 42, 55, .09); }

.yb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}

.yb-site-header a,
.yb-site-footer a {
  color: inherit;
  text-decoration: none;
}

.yb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.yb-header-logo {
  display: block;
  width: 210px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.yb-footer-logo {
  display: block;
  width: 210px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}

.yb-brand-mark {
  width: 38px;
  height: 42px;
  flex: none;
  color: var(--yb-navy);
}

.yb-brand-name {
  display: block;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
}

.yb-brand-sub {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  opacity: .67;
}

.yb-desktop-nav { margin-left: auto; }

.yb-nav-list,
.yb-mobile-nav-list,
.yb-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yb-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.yb-nav-list a {
  display: inline-block;
  padding-block: 12px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.yb-nav-list a:hover,
.yb-nav-list .current-menu-item > a { color: var(--yb-terra-dark); }

.yb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}

.yb-button:hover { transform: translateY(-2px); }
.yb-button:active { transform: translateY(0); }
.yb-site-header .yb-button-primary,
.yb-site-footer .yb-button-primary { color: #fff; background: var(--yb-terra); }
.yb-site-header .yb-button-primary:hover,
.yb-site-footer .yb-button-primary:hover { color: #fff; background: var(--yb-terra-dark); }
.yb-site-footer .yb-button-light { color: var(--yb-navy); background: var(--yb-ivory); }
.yb-site-footer .yb-button-light:hover { color: var(--yb-navy); background: #fff; }
.yb-button svg { width: 17px; height: 17px; flex: none; }

.yb-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--yb-navy);
  cursor: pointer;
}

.yb-menu-toggle svg { width: 25px; height: 25px; }
.yb-mobile-menu[hidden] { display: none; }

.yb-site-footer {
  padding: 70px 0 28px;
  color: var(--yb-ivory);
  background: var(--yb-navy);
}

.yb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
}

.yb-site-footer .yb-brand-mark { color: var(--yb-ivory); }

.yb-footer-brand p {
  max-width: 34ch;
  margin: 22px 0;
  color: #d9dede;
  font-size: 14px;
  line-height: 1.65;
}

.yb-footer-grid h2 {
  margin: 6px 0 18px;
  color: var(--yb-sage);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.yb-site-footer ul { display: grid; gap: 10px; }
.yb-site-footer li { color: #d9dede; font-size: 14px; line-height: 1.5; }
.yb-site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.yb-footer-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.yb-footer-subheading { margin-top: 30px !important; }

.yb-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 232, .16);
  color: #c2c9c9;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .yb-nav-list { gap: 15px; }
  .yb-nav-list a { font-size: 14px; }
}

@media (max-width: 860px) {
  .yb-desktop-nav, .yb-header-cta { display: none; }
  .yb-menu-toggle { display: inline-flex; }
  .yb-mobile-menu { border-top: 1px solid #c9c8c1; background: var(--yb-ivory); }
  .yb-mobile-menu nav { padding: 13px 0 22px; }
  .yb-mobile-nav-list a { display: block; padding: 10px 0; font-size: 15px; font-weight: 700; }
  .yb-mobile-actions { margin-top: 6px; border-top: 1px solid #c9c8c1; }
  .yb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 861px) {
  .yb-mobile-menu { display: none; }
}

@media (max-width: 600px) {
  .yb-container { width: min(calc(100% - 40px), 1240px); }
  .yb-utility-inner { justify-content: center; }
  .yb-utility-inner span:last-child { display: none; }
  .yb-header-inner { height: 68px; }
  .yb-header-logo { width: 190px; height: 58px; }
  .yb-footer-logo { width: 190px; height: 58px; }
  .yb-brand-name { font-size: 17px; }
  .yb-brand-mark { width: 33px; height: 37px; }
  .yb-footer-grid { gap: 30px; }
  .yb-footer-brand { grid-column: 1 / -1; }
  .yb-footer-bottom { display: block; }
  .yb-footer-bottom span { display: block; margin-top: 8px; }
}

@media (max-width: 380px) {
  .yb-footer-grid { grid-template-columns: 1fr; }
  .yb-footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .yb-button { transition: none; }
}
