/* ============================================================
   ACTIVE RECRUITMENT — Design System
   Deep navy + metallic gold · Cormorant Garamond + Manrope
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #07142a;
  --navy-900: #0a1c38;
  --navy-850: #0d2342;
  --navy-800: #122c52;
  --navy-700: #1b3c69;
  --navy-600: #27518a;

  --ink: #18222f;
  --ink-soft: #46566b;

  --paper: #f6f2ea;
  --paper-2: #efe8da;
  --paper-3: #e6dccb;
  --line: #ddd2bf;

  /* Gold */
  --gold: #c39a4f;
  --gold-deep: #a87c34;
  --gold-light: #e3c885;
  --gold-pale: #f0e2c2;
  --gold-grad: linear-gradient(135deg, #e3c885 0%, #c39a4f 42%, #9c7129 100%);
  --gold-grad-soft: linear-gradient(120deg, #d8b977 0%, #b8893f 100%);

  --shadow-sm: 0 2px 14px rgba(10, 28, 56, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(10, 28, 56, 0.30);
  --shadow-lg: 0 40px 90px -36px rgba(7, 20, 42, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--navy-950); }

a { color: inherit; text-decoration: none; }

/* ---------------- Custom cursor (dial / compass) ---------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--gold-deep);
  transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), background .3s;
}
.cursor-ring {
  width: 44px; height: 44px;
  border: 1px solid rgba(168,124,52,.30);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease),
              background .45s var(--ease), border-color .45s var(--ease), opacity .3s;
}
/* rotating gold arc */
.cursor-ring .cur-arc {
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: cur-spin 2.6s linear infinite;
  transition: border-width .4s, opacity .3s;
}
@keyframes cur-spin { to { transform: rotate(360deg); } }
.cursor-ring .cl {
  font: 700 10px/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); opacity: 0; transition: opacity .25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; border-color: rgba(168,124,52,.5); }
.cursor-ring.is-hover .cur-arc { animation-duration: 1.1s; border-top-color: var(--gold-light); border-right-color: var(--gold-light); }
.cursor-ring.is-view { width: 94px; height: 94px; background: rgba(7,20,42,.45); border-color: rgba(227,200,133,.35); }
.cursor-ring.is-view .cur-arc { animation-duration: 1.1s; }
.cursor-ring.is-view .cl { opacity: 1; }
.cursor-dot.is-hover { opacity: 0; }
.cursor-ring.is-dark { border-color: rgba(227,200,133,.35); }
.cursor-ring.is-dark .cur-arc { border-top-color: var(--gold-light); border-right-color: var(--gold-light); }
.cursor-dot.is-dark { background: var(--gold-light); }
body.has-cursor, body.has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
}

/* ---------------- Layout ---------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }

/* ---------------- Type ---------------- */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-light); }

h1, h2, h3, .display {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.h-sec {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.65;
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  --b: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 17px 30px;
  border: none;
  background: var(--navy-900);
  color: var(--paper);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 11px; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: 1;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--navy-950); }
.btn:hover::before { transform: translateY(0); }

.btn-gold { background: var(--gold-grad); color: var(--navy-950); }
.btn-gold::before { background: var(--navy-900); }
.btn-gold:hover { color: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-ghost::before { background: var(--navy-900); }
.btn-ghost:hover { color: var(--paper); }
.btn-ghost.on-dark { color: var(--paper); border-color: rgba(246,242,234,0.4); }
.btn-ghost.on-dark::before { background: var(--gold-grad); }
.btn-ghost.on-dark:hover { color: var(--navy-950); border-color: transparent; }

.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------------- Reveal animations ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }

.reveal-mask { overflow: hidden; display: inline-block; }
.reveal-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-mask.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------- Decorative ---------------- */
.hair { height: 1px; background: var(--line); border: 0; }
.divider-gold { width: 64px; height: 2px; background: var(--gold-grad); }
