/* ── ELEVATED.IE — SHARED STYLES ── */

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

:root {
  --black: #0c0c0a;
  --off-white: #f4f1eb;
  --gold: #b89a5a;
  --gold-light: #d4b87a;
  --mid: rgba(244,241,235,0.55);
  --border: rgba(244,241,235,0.12);
  --border-gold: rgba(184,154,90,0.3);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  line-height: 1.7;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  background: linear-gradient(to bottom, rgba(12,12,10,0.97) 0%, rgba(12,12,10,0) 100%);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--off-white);
}

.nav-logo-rule {
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.nav-logo-sub {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── PAGE HEADER ── */
.page-header {
  padding: 160px 64px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.page-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-intro {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.85;
  border-left: 1px solid var(--border-gold);
  padding-left: 20px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 80px auto 0;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.25);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── MOBILE MENU (hamburger + slide-out overlay) ── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--off-white);
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 10, 0.98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--off-white);
  text-decoration: none;
  padding: 18px 0;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a:focus { color: var(--gold); }

.mobile-menu-rule {
  width: 40px;
  height: 1px;
  background: var(--border-gold);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { padding: 24px 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
  .page-header { padding: 130px 28px 60px; }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 28px; }
}
