:root {
  --site-surface: #ffffff;
  --site-on-surface: #1e1b15;
  --site-on-surface-variant: #5b403b;
  --site-secondary: #635e55;
  --site-primary: #a50500;
  --site-primary-container: #c92818;
  --site-on-primary: #ffffff;
  --site-surface-alt: #f7f8fa;
  --site-max: 1320px;
  --site-margin-mobile: 20px;
  --site-margin-desktop: 48px;
  --site-header-utility-height: 38px;
  --site-header-height: 100px;
  --site-header-height-scrolled: 72px;
  --site-header-total-height: calc(var(--site-header-utility-height) + var(--site-header-height));
  --site-header-total-height-scrolled: var(--site-header-height-scrolled);
  --site-logo-height: 68px;
  --site-logo-height-scrolled: 42px;
  --site-font-head: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-wrap {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding-left: var(--site-margin-mobile);
  padding-right: var(--site-margin-mobile);
}

@media (min-width: 768px) {
  .site-wrap {
    padding-left: var(--site-margin-desktop);
    padding-right: var(--site-margin-desktop);
  }
}

/* Header is in document flow (not fixed), so only a small breathing gap is needed. */
.has-site-header:not(.home) #content {
  padding-top: 1.25rem;
}

body.is-scrolled.has-site-header:not(.home) #content {
  padding-top: 1.25rem;
}

/* ========== HEADER ========== */
.site-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 100;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f7 100%);
  border-bottom: 1px solid rgba(30, 27, 21, 0.08);
  box-shadow: 0 4px 24px rgba(30, 27, 21, 0.06);
  font-family: var(--site-font-body);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header__utility {
  display: none;
  background: #1e1b15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: var(--site-header-utility-height);
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) {
  .site-header__utility {
    display: block;
  }
}

.site-header.is-scrolled .site-header__utility {
  max-height: 0;
  opacity: 0;
  border-bottom-width: 0;
}

.site-header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--site-header-utility-height);
}

.site-header__utility-nav .site-header__menu {
  justify-content: flex-end;
  gap: 1.5rem;
}

.site-header__utility-nav .site-header__menu > li > a {
  padding: 0.45rem 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.site-header__utility-nav .site-header__menu > li > a:hover,
.site-header__utility-nav .site-header__menu > li > a:focus,
.site-header__utility-nav .site-header__menu > .current-menu-item > a,
.site-header__utility-nav .site-header__menu > .current_page_item > a {
  color: #ffffff;
  text-decoration: none;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 28px rgba(30, 27, 21, 0.1);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--site-header-height);
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .site-header__bar {
  min-height: var(--site-header-height-scrolled);
}

.site-header__logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: var(--site-logo-height);
  transition: height 0.3s ease;
}

.site-header.is-scrolled .site-header__logo img {
  height: var(--site-logo-height-scrolled);
}

.site-header__nav {
  display: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .site-header__nav {
    display: flex;
    justify-content: flex-end;
  }
}

.site-header__menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-header__menu::-webkit-scrollbar {
  display: none;
}

.site-header__menu > li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-family: var(--site-font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  color: var(--site-on-surface);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header__nav .site-header__menu > li > a:hover,
.site-header__nav .site-header__menu > li > a:focus {
  color: var(--site-primary-container);
  background: rgba(201, 40, 24, 0.07);
  text-decoration: none;
}

.site-header__nav .site-header__menu > .current-menu-item > a,
.site-header__nav .site-header__menu > .current_page_item > a,
.site-header__nav .site-header__menu > .active > a {
  color: var(--site-primary-container);
  background: rgba(201, 40, 24, 0.1);
}

.site-header__nav .site-header__menu > .site-header__menu-cta > a {
  margin-left: 0.25rem;
  padding: 0.55rem 1.15rem;
  background: var(--site-primary-container);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(201, 40, 24, 0.28);
}

.site-header__nav .site-header__menu > .site-header__menu-cta > a:hover,
.site-header__nav .site-header__menu > .site-header__menu-cta > a:focus,
.site-header__nav .site-header__menu > .site-header__menu-cta.current-menu-item > a,
.site-header__nav .site-header__menu > .site-header__menu-cta.current_page_item > a {
  background: var(--site-primary);
  color: #ffffff;
}

.site-header__panel-nav .site-header__menu > .site-header__menu-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--site-primary-container);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(201, 40, 24, 0.28);
}

.site-header__panel-nav .site-header__menu > .site-header__menu-cta > a:hover,
.site-header__panel-nav .site-header__menu > .site-header__menu-cta > a:focus {
  background: var(--site-primary);
  color: #ffffff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 40, 24, 0.18);
  border-radius: 999px;
  background: rgba(201, 40, 24, 0.06);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header__toggle:hover,
.site-header__toggle:focus {
  background: rgba(201, 40, 24, 0.12);
  border-color: rgba(201, 40, 24, 0.35);
}

.site-header__toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--site-on-surface);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) {
  .site-header__toggle {
    display: none;
  }
}

.site-header.is-open .site-header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.site-header__panel {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  background: rgba(30, 27, 21, 0.45);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-header.is-open .site-header__panel {
  visibility: visible;
  opacity: 1;
}

.site-header__panel-inner {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: min(100%, 420px);
  height: 100%;
  padding: 1.25rem var(--site-margin-mobile) 2rem;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.site-header.is-open .site-header__panel-inner {
  transform: translateX(0);
}

.site-header__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(30, 27, 21, 0.08);
}

.site-header__panel-logo img {
  display: block;
  width: auto;
  height: 36px;
}

.site-header__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 27, 21, 0.06);
  color: var(--site-on-surface);
  cursor: pointer;
}

.site-header__panel-nav .site-header__menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
}

.site-header__panel-nav .site-header__menu > li {
  border-bottom: 1px solid rgba(30, 27, 21, 0.08);
}

.site-header__panel-nav .site-header__menu > li > a {
  padding: 0.95rem 0;
  font-size: 1.05rem;
  white-space: normal;
}

.site-header__panel-nav--utility {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(30, 27, 21, 0.08);
}

.site-header__panel-nav--utility .site-header__menu > li > a {
  font-size: 0.95rem;
  color: var(--site-secondary);
}

.site-header__panel-search .search-form {
  margin: 0;
}

.site-header__panel-search .input-group {
  display: flex;
  width: 100%;
}

.site-header__panel-search .form-control {
  flex: 1;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(30, 27, 21, 0.12);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  font-family: var(--site-font-body);
  font-size: 15px;
}

.site-header__panel-search .search {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(30, 27, 21, 0.12);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--site-surface-alt);
  cursor: pointer;
}

.site-header__panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: var(--site-primary-container);
  border: 1px solid var(--site-primary-container);
  font-family: var(--site-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.site-header__panel-cta:hover,
.site-header__panel-cta:focus {
  background: var(--site-primary);
  border-color: var(--site-primary);
  color: #ffffff;
  text-decoration: none;
}

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

/* ========== FOOTER ========== */
.site-footer {
  margin-top: auto;
  background: var(--site-on-surface);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .site-footer__main {
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  display: block;
  width: auto;
  height: 40px;
}

.site-footer__tagline {
  margin: 0;
  max-width: 22rem;
  font-family: var(--site-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Full-width band under the 4 columns (outside the grid, same site-wrap width) */
.site-footer__note {
  display: block;
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  clear: both;
}

footer.site-footer .site-footer__note-title,
.site-footer__note-title {
  margin: 0 0 0.85rem;
  font-family: var(--site-font-head);
  font-size: 24px !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  color: #ffffff !important;
}

footer.site-footer .site-footer__note-text,
.site-footer__note-text {
  display: block;
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--site-font-body);
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85) !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-family: var(--site-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

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

.site-footer__menu li + li {
  margin-top: 0.65rem;
}

.site-footer__menu a {
  font-family: var(--site-font-body);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus {
  color: #ffffff;
  text-decoration: none;
}

.site-footer__address {
  margin: 0 0 1rem;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__links-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.site-footer__links-inline a {
  font-family: var(--site-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
}

.site-footer__links-inline a:hover,
.site-footer__links-inline a:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer__logos {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__logos-list img {
  display: block;
  max-height: 42px;
  width: auto;
}

.site-footer__bottom {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.site-header .site-header__menu > li > a,
.site-header .site-header__panel-cta,
.site-footer .site-footer__menu a,
.site-footer .site-footer__links-inline a {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__panel,
  .site-header__panel-inner,
  .site-header__toggle-line {
    transition: none;
  }
}
