/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --bg:       #F8F8F7;
  --surface:  #F0F0EE;
  --bg-accent:#E8E8E6;
  --dark:     #1C1C1C;
  --mid:      #5A5A58;
  --light:    #A8A8A6;
  --copper:   #B87A4A;
  --copper-d: #96613A;
  --white:    #ffffff;
  --radius:   3px;
  --nav-h:    60px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: var(--nav-h);
  background: rgba(248,248,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--dark);
}
.nav-logo span { color: var(--copper); }

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 3rem 4rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.15s;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.3s;
}

.page-sub {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.45s;
}

/* ─── SECTION UTILS ──────────────────────────────────────── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.wrap-sm {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 5rem;
}

.ruler {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.ruler-line {
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--copper) 0%, transparent 100%);
  flex-shrink: 0;
}

.ruler-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.8;
}

/* divider */
.divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--copper);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--copper-d); transform: translateY(-1px); }

.btn-dark {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-dark:hover { background: var(--copper); transform: translateY(-1px); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}
.footer-logo span { color: var(--copper); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── REVEAL ON SCROLL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3rem; }
  .wrap  { padding: 3.5rem 1.5rem; }
  .wrap-sm { padding: 0 1.5rem 3.5rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
