/* ============================================================
   UNIKA CREATIVE LAB — global.css
   Reset · Variables · Typography · Nav · Footer · Utilities
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Footer nav must never inherit main nav fixed positioning */
.footer-nav { position: static !important; }

/* ── VARIABLES ── */
:root {
  --black: #0c0c0c;
  --dark: #141414;
  --dark2: #1c1c1c;
  --mint: #7ecfb3;
  --mint-dim: rgba(126,207,179,0.12);
  --mint-mid: rgba(126,207,179,0.35);
  --mint-pale: #e8f7f2;
  --white: #faf9f7;
  --off-white: #f3f2ef;
  --text-dark: #1a1a1a;
  --text-mid: #555550;
  --text-muted: #999992;
  --dark-border: rgba(255,255,255,0.08);
  --dark-border-mid: rgba(255,255,255,0.15);
  --light-border: rgba(0,0,0,0.09);

  --font-title: 'Sofia Pro', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* ── SOFIA PRO — local with Montserrat fallback ── */
@font-face {
  font-family: 'Sofia Pro';
  font-weight: 700;
  font-display: swap;
  src: local('Sofia Pro Bold'), local('SofiaProBold');
}
@font-face {
  font-family: 'Sofia Pro';
  font-weight: 600;
  font-display: swap;
  src: local('Sofia Pro SemiBold'), local('SofiaProSemiBold');
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  background: rgba(12,12,12,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 40px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-logo-text {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--mint); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--mint);
  padding: 11px 26px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.85; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(12,12,12,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 32px 56px 40px;
  z-index: 99;
  flex-direction: column;
  gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--mint); }
.nav-mobile .nav-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 6px;
  transition: color 0.2s;
  color: rgba(250,249,247,0.35);
}
.lang-btn.active { color: var(--mint); }
.lang-sep {
  color: rgba(250,249,247,0.2);
  font-size: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 64px 56px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
  gap: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  height: 36px;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(250,249,247,0.3);
  max-width: 260px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 64px;
  flex-shrink: 0;
}
.footer-nav-col h4 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.28);
  margin-bottom: 18px;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 11px; }
.footer-nav-col a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(250,249,247,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(250,249,247,0.2);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-mint {
  color: var(--mint);
  opacity: 0.4;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.footer-abn {
  font-size: 10px;
  color: rgba(250,249,247,0.28);
  letter-spacing: 0.06em;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* ── Buttons ── */
.btn-primary {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--mint);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost-light {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost-light::after { content: '→'; transition: transform 0.2s; }
.btn-ghost-light:hover { color: var(--white); }
.btn-ghost-light:hover::after { transform: translateX(4px); }

.btn-ghost-dark {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost-dark::after { content: '→'; transition: transform 0.2s; }
.btn-ghost-dark:hover { color: var(--text-dark); }
.btn-ghost-dark:hover::after { transform: translateX(4px); }

/* ── Section labels ── */
.s-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.s-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.s-label.on-dark { color: var(--mint); }
.s-label.on-light { color: var(--mint); }

/* ── Widow prevention ── */
.s-title-dark,
.s-title-light,
.page-title,
.hero-headline,
.hero-headline-sub,
.cta-title,
.wc-title,
.sc-name,
.disc-name {
  text-wrap: balance;
}
.hero-sub,
.sc-desc,
.disc-desc,
.about-strip-body,
.footer-tagline {
  text-wrap: pretty;
}

/* ── Section titles ── */
.s-title-dark {
  font-family: var(--font-title);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.s-title-dark em { font-style: normal; color: var(--mint); }

.s-title-light {
  font-family: var(--font-title);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
.s-title-light em { font-style: normal; color: var(--mint); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 140px 56px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, black 0%, transparent 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--mint);
  opacity: 0.5;
  display: block;
}
.page-title {
  font-family: var(--font-title);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
}
.page-title em { font-style: normal; color: var(--mint); }

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--mint);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  padding: 0 36px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 36px;
}
.m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  nav {
    padding: 0 24px;
  }
  .nav-links,
  .nav-cta,
  .lang-toggle {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }
  .page-title {
    font-size: clamp(36px, 10vw, 56px);
  }

  footer {
    padding: 48px 24px 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-nav {
    gap: 40px;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .marquee-wrap { padding: 14px 0; }
}

@media (max-width: 480px) {
  .nav-mobile {
    padding: 24px;
  }
}

/* ── Image & Video Protection ─────────────────────────── */
img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

video {
  -webkit-user-select: none;
  user-select: none;
}
