/* ── TINY AMAZON HOMES — GLOBAL STYLESHEET — BURNT TERRACOTTA V2 ── */

:root {
  --bg:       #1C0E07;
  --card:     #251208;
  --card-alt: #2E1710;
  --terra:    #C45A28;
  --amber:    #E8903C;
  --cream:    #FFF8F0;
  --cream-dim:#D4C4B8;
  --cream-soft:#9E8E84;
  --border:   rgba(255,248,240,.08);
  --border-str:rgba(255,248,240,.18);
  --r:        8px;
  --r-lg:     14px;
  --ease:     cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28,14,7,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px; gap: 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cream); flex-shrink: 0;
}
.nav-brand-icon {
  width: 34px; height: 34px;
  background: var(--terra); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-brand-icon svg { width: 18px; height: 18px; }
.nav-brand > div > span:first-child {
  display: block; font-weight: 600; font-size: .95rem; line-height: 1.1;
}
.nav-brand-sub {
  font-size: .68rem; color: var(--cream-soft);
  letter-spacing: .06em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: var(--cream-dim); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.nav-cta {
  background: var(--terra); color: var(--cream);
  padding: 8px 18px; border-radius: var(--r);
  font-weight: 600; transition: background .2s;
}
.nav-links a.nav-cta:hover { background: var(--amber); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px; transition: .3s;
}
@media(max-width:720px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 1.5rem; gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
}

/* ── ARTICLE HERO ── */
.article-hero {
  max-width: 760px; margin: 0 auto;
  padding: clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,5vw,2rem) 2rem;
}
.article-tag {
  display: inline-block;
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--terra);
  border: 1px solid rgba(196,90,40,.35);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 1.2rem;
}
.article-hero h1 {
  font-size: clamp(1.9rem,4.5vw,2.8rem);
  color: var(--cream); margin-bottom: 1rem; line-height: 1.12;
}
.article-intro {
  font-size: 1.1rem; color: var(--cream-dim);
  line-height: 1.7; margin-bottom: .8rem; max-width: 640px;
}
.article-meta {
  font-size: .8rem; color: var(--cream-soft);
}

/* ── ARTICLE BODY ── */
.article-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,2rem) 5rem;
}
.article-wrap p { font-size: 1rem; color: var(--cream-dim); line-height: 1.8; margin-bottom: 1.4rem; }
.article-wrap h2 {
  font-size: clamp(1.4rem,3vw,1.9rem); color: var(--cream);
  margin: 2.8rem 0 1rem; padding-top: .4rem;
  border-top: 1px solid var(--border);
}
.article-wrap h3 { font-size: 1.2rem; color: var(--cream); margin: 2rem 0 .8rem; }
.article-wrap ul, .article-wrap ol { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.article-wrap li { font-size: 1rem; color: var(--cream-dim); line-height: 1.7; margin-bottom: .5rem; }
.article-wrap strong { color: var(--cream); font-weight: 600; }
.article-wrap a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.article-wrap a:hover { color: var(--cream); }

/* callout box */
.callout {
  background: var(--card); border-left: 3px solid var(--terra);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.2rem 1.4rem; margin: 2rem 0;
}
.callout-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terra); margin-bottom: .5rem;
}
.callout p { margin-bottom: 0; font-size: .92rem; }

/* shop button */
.shop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--terra); color: var(--cream) !important;
  text-decoration: none !important;
  font-size: .82rem; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r);
  margin: .8rem 0 1.6rem; transition: background .2s;
}
.shop-btn:hover { background: var(--amber) !important; color: var(--bg) !important; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg,var(--card) 0%,rgba(196,90,40,.1) 100%);
  border: 1px solid rgba(196,90,40,.3);
  border-radius: var(--r-lg); padding: 2rem;
  margin: 3rem 0; text-align: center;
}
.cta-box h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: .6rem; }
.cta-box p { font-size: .92rem; color: var(--cream-dim); margin-bottom: 1.2rem; }
.cta-box a {
  display: inline-flex; background: var(--terra); color: var(--cream) !important;
  text-decoration: none !important; font-weight: 600;
  padding: 12px 24px; border-radius: var(--r); transition: background .2s;
}
.cta-box a:hover { background: var(--amber) !important; }

/* data table */
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .88rem; }
.data-table th {
  background: var(--card); color: var(--amber);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--border-str);
}
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--cream-dim); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--card); }

/* related posts */
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related h3 { font-size: 1rem; color: var(--cream-soft); margin-bottom: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 12px; }
.related-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1rem;
  text-decoration: none; display: block;
  transition: border-color .2s, transform .3s var(--ease);
}
.related-card:hover { border-color: var(--border-str); transform: translateY(-2px); }
.related-card-tag { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-bottom: .5rem; }
.related-card h4 { font-size: .88rem; font-weight: 600; color: var(--cream); line-height: 1.35; font-family: 'Inter', sans-serif; }

/* ── FOOTER ── */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 2.5rem clamp(1.5rem,5vw,3rem);
}
.foot-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.foot-brand { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--cream); }
.foot-brand-sub { font-size: .7rem; color: var(--cream-soft); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.foot-cta { font-size: .9rem; color: var(--cream-dim); max-width: 340px; line-height: 1.6; }
.foot-cta a { color: var(--amber); text-decoration: none; }
.foot-cta a:hover { color: var(--cream); }
.disclosure {
  font-size: .75rem; color: var(--cream-soft);
  line-height: 1.6; padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.foot-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: .8rem; font-size: .78rem; color: var(--cream-soft);
}
.foot-bottom a { color: var(--cream-soft); text-decoration: none; }
.foot-bottom a:hover { color: var(--amber); }
