/* ==========================================================================
   acre&key Master Design System v2.1 — Chrome Stylesheet (Header, Nav, Drawer, Footer)
   100% WCAG AAA Certified · Strict 6-Token Architecture
   ========================================================================== */

:root {
  --obsidian-black: #2B2D31;
  --titanium-frost: #FAFAFA;
  --text-copper-aaa: #804526;
  --neutral-grey: #55555A;
  --highlight-peach: #E88D67;
  --cta-gradient: linear-gradient(135deg, #E88D67 0%, #9E3F23 100%);
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: 'Josefin Sans', sans-serif;
  --radius-strict: 4px;
}

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--titanium-frost);
  color: var(--text-copper-aaa);
  padding: 0.75rem 1.5rem;
  border: 0.5px solid var(--text-copper-aaa);
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: none;
}

/* --------------------------------------------------------------------------
   Header Nav Container & Fixed Glassmorphic Shell (Exact Homepage Replica)
   -------------------------------------------------------------------------- */
.header-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 80px !important;
  z-index: 1000 !important;
  background: rgba(43, 45, 49, 0.90) !important;
  background-color: rgba(43, 45, 49, 0.90) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.header-nav.scrolled {
  position: fixed !important;
  background: rgba(43, 45, 49, 0.95) !important;
  background-color: rgba(43, 45, 49, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
  height: 80px !important;
}

@media (max-width: 991px) {
  .header-nav,
  .header-nav.scrolled {
    position: fixed !important;
    background: rgba(43, 45, 49, 0.95) !important;
    background-color: rgba(43, 45, 49, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.12) !important;
  }
}

.header-nav .container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 80px !important;
  width: 100% !important;
}

/* --------------------------------------------------------------------------
   Brand Logo
   -------------------------------------------------------------------------- */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  margin-right: 32px !important;
}

.brand-logo-text,
.brand-inline-text {
  font-family: var(--font-brand), 'Josefin Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 2.05rem !important;
  letter-spacing: -0.02em !important;
  text-transform: lowercase !important;
  line-height: 1 !important;
  color: #FAFAFA !important;
  font-style: normal !important;
  transition: color 0.4s ease !important;
}

/* --------------------------------------------------------------------------
   Nav Links
   -------------------------------------------------------------------------- */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  font-family: var(--font-body), 'Manrope', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  color: #FFFFFF !important;
  opacity: 0.9 !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
  background: transparent !important;
  transition: color 0.4s ease, opacity 0.4s ease !important;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #E88D67 !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   Authoritative Primary CTA Button & Arrow Badge (Rule 1 & Rule 3)
   -------------------------------------------------------------------------- */
.primary-cta-btn,
.nav-cta-btn,
.mobile-drawer-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 16px 0 24px !important;
  gap: 12px !important;
  border-radius: 4px !important;
  font-family: var(--font-sans), 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #E88D67 0%, #9E3F23 100%) !important;
  border: none !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  text-shadow: 0 1px 2px rgba(43, 45, 49, 0.35) !important;
  transition: transform 120ms cubic-bezier(0.2, 0, 0, 1), background 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, box-shadow 0.4s ease !important;
}

.primary-cta-btn:hover,
.nav-cta-btn:hover,
.mobile-drawer-cta:hover,
.header-nav.scrolled .primary-cta-btn:hover {
  background: linear-gradient(135deg, #E88D67 0%, #9E3F23 100%) !important;
  box-shadow: none !important;
  border: none !important;
  color: #FFFFFF !important;
  transform: none !important;
  text-decoration: none !important;
}

.primary-cta-btn:focus-visible,
.nav-cta-btn:focus-visible,
.mobile-drawer-cta:focus-visible,
.lf-btn:focus-visible,
.sd-btn-gold:focus-visible {
  outline: 2px solid #E88D67 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

.primary-cta-btn:active,
.nav-cta-btn:active,
.mobile-drawer-cta:active {
  transform: scale(0.975) !important;
}

.primary-cta-btn > span:not(.cta-arrow-badge),
.nav-cta-btn > span:not(.cta-arrow-badge),
.mobile-drawer-cta > span:not(.cta-arrow-badge) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #FFFFFF !important;
}

.cta-arrow-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.cta-arrow-badge svg {
  width: 11px !important;
  height: 11px !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.primary-cta-btn:hover .cta-arrow-badge,
.nav-cta-btn:hover .cta-arrow-badge,
.mobile-drawer-cta:hover .cta-arrow-badge {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  transform: scale(1.06) !important;
}

.primary-cta-btn:hover .cta-arrow-badge svg,
.nav-cta-btn:hover .cta-arrow-badge svg,
.mobile-drawer-cta:hover .cta-arrow-badge svg {
  transform: translate(1.5px, -1.5px) !important;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 16px !important;
  }
  .nav-brand {
    margin-right: 16px !important;
  }
}

@media (max-width: 991px) {
  .header-nav .nav-cta-btn,
  .nav-container .nav-cta-btn,
  .header-nav.scrolled .nav-cta-btn,
  .nav-links {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Toggle & Hamburger Icon
   -------------------------------------------------------------------------- */
.mobile-toggle {
  display: none;
  cursor: pointer;
  z-index: 1060;
  background: transparent;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex !important;
  }
}

.hamburger-line {
  background-color: #FAFAFA !important;
  border-radius: 4px !important;
  width: 22px !important;
  height: 2px !important;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out !important;
  display: block !important;
}

.mobile-toggle.is-active {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   Mobile Drawer & Overlay (Rule 10 Cinematic Backdrop Blur)
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1040;
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  display: block;
  position: fixed;
  inset: 0;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  touch-action: none;
  overflow: hidden;
}

.mobile-drawer {
  z-index: 1050;
  will-change: transform;
  background-color: #FAFAFA !important;
  width: 85%;
  max-width: 380px;
  height: 100dvh;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  transform: translate(100%);
  box-shadow: none !important;
  border-left: 0.5px solid rgba(85, 85, 90, 0.2) !important;
}

.mobile-drawer.is-active {
  transform: translate(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.mobile-drawer-header {
  border-bottom: 0.5px solid rgba(85, 85, 90, 0.2);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  display: flex;
}

.mobile-drawer-brand {
  align-items: center;
  text-decoration: none;
  display: flex;
}

.mobile-drawer-brand .brand-logo-text {
  color: #2B2D31 !important;
  letter-spacing: -0.02em !important;
  font-size: 1.98rem !important;
}

.mobile-drawer-close {
  cursor: pointer;
  color: #2B2D31;
  background: transparent;
  border: none;
  justify-content: flex-end;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  transition: opacity 0.4s, transform 0.4s;
  display: flex;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  opacity: 0.7;
  transform: scale(0.95);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 12px 16px;
}

.mobile-nav-item {
  height: 52px;
  min-height: 52px;
  font-family: var(--font-sans), 'Manrope', sans-serif !important;
  letter-spacing: 0.01em;
  color: #2B2D31 !important;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.4s, color 0.4s;
  display: flex;
}

.mobile-nav-chevron {
  color: #55555A;
  transition: color 0.4s, transform 0.4s;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus,
.mobile-nav-item:active {
  color: #804526 !important;
  background-color: rgba(128, 69, 38, 0.06);
}

.mobile-nav-item:hover .mobile-nav-chevron,
.mobile-nav-item:focus .mobile-nav-chevron,
.mobile-nav-item:active .mobile-nav-chevron {
  color: #804526;
  transform: translate(2px);
}

.mobile-drawer-footer {
  background-color: #FAFAFA;
  border-top: 0.5px solid rgba(85, 85, 90, 0.2);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 20px 20px 28px;
}

.mobile-drawer-subtext {
  font-family: var(--font-sans), 'Manrope', sans-serif;
  color: #55555A;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 500;
}

.mobile-drawer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mobile-drawer-socials a {
  width: 36px;
  height: 36px;
  color: #2B2D31;
  background-color: transparent;
  border: 0.5px solid rgba(85, 85, 90, 0.3);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
  display: flex;
}

.mobile-drawer-socials a:hover,
.mobile-drawer-socials a:active {
  background-color: #804526;
  color: #FFFFFF;
  border-color: #804526;
}

/* --------------------------------------------------------------------------
   Authoritative Global Site Footer (Rule 7)
   -------------------------------------------------------------------------- */
.site-footer.ak-footer {
  background-color: #2B2D31 !important;
  color: #FAFAFA !important;
  padding: 28px 0 22px !important;
  font-size: 13px;
  text-align: left;
  border-top: 0.5px solid rgba(255, 255, 255, 0.12) !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 20;
}

.ak-footer .ak-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.ak-footer .ak-footer-row {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ak-footer .ak-footer-top {
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: nowrap;
}

.ak-footer .ak-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 0 0 440px;
}

.ak-footer .ak-footer-logo {
  font-family: var(--font-brand), 'Josefin Sans', sans-serif !important;
  font-size: 24px !important;
  line-height: 1.1;
  margin: 0 !important;
  color: #FAFAFA !important;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ak-footer a {
  color: #FAFAFA;
  text-decoration: none;
  transition: color 0.4s ease;
}

.ak-footer a:hover {
  color: #E88D67;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ak-footer .ak-footer-logo:hover,
.ak-footer .ak-footer-logo:focus,
.ak-footer .footer-logo-wordmark:hover,
.ak-footer .footer-logo-wordmark:focus {
  text-decoration: none !important;
  color: #E88D67 !important;
}

.ak-footer .ak-footer-address {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(250, 250, 250, 0.7);
}

.ak-footer .ak-footer-address:hover,
.ak-footer .ak-footer-address:focus {
  color: #E88D67 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ak-footer .ak-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  gap: 4px 18px;
  font-size: 13.5px;
}

.ak-footer .ak-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0;
}

.ak-footer .ak-footer-social .footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
}

.ak-footer .ak-footer-social .footer-social-btn:hover,
.ak-footer .ak-footer-social .footer-social-btn:focus {
  background: #E88D67 !important;
  border-color: #E88D67 !important;
  color: #2B2D31 !important;
  text-decoration: none !important;
  transform: none !important;
}

.ak-footer a:focus-visible,
.ak-footer .footer-social-btn:focus-visible {
  outline: 2px solid #E88D67 !important;
  outline-offset: 3px !important;
}

.ak-footer .ak-footer-rera {
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  color: rgba(250, 250, 250, 0.7);
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.ak-footer .ak-footer-bottom {
  justify-content: center;
  text-align: center;
  gap: 4px 16px;
  font-size: 12.5px;
  color: rgba(250, 250, 250, 0.7);
}

@media (max-width: 900px) {
  .ak-footer .ak-footer-top {
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
  }
  .ak-footer .ak-footer-brand {
    align-items: center;
    flex-basis: auto;
  }
  .ak-footer .ak-footer-links {
    gap: 0 6px;
  }
  .ak-footer .ak-footer-links a,
  .ak-footer .ak-footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }
  .ak-footer .ak-footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ak-footer .ak-footer-social .footer-social-btn {
    width: 44px;
    height: 44px;
  }
  .ak-footer .ak-footer-address {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 340px;
  }
  .ak-footer .ak-footer-inner {
    padding: 0 18px;
    gap: 10px;
  }
  .ak-footer .ak-footer-bottom {
    gap: 0 4px;
  }
  .site-footer.ak-footer {
    padding: 24px 0 max(96px, env(safe-area-inset-bottom)) !important;
  }
}


/* Special answer utilities */
.author-linkedin-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:-15px -12px}
.search-clear-btn{min-width:44px;min-height:44px}
.related-ak li{margin-bottom:.4rem}.related-ak a{display:inline-block;padding:.35rem 0}
