/*
Theme Name: Distinct District
Theme URI: https://distinctdistrict.group
Author: Distinct District Development Group
Author URI: https://distinctdistrict.group
Description: Custom WordPress theme for Distinct District Development Group — Northern NJ multifamily developer.
Version: 1.0.0
License: Proprietary
Text Domain: distinct-district
*/

/* ── DISTINCT DISTRICT · SHARED DESIGN SYSTEM ── */
:root {
  --bg:        #08090C;
  --bg2:       #0F1116;
  --bg3:       #14161D;
  --bg4:       #1A1C24;
  --gold:      #C9A84C;
  --gold-dim:  #8A6E2F;
  --gold-pale: #E8D5A0;
  --text:      #EAE6DF;
  --muted:     #6B6762;
  --muted2:    #9B9590;
  --rule:      #1C1E26;
  --blue:      #2A3A5C;
  --blue-lt:   #6B8CAE;
  --green:     #2A4A34;
  --green-lt:  #5A9E6F;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
em { font-style: italic; color: var(--gold); }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.mono { font-family: 'DM Mono', monospace; }

/* LAYOUT */
.container { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.section { padding: 112px 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(8, 9, 12, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo img { display: block; height: 48px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.current { color: var(--text); }
.nav-cta {
  background: var(--gold) !important;
  color: #08090C !important;
  padding: 10px 20px !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-pale) !important; }

/* WordPress nav menu reset */
.nav-links ul { list-style: none; display: flex; gap: 36px; align-items: center; margin: 0; padding: 0; }
.nav-links ul li { margin: 0; padding: 0; }
.nav-links ul li a { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links ul li a:hover,
.nav-links ul li.current-menu-item > a,
.nav-links ul li.current_page_item > a { color: var(--text); }

/* NAV DROPDOWN */
.nav-links .nav-item,
.nav-links li.menu-item-has-children { position: relative; height: 68px; display: flex; align-items: center; }
.nav-links .nav-item > a::after,
.nav-links li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.55;
}
.nav-dropdown,
.nav-links .sub-menu {
  position: absolute;
  top: 100%; left: -22px;
  min-width: 226px;
  display: block;
  gap: 0;
  background: rgba(8, 9, 12, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--rule);
  border-top: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-links .nav-item:hover .nav-dropdown,
.nav-links .nav-item:focus-within .nav-dropdown,
.nav-links li.menu-item-has-children:hover > .sub-menu,
.nav-links li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a,
.nav-links .sub-menu li { display: block; }
.nav-dropdown a,
.nav-links .sub-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover,
.nav-links .sub-menu li a:hover { color: var(--gold); background: var(--bg2); }

/* BUTTONS */
.btn { display: inline-block; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-gold {
  background: var(--gold);
  color: #08090C;
  padding: 15px 40px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.btn-gold:hover { background: var(--gold-pale); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid var(--rule);
  color: var(--muted);
  padding: 15px 40px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.btn-outline:hover { border-color: var(--gold-dim); color: var(--text); }

/* SECTION HEADERS */
.sec-head { margin-bottom: 72px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { font-size: 17px; color: var(--muted2); max-width: 560px; line-height: 1.8; }
.gold-rule { width: 52px; height: 1px; background: var(--gold-dim); margin: 0 0 28px; }

/* CARDS */
.card { background: var(--bg2); border: 1px solid var(--rule); padding: 40px 36px; transition: border-color 0.3s; }
.card:hover { border-color: var(--gold-dim); }
.card-num { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--gold-dim); display: block; margin-bottom: 20px; }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* BADGES */
.badge { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 12px; border: 1px solid; display: inline-block; }
.badge-gold { color: var(--gold); border-color: var(--gold-dim); }
.badge-green { color: var(--green-lt); border-color: var(--green); }
.badge-blue { color: var(--blue-lt); border-color: var(--blue); }

/* STAT BLOCKS */
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--gold); display: block; line-height: 1; }
.stat-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; margin-top: 8px; display: block; }

/* CREDENTIAL TABLE */
.cred-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cred-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.cred-table td:first-child { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; width: 44%; }
.cred-table td:last-child { color: var(--text); }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--rule); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { display: block; width: 200px; height: auto; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col h5 { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 11px; color: var(--muted); }
.footer-creds { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }

/* NOTICE BOXES */
.notice { background: var(--bg2); border: 1px solid var(--rule); border-left: 3px solid var(--gold-dim); padding: 22px 28px; }
.notice p { font-size: 12px; color: var(--muted); line-height: 1.65; font-style: italic; }
.notice-warn { border-left-color: #4A2A2A; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fade-1 { animation: fadeUp 0.7s ease both; }
.fade-2 { animation: fadeUp 0.7s 0.12s ease both; }
.fade-3 { animation: fadeUp 0.7s 0.22s ease both; }
.fade-4 { animation: fadeUp 0.7s 0.32s ease both; }
.fade-5 { animation: fadeUp 0.7s 0.42s ease both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 24px; }
  nav { padding: 0 24px; }
  .nav-logo img { height: 36px; }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
}
