/* ─── Reset & Variables ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FDF6F0;
  --bg-alt: #FAEDE3;
  --ink: #1C1410;
  --ink-muted: #7A5C4E;
  --accent: #C45C1A;
  --accent-hover: #A34A12;
  --accent-light: #FDEEE3;
  --border: #E8D5C4;
  --max: 760px;
  --font-head: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }

/* ─── Header ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
}

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

nav a.active {
  font-weight: 500;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink);
  text-decoration: none;
}

/* ─── Typography ─── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

h1.page-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0;
}

/* ─── Page Header Block ─── */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

/* ─── Back link ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); text-decoration: none; }

/* ─── Footer ─── */
footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-muted); font-size: 13px; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-1 { animation: fadeUp 0.5s ease both; }
.fade-2 { animation: fadeUp 0.5s 0.08s ease both; }
.fade-3 { animation: fadeUp 0.5s 0.16s ease both; }
.fade-4 { animation: fadeUp 0.5s 0.24s ease both; }
.fade-5 { animation: fadeUp 0.5s 0.32s ease both; }

/* ─── Responsive ─── */
@media (max-width: 620px) {
  section { padding: 48px 0; }
  .page-header { padding: 40px 0 32px; }
  nav { gap: 16px; }
  nav a { font-size: 13px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
