/* Landing page header and footer, matched to soulcraftsystems.com.
   Loaded only by index.html. The planner keeps public/site-chrome.css. */

.site-header, .site-footer {
  --heading: #333333;
  --brand-navy: #122134;
  --navy: #1f3b4d;
  --gold-text: #786c25;
  --bg-light: #f5f6f7;
  --white: #ffffff;
  --footer-bg: #0e1a22;
  --line: #e3e6e8;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}
.site-header *, .site-footer * { box-sizing: border-box; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: #fff;
  color: var(--heading, #333);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
  outline: 2px solid #786c25;
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 8px rgba(14, 26, 34, 0.07);
  padding: 0;
}
.site-header .header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.site-header .logo { display: block; flex: none; line-height: 0; text-decoration: none; min-width: 0; }
.site-header .logo img { height: 36px; width: auto; max-width: 100%; display: block; }
.site-header .main-nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.site-header .main-nav > .nav-item { position: relative; border: 0; padding: 0; margin: 0; }
.site-header .nav-summary { list-style: none; display: flex; align-items: center; border: 0; padding: 0; margin: 0; font-weight: 400; }
.site-header .nav-summary::-webkit-details-marker { display: none; }
.site-header .nav-chevron { display: none; }
.site-header .main-nav a,
.site-header .main-nav .nav-toggle {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  font-family: "Open Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1.55;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.site-header .main-nav a:hover,
.site-header .main-nav .nav-toggle:hover { color: #1f3b4d; }
.site-header .nav-toggle::after { content: " ▾"; font-size: 11px; }
.site-header .dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(14, 26, 34, 0.14);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-header .dropdown.dropdown-narrow { min-width: 380px; }
.site-header .nav-item.open > .dropdown,
.site-header .nav-item:hover > .dropdown,
.site-header .nav-item:focus-within > .dropdown,
.site-header details.nav-item[open] > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.site-header .dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.site-header .dropdown a {
  padding: 9px 14px;
  font-size: 15px;
  white-space: normal;
  border-radius: 10px;
  color: #1c2c36;
}
.site-header .dropdown a:hover,
.site-header .dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  outline: 2px solid #786c25;
  outline-offset: -2px;
}
.site-header .dropdown a.nav-after-split {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 33, 52, 0.35);
  border-radius: 0 0 10px 10px;
}
.site-header .nav-area-label {
  display: block;
  margin: 16px 14px 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 33, 52, 0.16);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #786c25;
}
.site-header #nav-areas .nav-area-label:first-child {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}
.site-header #nav-areas > a { margin-left: 12px; }

.site-header .header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.site-header .contact-pop { position: relative; }
.site-header .contact-toggle {
  cursor: pointer;
  font-family: "Open Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  padding: 9px 18px;
  margin: 0;
  min-height: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #786c25;
  color: #fff;
  position: relative;
}
.site-header .contact-toggle:hover { background: #645a1e; color: #fff; }
.site-header .contact-toggle:focus-visible {
  outline: 2px solid #1f3b4d;
  outline-offset: 3px;
}
.site-header .contact-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 80;
  min-width: 280px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-header .contact-pop:hover .contact-menu,
.site-header .contact-pop:focus-within .contact-menu,
.site-header .contact-pop.open .contact-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-header .contact-pop.shut .contact-menu,
.site-header .contact-pop.shut:hover .contact-menu,
.site-header .contact-pop.shut:focus-within .contact-menu,
.site-header .contact-pop.shut.open .contact-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-header .contact-card {
  background: #fff;
  color: #122134;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(14, 26, 34, 0.18);
  padding: 8px;
  text-align: left;
}
.site-header .contact-office {
  margin: 8px 8px 2px;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.site-header .contact-card a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #122134;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.site-header .contact-card a:hover,
.site-header .contact-card a:focus-visible {
  background: #f5f6f7;
  outline: 2px solid #786c25;
  outline-offset: 0;
}
.site-header .nav-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.site-header .nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
}

@media (max-width: 1380px) {
  .site-header .header-inner { gap: 14px; }
  .site-header .main-nav a,
  .site-header .main-nav .nav-toggle { padding: 10px 10px; }
}
@media (max-width: 1220px) {
  .site-header .logo img { height: 32px; }
  .site-header .main-nav a,
  .site-header .main-nav .nav-toggle { padding: 10px 8px; font-size: 15px; }
  .site-header .contact-toggle { padding: 9px 14px; }
}

@media (max-width: 1180px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-header .header-inner {
    height: 56px;
    position: relative;
    z-index: 2;
    background: #fff;
    --header-edge: 24px;
    --icon-inset: 11px;
    padding-left: var(--header-edge);
    padding-right: calc(var(--header-edge) - var(--icon-inset));
  }
  .site-header .header-end { gap: calc(var(--header-edge) - var(--icon-inset)); }
  .site-header .logo { min-width: 0; flex: 0 1 auto; }
  .site-header .logo img { max-width: 100%; max-height: 32px; height: auto; }
  .site-header .contact-toggle { padding: 7px 14px; font-size: 14px; }
  .site-header .nav-burger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 0;
  }
  .site-header .nav-burger span { width: 22px; margin: 3px 0; transition: transform .16s ease, opacity .16s ease; }
  .site-header .nav-burger.is-open { border-radius: 50%; background: #122134; }
  .site-header .nav-burger.is-open span {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 21px;
    width: auto;
    margin: 0;
    background: #fff;
  }
  .site-header .nav-burger.is-open span:nth-child(1) { transform: rotate(45deg); }
  .site-header .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .site-header .nav-burger.is-open span:nth-child(3) { transform: rotate(-45deg); }
  .site-header .nav-toggle::after { content: none; }
  .site-header .main-nav {
    display: flex;
    position: fixed;
    top: calc(56px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 8px calc(20px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: none;
    white-space: normal;
    visibility: hidden;
    pointer-events: none;
  }
  .site-header .main-nav:not(.open),
  .site-header .main-nav:not(.open) .dropdown {
    visibility: hidden;
  }
  .site-header .main-nav.open { visibility: visible; pointer-events: auto; }
  .site-header .main-nav.open details.nav-item[open] > .dropdown {
    visibility: visible;
    pointer-events: auto;
  }
  .site-header .main-nav details.nav-item:not([open]) > .dropdown { display: none; }
  .site-header .nav-summary {
    gap: 4px;
    min-height: 52px;
    margin: 0 8px;
    padding: 0 2px 0 8px;
    border-bottom: 1px solid #e3e6e8;
    cursor: pointer;
  }
  .site-header .nav-summary .nav-toggle {
    flex: 1;
    padding: 14px 4px;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    text-align: left;
  }
  .site-header .nav-chevron {
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    position: relative;
  }
  .site-header .nav-chevron::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 14px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #122134;
    border-bottom: 2px solid #122134;
    transform: rotate(45deg);
  }
  .site-header details.nav-item[open] > .nav-summary { background: #f5f6f7; border-radius: 10px; }
  .site-header details.nav-item[open] > .nav-summary .nav-chevron::before { top: 18px; transform: rotate(225deg); }
  .site-header .main-nav.open .dropdown {
    position: static;
    opacity: 1;
    transform: none;
    min-width: 0;
    max-height: none;
    padding: 4px 8px 12px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header .main-nav.open .dropdown::before { content: none; display: none; }
  .site-header .main-nav.open .dropdown a { padding-top: 11px; padding-bottom: 11px; }
  html.nav-open { overflow: hidden; }
  html.nav-open body { overflow: hidden; }
  html.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
}

@media (max-width: 700px) {
  .site-header .header-inner { --header-edge: 16px; gap: 12px; }
  .site-header .header-end { display: flex; }
}
@media (max-width: 380px) {
  .site-header .logo img { height: 26px; }
  .site-header .contact-toggle { padding: 8px 10px; font-size: 13px; }
}
@media (min-width: 1181px) {
  .site-header .main-nav details.nav-item > .dropdown {
    display: block;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease .16s, visibility 0s linear .22s, transform .12s ease .16s;
  }
  .site-header .main-nav details.nav-item:hover > .dropdown,
  .site-header .main-nav details.nav-item:focus-within > .dropdown,
  .site-header .main-nav details.nav-item.open > .dropdown,
  .site-header .main-nav details.nav-item[open] > .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-burger span,
  .site-header .nav-chevron::before,
  .site-header .main-nav,
  .site-header .dropdown { transition: none; }
}

.site-footer {
  background: #0e1a22;
  color: #b7c2c8;
  padding: 36px 0 22px;
  font-size: 14.5px;
  margin-top: 0;
}
.site-footer .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.site-footer p { margin: 0 0 6px; padding: 0; color: #b7c2c8; font-size: 14.5px; }
.site-footer a { color: #b7c2c8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.1fr) minmax(220px, 1.2fr);
  gap: 20px 32px;
  align-items: start;
  margin-bottom: 20px;
}
.site-footer .logo { display: inline-block; margin: 0; line-height: 0; }
.site-footer .logo img { width: 300px; max-width: 100%; height: auto; }
.site-footer .footer-brand { padding-top: 2px; }
.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin: 0 0 16px;
}
.site-footer .footer-social { display: flex; gap: 14px; align-items: center; margin: 0; }
.site-footer .footer-social a { display: inline-flex; opacity: 0.85; }
.site-footer .footer-social a:hover { opacity: 1; }
.site-footer .footer-social img { width: 22px; height: 22px; display: block; }
.site-footer .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}
.site-footer .footer-badges a { display: block; line-height: 0; }
.site-footer .footer-badges img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.93);
  padding: 4px 8px;
  border-radius: 8px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  font-size: 13px;
  color: #8696a0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer .footer-bottom a { color: #8696a0; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .site-footer .footer-row { flex-direction: column; align-items: flex-start; }
  .site-footer .footer-badges { justify-content: flex-start; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none !important; }
}
