/* 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 on the CTA: a glow that fades in and out on a pseudo-element (opacity is composited, so no repaint per
   frame; the old version animated the button's box-shadow and repainted three buttons 60 times a second, 2026-11-01). */
@keyframes ctaPulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.btn-pulse { position: relative; }
.btn-pulse::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 4px 28px rgba(196, 93, 62, 0.55); opacity: 0; pointer-events: none; will-change: opacity; 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;
}

/* 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;
  }
  .btn-pulse::after { animation: none; }
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: 20px 28px; transition: background 0.35s, padding 0.35s; }
.nav.scrolled { background: rgba(250, 246, 240, 0.97); /* no backdrop blur: it repainted on every scroll frame (2026-11-01) */ 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; }
/* 2026-11-04 (Samar's six fixes, 1): the nav button is a quiet link that scrolls to the form; the form's own button is the one orange primary. */
.nav-cta { background: transparent; color: var(--ink); padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: var(--text-sm); border: 1.5px solid rgba(27, 27, 47, 0.28); transition: border-color var(--duration-normal), color var(--duration-normal); }
.nav-cta:hover { border-color: var(--accent); color: var(--accent-2); }

/* 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; }
