/* ============================================================
   Shared site chrome. Header + Footer
   Cream/light band, used identically on every page (incl. homepage).
   Loaded after styles.css so these rules win on shared selectors.
   ============================================================ */

/* ---- Header ---- */
.chrome-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  background: #f5f0e8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.chrome-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}
.chrome-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  min-width: 0; flex: 0 1 auto;
}
.chrome-logo-mark { width: 26px; height: 26px; color: #2d8c8c; flex: none; }
.chrome-logo-text {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.chrome-logo-text em { font-style: italic; color: #9a7a2e; }

@media (max-width: 480px) {
  .chrome-logo-text { font-size: 1rem; }
}
@media (max-width: 360px) {
  .chrome-logo-text { max-width: 46vw; }
}

.chrome-nav { display: flex; align-items: center; gap: 28px; }
.chrome-nav a {
  position: relative;
  color: #4a4a4a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.chrome-nav a:hover { color: #1a1a1a; }
.chrome-nav a.is-active { color: #1a1a1a; border-bottom-color: #2d8c8c; }

.chrome-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.chrome-burger svg { width: 22px; height: 22px; color: #2a2a2a; }

.chrome-mobile-nav {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: #f5f0e8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  z-index: 99;
}
.chrome-mobile-nav.is-open { display: flex; }
.chrome-mobile-nav a {
  padding: 14px 20px;
  color: #4a4a4a;
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.chrome-mobile-nav a.is-active { color: #2d8c8c; font-weight: 600; }

@media (max-width: 760px) {
  .chrome-nav { display: none; }
  .chrome-burger { display: flex; }
}

/* ---- Footer ---- */
.chrome-footer {
  background: #f5f0e8;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 56px 0 40px;
  color: #4a4a4a;
}
.chrome-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 32px;
}
.chrome-footer h3 {
  color: #1a1a1a;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 12px;
}
.chrome-footer-brand .chrome-logo-text { font-size: 1.15rem; }
.chrome-footer-tagline { color: #6b6b6b; font-size: 13px; line-height: 1.6; margin: 10px 0 0; max-width: 30ch; }
.chrome-footer-copy { color: #6b6b6b; font-size: 12px; margin: 16px 0 0; }
.chrome-footer-fine { color: #6b6b6b; font-size: 12px; margin: 2px 0 0; }

.chrome-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chrome-footer-links a { color: #2d8c8c; text-decoration: none; font-size: 0.88rem; }
.chrome-footer-links a:hover { text-decoration: underline; }

.chrome-lang-row { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.chrome-lang-label { color: #1a1a1a; font-size: 12px; font-weight: 600; margin: 0 0 10px; display: block; }
.chrome-lang-list { font-size: 13px; line-height: 1.9; }
.chrome-lang-list a { color: #2d8c8c; text-decoration: none; }
.chrome-lang-list a:hover { text-decoration: underline; }
.chrome-lang-current { color: #1a1a1a; font-weight: 700; }
.chrome-lang-dot { color: #6b6b6b; margin: 0 8px; }

.chrome-footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.chrome-footer-bottom-links a { color: #2d8c8c; text-decoration: none; margin-left: 16px; }
.chrome-footer-bottom-links a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .chrome-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .chrome-footer-bottom { flex-direction: column; align-items: flex-start; }
  .chrome-footer-bottom-links { margin-left: -16px; }
}
