/* ── Nota Geran — Dark & Premium ─────────────────────────────────
   --bg      #14261C  deep forest green (page)
   --panel   #1B3025  raised panel green
   --ink     #F3EFE4  warm off-white (body text)
   --gold    #C9A24B  brass/gold accent
   --sage    #8FA08D  muted sage (meta, captions)
   --line    #3A4A3E  hairline divider
   --sage-dim#B7C2B4  softer body on dark
──────────────────────────────────────────────────────────────── */

:root {
  --bg:      #14261C;
  --panel:   #1B3025;
  --ink:     #F3EFE4;
  --gold:    #C9A24B;
  --gold-hi: #E0BE6E;
  --sage:    #8FA08D;
  --sage-dim:#B7C2B4;
  --line:    #3A4A3E;
  --max: 44rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

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

/* ── Header ── */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-mark { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.mark { width: 1.4rem; height: 1.4rem; color: var(--gold); flex: none; }

.site-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: .01em;
}

.site-nav { font-family: 'Karla', sans-serif; font-size: .8rem; }
.site-nav a {
  margin-left: 1.2rem; color: var(--sage);
  text-transform: uppercase; letter-spacing: .13em; font-weight: 700;
}
.site-nav a:hover { color: var(--gold); }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 3.5rem; }

/* ── Intro / hero ── */
.intro { padding: 3rem 0 1.5rem; }

.eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold); margin: 0 0 .7rem;
}

.intro-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.1;
  letter-spacing: .005em;
  margin: 0; color: var(--ink);
  max-width: 18ch;
}

/* ── Feed ── */
.feed { margin-top: 2rem; }

.entry { padding: 2rem 0; border-top: 1px solid var(--line); }
.feed .entry:first-child { border-top: none; }

.entry-date {
  font-family: 'Karla', sans-serif;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--sage); margin: 0 0 .5rem;
}
.entry-lang { color: var(--gold); font-weight: 700; }

.entry-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 1.9rem; line-height: 1.15;
  margin: 0 0 .6rem;
}
.entry-title a { color: var(--ink); }
.entry-title a:hover { color: var(--gold-hi); }

.entry-thumb-link { display: block; margin: .5rem 0 .9rem; }
.entry-thumb { width: 100%; border-radius: 6px; border: 1px solid var(--line); }

.entry-excerpt { margin: 0 0 .8rem; color: var(--sage-dim); }

.entry-tags { margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-family: 'Karla', sans-serif;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 3px; padding: .2rem .6rem;
  background: var(--panel);
}
.tag:hover { border-color: var(--gold); color: var(--gold-hi); }

.entry-more { font-family: 'Karla', sans-serif; font-size: .82rem; margin: 0; }
.entry-more a { font-weight: 700; letter-spacing: .04em; }

/* ── Post page ── */
.post-header { padding: 3rem 0 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }

.post-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.12; margin: .3rem 0 .8rem; color: var(--ink);
}

.post-content { color: var(--sage-dim); font-size: 1.09rem; }
.post-content p { margin: 0 0 1.25rem; }

.post-content h2, .post-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; line-height: 1.2; color: var(--ink);
  margin: 2.4rem 0 .7rem;
}
.post-content h2 { font-size: 1.85rem; }
.post-content h3 { font-size: 1.45rem; }

.post-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,162,75,.4); }
.post-content a:hover { text-decoration-color: var(--gold); }

.post-content strong { color: var(--ink); font-weight: 700; }

.post-content img { border-radius: 6px; border: 1px solid var(--line); margin: 1.4rem 0; }

.post-content blockquote {
  margin: 1.6rem 0; padding: .4rem 1.3rem;
  border-left: 2px solid var(--gold);
  color: var(--sage); font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem;
}

.post-content ol, .post-content ul { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.post-content li { margin: .4rem 0; }

.post-content table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.4rem 0; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.post-content th { font-family: 'Karla', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); background: var(--panel); }

/* Language jump links */
.lang-jump {
  font-family: 'Karla', sans-serif; font-size: .88rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: .7rem 1rem; margin: 0 0 1.5rem; color: var(--sage-dim);
}
.lang-jump a { color: var(--gold); text-decoration: none; font-weight: 700; }

/* Attachment slip */
.attachment {
  display: block; font-family: 'Karla', sans-serif;
  font-size: .92rem; font-weight: 700; color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: .9rem 1.1rem; margin: 1.4rem 0;
  text-decoration: none;
}
.attachment:hover { border-color: var(--gold); color: var(--gold-hi); }
.attachment small { display: block; font-weight: 400; color: var(--sage); margin-top: .2rem; }

.post-footer-nav { font-family: 'Karla', sans-serif; font-size: .85rem; margin-top: 3rem; }
.post-footer-nav a { font-weight: 700; }

/* ── Topics index ── */
.topic-list { list-style: none; padding: 0; margin: 1.8rem 0; }
.topic-list li { padding: .1rem 0; border-bottom: 1px solid var(--line); }
.topic-list li:last-child { border-bottom: none; }
.topic-list a {
  display: block; padding: .9rem 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem;
  color: var(--ink);
}
.topic-list a:hover { color: var(--gold); }

/* ── Footer ── */
.site-footer {
  max-width: var(--max); margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  font-family: 'Karla', sans-serif;
}
.footer-links { margin: 0 0 .7rem; display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-links a { font-size: .9rem; font-weight: 700; letter-spacing: .03em; color: var(--gold); }
.footer-links a:hover { color: var(--gold-hi); }
.footer-copy { margin: 0; font-size: .8rem; color: var(--sage); }

/* ── Mobile ── */
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .site-header { padding: 1.2rem 1.1rem 1rem; }
  .site-title { font-size: 1.35rem; }
  .site-nav a { margin-left: .9rem; letter-spacing: .08em; }
  .intro { padding: 2.2rem 0 1rem; }
  .entry-title { font-size: 1.6rem; }
  .footer-links { gap: 1rem; }
}

@media (max-width: 380px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .site-nav a { margin: 0 .9rem 0 0; }
}
