/* ==========================================================================
   Mncvcdii Co. — custom stylesheet
   Design system shared with Mncvcdii Creative: Navy + Gold, Poppins.
   Tailwind (CDN) handles layout/utilities; this file holds brand-specific
   tokens, components and the few things Tailwind's utility classes can't.
   ========================================================================== */

:root {
  --navy: #0d192a;
  --navy-soft: #142238;
  --navy-softer: #1c2e49;
  --gold: #e3b123;
  --gold-soft: #f2cd5c;
  --cream: #f8f6f1;
  --surface: #f2f3f5;
  --ink: #0d192a;
  --ink-muted: #5b6472;
  --line: #e7e3d9;
  --line-dark: rgba(227, 177, 35, 0.16);
}

* {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 96px;
}

body {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* ---------- Focus states (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------- Eyebrow / section label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--gold);
}

/* ---------- Section heading (title + divider + short description) ---------- */
.section-head {
  display: inline-block;
  /* background: #ffffff; */
  padding: 0.2rem 0;
}

.section-head__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.section-head__divider {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin: 0.9rem 0;
}

.section-head__desc {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}

@media (min-width: 768px) {
  .section-head__title {
    font-size: 2.25rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px -8px rgba(227, 177, 35, 0.55);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-outline-light {
  border-color: rgba(248, 246, 241, 0.35);
  color: #f8f6f1;
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-navy {
  border-color: rgba(13, 25, 42, 0.2);
  color: var(--navy);
}

.btn-outline-navy:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(227, 177, 35, 0.14);
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(248, 246, 241, 0.78);
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: #f8f6f1;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--gold);
}

.nav-link.is-active::after {
  width: 100%;
}

/* Mobile nav */
#mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-nav.open {
  max-height: 420px;
}

#nav-toggle span {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

#nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

#nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(227, 177, 35, 0.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(227, 177, 35, 0.08), transparent 40%), var(--navy);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(248, 246, 241, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 246, 241, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-enter {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 0.7s ease forwards;
}

.hero-enter.delay-1 { animation-delay: 0.08s; }
.hero-enter.delay-2 { animation-delay: 0.16s; }
.hero-enter.delay-3 { animation-delay: 0.24s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* ---------- Page header (About / Brands / Contact) ---------- */
.page-header {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(227, 177, 35, 0.16), transparent 70%);
}

/* ---------- Cards ---------- */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(227, 177, 35, 0.5);
  box-shadow: 0 18px 34px -22px rgba(13, 25, 42, 0.35);
  transform: translateY(-3px);
}

.card-dark {
  background: var(--navy-soft);
  border: 1px solid rgba(227, 177, 35, 0.14);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-dark:hover {
  border-color: rgba(227, 177, 35, 0.45);
  transform: translateY(-3px);
}

.brand-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(227, 177, 35, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Brand family diagram ---------- */
.family-tree {
  position: relative;
}

.family-line {
  position: absolute;
  background: rgba(227, 177, 35, 0.35);
}

.parent-node {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--gold);
}

.child-node {
  background: #fff;
  border: 1px solid var(--line);
}

.child-node:hover {
  border-color: var(--gold);
}

/* ---------- Footer ---------- */
#site-footer {
  background: var(--navy);
  color: rgba(248, 246, 241, 0.72);
}

#site-footer a:hover {
  color: var(--gold);
}

.footer-heading {
  color: #f8f6f1;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  margin-top: 0.2rem;
  font-size: 0.88rem;
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(227, 177, 35, 0.3);
  color: rgba(248, 246, 241, 0.85);
  font-size: 0.88rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ---------- Form ---------- */
.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(227, 177, 35, 0.18);
  outline: none;
}

/* ---------- Misc ---------- */
.subtle-note {
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.45);
}

.marker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}
