/*
Theme Name: Project Unhackneyed
Theme URI: https://example.com
Author: Project Unhackneyed
Author URI: https://example.com
Description: Custom single-page theme for Project Unhackneyed — the human support, protection, and empowerment system behind the stage.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: unhackneyed
*/

:root{
    --white:#FFFFFF;
    --paper:#FBFBFA;
    --paper-dim:#F1F0EC;
    --black:#080808;
    --near-black:#121212;
    --ink:#0E0E0D;
    --grey:#5B584F;
    --grey-light:#938F84;
    --line: rgba(14,14,13,0.12);
    --line-dark: rgba(255,255,255,0.14);
    --red:#8C1420;
    --red-bright:#B01A28;
    --red-deep:#5C0D16;
    --red-glow: rgba(140,20,32,0.32);
    --maxw: 1180px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--white);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    position:relative;
  }
  h1,h2,h3,.display{
    font-family:'Sora', sans-serif;
    font-weight:700;
    letter-spacing:-0.02em;
    margin:0;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em; }
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px; position:relative; z-index:2;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px; letter-spacing:0.16em; text-transform:uppercase;
    color:var(--grey); display:flex; align-items:center; gap:10px; margin-bottom:18px;
    font-weight:500;
  }
  .eyebrow::before{ content:""; width:22px; height:2px; background:var(--red); display:inline-block; }
  @media (prefers-reduced-motion: no-preference){
    .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
    .reveal.in{opacity:1; transform:translateY(0);}
  }

  /* NAV */
  header{
    position:sticky; top:0; z-index:60;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{ display:flex; align-items:center; justify-content:space-between; height:78px; }
  .logo{
    font-family:'Sora', sans-serif; font-size:20px; font-weight:800;
    display:flex; align-items:baseline; gap:2px; text-decoration:none; color:var(--ink);
  }
  .logo .dot{color:var(--red); font-size:24px;}
  .nav-links{ display:flex; gap:34px; align-items:center; list-style:none; margin:0; padding:0; }
  .nav-links a{
    text-decoration:none; font-size:14.5px; font-weight:600; color:var(--ink);
    position:relative; padding:4px 0; opacity:0.68; transition:opacity .2s ease;
  }
  .nav-links a:hover{opacity:1;}
  .nav-cta{
    background:var(--red); color:var(--white); padding:12px 24px; border-radius:3px;
    text-decoration:none; font-size:14px; font-weight:700; letter-spacing:0.01em;
    box-shadow:0 2px 0 0 var(--red-deep);
    transition:box-shadow .2s ease, background .2s ease, transform .2s ease;
  }
  .nav-cta:hover{ background:var(--red-bright); transform:translateY(-2px); box-shadow:0 4px 14px -2px var(--red-glow), 0 2px 0 0 var(--red-deep); }
  .menu-btn{display:none; background:none; border:none; cursor:pointer; padding:6px;}
  .menu-btn span{display:block; width:22px; height:2px; background:var(--ink); margin:5px 0;}

  /* HERO */
  .hero{ padding:88px 0 0; position:relative; overflow:hidden; }
  .entry{max-width:700px; position:relative; z-index:2;}
  .headword{font-size:14px; color:var(--grey); margin-bottom:10px; font-weight:500;}
  .headword b{font-family:'IBM Plex Mono'; font-size:13px; color:var(--ink);}
  h1.title{ font-size:clamp(36px, 6.2vw, 62px); line-height:1.06; color:var(--ink); font-weight:800; }
  h1.title .accent{ color:var(--red); }
  .definition{ margin-top:26px; font-size:18px; color:#2E2C28; max-width:600px; font-weight:400; }
  .definition b{font-weight:700; color:var(--ink);}
  .definition .num{ font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--grey-light); margin-right:8px; }
  .hero-ctas{margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; align-items:center;}
  .btn{
    display:inline-flex; align-items:center; gap:8px; padding:16px 30px;
    text-decoration:none; font-weight:700; font-size:15px;
    border-radius:3px; transition:all .22s ease; border:1.5px solid transparent;
  }
  .btn-primary{ background:var(--red); color:var(--white); border-color:var(--red); box-shadow:0 3px 0 0 var(--red-deep); }
  .btn-primary:hover{ background:var(--red-bright); transform:translateY(-2px); box-shadow:0 6px 18px -4px var(--red-glow), 0 3px 0 0 var(--red-deep); }
  .btn-ghost{ border-color:var(--ink); color:var(--ink); font-weight:700; }
  .btn-ghost:hover{ background:var(--ink); color:var(--white); }

  /* STATS BAR */
  .stats-bar{
    margin-top:64px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    display:grid; grid-template-columns:repeat(4,1fr);
  }
  .stat{ padding:30px 28px; border-right:1px solid var(--line); }
  .stat:last-child{border-right:none;}
  .stat .num{ font-family:'Sora'; font-weight:800; font-size:32px; color:var(--red); }
  .stat .lbl{ font-size:13px; color:var(--grey); margin-top:6px; font-weight:500; }

  .who-for{ padding:64px 0; background:var(--red); }
  .who-inner{ max-width:800px; }
  .who-for .eyebrow{ color:rgba(255,255,255,0.75); }
  .who-for .eyebrow::before{ background:var(--white); }
  .who-for h2{ color:var(--white); font-size:clamp(26px,3.8vw,36px); }
  .who-for h2 .accent{ color:var(--black); }
  .who-for p{ margin-top:18px; font-size:16.5px; color:rgba(255,255,255,0.9); max-width:640px; font-weight:500; }

  section{padding:96px 0; position:relative;}
  .section-head{max-width:660px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(28px,4vw,42px); color:var(--ink); font-weight:800;}
  .section-head p{margin-top:16px; font-size:17px; color:#4A473F; max-width:580px;}

  /* WHY IT EXISTS — dark hearth */
  .why{background:var(--black); color:var(--paper);}
  .why .eyebrow{color:var(--grey-light);}
  .why .section-head h2{color:var(--white);}
  .why .section-head p{color:#B8B4A9;}
  .why-grid{display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:start;}
  .why-copy p{font-size:18px; color:#D6D2C6; margin:0 0 20px; font-weight:400;}
  .why-copy p:last-child{margin-bottom:0;}
  .why-copy b{color:var(--white); font-weight:700;}
  .philosophy-box{
    border:1px solid var(--line-dark); padding:36px; border-radius:4px;
    background:rgba(255,255,255,0.03); border-left:3px solid var(--red);
  }
  .philosophy-box .mono{font-size:11.5px; color:var(--red-bright); text-transform:uppercase; letter-spacing:0.15em; font-weight:600;}
  .philosophy-box p{ font-family:'Sora', sans-serif; font-weight:600; font-size:24px; line-height:1.42; color:var(--white); margin:18px 0 0; }

  /* HOW IT WORKS */
  .how-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; counter-reset:step; }
  .how-card{ position:relative; padding:32px 26px; border:1px solid var(--line); border-radius:6px; background:var(--paper); transition:transform .2s ease, border-color .2s ease; }
  .how-card:hover{ transform:translateY(-4px); border-color:var(--red); }
  .how-card .step-num{ font-family:'Sora'; font-weight:800; font-size:15px; color:var(--white); background:var(--red); width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
  .how-card h3{ font-size:19px; color:var(--ink); font-weight:700; }
  .how-card p{ font-size:14.5px; color:var(--grey); margin-top:10px; }
  .how-arrow{ position:absolute; top:36px; right:-24px; color:var(--grey-light); font-size:20px; }
  @media (max-width:920px){ .how-arrow{display:none;} }

  /* ROLE GRID */
  .role-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .role-item{
    background:var(--paper); padding:34px 28px; min-height:156px;
    display:flex; flex-direction:column; justify-content:space-between; transition:background .2s ease;
  }
  .role-item:hover{background:var(--white);}
  .role-item .mono{font-size:11.5px; color:var(--red); text-transform:uppercase; font-weight:700;}
  .role-item h3{font-size:20px; margin-top:16px; color:var(--ink); font-weight:700;}

  /* AREAS */
  .areas{background:var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .area-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .area-card{ background:var(--paper); padding:30px 26px; transition:background .2s ease, transform .2s ease; }
  .area-card:hover{ background:var(--white); transform:translateY(-3px); }
  .area-card .glyph{
    width:38px; height:38px; border-radius:8px; border:1.5px solid var(--ink); color:var(--ink);
    display:flex; align-items:center; justify-content:center; font-family:'Sora'; font-weight:800; font-size:15px;
    margin-bottom:18px; transition:all .2s ease;
  }
  .area-card:hover .glyph{ background:var(--red); border-color:var(--red); color:var(--white); }
  .area-card h3{font-size:16.5px; color:var(--ink); font-weight:700;}
  .area-card p{font-size:13.5px; color:var(--grey); margin-top:8px;}

  /* QUOTE */
  .quote-block{text-align:center; padding:120px 0; background:var(--black); color:var(--paper);}
  .quote-block .eyebrow{justify-content:center; color:var(--grey-light);}
  .quote-block blockquote{
    font-family:'Sora', sans-serif; font-weight:700; font-size:clamp(24px,4.4vw,42px); line-height:1.3;
    color:var(--white); max-width:840px; margin:0 auto;
  }
  .quote-block blockquote .accent{color:var(--red-bright);}
  .quote-block cite{ display:block; margin-top:24px; font-style:normal; font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--grey-light); }
  .quote-block .sub{max-width:600px; margin:28px auto 0; font-size:16px; color:#B8B4A9;}

  /* HOME FEELING */
  .home-feel{background:var(--white);}
  .home-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:32px;}
  .home-card{ padding:28px; border-radius:8px; background:var(--paper); border:1px solid var(--line); transition:all .2s ease; }
  .home-card:hover{ border-color:var(--red); box-shadow:0 8px 24px -8px rgba(0,0,0,0.12); }
  .home-card .mark{font-family:'Sora'; font-weight:800; font-size:30px; color:var(--red); line-height:1;}
  .home-card h3{margin-top:16px; font-size:19px; color:var(--ink); font-weight:700;}
  .home-card p{margin-top:10px; font-size:14.5px; color:var(--grey);}

  /* VOICES */
  .voices{background:var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .voice-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .voice-card{background:var(--paper); padding:34px 28px;}
  .voice-card .quote-mark{ font-family:'Sora'; font-weight:800; font-size:34px; color:var(--red); line-height:1; }
  .voice-card p{font-size:16.5px; color:var(--ink); line-height:1.55; margin-top:8px; font-weight:500;}
  .voice-card cite{display:block; margin-top:20px; font-style:normal; font-family:'IBM Plex Mono'; font-size:12px; color:var(--grey);}
  .voice-note{margin-top:22px; font-size:12.5px; color:var(--grey-light);}

  /* FAQ */
  .faq-list{ max-width:760px; }
  .faq-item{ border-bottom:1px solid var(--line); }
  .faq-q{
    width:100%; text-align:left; background:none; border:none; cursor:pointer;
    padding:24px 0; display:flex; justify-content:space-between; align-items:center; gap:20px;
    font-family:'Sora'; font-weight:700; font-size:17px; color:var(--ink);
  }
  .faq-q .plus{ font-size:22px; color:var(--red); font-weight:400; transition:transform .25s ease; flex-shrink:0; }
  .faq-item.open .plus{ transform:rotate(45deg); }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
  .faq-item.open .faq-a{ max-height:220px; }
  .faq-a p{ padding:0 0 24px; font-size:15px; color:var(--grey); max-width:620px; }

  /* GET INVOLVED */
  .involve-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .involve-card{ padding:32px 26px; background:var(--paper); display:flex; flex-direction:column; height:100%; transition:background .2s ease; }
  .involve-card:hover{background:var(--white);}
  .involve-card h3{font-size:19px; color:var(--ink); margin-bottom:10px; font-weight:700;}
  .involve-card p{font-size:14px; color:var(--grey); flex-grow:1;}
  .involve-card a{
    margin-top:20px; font-size:13.5px; font-weight:700; color:var(--red);
    text-decoration:none; display:inline-flex; align-items:center; gap:6px; border-bottom:2px solid transparent;
  }
  .involve-card a:hover{border-bottom-color:var(--red);}

  /* CONTACT */
  .contact{background:var(--black); color:var(--white);}
  .contact .eyebrow{color:var(--grey-light);}
  .contact .section-head h2{color:var(--white);}
  .contact .section-head p{color:#B8B4A9;}
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px;}
  .contact-info p{color:#D6D2C6; font-size:15px; margin:0 0 8px; font-weight:500;}
  .contact-info .label{
    font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--red-bright);
    text-transform:uppercase; letter-spacing:0.1em; margin-top:28px; margin-bottom:8px; font-weight:600;
  }
  .contact-info .label:first-child{margin-top:0;}
  form{display:flex; flex-direction:column; gap:16px;}
  form input, form textarea, form select{
    width:100%; padding:15px 16px; background:rgba(255,255,255,0.04);
    border:1.5px solid var(--line-dark); color:var(--white);
    font-family:'Inter'; font-size:14.5px; border-radius:4px; transition:border-color .2s ease;
  }
  form input:focus, form textarea:focus, form select:focus{ outline:none; border-color:var(--red); }
  form input::placeholder, form textarea::placeholder{color:#6E6A62;}
  form label{font-size:12px; color:#9A9488; font-family:'IBM Plex Mono'; text-transform:uppercase; letter-spacing:0.08em; font-weight:600;}
  form .field{display:flex; flex-direction:column; gap:6px;}
  .note{font-size:12.5px; color:#8A8478; margin-top:2px;}

  footer{
    padding:48px 0; border-top:1px solid var(--line); background:var(--white);
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  }
  footer .mono{font-size:12px; color:var(--grey); font-weight:500;}
  footer .mono .dot{color:var(--red);}

  /* FLOATING CTA */
  .float-cta{
    position:fixed; bottom:24px; right:24px; z-index:70;
    background:var(--red); color:var(--white); border:none; border-radius:50px;
    padding:16px 24px; font-family:'Sora'; font-weight:700; font-size:14px;
    display:flex; align-items:center; gap:10px; text-decoration:none;
    box-shadow:0 8px 24px -6px rgba(140,20,32,0.5), 0 3px 0 0 var(--red-deep);
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .float-cta:hover{ transform:translateY(-3px); box-shadow:0 12px 30px -6px rgba(140,20,32,0.6), 0 3px 0 0 var(--red-deep); }
  .float-cta .pulse{ width:8px; height:8px; border-radius:50%; background:#fff; animation:pulse 1.8s infinite; }
  @keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(255,255,255,0.6);} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }

  @media (max-width:920px){
    .nav-links, .nav-cta{display:none;}
    .menu-btn{display:block;}
    .why-grid{grid-template-columns:1fr; gap:32px;}
    .role-grid{grid-template-columns:1fr 1fr;}
    .area-grid, .home-grid, .voice-grid, .how-grid{grid-template-columns:1fr 1fr;}
    .involve-grid{grid-template-columns:1fr 1fr;}
    .contact-grid{grid-template-columns:1fr; gap:36px;}
    .stats-bar{grid-template-columns:1fr 1fr;}
    .stat{border-bottom:1px solid var(--line);}
  }
  @media (max-width:560px){
    .role-grid, .area-grid, .involve-grid, .home-grid, .voice-grid, .how-grid, .stats-bar{grid-template-columns:1fr;}
    .stat{border-right:none;}
    section{padding:68px 0;}
    .hero{padding:56px 0 0;}
    .float-cta span.label{display:none;}
    .float-cta{padding:16px;}
  }
