/*
Theme Name: Availeron Site 6
Theme URI: https://availeron.com
Author: Availeron Consulting
Author URI: https://availeron.com
Description: Custom WordPress theme built from the Availeron Site 6 static design (dark "Dark Ops Console" style with photography). A faithful, pixel-for-pixel port of the original static HTML/CSS/JS site -- no visual changes.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: availeron-site-6
*/

/* Availeron Consulting -- "Dark Ops Console" style direction */

:root{
  --bg:#0B0D0F; --bg-alt:#101418; --panel:#05070A;
  --text:#EDEFEC; --text-soft:#9BA19C; --muted:#6B7168;
  --accent-700:#2E8F52; --accent-600:#3DAE5E; --accent-500:#39FF88; --accent-100:#12241A;
  --line:#20242A;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); font-family:'IBM Plex Sans',system-ui,sans-serif; color:var(--text);}
a{color:var(--accent-600); text-decoration:none;} a:hover{color:var(--accent-500);}
img{max-width:100%; display:block;}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; font-weight:600; margin:0; text-wrap:pretty;}
p{margin:0; text-wrap:pretty;}
.wrap{max-width:1240px; margin:0 auto; padding-left:40px; padding-right:40px;}
.eyebrow{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent-600);}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:4px; font-size:15px; font-weight:600; white-space:nowrap; border:1.5px solid transparent; font-family:'IBM Plex Mono',monospace; cursor:pointer;}
.btn-primary{background:var(--accent-600); color:#05070A; border-color:var(--accent-600);}
.btn-primary:hover{background:var(--accent-500); border-color:var(--accent-500); color:#05070A;}
.btn-ghost{background:transparent; color:var(--text); border-color:var(--line);}
.btn-ghost:hover{border-color:var(--accent-600); color:var(--accent-600);}

/* HEADER */
.site-header{background:var(--bg); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50;}
.header-inner{max-width:1240px; margin:0 auto; padding:14px 40px; display:flex; align-items:center; justify-content:space-between; gap:32px;}
.brand{display:flex; align-items:center;}
.brand-logo{height:72px; width:auto;}
.nav{display:flex; align-items:center; gap:36px;}
.nav-link{font-family:'IBM Plex Mono',monospace; font-size:13.5px; font-weight:500; text-transform:uppercase; letter-spacing:0.04em; color:var(--text-soft); position:relative; padding:6px 0;}
.nav-link:hover{color:var(--text);}
.nav-link.active{color:var(--accent-500);}
.nav-link.active::after{content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--accent-600); border-radius:2px;}
.header-cta{display:flex; align-items:center; gap:22px;}
.phone{font-family:'IBM Plex Mono',monospace; font-size:14.5px; color:var(--text-soft); white-space:nowrap;}
.phone:hover{color:var(--accent-600);}
.nav-toggle{display:none; background:none; border:none; padding:8px; cursor:pointer;}
.nav-toggle svg{display:block;}
@media (max-width:900px){
  .nav{display:none; position:absolute; top:100%; left:0; right:0; background:var(--bg); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; padding:16px 40px; gap:18px;}
  .nav.open{display:flex;}
  .header-cta .phone{display:none;}
  .nav-toggle{display:block;}
}

/* HERO (home) */
.hero{
  padding:88px 0 96px; overflow:hidden; position:relative;
  background:
    linear-gradient(rgba(11,13,15,0.92), rgba(11,13,15,0.96)),
    linear-gradient(rgba(61,174,94,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,174,94,0.08) 1px, transparent 1px),
    url('assets/images/home-hero-bg-texture.jpg') center 30%/cover no-repeat;
  background-size:cover, 40px 40px, 40px 40px, cover;
}
.hero-inner{display:grid; grid-template-columns:1.05fr 0.95fr; align-items:center; gap:56px;}
.hero-copy{display:flex; flex-direction:column; align-items:flex-start; gap:22px;}
.hero h1{font-size:57px; line-height:1.06; letter-spacing:-0.01em; color:var(--text);}
.hero h1 em{font-style:normal; color:var(--accent-500);}
.hero-sub{font-size:18px; line-height:1.6; color:var(--text-soft); max-width:500px;}
.hero-actions{display:flex; gap:14px; margin-top:8px; flex-wrap:wrap;}
.hero-proof{display:flex; align-items:center; gap:10px; margin-top:6px; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--muted);}
.hero-proof .dot{width:7px; height:7px; border-radius:50%; background:var(--accent-500); box-shadow:0 0 0 3px var(--accent-100);}
.hero-art{position:relative; display:flex; align-items:center; justify-content:center;}
.hero-art svg{width:100%; height:auto; max-width:460px;}
.hero-art-photo{position:relative; width:100%; max-width:460px; aspect-ratio:4/3.1; border-radius:6px; overflow:hidden; border:1px solid var(--line); box-shadow:0 30px 70px rgba(0,0,0,0.45);}
.hero-art-photo img{width:100%; height:100%; object-fit:cover; filter:contrast(1.05) saturate(1.05);}

/* LIVE DASHBOARD WIDGET */
.dash-card{background:rgba(16,20,24,0.9); backdrop-filter:blur(6px); border:1px solid var(--line); border-radius:6px; padding:28px; width:100%; max-width:440px; box-shadow:0 30px 70px rgba(0,0,0,0.45);}
.dash-head{display:flex; align-items:center; justify-content:space-between; padding-bottom:16px; margin-bottom:20px; border-bottom:1px solid var(--line);}
.dash-title{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.14em; color:var(--text-soft);}
.dash-live{display:inline-flex; align-items:center; gap:7px; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; color:var(--accent-500);}
.dash-live-dot{width:7px; height:7px; border-radius:50%; background:var(--accent-500); animation:dashPulse 1.6s ease-in-out infinite;}
.dash-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:22px;}
.dash-tile-label{display:block; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin-bottom:7px;}
.dash-tile-value{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:27px; color:var(--text);}
.dash-tile-value small{font-size:14px; font-weight:600; color:var(--accent-500); margin-left:2px;}
.dash-chart{border-top:1px solid var(--line); padding-top:18px;}
.dash-sparkline{width:100%; height:52px; margin-top:10px; display:block;}
.dash-sparkline polyline{stroke-dasharray:420; stroke-dashoffset:420; animation:dashDraw 2.6s ease-out forwards;}
@keyframes dashPulse{0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(57,255,136,0.5);} 50%{opacity:0.45; box-shadow:0 0 0 7px rgba(57,255,136,0);}}
@keyframes dashDraw{to{stroke-dashoffset:0;}}

/* PAGE HERO (inner pages) */
.page-hero{padding:76px 0 56px;}
.page-hero h1{font-size:46px; line-height:1.12; margin-top:12px; max-width:680px; color:var(--text);}
.page-hero p{font-size:17px; color:var(--text-soft); line-height:1.65; margin-top:16px; max-width:620px;}

/* PAGE HERO -- PHOTO + GRID VARIANT */
.page-hero-photo{position:relative; min-height:320px; display:flex; align-items:center; padding:0; overflow:hidden; border-bottom:1px solid var(--line);}
.page-hero-media{position:absolute; inset:0; z-index:0;}
.page-hero-media img{width:100%; height:100%; object-fit:cover; filter:grayscale(0.3) brightness(0.55);}
.page-hero-overlay{position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(100deg, rgba(11,13,15,0.94) 20%, rgba(11,13,15,0.6) 100%),
    linear-gradient(rgba(61,174,94,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,174,94,0.10) 1px, transparent 1px);
  background-size:cover, 36px 36px, 36px 36px;
}
.page-hero-photo .wrap{position:relative; z-index:2; padding:52px 0 46px;}
.page-hero-photo .eyebrow{color:var(--accent-500);}
.page-hero-photo h1{color:#fff;}
.page-hero-photo p{color:rgba(237,239,236,0.8);}

/* STATS */
.stats{background:var(--panel); padding:44px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.stats-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.stat{padding-right:24px; border-right:1px solid var(--line);}
.stat:last-child{border-right:none;}
.stat-num{font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:32px; color:var(--accent-500); display:block;}
.stat-label{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--text-soft); margin-top:6px; display:block;}
.stat-caption{font-size:14px; color:var(--muted); line-height:1.6; margin-top:10px; display:block;}

/* SECTION HEADS */
.section{padding:96px 0;}
.section-alt{background:var(--bg-alt);}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:36px; line-height:1.15; margin-top:10px; color:var(--text);}
.section-head p{color:var(--text-soft); font-size:16.5px; line-height:1.65; margin-top:14px;}

/* INTRO (Potential / Dedication) */
.intro-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
.intro-card h3{font-size:19px; margin-bottom:12px; color:var(--text);}
.intro-card p{font-size:16px; line-height:1.7; color:var(--text-soft);}

/* PILLARS / SERVICES GRID */
.services-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
.service-card{background:var(--bg-alt); border:1px solid var(--line); border-radius:4px; padding:32px; display:flex; flex-direction:column; gap:14px; transition:border-color .15s;}
.service-card:hover{border-color:var(--accent-600);}
.service-icon{width:44px; height:44px; border-radius:4px; background:var(--accent-100); display:flex; align-items:center; justify-content:center;}
.service-card h3{font-size:19px; font-weight:600; color:var(--text);}
.service-card p{font-size:15.5px; line-height:1.7; color:var(--text-soft);}

/* METHODOLOGY */
.method-row{display:grid; grid-template-columns:repeat(3,1fr); gap:0;}
.method-step{position:relative; padding:0 32px 0 0;}
.method-step:not(:last-child)::after{content:""; position:absolute; top:22px; right:0; width:32px; height:1.5px; background:var(--line);}
.method-num{font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--accent-600); margin-bottom:14px; display:block;}
.method-step h3{font-size:19px; margin-bottom:10px; color:var(--text);}
.method-step p{font-size:15px; line-height:1.65; color:var(--text-soft);}

/* PROMISE + PHOTO */
.promise-grid{display:grid; grid-template-columns:1fr 0.85fr; gap:56px; align-items:center; margin-top:56px;}
.promise-list{display:flex; flex-direction:column; gap:18px;}
.promise-item{display:flex; gap:14px; font-size:16px; line-height:1.65; color:var(--text-soft);}
.promise-item svg{flex:none; margin-top:3px;}
.promise-photo{border-radius:4px; overflow:hidden; border:1px solid var(--line);}
.promise-photo img{width:100%; height:auto; filter:grayscale(0.15) contrast(1.05);}
.closing-line{margin-top:40px; font-size:16.5px; line-height:1.7; color:var(--text-soft); max-width:820px;}
.closing-line strong{color:var(--text); font-weight:600;}

/* TIMELINE / MISSION (about) */
.timeline{display:flex; flex-direction:column; gap:0;}
.t-row{display:grid; grid-template-columns:140px 1fr; gap:32px; padding:28px 0; border-top:1px solid var(--line);}
.t-row:last-child{border-bottom:1px solid var(--line);}
.t-year{font-family:'IBM Plex Mono',monospace; font-size:22px; color:var(--accent-600);}
.t-body h3{font-size:18px; margin-bottom:8px; color:var(--text);}
.t-body p{font-size:15.5px; line-height:1.65; color:var(--text-soft); max-width:640px;}
.mission{margin-top:48px; padding:36px 40px; background:var(--accent-100); border:1px solid var(--accent-700); border-radius:4px; max-width:760px;}
.mission p{font-family:'IBM Plex Mono',monospace; font-size:17px; line-height:1.6; color:var(--accent-500);}

/* TEAM */
.team-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.team-card{background:var(--bg-alt); border:1px solid var(--line); border-radius:4px; padding:32px;}
.avatar{width:72px; height:72px; border-radius:50%; object-fit:cover; margin-bottom:18px; filter:grayscale(0.2);}
.team-card h3{font-size:19px; color:var(--text);}
.team-role{font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-600); margin-top:4px; display:block;}
.team-card p{font-size:15px; line-height:1.65; color:var(--text-soft); margin-top:16px;}
.team-specialties{margin-top:16px; display:flex; flex-direction:column; gap:8px;}
.team-specialties div{display:flex; gap:9px; font-size:14px; line-height:1.55; color:var(--text-soft);}
.team-specialties svg{flex:none; margin-top:3px;}
.team-specialties strong{color:var(--text); font-weight:600;}

/* INDUSTRIES */
.industries{display:flex; flex-wrap:wrap; gap:12px;}
.chip{padding:10px 18px; border:1.5px solid var(--line); border-radius:4px; font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:500; color:var(--text); display:inline-block;}

/* SERVICES PAGE OFFERINGS */
.offering{padding:64px 0; border-top:1px solid var(--line);}
.offering-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:start;}
.offering-num{font-family:'IBM Plex Mono',monospace; font-size:24px; color:var(--accent-600); display:block; margin-bottom:10px;}
.offering h2{font-size:28px; line-height:1.15; color:var(--text);}
.offering-quote{font-size:17px; line-height:1.7; color:var(--text-soft); margin-top:18px; padding-left:18px; border-left:2.5px solid var(--accent-700);}
.includes{margin-top:26px; display:grid; grid-template-columns:1fr 1fr; gap:12px 20px;}
.includes div{display:flex; align-items:flex-start; gap:10px; font-size:15px; color:var(--text);}
.includes svg{flex:none; margin-top:2px;}

/* CONTACT PAGE */
label{display:block; font-family:'IBM Plex Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.04em; color:var(--text-soft); margin-bottom:7px;}
input,textarea{width:100%; border:1.5px solid var(--line); border-radius:4px; padding:12px 14px; font-family:'IBM Plex Sans',sans-serif; font-size:15px; color:var(--text); background:var(--bg);}
input:focus,textarea:focus{outline:none; border-color:var(--accent-600);}
.contact-section{padding-bottom:96px;}
.contact-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:48px; align-items:start;}
.info-card{background:var(--panel); border:1px solid var(--accent-700); color:var(--text); border-radius:4px; padding:36px; display:flex; flex-direction:column; gap:26px;}
.info-row{display:flex; gap:14px; align-items:flex-start;}
.info-row svg{flex:none; margin-top:2px;}
.info-label{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; display:block;}
.info-value{font-size:15.5px; line-height:1.5; color:var(--text);}
.info-value a{color:var(--text);}
.info-value a:hover{color:var(--accent-500);}
.noc-badge{display:inline-flex; align-items:center; gap:8px; margin-top:4px; padding:9px 14px; background:rgba(57,255,136,0.1); border:1px solid rgba(57,255,136,0.35); border-radius:4px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--accent-500); width:fit-content;}
.noc-badge::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--accent-500); box-shadow:0 0 0 3px rgba(57,255,136,0.22);}
.form-card{background:var(--bg-alt); border:1px solid var(--line); border-radius:4px; padding:40px;}
.form-card h2{font-size:23px; margin-bottom:6px; color:var(--text);}
.form-card > p{color:var(--text-soft); font-size:15px; margin-bottom:28px;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px;}
.field{margin-bottom:18px;}
.field:last-of-type{margin-bottom:26px;}
.location{margin-top:28px; border-radius:4px; overflow:hidden; border:1px solid var(--line); position:relative; height:200px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0/28px 28px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/28px 28px,
  var(--bg-alt);
}
.location-pin{position:absolute; left:50%; top:50%; transform:translate(-50%,-60%); display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer;}
.location-pin:hover .location-label{border-color:var(--accent-500); color:var(--accent-500);}
.location-label{background:var(--panel); border:1px solid var(--accent-600); color:var(--text); font-family:'IBM Plex Mono',monospace; font-size:12px; padding:8px 14px; border-radius:4px; white-space:nowrap;}

/* PHOTO BANNER */
.photo-banner{position:relative; min-height:400px; display:flex; align-items:center; overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.photo-banner-media{position:absolute; inset:0; z-index:0;}
.photo-banner-media img{width:100%; height:100%; object-fit:cover; filter:grayscale(0.25) brightness(0.55);}
.photo-banner-overlay{position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(100deg, rgba(11,13,15,0.95) 15%, rgba(11,13,15,0.55) 60%, rgba(18,36,26,0.4) 100%),
    linear-gradient(rgba(61,174,94,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,174,94,0.12) 1px, transparent 1px);
  background-size:cover, 40px 40px, 40px 40px;
}
.photo-banner .wrap{position:relative; z-index:2;}
.photo-banner-content{max-width:620px; display:flex; flex-direction:column; gap:18px;}
.photo-banner-content .eyebrow{color:var(--accent-500);}
.photo-banner-content h2{color:var(--text); font-size:34px; line-height:1.15;}
.photo-banner-content h2 em{font-style:normal; color:var(--accent-500);}
.photo-banner-content p{color:var(--text-soft); font-size:16.5px; line-height:1.65;}
.photo-banner-content .noc-badge{margin-top:4px;}
@media (max-width:640px){
  .photo-banner{min-height:320px;}
  .photo-banner-content h2{font-size:26px;}
}

/* CTA BAND */
.cta-band{position:relative; background:var(--accent-600); padding:72px 0; overflow:hidden;}
.cta-band-media{position:absolute; inset:0; z-index:0;}
.cta-band-media img{width:100%; height:100%; object-fit:cover;}
.cta-band-overlay{position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, rgba(46,143,82,0.95) 0%, rgba(5,7,10,0.88) 100%);}
.cta-band .wrap{position:relative; z-index:2;}
.cta-inner{display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;}
.cta-inner h2{color:#fff; font-size:31px; max-width:520px;}
.cta-actions{display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
.cta-band .btn-primary{background:#05070A; color:var(--accent-500); border-color:#05070A;}
.cta-band .btn-primary:hover{background:#000; color:var(--accent-500); border-color:#000;}
.cta-phone{color:#fff; font-family:'IBM Plex Mono',monospace; font-size:16px; font-weight:600;}
.cta-phone:hover{color:#000;}

/* FOOTER */
.site-footer{background:var(--panel); color:var(--text-soft); border-top:1px solid var(--line);}
.footer-inner{max-width:1240px; margin:0 auto; padding:64px 40px 32px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px;}
.f-brand{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
.f-logo{height:50px; width:auto; display:block;}
.f-blurb{font-size:14.5px; line-height:1.65; color:var(--muted); max-width:320px;}
.f-heading{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin:0 0 16px;}
.f-list{display:flex; flex-direction:column; gap:11px; font-size:14.5px;}
.f-list a{color:var(--text-soft);}
.f-list a:hover{color:var(--accent-500);}
.f-contact{display:flex; flex-direction:column; gap:11px; font-size:14.5px; color:var(--text-soft);}
.f-bottom{border-top:1px solid var(--line); margin-top:48px; padding-top:24px; display:flex; justify-content:space-between; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); flex-wrap:wrap; gap:10px;}
.f-noc{display:inline-flex; align-items:center; gap:7px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.04em; color:var(--accent-500);}
.f-noc::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--accent-500); box-shadow:0 0 0 3px rgba(57,255,136,0.22);}

@media (max-width:1000px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-art{display:none;}
  .stats-grid{grid-template-columns:1fr; row-gap:24px;}
  .stat{border-right:none; padding-right:0;}
  .services-grid{grid-template-columns:1fr;}
  .method-row{grid-template-columns:1fr; row-gap:32px;}
  .method-step:not(:last-child)::after{display:none;}
  .promise-grid{grid-template-columns:1fr;}
  .t-row{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr;}
  .offering-grid{grid-template-columns:1fr; gap:24px;}
  .includes{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .field-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:32px;}
}
@media (max-width:640px){
  .wrap{padding-left:20px; padding-right:20px;}
  .header-inner{padding:14px 20px;}
  .hero h1{font-size:36px;}
  .footer-grid{grid-template-columns:1fr;}
}

/* Contact form: real submission handling (added for the WordPress port) */
.availeron-hp{position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden;}
.cf-turnstile{margin-bottom:22px;}
.form-status{border-radius:4px; padding:14px 18px; margin-bottom:22px; font-size:14.5px; line-height:1.55; border:1px solid;}
.form-status.is-success{background:var(--accent-100); border-color:var(--accent-600); color:var(--accent-500);}
.form-status.is-error{background:#2A1416; border-color:#8C2F35; color:#FF9AA0;}
