/* The Soul of Pemba theme chrome. Page bodies are Elementor. */

:root {
  --sop-paper: #f2ede4;
  --sop-ink: #1a1814;
  --sop-ink-soft: #3c3832;
  --sop-muted: #6b655c;
  --sop-forest: #1f3a2c;
  --sop-forest-2: #2c5340;
  --sop-sage: #6e8574;
  --sop-sand: #d9cdb8;
  --sop-line: #d4cbbd;
  --sop-cream: #faf7f1;
  --sop-display: "Cormorant Garamond", "Times New Roman", serif;
  --sop-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body.sop-body {
  margin: 0;
  background: var(--sop-paper);
  color: var(--sop-ink);
  font-family: var(--sop-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.sop-box {
  width: 100%;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 640px) {
  .sop-box { padding-left: 32px; padding-right: 32px; }
}

.sop-kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sop-sage);
  margin: 0 0 0.75rem;
}
.sop-display {
  font-family: var(--sop-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}
.sop-h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
.sop-lead { font-size: 1.15rem; color: var(--sop-ink-soft); max-width: 36rem; }
.sop-sand { color: var(--sop-sand); }
.sop-prose { line-height: 1.65; color: var(--sop-ink-soft); }

.sop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--sop-paper);
  color: var(--sop-ink);
  border-bottom: 1px solid var(--sop-line);
}
.sop-header__bar {
  max-width: 1152px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
@media (min-width: 640px) { .sop-header__bar { padding: 0 32px; } }
.sop-logo { font-family: var(--sop-display); font-size: 1.5rem; }
.sop-logo img { max-height: 40px; width: auto; }
.sop-nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 24px; }
.sop-nav a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.sop-burger {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: none; cursor: pointer; font-size: 1.25rem;
}
@media (min-width: 1024px) {
  .sop-nav ul { display: flex; }
  .sop-burger { display: none; }
}
.sop-drawer { background: var(--sop-paper); border-top: 1px solid var(--sop-line); }
.sop-drawer ul { list-style: none; margin: 0; padding: 0; }
.sop-drawer a {
  display: flex; min-height: 48px; align-items: center;
  padding: 0 20px; border-top: 1px solid var(--sop-line);
}

.sop-footer { background: var(--sop-forest); color: var(--sop-paper); }
.sop-footer a { display: block; margin-top: 6px; font-size: 0.9rem; }
.sop-footer a:hover { opacity: 0.8; }
.sop-footer__grid { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .sop-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
.sop-footer .sop-display { font-size: 1.6rem; margin: 8px 0 12px; }
.sop-footer ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sop-footer__base { border-top: 1px solid var(--sop-forest-2); }
.sop-footer__base .sop-box {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px; padding-bottom: 24px;
  font-size: 0.75rem; color: var(--sop-sand);
}
@media (min-width: 640px) {
  .sop-footer__base .sop-box { flex-direction: row; justify-content: space-between; }
}

.sop-main { min-height: 50vh; }
.sop-page-head { padding: 6rem 0 2rem; }
.sop-loop { padding: 5rem 0; display: grid; gap: 2rem; }
.sop-article { border-top: 1px solid var(--sop-line); padding-top: 1.5rem; }
.sop-hero {
  min-height: 70vh; background: var(--sop-ink); color: var(--sop-paper);
  display: flex; align-items: flex-end;
}
.sop-hero__inner { padding: 4rem 0; }
.sop-btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  background: var(--sop-forest); color: var(--sop-paper);
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.7rem;
}

/* Elementor: no extra theme padding on canvas pages */
.elementor-location-header, .elementor-location-footer { width: 100%; }
.elementor-page .sop-page-head { display: none; }

@media (max-width: 699px) {
  .sop-header__bar { height: 56px; }
}
