/* ── MURA LAB STUDIO — global.css ──────────────────────────────────────────
   Cached across all pages. Edit once, applies everywhere.
   Brand palette, reset, nav, footer, cursor, reveal animation.
   ─────────────────────────────────────────────────────────────────────────── */

/* FONTS — display:swap prevents invisible text while loading */
@font-face { font-display: swap; }

:root {
  --teal:        #ACEAE9;
  --teal-mid:    #A6CDD2;
  --teal-dark:   #7BBFC6;
  --teal-light:  #D9F4F4;
  --slate:       #8C8E8D;
  --slate-dark:  #5A5C5B;
  --slate-light: #C4C6C5;
  --white:       #FFFFFF;
  --dark:        #1E2020;
  --dark2:       #252828;

  /* Typography scale */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
  mix-blend-mode: screen;
  will-change: left, top;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(172,234,233,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
  will-change: left, top;
}
.cursor--hover       { width: 20px !important; height: 20px !important; }
.cursor-ring--hover  { width: 52px !important; height: 52px !important; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 52px);
  background: rgba(30,32,32,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(172,234,233,.08);
  transition: padding .3s;
}
nav.scrolled { padding: 14px clamp(20px, 5vw, 52px); }

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo__wordmark-top {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 400;
  color: var(--white); letter-spacing: .05em; line-height: 1.1;
}
.nav-logo__wordmark-sub {
  font-family: var(--font-body);
  font-size: 9px; letter-spacing: .22em;
  color: var(--slate); text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 38px; list-style: none;
}
.nav-links a {
  color: var(--slate-light);
  text-decoration: none;
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--teal);
  transition: right .3s;
}
.nav-links a:hover              { color: var(--teal); }
.nav-links a:hover::after       { right: 0; }

.nav-cta {
  padding: 9px 24px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
  cursor: none;
}
.nav-cta:hover { background: var(--teal); color: var(--dark); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(172,234,233,.08);
  padding: 40px clamp(20px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--dark);
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 300; color: var(--slate);
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-size: 12px; letter-spacing: .08em;
  color: var(--slate); text-decoration: none;
  text-transform: uppercase; transition: color .2s; cursor: none;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px; color: rgba(140,142,141,.5); letter-spacing: .1em;
}

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

/* ── SHARED SECTION ATOMS ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px;
  background: var(--teal);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -.01em; color: var(--white);
}
.section-title em { font-style: italic; color: var(--teal); }

/* ── BUTTONS ── */
.btn-primary {
  padding: 15px 36px;
  background: var(--teal); color: var(--dark);
  font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, transform .2s;
  cursor: none; display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost {
  padding: 15px 36px;
  border: 1px solid rgba(172,234,233,.3);
  color: var(--teal);
  font-size: 13px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  cursor: none;
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(172,234,233,.05); }

/* ── TICKER ── */
.ticker {
  background: var(--teal); color: var(--dark);
  padding: 13px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 22s linear infinite;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; padding: 0 32px;
  display: flex; align-items: center; gap: 20px;
}
.ticker-item::after { content: '✦'; font-size: 8px; opacity: .6; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav       { padding: 18px clamp(16px, 4vw, 28px) !important; }
  nav.scrolled { padding: 12px clamp(16px, 4vw, 28px) !important; }
  .nav-links { display: none; }
  footer    { flex-direction: column; gap: 20px; text-align: center; padding: 32px clamp(16px, 4vw, 28px); }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
