:root {
  --navy: #1b2a4a;
  --navy-mid: #2d4270;
  --navy-light: #e8edf5;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --muted: #6b7a99;
  --accent: #c9a84c;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
  --shadow-hover: 0 8px 32px rgba(27, 42, 74, 0.14);
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--off-white);
  color: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

a { color: inherit; text-decoration: none; }

/* ── Layout ── */

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

.section { padding: 5rem 0; }
.section--alt { background: var(--white); }

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { line-height: 1.8; color: var(--muted); font-weight: 300; }

em { font-style: italic; color: var(--navy-mid); }

/* ── Section headers ── */

.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section-title { margin-bottom: 1rem; }

.rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin-top: 1.2rem;
}

.rule--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-mid); box-shadow: var(--shadow-hover); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy-light); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── Category pills ── */

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill--polo         { background: #e8edf5; color: #2d4270; }
.pill--show-jumping { background: #eef5e8; color: #2d5e2d; }
.pill--horse-riding { background: #f5edda; color: #7a5c20; }

/* ── Page hero ── */

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--navy-light);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero .rule { margin: 1.2rem auto 0; }

/* ── Image placeholder ── */

.img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Empty state ── */

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state p { font-size: 0.9rem; color: var(--muted); }

/* ── Animations ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-1 { animation: fadeUp 0.55s ease both 0.1s; }
.animate-2 { animation: fadeUp 0.55s ease both 0.2s; }
.animate-3 { animation: fadeUp 0.55s ease both 0.3s; }
.animate-4 { animation: fadeUp 0.55s ease both 0.4s; }
.animate-5 { animation: fadeUp 0.55s ease both 0.5s; }

/* ── Responsive ── */

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .page-hero { padding: 3rem 0 2.5rem; }
}
