/* Brick & Basin — site.css */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Variables ── */
:root {
  --header-bg: #2C3E50;
  --accent: #1ABC9C;
  --bg: #F7F9FA;
  --text: #2D3436;
  --text-light: #636E72;
  --border: #DFE6E9;
  --white: #FFFFFF;
  --card-shadow: 0 1px 3px rgba(0,0,0,.08);
  --card-hover: 0 4px 12px rgba(0,0,0,.12);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-w: 1120px;
  --header-h: 56px;
}

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -.3px;
}
.site-logo span { color: var(--accent); }
.site-logo a { color: inherit; text-decoration: none; }

.site-nav { display: flex; gap: 24px; list-style: none; }
.site-nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: none;
}

/* mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { fill: var(--white); }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero {
  padding: 48px 0 32px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--header-bg);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 16px 0 64px;
}
.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-2px);
}
.card a { color: inherit; text-decoration: none; display: block; }
.card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  line-height: 1;
}
.card-body { padding: 20px; }
.card-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--header-bg);
  margin-bottom: 8px;
}
.card-excerpt {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 12px;
}
.card-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: #B2BEC3;
}

/* ── Article ── */
.article-header {
  padding: 56px 0 24px;
  max-width: 720px;
  margin: 0 auto;
}
.article-header .card-tag { margin-bottom: 12px; }
.article-header h1 {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--header-bg);
  margin-bottom: 12px;
}
.article-meta {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-light);
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--header-bg);
  margin: 36px 0 14px;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 28px 0;
  padding: 16px 24px;
  background: rgba(26,188,156,.06);
  font-style: italic;
  color: var(--text-light);
}
.article-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ── Static Pages ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 0 64px;
}
.page-content h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--header-bg);
  margin: 32px 0 10px;
}
.page-content p { margin-bottom: 16px; }
.page-content ul {
  margin: 0 0 16px 24px;
}
.page-content li { margin-bottom: 6px; }
.page-content address {
  font-style: normal;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 16px 0;
  line-height: 1.8;
}

/* ── Footer ── */
.site-footer {
  background: var(--header-bg);
  color: rgba(255,255,255,.6);
  padding: 36px 0;
  font-family: var(--sans);
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-links a:hover { color: var(--white); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; gap: 18px; }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 16px 24px;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-toggle { display: block; }

  .page-hero h1 { font-size: 26px; }
  .article-header h1 { font-size: 26px; }
  .card-thumb { height: 150px; }
}
