.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(0);
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), padding .24s ease, box-shadow .28s ease, background .28s ease;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(23, 32, 36, .14);
  backdrop-filter: blur(18px);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: clamp(118px, 9vw, 150px);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: transparent;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
  padding-left: 7px;
  border-left: 2px solid rgba(255, 255, 255, .4);
}

.brand-copy strong { font-size: 1rem; }
.brand-copy small { color: rgba(255, 255, 255, .85); font-size: .68rem; font-weight: 900; }

.is-scrolled .brand-copy {
  border-left-color: rgba(17, 17, 17, .28);
}

.is-scrolled .brand-copy small {
  color: #111;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a,
.nav-dropdown > button,
.nav-dropdown > a {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: color .28s ease, background .28s ease;
}

.main-nav a:hover,
.nav-dropdown > button:hover,
.nav-dropdown > a:hover { background: rgba(255, 255, 255, .12); }

.is-scrolled .main-nav a,
.is-scrolled .nav-dropdown > button,
.is-scrolled .nav-dropdown > a {
  color: #293439;
}

.is-scrolled .main-nav a:hover,
.is-scrolled .nav-dropdown > button:hover,
.is-scrolled .nav-dropdown > a:hover { background: rgba(178, 58, 47, .08); }
.nav-dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 240px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 36, .08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a { border-radius: 12px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .28s ease;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--color-white);
}

.is-scrolled .menu-toggle {
  background: var(--color-ink);
}

.section-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.site-footer {
  width: 100%;
  position: relative;
  color: var(--color-ink);
  background: linear-gradient(180deg, #fff8ec 0%, #fff3df 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-maple), var(--color-gold), var(--color-maple), transparent);
  opacity: .5;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr .8fr .9fr;
  gap: 48px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 48px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col p {
  max-width: 360px;
  margin: 4px 0 0;
  color: rgba(23, 32, 36, .6);
  font-size: .92rem;
  line-height: 1.6;
}

.footer-col h3 {
  margin-bottom: 6px;
  color: var(--color-ink);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(23, 32, 36, .7);
  font-size: .95rem;
  font-weight: 600;
  transition: color .22s ease;
}

.footer-col a:hover {
  color: var(--color-maple);
}

.footer-nav-col {
  gap: 12px;
}

.footer-contact-col {
  gap: 10px;
}

.footer-contact-col span {
  color: rgba(23, 32, 36, .5);
  font-size: .85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(23, 32, 36, .1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(23, 32, 36, .45);
  font-size: .82rem;
}

.site-footer .brand-copy {
  border-left-color: rgba(23, 32, 36, .25);
}

.site-footer .brand-copy small {
  color: var(--color-ink);
}

@media (max-width: 1120px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 14px;
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open { display: grid; }

  .main-nav a,
  .nav-dropdown > button,
  .nav-dropdown > a {
    color: #293439;
  }

  .main-nav a:hover,
  .nav-dropdown > button:hover,
  .nav-dropdown > a:hover { background: rgba(178, 58, 47, .08); }

  .dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 4px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: #f8f0e7;
  }

  .nav-dropdown > button,
  .nav-dropdown > a,
  .main-nav a {
    width: 100%;
    text-align: left;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-col p { max-width: none; }
}
