/* =========================================================
   Infusing Capital — Design System (base)
   Black, champagne gold, Inter + Instrument Serif
   ========================================================= */

:root {
  --bg: #070605;
  --bg-2: #0c0b09;
  --surface: #121009;
  --surface-2: #17140f;
  --surface-3: #1e1a13;
  --line: rgba(233, 211, 166, 0.09);
  --line-2: rgba(233, 211, 166, 0.16);
  --line-3: rgba(233, 211, 166, 0.28);
  --text: #f5efe5;
  --muted: rgba(245, 239, 229, 0.64);
  --dim: rgba(245, 239, 229, 0.42);
  --faint: rgba(245, 239, 229, 0.22);

  --gold: #d6b37c;
  --gold-hi: #f1dcae;
  --gold-lo: #9a7745;
  --gold-grad: linear-gradient(135deg, #f6e4bc 0%, #d6b37c 42%, #a07a45 100%);
  --gold-text: linear-gradient(100deg, #f7e7c4 0%, #d9b67f 40%, #b68c52 70%, #f0d9a7 100%);
  --gold-glow: rgba(214, 179, 124, 0.45);

  --cream: #f1eadd;
  --cream-2: #e8dfcf;
  --ink: #15120d;
  --ink-muted: rgba(21, 18, 13, 0.62);
  --ink-line: rgba(21, 18, 13, 0.12);

  --green: #86d1a5;
  --green-bg: rgba(134, 209, 165, 0.12);
  --amber: #e9b860;
  --amber-bg: rgba(233, 184, 96, 0.12);
  --red: #e5806e;
  --red-bg: rgba(229, 128, 110, 0.12);
  --blue: #8db4e6;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}

img, svg, video, canvas { display: block; max-width: 100%; }
svg.ic { width: 18px; height: 18px; flex: none; }
.btn svg.ic { width: 16px; height: 16px; }
.chip svg.ic { width: 13px; height: 13px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(46px, 7.4vw, 118px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.h1 { font-size: clamp(42px, 6vw, 96px); font-weight: 300; letter-spacing: -0.042em; line-height: 1; }
.h2 { font-size: clamp(36px, 4.6vw, 72px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; }
.h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.h4 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; }

.serif, .display em, .h1 em, .h2 em, .h3 em, .h4 em, h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.gold-text, .display em, .h1 em, .h2 em, h1 em, h2 em {
  background: var(--gold-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  margin-right: -0.06em;
}
.on-cream .h1 em, .on-cream .h2 em, .on-cream h2 em, .on-cream h1 em {
  background: linear-gradient(100deg, #8a6534, #b88c4f 50%, #7d5a2c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted); font-weight: 400; max-width: 46ch; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tnum { font-variant-numeric: tabular-nums; }

.label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold), 0 0 2px var(--gold-hi);
}
.on-cream .eyebrow { border-color: var(--ink-line); color: var(--ink-muted); background: rgba(0,0,0,.02); }
.on-cream .eyebrow::before { background: #a07a45; box-shadow: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s, border-color 0.4s, color 0.4s;
  will-change: transform;
}
.btn-sm { --h: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 15.5px; }
.btn-gold {
  color: #1b1408;
  background: linear-gradient(180deg, #f4e0b5 0%, #d8b47b 55%, #c39c61 100%);
  box-shadow: inset 0 1px 0 rgba(255, 250, 235, 0.7), inset 0 -1px 0 rgba(120, 85, 35, 0.4), 0 10px 40px -12px var(--gold-glow), 0 0 0 1px rgba(255, 225, 170, 0.25);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  z-index: -1;
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 250, 235, 0.7), 0 16px 60px -10px var(--gold-glow), 0 0 0 1px rgba(255, 225, 170, 0.45); }
.btn-gold:hover::after { transform: translateX(120%); }
/* AI call-to-action: gold button with a twinkling spark and a slow automatic shimmer */
.btn-ai svg.ic-spark { width: 17px; height: 17px; animation: ai-spark 2.8s ease-in-out infinite; }
.btn-ai::after { animation: ai-sheen 4.5s var(--ease) infinite; }
.btn-ai:hover::after { animation: none; }
@keyframes ai-spark { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.78) rotate(18deg); opacity: .7; } }
@keyframes ai-sheen { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .btn-ai svg.ic-spark, .btn-ai::after { animation: none; } }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-3);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover { border-color: rgba(241, 220, 174, 0.55); background: rgba(241, 220, 174, 0.07); box-shadow: 0 0 30px -6px rgba(214, 179, 124, 0.35), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-glow {
  color: var(--text);
  background: #0c0b09;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 0 24px rgba(255, 255, 255, 0.18), inset 0 0 12px rgba(255,255,255,.08);
}
.btn-glow:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 0 36px rgba(255, 255, 255, 0.3), inset 0 0 16px rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #2a241a; }
.btn-line-ink { border: 1px solid var(--ink-line); color: var(--ink); }
.btn-line-ink:hover { border-color: var(--ink); }
.btn .arr {
  position: relative;
  width: 14px; height: 14px;
  overflow: hidden;
  flex: none;
}
.btn .arr svg { position: absolute; inset: 0; width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.btn .arr svg + svg { transform: translateX(-130%); }
.btn:hover .arr svg:first-child { transform: translateX(130%); }
.btn:hover .arr svg + svg { transform: translateX(0); }

.link-u {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text);
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform .5s var(--ease);
}
.link-u:hover::after { transform-origin: left; transform: scaleX(1); }

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  white-space: nowrap;
}
.chip.green { color: var(--green); background: var(--green-bg); border-color: rgba(134,209,165,.25); }
.chip.amber { color: var(--amber); background: var(--amber-bg); border-color: rgba(233,184,96,.25); }
.chip.red { color: var(--red); background: var(--red-bg); border-color: rgba(229,128,110,.25); }
.chip.gold { color: var(--gold-hi); background: rgba(214,179,124,.12); border-color: rgba(214,179,124,.3); }
.chip .pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(134,209,165,.6); } 70% { box-shadow: 0 0 0 7px rgba(134,209,165,0); } 100% { box-shadow: 0 0 0 0 rgba(134,209,165,0); } }

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(214, 179, 124, 0.12), transparent 42%);
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none; z-index: 0;
}
.spot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 220, 174, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none; z-index: 2;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform 0.6s var(--ease), background 0.4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 6, 5, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 12px rgba(214,179,124,.35)); }
.logo em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--gold-hi); letter-spacing: -0.01em; }
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-links a {
  position: relative; z-index: 1;
  padding: 8px 15px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px var(--gold);
}
.nav-pill {
  position: absolute; top: 5px; height: calc(100% - 10px);
  border-radius: 999px;
  background: rgba(241, 220, 174, 0.08);
  border: 1px solid rgba(241, 220, 174, 0.12);
  opacity: 0;
  transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
  pointer-events: none;
}
.nav-cta { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  justify-self: end;
}
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 25px; }
body.menu-open .nav-burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790;
  background: rgba(7, 6, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-io);
  pointer-events: none;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-links { display: flex; flex-direction: column; gap: 2px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 300; letter-spacing: -0.04em; line-height: 1.12;
  transform: translateY(40px); opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), color .3s;
}
.menu-links a small { font-size: 12px; color: var(--dim); letter-spacing: 0.1em; font-weight: 500; }
.menu-links a:hover { color: var(--gold-hi); }
body.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 0 0 28px; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.footer-cta {
  position: relative;
  padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
  text-align: center;
  overflow: hidden;
}
.footer-cta::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 1100px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(214,179,124,.18), transparent 70%);
  pointer-events: none;
}
.footer-cta .h1 { max-width: 14ch; margin: 22px auto 0; }
.footer-cta p { margin: 22px auto 36px; }
.footer-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding: 64px 0 56px;
  border-top: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 24px; max-width: 34ch; }
.newsletter {
  display: flex; align-items: center;
  max-width: 360px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
}
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; color: var(--text); }
.newsletter input::placeholder { color: var(--dim); }
.footer-col h5, .footer-col h2 { line-height: 1.4; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color .3s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--gold-hi); transform: translateX(3px); }
.footer-mark {
  font-size: clamp(52px, 12.6vw, 220px);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.92;
  padding-bottom: 0.08em;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(241,220,174,.5) 0%, rgba(214,179,124,.12) 55%, rgba(214,179,124,0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
  margin: 0 -2vw;
}
.footer-mark em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--dim);
}
.footer-bottom .legal { max-width: 80ch; line-height: 1.6; }
.footer-bottom a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: all .3s; }
.socials a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.socials svg { width: 15px; height: 15px; }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9500; border-radius: 50%; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(241, 220, 174, 0.45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s, border-color .45s, opacity .3s;
}
.cursor-ring span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor-ring.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(241,220,174,.7); background: rgba(241,220,174,.06); }
.cursor-ring.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold-hi); border-color: var(--gold-hi); }
.cursor-ring.is-view span { opacity: 1; }
.cursor-ring.is-hidden, .cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Preloader & transitions ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9800;
  background: #050403;
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader-mark { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.preloader-mark i {
  width: 16px; display: block;
  background: var(--gold-grad);
  transform-origin: bottom; transform: scaleY(0);
  box-shadow: 0 0 30px rgba(214,179,124,.4);
  animation: barUp 1s var(--ease) forwards;
}
.preloader-mark i:nth-child(1) { height: 28px; animation-delay: .1s; }
.preloader-mark i:nth-child(2) { height: 44px; animation-delay: .22s; }
.preloader-mark i:nth-child(3) { height: 64px; animation-delay: .34s; }
@keyframes barUp { to { transform: scaleY(1); } }
.preloader-word { position: absolute; left: 50%; top: calc(50% + 64px); transform: translateX(-50%); font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; }
.preloader-word span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease) .5s forwards; }
@keyframes wordUp { to { transform: none; } }
.preloader-count { position: absolute; right: var(--gutter); bottom: 28px; font-size: clamp(60px, 10vw, 140px); font-weight: 200; letter-spacing: -0.06em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.preloader-line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.preloader-tag { position: absolute; left: var(--gutter); bottom: 36px; font-size: 12px; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; }

.curtain {
  position: fixed; inset: 0; z-index: 9700; pointer-events: none;
  background: #050403;
  opacity: 1;
  transition: opacity .7s var(--ease);
}
.curtain.is-out { opacity: 0; }
.curtain.is-in { opacity: 1; pointer-events: auto; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].is-in { opacity: 1; transform: none; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 0.045s + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform-origin: top; transition: transform 1.3s var(--ease-io); }
.img-reveal.is-in img { transform: scale(1); }
.img-reveal.is-in::after { transform: scaleY(0); }
.on-cream .img-reveal::after { background: var(--cream); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; display: flex; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee var(--speed, 40s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.field label .opt { color: var(--dim); font-weight: 400; }
.input, .select, .textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.025);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(214,179,124,.6); background: rgba(214,179,124,.04); box-shadow: 0 0 0 4px rgba(214,179,124,.08); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23d6b37c' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.select option { background: #17140f; color: var(--text); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 14px; pointer-events: none; }
.input-prefix .input { padding-left: 34px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-3); flex: none; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- Utilities ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.section-sm { padding: clamp(64px, 8vw, 110px) 0; }
.on-cream { background: var(--cream); color: var(--ink); }
.on-cream .lead, .on-cream .muted { color: var(--ink-muted); }
.on-cream .label { color: rgba(21,18,13,.5); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .h2 { margin-top: 20px; max-width: 16ch; }
.sec-head .lead { max-width: 42ch; }
.glow-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(214,179,124,.5), transparent); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9600;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 16px;
  border-radius: 14px;
  background: rgba(23, 20, 15, .92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.8);
  font-size: 14px;
  transition: transform .6s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,179,124,.15); color: var(--gold-hi); flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
  .nav-cta { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .nav-cta .btn-gold { display: none; }
  .input, .select, .textarea, .newsletter input { font-size: 16px; }
  .logo { font-size: 16px; }
  .footer-grid { gap: 32px 20px; }
  .btn-lg { --h: 54px; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* Phone: country code + number (IC.phoneField) */
.phone-wrap { display: grid; grid-template-columns: minmax(118px, 38%) 1fr; gap: 8px; }
.phone-wrap .phone-cc { padding-right: 30px; text-overflow: ellipsis; }
/* ---------- Floating "Active Mandates" button (core.js → initMandatesBtn) ----------
   Separate properties so the effects never fight each other:
   translate = show/hide, transform = idle float, scale = hover/touch/press. */
.to-mandates {
  position: fixed; z-index: 80;
  right: max(20px, env(safe-area-inset-right)); bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px));
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 7px;
  border-radius: 999px; border: 1px solid rgba(214,179,124,.32);
  background: rgba(12,10,7,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--text); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.2);
  transform-origin: 100% 100%; /* grows up and left, never off-screen */
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
  opacity: 0; visibility: hidden; translate: 0 14px; scale: .96;
  transition: opacity .45s var(--ease), translate .55s var(--ease), scale .35s cubic-bezier(.34,1.4,.64,1), visibility 0s .45s, border-color .3s, box-shadow .35s, background .35s;
}
.to-mandates.is-on { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; animation: tm-float 3.6s ease-in-out .6s infinite; }
@keyframes tm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.to-mandates .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); transition: transform .45s var(--ease), box-shadow .35s; }
/* active: mouse hover, finger down (.is-touch) or keyboard focus */
@media (hover: hover) {
  .to-mandates.is-on:hover { scale: 1.15; }
}
.to-mandates.is-on.is-touch, .to-mandates.is-on:focus-visible { scale: 1.15; }
.to-mandates.is-on:is(:hover, .is-touch, :focus-visible) {
  animation-play-state: paused; border-color: rgba(241,220,174,.7); background: rgba(18,15,10,.9);
  box-shadow: 0 22px 46px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(214,179,124,.15), 0 0 28px -6px rgba(214,179,124,.55);
}
.to-mandates.is-on:is(:hover, .is-touch, :focus-visible) .ic { transform: translateY(-2px); box-shadow: 0 0 14px rgba(241,220,174,.55); }
.to-mandates.is-on:active { scale: 1.07; transition-duration: .12s; }
/* click: a gold ring pulses outwards */
.to-mandates::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(214,179,124,.55); opacity: 0; }
.to-mandates.is-click::after { animation: tm-ring .6s var(--ease); }
@keyframes tm-ring { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(214,179,124,.55); } 100% { opacity: 0; box-shadow: 0 0 0 14px rgba(214,179,124,0); } }
.to-mandates:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.menu-open .to-mandates, .no-scroll .to-mandates { opacity: 0; visibility: hidden; }
@media (max-width: 640px) {
  .to-mandates { height: 40px; padding: 0 13px 0 6px; gap: 7px; font-size: 12px; right: max(14px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); }
  .to-mandates .ic { width: 28px; height: 28px; padding: 6px; }
}
/* reduced motion: no floating, no scaling, no ring; colour and glow still show the active state */
@media (prefers-reduced-motion: reduce) {
  .to-mandates, .to-mandates.is-on { animation: none; translate: none; scale: none !important; transition: opacity .2s, visibility 0s .2s, border-color .2s, box-shadow .2s; }
  .to-mandates .ic { transition: none; transform: none !important; }
  .to-mandates.is-click::after { animation: none; }
}
[hidden] { display: none !important; }
