/* ==========================================================================
   Smart Space Living — single centralized stylesheet
   Palette: cream #F7F2E9 · deep brown #2B241D · sage #8A9B7E
   Mobile-first, responsive. Edit here to restyle the whole site.
   ========================================================================== */

:root {
  --cream: #F7F2E9;
  --cream-dark: #EFE7D8;
  --ink: #2B241D;
  --ink-soft: #5A5044;
  --sage: #8A9B7E;
  --sage-dark: #6E8261;
  --card: #FFFDF8;
  --line: #DDD2BE;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, .brand, .footer-brand {
  font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.4rem; font-weight: 700; text-transform: uppercase; }
h2 { font-size: 1.7rem; font-weight: 700; text-transform: uppercase; margin-top: 1.6em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--sage-dark); }
a:hover { color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-nav a:hover { color: var(--sage); }

/* ---------- Layout sections ---------- */
main.wrap { padding-top: 36px; padding-bottom: 56px; }

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  margin-bottom: 40px;
}
.hero p { max-width: 640px; margin-left: auto; margin-right: auto; color: var(--ink-soft); }
.kicker {
  color: var(--sage-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}
.btn:hover { background: var(--sage-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0 32px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body { padding: 16px 18px 20px; }
.card-body h3 { margin-bottom: 0.3em; }
.card-body p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* Placeholder image slot — replace the whole .ph-slot div with a real
   <img> (or a linked card image) when real photos are ready. */
.ph-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--cream-dark) 0 14px, #E7DCC6 14px 28px);
  color: var(--ink-soft);
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 18px;
  aspect-ratio: 4 / 3;
}
.ph-slot.tall { aspect-ratio: 4 / 5; }
.ph-slot.wide { aspect-ratio: 16 / 9; }

/* ---------- Article / prose ---------- */
.prose { max-width: 720px; }
.prose h2 { text-transform: none; letter-spacing: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Disclosure box component ---------- */
.disclosure-box {
  background: #F1EBDC;
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 720px;
}
.disclosure-box p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  margin-top: 20px;
}
.footer-inner { padding-top: 36px; padding-bottom: 36px; text-align: center; }
.footer-brand { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.footer-tag { color: #CFC4AE; max-width: 520px; margin: 0 auto 18px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 18px; }
.footer-nav a { color: var(--cream); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--sage); }
.footer-fine { color: #A99B83; font-size: 0.82rem; margin: 0; }

/* ---------- Misc ---------- */
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.cta-band {
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
  margin: 40px 0 8px;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band .btn { background: var(--ink); }
.cta-band .btn:hover { background: #000; }
