/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.ctn { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Skip nav */
.skip-nav {
  position: absolute; top: -100px; left: 0;
  background: var(--ink); color: #fff;
  padding: 12px 20px; text-decoration: none; z-index: 200;
  transition: top var(--duration-fast);
}
.skip-nav:focus { top: 0; }

/* Typography scale */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
p { font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* Section common */
.sec { padding: clamp(64px, 9vw, 110px) 0; }
.sec-white { background: var(--white); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-cream { background: var(--bg-2); }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark p { color: rgba(255, 255, 255, 0.6); }

/* Section labels */
.label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 16px; }
.sec-dark .label { color: var(--gold); }

/* Section titles */
.title { font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 760px; }
.sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--ink-3); max-width: 620px; line-height: 1.7; font-weight: 300; }
.sec-dark .sub { color: rgba(255, 255, 255, 0.55); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 36px; border-radius: 100px; font-family: var(--sans); font-weight: 600; font-size: var(--text-base); text-decoration: none; transition: all var(--duration-normal) var(--easing-default); border: none; cursor: pointer; white-space: nowrap; }
.btn-a { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(196, 93, 62, 0.25); }
.btn-a:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(196, 93, 62, 0.35); }
.btn-a svg { transition: transform var(--duration-normal); }
.btn-a:hover svg { transform: translateX(3px); }
.btn-lg { padding: 22px 44px; font-size: var(--text-lg); }

/* Pulse animation on CTA */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(196, 93, 62, 0.25); }
  50% { box-shadow: 0 4px 28px rgba(196, 93, 62, 0.55); }
}
.btn-pulse { animation: ctaPulse 2.4s ease-in-out infinite; }

/* Entrance animation utility */
@keyframes shimmerText { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
.shimmer {
  background: linear-gradient(90deg, var(--gold), #F5C97A, var(--gold), #F5C97A);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmerText 4s ease-in-out infinite;
}
.anim { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity var(--duration-slow) var(--easing-default), transform var(--duration-slow) var(--easing-default), filter var(--duration-slow) var(--easing-default); }
.anim.on { opacity: 1; transform: translateY(0); filter: blur(0); }
/* Above-the-fold hero paints INSTANTLY (Batch 8): never hidden by .anim, so it shows the moment the
   critical CSS arrives — no dependency on the deferred JS chain. The rest of the page still reveals on scroll. */
.hero .anim { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .anim { opacity: 1; transform: none; filter: none; }
  .btn-pulse { animation: none; }
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: 20px 28px; transition: all 0.35s; }
.nav.scrolled { background: rgba(250, 246, 240, 0.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(27, 27, 47, 0.05); padding: 14px 28px; }
.nav-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-cta { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: var(--text-sm); transition: all var(--duration-normal); box-shadow: 0 2px 12px rgba(196, 93, 62, 0.2); }
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(196, 93, 62, 0.3); }

/* Sticky bottom bar */
.sticky { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); padding: 14px 28px; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 20px; transform: translateY(100%); transition: transform 0.4s var(--easing-default); }
.sticky.on { transform: translateY(0); }
.sticky p { color: rgba(255, 255, 255, 0.6); font-size: var(--text-sm); display: none; }
@media (min-width: 640px) { .sticky p { display: block; } }
.sticky a { background: var(--accent); color: #fff; padding: 11px 28px; border-radius: 100px; font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.sticky a:hover { background: var(--accent-2); }

/* Footer */
.footer { padding: 32px 28px; text-align: center; background: var(--ink); }
.footer p { color: rgba(255, 255, 255, 0.45); font-size: var(--text-sm); }
.footer a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }
.footer a:hover { color: #fff; }
