/* ASCEND modernization layer — loads on top of styles.css.
   Defines the self-hosted type system and refines display typography,
   focus states, and small polish while preserving the original look. */

:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Cormorant is more delicate than the old system serif — give display type presence */
h1, h2, h3,
.brand-lockup strong, .site-footer strong,
.section-heading h2, .inner-copy h2, .detail-copy h1,
.testimonial-copy h2, .launch-offer-card h2,
.roadmap-card h2, .roadmap-note h2, .legal-hero h1,
.coming-soon-teaser h3,
.discount-price, .product-card-footer > strong, .product-price {
  font-weight: 600;
}

/* Tighten the large editorial headings a touch */
.section-heading h2, .inner-copy h2, .detail-copy h1,
.testimonial-copy h2, .launch-offer-card h2, .legal-hero h1 {
  letter-spacing: 0.004em;
}
.hero-content h1 { letter-spacing: 0.01em; }

/* Keyboard-visible focus states (accessibility) */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Buttons get a subtle lift on hover */
.primary-button, .secondary-button, .text-link, .site-nav a {
  transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 20px 44px rgba(185, 132, 38, 0.3); }
.secondary-button:hover { transform: translateY(-1px); }

/* Gold buttons carry a light sweep on hover */
.primary-button {
  position: relative;
  overflow: hidden;
}
.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.4) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.primary-button:hover::after { transform: translateX(130%); }

/* Footer copyright line */
.footer-copy {
  display: block;
  margin-top: 16px;
  color: rgba(251, 247, 238, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* Consent checkboxes: small box aligned with its label (was inheriting the
   full-width 48px input styling and rendering as a giant box). */
.consent-check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.consent-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--gold);
}

/* Honeypot — invisible to humans (and skipped by keyboard/screen readers),
   present in the DOM for bots. Never display this field. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Forms placed on light pages (contact, ambassador) sit on a dark card so
   the shared ivory label/input styling from styles.css holds. */
.circle-form.on-light {
  background:
    radial-gradient(circle at 88% 0%, rgba(111, 73, 165, 0.32), transparent 22rem),
    linear-gradient(135deg, var(--night), #08101d 58%, #1b1430);
  border-color: rgba(239, 210, 138, 0.4);
}

/* Contact page: form first, info cards after */
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button:hover, .secondary-button:hover { transform: none; }
  .primary-button::after { display: none; }
}
