/*
 * Norva Talent — Shared public site styles
 * Imported by: index.html, jobs.html, about.html, pricing.html, terms.html, privacy.html
 *
 * Page-specific component styles remain in each page's own <style> block.
 * To update the design system site-wide: edit this file only.
 */

/* ═══════════════════════════════════════════
   MARK SVG — theme adaptive
═══════════════════════════════════════════ */
[data-theme="dark"]  .mark-sq-a   { stroke: #EDF5F0; fill: none; }
[data-theme="light"] .mark-sq-a   { stroke: #0F3D26; fill: none; }
[data-theme="dark"]  .mark-overlap { fill: #080E0A; stroke: none; }
[data-theme="light"] .mark-overlap { fill: #FAF8F4; stroke: none; }

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  /* Brand */
  --g-deep:   #0A2918;
  --g-dark:   #0F3D26;
  --g:        #1A5C38;
  --g-mid:    #2E7D52;
  --g-soft:   #5A9B7A;
  --g-pale:   #A8D4B8;
  --g-bg:     #E8F5EE;
  --gold:     #C9A84C;
  --gold-lt:  #E8D494;

  /* Dark theme (default) */
  --bg:        #080E0A;
  --bg-2:      #0D1810;
  --bg-3:      #111F15;
  --bg-card:   #141F17;
  --bg-hover:  #1A2E1E;
  --border:    rgba(90,155,122,.14);
  --border-md: rgba(90,155,122,.22);
  --text:      #EDF5F0;
  --text-2:    #A8C4B0;
  --text-3:    #5A7A64;
  --ink:       #EDF5F0;
  --surface:   rgba(26,92,56,.08);

  /* Typography */
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Geist', system-ui, sans-serif;

  /* Space */
  --r: 10px;
  --r-lg: 16px;
  --max: 1120px;
}

[data-theme="light"] {
  --bg:        #FAF8F4;
  --bg-2:      #F6F4F0;
  --bg-3:      #EDE8DE;
  --bg-card:   #FFFFFF;
  --bg-hover:  #F0F7F2;
  --border:    rgba(26,92,56,.12);
  --border-md: rgba(26,92,56,.2);
  --text:      #1A1A1A;
  --text-2:    #4A6654;
  --text-3:    #8AA494;
  --ink:       #1A1A1A;
  --surface:   rgba(26,92,56,.05);
}

/* ═══════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   BACKGROUND TEXTURE
═══════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 5%, rgba(26,92,56,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 90%, rgba(201,168,76,.07) 0%, transparent 50%);
}
body > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(8,14,10,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
[data-theme="light"] .nav {
  background: rgba(250,248,244,.9);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-mark {
  width: 28px; height: 28px; position: relative; flex-shrink: 0;
}
.nav-mark svg { width: 100%; height: 100%; }
.nav-brand {
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 6px 12px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--surface); }
.nav-right {
  display: flex; align-items: center; gap: 8px;
}
.nav-theme {
  width: 36px; height: 36px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: all .15s;
  color: var(--text-2);
}
.nav-theme:hover { background: var(--bg-hover); color: var(--text); }
.nav-cta {
  background: var(--g); color: white;
  font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 8px; border: none;
  transition: background .15s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--g-mid); }
.nav-hamburger { display: none; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none !important; }
  .nav-hamburger {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text-2);
    font-size: 18px;
  }
  .mobile-menu {
    display: none; position: fixed; inset: 64px 0 0 0;
    background: var(--bg-2); z-index: 99;
    padding: 24px; flex-direction: column; gap: 4px;
    border-top: 1px solid var(--border);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 16px; font-weight: 500; color: var(--text);
    padding: 14px 16px; border-radius: 8px; border-bottom: 1px solid var(--border);
  }
  .mobile-cta {
    margin-top: 16px; background: var(--g); color: white;
    font-size: 15px; font-weight: 600;
    padding: 14px 24px; border-radius: 10px; text-align: center;
  }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  background: var(--g); color: white;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px; border: none;
  transition: all .2s; text-decoration: none; display: inline-block;
  letter-spacing: -.01em;
}
.btn-primary:hover { background: var(--g-mid); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text-2);
  font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 10px;
  border: 1px solid var(--border-md);
  transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { color: var(--text); border-color: var(--g-soft); background: var(--surface); }
.btn-white {
  background: white; color: var(--g-dark);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px; border: none;
  transition: all .15s; text-decoration: none; display: inline-block;
}
.btn-white:hover { background: var(--g-bg); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  transition: all .15s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); color: white; }

/* ═══════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════ */
.section {
  padding: 100px 40px;
  max-width: var(--max); margin: 0 auto;
}
.section-divider {
  height: 1px; background: var(--border);
  max-width: var(--max); margin: 0 auto;
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-soft);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--g-soft); }
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; line-height: 1.1; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 20px;
}
.section-h2 em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 17px; font-weight: 300; color: var(--text-2);
  max-width: 58ch; line-height: 1.7; margin-bottom: 56px;
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--border);
  max-width: var(--max); margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand-text { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--text); }
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 34px; height: 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-3);
  transition: all .15s;
}
.footer-social:hover { color: var(--text); background: var(--bg-hover); }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px; color: var(--text-2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--g-soft); }
.footer-links .soon {
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--surface); color: var(--text-3);
  padding: 2px 6px; border-radius: 3px; margin-left: 6px;
  vertical-align: middle;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-3); transition: color .15s; }
.footer-legal a:hover { color: var(--text-2); }
@media (max-width: 640px) {
  .footer { padding: 48px 20px 24px; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .35s; }
.fade-up-4 { animation-delay: .5s; }
.fade-up-5 { animation-delay: .65s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.text-gold { color: var(--gold); }
.text-green { color: var(--g-soft); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.full-bg { background: var(--bg-2); }

/* Announcement bar */
.announce {
  background: var(--g-dark); border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  text-align: center;
  font-size: 12px; font-weight: 500; color: var(--g-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.announce span { color: var(--gold); font-weight: 600; }
.announce a { color: var(--g-soft); text-decoration: underline; }
