:root {
  --primary: #8A6D5C;
  --accent: #CFAF93;
  --bg: #F7F5F3;
  --text: #2B2B2B;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

h1, h2, h3 {
  margin: 0 0 8px 0;
  line-height: 1.25;
}

section { margin: 28px 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* Layout helpers */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Header / Footer */
.site-header, .site-footer {
  background: #fff;
  border-bottom: 1px solid #e9e6e3;
}

.site-footer {
  border-top: 1px solid #e9e6e3;
  border-bottom: none;
  margin-top: 32px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

/* Links & buttons */
a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { opacity: 0.9; }

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.btn:hover { filter: brightness(1.05); }

.btn.small { padding: 8px 12px; box-shadow: none; }

.btn.outline {
  background: #fff;
  color: var(--text);
  border: 1px solid #ddd;
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Navigation (shared across all pages) */
.nav nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Make <a> and <strong> behave consistently */
.nav nav a,
.nav nav strong {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  color: var(--text);
}

/* Active page (<strong> or aria-current) */
.nav nav strong,
.nav nav a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

/* Hover effect */
.nav nav a:hover {
  filter: brightness(1.05);
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
