/* Shared header and footer. The homepage markup is the single source of truth. */
body > .topbar,
body > .header,
body > .site-footer {
  box-sizing: border-box;
  font-family: 'Lora', Georgia, serif;
}

body > .topbar *,
body > .header *,
body > .site-footer * {
  box-sizing: border-box;
}

body > .topbar {
  background: #1e2c22;
  color: #f4ecd8;
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: .04em;
}

body > .topbar .topbar-inner {
  width: 100%;
  max-width: 1280px;
  min-height: 0;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

body > .topbar a {
  color: #f4ecd8;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s;
}

body > .topbar a:hover { opacity: 1; }
body > .topbar .topbar-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
body > .topbar .topbar-right { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
body > .topbar .sep { opacity: .4; }

body > .topbar .topbar-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 0;
  background: #b85c3a;
  color: #f4ecd8 !important;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  opacity: 1 !important;
  transition: background .25s, transform .2s;
}

body > .topbar .topbar-cta:hover { background: #d16d47; transform: translateY(-1px); }

body > .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d9c9a5;
  font-size: 17px;
  line-height: 1.65;
}

body > .header .nav {
  width: 100%;
  max-width: 1280px;
  min-height: 0;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

body > .header .brand {
  color: #211b15;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

body > .header .brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .02em;
  color: #211b15;
}

body > .header .brand-mark em { font-style: italic; color: #b85c3a; font-weight: 500; }
body > .header .brand-sub { display: block; margin-top: 6px; color: #786c5d; font-size: 10.5px; line-height: 1.55; letter-spacing: .32em; text-transform: uppercase; }
body > .header .menu { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; align-items: center; flex-wrap: nowrap; }
body > .header .menu li { white-space: nowrap; }

body > .header .menu > li > a {
  position: relative;
  padding: 6px 0;
  color: #2f2923;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}

body > .header .menu > li > a:hover,
body > .header .menu > li > a.active { color: #b85c3a; }

body > .header .menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #b85c3a;
  transition: width .3s ease;
}

body > .header .menu > li > a:hover::after,
body > .header .menu > li > a.active::after { width: 100%; }
body > .header .burger { display: none; width: auto; height: auto; padding: 8px; border: 0; background: none; cursor: pointer; }
body > .header .burger span { display: block; width: 26px; height: 2px; margin: 5px 0; background: #211b15; transition: .3s; }

body > .site-footer {
  background: #1e2c22;
  color: #f4ecd8;
  padding: 80px 0 30px;
}

body > .site-footer > .container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
body > .site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
body > .site-footer .footer-brand h3 { margin: 0 0 14px; color: #f4ecd8; font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 500; }
body > .site-footer .footer-brand h3 em { color: #e8c98a; font-style: italic; }
body > .site-footer .footer-brand p { max-width: 340px; margin: 0; color: rgba(244, 236, 216, .7); font-size: 15px; line-height: 1.7; }
body > .site-footer .footer-col h5 { margin: 0 0 18px; color: #e8c98a; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
body > .site-footer .footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
body > .site-footer .footer-col a,
body > .site-footer .footer-col li { color: rgba(244, 236, 216, .75); font-size: 15px; text-decoration: none; transition: color .25s; }
body > .site-footer .footer-col a:hover { color: #f4ecd8; }
body > .site-footer .footer-social { display: flex; gap: 12px; margin-top: 14px; }
body > .site-footer .footer-social a { width: 42px; height: 42px; border: 1px solid rgba(244, 236, 216, .25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #f4ecd8; transition: all .3s; }
body > .site-footer .footer-social a:hover { background: #e8c98a; border-color: #e8c98a; color: #1e2c22; }
body > .site-footer .footer-social svg { width: 18px; height: 18px; }
body > .site-footer .footer-bottom { padding-top: 30px; border-top: 1px solid rgba(244, 236, 216, .15); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; color: rgba(244, 236, 216, .5); font-size: 13px; }
body > .site-footer .footer-bottom a,
body > .site-footer .footer-bottom button { color: rgba(244, 236, 216, .7); font: inherit; text-decoration: none; }
body > .site-footer .footer-bottom a { border-bottom: 1px solid rgba(244, 236, 216, .2); padding-bottom: 1px; }
body > .site-footer .footer-bottom button { padding: 0; border: 0; border-bottom: 1px solid rgba(244, 236, 216, .2); background: transparent; cursor: pointer; }

@media (max-width: 1240px) {
  body > .header .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
    margin: 0;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #fbf6ea;
    border-bottom: 1px solid #d9c9a5;
  }
  body > .header .menu.open { display: flex; }
  body > .header .burger { display: block; }
  body > .header .nav { padding: 14px 22px; }
  body > .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  body > .site-footer .footer-brand { grid-column: span 2; }
}

@media (max-width: 780px) {
  body > .topbar .topbar-inner { padding: 8px 18px; gap: 10px; }
  body > .topbar .topbar-left > *:nth-child(n+2) { display: none; }
  body > .topbar .topbar-cta { padding: 7px 14px; font-size: 11.5px; letter-spacing: .1em; }
}

@media (max-width: 560px) {
  body > .topbar .topbar-inner { padding: 8px 14px; gap: 8px; }
  body > .topbar .topbar-left > *:first-child { font-size: 12px; }
  body > .topbar .topbar-cta { padding: 6px 12px; font-size: 11px; letter-spacing: .08em; }
  body > .header .nav { padding: 14px 16px; }
  body > .header .brand-mark { font-size: 24px; }
  body > .header .brand-sub { font-size: 9.5px; letter-spacing: .25em; }
  body > .site-footer > .container { padding: 0 16px; }
  body > .site-footer .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  body > .site-footer .footer-brand { grid-column: span 1; }
  body > .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
}
