/* ============================================================
   NOETIC TALENT AGENCY — Shared design system
   Burgundy · gold · bone · warm-dark · organic · premium
   Palette is the official Noetic brand palette.
   ============================================================ */

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

:root {
  /* ---- type ---- */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-sans:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif; /* alias: kept warm */

  /* ---- official brand palette ---- */
  --burgundy:       #8C1538;  /* Noetic Burgundy — primary (enriched, less brown) */
  --burgundy-deep:  #560E27;  /* Deep Burgundy */
  --oxblood:        #6E0F2E;  /* Oxblood */
  --burgundy-dusty: #A93A5F;  /* Dusty Burgundy */
  --bone:           #F4F1EA;  /* Bone White */
  --sand:           #D8D0C5;  /* Sand */
  --warm-gray:      #7B7570;  /* Warm Gray */
  --charcoal:       #2D2D2D;  /* Charcoal */
  --gold:           #C7A86D;  /* Noetic Gold — accent */
  --gold-bright:    #DEC68F;
  --gold-deep:      #A8884A;

  /* ---- surfaces: warm deep-burgundy dark ---- */
  --bg:          #160A10;
  --bg-elev:     #1E0E15;
  --surface:     #26121A;
  --surface-2:   #311823;
  --surface-3:   #3D2030;
  --border:      rgba(244,241,234,0.11);
  --border-soft: rgba(244,241,234,0.06);
  --border-strong: rgba(244,241,234,0.22);
  --text:        #F4F1EA;
  --text-dim:    #C7BCAF;
  --text-mute:   #8E8278;
  --white:       #ffffff;
  --black:       #111111;

  /* ---- accent system (gold primary, burgundy support) ---- */
  --accent:        var(--gold);
  --accent-bright: var(--gold-bright);
  --accent-deep:   var(--burgundy);
  --accent-crimson:var(--oxblood);
  --accent-maroon: var(--burgundy-deep);
  --accent-glow:   rgba(199,168,109,0.22);
  --grad-red:      linear-gradient(125deg, var(--gold-bright) 0%, var(--gold) 44%, var(--burgundy-dusty) 100%);
  --grad-red-soft: linear-gradient(150deg, rgba(199,168,109,0.16), rgba(140,21,56,0.32));

  /* geometry — softer, more organic */
  --radius:    6px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.5s;

  /* layout */
  --maxw: 1320px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #2A1206; }

a { color: inherit; text-decoration: none; }
.hl { color: var(--accent); }

/* gradient ink — for select display words */
.grad-ink {
  background: var(--grad-red);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ambient psychedelic aurora — slow-flowing, hue-shifting liquid light behind all content */
body::after {
  content: "";
  position: fixed; inset: -20%;
  pointer-events: none; z-index: -1;
  background:
    radial-gradient(38% 44% at 18% 12%, rgba(139,58,85,0.42), transparent 62%),
    radial-gradient(42% 48% at 86% 18%, rgba(107,23,49,0.40), transparent 60%),
    radial-gradient(40% 46% at 78% 88%, rgba(199,168,109,0.20), transparent 62%),
    radial-gradient(46% 52% at 8% 86%, rgba(90,16,39,0.42), transparent 64%),
    radial-gradient(50% 50% at 50% 50%, rgba(74,15,34,0.30), transparent 72%);
  background-size: 180% 180%;
  animation: auroraflow 52s ease-in-out infinite;
  will-change: background-position;
}
@keyframes auroraflow {
  0%,100% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%; }
  50% { background-position: 24% 30%, 74% 22%, 70% 74%, 26% 72%, 44% 56%; }
}
@keyframes aurorahue {
  0%,100% { filter: hue-rotate(0deg) saturate(1); }
  50% { filter: hue-rotate(34deg) saturate(1.18); }
}
@media (prefers-reduced-motion: reduce){ body::after{ animation: none; } }

/* warm film-grain ambience — very subtle, organic, not techy scanline */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(244,241,234,0.022) 0.5px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.7;
}

/* ============================================================
   LIGHT SECTION SCHEME — flips local palette to bone/sand
   feathered top/bottom so the dark aurora melts through the seam
   ============================================================ */
.section--light {
  --bg:          #F0E6C4;
  --bg-elev:     #ECE6DA;
  --surface:     #FFFFFF;
  --surface-2:   #F8F4EC;
  --surface-3:   #EFE9DD;
  --border:      rgba(45,45,45,0.13);
  --border-soft: rgba(45,45,45,0.07);
  --border-strong: rgba(45,45,45,0.26);
  --text:        #2A2622;
  --text-dim:    #5C544C;
  --text-mute:   #8A8076;
  --accent:        var(--burgundy);
  --accent-bright: var(--burgundy-dusty);
  --accent-deep:   var(--burgundy-deep);
  --accent-glow:   rgba(140,21,56,0.13);
  color: var(--text);
  background: transparent;
  padding-top: 220px;
  padding-bottom: 220px;
  position: relative;
}
/* middle solid bone block (real element so it renders everywhere; between the wave edges) */
.section--light .wavefill {
  content: ""; position: absolute; left: 0; right: 0; top: 206px; bottom: 206px;
  background: #F0E6C4; z-index: 0; pointer-events: none;
}
.section--light > .container { position: relative; z-index: 2; }
/* light-section padding must beat .section's shorthand (same specificity, later in source) */
.section.section--light { padding-top: 238px; padding-bottom: 238px; }
/* organic wave edges */
.waveedge { position: absolute; left: 0; right: 0; height: 210px; z-index: 1; pointer-events: none; }
.waveedge__svg { display: block; width: 100%; height: 100%; }
.waveedge--top { top: 0; transform: scaleY(-1); }
.waveedge--bot { bottom: 0; }
.section--light::selection,
.section--light ::selection { background: var(--burgundy); color: var(--bone); }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.mono-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; position: relative; }
@media (max-width: 720px){ .container{ padding: 0 20px; } .section{ padding: 76px 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform .3s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease);
  z-index: -1;
}
.btn:hover { color: #2A1206; border-color: var(--bone); }
.btn:hover::after { transform: translateY(0); }
.btn--solid { background: var(--gold); color: #2A1206; border-color: var(--gold); }
.btn--solid::after { background: var(--gold-bright); }
.btn--solid:hover { color: #2A1206; border-color: var(--gold-bright); }
.btn--burgundy { background: var(--burgundy); color: var(--bone); border-color: var(--burgundy); }
.btn--burgundy::after { background: var(--burgundy-dusty); }
.btn--burgundy:hover { color: var(--bone); border-color: var(--burgundy-dusty); }
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.nav--scrolled { background: rgba(22,10,16,0.74); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); }
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 32px; height: 32px; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.2em; font-size: 16px; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap;
  color: var(--text-dim); padding: 8px 14px; border-radius: var(--radius-pill);
  position: relative; transition: color 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link--active { color: var(--text); }
.nav__link--active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px; background: var(--gold); border-radius: 2px;
}
@media (max-width: 920px){ .nav__links{ display: none; } }

/* ---------- footer ---------- */
.footer { padding: 72px 0 44px; position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; font-weight: 600; }
.footer__col a { display: block; color: var(--text-dim); font-size: 14px; padding: 6px 0; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; color: var(--text-mute); font-size: 12px; letter-spacing: 0.04em; }
.footer__mark { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 720px){ .footer__grid{ grid-template-columns: 1fr 1fr; gap: 32px; } .footer__bottom{ flex-direction: column; gap: 14px; } }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; }
.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--text-dim); white-space: nowrap;
}
.hairline-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

/* reveal-on-scroll utility */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity: 1; transform: none; } }

/* spin keyframe for the mark */
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes pulse-mark { 0%,100%{ opacity: 0.5; } 50%{ opacity: 1; } }

/* ---------- liquid motif (ONE continuous page-wide psychedelic aura) ---------- */
.liquid { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; opacity: var(--liquid-show, 1); transition: opacity .5s var(--ease); }
.liquid__blob { position: fixed; left: -14%; bottom: -20%; width: 52vw; height: 52vw; max-width: 820px; max-height: 820px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(76px); opacity: 0.8; background: radial-gradient(circle at 50% 50%, rgba(139,58,85,0.5), transparent 70%); will-change: transform, border-radius; animation: blobmorph 19s var(--ease-in-out) infinite, blobdrift 27s var(--ease-in-out) infinite; }
.liquid__blob--2 { left: auto; bottom: auto; right: -10%; top: -16%; width: 40vw; height: 40vw; opacity: 0.6; animation-duration: 23s, 31s; animation-delay: -6s, -9s; background: radial-gradient(circle at 50% 50%, rgba(199,168,109,0.46), transparent 72%); }
.liquid__blob--3 { left: 30%; bottom: auto; top: 32%; width: 38vw; height: 38vw; opacity: 0.4; animation-duration: 27s, 24s; animation-delay: -12s, -4s; background: radial-gradient(circle at 50% 50%, rgba(90,16,39,0.55), transparent 70%); }
.liquid__blob--4 { left: auto; right: 4%; bottom: -14%; top: auto; width: 34vw; height: 34vw; opacity: 0.34; animation-duration: 25s, 29s; animation-delay: -3s, -15s; background: radial-gradient(circle at 50% 50%, rgba(199,168,109,0.4), transparent 72%); }
@keyframes blobmorph {
  0%,100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 60% 40% 38% 62% / 56% 38% 62% 44%; }
  66% { border-radius: 38% 62% 56% 44% / 60% 56% 44% 40%; }
}
@keyframes blobdrift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(6%, -5%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce){ .liquid__blob{ animation: none; } }

.scrollbar-thin::-webkit-scrollbar { width: 8px; height: 8px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }

/* ---------- nav cta + mobile ---------- */
.nav__cta { padding: 11px 20px; }
.nav__burger { display: none; background: none; border: 0; color: var(--text); font-size: 20px; cursor: pointer; }
.nav__mobile { position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(22,10,16,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; padding: 12px 24px 22px; }
.nav__mlink { padding: 15px 0; font-size: 15px; letter-spacing: 0.03em; color: var(--text-dim); border-bottom: 1px solid var(--border-soft); }
.nav__mlink:hover { color: var(--text); }
.nav__mcta { margin-top: 18px; justify-content: center; }
@media (max-width: 920px){ .nav__cta{ display: none; } .nav__burger{ display: block; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll linear infinite; will-change: transform; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; font-size: 13px; letter-spacing: 0.04em; color: var(--text-dim); }
.marquee__sep { margin: 0 22px; color: var(--accent); opacity: 0.5; }
.marquee--brands .marquee__item { padding: 0; }
.marquee--brands .marquee__sep { margin: 0; }
.brandlogo { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: 0.06em; color: var(--text-mute); padding: 0 44px; transition: color .4s var(--ease); white-space: nowrap; }
.brandlogo:hover { color: var(--text); }
.brandlogo-img { height: 30px; width: auto; max-width: 190px; object-fit: contain; padding: 0 40px; opacity: 0.62; transition: opacity .4s var(--ease); vertical-align: middle; filter: brightness(0) invert(1); }
.brandlogo-img:hover { opacity: 1; }

/* ---------- platform glyph icons ---------- */
.pf-ico { display: inline-block; vertical-align: middle; }
.pf-ico svg { display: block; }

/* ---------- AWE partner badge ---------- */
.awe-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--bone); color: var(--burgundy); border-radius: var(--radius-pill); padding: 9px 18px 9px 15px; box-shadow: 0 8px 26px rgba(0,0,0,0.30); }
.awe-badge__logo { height: 23px; width: auto; display: block; }
.awe-badge__text { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.1; color: var(--burgundy); border-left: 1px solid rgba(107,23,49,0.28); padding-left: 12px; }
