/*
Theme Name: Softous Solutions
Theme URI: https://softous.in
Author: Softous Solutions
Author URI: https://softous.in
Description: Custom dark cybersecurity theme for Softous Solutions — penetration testing, cloud & infra security, audit & compliance, secure code review, phishing simulation, virtual CISO and configuration review.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: softous
*/

:root{
  --bg: #090c13;
  --bg-1: #0c111c;
  --surface: #101724;
  --surface-2: #151f31;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --red: #e3212c;
  --red-soft: #ff4c56;
  --red-dim: #4a1116;
  --cyan: #35d7e0;
  --cyan-dim: #0f3a3d;
  --green: #1fbf7a;
  --text: #eef2f8;
  --text-dim: #94a2ba;
  --text-faint: #57667f;
  --display: 'Chakra Petch', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1240px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events:none;
  z-index:0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
section{position:relative; z-index:1;}

.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--cyan); display:flex; align-items:center; gap:10px; margin-bottom:18px; font-weight:500;
}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--cyan);}
h1,h2,h3,h4{font-family:var(--display); font-weight:600; letter-spacing:-0.01em; color:var(--text);}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:13.5px; letter-spacing:.03em; font-weight:500;
  padding:14px 26px; border-radius:2px; cursor:pointer; border:1px solid transparent;
  transition:all .2s ease; white-space:nowrap;
}
.btn-primary{background:var(--red); color:#fff;}
.btn-primary:hover{background:var(--red-soft); box-shadow:0 0 0 1px var(--red-soft), 0 0 24px rgba(227,33,44,.45);}
.btn-ghost{border-color:var(--border-strong); color:var(--text);}
.btn-ghost:hover{border-color:var(--cyan); color:var(--cyan);}
.btn-arrow{transition:transform .2s ease;}
.btn:hover .btn-arrow{transform:translateX(3px);}

/* ---------- NAV ---------- */
header.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid transparent;
  transition:all .25s ease;
}
header.site-header.scrolled{
  background:rgba(9,12,19,0.85);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
nav.site-nav{
  max-width:var(--max); margin:0 auto; padding:18px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{display:flex; align-items:center; gap:11px;}
.brand img{height:30px; width:auto;}
.brand-text{font-family:var(--display); font-size:18px; font-weight:700; letter-spacing:.01em; line-height:1.1;}
.brand-text span{display:block; font-family:var(--mono); font-size:9px; letter-spacing:.22em; color:var(--text-faint); font-weight:500; margin-top:1px;}
.nav-links{display:flex; align-items:center; gap:34px;}
.nav-links li{list-style:none;}
.nav-links a{
  font-size:14px; color:var(--text-dim); font-weight:500; position:relative; padding:4px 0;
  transition:color .2s ease;
}
.nav-links a:hover{color:var(--text);}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:1px; background:var(--cyan);
  transition:width .2s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{display:flex; align-items:center; gap:18px;}
.menu-toggle{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
.menu-toggle span{width:22px; height:2px; background:var(--text);}

/* ---------- HERO ---------- */
.hero{
  position:relative; padding:168px 0 96px; overflow:hidden;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(9,12,19,0.55) 56%, rgba(9,12,19,0.2) 100%),
    url('assets/soc-room.jpg');
  background-size: cover; background-position: center;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero-inner{position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:end;}
.hero-copy h1{
  font-size:clamp(38px, 4.6vw, 60px); line-height:1.05; margin-bottom:22px; max-width:640px;
}
.hero-copy h1 em{
  font-style:normal; color:var(--red-soft);
  background:linear-gradient(180deg, transparent 62%, rgba(227,33,44,.28) 62%);
}
.hero-copy p{color:var(--text-dim); font-size:17px; max-width:520px; margin-bottom:34px;}
.hero-actions{display:flex; align-items:center; gap:20px; flex-wrap:wrap;}
.hero-note{font-family:var(--mono); font-size:12px; color:var(--text-faint); margin-top:34px; display:flex; gap:8px; align-items:center;}
.dot-live{width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(31,191,122,.18); animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.4;}}

/* ---------- SIMPLE PAGE / POST HERO (non-front-page header banner) ---------- */
.page-hero{
  position:relative; padding:168px 0 64px; overflow:hidden;
  background:
    linear-gradient(90deg, var(--bg) 10%, rgba(9,12,19,0.55) 60%, rgba(9,12,19,0.2) 100%),
    url('assets/soc-room.jpg');
  background-size:cover; background-position:center;
}
.page-hero::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, var(--bg) 100%);}
.page-hero-inner{position:relative; z-index:2; max-width:760px;}
.page-hero h1{font-size:clamp(32px,4vw,48px); line-height:1.1; margin-bottom:14px;}
.page-hero .meta{font-family:var(--mono); font-size:12.5px; color:var(--text-faint); letter-spacing:.05em; display:flex; gap:14px; flex-wrap:wrap; margin-top:18px;}
.page-hero .meta span{display:flex; align-items:center; gap:6px;}

/* terminal card */
.terminal{
  background:rgba(13,18,29,0.92); border:1px solid var(--border-strong); border-radius:6px;
  box-shadow:0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(53,215,224,0.06);
  backdrop-filter: blur(6px);
  overflow:hidden;
}
.term-bar{
  display:flex; align-items:center; gap:8px; padding:11px 14px; border-bottom:1px solid var(--border);
  background:rgba(255,255,255,0.02);
}
.term-bar span{width:9px; height:9px; border-radius:50%; background:#37404f;}
.term-bar .title{margin-left:8px; font-family:var(--mono); font-size:11px; color:var(--text-faint); letter-spacing:.04em;}
.term-body{padding:20px 18px 22px; font-family:var(--mono); font-size:12.6px; line-height:1.85; min-height:210px; color:#c7d3e3;}
.term-body .prompt{color:var(--green);}
.term-body .path{color:var(--cyan);}
.term-line{white-space:pre-wrap; word-break:break-word;}
.term-line.muted{color:var(--text-faint);}
.term-line.warn{color:var(--red-soft);}
.term-line.ok{color:var(--green);}
.cursor{display:inline-block; width:7px; height:14px; background:var(--cyan); vertical-align:-2px; animation:blink 1s steps(1) infinite;}
@keyframes blink{50%{opacity:0;}}

/* ---------- MARQUEE ---------- */
.marquee{
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  background:var(--bg-1); overflow:hidden; padding:15px 0;
}
.marquee-track{display:flex; width:max-content; animation:scroll 32s linear infinite;}
.marquee:hover .marquee-track{animation-play-state:paused;}
.marquee-track span{
  font-family:var(--mono); font-size:13px; letter-spacing:.1em; color:var(--text-faint);
  padding:0 28px; display:flex; align-items:center; gap:28px; text-transform:uppercase; white-space:nowrap;
}
.marquee-track span::after{content:"//"; color:var(--red); opacity:.7;}
@keyframes scroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* ---------- SECTION GENERIC ---------- */
.section{padding:110px 0;}
.section-head{max-width:640px; margin-bottom:64px;}
.section-head h2{font-size:clamp(28px,3.2vw,40px); line-height:1.15; margin-bottom:16px;}
.section-head p{color:var(--text-dim); font-size:16px;}

/* ---------- SERVICES ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border);}
.service-card{
  background:var(--bg); padding:36px 32px; transition:background .25s ease; position:relative;
}
.service-card:hover{background:var(--surface);}
.service-card:hover .svc-icon{border-color:var(--red); color:var(--red-soft); box-shadow:0 0 22px rgba(227,33,44,.25);}
.svc-icon{
  width:46px; height:46px; border:1px solid var(--border-strong); border-radius:5px;
  display:flex; align-items:center; justify-content:center; color:var(--cyan); margin-bottom:22px;
  transition:all .25s ease;
}
.svc-icon svg{width:22px; height:22px;}
.service-card .tag{font-family:var(--mono); font-size:10.5px; color:var(--text-faint); letter-spacing:.12em; margin-bottom:10px; display:block;}
.service-card h3{font-size:19px; margin-bottom:11px; font-weight:600;}
.service-card p{font-size:14.5px; color:var(--text-dim);}

/* ---------- PROCESS ---------- */
.process{background:var(--bg-1); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.process-list{display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative;}
.process-list::before{
  content:""; position:absolute; top:19px; left:0; right:0; height:1px;
  background:repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.p-step{padding:0 20px 0 0; position:relative;}
.p-num{
  font-family:var(--mono); font-size:13px; color:var(--bg); background:var(--cyan);
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-bottom:22px; position:relative; z-index:2; font-weight:600;
}
.p-step:nth-child(odd) .p-num{background:var(--red-soft);}
.p-step h4{font-size:16px; margin-bottom:8px;}
.p-step p{font-size:13.5px; color:var(--text-dim);}

/* ---------- APPROACH / SPOTLIGHT ---------- */
.spotlight{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.spotlight.reverse .spotlight-media{order:2;}
.spotlight-media{
  border-radius:8px; overflow:hidden; border:1px solid var(--border-strong);
  background:var(--surface);
  box-shadow:0 30px 70px rgba(0,0,0,.45);
}
.spotlight-media img{width:100%; height:100%; object-fit:cover; display:block;}
.spotlight-copy .check-list{margin-top:26px; display:flex; flex-direction:column; gap:14px;}
.check-list li{display:flex; align-items:flex-start; gap:12px; font-size:14.5px; color:var(--text-dim);}
.check-list svg{flex:none; width:16px; height:16px; margin-top:3px; color:var(--green);}
.check-list b{color:var(--text); font-weight:600;}

/* ---------- MOCKUP PANELS ---------- */
.mockup{background:var(--surface); font-family:var(--mono);}
.mockup-bar{display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); background:rgba(255,255,255,0.02);}
.mockup-bar span{width:9px; height:9px; border-radius:50%; background:#37404f;}
.mockup-bar .mockup-title{margin-left:8px; font-size:11px; color:var(--text-faint); letter-spacing:.04em;}
.mockup-body{padding:26px; min-height:280px;}

.scan-summary{display:flex; align-items:center; gap:20px; margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--border);}
.donut{
  --pct:72; width:64px; height:64px; border-radius:50%; flex:none;
  background:conic-gradient(var(--red-soft) calc(var(--pct)*1%), var(--surface-2) 0);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.donut::after{content:""; position:absolute; inset:8px; border-radius:50%; background:var(--surface);}
.donut span{position:relative; z-index:1; font-size:13px; color:var(--text); font-weight:600;}
.scan-summary-text strong{font-size:20px; color:var(--text); font-weight:600; display:block; margin-bottom:4px;}
.scan-summary-text span{font-size:12px; color:var(--text-faint);}
.finding-list{display:flex; flex-direction:column; gap:14px;}
.finding-list li{display:flex; align-items:center; gap:12px; font-size:12.5px; color:var(--text-dim); font-family:var(--body);}
.sev{font-family:var(--mono); font-size:10px; letter-spacing:.04em; padding:3px 8px; border-radius:3px; flex:none; font-weight:600;}
.sev.crit{background:rgba(227,33,44,.16); color:var(--red-soft);}
.sev.high{background:rgba(255,150,60,.14); color:#ffab5c;}
.sev.med{background:rgba(53,215,224,.14); color:var(--cyan);}

.cloud-map{position:relative; height:280px;}
.cloud-map svg.links{position:absolute; inset:0; width:100%; height:100%;}
.cm-node{
  position:absolute; display:flex; flex-direction:column; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10.5px; color:var(--text-dim); text-align:center; width:76px;
}
.cm-node .dot{
  width:44px; height:44px; border-radius:8px; background:var(--surface-2); border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; color:var(--cyan);
}
.cm-node.center .dot{width:56px; height:56px; background:rgba(53,215,224,.1); border-color:var(--cyan); color:var(--cyan); box-shadow:0 0 24px rgba(53,215,224,.25);}
.cm-node svg{width:20px; height:20px;}
.cm-node.center svg{width:24px; height:24px;}
.cm-n1{top:6px; left:6px;} .cm-n2{top:6px; right:6px;}
.cm-n3{bottom:6px; left:6px;} .cm-n4{bottom:6px; right:6px;}
.cm-center{top:50%; left:50%; transform:translate(-50%,-50%);}

.mail-list{display:flex; flex-direction:column; gap:1px; margin-bottom:22px; border:1px solid var(--border); border-radius:6px; overflow:hidden;}
.mail-row{display:flex; align-items:center; gap:14px; padding:13px 16px; background:var(--bg-1); font-family:var(--body);}
.mail-row .mail-from{font-size:12.5px; color:var(--text); font-weight:600; width:110px; flex:none;}
.mail-row .mail-subject{font-size:12.5px; color:var(--text-dim); flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.mail-flag{font-family:var(--mono); font-size:10px; letter-spacing:.04em; padding:3px 9px; border-radius:3px; flex:none; font-weight:600;}
.mail-flag.reported{background:rgba(31,191,122,.14); color:var(--green);}
.mail-flag.clicked{background:rgba(227,33,44,.16); color:var(--red-soft);}
.mail-flag.safe{background:rgba(255,255,255,.06); color:var(--text-faint);}
.mail-stats{display:flex; gap:32px;}
.mail-stats div strong{display:block; font-size:22px; color:var(--text); font-weight:600;}
.mail-stats div span{font-size:11px; color:var(--text-faint); letter-spacing:.04em;}

/* ---------- CTA BANNER ---------- */
.cta-banner{
  position:relative; padding:90px 0; overflow:hidden;
  background:
    linear-gradient(90deg, var(--bg) 15%, rgba(9,12,19,.65) 55%, rgba(9,12,19,.2) 100%),
    url('assets/banner-cloud.jpg');
  background-size:cover; background-position:center;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.cta-content{max-width:560px;}
.cta-content h2{font-size:clamp(26px,3vw,36px); margin-bottom:16px; line-height:1.2;}
.cta-content p{color:var(--text-dim); margin-bottom:30px; font-size:15.5px;}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:8px; overflow:hidden;}
.contact-panel{background:var(--surface); padding:52px;}
.contact-panel.dark{background:var(--bg-1);}
.contact-panel h3{font-size:22px; margin-bottom:14px;}
.contact-panel p{color:var(--text-dim); font-size:15px; margin-bottom:28px;}
.email-line{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  border:1px solid var(--border-strong); border-radius:5px; padding:18px 20px;
  font-family:var(--mono); font-size:15px; color:var(--cyan); margin-bottom:16px; transition:border-color .2s ease;
}
.email-line:hover{border-color:var(--cyan);}
.copy-btn{font-family:var(--mono); font-size:11px; color:var(--text-faint); border:1px solid var(--border-strong); padding:6px 10px; border-radius:3px; background:none; cursor:pointer; transition:all .2s ease;}
.copy-btn:hover{color:var(--cyan); border-color:var(--cyan);}
.info-rows{display:flex; flex-direction:column; gap:22px; margin-top:6px;}
.info-rows .row{display:flex; gap:16px; align-items:flex-start;}
.info-rows .row .lbl{font-family:var(--mono); font-size:10.5px; color:var(--text-faint); letter-spacing:.1em; text-transform:uppercase; width:110px; flex:none; padding-top:2px;}
.info-rows .row .val{font-size:14.5px; color:var(--text-dim);}

/* ---------- BLOG LISTING ---------- */
.post-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.post-card{
  background:var(--surface); border:1px solid var(--border); border-radius:8px; overflow:hidden;
  display:flex; flex-direction:column; transition:border-color .2s ease, transform .2s ease;
}
.post-card:hover{border-color:var(--border-strong); transform:translateY(-3px);}
.post-card .post-thumb{aspect-ratio:16/10; overflow:hidden; background:var(--surface-2);}
.post-card .post-thumb img{width:100%; height:100%; object-fit:cover;}
.post-card .post-thumb.placeholder{display:flex; align-items:center; justify-content:center; color:var(--text-faint);}
.post-card .post-thumb.placeholder svg{width:34px; height:34px; opacity:.5;}
.post-card-body{padding:26px 24px; display:flex; flex-direction:column; flex:1;}
.post-meta{font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:var(--text-faint); text-transform:uppercase; margin-bottom:12px; display:flex; gap:10px; flex-wrap:wrap;}
.post-card h3{font-size:18px; margin-bottom:10px; line-height:1.3;}
.post-card h3 a:hover{color:var(--cyan);}
.post-card p{font-size:14px; color:var(--text-dim); flex:1; margin-bottom:18px;}
.post-read{font-family:var(--mono); font-size:12.5px; color:var(--cyan); display:inline-flex; align-items:center; gap:8px;}
.post-read svg{width:14px; height:14px; transition:transform .2s ease;}
.post-card:hover .post-read svg{transform:translateX(3px);}

.no-posts{padding:60px 40px; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:8px;}
.no-posts p{color:var(--text-dim); margin-top:10px;}

.pagination-row{display:flex; justify-content:space-between; align-items:center; margin-top:56px; gap:16px; flex-wrap:wrap;}
.pagination-row .page-numbers{
  font-family:var(--mono); font-size:13px; color:var(--text-dim); padding:10px 16px; border:1px solid var(--border-strong);
  border-radius:3px; transition:all .2s ease;
}
.pagination-row .page-numbers.current{color:var(--bg); background:var(--cyan); border-color:var(--cyan);}
.pagination-row a.page-numbers:hover{border-color:var(--cyan); color:var(--cyan);}
.pagination-row span.dots{color:var(--text-faint); padding:0 6px;}
.pagination-nums{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}

/* ---------- SINGLE POST / PROSE ---------- */
.post-single{padding:70px 0 110px;}
.post-single-wrap{max-width:760px; margin:0 auto;}
.post-thumb-full{border-radius:8px; overflow:hidden; margin-bottom:48px; border:1px solid var(--border-strong);}
.post-thumb-full img{width:100%; display:block;}
.prose{font-size:16.5px; color:var(--text-dim); line-height:1.85;}
.prose > *+*{margin-top:22px;}
.prose h2{font-size:26px; color:var(--text); margin-top:48px; margin-bottom:4px;}
.prose h3{font-size:20px; color:var(--text); margin-top:36px; margin-bottom:4px;}
.prose p{margin:0;}
.prose a{color:var(--cyan); text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(53,215,224,.35);}
.prose a:hover{text-decoration-color:var(--cyan);}
.prose strong{color:var(--text); font-weight:600;}
.prose ul, .prose ol{padding-left:22px; display:flex; flex-direction:column; gap:8px;}
.prose ul{list-style:disc;}
.prose ol{list-style:decimal;}
.prose blockquote{
  border-left:2px solid var(--cyan); padding:4px 0 4px 22px; color:var(--text); font-style:italic; font-size:18px;
}
.prose img{border-radius:8px; border:1px solid var(--border);}
.prose code{font-family:var(--mono); font-size:.88em; background:var(--surface-2); padding:2px 7px; border-radius:4px; color:var(--cyan);}
.prose pre{background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:20px; overflow-x:auto; font-family:var(--mono); font-size:13.5px;}
.prose pre code{background:none; padding:0; color:var(--text-dim);}
.prose hr{border:none; border-top:1px solid var(--border);}

.post-tags{display:flex; gap:10px; flex-wrap:wrap; margin-top:48px; padding-top:32px; border-top:1px solid var(--border);}
.post-tags a{font-family:var(--mono); font-size:11.5px; color:var(--text-dim); border:1px solid var(--border-strong); padding:6px 12px; border-radius:20px; transition:all .2s ease;}
.post-tags a:hover{border-color:var(--cyan); color:var(--cyan);}

.post-nav-links{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:56px;}
.post-nav-links .nav-prev, .post-nav-links .nav-next{
  border:1px solid var(--border); border-radius:8px; padding:20px 22px; transition:border-color .2s ease;
}
.post-nav-links a:hover{border-color:var(--cyan);}
.post-nav-links .nav-next{text-align:right;}
.post-nav-links .dir{font-family:var(--mono); font-size:11px; color:var(--text-faint); letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; display:block;}
.post-nav-links .ttl{font-size:14.5px; color:var(--text); font-weight:600;}

/* ---------- COMMENTS / FORMS ---------- */
.comments-area{margin-top:56px; padding-top:40px; border-top:1px solid var(--border);}
.softous-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width:100%; background:var(--bg-1); border:1px solid var(--border-strong); border-radius:5px;
  padding:12px 14px; color:var(--text); font-family:var(--body); font-size:14.5px; margin-bottom:14px;
  transition:border-color .2s ease;
}
.softous-field:focus,
.comment-form input:focus,
.comment-form textarea:focus{outline:none; border-color:var(--cyan);}
.comment-form label{font-family:var(--mono); font-size:11.5px; color:var(--text-faint); letter-spacing:.05em; text-transform:uppercase; display:block; margin-bottom:6px;}
.comment-form p{margin:0 0 4px;}
.comment-notes, .logged-in-as{font-size:13.5px; color:var(--text-faint); margin-bottom:18px;}
.comment-form-cookies-consent{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-faint);}
.comment-reply-title{font-family:var(--display);}

/* ---------- GENERIC PAGE ---------- */
.page-content-wrap{max-width:760px; margin:0 auto; padding:70px 0 110px;}

/* ---------- FOOTER ---------- */
footer.site-footer{border-top:1px solid var(--border); padding:56px 0 32px; background:var(--bg-1);}
.foot-top{display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; margin-bottom:44px;}
.foot-brand{display:flex; align-items:center; gap:11px;}
.foot-brand img{height:26px;}
.foot-links{display:flex; gap:48px; flex-wrap:wrap;}
.foot-col h5{font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:16px;}
.foot-col ul{display:flex; flex-direction:column; gap:11px;}
.foot-col a{font-size:14px; color:var(--text-dim); transition:color .2s ease;}
.foot-col a:hover{color:var(--cyan);}
.foot-bottom{
  padding-top:26px; border-top:1px solid var(--border); display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:12px; font-family:var(--mono); font-size:12px; color:var(--text-faint);
}

/* ---------- REVEAL ---------- */
.reveal{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------- WP DEFAULTS ---------- */
.alignleft{float:left; margin:0 22px 16px 0;}
.alignright{float:right; margin:0 0 16px 22px;}
.aligncenter{display:block; margin:0 auto 16px;}
.screen-reader-text{position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .terminal{max-width:520px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .services-grid > .service-card[style*="span 2"]{grid-column:span 2;}
  .process-list{grid-template-columns:repeat(3,1fr); row-gap:40px;}
  .process-list::before{display:none;}
  .spotlight{grid-template-columns:1fr;}
  .spotlight.reverse .spotlight-media{order:0;}
  .contact-grid{grid-template-columns:1fr;}
  .post-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:680px){
  .wrap{padding:0 20px;}
  .nav-links{
    position:fixed; top:64px; left:0; right:0; bottom:0; background:var(--bg);
    flex-direction:column; padding:36px 28px; gap:26px; align-items:flex-start;
    transform:translateX(100%); transition:transform .3s ease; border-top:1px solid var(--border);
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{font-size:18px;}
  .menu-toggle{display:flex;}
  .nav-cta .btn-ghost{display:none;}
  .hero{padding:130px 0 70px;}
  .page-hero{padding:130px 0 50px;}
  .services-grid{grid-template-columns:1fr;}
  .services-grid > .service-card[style*="span 2"]{flex-direction:column !important; align-items:flex-start !important;}
  .process-list{grid-template-columns:1fr 1fr;}
  .foot-top{flex-direction:column;}
  .contact-panel{padding:34px 26px;}
  .post-grid{grid-template-columns:1fr;}
  .post-nav-links{grid-template-columns:1fr;}
  .post-nav-links .nav-next{text-align:left;}
}
