:root {
  --type-nav: 15px;
  --type-brand: 20px;
  --type-page-title: clamp(52px, 4.3vw, 72px);
  --type-page-title-mobile: clamp(40px, 12vw, 52px);
  --type-section-title: clamp(40px, 3.7vw, 56px);
  --type-section-title-mobile: 38px;
  --type-lead: 18px;
  --type-body: 17px;
  --type-body-mobile: 16px;
  --type-eyebrow: 12px;
  --type-small: 15px;
  --type-ui: 16px;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 0;
  overflow-x: clip;
}

body.pencil-page--warm {
  background-color: #faf9f5;
}

body.pencil-page--brand {
  background-color: #f7fcfe;
}

/* Keep the Pencil desktop canvas as the centered content container. */
.pencil-page {
  width: min(100%, 1440px) !important;
  min-height: 100%;
  margin-inline: auto;
  overflow: visible !important;
}

/* Direct page sections own the full-width background; the canvas owns content. */
.pencil-page > .pencil-full-bleed {
  isolation: isolate;
}

.pencil-page > .pencil-full-bleed--static {
  position: relative;
}

.pencil-page > .pencil-full-bleed::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc((1440px - 100vw) / 2);
  width: 100vw;
  content: "";
  background-color: var(--pencil-section-background);
}

.pencil-link {
  color: inherit;
  text-decoration: none;
}

/* One canonical desktop navigation metric for every Pencil page. */
.pencil-page > [data-pencil-name="Navigation"],
.pencil-page > [data-pencil-name="About Navigation"],
.pencil-page > [data-pencil-name="Global Nav"],
.pencil-page > [data-pencil-name="bulimumu Navigation"],
.pencil-page > [data-pencil-name="Contact Navigation"] {
  height: 88px !important;
  padding-inline: 64px !important;
}

.pencil-page [data-pencil-name="Company Logo"],
.pencil-page [data-pencil-name="About Nav Logo"] {
  width: 69px !important;
  height: 49px !important;
}

.pencil-page [data-pencil-name="About Nav Brand"] {
  width: fit-content !important;
  height: 49px !important;
}

.pencil-page [data-pencil-name="Logo Text"],
.pencil-page [data-pencil-name="About Nav Brand Text"] {
  font-size: 20px !important;
  line-height: 24px !important;
}

.pencil-page [data-pencil-name*="Nav Item"] {
  font-size: 15px !important;
  line-height: 21px !important;
}

/* Contact is the only page whose following section is absolutely positioned. */
.pencil-page > [data-pencil-name="Contact Hero"] {
  top: 88px !important;
}

@media (max-width: 767px) {
  .pencil-page > [data-pencil-name*="Navigation"],
  .pencil-page > [data-pencil-name="Global Nav"],
  .pencil-page > [data-pencil-name="Contact Navigation"] {
    height: auto !important;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 12px !important;
    padding-inline: 20px !important;
  }

  .pencil-page [data-pencil-name$="Nav Links"] {
    flex-wrap: wrap;
    gap: 10px 16px !important;
  }

  .pencil-page img,
  .pencil-page svg {
    max-width: 100%;
  }
}

/* Semantic shell shared by rebuilt pages. Legacy Pencil selectors above remain unchanged. */
body.site-page-body {
  min-width: 0;
  background: var(--site-bg, #faf9f5);
  color: var(--site-text, #141413);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  overflow-x: clip;
}

body.site-page-body *,
body.site-page-body *::before,
body.site-page-body *::after {
  box-sizing: border-box;
}

body.site-page-body img {
  display: block;
  max-width: 100%;
}

body.site-page-body a {
  color: inherit;
  text-decoration: none;
}

body.site-page-body button,
body.site-page-body a {
  -webkit-tap-highlight-color: transparent;
}

body.site-menu-open {
  overflow: hidden;
}

.pencil-page.site-page {
  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  overflow: clip !important;
  background: var(--site-bg, #faf9f5);
}

site-header {
  display: contents;
}

.container {
  width: min(calc(100% - 96px), var(--site-content, 1312px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--site-text, #141413);
  color: #ffffff !important;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(221, 212, 202, 0.86);
  background: rgba(250, 249, 245, 0.94);
  box-shadow: 0 1px 3px rgba(20, 20, 19, 0.06);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 40px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-size: var(--type-brand);
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
}

.site-brand img {
  width: 69px;
  height: 49px;
  object-fit: contain;
}

.site-nav,
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__menu .menu-item {
  list-style: none;
}

.site-nav__link,
.site-nav__menu a {
  position: relative;
  display: block;
  padding-block: 12px;
  color: #3d3d3a;
  font-size: var(--type-nav);
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav__link::after,
.site-nav__menu a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active,
.site-nav__menu a:hover,
.site-nav__menu a:focus-visible,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current-menu-ancestor > a,
.site-nav__menu .current_page_item > a {
  color: var(--site-accent, #cc785c);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after,
.site-nav__menu a:hover::after,
.site-nav__menu a:focus-visible::after,
.site-nav__menu .current-menu-item > a::after,
.site-nav__menu .current-menu-ancestor > a::after,
.site-nav__menu .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--site-line, #ddd4ca);
  border-radius: 50%;
  background: transparent;
  color: var(--site-text, #141413);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-footer {
  padding-top: 72px;
  background: var(--site-footer, #181715);
  color: #faf9f5;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 80px;
}

.site-footer h2 {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer .site-footer__brand {
  margin-bottom: 16px;
  font-size: 25px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: #c9c5bb;
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
}

.site-footer__grid > div > p {
  max-width: 370px;
  margin: 0;
}

.site-footer__nav,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu .menu-item {
  list-style: none;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.site-footer__bottom {
  margin-top: 64px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(250, 249, 245, 0.24);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.site-page-body :focus-visible {
  outline: 3px solid rgba(204, 120, 92, 0.5);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .container {
    width: min(calc(100% - 48px), 960px);
  }

  .site-nav {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    height: 88px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 48px));
    padding: 12px;
    border: 1px solid var(--site-line, #ddd4ca);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(20, 20, 19, 0.14);
  }

  .js .site-nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav.is-open .site-nav__menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .js .site-nav__link,
  .js .site-nav__menu a {
    padding: 13px 14px;
  }

  .js .site-nav__link::after,
  .js .site-nav__menu a::after {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__grid > div:first-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-brand span {
    font-size: 18px;
  }

  .site-brand img {
    width: 58px;
    height: 42px;
  }

  .js .site-nav {
    width: calc(100vw - 32px);
  }

  .site-footer {
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

