/* Shared styles for every page. Kept in a file (not a <style> block) so the
   Content-Security-Policy can use style-src without 'unsafe-inline'. */
:root {
  --ink: #13151b;
  --ink-2: #52524a;
  --paper: #fbfbf9;
  --paper-2: #f3f3ef;
  --line: #e5e5de;
  --gold: #c99212;
  --gold-hot: #edb347;
  --gold-deep: #8f6a00;
  --glow-1: rgba(237,179,71,0.42);
  --glow-2: rgba(201,146,18,0.3);
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper); color: var(--ink);
  font-size: 16.5px; line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Bricolage Grotesque", sans-serif; }
a { color: var(--gold-deep); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-hot); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ============ NAV ============ */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  max-width: 1060px; margin: 0 auto; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
  background: rgba(15,16,21,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(15,16,21,0.25);
}
.brand { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; color: #fff; }
.brand em { font-style: normal; background: linear-gradient(120deg, var(--gold-hot), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 15px; border-radius: 999px;
  color: rgba(255,255,255,0.72); font-size: 0.9rem; font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-hot), var(--gold));
  color: #231a04 !important; font-weight: 700; font-size: 0.9rem;
  transition: filter .15s ease, transform .12s ease;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-cta:active { transform: scale(0.97); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: #13151b; color: #fff;
  overflow: hidden;
  padding: 140px 0 110px;
}
.aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora .a1 { width: 55vw; height: 55vw; left: -12%; top: -18%; background: radial-gradient(circle, var(--glow-1), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.aurora .a2 { width: 48vw; height: 48vw; right: -14%; top: 6%; background: radial-gradient(circle, var(--glow-2), transparent 65%); animation: drift2 20s ease-in-out infinite alternate; }
.aurora .a3 { width: 40vw; height: 40vw; left: 28%; bottom: -28%; background: radial-gradient(circle, rgba(237,179,71,0.18), transparent 65%); animation: drift1 24s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(6vw, 4vh) scale(1.12); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-5vw, 6vh) scale(0.95); } }
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
}
.hero .wrap { position: relative; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 500; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 7px 16px;
  background: rgba(255,255,255,0.06);
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hot); box-shadow: 0 0 12px var(--gold-hot); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  margin: 30px auto 0;
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.03;
  max-width: 17ch;
}
.hero h1 .grad {
  background: linear-gradient(110deg, var(--gold-hot) 10%, #f2d78e 45%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { margin: 26px auto 0; font-size: clamp(1.05rem, 2vw, 1.24rem); color: rgba(255,255,255,0.7); max-width: 56ch; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform .12s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold-hot), var(--gold));
  color: #231a04;
  box-shadow: 0 10px 34px rgba(237,179,71,0.3);
}
.btn-gold:hover { filter: brightness(1.07); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.25); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero-in { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.3,1) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Shorter hero for inner pages (no marquee) */
.hero.hero-page { min-height: 0; padding: 160px 0 100px; }

/* marquee */
.marquee-band { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.03); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee span { padding: 14px 34px; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.55); white-space: nowrap; letter-spacing: 0.02em; }
.marquee span b { color: var(--gold-hot); font-weight: 600; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
section { padding: 100px 0; position: relative; }
.sec-head { max-width: 680px; margin-bottom: 54px; }
.sec-head .eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep);
  background: rgba(201,146,18,0.11); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.on { opacity: 1; transform: none; }

/* What we do */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,16,21,0.09); border-color: rgba(201,146,18,0.4); }
.feat .glyph {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(237,179,71,0.18), rgba(201,146,18,0.09));
  border: 1px solid rgba(201,146,18,0.24);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.feat .glyph svg { width: 23px; height: 23px; stroke: var(--gold-deep); }
.feat h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.feat p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }

/* About */
.about { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.about-grid .copy p { color: var(--ink-2); font-size: 1.03rem; }
.about-grid .copy p + p { margin-top: 16px; }
.facts {
  background: #13151b; color: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,16,21,0.25);
}
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; }
.facts div:last-child { border-bottom: none; }
.facts dt { color: rgba(255,255,255,0.55); }
.facts dd { font-weight: 600; text-align: right; }
.facts dd.gold { color: var(--gold-hot); }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Products */
.prod-list { display: grid; gap: 24px; }
.prod {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 34px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prod::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1.5px;
  background: linear-gradient(120deg, var(--gold-hot), transparent 40%, transparent 60%, var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .2s ease;
}
.prod:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(15,16,21,0.1); }
.prod:hover::before { opacity: 1; }
.prod .mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: #13151b; color: #fff;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.prod .mark.gold { background: linear-gradient(135deg, var(--gold-hot), var(--gold)); color: #231a04; }
.prod h3 { font-size: 1.2rem; font-weight: 700; }
.prod p { color: var(--ink-2); font-size: 0.98rem; margin-top: 5px; max-width: 58ch; }
.prod .status { font-size: 0.84rem; font-weight: 700; color: var(--gold-deep); background: rgba(201,146,18,0.13); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.prod .status.live { color: #1d6b32; background: #e4f4e9; }
@media (max-width: 720px) {
  .prod { grid-template-columns: auto 1fr; }
  .prod .status { grid-column: 2; justify-self: start; }
}

/* CTA */
.cta-card {
  position: relative; overflow: hidden;
  background: #13151b; color: #fff; border-radius: 28px;
  padding: 80px 48px; text-align: center;
  box-shadow: 0 30px 80px rgba(15,16,21,0.3);
}
.cta-card .aurora { opacity: .7; }
.cta-card h2 { position: relative; font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; max-width: 22ch; margin: 0 auto; }
.cta-card p { position: relative; margin: 16px auto 0; max-width: 48ch; color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.cta-card .btn { position: relative; margin-top: 34px; }
/* Long labels (the email address) wrap instead of overflowing on phones */
.cta-card .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 480px) { .cta-card { padding: 56px 20px; } }

footer.site { padding: 46px 0 60px; color: var(--ink-2); font-size: 0.88rem; }
footer.site .foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .hero-in, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .aurora span, .marquee, .kicker .dot { animation: none !important; }
  html { scroll-behavior: auto; }
}
