/* -------------------------------------------------------
   Mirror Not Mask - Shared Styles
   mirrornotmask.com
   ------------------------------------------------------- */

/* --- DESIGN TOKENS --- */
:root {
  --bg:           #121516;
  --surface:      #0F1213;
  --surface-up:   #1A1E1F;
  --text:         #E8E0D4;
  --text-muted:   #CFC7BC;
  --text-dim:     #9A9289;
  --text-ghost:   #5E5A54;
  --gold:         #DBBE67;
  --gold-dim:     rgba(219,190,103,0.15);
  --gold-glow:    rgba(219,190,103,0.06);
  --red:          #C4264A;
  --navy:         #7B83D4;
  --border:       rgba(255,255,255,0.06);
  --border-mid:   rgba(255,255,255,0.10);
}

/* --- FONT FACE --- */
@font-face {
  font-family: 'The Seasons';
  src: url('/font/theseasons-reg.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
}

.serif { font-family: 'The Seasons', 'Lora', Georgia, serif; font-weight: 400; }

/* --- GRAIN OVERLAY --- */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9997; opacity: 0.45;
}

/* --- CUSTOM CURSOR --- */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1px solid rgba(219,190,103,0.35); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.3s ease;
}
.cursor.hovered { width: 16px; height: 16px; }
.cursor-ring.hovered { width: 58px; height: 58px; border-color: rgba(219,190,103,0.55); }

/* --- NAVIGATION --- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 28px 64px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(18,21,22,0.98) 0%, rgba(18,21,22,0) 100%);
  transition: padding 0.3s ease, background 0.3s ease;
}
nav.scrolled {
  padding: 18px 64px;
  background: rgba(12,14,15,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-left { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.nav-brand { font-size: 18px; letter-spacing: 0.04em; color: var(--text); font-family: 'The Seasons', 'Lora', serif; }
.nav-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-ghost); }
.nav-actions { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color 0.2s ease; }
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); }
.nav-cta { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 12px 28px; text-decoration: none; transition: all 0.25s ease; font-family: 'Inter', sans-serif; font-weight: 500; }
.nav-cta:hover { background: #e8cf7a; }

/* --- BUTTONS --- */
.btn-primary { display: inline-block; padding: 18px 44px; background: var(--gold); color: var(--bg); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; transition: all 0.25s ease; font-family: 'Inter', sans-serif; font-weight: 500; border: none; cursor: pointer; }
.btn-primary:hover { background: #e8cf7a; }
.btn-ghost { display: inline-block; padding: 18px 44px; background: transparent; color: var(--text-dim); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--border-mid); transition: all 0.25s ease; font-family: 'Inter', sans-serif; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { display: inline-block; padding: 18px 44px; background: transparent; color: var(--gold); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold-dim); transition: all 0.25s ease; font-family: 'Inter', sans-serif; }
.btn-outline:hover { border-color: var(--gold); background: rgba(219,190,103,0.06); }

/* --- SCROLL CUE --- */
.scroll-cue {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s ease 1.4s forwards;
}
.scroll-cue span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-ghost); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2.2s ease-in-out 2s infinite; }

/* --- SECTION LAYOUT --- */
.section-wrap { padding: 120px 64px; max-width: 1320px; margin: 0 auto; }
.section-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, rgba(219,190,103,0.3), transparent); max-width: 120px; }
.section-headline { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.2; letter-spacing: 0.03em; color: var(--text); }
.section-sub { font-size: 19px; color: var(--text-muted); line-height: 1.75; max-width: 580px; margin-top: 20px; }

/* --- CHAPTER HEADER --- */
.chapter-header { padding: 180px 64px 100px; max-width: 960px; margin: 0 auto; }
.chapter-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 36px; opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards; }
.chapter-meta-sep { color: var(--text-ghost); }
h1.chapter-h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.2; letter-spacing: 0.03em; color: var(--text); margin-bottom: 24px; opacity: 0; animation: fadeUp 0.9s ease 0.35s forwards; }
.breadcrumb { font-size: 14px; color: var(--text-ghost); opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { margin: 0 8px; color: var(--text-ghost); }

/* --- CHAPTER CONTENT --- */
.chapter-content { max-width: 720px; margin: 0 auto; padding: 0 64px 80px; }
.chapter-content h2 { font-family: 'The Seasons', 'Lora', serif; font-size: 28px; color: var(--text); margin: 64px 0 24px; line-height: 1.35; letter-spacing: 0.02em; }
.chapter-content p { font-size: 17px; color: var(--text-muted); line-height: 1.85; margin-bottom: 24px; }
.chapter-content a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); transition: border-color 0.2s ease; }
.chapter-content a:visited { color: var(--gold); }
.chapter-content a:hover { border-color: var(--gold); }

/* --- KEY TAKEAWAY --- */
.takeaway { background: var(--surface-up); border-left: 2px solid var(--gold-dim); padding: 32px 36px; margin-bottom: 56px; font-size: 17px; color: var(--text-muted); line-height: 1.8; }

/* --- PULL QUOTE --- */
.pull-quote { font-family: 'The Seasons', 'Lora', serif; font-size: 28px; font-style: italic; color: var(--gold); border-left: 2px solid var(--gold-dim); padding-left: 24px; margin: 48px 0; line-height: 1.5; }

/* --- CHAPTER IMAGE --- */
.chapter-image { margin: 56px 0; overflow: hidden; border: 1px solid var(--border); position: relative; }
.chapter-image::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--gold), transparent); z-index: 1; }
.chapter-image img { width: 100%; height: 360px; object-fit: cover; object-position: top; display: block; filter: grayscale(15%); transition: filter 0.3s ease; }
.chapter-image:hover img { filter: grayscale(0%); }

/* --- FAQ --- */
.faq-section { background: var(--surface); }
.faq-list { max-width: 720px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 32px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 19px; color: var(--text-muted); cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-family: 'The Seasons', 'Lora', serif; background: none; border: none; width: 100%; text-align: left; line-height: 1.45; transition: color 0.2s ease; }
.faq-q:hover { color: var(--text); }
.faq-icon { font-size: 20px; color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--text); }
.faq-a { font-size: 17px; color: var(--text-dim); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; padding-top: 20px; }

/* --- CHAPTER NAV --- */
.chapter-nav { display: flex; justify-content: space-between; align-items: center; padding: 48px 64px; max-width: 960px; margin: 0 auto; border-top: 1px solid var(--border); }
.chapter-nav a { font-size: 14px; color: var(--text-dim); text-decoration: none; transition: color 0.2s ease; letter-spacing: 0.04em; }
.chapter-nav a:hover { color: var(--gold); }
.chapter-nav-center { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-ghost); }
.chapter-nav-center a { color: var(--text-ghost); }
.chapter-nav-center a:hover { color: var(--gold); }

/* --- CTA BLOCK --- */
.cta-section { padding: 100px 64px; text-align: center; background: var(--surface); border-top: 1px solid var(--border); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* --- ABOUT SECTION (shared) --- */
.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: center; }
.about-img-wrap { position: relative; overflow: hidden; border: 1px solid var(--border); }
.about-img-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--gold), transparent); z-index: 1; }
.about-img { width: 100%; height: auto; display: block; filter: grayscale(20%); transition: filter 0.3s ease; }
.about-img-wrap:hover .about-img { filter: grayscale(0%); }
.about-pull-quote { font-family: 'The Seasons', 'Lora', serif; font-style: italic; font-size: 20px; color: var(--gold); line-height: 1.55; border-left: 2px solid rgba(219,190,103,0.15); padding-left: 20px; margin-bottom: 28px; }
.about-name { font-size: 20px; color: var(--text); margin-bottom: 20px; font-family: 'The Seasons', 'Lora', serif; }
.about-bio { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.about-bio em { font-style: italic; color: var(--text); font-family: 'The Seasons', 'Lora', serif; }
.about-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: gap 0.25s ease; }
.about-link:hover { gap: 16px; }
.about-link::after { content: '\2192'; }

/* --- FOOTER --- */
footer { background: var(--surface-up); padding: 72px 64px 48px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer-name { font-family: 'The Seasons', 'Lora', serif; font-size: 26px; color: var(--gold); margin-bottom: 10px; }
.footer-tagline { font-size: 15px; color: var(--text-ghost); font-style: italic; font-family: 'The Seasons', 'Lora', serif; margin-bottom: 20px; }
.footer-url { font-size: 13px; letter-spacing: 0.1em; color: var(--text-ghost); text-decoration: none; transition: color 0.2s ease; }
.footer-url:hover { color: var(--gold); }
.footer-col-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-ghost); margin-bottom: 20px; opacity: 0.5; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col-links a { font-size: 15px; color: var(--text-ghost); text-decoration: none; transition: color 0.2s ease; }
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 32px; }
.footer-copy { font-size: 13px; color: var(--text-ghost); opacity: 0.4; letter-spacing: 0.04em; }
.footer-made { font-size: 13px; color: var(--text-ghost); opacity: 0.25; font-style: italic; }

/* --- 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%); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* --- SCROLL REVEAL --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* --- HAMBURGER MENU --- */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12,14,15,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: 'The Seasons', 'Lora', serif;
  font-size: 28px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .mobile-cta {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 500;
}
.mobile-menu .mobile-cta:hover { background: #e8cf7a; }

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 16px 24px; }
  .nav-actions .nav-link { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .section-wrap { padding: 80px 24px; }
  .chapter-header { padding: 130px 24px 60px; }
  .chapter-content { padding: 0 24px 60px; }
  .chapter-image img { height: 240px; }
  .chapter-nav { padding: 36px 24px; flex-direction: column; gap: 24px; }
  .pull-quote { font-size: 22px; }
  .cta-section { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { padding: 60px 24px 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
