/* Design tokens */
:root {
  --color-bg: #0b132b;
  --color-bg-dark: #050915;
  --color-gold: #e5be01;
  --color-gold-light: #f5d547;
  --color-text: #fefaf3;
  --color-text-muted: #e0e0e0;
  --color-border-gold: rgba(229, 190, 1, 0.45);
  --page-width: 1920px;
  --font-heading: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gold-texture: url("./link1.jpg?v=4399906d&b=20260915T1714");

  /* Unified UI scale — buttons & body text (whole site) */
  --ui-text: 16px;
  --ui-text-lh: 1.45;
  --ui-nav-text: 18px;
  --ui-nav-lh: 1.35;
  --ui-btn-text: 16px;
  --ui-btn-lh: 1.35;
  --ui-btn-height: 52px;
  --ui-btn-padding-x: 28px;
  --ui-btn-min-width: 148px;
  --ui-eyebrow: 18px;
  --ui-eyebrow-lh: 1.35;
  --ui-eyebrow-track: 0.08em;
}

/*
 * Map AutoHTML export font names to loaded web fonts.
 * local() does NOT work with Google Fonts loaded via <link>, so URLs are required.
 */
@font-face {
  font-family: "InstrumentSerif-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/instrumentserif/v5/jizBRFtNs2ka5fXjeivQ4LroWlx-2zI.ttf")
    format("truetype");
}

@font-face {
  font-family: "InstrumentSerif-Italic";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/instrumentserif/v5/jizHRFtNs2ka5fXjeivQ4LroWlx-6zATiw.ttf")
    format("truetype");
}

@font-face {
  font-family: "Inter-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf")
    format("truetype");
}

@font-face {
  font-family: "Inter-Medium";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf")
    format("truetype");
}

@font-face {
  font-family: "Inter-SemiBoldItalic";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCM3FwrK3iLTcvneQg7Ca725JhhKnNqk4j1ebLhAm8SrXTcB9xhjQ.ttf")
    format("truetype");
}

@font-face {
  font-family: "PlayfairDisplay-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf")
    format("truetype");
}

@font-face {
  font-family: "Montserrat-Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf")
    format("truetype");
}

@font-face {
  font-family: "LibreCaslonText-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf")
    format("truetype");
}

@font-face {
  font-family: "RobotoMono-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf")
    format("truetype");
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 80px;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-bg-dark);
  min-width: 0;
  font-family: var(--font-body);
}
