/* ==================== WUDANG · Shared Stylesheet ==================== */

:root {
  --ink: #1a1613;
  --ink-soft: #2a241f;
  --ink-muted: #6b5d4f;
  --paper: #f4ede0;
  --paper-warm: #ede3d0;
  --paper-dark: #1f1a16;
  --cinnabar: #b2301f;
  --cinnabar-deep: #8a1d12;
  --gold: #b18a3f;
  --gold-soft: #c9a96a;
  --jade: #5a6b4a;
  --mist: rgba(26, 22, 19, 0.06);
  --ink-line: rgba(26, 22, 19, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(139, 90, 43, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 90, 43, 0.03) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.12 0 0 0 0 0.08 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.serif { font-family: 'Fraunces', serif; }
.cn { font-family: 'Noto Serif SC', serif; }
.cinzel { font-family: 'Cinzel', serif; letter-spacing: 0.2em; }

/* ==================== NAV ==================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 237, 224, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  text-decoration: none;
  color: inherit;
}

.logo-mark { width: 36px; height: 36px; }
.logo-mark svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--cinnabar);
  transition: all 0.4s ease;
}

.nav-links a:hover { color: var(--cinnabar); }
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-links a.current { color: var(--cinnabar); }
.nav-links a.current::after { width: 100%; left: 0; }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: 'Cinzel', serif;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--cinnabar); }

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 1.05rem 2.2rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cinnabar);
  transform: translateY(100%);
  transition: transform 0.4s;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  color: var(--ink);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.3rem;
  transition: all 0.3s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--cinnabar); border-color: var(--cinnabar); }

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding: 11rem 3rem 5rem;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--ink-line);
  background: var(--paper-warm);
  overflow: hidden;
}

.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 0.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--cinnabar); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--cinnabar); }

.page-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--cinnabar);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 1000px;
}
.page-title em { font-style: italic; color: var(--cinnabar); font-weight: 400; }
.page-title .cn-sub {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-size: 0.25em;
  letter-spacing: 0.35em;
  color: var(--ink-muted);
  font-weight: 400;
  margin-top: 1rem;
  text-transform: none;
}

.page-intro {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.6;
}

.page-header-seal {
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: var(--cinnabar);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.08);
}

/* ==================== SECTIONS ==================== */
section {
  position: relative;
  z-index: 2;
  padding: 6rem 3rem;
}

.content-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 5rem 0 3rem;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-line);
}
.section-divider span {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: var(--cinnabar);
  text-transform: uppercase;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--paper-warm);
  padding: 5rem 3rem 2rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ink-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--cinnabar);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--ink-line);
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
.footer-col a:hover { color: var(--cinnabar); }

.footer-newsletter p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.9rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}
.footer-newsletter input::placeholder {
  color: var(--ink-muted);
  font-family: 'Fraunces', serif;
  font-style: italic;
}

.footer-newsletter button {
  width: 100%;
  padding: 0.95rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s;
  text-transform: uppercase;
}
.footer-newsletter button:hover { background: var(--cinnabar); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom .socials {
  display: flex;
  gap: 1.8rem;
  font-family: 'Cinzel', serif;
  font-style: normal;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-bottom .socials a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom .socials a:hover { color: var(--cinnabar); }

/* ==================== ANIMATIONS ==================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 2rem; }
  .page-header { padding: 8rem 2rem 3rem; }
  .page-header-seal { width: 70px; height: 70px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}
