/* ==========================================================
   ESTAKI EDITIONS — house style
   Playfair Display (display) · EB Garamond (text)
   ========================================================== */

:root {
  --navy: #14213d;
  --navy-deep: #0b1428;
  --ink: #1c1c1c;
  --paper: #faf7f1;
  --paper-warm: #f2ece0;
  --gold: #b8893b;
  --muted: #6b6457;
  --rule: #d8cfbd;
  --display: "Playfair Display", Georgia, serif;
  --text: "EB Garamond", Garamond, Georgia, serif;
  --measure: 68ch;
}

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

html { font-size: 18px; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Masthead & navigation ---------- */
.masthead {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 1.6rem 1rem 1rem;
  border-bottom: 3px solid var(--gold);
}
.masthead .imprint {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: .04em;
  text-decoration: none;
}
.masthead .tagline {
  font-style: italic;
  color: #c9c2b2;
  margin-top: .2rem;
}
.nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .4rem 1.6rem; margin-top: 1rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
}
.nav a { text-decoration: none; color: #e7e1d4; padding-bottom: 2px; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); color: #fff; }

/* ---------- Cover story (homepage) ---------- */
.cover {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  padding: clamp(3rem, 9vw, 6rem) 1rem;
  text-align: center;
}
.kicker {
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.cover h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.05;
  max-width: 16ch; margin: 1rem auto;
}
.cover .dek {
  font-size: 1.25rem; font-style: italic; color: #d6cfbf;
  max-width: 40ch; margin: 0 auto 1.6rem;
}
.byline { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.button {
  display: inline-block; margin-top: 1.8rem;
  border: 1px solid var(--gold); color: var(--gold);
  padding: .7rem 1.6rem; text-decoration: none;
  letter-spacing: .2em; text-transform: uppercase; font-size: .75rem;
}
.button:hover { background: var(--gold); color: var(--navy); }

/* ---------- Section headings & grid ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 3.5rem 16px; }
.section-title {
  font-family: var(--display); font-size: 1.6rem;
  text-align: center; margin-bottom: 2.2rem; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--gold); margin: .7rem auto 0;
}
.grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card { border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.card .kicker { color: var(--gold); }
.card h3 {
  font-family: var(--display); font-size: 1.45rem; line-height: 1.2;
  margin: .5rem 0;
}
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.card p { color: var(--muted); }
.card .meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .8rem; color: var(--ink); }

/* ---------- Article (magazine essay layout) ---------- */
.article-head {
  background: var(--navy); color: var(--paper);
  text-align: center; padding: clamp(3rem, 8vw, 5.5rem) 1rem;
}
.article-head h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08;
  max-width: 18ch; margin: 1rem auto;
}
.article-head .dek { font-style: italic; font-size: 1.2rem; color: #d6cfbf; max-width: 46ch; margin: 0 auto 1.4rem; }

.article-body {
  max-width: 1000px; margin: 0 auto; padding: 3.5rem 16px 2rem;
  font-size: 1.12rem;
}
.article-body .columns { column-count: 2; column-gap: 3rem; column-rule: 1px solid var(--rule); }
.article-body .single { max-width: var(--measure); margin: 0 auto; }
.article-body p { margin-bottom: 1.1rem; text-align: justify; hyphens: auto; }

.dropcap::first-letter {
  font-family: var(--display);
  float: left; font-size: 4.6em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--navy);
}

.pullquote {
  font-family: var(--display); font-style: italic;
  font-size: 1.7rem; line-height: 1.3; text-align: center;
  color: var(--navy);
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  padding: 1.6rem .5rem; margin: 2.5rem auto; max-width: 30ch;
  column-span: all;
}

.article-body h2 {
  font-family: var(--display); font-size: 1.5rem;
  margin: 2rem 0 1rem; column-span: all; text-align: center;
}
.article-body .section-break { text-align: center; color: var(--gold); letter-spacing: 1em; margin: 2rem 0; column-span: all; }

.author-box {
  max-width: var(--measure); margin: 3rem auto 0; padding: 1.6rem;
  background: var(--paper-warm); border-left: 3px solid var(--gold);
  font-size: 1rem;
}
.author-box strong { font-family: var(--display); font-size: 1.1rem; }

/* ---------- About & footer ---------- */
.prose { max-width: var(--measure); margin: 0 auto; font-size: 1.12rem; }
.prose p { margin-bottom: 1.1rem; }

.footer {
  background: var(--navy-deep); color: #b9b2a3;
  text-align: center; padding: 2.5rem 1rem; font-size: .9rem;
  margin-top: 3rem;
}
.footer .imprint { font-family: var(--display); color: var(--paper); font-size: 1.4rem; display: block; margin-bottom: .4rem; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  html { font-size: 17px; }
  .article-body .columns { column-count: 1; }
  .article-body p { text-align: left; }
  .pullquote { font-size: 1.4rem; }
}

/* ---------- Print: essays print like a magazine page ---------- */
@media print {
  .masthead .nav, .footer, .button { display: none; }
  .article-head, .cover { background: none; color: var(--ink); }
}
