/* ==========================================================================
   Beehive — base: fonts, tokens, reset, layout scale, typography, components
   --------------------------------------------------------------------------
   Layout scale
   - below 1100px (phones, tablets): 1rem = 10px, fluid flow layout
   - from 1100px: 1rem = viewport width / 192, so the 1920px design scales
     proportionally (1rem = 10px at 1920, 7.1px at 1366); small text has
     minimum sizes so it stays readable on smaller desktops
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: "Mabry Pro"; src: url("../fonts/MabryPro-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Mabry Pro"; src: url("../fonts/MabryPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mabry Pro"; src: url("../fonts/MabryPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mabry Pro"; src: url("../fonts/MabryPro-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mabry Pro"; src: url("../fonts/MabryPro-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Thin.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --black: #000;
  --ink: #f7f5f0;          /* headings on dark */
  --ink-2: #f5f2ed;
  --text: #99948c;         /* body copy on dark */
  --text-2: #8c8780;
  --text-3: #9e968f;
  --gold: #d9ad73;
  --gold-dim: #8c7352;
  --gold-text: #d1a870;
  --peach: #ffce99;
  --line: #292929;
  --paper: #f9f9f9;

  --font: "Mabry Pro", "Geist", system-ui, sans-serif;
  --font-alt: "Geist", "Mabry Pro", system-ui, sans-serif;

  --pad: 2rem;              /* page side padding (phones) */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 6.4rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0; min-height: 100vh; background: var(--black); color: var(--ink);
  font: 400 1.6rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* phone/tablet artwork scale: 1 design px of the 390 phone layout,
   stretched with the content column (350px wide on a 390px screen) */
:root { --k: calc((var(--vw, 1vw) * 100 - 2 * var(--pad)) / 350); --k2: var(--k); }
@media (min-width: 600px) { :root { --pad: 4rem; --k2: calc(var(--k) * .8138); } }
@media (min-width: 1100px) {
  /* --vw is set by main.js to the viewport width without the scrollbar */
  html { font-size: calc(var(--vw, 1vw) * 100 / 192); }
}

/* ---------- layout helpers ---------- */
.section { position: relative; overflow: hidden; background: var(--black); }
.container { position: relative; padding-inline: var(--pad); }
@media (min-width: 1100px) {
  .container { width: 160.2rem; margin-inline: auto; padding-inline: 0; }
}
.media { position: relative; overflow: hidden; }
.media > img, .media > video, .media > canvas { position: absolute; max-width: none; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fade { position: absolute; pointer-events: none; }
.fade--up { background: linear-gradient(to top, #000, rgba(0,0,0,0)); }      /* black at the bottom */
.fade--down { background: linear-gradient(to bottom, #000, rgba(0,0,0,0)); }  /* black at the top */

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 1.2rem;
  font: 500 1.2rem/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; flex: none; width: 2.4rem; height: 1px; background: currentColor; }
.eyebrow--dim { color: var(--gold-dim); }
.eyebrow--dim::before { background: var(--gold); }
.eyebrow--bronze { color: #997a52; }
.eyebrow--brown { color: #bf996b; }

.h-display { font: 900 5.2rem/1 var(--font); letter-spacing: -.025em; color: var(--ink); }
.h-section { font: 900 4rem/1.06 var(--font); letter-spacing: -.02em; color: var(--ink-2); }
.h-section--bold { font-weight: 700; }
.lead { font: 400 1.6rem/1.6 var(--font); color: var(--text); }
.lead--dark { color: #000; }

@media (min-width: 600px) {
  .h-display { font-size: 6.5rem; }
  .h-section { font-size: 5rem; }
  .lead { font-size: 1.7rem; }
}
@media (min-width: 1100px) {
  .eyebrow { font-size: max(11px, 1.3rem); letter-spacing: .2em; white-space: nowrap; }
  .eyebrow--geist { font-family: var(--font-alt); letter-spacing: .16em; }
  .h-display { font-size: 10.29rem; }
  .h-section { font-size: 10rem; }
  .lead { font-size: max(14px, 2rem); line-height: 1.65; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  height: 5.2rem; padding: 0 2.1rem; border-radius: 1rem; border: 1px solid transparent;
  font: 400 1.6rem/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.btn .ic { width: 1.6rem; height: 1.6rem; flex: none; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(.3rem); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--peach); color: #101010; }
.btn--primary:hover { background: #ffdcb5; box-shadow: 0 .6rem 2.4rem rgba(255, 206, 153, .25); }
.btn--gold { background: var(--gold); color: #101010; }
.btn--gold:hover { background: #e4bd88; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--ghost-dark { border-color: #000; color: #000; }
.btn--ghost-dark:hover { background: rgba(0, 0, 0, .06); }
.btn-row { display: flex; flex-direction: column; gap: 1.2rem; }
.btn-row .btn { width: 100%; }
@media (min-width: 600px) {
  .btn-row { flex-direction: row; }
  .btn-row .btn { flex: 1 1 0; width: auto; }
}
@media (min-width: 1100px) {
  .btn { height: 5rem; padding: 0 2.1rem; gap: .9rem; font-size: max(13px, 1.6rem); }
  .btn .ic { width: max(12px, 1.4rem); height: max(12px, 1.4rem); }
  .btn-row { gap: 1.4rem; }
  .btn-row .btn { flex: none; }
}

/* ---------- star chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 1rem; padding: 1.2rem 1.6rem 1.2rem 1.4rem;
  border-radius: 1.4rem; background: rgba(217, 217, 217, .15); color: #fff;
  font: 400 1.5rem/1.2 var(--font);
}
.chip .ic { width: 1.4rem; height: 1.4rem; flex: none; }

/* ---------- glass card ---------- */
.glass {
  position: relative; overflow: hidden; isolation: isolate;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 2.4rem;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
