:root {
  --primary: #1a1a1a;
  --primary-dark: #000000;
  --accent: #9b2335;
  --accent-soft: #f0dcdf;
  --ink: #222222;
  --muted: #7a7670;
  --surface: #ffffff;
  --background: #f6f4f0;
  --border: #e2ded6;
}

html { font-size: 18px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px; line-height: 1.7; color: #222222;
  background-color: #f6f4f0;
  display: flex; flex-direction: column; min-height: 100vh;
}
.site-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; color: #1a1a1a; font-weight: 700; line-height: 1.2; }
h1, .page-title { font-size: 42px; font-weight: 700; }
h2, .block-heading { font-size: 30px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }

/* ── Header / nav ───────────────────────────────────── */
.site-header { background-color: #ffffff; border-bottom: 1px solid #1a1a1a; }
.site-navbar { padding: 0 1.5rem; }
.site-brand { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.6rem; color: #1a1a1a !important; letter-spacing: .01em; }
.site-navbar .uk-navbar-nav > li > a { font-family: 'Inter', sans-serif; font-weight: 600; font-size: .82rem; color: #1a1a1a; text-transform: uppercase; letter-spacing: .04em; }
.site-navbar .uk-navbar-nav > li > a:hover { color: #9b2335; }
.site-navbar .uk-navbar-nav > li:hover > .uk-navbar-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.uk-navbar-toggle { color: #1a1a1a; }
#offcanvas-nav .uk-offcanvas-bar { background: #1a1a1a; }

/* ── Hero ───────────────────────────────────────────── */
.site-hero {
  background:
    linear-gradient(rgba(246,244,240,.86), rgba(246,244,240,.92)),
    url('/assets/images/img_5689e4d23971.png') center 34% / cover no-repeat;
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}
.hero-title { color: #1a1a1a; font-size: 52px; letter-spacing: .01em; }
.hero-lead { color: #7a7670; font-family: 'Inter', sans-serif; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; }

/* ── Project grid ───────────────────────────────────── */
.project-grid { margin-top: 1rem; }
.project-card { background: #fff; border: 1px solid var(--border); border-radius: 0; transition: border-color .2s; }
.project-card:hover { border-color: #9b2335; }
.project-card .card-title { font-size: 1.5rem; margin: 0; }
.project-card .card-title a { color: #1a1a1a; }
.project-card .card-title a:hover { color: #9b2335; }

/* ── Content ────────────────────────────────────────── */
.site-prose { color: #222222; }
.site-prose p, .block-paragraph { margin: 0 0 1.2em; }
.block-image, .article-main-image { max-width: 100%; height: auto; margin: 1.2em 0; }
@media (min-width: 960px) { .article-main-image { float: right; max-width: 40%; margin: .2em 0 1em 1.6em; } }
.article-summary { border-left: 3px solid #9b2335; background: #f0dcdf; padding: 1em 1.3em; }
.article-category-link { margin: -.4em 0 1em; font-family: 'Inter', sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.article-category-link a { color: #9b2335; }
.article-dates, .uk-article-meta { color: #7a7670; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.block-quote { border-left: 3px solid #9b2335; padding: .3em 0 .3em 1.3em; color: #7a7670; font-style: italic; font-size: 1.2rem; }
.block-list { margin-left: 1.2em; } .block-list li { list-style: disc; margin-bottom: .4em; }
.block-table { margin: 1.4em 0; }
.block-list-item { padding: .9em 0; border-bottom: 1px solid var(--border); }
.list-item-title a { color: #1a1a1a; font-weight: 700; }

/* content body links — scoped, visible */
.site-prose a, .block-paragraph a, .block-list a, .list-item-title a {
  color: #9b2335; text-decoration: underline; text-decoration-color: rgba(155,35,53,.45);
}
.site-prose a:hover, .block-paragraph a:hover { color: #1a1a1a; }

/* ── Breadcrumbs ────────────────────────────────────── */
.breadcrumb-bar { padding-top: 1rem; }
.breadcrumb-bar .uk-breadcrumb a { color: #9b2335; }

/* ── Cards / category ───────────────────────────────── */
.card-grid { margin-top: 1rem; }
.default-card, .horizontal-card, .card-minimal { border: 1px solid var(--border); border-radius: 0; }
.uk-card-title a, .card-minimal h5 a { color: #1a1a1a; }
.card-minimal { border-left: 3px solid #9b2335; padding: .9em 1.2em; }
.read-more-btn { color: #9b2335 !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ── ToC ────────────────────────────────────────────── */
.toc-box { background: #fff; border: 1px solid var(--border); padding: 1em 1.2em; margin-bottom: 1.4em; }
.toc-box h6 { color: #1a1a1a; margin-top: 0; }
.toc-box a { color: #222222; }
.toc-level-3 { padding-left: 1em; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background-color: #1a1a1a; color: #c9c5bd; padding: 40px 0 0; margin-top: 2rem; font-family: 'Inter', sans-serif; }
.site-footer .footer-title { color: #fff; font-family: 'Cormorant Garamond', serif; }
.site-footer a { color: #c9c5bd; }
.site-footer a:hover { color: #fff; }
.footer-links { column-count: 2; }
.footer-copyright { background: rgba(0,0,0,.4); padding: .9em 0; margin-top: 1.4rem; }
@media (max-width: 640px) { .footer-links { column-count: 1; } }
