/* ══════════════════════════════════════════════════
   Queen Mother Junior — Shared Styles
   ══════════════════════════════════════════════════ */

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

:root {
  --forest:   #1b3a2d;
  --gold:     #d4922a;
  --amber:    #f0b346;
  --cream:    #faf5ed;
  --terra:    #b85c2c;
  --dark:     #0e1f17;
  --light:    #fdf9f3;
  --muted:    #6b7c6e;
  --white:    #ffffff;
  --shadow:   rgba(14,31,23,0.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── SKIP TO CONTENT (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--forest);
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* ── CUSTOM CURSOR (desktop only via media query) ── */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor { cursor: none; }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor button,
  body.has-custom-cursor .btn-primary { cursor: none; }
}

.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform .1s, width .25s, height .25s, background .25s;
  display: none;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform .15s ease-out, width .3s, height .3s, opacity .3s;
  opacity: .5;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring { display: block; }
  body:hover .cursor { width: 14px; height: 14px; }
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  transition: background .4s, box-shadow .4s, padding .4s;
}
nav.scrolled {
  background: rgba(11,24,17,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.3);
  padding: 1rem 5vw;
  backdrop-filter: blur(12px);
}
/* projects page: always dark nav */
nav.nav-dark {
  background: rgba(11,24,17,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-logo span { color: var(--amber); }
.logo-icon {
  width: 1.6em;
  height: 1.6em;
  vertical-align: -0.35em;
  margin-right: .3rem;
  color: var(--amber);
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1.5px; background: var(--amber);
  transition: right .3s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--amber); }
.nav-links a.active::after { right: 0; }
.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: .55rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--amber) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: .5rem;
}
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; transition: all .3s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--amber); }
.mobile-close {
  position: absolute; top: 2rem; right: 5vw;
  background: none; border: none;
  color: var(--white); font-size: 1.5rem; cursor: pointer;
}

/* ── SECTION COMMONS ── */
section { padding: 7rem 5vw; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 1.5px;
  background: var(--gold);
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
}
h2 em { font-style: italic; color: var(--terra); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── PLACEHOLDER BLOCK ── */
.ph-block {
  border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem;
  border: 1px dashed rgba(27,58,45,.2);
  position: relative; overflow: hidden;
}
.ph-block::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(27,58,45,.03) 10px,rgba(27,58,45,.03) 11px);
}
.ph-emoji { font-size: 2.5rem; position: relative; z-index: 1; }
.ph-txt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(27,58,45,.35); font-weight: 600; position: relative; z-index: 1; text-align: center; padding: 0 1rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold);
  color: var(--dark);
  padding: .9rem 2rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
}
.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,146,42,.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1.5px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
  padding: .88rem 2rem;
  border-radius: 3px;
  font-weight: 500;
  font-size: .92rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-white { background: var(--white); color: var(--terra); padding: .9rem 2rem; border-radius: 3px; font-weight: 700; font-size: .92rem; text-decoration: none; letter-spacing: .04em; transition: background .2s, transform .2s; display: inline-flex; align-items: center; gap: .5rem; }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: var(--white); padding: .88rem 2rem; border-radius: 3px; font-weight: 500; font-size: .92rem; text-decoration: none; transition: border-color .2s; display: inline-flex; align-items: center; gap: .5rem; }
.btn-ghost:hover { border-color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 4rem 5vw 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.6rem; }
.footer-brand p {
  color: rgba(255,255,255,.4);
  font-size: .88rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}
.footer-socials { display: flex; gap: .7rem; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(212,146,42,.08);
}
.footer-col h4 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}
.footer-bottom span { color: var(--amber); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrb {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-30px) scale(1.05); }
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: .5; }
  50%     { transform: scaleY(1.3); opacity: 1; }
}

/* ── RESPONSIVE (shared) ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 4.5rem 5vw; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
