/* ==================================================================
   K. Romero IT — v2 "The Assessment Report"
   Concept: the site is typeset like the findings report Kevin sells.
   Palette derives from rack status LEDs: red / amber / green on
   green-black, over cool document paper. Type: IBM Plex system
   (Sans display / Serif body / Mono data) — engineered-for-enterprise
   credibility, coherent as a single family.
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --ink:      #141D1B;   /* green-black — server room, not pure black */
  --panel:    #1B2624;
  --panel-2:  #22302D;
  --paper:    #F1F2EC;
  --paper-2:  #E8EAE1;
  --white:    #FBFBF8;
  --line:     #D3D6CA;
  --line-dk:  #33403C;
  --muted:    #4E5A56;
  --muted-lt: #8CA09A;

  --led-red:   #B44A38;
  --led-amber: #B9902F;
  --led-green: #2E7D5B;
  --led-green-bright: #3FA97C;

  --sans:  'IBM Plex Sans', system-ui, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --mono:  'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --col: 720px;
  --col-wide: 1040px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--serif); font-size:1.05rem; line-height:1.68;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ font-family:var(--sans); line-height:1.1; letter-spacing:-0.015em; margin:0 0 .5em; }
h1{ font-weight:700; } h2{ font-weight:700; } h3{ font-weight:600; }
p{ margin:0 0 1.15em; }
a{ color:var(--led-green); text-underline-offset:3px; text-decoration-thickness:1.5px; }
a:hover{ color:var(--led-red); }
:focus-visible{ outline:2.5px solid var(--led-amber); outline-offset:3px; }

.wrap{ max-width:var(--col); margin:0 auto; padding:0 24px; }
.wrap-wide{ max-width:var(--col-wide); margin:0 auto; padding:0 24px; }

/* Report-style section labels: FINDING / SCOPE / RESULTS etc. */
.sec-label{
  display:flex; align-items:baseline; gap:14px;
  font-family:var(--mono); font-size:.76rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); margin-bottom:2em;
}
.sec-label::after{ content:""; flex:1; border-bottom:1px solid var(--line); transform:translateY(-4px); }
.sec-label b{ color:var(--led-red); font-weight:600; }

section{ padding:92px 0; }
section + section{ border-top:1px solid var(--line); }
@media (max-width:700px){ section{ padding:60px 0; } }

/* ---------------- Nav ---------------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(241,242,236,.93); backdrop-filter:blur(6px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.site-nav .wrap-wide{ display:flex; align-items:center; justify-content:space-between; height:62px; }
.brand{
  font-family:var(--mono); font-weight:600; font-size:.92rem; letter-spacing:.02em;
  color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:10px;
}
.brand .dot{ width:9px; height:9px; border-radius:50%; background:var(--led-green);
  box-shadow:0 0 6px rgba(63,169,124,.8); }
.brand:hover{ color:var(--led-green); }
.nav-links{ display:flex; gap:26px; align-items:center; list-style:none; margin:0; padding:0; }
.nav-links a{ font-family:var(--mono); font-size:.78rem; letter-spacing:.05em; text-transform:uppercase;
  color:var(--muted); text-decoration:none; }
.nav-links a:hover{ color:var(--ink); }
.nav-links .btn-small{ background:var(--ink); color:var(--paper); padding:9px 16px; border-radius:2px; }
.nav-links .btn-small:hover{ background:var(--led-green); color:var(--white); }
.nav-toggle{ display:none; }
@media (max-width:720px){
  .nav-links{ position:fixed; inset:62px 0 auto 0; background:var(--paper);
    border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start;
    padding:26px 24px 34px; gap:20px; opacity:0; pointer-events:none; transform:translateY(-6px);
    transition:opacity .18s, transform .18s; }
  .nav-links.open{ opacity:1; pointer-events:auto; transform:none; }
  .nav-toggle{ display:block; width:40px; height:40px; background:none;
    border:1px solid var(--line); border-radius:2px; color:var(--ink); font-size:1rem; }
}

/* ---------------- Hero ---------------- */
.hero{ padding:84px 0 96px; }
.hero .wrap-wide{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:64px; align-items:center;
}
@media (max-width:940px){ .hero .wrap-wide{ grid-template-columns:1fr; gap:52px; } }

.hero-copy .kicker{
  font-family:var(--mono); font-size:.76rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); margin-bottom:1.4em; display:block;
}
.hero-copy .kicker b{ color:var(--led-green); font-weight:600; }
.hero h1{ font-size:clamp(2.15rem, 4.4vw, 3.2rem); max-width:15ch; }
.hero .sub{ font-size:1.12rem; color:var(--muted); max-width:52ch; margin-top:1.1em; }
.cta-row{ margin-top:2em; display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.trust-line{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.04em; color:var(--muted);
  margin-top:2.4em; padding-top:1.4em; border-top:1px solid var(--line); max-width:56ch;
}

.btn{
  display:inline-block; font-family:var(--mono); font-size:.82rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase; text-decoration:none;
  padding:15px 26px; border-radius:2px; border:1.5px solid transparent;
  transition:background .15s, color .15s, border-color .15s;
}
.btn-primary{ background:var(--led-green); color:var(--white); }
.btn-primary:hover{ background:var(--ink); color:var(--paper); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--led-green); color:var(--led-green); }

/* --------- SIGNATURE: the status board --------- */
.board{
  background:var(--panel); border-radius:6px; overflow:hidden;
  border:1px solid var(--line-dk);
  box-shadow: 0 24px 60px -30px rgba(20,29,27,.55);
}
.board-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid var(--line-dk);
}
.board-title{ font-family:var(--mono); font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted-lt); }
.board-tabs{ display:flex; gap:6px; }
.board-tabs button{
  font-family:var(--mono); font-size:.7rem; letter-spacing:.07em; text-transform:uppercase;
  background:transparent; color:var(--muted-lt); border:1px solid var(--line-dk);
  border-radius:2px; padding:7px 12px; cursor:pointer; transition:all .15s;
}
.board-tabs button[aria-pressed="true"]{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.board-tabs button:hover{ color:var(--paper); }
.board-tabs button[aria-pressed="true"]:hover{ color:var(--ink); }

.board-rows{ padding:8px 0 10px; }
.row{
  display:grid; grid-template-columns: 20px 1fr auto; gap:14px; align-items:center;
  padding:12px 18px; font-family:var(--mono); font-size:.8rem;
}
.row + .row{ border-top:1px solid rgba(211,214,202,.07); }
.row .sys{ color:var(--muted-lt); letter-spacing:.03em; text-transform:uppercase; font-size:.72rem; }
.row .val{ text-align:right; letter-spacing:.02em; transition:color .35s; }

.led{ width:10px; height:10px; border-radius:50%; transition:background .35s, box-shadow .35s; }
.row[data-sev="red"]   .led{ background:var(--led-red);   box-shadow:0 0 8px rgba(180,74,56,.7); }
.row[data-sev="amber"] .led{ background:var(--led-amber); box-shadow:0 0 8px rgba(185,144,47,.7); }
.row[data-sev="red"]   .val{ color:#D98D7E; }
.row[data-sev="amber"] .val{ color:#D9B96A; }

.row .val .after{ display:none; }

.board[data-state="after"] .row .led{ background:var(--led-green-bright); box-shadow:0 0 9px rgba(63,169,124,.75); }
.board[data-state="after"] .row .val{ color:var(--led-green-bright); }
.board[data-state="after"] .row .val .before{ display:none; }
.board[data-state="after"] .row .val .after{ display:inline; }

.board-foot{
  font-family:var(--mono); font-size:.68rem; letter-spacing:.05em; color:var(--muted-lt);
  padding:12px 18px; border-top:1px solid var(--line-dk);
}
.board-foot .hint{ color:var(--led-amber); }
.board[data-state="after"] .board-foot .hint{ color:var(--led-green-bright); }

@media (max-width:420px){
  .row{ grid-template-columns:16px 1fr; }
  .row .val{ grid-column:2; text-align:left; margin-top:2px; }
}

/* ---------------- Findings (problem) ---------------- */
.finding{ margin-bottom:2.2em; padding-left:26px; border-left:3px solid var(--led-amber); }
.finding:last-of-type{ margin-bottom:0; }
.finding.crit{ border-left-color:var(--led-red); }
.finding.note{ border-left-color:var(--line); }
.finding .f-tag{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); display:block; margin-bottom:.6em;
}
.finding .f-tag b{ font-weight:600; }
.finding.crit .f-tag b{ color:var(--led-red); }
.finding .f-tag b{ color:var(--led-amber); }
.finding.note .f-tag b{ color:var(--muted); }
.finding p{ margin-bottom:0; }

/* ---------------- Transformation ---------------- */
.deliver-list{ list-style:none; margin:1.6em 0 0; padding:0; }
.deliver-list li{
  display:grid; grid-template-columns:22px 1fr; gap:14px; padding:13px 0;
  border-top:1px solid var(--line); align-items:baseline;
}
.deliver-list li::before{
  content:"✓"; font-family:var(--mono); font-weight:600; color:var(--led-green); font-size:.9rem;
}

/* ---------------- Why me ---------------- */
.who-row{ display:flex; align-items:center; gap:22px; margin-bottom:1.2em; }
.who-row h2{ margin:0; }
.portrait{ width:68px; height:68px; border-radius:4px; object-fit:cover; border:1.5px solid var(--line); flex-shrink:0; }
.portrait-fallback{
  display:none; width:68px; height:68px; border-radius:4px; flex-shrink:0;
  background:var(--paper-2); border:1.5px dashed var(--line);
  align-items:center; justify-content:center;
  font-family:var(--mono); font-size:.6rem; color:var(--muted); letter-spacing:.06em;
}
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:46px; margin-top:1.4em; }
@media (max-width:700px){ .two-col{ grid-template-columns:1fr; gap:34px; } }
.two-col h3{
  font-family:var(--mono); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--led-green); font-weight:600; margin-bottom:.8em;
}
.bridge{ margin-top:1.9em; font-weight:500; }
.tag-strip{
  font-family:var(--mono); font-size:.78rem; color:var(--muted); line-height:1.9;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:14px 0; margin-top:2.2em; letter-spacing:.02em;
}

/* ---------------- Scope (phases) ---------------- */
.phases{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); margin-top:2.4em; }
@media (max-width:860px){ .phases{ grid-template-columns:1fr 1fr; } }
@media (max-width:540px){ .phases{ grid-template-columns:1fr; } }
.ph{ background:var(--white); padding:26px 22px 28px; }
.ph .ph-num{
  font-family:var(--mono); font-size:.72rem; font-weight:600; letter-spacing:.08em;
  color:var(--led-green); display:block; margin-bottom:1.1em;
}
.ph h3{ font-size:1.08rem; margin-bottom:.15em; }
.ph .ph-time{ font-family:var(--mono); font-size:.7rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--muted); display:block; margin-bottom:.9em; }
.ph p{ font-size:.93rem; color:var(--muted); margin:0; line-height:1.6; }

/* ---------------- Results ---------------- */
.results{ background:var(--ink); color:var(--paper); }
.results .sec-label{ color:var(--muted-lt); }
.results .sec-label::after{ border-color:var(--line-dk); }
.results h2{ color:var(--white); }
.res-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line-dk);
  border:1px solid var(--line-dk); margin-top:2.2em; }
@media (max-width:640px){ .res-grid{ grid-template-columns:1fr; } }
.res{ background:var(--panel); padding:28px 26px; }
.res .num{ font-family:var(--mono); font-weight:600; font-size:2rem; color:var(--led-green-bright);
  display:block; letter-spacing:-.02em; }
.res .label{ font-family:var(--serif); font-size:.95rem; color:var(--muted-lt); margin-top:.5em; display:block; line-height:1.6; }
.results .read-more{ margin-top:2em; font-family:var(--serif); }
.results a{ color:var(--led-green-bright); }
.results a:hover{ color:var(--led-amber); }

/* ---------------- Fit ---------------- */
.fit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:1.6em; }
@media (max-width:700px){ .fit-grid{ grid-template-columns:1fr; gap:30px; } }
.fit-card h3{
  display:flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin-bottom:.8em;
}
.fit-card h3 .led{ width:9px; height:9px; }
.fit-card.good h3 .led{ background:var(--led-green); box-shadow:0 0 6px rgba(46,125,91,.6); }
.fit-card.not h3 .led{ background:var(--led-amber); box-shadow:0 0 6px rgba(185,144,47,.6); }
.addendum{ margin-top:2.1em; padding-top:1.6em; border-top:1px dashed var(--line); color:var(--muted); font-size:.98rem; }
.addendum strong{ color:var(--ink); }

/* ---------------- Final CTA ---------------- */
.final{ background:var(--paper-2); }
.final .wrap{ max-width:620px; }

/* ---------------- Footer ---------------- */
footer{ background:var(--ink); color:var(--muted-lt); padding:40px 0; }
footer .wrap-wide{ display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:space-between; }
.foot-brand{ font-family:var(--mono); font-size:.85rem; color:var(--paper); display:flex; align-items:center; gap:10px; }
.foot-brand .dot{ width:8px; height:8px; border-radius:50%; background:var(--led-green-bright); box-shadow:0 0 6px rgba(63,169,124,.8); }
.foot-links{ display:flex; gap:20px; flex-wrap:wrap; font-family:var(--mono); font-size:.76rem; }
footer a{ color:var(--muted-lt); } footer a:hover{ color:var(--led-green-bright); }

/* ---------------- Blog ---------------- */
.post-list{ list-style:none; margin:2em 0 0; padding:0; }
.post-list li{ border-top:1px solid var(--line); padding:24px 0; }
.post-list li:first-child{ border-top:none; padding-top:0; }
.p-date{ font-family:var(--mono); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.post-list h3{ margin:.35em 0 .25em; font-size:1.22rem; }
.post-list h3 a{ text-decoration:none; color:var(--ink); }
.post-list h3 a:hover{ color:var(--led-green); }
.post-list p{ margin:0; color:var(--muted); font-size:.97rem; }

.empty-state{
  margin-top:1.8em; padding:24px 26px; border:1px dashed var(--line); background:var(--white);
  font-family:var(--mono); font-size:.85rem; line-height:1.7; color:var(--muted);
}
.empty-state .led-inline{ display:inline-block; width:8px; height:8px; border-radius:50%;
  background:var(--led-amber); box-shadow:0 0 6px rgba(185,144,47,.7); margin-right:8px; }

.post-body{ max-width:var(--col); margin:0 auto; padding:64px 24px 100px; }
.post-body .p-eyebrow{ font-family:var(--mono); font-size:.76rem; color:var(--muted); margin-bottom:1.4em; }
.post-body h1{ font-size:clamp(1.7rem,3.4vw,2.25rem); }
.post-body h2{ margin-top:1.7em;
  font-family:var(--mono); font-size:1.02rem; letter-spacing:.02em; text-transform:uppercase; }
.post-body pre{
  background:var(--panel); color:#DCE3DC; padding:18px 20px; border-radius:4px;
  border:1px solid var(--line-dk);
  overflow-x:auto; font-family:var(--mono); font-size:.84rem; line-height:1.6;
}
.post-body code{ font-family:var(--mono); font-size:.92em; }
.post-body p code{ background:var(--paper-2); padding:.12em .38em; border-radius:2px; }
.takeaways{ background:var(--white); border:1px solid var(--line); border-left:3px solid var(--led-green);
  padding:22px 26px; margin-top:2.2em; }
.takeaways h3{ font-family:var(--mono); font-size:.8rem; letter-spacing:.07em; text-transform:uppercase; }
.takeaways ul{ margin:.6em 0 0; padding-left:1.2em; }
.takeaways li{ margin-bottom:.5em; }
