/* ============ WN Mackenjas LLC — shared site styles ============ */
:root{
  color-scheme: dark;
  --page:        #0a0c12;
  --page-2:      #070810;
  --surface-1:   #131722;
  --surface-2:   #181c28;
  --text-primary:#ffffff;
  --text-secondary:#c3c6d4;
  --text-muted:  #7d8296;
  --border:      rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);

  --accent:      #3987e5;   /* categorical slot 1 - blue */
  --accent-soft: rgba(57,135,229,0.14);
  --violet:      #9085e9;   /* slot 7 */
  --aqua:        #199e70;   /* slot 3 */
  --orange:      #d95926;   /* slot 2 */
  --magenta:     #d55181;   /* slot 5 */
  --yellow:      #c98500;   /* slot 4 */
  --red:         #e66767;   /* slot 8 */

  --good:        #0ca30c;
  --critical:    #d03b3b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --maxw: 1180px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ---------- Accessibility: focus & skip link ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid #7fb2ff; outline-offset:3px; border-radius:4px;
}
.skip-link{
  position:absolute; left:16px; top:-60px; z-index:100;
  background:#fff; color:#0a0c12; padding:10px 16px; border-radius:8px;
  font-size:13px; font-weight:700; text-decoration:none;
  transition:top .15s ease;
}
.skip-link:focus{ top:16px; }
body{
  margin:0;
  background:var(--page);
  color:var(--text-primary);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

h1,h2,h3,h4{ margin:0; font-weight:650; letter-spacing:-0.01em; }
p{ margin:0; }

.serif{ font-family:"Cormorant Garamond","Playfair Display",Georgia,"Times New Roman",serif; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase;
  color:var(--accent);
}
.eyebrow::before{ content:""; width:16px; height:2px; background:var(--accent); border-radius:2px; }

.section{ padding:96px 0; border-top:1px solid var(--border); }
.section.tint{ background:var(--surface-1); }
.section-head{ max-width:720px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-top:14px; }
.section-head .lead{ margin-top:16px; color:var(--text-secondary); font-size:17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .lead{ margin-left:auto; margin-right:auto; }

/* ---------- NAV ---------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(10,12,18,0.82);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1400px; margin:0 auto; padding:0 20px;
  min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:14px; letter-spacing:0.02em; text-decoration:none; flex:0 0 auto; white-space:nowrap; }
.brand-mark{ width:37px; height:37px; object-fit:contain; flex:0 0 auto; }
.brand small{ display:block; font-weight:500; font-size:10px; color:var(--text-muted); letter-spacing:0.05em; }

nav.links{ display:flex; align-items:center; gap:13px; flex-wrap:nowrap; }
nav.links a{
  font-size:12px; color:var(--text-secondary); text-decoration:none; font-weight:550;
  white-space:nowrap;
  transition:color .15s ease;
}
nav.links a[href="clients.html"]{ color:var(--text-primary); font-weight:700; }
nav.links a:hover{ color:var(--text-primary); }
nav.links a.current{ color:var(--text-primary); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px; border-radius:999px; font-size:13.5px; font-weight:650;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ transform:translateY(-1px); background:#4a94ea; }
.btn-ghost{ border-color:var(--border-strong); color:var(--text-primary); }
.btn-ghost:hover{ border-color:var(--accent); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.menu-toggle{ display:none; background:none; border:1px solid var(--border-strong); border-radius:8px; padding:8px 10px; color:#fff; }

/* ---------- CARDS GRID ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }

.card{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px; }
.card .icon{
  width:40px; height:40px; border-radius:10px; background:var(--accent-soft);
  color:var(--accent); display:flex; align-items:center; justify-content:center;
  font-size:18px; margin-bottom:16px;
}
.card h3{ font-size:16.5px; margin-bottom:8px; }
.card p{ font-size:14.5px; color:var(--text-secondary); }

.transition-band{
  margin-top:40px; padding:28px 32px; border-radius:var(--radius-md);
  background:linear-gradient(135deg, rgba(57,135,229,0.12), rgba(144,133,233,0.08));
  border:1px solid var(--border-strong);
  font-size:18px; font-weight:600; text-align:center;
}

/* ---------- SERVICES ---------- */
.service{
  background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:30px; display:flex; flex-direction:column; gap:14px;
}
.service .tag{
  width:fit-content; font-size:11.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-soft); padding:5px 10px; border-radius:6px;
}
.service h3{ font-size:19px; }
.service p.lead-line{ color:var(--text-secondary); font-size:14.5px; }
.service ul{ margin:4px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; }
.service li{ font-size:14px; color:var(--text-secondary); padding-left:18px; position:relative; }
.service li::before{ content:""; position:absolute; left:0; top:8px; width:7px; height:7px; border-radius:2px; background:var(--accent); }
.service .note{ margin-top:6px; font-size:13px; color:var(--text-muted); border-top:1px solid var(--border); padding-top:12px; }

/* ---------- TRANSFORMATION ---------- */
.transform-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.transform-col{ border-radius:var(--radius-lg); padding:28px; border:1px solid var(--border); }
.transform-col.before{ background:rgba(208,59,59,0.07); }
.transform-col.after{ background:rgba(12,163,12,0.07); }
.transform-col h4{ font-size:12.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:18px; display:flex; align-items:center; gap:8px; }
.transform-col.before h4{ color:var(--red); }
.transform-col.after h4{ color:var(--good); }
.transform-row{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; padding:10px 0; border-top:1px solid var(--border); }
.transform-row:first-of-type{ border-top:none; }
.transform-row .mark{ flex:0 0 auto; font-size:13px; margin-top:2px; }
.transform-col.before .mark{ color:var(--critical); }
.transform-col.after .mark{ color:var(--good); }
.transform-row span.txt{ color:var(--text-secondary); }

.narrative{ margin-top:56px; max-width:820px; margin-left:auto; margin-right:auto; text-align:center; }
.narrative p{ color:var(--text-secondary); font-size:15.5px; margin-bottom:16px; }
.pullquote{
  margin-top:24px; padding:24px 28px;
  background:var(--surface-1); border-radius:var(--radius-md);
  font-size:19px; font-weight:600; color:var(--text-primary);
}

/* ---------- THREATS ---------- */
.threat-card{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px; position:relative; }
.threat-card .idx{ position:absolute; top:20px; right:22px; font-size:12px; color:var(--text-muted); font-weight:700; }
.threat-card h3{ font-size:16.5px; margin-bottom:10px; max-width:80%; }
.threat-card p{ font-size:14.5px; color:var(--text-secondary); }
.threat-card .attck{ display:inline-block; margin-top:14px; padding:5px 11px; border-radius:999px; background:var(--accent-soft); border:1px solid var(--border-strong); font-size:11.5px; font-weight:650; letter-spacing:0.03em; color:var(--accent); font-family:ui-monospace, "SF Mono", Menlo, monospace; }

/* ---------- METRICS ---------- */
.outcome-group{ margin-bottom:36px; }
.outcome-group:last-of-type{ margin-bottom:0; }
.outcome-group-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.outcome-group-head h3{ font-size:15px; font-weight:650; color:var(--text-primary); letter-spacing:0.01em; white-space:nowrap; }
.outcome-group-head p{ font-size:14.5px; color:var(--text-muted); margin:0; }
.outcome-group-head::after{ content:""; flex:1 1 auto; height:1px; background:var(--border); min-width:24px; }
.stat-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.stat-row-3{ grid-template-columns:repeat(3,1fr); }
.stat-row-2{ grid-template-columns:repeat(2,1fr); }
.stat-tile{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-md); padding:24px 20px; display:flex; flex-direction:column; gap:10px; }
.stat-tile .value{ font-size:30px; font-weight:700; color:var(--text-muted); letter-spacing:0.02em; }
.stat-tile .value.good{ color:var(--good); }
.stat-tile .value.accent{ color:var(--accent); }
.stat-tile .label{ font-size:15px; font-weight:650; color:var(--text-primary); }
.stat-tile .desc{ font-size:13.5px; color:var(--text-secondary); }
.metrics-note{ margin-top:22px; font-size:14.5px; color:var(--text-muted); display:flex; align-items:center; gap:8px; }
.metrics-note .dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); flex:0 0 auto; }

/* ---------- STACK ---------- */
.stack-col{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-md); padding:24px; }
.stack-col h4{ font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--accent); margin-bottom:16px; }
.stack-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.stack-col li{ font-size:14.5px; padding-left:16px; position:relative; }
.stack-col li::before{ content:"›"; position:absolute; left:0; color:var(--text-muted); }

/* ---------- METHODOLOGY ---------- */
.method-intro{ display:grid; grid-template-columns:1fr 580px; gap:32px; align-items:center; margin-bottom:52px; }
.method-diagram{ width:100%; max-width:580px; justify-self:end; margin-right:-60px; margin-top:40px; }
@media (max-width:900px){
  .method-intro{ grid-template-columns:1fr; }
  .method-diagram{ justify-self:center; max-width:380px; margin-top:8px; margin-right:0; }
}

.method-list{ display:flex; flex-direction:column; }
.method-row{ display:grid; grid-template-columns:64px 1fr; gap:22px; padding:26px 0; border-top:1px solid var(--border); }
.method-row:first-child{ border-top:none; }
.method-num{ font-size:26px; font-weight:750; color:var(--accent); }
.method-row h3{ font-size:17px; margin-bottom:6px; }
.method-row p{ font-size:14.5px; color:var(--text-secondary); max-width:640px; }

/* ---------- EXECUTIVE ---------- */
.exec-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.exec-copy .lead{ color:var(--text-secondary); font-size:15.5px; margin-top:16px; }
.closing{ padding:18px 20px; border-radius:var(--radius-md); background:var(--accent-soft); border:1px solid var(--border-strong); font-weight:600; font-size:15px; text-align:center; }
.exec-copy .closing{ margin-top:26px; }
.wrap > .closing{ max-width:640px; margin:40px auto 0; }
.wrap > .closing.wide{ max-width:820px; font-size:17px; padding:22px 28px; }

.dash-mock{ background:var(--surface-1); border:1px solid var(--border-strong); border-radius:var(--radius-lg); padding:20px; box-shadow:0 30px 60px -30px rgba(0,0,0,0.6); }
.dash-mock .dash-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.dash-mock .dash-title{ font-size:13px; font-weight:700; color:var(--text-secondary); }
.dash-mock .dash-flag{ font-size:12.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-muted); border:1px solid var(--border); padding:4px 8px; border-radius:6px; }
.dash-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.dash-tile{ background:var(--surface-2); border:1px solid var(--border); border-radius:10px; padding:14px 12px; }
.dash-tile .k{ font-size:12.5px; color:var(--text-muted); margin-bottom:8px; }
.dash-tile .v{ font-size:19px; font-weight:700; }
.flag-pill{ display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-muted); border:1px solid var(--border); padding:4px 10px; border-radius:6px; margin-top:10px; }
.dash-tile .v.good{ color:var(--good); }
.dash-tile .v.warn{ color:var(--orange); }
.dash-tile .v.accent{ color:var(--accent); }
.dash-tile .bar{ margin-top:10px; height:5px; border-radius:4px; background:var(--surface-1); overflow:hidden; }
.dash-tile .bar i{ display:block; height:100%; border-radius:4px; }

/* ---------- HUB CARDS (home page) ---------- */
.hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hub-card{
  display:flex; flex-direction:column; gap:14px; padding:28px;
  background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-lg);
  text-decoration:none; color:var(--text-primary);
  transition:border-color .18s ease, transform .18s ease, background .18s ease;
}
.hub-card:hover{ border-color:var(--card-accent, var(--accent)); transform:translateY(-3px); background:var(--surface-2); }
.hub-card .hub-icon{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:19px; background:color-mix(in srgb, var(--card-accent, var(--accent)) 16%, transparent);
  color:var(--card-accent, var(--accent));
}
.hub-card h3{ font-size:18px; }
.hub-card p{ font-size:14px; color:var(--text-secondary); flex:1; }
.hub-card .go{ font-size:13px; font-weight:700; color:var(--card-accent, var(--accent)); display:flex; align-items:center; gap:6px; }

/* ---------- FOOTER / CONTACT ---------- */
footer{ padding:90px 0 50px; }
.contact-box{
  background:linear-gradient(135deg, rgba(57,135,229,0.14), rgba(144,133,233,0.08));
  border:1px solid var(--border-strong); border-radius:var(--radius-lg);
  padding:56px; text-align:center;
}
.contact-box h2{ font-size:clamp(26px,3.4vw,36px); }
.contact-box p{ margin-top:14px; color:var(--text-secondary); font-size:15.5px; max-width:520px; margin-left:auto; margin-right:auto; }
.contact-actions{ margin-top:28px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.logo-chip{ display:inline-flex; margin:0 auto 24px; padding:16px 26px; border-radius:var(--radius-md); background:#fcfcfb; border:1px solid var(--border); }
.logo-chip img{ height:64px; width:auto; display:block; }

.foot-bottom{
  margin-top:56px; padding-top:28px; border-top:1px solid var(--border);
  display:flex; flex-direction:column; align-items:center; gap:20px;
  font-size:13px; color:var(--text-muted); text-align:center;
}
.foot-links{ display:flex; gap:10px 28px; flex-wrap:wrap; justify-content:center; }
.foot-links a{ color:var(--text-secondary); text-decoration:none; font-weight:550; font-size:13.5px; }
.foot-links a:hover{ color:var(--text-primary); }
.foot-copy{ color:var(--text-muted); }
@media (max-width:640px){
  .foot-links{ gap:10px 18px; }
}

/* ---------- GOVERNMENT / CAPABILITY PAGE ---------- */
.gov-table{
  background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden;
}
.gov-row{
  display:grid; grid-template-columns:260px 1fr; gap:20px;
  padding:18px 24px; border-top:1px solid var(--border);
}
.gov-row:first-child{ border-top:none; }
.gov-row dt{ font-size:12.5px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color:var(--text-muted); margin:0; }
.gov-row dd{ font-size:15px; margin:0; color:var(--text-primary); }
.gov-row dd .fill{ color:var(--orange); font-style:italic; }
.gov-note{ margin-top:16px; font-size:13px; color:var(--text-muted); display:flex; gap:8px; align-items:flex-start; }
.gov-note .dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); flex:0 0 auto; margin-top:6px; }

.placeholder-card{
  border:1.5px dashed var(--border-strong); border-radius:var(--radius-md);
  padding:24px; background:rgba(255,255,255,0.02);
}
.placeholder-card .fill-label{
  font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--orange);
  margin-bottom:10px; display:block;
}
.placeholder-card p{ font-size:14.5px; color:var(--text-secondary); font-style:italic; }

.chip-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.chip{
  padding:9px 16px; border-radius:999px; border:1px dashed var(--border-strong);
  font-size:13px; color:var(--text-muted); font-style:italic;
}
.chip-solid{
  padding:9px 16px; border-radius:999px; border:1px solid var(--border-strong);
  background:var(--surface-1); font-size:13px; font-weight:650; color:var(--text-primary); font-style:normal;
}

/* ---------- CONTACT FORM (contact page) ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:640px; margin:0 auto; }
.form-grid .full{ grid-column:1/-1; }
.form-field label{ display:block; font-size:13px; font-weight:650; margin-bottom:8px; color:var(--text-secondary); }
.form-field input, .form-field textarea, .form-field select{
  width:100%; background:var(--surface-1); border:1px solid var(--border-strong); border-radius:var(--radius-sm);
  padding:12px 14px; color:var(--text-primary); font-size:14.5px; font-family:inherit;
}
.form-field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238a8fa3' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; cursor:pointer; }
.form-field textarea{ resize:vertical; min-height:110px; }
.phone-row{ display:grid; grid-template-columns:1fr 140px 110px; gap:10px; }
@media (max-width:600px){ .phone-row{ grid-template-columns:1fr; } }
.form-note{ margin:18px auto 0; max-width:640px; font-size:13px; color:var(--text-muted); text-align:center; }
.form-status{ margin:18px auto 0; max-width:640px; font-size:14px; text-align:center; min-height:0; }
.form-status:empty{ margin:0; }
.form-status.success{ color:var(--good); font-weight:600; }
.form-status.error{ color:var(--critical); }
.form-status.error a{ text-decoration:underline; }

[data-reveal]{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
[data-reveal].in{ opacity:1; transform:none; }

@media (max-width:1240px){
  nav.links{ display:none; }
  .menu-toggle{ display:inline-flex; }
}
@media (max-width:980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3, .hub-grid{ grid-template-columns:repeat(2,1fr); }
  .stat-row, .stat-row-3, .stat-row-2{ grid-template-columns:repeat(2,1fr); }
  .transform-grid{ grid-template-columns:1fr; }
  .exec-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .grid-4, .grid-3, .grid-2, .stat-row, .stat-row-3, .stat-row-2, .hub-grid{ grid-template-columns:1fr; }
  .method-row{ grid-template-columns:1fr; }
  .dash-grid{ grid-template-columns:repeat(2,1fr); }
  .section{ padding:64px 0; }
  .contact-box{ padding:34px 22px; }
  .brand small{ display:none; }
  .brand span{ font-size:13px; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn-primary{ padding:9px 14px; font-size:12.5px; }
}

/* ============ Content-copy deterrent ============ */
/* Casual copy-protection only — not real DRM. View-source, reader mode, and
   disabling JS all bypass this. Form fields and contact info stay selectable
   on purpose so visitors can still fill the form or copy how to reach us. */
body{
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;
  -webkit-touch-callout:none; /* iOS Safari: suppresses the long-press Copy/Look Up/Share bubble */
}
input, textarea, select,
.allow-select, .allow-select *,
a[href^="mailto:"], a[href^="tel:"]{
  -webkit-user-select:text; -moz-user-select:text; -ms-user-select:text; user-select:text;
  -webkit-touch-callout:default;
}
