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

/* === Variables === */
:root {
  --font: 'Georgia', serif;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Georgia', serif;
  --color-bg: #f5f5f3;
  --color-surface: #fff;
  --color-text: #1a1a1a;
  --color-muted: #666;
  --color-light: #999;
  --color-border: #e0e0e0;
  --color-accent: #1a1a1a;
  --color-category: #c0392b;
  --max-width: 1080px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --radius: 4px;
}

/* === Base === */
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* === Navbar === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.navbar .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

.navbar nav {
  display: flex;
  gap: var(--space-lg);
}

.navbar nav a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: capitalize;
}

.navbar nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* === Masthead === */
.masthead {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 3px double var(--color-accent);
}

.masthead h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.masthead .tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: var(--space-xs);
  letter-spacing: 0.05em;
}

/* === Category Label === */
.category {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-category);
}

/* === Meta === */
.meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-light);
}

/* === Shared Image === */
.thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Featured Article === */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.featured-img .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

.featured-text .category {
  margin-bottom: var(--space-sm);
}

.featured-text h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.featured-text h2 a { color: var(--color-accent); }
.featured-text h2 a:hover { text-decoration: underline; }

.featured-text .summary {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

/* === Secondary Grid === */
.secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

/* Left: medium card */
.card-medium .thumb {
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-md);
  border-radius: 6px;
}

.card-medium .category {
  margin-bottom: var(--space-sm);
}

.card-medium h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.card-medium h3 a { color: var(--color-accent); }
.card-medium h3 a:hover { text-decoration: underline; }

.card-medium .summary {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

/* Right: compact list */
.compact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.compact-list li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.compact-list li:first-child { padding-top: 0; }
.compact-list li:last-child { border-bottom: none; }

.compact-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.compact-list .thumb {
  width: 80px;
  height: 56px;
  border-radius: var(--radius);
  grid-row: 1 / -1;
}

.compact-list .compact-text .category {
  margin-bottom: var(--space-xs);
}

.compact-list .compact-text h4 {
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.compact-list h4 a { color: var(--color-accent); }
.compact-list h4 a:hover { text-decoration: underline; }

/* === Section Header === */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-lg) 0 var(--space-md);
}

.section-header h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: var(--space-xs);
}

.section-header a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* === Footer === */
.site-footer {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-light);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  margin-top: var(--space-xl);
}

/* === Article Page === */
.article-header {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.25;
}

.article-header .meta {
  margin-top: var(--space-sm);
}

.article-body {
  max-width: 640px;
  margin: 0 auto;
}

.article-body p {
  margin-bottom: var(--space-md);
}

.back-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

/* === Article Images === */
.article-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: var(--space-lg);
}

.article-img-portrait {
  max-width: 360px;
  border-radius: 6px;
  margin-bottom: var(--space-lg);
}

/* === Album Entry (Bobby's Covers) === */
.album-entry {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.album-entry:last-child { border-bottom: none; }

.album-cover {
  max-width: 300px;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  display: block;
}

.album-entry h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

/* === Recipe (Seraphina) === */
.recipe-ingredients {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.recipe-ingredients li {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.recipe-steps {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.recipe-steps li {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

/* === Disclaimer / Callout === */
.callout {
  background: #f0efeb;
  border-left: 4px solid var(--color-category);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* === Address Block === */
.address-block {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  line-height: 1.8;
}

/* === Interview Q&A === */
.article-body .intro {
  font-size: 0.95rem;
  color: var(--color-muted);
  border-left: 3px solid var(--color-border);
  padding-left: var(--space-md);
  margin-bottom: var(--space-lg);
}

.qa {
  margin-bottom: var(--space-lg);
}

.qa .question {
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.qa .answer {
  color: var(--color-text);
  margin-bottom: 0;
}

/* === Slides Embed === */
.slides-embed {
  position: relative;
  width: 100%;
  padding-bottom: 59.27%;
  margin-bottom: var(--space-lg);
}

.slides-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

/* === Responsive === */
@media (max-width: 680px) {
  .masthead h1 { font-size: 2rem; }
  .featured { grid-template-columns: 1fr; }
  .featured-text h2 { font-size: 1.6rem; }
  .secondary { grid-template-columns: 1fr; }
  .navbar nav { gap: var(--space-md); }
}
