/* ═══════════════════════════════════════════════════
   Design System — Dislogos GT
   Shared variables, nav, cursor, footer, buttons
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --burgundy:  #55142A;
  --deep-wine: #3B0110;
  --gold:      #C9903A;
  --champagne: #F7F3EF;
  --white:     #FFFFFF;
  --ink:       #1a0a10;
  --muted:     #7a4050;
  --border:    #e8d8c0;

  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --nav-h: 70px;
  --mw:    1100px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── CURSOR ── */
#cur {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width  .2s var(--ease),
    height .2s var(--ease),
    background .2s,
    border-radius .2s;
  will-change: left, top;
}
#cur-ring {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(201, 144, 58, .45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width  .25s var(--ease),
    height .25s var(--ease),
    border-color .2s;
  will-change: left, top;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  transition: background .4s var(--ease), box-shadow .4s;
}
.nav.scrolled {
  background: rgba(59, 1, 16, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201, 144, 58, .1);
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--champagne);
  text-decoration: none;
  position: relative;
  z-index: 510;
}
.nav-logo em { font-style: normal; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 243, 239, .6);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover             { color: var(--champagne); }
.nav-links a:hover::after      { width: 100%; }
.nav-links a.active            { color: var(--gold); }
.nav-links a.active::after     { width: 100%; }

.nav-cta {
  font-family: var(--font-b);
  font-size: .65rem !important;
  font-weight: 500 !important;
  letter-spacing: .16em !important;
  color: var(--deep-wine) !important;
  background: var(--gold);
  padding: .55rem 1.4rem !important;
  text-decoration: none;
  transition: background .2s !important;
}
.nav-cta::after  { display: none !important; }
.nav-cta:hover   { background: var(--champagne) !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-b);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--deep-wine);
  background: var(--gold);
  border: none;
  padding: .9rem 2rem;
  text-decoration: none;
  cursor: none;
  transition: background .22s, transform .2s;
}
.btn-primary:hover { background: var(--champagne); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-b);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(201, 144, 58, .4);
  padding: .85rem 2rem;
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: color .25s, border-color .25s;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-105%);
  transition: transform .3s var(--ease);
  z-index: 0;
}
.btn-outline > * { position: relative; z-index: 1; }
.btn-outline:hover { color: var(--deep-wine); border-color: var(--gold); }
.btn-outline:hover::before { transform: translateX(0); }

/* ── FOOTER ── */
.footer-new {
  background: #100009;
  border-top: 1px solid rgba(201, 144, 58, .1);
  overflow: hidden;
  position: relative;
}
.footer-new::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .022;
  pointer-events: none;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand .footer-logo {
  font-family: var(--font-d);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.footer-brand .footer-logo em { font-style: normal; color: var(--gold); }
.footer-brand p {
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247, 243, 239, .28);
  max-width: 260px;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 5rem);
}
.footer-nav-row .footer-col-title {
  font-family: var(--font-b);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.footer-nav-row ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-nav-row ul a {
  font-family: var(--font-b);
  font-size: .8rem;
  font-weight: 300;
  color: rgba(247, 243, 239, .3);
  text-decoration: none;
  display: block;
  transition: color .2s, padding-left .2s;
}
.footer-nav-row ul a:hover { color: var(--champagne); padding-left: .5rem; }

.footer-bottom-row {
  border-top: 1px solid rgba(247, 243, 239, .05);
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-row p {
  font-size: .67rem;
  font-weight: 300;
  color: rgba(247, 243, 239, .16);
}
.footer-bottom-row .footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-row .footer-legal a {
  font-size: .64rem;
  color: rgba(247, 243, 239, .16);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-row .footer-legal a:hover { color: rgba(247, 243, 239, .45); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-nav-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-nav-row .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-nav-row {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }
  .footer-nav-row .footer-brand { grid-column: auto; }
  .footer-bottom-row { padding: 1.25rem 1.5rem; }
}
