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

:root {
  --cobalt:      #060F22;
  --cobalt-mid:  #0D1A35;
  --cobalt-hi:   #132247;
  --gold:        #C9A96E;
  --gold-light:  #E2C89A;
  --gold-dim:    #7A5E35;
  --cream:       #F4F0E8;
  --cream-dim:   #BDB6A8;
  --glass:       rgba(201,169,110,0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono:  'DM Mono', monospace;
}

html { overflow-x: hidden; }

body {
  background: var(--cobalt);
  color: var(--cream);
  font-family: var(--mono);
  font-weight: 400;
  cursor: none;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 0.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, border-color 0.3s;
  opacity: 0.6;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 16px; height: 16px; }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 56px; height: 56px; border-color: var(--gold-light); }

/* ── PAGE LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--cobalt);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
.loader-logo {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
}
.loader-bar-wrap {
  width: 120px;
  height: 0.5px;
  background: rgba(201,169,110,0.15);
}
.loader-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.05s linear;
}

/* ── SECTION DIVIDER ── */
.divider {
  width: 100%;
  height: 0.5px;
  background: rgba(201,169,110,0.12);
}

/* ── ATTENTION PULSE (CTA shake) ── */
@keyframes attentionPulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0px rgba(201,169,110,0); }
  15%  { transform: scale(1.13); box-shadow: 0 0 20px rgba(201,169,110,0.6); }
  30%  { transform: scale(0.94); box-shadow: 0 0 8px rgba(201,169,110,0.3); }
  48%  { transform: scale(1.09); box-shadow: 0 0 15px rgba(201,169,110,0.45); }
  62%  { transform: scale(0.97); box-shadow: 0 0 6px rgba(201,169,110,0.2); }
  76%  { transform: scale(1.04); box-shadow: 0 0 10px rgba(201,169,110,0.3); }
  90%  { transform: scale(0.99); box-shadow: 0 0 4px rgba(201,169,110,0.1); }
  100% { transform: scale(1);    box-shadow: 0 0 0px rgba(201,169,110,0); }
}
.shake {
  animation: attentionPulse 1.2s cubic-bezier(0.36,0.07,0.19,0.97) forwards;
}
