/*
Theme Name: Not Your Collage
Theme URI: https://notyourcollage.com
Author: Not Your Collage
Author URI: https://notyourcollage.com
Description: A premium dark, technology-startup themed WordPress theme built for Not Your Collage — an Education + Digital Agency + AI + Technology platform. Includes custom post types for Courses, Services and Case Studies, a two-track "Learn / Hire Us" navigation system, and a homepage architecture designed around SEO-first content clusters.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: notyourcollage
Tags: education, agency, dark, one-column, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready
*/

/* =============================================================
   0. THEME VARIABLES
============================================================= */
:root{
  --nyc-bg: #0b0b0d;
  --nyc-bg-alt: #131317;
  --nyc-surface: #1a1a1f;
  --nyc-surface-2: #202027;
  --nyc-border: rgba(255,255,255,0.08);
  --nyc-text: #f5f5f7;
  --nyc-text-muted: #a3a3ad;
  --nyc-accent: #6ee7b7; /* mint/green accent - change in customizer-free CSS override */
  --nyc-accent-2: #7c8bff;
  --nyc-radius: 14px;
  --nyc-radius-lg: 22px;
  --nyc-maxw: 1200px;
  --nyc-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --nyc-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =============================================================
   1. RESET & BASE
============================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--nyc-bg);
  color:var(--nyc-text);
  font-family:var(--nyc-font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--nyc-font-display); line-height:1.15; margin:0 0 .5em; font-weight:600; letter-spacing:-0.02em; }
p{ margin:0 0 1em; color:var(--nyc-text-muted); }
.container{ max-width:var(--nyc-maxw); margin:0 auto; padding:0 24px; }
.screen-reader-text{ position:absolute; left:-9999px; }

/* =============================================================
   2. BUTTONS
============================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:14px 28px; border-radius:var(--nyc-btn-radius, 999px); font-weight:600;
  font-size:0.95rem; border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--nyc-accent); color:#06110c; }
.btn-primary:hover{ background:#8ff0c4; }
.btn-outline{ background:transparent; color:var(--nyc-text); border-color:var(--nyc-border); }
.btn-outline:hover{ border-color:var(--nyc-accent); color:var(--nyc-accent); }
.btn-ghost{ background:transparent; color:var(--nyc-text-muted); padding:14px 8px; }

/* =============================================================
   3. HEADER / NAV
============================================================= */
.site-header{
  position:static; top:0; z-index:999;
  background:rgba(11,11,13,0.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--nyc-border);
}
.site-header.is-sticky{ position:sticky; }
.mode-toggle{
  background:none; border:1px solid var(--nyc-border); border-radius:10px;
  color:var(--nyc-text); padding:8px 12px; cursor:pointer; font-size:1rem; line-height:1;
  transition:border-color .2s;
}
.mode-toggle:hover{ border-color:var(--nyc-accent); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.site-logo{ font-family:var(--nyc-font-display); font-weight:700; font-size:1.25rem; letter-spacing:-0.01em; }
.site-logo span{ color:var(--nyc-accent); }
.primary-nav ul{ display:flex; align-items:center; gap:8px; }
.primary-nav a{
  display:block; padding:10px 16px; border-radius:999px; font-size:.95rem;
  color:var(--nyc-text-muted); transition:background .2s, color .2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ background:var(--nyc-surface); color:var(--nyc-text); }
.primary-nav li.menu-item-track-learn > a{ color:var(--nyc-accent); }
.primary-nav li.menu-item-track-agency > a{ color:var(--nyc-accent-2); }
.header-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:1px solid var(--nyc-border); border-radius:10px; color:var(--nyc-text); padding:8px 12px; }

@media (max-width:900px){
  .primary-nav{ display:none; position:absolute; top:76px; left:0; right:0; background:var(--nyc-bg-alt); border-bottom:1px solid var(--nyc-border); }
  .primary-nav.is-open{ display:block; }
  .primary-nav ul{ flex-direction:column; align-items:stretch; padding:12px; }
  .header-actions .btn-outline{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* =============================================================
   4. HERO
============================================================= */
.hero{
  position:relative; overflow:hidden;
  padding:120px 0 100px;
  background:
    radial-gradient(60% 60% at 20% 0%, rgba(110,231,183,0.14), transparent 60%),
    radial-gradient(50% 50% at 90% 10%, rgba(124,139,255,0.14), transparent 60%),
    var(--nyc-bg);
  text-align:center;
}
.hero .eyebrow{
  display:inline-block; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--nyc-accent); border:1px solid var(--nyc-border); padding:6px 14px; border-radius:999px;
  margin-bottom:24px; background:var(--nyc-surface);
}
.hero h1{ font-size:clamp(2.4rem, 5vw, 4.2rem); max-width:920px; margin:0 auto 20px; }
.hero p.lede{ max-width:640px; margin:0 auto 36px; font-size:1.15rem; }
.hero-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
.hero-trust{ font-size:.85rem; color:var(--nyc-text-muted); letter-spacing:.02em; }

.hero-split .hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; text-align:left; }
.hero-split .hero-copy .lede{ margin-left:0; }
.hero-split .hero-actions{ justify-content:flex-start; }
.hero-split .hero-visual img{ border-radius:var(--nyc-radius-lg); border:1px solid var(--nyc-border); }
@media (max-width:900px){ .hero-split .hero-grid{ grid-template-columns:1fr; text-align:center; } .hero-split .hero-actions{ justify-content:center; } }

/* =============================================================
   5. SECTIONS / CARDS
============================================================= */
.section{ padding:96px 0; border-top:1px solid var(--nyc-border); }
.section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.section-head .kicker{ color:var(--nyc-accent); font-weight:600; text-transform:uppercase; letter-spacing:.1em; font-size:.8rem; }
.section-head h2{ font-size:clamp(1.8rem, 3vw, 2.6rem); margin-top:10px; }

.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){ .grid-3,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--nyc-surface); border:1px solid var(--nyc-border); border-radius:var(--nyc-radius-lg);
  padding:32px; transition:border-color .2s, transform .2s;
}
.card:hover{ border-color:var(--nyc-accent); transform:translateY(-4px); }
.card .icon{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--nyc-surface-2); margin-bottom:18px; font-size:1.3rem;
}
.card h3{ font-size:1.2rem; margin-bottom:10px; }
.card ul{ margin-top:14px; }
.card ul li{ color:var(--nyc-text-muted); font-size:.92rem; padding:4px 0; }
.card ul li::before{ content:"→ "; color:var(--nyc-accent); }

.track-block{ padding:80px 0; }
.track-block.learn{ background:linear-gradient(180deg, rgba(110,231,183,0.06), transparent); }
.track-block.grow{ background:linear-gradient(180deg, rgba(124,139,255,0.06), transparent); }

/* Split hero band: Learn vs Hire — stacked, one column per row */
.split-cta{
  display:grid; grid-template-columns:1fr; border:1px solid var(--nyc-border); border-radius:var(--nyc-radius-lg);
  overflow:hidden; margin-top:20px;
}
.split-cta > div{ padding:48px 36px; }
.split-cta .learn{ background:linear-gradient(160deg, rgba(110,231,183,0.12), transparent); }
.split-cta .grow{ background:linear-gradient(160deg, rgba(124,139,255,0.12), transparent); border-left:none; border-top:1px solid var(--nyc-border); }

/* =============================================================
   6. COURSE / SERVICE ARCHIVE CARDS
============================================================= */
.post-card{
  background:var(--nyc-surface); border:1px solid var(--nyc-border); border-radius:var(--nyc-radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.post-card .thumb{ aspect-ratio:16/9; background:var(--nyc-surface-2); overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding:22px; flex:1; display:flex; flex-direction:column; }
.post-card .tag{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--nyc-accent); margin-bottom:8px; }
.post-card h3{ font-size:1.1rem; margin-bottom:8px; }
.post-card .meta{ margin-top:auto; padding-top:14px; display:flex; justify-content:space-between; font-size:.85rem; color:var(--nyc-text-muted); }

/* =============================================================
   7. SINGLE COURSE / SERVICE PAGE
============================================================= */
.entry-hero{ padding:80px 0 50px; border-bottom:1px solid var(--nyc-border); }
.entry-hero .breadcrumb{ font-size:.85rem; color:var(--nyc-text-muted); margin-bottom:18px; }
.entry-hero .breadcrumb a{ color:var(--nyc-text-muted); }
.entry-hero .breadcrumb a:hover{ color:var(--nyc-accent); }
.entry-hero h1{ font-size:clamp(2rem,4vw,3rem); max-width:820px; }
.entry-body{ padding:60px 0; }
.entry-body .content-grid{ display:grid; grid-template-columns:2fr 1fr; gap:48px; }
@media (max-width:900px){ .entry-body .content-grid{ grid-template-columns:1fr; } }
.entry-body article{ color:var(--nyc-text); }
.entry-body article h2{ margin-top:2em; font-size:1.5rem; }
.entry-body article h3{ margin-top:1.5em; font-size:1.2rem; }
.entry-body article p, .entry-body article li{ color:var(--nyc-text-muted); }
.sidebar-card{
  background:var(--nyc-surface); border:1px solid var(--nyc-border); border-radius:var(--nyc-radius-lg);
  padding:28px; position:sticky; top:100px; height:fit-content;
}
.sidebar-card .price{ font-size:1.8rem; font-family:var(--nyc-font-display); margin-bottom:6px; }
.sidebar-card .btn{ width:100%; margin-top:16px; }

/* =============================================================
   8. FAQ
============================================================= */
.faq-item{ border-bottom:1px solid var(--nyc-border); padding:20px 0; }
.faq-item summary{ cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; }
.faq-item summary::after{ content:"+"; color:var(--nyc-accent); font-size:1.3rem; }
.faq-item[open] summary::after{ content:"–"; }

/* =============================================================
   9. FOOTER
============================================================= */
.site-footer{ background:var(--nyc-bg-alt); border-top:1px solid var(--nyc-border); padding:72px 0 32px; margin-top:60px; }
.footer-grid{ display:grid; grid-template-columns:2fr repeat(4,1fr); gap:32px; margin-bottom:48px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:repeat(2,1fr);} }
.footer-grid h4{ font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--nyc-text-muted); margin-bottom:16px; }
.footer-grid a{ display:block; color:var(--nyc-text-muted); padding:6px 0; font-size:.92rem; }
.footer-grid a:hover{ color:var(--nyc-accent); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--nyc-border); padding-top:24px; font-size:.85rem; color:var(--nyc-text-muted); flex-wrap:wrap; gap:12px; }

/* =============================================================
   10. UTILITIES / GENERIC PAGE & BLOG
============================================================= */
.page-hero{ padding:70px 0 30px; text-align:center; border-bottom:1px solid var(--nyc-border); }
.blog-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:60px 0; }
@media (max-width:900px){ .blog-list{ grid-template-columns:1fr; } }
.pagination{ display:flex; justify-content:center; gap:8px; padding-bottom:60px; }
.pagination a, .pagination span{ padding:10px 16px; border:1px solid var(--nyc-border); border-radius:10px; color:var(--nyc-text-muted); }
.pagination .current{ background:var(--nyc-accent); color:#06110c; border-color:var(--nyc-accent); }
.badge{ display:inline-block; padding:4px 10px; font-size:.75rem; border-radius:999px; background:var(--nyc-surface-2); color:var(--nyc-text-muted); margin-right:6px; }
.gap-top{ margin-top:60px; }

/* =============================================================
   11. DARK / LIGHT MODE
   Dynamic color tokens are injected on html.nyc-theme by
   inc/customizer-output.php. This block overrides just the
   surface/text tokens when data-theme="light" is active, and wins
   the cascade via higher specificity (2 classes/attrs vs 1) —
   independent of whether it loads before or after the inline
   Customizer <style> block in <head>.
============================================================= */
html.nyc-theme[data-theme="light"]{
  --nyc-bg:#ffffff;
  --nyc-bg-alt:#f6f6f8;
  --nyc-surface:#ffffff;
  --nyc-surface-2:#f0f0f3;
  --nyc-border: rgba(0,0,0,0.08);
  --nyc-text:#0b0b0d;
  --nyc-text-muted:#57575f;
}
html.nyc-theme[data-theme="light"] .site-header{ background:rgba(255,255,255,0.85); }
html.nyc-theme[data-theme="light"] .btn-primary{ color:#06110c; }

.mode-toggle{
  background:var(--nyc-surface); border:1px solid var(--nyc-border); border-radius:999px;
  width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:1rem; line-height:1;
}
.mode-toggle:hover{ border-color:var(--nyc-accent); }

/* =============================================================
   12. HEADER — TRANSPARENT VARIANT
============================================================= */
.site-header.is-transparent{ background:transparent; backdrop-filter:none; border-bottom-color:transparent; }
.site-header.is-transparent:hover,
.site-header.is-transparent:focus-within{ background:rgba(11,11,13,0.85); backdrop-filter:blur(12px); border-bottom-color:var(--nyc-border); }

/* =============================================================
   13. HERO — SPLIT VARIANT
============================================================= */
.hero-split .container{ text-align:left; position:relative; padding-right:340px; }
.hero-split .eyebrow, .hero-split .hero-actions{ justify-content:flex-start; }
.hero-split h1, .hero-split p.lede{ margin-left:0; margin-right:0; text-align:left; }
.hero-split .container::before{
  content:""; position:absolute; right:24px; top:50%; transform:translateY(-50%);
  width:280px; height:280px; border-radius:var(--nyc-radius-lg);
  background:linear-gradient(135deg, rgba(110,231,183,0.16), rgba(124,139,255,0.16)); border:1px solid var(--nyc-border);
}
@media (max-width:1000px){ .hero-split .container{ padding-right:24px; } .hero-split .container::before{ display:none; } }
