:root {
  --ink: #0B1F3A;
  --ink-soft: #1a2f4d;
  --gold: #C9A227;
  --gold-soft: #E0C568;
  --cream: #FAF7F0;
  --cream-deep: #F1EAD8;
  --muted: #6B7280;
  --border: rgba(11, 31, 58, 0.12);
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.12);
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --max-width: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; display: block; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em;
}
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 0.25rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.lang-switch { display: flex; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; }
.lang-switch a { color: var(--muted); padding: 0.15rem 0.4rem; border-radius: 4px; }
.lang-switch a.active { color: var(--ink); background: var(--cream-deep); }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 162, 39, 0.07) 0%, transparent 60%),
    var(--cream);
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.03; pointer-events: none;
}
.hero h1 { max-width: 20ch; margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s ease;
  border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; padding: 0.5rem 0; border-radius: 0; border-bottom: 1px solid var(--ink); }
.btn-ghost:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--cream-deep); }
.section-cta { margin-top: 2rem; }

/* Eyebrow label */
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.card-news time {
  font-size: 0.8rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
  display: block; margin-bottom: 0.5rem;
}
.card-news h3 a:hover { color: var(--gold); }

.partner-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--ink);
}
.partner-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); color: var(--ink); }
.partner-card strong { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.partner-card span { color: var(--ink-soft); font-size: 0.92rem; }

/* Page */
.page { padding: 4rem 0 5rem; }
.page-header { max-width: 60ch; margin-bottom: 2.5rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-lede { font-size: 1.15rem; color: var(--ink-soft); }
.page-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* Prose */
.prose { max-width: 68ch; font-size: 1.05rem; }
.prose h2 { margin-top: 2.2em; font-size: 1.65rem; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose input, .prose textarea {
  width: 100%; padding: 0.6rem 0.8rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  margin-top: 0.3rem;
}
.prose input:focus, .prose textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.prose button { margin-top: 0.5rem; }

.read-more { font-size: 0.9rem; font-weight: 500; color: var(--gold); }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.footer-brand { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 0.5rem; }
.footer-legal { color: rgba(250, 247, 240, 0.7); font-size: 0.85rem; margin: 0 0 0.4rem; }
.footer-meta { color: rgba(250, 247, 240, 0.5); font-size: 0.8rem; }
.footer-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; font-weight: 600; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 0.5rem; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(250, 247, 240, 0.12); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(250, 247, 240, 0.55); }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
}
