/* Navigation, home page, and a quieter shared footer. */
:root {
  --accent: #8b356d;
  --accent-dark: #6d2855;
  --accent-soft: #f3e8ef;
  --header-height: 94px;
}

html { scroll-padding-top: calc(var(--header-height) + 24px); }
:focus-visible { outline-color: var(--accent); }
.wordmark-dot, .eyebrow, .step-number { color: var(--accent); }
.credibility-line { background: var(--accent); }
.text-link:hover, .product-actions a:hover { color: var(--accent); }
.button:not(.button-light) { background: var(--accent); border-color: var(--accent); }
.button:not(.button-light):hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.site-header, html:not(.js-ready) .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ivory);
  box-shadow: 0 3px 18px #2b1c1605;
}
.header-inner { height: calc(var(--header-height) - 1px); gap: 24px; }
.company-logo { display: inline-flex; align-items: center; width: 264px; min-height: 44px; flex-shrink: 0; }
.company-logo img { width: 100%; height: auto; }
.header-branding { display: flex; align-items: center; flex-shrink: 0; gap: 19px; }
.header-branding .company-logo { width: 218px; }
.distributor-lockup { display: flex; align-items: center; gap: 10px; }
.distributor-lockup p { flex: none; width: max-content; color: #66554e; font-size: 10.5px; font-weight: 500; line-height: 1.5; }
.distributor-lockup p span { display: block; white-space: nowrap; }
/* The genuine logo includes transparent edges; trim only that empty space. */
.distributor-lockup a { display: flex; align-items: center; justify-content: center; flex: none; width: 84px; height: 48px; overflow: hidden; }
.distributor-lockup picture { display: flex; align-items: center; }
.distributor-lockup img { display: block; flex: none; width: 94px; max-width: none; height: auto; }
.header-distributor { padding-left: 18px; border-left: 1px solid var(--line); }
.header-distributor a { width: clamp(140px, 11vw, 160px); overflow: visible; }
.header-distributor a img { width: 100%; max-width: 100%; height: auto; }
.header-territory-flags { display: none; }
.header-inner .wordmark > span:first-child { font-size: 42px; }
.desktop-nav { gap: clamp(16px, 1.3vw, 22px); }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.desktop-nav a:not(.nav-contact):hover, .desktop-nav [aria-current=page]:not(.nav-contact) { color: var(--accent); }
.desktop-nav [aria-current=page] { text-decoration-thickness: 2px; }
.site-header .nav-contact { position: relative; isolation: isolate; overflow: hidden; justify-content: center; border: 1px solid #732354; border-radius: 5px; background: linear-gradient(135deg, #91366f, #762752); color: #fffdfa; font-weight: 600; box-shadow: 0 3px 10px #67224920, inset 0 1px 0 #ffffff23; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.desktop-nav .nav-contact { min-height: 44px; padding: 10px 21px; }
.site-header .nav-contact::after { content: ''; position: absolute; z-index: -1; inset: -70% auto -70% -80%; width: 38%; background: linear-gradient(90deg, transparent, #ffffff29, transparent); transform: translateX(0) rotate(22deg); pointer-events: none; animation: contact-sweep 1.2s ease-out .45s 1 both; }
.site-header .nav-contact:hover { color: #fffdfa; background: linear-gradient(135deg, #822c60, #622040); box-shadow: 0 5px 14px #6722492c, inset 0 1px 0 #ffffff2b; transform: translateY(-1px); text-decoration: none; }
.site-header .nav-contact:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.site-header .nav-contact[aria-current=page] { text-decoration: underline; text-underline-offset: 5px; }
@keyframes contact-sweep {
  from { left: -80%; }
  to { left: 150%; }
}
.nav-dropdown { position: relative; }
.nav-dropdown-heading { display: flex; align-items: center; }
.nav-disclosure { display: inline-flex; align-items: center; justify-content: center; width: 30px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; transition: background .16s ease, color .16s ease; }
.nav-chevron { display: block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.nav-disclosure[aria-expanded=true] .nav-chevron { transform: translateY(1px) rotate(225deg); }
.nav-disclosure:hover, .nav-disclosure:focus-visible { color: var(--accent); background: var(--accent-soft); }
.nav-dropdown.is-current-section > .nav-dropdown-heading > a { color: var(--accent); }
.nav-submenu { display: grid; position: absolute; left: -14px; top: 100%; min-width: 234px; padding: 7px; border: 1px solid #decfd7; border-radius: 8px; background: #fffcfa; box-shadow: 0 12px 30px #2b1c1614, 0 2px 6px #2b1c1605; }
.desktop-nav .nav-submenu a { min-height: 46px; padding: 11px 13px; border-radius: 4px; font-size: 12px; transition: background .16s ease, color .16s ease; }
.desktop-nav .nav-submenu a:hover, .desktop-nav .nav-submenu a:focus-visible { background: #f7eff4; text-decoration: none; }
.desktop-nav .nav-submenu [aria-current=page] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 500; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-disclosure, .nav-chevron, .desktop-nav .nav-submenu a, .site-header .nav-contact { transition: none; }
  .site-header .nav-contact::after { display: none; animation: none; }
  .site-header .nav-contact:hover { transform: none; }
}
@media (forced-colors: active) {
  .site-header .nav-contact, .site-header .nav-contact:hover { color: ButtonText; background: ButtonFace; border-color: ButtonText; box-shadow: none; }
  .site-header .nav-contact::after { display: none; }
  .site-header .nav-contact:focus-visible { outline-color: Highlight; }
}
.hero-copy h1 { margin-top: 0; }
.hero-copy h1 > em { color: var(--accent); }

.brand-value { padding-block: 76px; background: var(--accent-soft); border-block: 1px solid #e4d1de; }
.brand-value-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.brand-value-intro h2 { max-width: 550px; margin-top: 17px; }
.brand-value-intro > p:not(.eyebrow) { max-width: 480px; margin-top: 23px; font-size: 14px; color: #66535f; }
.brand-value-intro .text-link { margin-top: 15px; color: var(--accent-dark); }
.brand-value-points { list-style: none; padding: 0; margin: 0; }
.brand-value-points li { display: grid; grid-template-columns: 29px 1fr; gap: 18px; padding: 23px 0; border-top: 1px solid #d7becf; }
.brand-value-points li:first-child { padding-top: 0; border: 0; }
.brand-value-points li:last-child { padding-bottom: 0; }
.brand-value-points li > span { padding-top: 4px; color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.brand-value-points h3 { font: 25px/1.2 var(--serif); }
.brand-value-points p { font-size: 13px; line-height: 1.8; margin-top: 10px; color: #66535f; }
.brand-value-points p a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.home-preview { padding-block: 66px; }
.home-preview .preview-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 35px 28px; }
.home-preview .preview-card { grid-column: span 2; }
.home-preview .preview-card:nth-last-child(2):nth-child(4) { grid-column: 2 / span 2; }
.home-invitation { padding-block: 58px; }

.site-footer { background: #f3eee6; padding-block: 32px 22px; }
.footer-main { grid-template-columns: minmax(160px, 1fr) auto; align-items: center; gap: 22px 40px; padding: 0 0 17px; }
.footer-main > div.footer-brand { display: block; grid-column: 1; grid-row: 1; }
.footer-branding { display: flex; align-items: center; gap: 24px; }
.footer-brand .company-logo { width: 250px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 3px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent-dark); font-size: 12px; font-weight: 500; }
.footer-socials svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-main .wordmark > span:first-child { font-size: 35px; }
.footer-main .wordmark-sub { font-size: 6px; letter-spacing: 1.5px; margin-top: 7px; }
.footer-main .footer-contact { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer-contact a { min-height: 44px; font-size: 12px; }
.footer-contact address { width: 100%; margin-top: 0; text-align: right; }
.footer-main nav { grid-column: 1 / -1; grid-row: 2; flex-direction: row; gap: 0 27px; }
.footer-main nav a { min-height: 44px; font-size: 12px; }
.footer-main nav [aria-current=page] { color: var(--accent); }
.footer-bottom { align-items: baseline; padding-top: 17px; gap: 22px 50px; font-size: 10px; }
.footer-bottom > span { flex-shrink: 0; }
.footer-bottom .trademark-note { max-width: 610px; padding: 0; font-size: 10px; line-height: 1.7; text-align: right; }

@media (max-width: 1279px) and (min-width: 1001px) {
  :root { --header-height: 130px; }
  .header-inner { display: grid; grid-template-columns: 1fr; grid-template-rows: 74px 55px; gap: 0; }
  .header-branding .company-logo { width: 230px; }
  .desktop-nav { justify-content: space-between; width: 100%; height: 55px; margin-left: 0; gap: 20px; }
}

@media (max-width: 1000px) {
  :root { --header-height: 90px; }
  .header-branding { flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
  .header-inner .company-logo { width: 210px; min-height: 38px; }
  .header-distributor { display: flex; gap: 6px; min-height: 30px; max-width: 100%; padding: 4px 9px; border: 1px solid #e5d8df; border-radius: 999px; background: #fff; box-shadow: 0 2px 6px #2b1c1608; }
  .header-distributor p { font-size: 9.5px; line-height: 1.2; }
  .header-distributor .header-territory-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .header-territory-flags { display: inline-flex; align-items: center; flex: none; gap: 3px; }
  .header-distributor .header-territory-flags img { width: 16px; height: 10px; border-radius: 1px; box-shadow: 0 0 0 .5px rgb(43 28 22 / 15%); }
  .header-distributor a { width: 78px; height: 20px; overflow: visible; }
  .header-distributor a img { width: 78px; height: auto; }
  .header-inner .wordmark > span:first-child { font-size: 37px; }
  .header-inner .wordmark-sub { font-size: 6px; letter-spacing: 1.6px; }
  .menu-toggle:not([hidden]) { border-color: #cdb5c5; margin-left: auto; }
  .menu-toggle span { background: var(--accent); }
  .mobile-nav:not([hidden]) { padding-block: 10px 20px; }
  .js-ready .mobile-nav { top: var(--header-height); max-height: calc(100dvh - var(--header-height)); }
  .mobile-nav > a:not(.button) { min-height: 48px; padding-block: 12px; font-size: 14px; }
  .mobile-nav .nav-dropdown { border-bottom: 1px solid var(--line); }
  .mobile-nav .nav-dropdown-heading { justify-content: space-between; gap: 16px; }
  .mobile-nav .nav-dropdown-heading > a { display: flex; align-items: center; flex: 1; min-height: 48px; padding-block: 12px; font-size: 14px; }
  .mobile-nav .nav-disclosure { width: 44px; }
  .mobile-nav .nav-submenu { position: static; min-width: 0; margin-bottom: 10px; padding: 4px 0 4px 16px; border: 0; border-left: 2px solid #dbc5d5; border-radius: 0; box-shadow: none; background: transparent; }
  .mobile-nav .nav-submenu a { display: flex; align-items: center; min-height: 44px; padding-inline: 10px; border-radius: 4px; font-size: 13px; }
  .mobile-nav .nav-submenu [aria-current=page] { background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
  .mobile-nav [aria-current=page]:not(.nav-contact) { color: var(--accent); }
  .mobile-nav > .nav-contact { padding-inline: 16px; margin-top: 12px; }
  html:not(.js-ready) .mobile-nav { flex-direction: row; flex-wrap: wrap; gap: 0 22px; padding-block: 0 10px; }
  html:not(.js-ready) .mobile-nav > a:not(.button) { border: 0; font-size: 12px; }
  html:not(.js-ready) .mobile-nav > .nav-contact { margin-top: 0; }
  .brand-value { padding-block: 58px; }
  .brand-value-inner { gap: 44px; }
  .brand-value-intro h2 { font-size: 39px; }
  .brand-value-points h3 { font-size: 23px; }
  .footer-branding { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-main .footer-contact { gap: 0 20px; }
  .footer-main nav { gap: 0 22px; }
}

@media (max-width: 760px) {
  .brand-value-inner { grid-template-columns: 1fr; gap: 34px; }
  .brand-value-intro > p:not(.eyebrow) { max-width: 570px; }
  .brand-value-points { max-width: 620px; }
  .home-preview { padding-block: 44px; }
  .home-preview .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .home-preview .preview-card, .home-preview .preview-card:nth-last-child(2):nth-child(4) { grid-column: auto; }
  .home-preview .preview-image { height: 205px; }
  .footer-main { gap: 16px 24px; }
  .footer-main .footer-contact { flex-direction: column; align-items: flex-end; gap: 0; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom .trademark-note { text-align: left; }
}

@media (max-width: 640px) {
  :root { --header-height: 84px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: 83px; gap: 0 12px; }
  .header-branding { grid-column: 1; grid-row: 1; width: 100%; max-width: 240px; }
  .header-inner .company-logo { width: 100%; }
  .header-inner .menu-toggle { grid-column: 2; grid-row: 1; margin-left: 0; }
}

@media (max-width: 540px) {
  .brand-value { padding-block: 39px; }
  .brand-value-intro h2 { font-size: 36px; }
  .brand-value-intro > p:not(.eyebrow) { font-size: 13px; margin-top: 18px; }
  .brand-value-points li { grid-template-columns: 24px 1fr; gap: 14px; padding-block: 20px; }
  .brand-value-points li:first-child { padding-top: 0; }
  .brand-value-points h3 { font-size: 23px; }
  .home-preview .preview-grid { grid-template-columns: 1fr; gap: 25px; }
  .home-preview .preview-card { grid-template-columns: 115px minmax(0, 1fr); gap: 0 18px; }
  .home-preview .preview-image { height: 135px; }
  .home-invitation { padding-block: 38px; }
  .site-footer { padding-block: 27px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 14px; }
  .footer-main > div.footer-brand { grid-column: 1; grid-row: 1; }
  .footer-main .footer-contact { grid-column: 1; grid-row: 2; flex-direction: row; justify-content: flex-start; gap: 0 23px; }
  .footer-contact address { text-align: left; }
  .footer-main nav { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding-top: 10px; border-top: 1px solid var(--line); }
  .footer-bottom { padding-top: 14px; }
}

@media (max-width: 360px) {
  .header-distributor { gap: 5px; padding-inline: 7px; }
  .header-distributor p { font-size: 8.75px; }
  .header-distributor .header-territory-flags img { width: 14px; height: 9px; }
  .header-distributor a, .header-distributor a img { width: 72px; }
  .home-preview .preview-card { grid-template-columns: 90px minmax(0, 1fr); gap: 0 14px; }
  .home-preview .preview-image { height: 118px; }
  .brand-value-intro h2 { font-size: 32px; }
}
