/* Porch Light — art deco editorial.
   Type: Limelight (mast only) · Bodoni Moda (display) · Lora (body)
   Palette: white canvas, deep midnight ink, deep deco teal accent
   Anti-tells applied: no 1px borders, no chrome <body, no mailto, no
   locale strings in chrome, no warm earth accents, no italic-subtitle
   lockups, no "Learn more" CTAs, no related-reading trailers.
*/

:root {
  --canvas: #ffffff;
  --ink: #0e1822;
  --ink-soft: #2a3744;
  --accent: #0e5c6e;
  --accent-deep: #073945;
  --rule: #0e1822;
  --measure: 36rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "liga", "kern";
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
}

.masthead-inner {
  max-width: 60rem;
  margin: 0 auto;
  position: relative;
}

.wordmark {
  font-family: "Limelight", "Bodoni Moda", serif;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

.issue-marker {
  font-family: "Bodoni Moda", serif;
  font-size: 1.0625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 1.25rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.issue-marker .ornament {
  width: 2.5rem;
  height: 0.875rem;
  flex: none;
}

.issue-marker .ornament path {
  fill: var(--accent-deep);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin: 0 auto 3rem;
  max-width: 80rem;
  padding: 0 1.5rem;
}

.hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--accent-deep);
}

/* ============================================================
   ARTICLE
   ============================================================ */
.post {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  position: relative;
}

.post + .post { padding-top: 0; }

.post-eyebrow {
  font-family: "Bodoni Moda", serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.25rem;
  text-align: center;
}

.post-title {
  font-family: "Bodoni Moda", "Didot", serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--ink);
}

.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--accent-deep); }

.post-meta {
  font-family: "Bodoni Moda", serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 2.5rem;
}

.post-image {
  margin: 0 0 2.5rem;
}
.post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--accent-deep);
}

.post-body p {
  margin: 0 0 1.4em;
}

.post-body h2 {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 2.6rem 0 1rem;
  color: var(--ink);
}

.post-body h3 {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
  color: var(--ink);
}

.post-body > p:first-of-type::first-letter {
  font-family: "Bodoni Moda", serif;
  font-size: 4.25rem;
  line-height: 0.85;
  float: left;
  padding: 0.45rem 0.55rem 0 0;
  color: var(--accent-deep);
  font-weight: 600;
}

/* ============================================================
   ORNAMENT
   ============================================================ */
.ornament-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3.5rem auto 0;
}

.ornament-row svg {
  width: 5rem;
  height: 1.5rem;
}

.ornament-row svg path { fill: var(--accent-deep); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-back {
  text-align: center;
  margin: 1rem 0 3rem;
}

.article-back a {
  font-family: "Bodoni Moda", serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-decoration: none;
}

.article-back a:hover { text-decoration: underline; }

.article-page .post {
  padding-top: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.colophon {
  margin: 5rem auto 0;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background: var(--ink);
  color: #f0e7d8;
}

.colophon-mark {
  font-family: "Limelight", serif;
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: #f5ecd9;
}

.colophon p {
  font-family: "Bodoni Moda", serif;
  font-size: 1.0625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  color: #d8c79e;
}

.colophon .ornament-row svg path {
  fill: #d8c79e;
}

/* ============================================================
   404
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.error-page h1 {
  font-family: "Limelight", serif;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.error-page p {
  font-family: "Bodoni Moda", serif;
  font-size: 1.15rem;
  max-width: 30rem;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .masthead { padding: 2.5rem 1.25rem 2rem; }
  .post { padding: 2.5rem 1.25rem; }
  .post-body > p:first-of-type::first-letter {
    font-size: 3.5rem;
  }
  .colophon { padding: 3rem 1.25rem 4rem; }
}
