/*
Theme Name: SigmaMozak Redesign
Theme URI: https://sigmamozak.com/
Author: Vipin Vasudev
Description: Lightweight WordPress theme implementing the approved SigmaMozak redesign mockups.
Version: 2.0.0
Requires at least: 5.7
Requires PHP: 7.4
Text Domain: sigmamozak
*/
:root{--maroon:#7E1518;--red:#B62A2F;--teal:#123A46;--teal2:#1F5965;--aqua:#DDEEEF;--paper:#F6F8F8;--ink:#182126;--muted:#5E6A70;--line:#D9E1E3;--white:#fff;--sand:#F5EFE9;--shadow:0 18px 55px rgba(20,40,45,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:white;line-height:1.55}.container{width:min(1180px,calc(100% - 96px));margin:0 auto}.eyebrow{font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:var(--maroon);margin:0 0 16px}.section{padding:88px 0}.section.alt{background:var(--paper)}h1,h2,h3,h4,p{margin-top:0}h1{font-size:64px;line-height:1.04;letter-spacing:-.045em;margin-bottom:24px}h2{font-size:42px;line-height:1.12;letter-spacing:-.03em;margin-bottom:18px}h3{font-size:23px;line-height:1.25;margin-bottom:12px}p{font-size:17px;color:var(--muted)}.lead{font-size:20px;line-height:1.55;color:#334247;max-width:820px}.small{font-size:14px}.header{height:92px;display:flex;align-items:center;background:#fff;border-bottom:1px solid rgba(20,40,45,.08)}.nav{display:flex;align-items:center;justify-content:space-between}.brand img{height:62px;width:auto;display:block}.navlinks{display:flex;align-items:center;gap:31px;font-size:14px;font-weight:700}.navlinks a{text-decoration:none;color:#26353a}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:8px;background:var(--maroon);color:#fff!important;text-decoration:none;font-size:14px;font-weight:800;border:1px solid var(--maroon);transition:background-color .2s,color .2s,border-color .2s}.btn:hover{background:#691114;border-color:#691114}.btn.secondary{background:#fff;color:var(--teal)!important;border-color:#fff}.btn.secondary:hover{background:#E6ECED}.btn.outline{background:transparent;color:var(--maroon)!important}.btn.outline:hover{background:var(--maroon);color:#fff!important}.hero{position:relative;min-height:620px;display:flex;align-items:center;background:var(--teal);overflow:hidden}.hero .bg{position:absolute;inset:0;background-size:cover;background-position:center}.hero-art{position:absolute;right:0;top:0;width:54%;height:100%;object-fit:cover;opacity:.64}.hero .shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,35,43,.98) 0%,rgba(10,35,43,.92) 42%,rgba(10,35,43,.30) 75%,rgba(10,35,43,.15) 100%)}.hero .content{position:relative;z-index:2;padding:80px 0;color:white}.hero h1{color:white}.hero p{font-size:20px;color:rgba(255,255,255,.82);max-width:720px}.hero .eyebrow{color:#EAB6B8}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.badge{padding:8px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;font-size:13px;background:rgba(255,255,255,.06)}.trust{padding:34px 0;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;align-items:center}.trust-card{height:74px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;padding:10px;background:white}.trust-card img{max-width:100%;max-height:48px;object-fit:contain}.trust-card.text{font-weight:800;color:#164C8A;font-size:22px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 7px 24px rgba(17,43,51,.05)}.card.soft{background:var(--paper);box-shadow:none}.card.dark{background:var(--teal);color:#fff;border-color:var(--teal)}.card.dark p{color:rgba(255,255,255,.75)}.icon{width:48px;height:48px;border-radius:12px;background:var(--aqua);color:var(--maroon);display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:18px;font-size:18px}.image-card{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);min-height:430px}.image-card img{width:100%;height:100%;object-fit:cover;display:block}.feature-band{background:var(--teal);color:white;padding:78px 0}.feature-band h2{color:white}.feature-band p{color:rgba(255,255,255,.75)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18);border-radius:16px;overflow:hidden;margin-top:34px}.stat{padding:24px;background:rgba(255,255,255,.06)}.stat strong{display:block;font-size:34px;color:#fff}.stat span{font-size:13px;color:rgba(255,255,255,.72)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}.section-head>div{flex:1 1 60%;min-width:0}.section-head>p{flex:0 1 38%;max-width:460px;min-width:0}.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{padding:9px 13px;border-radius:999px;background:var(--aqua);font-size:13px;font-weight:700;color:var(--teal)}.profile{display:grid;grid-template-columns:210px 1fr;gap:28px;align-items:start}.profile img{width:210px;height:245px;object-fit:cover;border-radius:16px}.role{font-size:14px;font-weight:800;color:var(--maroon);text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}.advisor{text-align:center}.advisor img{width:132px;height:132px;border-radius:50%;object-fit:cover;margin-bottom:18px}.logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.logo-tile{height:170px;border:1px solid var(--line);border-radius:18px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;box-shadow:0 7px 22px rgba(20,40,45,.05)}.logo-tile strong{font-size:20px;color:var(--teal)}.logo-tile span{font-size:13px;color:var(--muted);margin-top:6px}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.step{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}.step .n{width:34px;height:34px;border-radius:50%;background:var(--maroon);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:14px}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}.tab{padding:10px 14px;border:1px solid var(--line);border-radius:999px;font-weight:700;font-size:13px}.tab.active{background:var(--maroon);color:#fff;border-color:var(--maroon)}.news-card{overflow:hidden;padding:0}.news-card .thumb{height:190px;background:linear-gradient(135deg,var(--teal),var(--teal2));position:relative;display:flex;align-items:center;justify-content:center;color:white;font-size:44px;font-weight:900}.news-card .body{padding:24px}.meta{font-size:12px;text-transform:uppercase;letter-spacing:.10em;color:var(--maroon);font-weight:800;margin-bottom:10px}.quote{font-size:27px;line-height:1.35;color:var(--teal);font-weight:700;border-left:4px solid var(--maroon);padding-left:22px}.cta{background:linear-gradient(135deg,var(--maroon),#9A2327);color:white;border-radius:24px;padding:58px 64px;display:flex;align-items:center;justify-content:space-between;gap:40px}.cta h2{color:white;margin-bottom:8px}.cta p{color:rgba(255,255,255,.78);margin:0}.footer{background:#0E2831;color:white;padding:62px 0 30px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr 1.2fr;gap:34px}.footer p,.footer a{color:rgba(255,255,255,.68);font-size:14px;text-decoration:none}.footer a:hover{color:#EAB6B8}.footer h4{font-size:14px;text-transform:uppercase;letter-spacing:.12em}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:22px;font-size:13px;color:rgba(255,255,255,.55)}.product-lockup{background:white;border-radius:20px;padding:18px 22px;display:inline-flex;width:310px;max-width:100%;justify-content:center;box-shadow:var(--shadow);margin-bottom:28px}.product-lockup img{height:48px;width:auto;max-width:100%;object-fit:contain}.architecture{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}.engine{background:var(--teal);color:white;border-radius:20px;padding:34px}.engine h3{font-size:30px}.engine p{color:rgba(255,255,255,.75)}.modules{display:grid;gap:14px}.module{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff}.metric-list{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.metric{padding:22px 15px;border-radius:14px;text-align:center;background:var(--paper);font-weight:800;color:var(--teal)}.evidence-feature{display:grid;grid-template-columns:1.05fr .95fr;gap:28px}.evidence-panel{background:var(--teal);border-radius:20px;padding:40px;color:white}.evidence-panel p{color:rgba(255,255,255,.75)}.evidence-list{display:grid;gap:14px}.evidence-item{border:1px solid var(--line);border-radius:14px;padding:20px;background:white}.note{font-size:13px;background:#FFF7F2;border-left:4px solid var(--maroon);padding:15px 18px;color:#664B47}.style-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.swatch{border-radius:14px;overflow:hidden;border:1px solid var(--line)}.swatch .color{height:86px}.swatch .label{padding:12px;font-size:13px}.component-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
@media(max-width:900px){.container{width:min(100% - 36px,1180px)}.navlinks{display:none}.hero .content{width:100%}.hero .shade{background:rgba(10,35,43,.88)}h1{font-size:46px}.grid-2,.grid-3,.grid-4,.logo-grid,.architecture,.evidence-feature,.footer-grid{grid-template-columns:1fr}.trust-grid{grid-template-columns:repeat(2,1fr)}.profile{grid-template-columns:1fr}.profile img{width:100%;height:320px}.timeline,.metric-list,.stats{grid-template-columns:1fr 1fr}.section{padding:62px 0}.section-head{flex-direction:column;align-items:stretch;gap:16px}.section-head>div,.section-head>p{flex:1 1 auto;max-width:none}.cta{flex-direction:column;align-items:flex-start;padding:36px 28px;gap:24px}}
@media(max-width:600px){.hero{min-height:440px!important}.timeline,.metric-list,.stats,.trust-grid{grid-template-columns:1fr}}

/* WordPress integration */
html { margin-top: 0 !important; }
body.admin-bar .header { top: 32px; }
.header { position: relative; z-index: 1000; }
.navlinks { list-style: none; margin: 0; padding: 0; }
ul.navlinks { display: flex; align-items: center; gap: 31px; }
.navlinks li { list-style: none; margin: 0; position: relative; }
.navlinks li a { display: inline-flex; align-items: center; }
.navlinks li.current-menu-item > a,
.navlinks li.current_page_item > a { color: var(--maroon); }
.navlinks > li:last-child > a { padding: 14px 22px; border-radius: 8px; background: var(--maroon); color: #fff !important; border: 1px solid var(--maroon); }
.navlinks .sub-menu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; margin: 0; display: none; }
.navlinks li:hover > .sub-menu, .navlinks li:focus-within > .sub-menu { display: block; }
.navlinks .sub-menu li a { display: block; padding: 10px 12px; color: #26353a !important; border-radius: 8px; background: transparent !important; border: 0 !important; }
.navlinks .sub-menu li a:hover { background: var(--paper) !important; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--teal); font-weight: 800; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 14px; }
.wp-content { padding: 70px 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: none; }
.pagination .page-numbers:hover { border-color: var(--maroon); color: var(--maroon); }
.pagination .page-numbers.current { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; }
.wp-content img { max-width: 100%; height: auto; }
.wp-content a { color: var(--maroon); }
.wp-content a:hover { color: #691114; }
.news-card h2 a, .news-card h3 a, .logo-tile { color: inherit; text-decoration: none; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--maroon); }
.trust-card a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.trust-card a:hover { opacity: .7; }
a.logo-tile { transition: box-shadow .2s, transform .2s; }
a.logo-tile:hover { box-shadow: 0 14px 30px rgba(20,40,45,.10); transform: translateY(-2px); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 0; background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 14px 34px rgba(17,43,51,.10); transform: translateY(-2px); }
.post-card .post-thumb { height: 190px; background: linear-gradient(135deg, var(--teal), var(--teal2)); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-thumb.placeholder { display: flex; align-items: center; justify-content: center; }
.post-card .post-thumb.placeholder img { width: auto; height: 44px; object-fit: contain; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card .body h2 { font-size: 19px; line-height: 1.35; letter-spacing: normal; font-weight: 800; margin-bottom: 10px; }
.post-card .body h2 a { color: var(--ink); text-decoration: none; }
.post-card .body h2 a:hover { color: var(--maroon); }
.post-card .body .meta { margin-bottom: 10px; }
.post-card .body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .read-more { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 800; color: var(--maroon); text-decoration: none; }
.post-card .read-more:hover { text-decoration: underline; }
.intel-wordmark { font-weight: 800; letter-spacing: -.04em; color: #0068b5; font-size: 22px; }
.featured-story { padding: 0; overflow: hidden; margin-bottom: 30px; }
.featured-story-grid { gap: 0; }
.featured-story-media { min-height: 390px; background: linear-gradient(135deg, #123A46, #1F5965); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 72px; font-weight: 900; overflow: hidden; }
.featured-story-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-story-body { padding: 44px; }
@media(max-width:600px){ .featured-story-body { padding: 28px; } .featured-story-media { min-height: 220px; font-size: 48px; } }
@media(max-width:1100px){ .post-grid { grid-template-columns: repeat(2, 1fr); } }

/* Single post */
.post-header { padding: 64px 0 36px; }
.post-header h1 { max-width: 900px; }
.post-header .meta { color: var(--muted); font-size: 14px; }
.post-header .eyebrow a { color: inherit; text-decoration: none; }
.post-header .eyebrow a:hover { text-decoration: underline; }
.evidence-meta-row { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.evidence-meta-item { display: flex; flex-direction: column; gap: 4px; }
.evidence-meta-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: .10em; color: var(--maroon); font-weight: 800; }
.evidence-meta-item span:last-child { font-size: 15px; color: var(--ink); }
.post-featured-image { margin-bottom: 48px; }
.post-featured-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); display: block; }
.post-layout { display: grid; grid-template-columns: 1fr; gap: 56px; padding-bottom: 80px; }
.post-layout.has-sidebar { grid-template-columns: 2fr 1fr; align-items: start; }
.post-layout.no-sidebar .post-content { max-width: 760px; margin: 0 auto; }
.post-content h2 { font-size: 32px; }
.post-content h3 { font-size: 22px; }
.post-content p { font-size: 17px; line-height: 1.7; }
.post-content img { max-width: 100%; height: auto; border-radius: 14px; }
.post-content a { color: var(--maroon); }
.post-content a:hover { color: #691114; }
.post-sidebar { display: flex; flex-direction: column; gap: 28px; }
.post-sidebar .widget { background: var(--paper); border-radius: 16px; padding: 24px; }
.post-sidebar .widget-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--maroon); font-weight: 800; margin-bottom: 14px; }
.post-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.post-sidebar .widget li { margin-bottom: 10px; }
.post-sidebar .widget a { color: var(--teal); text-decoration: none; font-size: 14px; }
.post-sidebar .widget a:hover { text-decoration: underline; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-panel, .contact-form-card { border-radius: 24px; padding: 44px; }
.contact-panel h2, .contact-form-card h2 { margin-bottom: 10px; }
.contact-panel { background: linear-gradient(160deg, var(--teal), #0E2831); color: #fff; }
.contact-panel .lead { color: rgba(255,255,255,.72); }
.contact-detail-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-detail-row { display: flex; align-items: center; gap: 16px; }
.contact-panel .icon { flex-shrink: 0; background: rgba(255,255,255,.12); color: #fff; margin-bottom: 0; font-size: 13px; letter-spacing: -.02em; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-label { font-size: 12px; text-transform: uppercase; letter-spacing: .10em; color: #EAB6B8; font-weight: 800; }
.contact-detail a, .contact-detail span { font-size: 16px; color: #fff; }
.contact-detail a { text-decoration: none; }
.contact-detail a:hover { color: #EAB6B8; }
.contact-socials { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.contact-socials a { padding: 9px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.contact-socials a:hover { border-color: #fff; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--maroon); box-shadow: 0 18px 44px rgba(17,43,51,.08); }
.contact-form-card > .icon { margin-bottom: 18px; }

/* Contact Form 7 reskin */
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=url],
.wpcf7-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper); }
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.wpcf7-form input.wpcf7-not-valid, .wpcf7-form textarea.wpcf7-not-valid { border-color: var(--red); }
.wpcf7-not-valid-tip { color: var(--red); font-size: 13px; margin-top: 4px; }
.wpcf7-form .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 8px; background: var(--maroon); color: #fff; border: 1px solid var(--maroon); font-size: 14px; font-weight: 800; cursor: pointer; }
.wpcf7-form .wpcf7-submit:hover { background: #691114; }
.wpcf7-form .wpcf7-spinner { margin-left: 10px; }
.wpcf7-response-output { margin-top: 20px; padding: 14px 18px; border-radius: 10px; font-size: 14px; }
.wpcf7-mail-sent-ok { background: #E9F6EC; border: 1px solid #B8E0C2; color: #1E5C2E; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { background: #FFF0EF; border: 1px solid #F3C4C1; color: #8A2A26; }

@media(max-width:900px){
  body.admin-bar .header { top: 46px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  ul.navlinks { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.nav-open ul.navlinks { display: flex; }
  .navlinks li a { display: block; padding: 10px 12px; }
  .navlinks > li:last-child > a { text-align: center; }
  .navlinks .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-layout.has-sidebar { grid-template-columns: 1fr; }
  .post-layout.no-sidebar .post-content { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel, .contact-form-card { padding: 28px; }
}
