/* Self-hosted variable fonts (Latin subset). No third-party requests, GDPR-safe.
   Each woff2 file covers the full 400–600 weight range via OpenType axes. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
}

:root {
  --cream: #f3ebdd;
  --cream-soft: #ede3d2;
  --ink: #1f1714;
  --ink-soft: #2a1f1a;
  --ink-muted: #4a3f38;
  --sage: #9bb09a;
  --sage-deep: #7a9279;
  --on-dark: #e8dfd3;
  --on-dark-muted: #a89e91;
  --on-dark-faint: #6b6258;
  --rule: rgba(31, 23, 20, 0.12);
  --shadow: 0 24px 60px -20px rgba(31, 23, 20, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 44px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.site-nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--filled {
  background: var(--ink-soft);
  color: var(--cream);
}

.btn--filled:hover {
  background: #110b09;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31, 23, 20, 0.25);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 15px;
}

/* Footer */
.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
  margin-top: 80px;
  background: var(--cream);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-muted);
}

.site-footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__lang {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.site-footer__lang a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
}

.site-footer__lang a:hover {
  color: var(--ink);
}

.site-footer__lang a[aria-current="true"] {
  color: var(--ink);
  font-weight: 500;
}

.site-footer__lang span {
  color: rgba(31, 23, 20, 0.25);
}

.site-footer__copy {
  color: var(--ink-muted);
}

/* Responsive shared */
@media (max-width: 960px) {
  .container {
    padding: 0 28px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
