/* ══════════════════════════════════════════
   MOHAQUE.COM — SHARED DESIGN SYSTEM
   Book cover aesthetic: white / black / #EAEA1B
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

/* ── TOKENS ── */
:root {
  --black:   #000000;
  --white:   #FFFFFF;
  --yellow:  #EAEA1B;
  --off:     #F5F5EF;
  --dark:    #0D0D0D;
  --grey:    #6B6B6B;
  --lgrey:   #ADADAD;
  --border:  2px solid var(--black);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: var(--black); }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 68px;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo img { height: 32px; width: auto; }

.nav-logo-text {
  font-size: 15px; font-weight: 900; font-style: italic;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.nav-logo-text .y { color: var(--yellow); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lgrey); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }

.nav-cta {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--black); background: var(--yellow);
  padding: 12px 22px; text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--white); }

/* ── SHARED SECTION ── */
.section { padding: 96px 56px; }
.section--white { background: var(--white); }
.section--off   { background: var(--off); }
.section--black { background: var(--black); color: var(--white); }
.section--yellow { background: var(--yellow); color: var(--black); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.label::before {
  content: ''; width: 22px; height: 2px;
  background: currentColor;
}

.heading {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 900; font-style: italic;
  line-height: 1.04; letter-spacing: -0.02em;
}
.heading--xl {
  font-size: clamp(56px, 9vw, 130px);
  letter-spacing: -0.03em; line-height: 0.92;
}

.lead {
  font-size: 16px; font-weight: 400;
  line-height: 1.8; color: var(--grey);
  max-width: 560px;
}
.section--black .lead { color: var(--lgrey); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 30px; text-decoration: none;
  clip-path: polygon(9px 0%, 100% 0%, calc(100% - 9px) 100%, 0% 100%);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer; border: none; font-family: 'Montserrat', sans-serif;
}
.btn:hover { transform: translateY(-2px); }

.btn--black { background: var(--black); color: var(--yellow); }
.btn--black:hover { background: #1a1a1a; }

.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: var(--white); }

.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--off); }

.btn--outline {
  background: transparent; color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
  clip-path: none; padding: 13px 28px;
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--outline-w {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
  clip-path: none; padding: 13px 28px;
}
.btn--outline-w:hover { background: var(--white); color: var(--black); }

/* ── TICKER ── */
.ticker { background: var(--yellow); padding: 13px 0; overflow: hidden; }
.ticker-track {
  display: flex; width: max-content;
  animation: tick 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--black); padding: 0 32px;
}
.ticker-track .dot {
  font-size: 7px; color: rgba(0,0,0,0.3); padding: 0;
}
@keyframes tick {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FOOTER ── */
footer {
  background: var(--black); color: var(--white);
  padding: 52px 56px;
  border-top: 3px solid var(--yellow);
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--lgrey);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lgrey); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-links-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 4px;
}

.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  color: var(--lgrey); text-decoration: none;
  font-size: 14px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0;
}
.footer-social a:hover { background: var(--yellow); color: var(--black); }

.footer-copy {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--grey);
  display: flex; justify-content: space-between;
}

/* ── LOGO MARK (ABSURД) ── */
.absurd-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-style: italic;
  line-height: 1; display: inline-flex; flex-direction: column;
  letter-spacing: -0.02em;
}
.absurd-logo .word-absurd {
  color: var(--black);
}
.absurd-logo .word-hope {
  color: var(--yellow);
}
.absurd-logo.on-dark .word-absurd { color: var(--white); }
.absurd-logo.on-dark .word-hope  { color: var(--yellow); }

/* ── FOOTER LOGO (Mo Haque mark) ── */
.footer-brand img {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 4px;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── MOBILE NAV (hamburger + slide-down panel) ── */
.nav-toggle {
  display: none;
  background: transparent; border: none; cursor: pointer;
  width: 40px; height: 40px;
  position: relative; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease, background 0.2s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.is-open span { background: var(--yellow); }
.nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  padding: 92px 24px 40px;
  display: flex; flex-direction: column; gap: 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0s;
}
.mobile-menu .mob-link {
  font-size: 26px; font-weight: 900; font-style: italic;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.01em;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  text-transform: none;
}
.mobile-menu .mob-link::after {
  content: '→'; color: var(--yellow); font-style: normal;
  font-size: 18px; opacity: 0.55;
}
.mobile-menu .mob-link.active { color: var(--yellow); }
.mobile-menu .mob-link.active::after { opacity: 1; }
.mobile-menu .mob-cta {
  margin-top: 28px;
  background: var(--yellow); color: var(--black);
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  padding: 20px 28px;
  text-align: center;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
body.menu-open { overflow: hidden; }

/* ══ MOBILE ══ */
@media (max-width: 800px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 64px 24px; }
  footer { padding: 40px 24px; }
}
