/* Public-site header for /book/ and request-received. Scoped so form styles stay intact. Not sticky. */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap");

.site-top {
  --deep: #40291B;
  --deep-soft: #5A3C29;
  --aqua: #C2632C;
  --aqua-bright: #E8944F;
  --sand: #F7F0E4;
  --ink: #33241A;
  --ink-mute: #6B584A;
  --line: #E6D9C6;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}
.site-top * { box-sizing: border-box; }
.site-top .container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.site-top .announce {
  background: var(--deep);
  color: rgba(255,255,255,0.92);
  font-size: 0.86rem;
  padding: 0.5rem 1.25rem;
  text-align: center;
  line-height: 1.45;
}
.site-top .announce strong { color: var(--aqua-bright); font-weight: 600; }

.site-top .site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 80;
}
.site-top .nav {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand toggle"
    "actions actions";
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0 0.65rem !important;
  position: relative;
}
.site-top .brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-width: 0;
}
.site-top .brand-mark-img { height: 46px; width: auto; display: block; }
.site-top .brand-words { display: flex; flex-direction: column; line-height: 1; }
.site-top .brand-words .bw1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.32rem;
  color: var(--deep);
  letter-spacing: .1px;
  font-weight: 400;
}
.site-top .brand-words .bw1 em { font-style: normal; color: var(--aqua); }
.site-top .brand-words .bw2 {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .site-top .brand-mark-img { height: 38px; }
  .site-top .brand-words .bw1 { font-size: 1.1rem; }
  .site-top .brand-words .bw2 { font-size: .5rem; letter-spacing: .2em; }
}

.site-top .menu-toggle {
  grid-area: toggle;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; padding: 0; flex: 0 0 auto; z-index: 70;
}
.site-top .menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--deep); border-radius: 2px;
  transition: transform .15s ease, opacity .15s ease;
}
.site-top .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-top .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-top .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-top .site-menu {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 1px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 40px rgba(64,41,27,0.16);
  padding: 0.35rem 0.85rem 1rem;
  display: flex; flex-direction: column;
  z-index: 65;
}
.site-top .site-menu[hidden] { display: none !important; }
.site-top .site-menu a.menu-link {
  display: block;
  padding: 0.9rem 0.15rem;
  color: var(--deep);
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.site-top .site-menu a.menu-link[aria-current="page"] { color: var(--aqua); }
.site-top .site-menu a.menu-book {
  display: block; margin-top: 0.9rem; text-align: center;
  padding: 0.85rem 1rem; font-size: 1rem;
}
.site-top .menu-actions { display: none !important; }
.site-top .site-menu a.menu-text {
  display: block; margin-top: 0.5rem; text-align: center;
  padding: 0.8rem 1rem; font-size: 1rem;
}

.site-top .header-actions {
  grid-area: actions;
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}
.site-top .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.96rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
  font-family: inherit;
}
.site-top .btn:active { transform: translateY(1px); }
.site-top .btn-primary {
  background: var(--aqua); color: #fff !important;
  box-shadow: 0 6px 18px rgba(194,99,44,0.28);
}
.site-top .btn-primary:hover { background: #A9531F; }
.site-top .btn-outline {
  background: transparent; color: var(--deep) !important;
  border-color: rgba(64,41,27,0.22);
}
.site-top .btn-outline:hover { border-color: var(--deep); }
.site-top .btn-sm { padding: 0.55rem 1.1rem; font-size: 0.87rem; }
.site-top .btn-pricing {
  background: var(--deep); color: var(--sand) !important;
  border-color: var(--deep);
  box-shadow: 0 6px 18px rgba(64,41,27,0.24);
}
.site-top .btn-pricing:hover { background: var(--deep-soft); border-color: var(--deep-soft); }
.site-top .header-actions .btn { flex: 1; padding: 0.55rem 0.4rem; font-size: 0.84rem; }
.site-top .header-actions .book-full { display: none; }
.site-top .header-actions .book-short { display: inline; }
.site-top .header-actions .btn-book { white-space: nowrap; }
.site-top .header-actions .btn-text { white-space: nowrap; flex: 1.25; }

.site-top .menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(64,41,27,0.32);
  z-index: 55;
}
.site-top .menu-backdrop[hidden] { display: none !important; }

@media (min-width: 861px) {
  .site-top .nav {
    display: flex !important;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0 !important;
    grid-template-areas: none;
    grid-template-columns: none;
  }
  .site-top .menu-toggle,
  .site-top .menu-backdrop { display: none !important; }
  .site-top .site-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    border: 0; box-shadow: none; padding: 0;
    background: transparent;
    display: flex !important;
  }
  .site-top .site-menu[hidden] { display: flex !important; }
  .site-top .site-menu a.menu-link {
    border: 0; padding: 0; font-size: 0.93rem; font-weight: 500; color: var(--ink);
  }
  .site-top .site-menu a.menu-link:hover,
  .site-top .site-menu a.menu-link[aria-current="page"] { color: var(--aqua); }
  .site-top .site-menu a.menu-book,
  .site-top .site-menu a.menu-text { display: none !important; }
  .site-top .header-actions { width: auto; flex: 0 0 auto; gap: 0.4rem; }
  .site-top .header-actions .btn { flex: 0 0 auto; padding: 0.55rem 1.1rem; font-size: 0.87rem; }
  .site-top .header-actions .book-full { display: inline; }
  .site-top .header-actions .book-short { display: none; }
}
