/* ============================================
   OZYDE — Global reset, base, typography, utilities
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.site-header :focus-visible {
  outline-color: var(--gold-light);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lede {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.82;
  max-width: 52ch;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(34px, 5.2vw, 58px);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-head h2 sup {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  top: -0.9em;
}

.section-head p {
  max-width: 38ch;
  opacity: 0.75;
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--jewel); transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-gold {
  background: var(--gold-deep);
  color: var(--white);
}
.btn-gold:hover { filter: brightness(0.88); transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--line-on-dark);
}
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.link-arrow:hover { background: var(--ink); color: var(--cream); gap: 12px; transform: translateY(-2px); }
.link-arrow svg { width: 14px; height: 14px; }

/* Tags / badges */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* background/color/heading/eyebrow are set in gradient.css (loaded after this
   file) — .dark-section became a light section with a soft glow on
   2026-09-09, same treatment as .section-ink. Kept here as an empty anchor
   so every other .dark-section-scoped rule in this file still has something
   to attach to. */
.dark-section {}

/* Homepage "Loved By" section — .dark-section's original blush-background
   idea, predating the 2026-09-09 change that made .dark-section itself light. */
.reviews-light {
  color: var(--ink);
  background-color: var(--paper);
  background-image: url('../assets/images/blush-glow-bg.jpg');
  background-size: cover;
  background-position: center;
}
