/* ==========================================================================
   ACE ARTE — typography.css
   Base element styling and the type scale. No component rules live here.
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor targets clear the fixed header */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

/* Lenis controls scrolling once JS boots; without JS the native smooth
   scroll above still works. */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--clr-ink);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: inherit;
  margin: 0 0 var(--sp-4);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-ui); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--clr-accent); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }

strong, b { font-weight: 600; }

small { font-size: var(--fs-small); }

hr {
  border: 0;
  border-top: 1px solid var(--clr-border);
  margin: var(--sp-6) 0;
  opacity: 1;
}

::selection {
  background: var(--clr-accent);
  color: var(--clr-primary);
}

/* --- Reusable type utilities ---------------------------------------------- */

/* Small gold label that opens most sections. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--clr-secondary);
  flex: 0 0 34px;
}
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--clr-secondary);
  flex: 0 0 34px;
}

.display-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.section-title { margin-bottom: var(--sp-4); }

.lead {
  font-size: var(--fs-lead);
  color: var(--clr-muted);
  max-width: 62ch;
}
.lead--center { margin-inline: auto; }

.text-gold { color: var(--clr-secondary); }
.text-accent { color: var(--clr-accent); }
.text-muted-soft { color: var(--clr-muted); }

.font-ui { font-family: var(--font-ui); }
.font-display { font-family: var(--font-display); }

.italic-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* Gold gradient text — used once, on the hero price figure. */
.gold-gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
