/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Raleway', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: #1e293b; background: #f8fafc; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: #C8A96E; color: #07151a; padding: 0.75rem 1.5rem; border-radius: 0 0 8px 8px;
  font-weight: 600; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Header ──────────────────────────────────────────────── */
#site-header {
  background: transparent;
  backdrop-filter: none;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}
#site-header.scrolled {
  background: rgba(7, 21, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: 0;
}
#site-header.scrolled nav { padding-top: 1rem; padding-bottom: 1rem; }

/* ── Mobile Menu ─────────────────────────────────────────── */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.menu-line { transition: transform 0.3s, opacity 0.3s; }
#menu-btn[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-btn[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
#menu-btn[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }
.mobile-link { transition: color 0.2s; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-tag { animation: fadeUp 0.8s 0.2s both; }
.hero-line { animation: slideUp 0.7s both; }
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.25s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; }
.hero-fade { animation: fadeUp 0.8s 0.55s both; }
.hero-image-col { animation: fadeRight 1s 0.3s both; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll indicator */
.scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: #C8A96E;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

/* ── Reveal Animations ───────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up   { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1; transform: translate(0, 0);
}
/* Stagger children */
.reveal-up:nth-child(2)   { transition-delay: 0.1s; }
.reveal-up:nth-child(3)   { transition-delay: 0.2s; }
.reveal-up:nth-child(4)   { transition-delay: 0.3s; }
.reveal-up:nth-child(5)   { transition-delay: 0.4s; }
.reveal-up:nth-child(6)   { transition-delay: 0.5s; }
.reveal-up:nth-child(7)   { transition-delay: 0.6s; }

/* ── Utility ─────────────────────────────────────────────── */
::selection { background: rgba(27, 77, 94, 0.2); color: inherit; }
