/* ============================================================
   SAB — borni.co.uk
   Global stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:        #111110;
  --ink-mid:    #555550;
  --ink-faint:  #999992;
  --rule:       #e0dfd8;
  --bg:         #faf9f6;
  --bg-lift:    #f2f1ed;
  --accent:     #111110;

  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;

  --page-w:     860px;
  --pad:        clamp(1.25rem, 4vw, 2rem);
  --gap:        3rem;
}

/* ── Base ───────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────── */
.site-wrap {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: var(--pad);
}

/* ── Nav ────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: var(--gap);
}

.nav-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--ink-mid);
  letter-spacing: 0.03em;
  transition: color 0.15s;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active {
  border-bottom: 0.5px solid var(--ink);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 0.5px solid var(--rule);
  margin-top: var(--gap);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--ink-faint);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ── Section label ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── Divider ─────────────────────────────────────────────── */
hr.rule {
  border: none;
  border-top: 0.5px solid var(--rule);
  margin: var(--gap) 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 0.5px solid var(--ink);
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--rule);
}

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

/* ── Page fade-in ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-wrap > * {
  animation: fadeUp 0.45s ease both;
}

.site-wrap > *:nth-child(2) { animation-delay: 0.05s; }
.site-wrap > *:nth-child(3) { animation-delay: 0.10s; }
.site-wrap > *:nth-child(4) { animation-delay: 0.15s; }
.site-wrap > *:nth-child(5) { animation-delay: 0.20s; }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-nav { flex-wrap: wrap; gap: 1rem; }
  .nav-links { gap: 1.25rem; }
}
