/* Wholesale Property Guide — Editorial Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --ink: #1a1a1a;
  --paper: #f5f0e8;
  --cream: #faf7f2;
  --accent: #c8832a;
  --accent-dark: #9c6018;
  --rule: #d4c9b0;
  --muted: #6b6255;
  --white: #ffffff;
  --col-width: 760px;
}

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

html { font-size: 18px; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
}

/* ── HEADER ── */
header {
  background: var(--ink);
  color: var(--white);
  padding: 0;
  border-bottom: 4px solid var(--accent);
}

.header-inner {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 28px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}

.site-title span {
  color: var(--accent);
}

/* ── NAV ── */
nav {
  background: #111;
  border-bottom: 1px solid #2a2a2a;
}

.nav-inner {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 16px;
  display: block;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}

nav a:hover, nav a.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ── HERO ── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
}

.hero-inner {
  max-width: var(--col-width);
  margin: 0 auto;
}

.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.05rem;
  color: #bbb;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── MAIN CONTENT ── */
main {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* ── ARTICLE CONTENT ── */
.article-header {
  border-bottom: 2px solid var(--rule);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.article-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

h1.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.article-deck {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}

p { margin-bottom: 20px; }

ul, ol {
  margin: 0 0 24px 24px;
}

li { margin-bottom: 8px; }

strong { color: var(--ink); font-weight: 600; }

/* ── CALLOUT BOX ── */
.callout {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 6px 6px 0;
}

.callout p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.callout strong { color: var(--accent-dark); }

/* ── GRID CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 22px 20px;
  border-radius: 0 0 6px 6px;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}

.card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── HOME PAGE GUIDE LIST ── */
.guide-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.guide-list li {
  border-bottom: 1px solid var(--rule);
  margin: 0;
}

.guide-list li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s;
}

.guide-list li a:hover { color: var(--accent-dark); }

.guide-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  min-width: 36px;
  line-height: 1;
}

.guide-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.guide-text span {
  font-size: 0.83rem;
  color: var(--muted);
}

/* ── TABLE ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9rem;
}

th {
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

tr:nth-child(even) td { background: var(--paper); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: #888;
  padding: 40px 24px;
  margin-top: 60px;
  border-top: 4px solid var(--accent);
}

.footer-inner {
  max-width: var(--col-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand span { color: var(--accent); }

footer p { font-size: 0.8rem; line-height: 1.6; margin: 0; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--col-width);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  font-size: 0.75rem;
  color: #555;
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  html { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  h1.article-title { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
