/*
Theme Name: CloudCrunch
Theme URI: https://cloudcrunchenterprise.com/
Author: CloudCrunch
Description: Process-first design for CloudCrunch (formerly Cloud Crunch Enterprise). Home, Industries, Case Studies and About, with case studies managed in the admin by the CloudCrunch Case Studies plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cloudcrunch
*/
  :root{
    --navy:#1B2A38; --ink:#1B2A38; --ink-soft:#57626C;
    --paper:#FFFFFF; --bg:#FAF9F6; --bg-dim:#F1EFE9;
    --brass:#B8863B; --brass-light:#D6A65E;
    --line: rgba(27,42,56,0.13);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{margin:0; background:var(--bg); color:var(--ink); font-family:'IBM Plex Sans', sans-serif; font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased;}
  h1,h2,h3,h4{font-family:'Space Grotesk', sans-serif; font-weight:600; margin:0; letter-spacing:-0.01em;}
  a{color:inherit;}
  .wrap{max-width:1160px; margin:0 auto; padding:0 32px;}
  .mono{font-family:'IBM Plex Mono', monospace;}

  header.site{position:sticky; top:0; z-index:40; background:rgba(255,255,255,0.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line);}
  .nav{display:flex; align-items:center; justify-content:space-between; padding:18px 32px; max-width:1160px; margin:0 auto;}
  .brand{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:19px;}
  .brand .dot{width:9px;height:9px;background:var(--brass);border-radius:50%;display:inline-block;}
  .navlinks{display:flex; gap:26px; font-size:14px; color:var(--ink-soft);}
  .navlinks a{text-decoration:none; transition:color .15s;}
  .navlinks a:hover{color:var(--brass);}
  .nav-cta{background:var(--navy); color:#fff; padding:9px 18px; border-radius:2px; font-size:14px; text-decoration:none; font-weight:500; border:1px solid var(--navy); white-space:nowrap;}
  .nav-cta:hover{background:transparent; color:var(--navy);}

  section{padding:84px 0;}
  .kicker{color:var(--brass); font-size:13px; font-weight:500; margin-bottom:14px; display:block; font-family:'IBM Plex Mono', monospace; letter-spacing:.02em;}
  .section-head{max-width:700px; margin-bottom:44px;}
  .section-head h2{font-size:32px; line-height:1.2;}
  .section-head p{margin-top:16px; color:var(--ink-soft); font-size:16.5px;}
  .section-head-row{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; max-width:1160px; margin-bottom:44px;}

  .hero{padding:80px 0 30px;}
  h1.display{font-size:46px; line-height:1.14; font-weight:700; letter-spacing:-0.015em; max-width:16ch;}
  .hero p.sub{margin-top:22px; font-size:17.5px; color:var(--ink-soft); max-width:60ch; line-height:1.6;}
  .hero-ctas{margin-top:30px; display:flex; gap:16px; align-items:center; flex-wrap:wrap;}
  .btn-primary{background:var(--navy); color:#fff; padding:13px 22px; text-decoration:none; font-size:14.5px; font-weight:500; border-radius:2px; border:1px solid var(--navy); transition:.15s; cursor:pointer; display:inline-block;}
  .btn-primary:hover{background:var(--brass); border-color:var(--brass); color:#fff;}
  .btn-ghost{text-decoration:none; font-size:14.5px; color:var(--ink); font-weight:500; border-bottom:1px solid var(--ink); padding-bottom:2px;}
  .tagline-strip{margin-top:26px; font-size:14px; color:var(--brass); font-family:'IBM Plex Mono'; letter-spacing:.01em;}

  /* ---------- STATS / COUNTER BAR ---------- */
  .stats-bar{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper);}
  .stats-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:0;}
  .stat-item{padding:30px 28px; border-left:1px solid var(--line);}
  .stat-item:first-child{border-left:none;}
  .stat-num{font-family:'Space Grotesk'; font-size:34px; font-weight:700; color:var(--brass); line-height:1;}
  .stat-num .plus{font-size:22px;}
  .stat-lbl{font-size:13px; color:var(--ink-soft); margin-top:8px; line-height:1.4;}
  .stat-item.lead .stat-num{font-size:40px;}
  .stat-item.lead .stat-lbl{color:var(--navy); font-weight:500;}
  @media (max-width:860px){
    .stats-grid{grid-template-columns:1fr;}
    .stat-item{border-left:none; border-top:1px solid var(--line);}
    .stat-item:first-child{border-top:none;}
  }

  .chain{margin-top:56px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:36px 0; overflow-x:auto;}
  .chain-row{display:flex; align-items:center; gap:0; min-width:760px;}
  .chain-step{flex:1; text-align:center; position:relative;}
  .chain-step .n{width:38px; height:38px; border:1.5px solid var(--navy); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 10px; background:#fff; font-family:'IBM Plex Mono'; font-size:12px; color:var(--navy);}
  .chain-step.accent .n{border-color:var(--brass); color:var(--brass); background:#FBF3E7;}
  .chain-step .lbl{font-size:12.5px; color:var(--ink-soft); max-width:110px; margin:0 auto; line-height:1.35;}
  .chain-arrow{flex:0 0 auto; width:40px; height:1px; background:var(--line); margin-top:-30px; position:relative;}
  .chain-arrow::after{content:"→"; position:absolute; top:-9px; left:50%; transform:translateX(-50%); color:var(--brass); font-size:13px;}

  .bg-dim{background:var(--bg-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .card-grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  .prob-card{background:var(--paper); border:1px solid var(--line); padding:26px 22px;}
  .prob-card h4{font-size:16px; margin-bottom:10px;}
  .prob-card p{font-size:14px; color:var(--ink-soft); margin:0; line-height:1.5;}
  .closing-line{margin-top:36px; font-family:'Space Grotesk'; font-size:20px; font-weight:500; color:var(--navy); border-left:2px solid var(--brass); padding-left:20px;}

  .capability-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .cap-cell{background:var(--paper); padding:30px 26px; min-height:150px;}
  .cap-cell .num{font-family:'IBM Plex Mono'; font-size:12px; color:var(--brass); display:block; margin-bottom:10px;}
  .cap-cell h4{font-size:17px; margin-bottom:10px;}
  .cap-cell p{font-size:14px; color:var(--ink-soft); margin:0; line-height:1.5;}

  .industry-primary{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:40px;}
  .industry-card{background:var(--paper); border:1.5px solid var(--navy); padding:30px 26px;}
  .industry-card .idx{font-family:'IBM Plex Mono'; font-size:12px; color:var(--brass);}
  .industry-card h4{font-size:18px; margin:12px 0 10px;}
  .industry-card p{font-size:14px; color:var(--ink-soft); margin:0; line-height:1.5;}
  .industry-secondary{border-top:1px solid var(--line); padding-top:30px;}
  .industry-secondary .glabel{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--ink-soft); margin-bottom:14px; display:block;}
  .chip-row{display:flex; flex-wrap:wrap; gap:8px;}
  .chip{font-family:'IBM Plex Mono'; font-size:12.5px; border:1px solid var(--line); padding:6px 11px; color:var(--ink-soft); background:var(--paper);}
  .chip.brass{border-color:var(--brass); color:var(--brass);}

  .approach-chain{display:flex; flex-wrap:wrap; gap:0; margin:40px 0 40px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:34px 0;}
  .astep{flex:1; min-width:110px; text-align:center; padding:0 6px; position:relative;}
  .astep .n{font-family:'IBM Plex Mono'; font-size:13px; color:var(--brass); display:block; margin-bottom:8px;}
  .astep .lbl{font-family:'Space Grotesk'; font-weight:600; font-size:14.5px;}
  .astep:not(:last-child)::after{content:"›"; position:absolute; right:-4px; top:14px; color:var(--line); font-size:18px;}

  /* ---------- DIFFERENTIATOR (premium emphasis) ---------- */
  .differentiator{background:var(--navy); color:#fff;}
  .differentiator .kicker{color:var(--brass-light);}
  .differentiator .section-head h2{color:#fff; font-size:36px;}
  .differentiator .section-head p{color:#B9C2C9; font-size:17px;}
  .process-row{display:flex; align-items:flex-start; gap:0; margin:48px 0 8px; position:relative; overflow-x:auto; padding-bottom:12px;}
  .process-row::before{content:""; position:absolute; top:27px; left:5%; right:5%; height:1px; background:rgba(255,255,255,0.18);}
  .pstep{flex:1; min-width:120px; text-align:center; position:relative; z-index:1;}
  .pstep .circle{width:54px; height:54px; border-radius:50%; border:1.5px solid var(--brass-light); background:var(--navy); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-family:'IBM Plex Mono'; font-size:15px; color:var(--brass-light); transition:.2s;}
  .pstep:last-child .circle{background:var(--brass); border-color:var(--brass); color:var(--navy);}
  .pstep .plbl{font-family:'Space Grotesk'; font-weight:600; font-size:15.5px; color:#fff;}
  .process-text{max-width:760px; font-size:16.5px; color:#C9D0D5; line-height:1.75; margin-top:44px;}
  .process-text strong{color:#fff;}
  @media (max-width:900px){
    .process-row{flex-wrap:nowrap; justify-content:flex-start; gap:34px;}
    .process-row::before{display:none;}
  }
  .approach-text{max-width:760px; font-size:16.5px; color:var(--ink-soft); line-height:1.7;}
  .approach-text strong{color:var(--navy);}

  .manage-btn{background:transparent; border:1px solid var(--navy); color:var(--navy); padding:9px 16px; font-size:13.5px; font-family:'IBM Plex Sans'; cursor:pointer; border-radius:2px; white-space:nowrap; height:fit-content;}
  .manage-btn:hover{background:var(--navy); color:#fff;}
  .add-panel{display:none; background:var(--bg-dim); border:1px solid var(--line); padding:28px; margin-bottom:8px;}
  .add-panel.open{display:block;}
  .add-panel h4{font-size:15.5px; margin-bottom:16px;}
  .form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .form-grid .full{grid-column:1 / -1;}
  .add-panel label{display:block; font-size:12px; font-family:'IBM Plex Mono'; color:var(--ink-soft); margin-bottom:6px;}
  .add-panel input, .add-panel textarea{width:100%; border:1px solid #B9C0C5; background:var(--paper); padding:10px 12px; font-family:'IBM Plex Sans'; font-size:14px; color:var(--ink); border-radius:2px;}
  .add-panel textarea{min-height:66px; resize:vertical;}
  .add-panel input:focus, .add-panel textarea:focus{outline:2px solid var(--brass); outline-offset:1px; border-color:var(--brass);}
  .panel-actions{margin-top:16px; display:flex; gap:12px;}
  .btn-cancel{background:transparent; border:1px solid #B9C0C5; color:var(--ink-soft); padding:9px 16px; font-size:13.5px; cursor:pointer; border-radius:2px;}
  .empty-note{color:var(--ink-soft); font-size:14.5px; padding:30px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

  #case-list{border-bottom:1px solid var(--line);}
  .case{border-top:1px solid var(--line); padding:40px 0; display:grid; grid-template-columns:210px 1fr; gap:40px; position:relative;}
  .case-index{font-family:'IBM Plex Mono'; font-size:13px; color:var(--brass);}
  .case-tag{display:inline-block; margin-top:12px; font-size:12px; color:var(--ink-soft); border:1px solid var(--line); padding:5px 10px;}
  .case-highlight{margin-top:16px; font-family:'Space Grotesk'; font-weight:700; font-size:17px; color:var(--brass); line-height:1.3; max-width:170px;}
  .case-title{font-size:22px; margin-bottom:14px; max-width:26ch;}
  .case-body-grid{display:grid; grid-template-columns:1fr 1fr; gap:30px;}
  .case-col .label{font-family:'IBM Plex Mono'; font-size:11px; color:var(--ink-soft); margin-bottom:8px; display:block; opacity:.75;}
  .case-col p{font-size:15px; color:var(--ink-soft); margin:0;}
  .case-result{margin-top:16px; padding-top:16px; border-top:1px dashed var(--line); font-size:15px; color:var(--navy);}
  .del-btn{position:absolute; top:40px; right:0; background:transparent; border:1px solid var(--line); color:var(--ink-soft); width:26px; height:26px; border-radius:2px; cursor:pointer; font-size:14px; line-height:1; display:flex; align-items:center; justify-content:center;}
  .del-btn:hover{border-color:#A6512E; color:#A6512E;}

  .tech-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:20px;}
  .tech-card{border:1px solid var(--line); padding:22px 20px; background:var(--paper);}
  .tech-card .glabel{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--brass); display:block; margin-bottom:12px;}
  .tech-card .chip-row .chip{background:var(--bg-dim);}
  .tech-note{margin-top:30px; font-size:15px; color:var(--ink-soft); font-style:normal;}

  .why-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px;}
  .why-card{border-top:2px solid var(--brass); padding-top:16px;}
  .why-card h4{font-size:15px; margin-bottom:8px;}
  .why-card p{font-size:13.5px; color:var(--ink-soft); margin:0; line-height:1.5;}

  .about-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;}
  .map-note{font-size:15px; color:var(--ink-soft); line-height:1.75;}
  .founded-line{display:flex; gap:26px; margin-top:26px; padding-top:22px; border-top:1px solid var(--line);}
  .founded-line div .num{font-family:'Space Grotesk'; font-size:24px; font-weight:700; color:var(--navy);}
  .founded-line div .lbl{font-size:12.5px; color:var(--ink-soft); margin-top:4px;}

  .t-grid{display:grid; grid-template-columns:1fr 1fr; gap:30px;}
  .t-card{border:1px solid var(--line); padding:28px; border-radius:2px; position:relative; background:var(--paper);}
  .t-card p.quote{font-size:15.5px; line-height:1.6; color:var(--ink);}
  .t-card .who{margin-top:18px; font-size:13.5px; color:var(--ink-soft);}
  .t-card .who b{color:var(--brass); font-weight:500;}

  /* ---------- REFERENCES (role-based, unnamed) ---------- */
  .ref-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:22px;}
  .ref-card{border:1px solid var(--line); padding:24px; border-radius:2px; position:relative; background:var(--paper); display:flex; flex-direction:column;}
  .ref-role{font-family:'Space Grotesk'; font-weight:600; font-size:15px; color:var(--navy);}
  .ref-meta{display:flex; gap:8px; align-items:center; margin-top:4px; margin-bottom:14px;}
  .ref-industry{font-size:12px; color:var(--ink-soft);}
  .ref-since{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--brass); border:1px solid var(--brass); padding:2px 8px; white-space:nowrap;}
  .ref-quote{font-size:14px; line-height:1.6; color:var(--ink-soft); flex:1;}
  .ref-note{margin-top:24px; font-size:13.5px; color:var(--ink-soft); font-style:italic;}

  .insight-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
  .insight-card{border:1px solid var(--line); background:var(--paper); padding:22px 20px 24px; display:flex; flex-direction:column; justify-content:space-between; min-height:110px;}
  .insight-card h4{font-size:15px; font-weight:600; line-height:1.4;}
  .insight-card .watch{margin-top:14px; font-size:12.5px; color:var(--brass); font-family:'IBM Plex Mono';}

  .final-cta{background:var(--navy); color:#fff; text-align:left;}
  .final-cta h2{font-size:34px; max-width:16ch; color:#fff;}
  .final-cta p{margin-top:16px; font-size:16.5px; color:#C9D0D5; max-width:52ch;}
  .final-cta .btn-primary{background:var(--brass); border-color:var(--brass); margin-top:26px;}
  .final-cta .btn-primary:hover{background:var(--brass-light); border-color:var(--brass-light);}
  .final-cta .tags{margin-top:20px; font-family:'IBM Plex Mono'; font-size:13px; color:#8FA0AB;}

  .contact{border-top:1px solid var(--line);}
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
  .contact-info h2{font-size:30px; margin-bottom:16px; max-width:14ch;}
  .contact-info p{color:var(--ink-soft); font-size:15.5px; max-width:38ch;}
  .contact-lines{margin-top:24px; display:flex; flex-direction:column; gap:9px; font-size:14.5px;}
  form{display:flex; flex-direction:column; gap:14px;}
  .field label{display:block; font-size:12.5px; color:var(--ink-soft); margin-bottom:6px; font-family:'IBM Plex Mono';}
  .field input, .field textarea{width:100%; border:1px solid #B9C0C5; background:var(--paper); padding:11px 13px; font-family:'IBM Plex Sans'; font-size:14.5px; color:var(--ink); border-radius:2px;}
  .field input:focus, .field textarea:focus{outline:2px solid var(--brass); outline-offset:1px; border-color:var(--brass);}
  .field textarea{resize:vertical; min-height:100px;}
  .submit-btn{align-self:flex-start; background:var(--navy); color:#fff; border:none; padding:12px 24px; font-size:14.5px; font-weight:500; cursor:pointer; border-radius:2px; margin-top:4px;}
  .submit-btn:hover{background:var(--brass);}

  footer{padding:44px 0 30px; border-top:1px solid var(--line);}
  .footer-grid{display:grid; grid-template-columns:1.3fr 1fr; gap:40px;}
  .footer-grid h4{font-size:17px; margin-bottom:10px;}
  .footer-grid p{font-size:14px; color:var(--ink-soft); max-width:40ch;}
  .footer-links{display:flex; flex-wrap:wrap; gap:18px; font-size:13.5px; color:var(--ink-soft);}
  .footer-links a{text-decoration:none;}
  .footer-links a:hover{color:var(--brass);}
  .footer-bottom{margin-top:34px; padding-top:20px; border-top:1px solid var(--line); font-size:13px; color:var(--ink-soft); display:flex; justify-content:space-between;}

  .toast{position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:var(--navy); color:#fff; padding:11px 20px; border-radius:2px; font-size:14px; z-index:100; opacity:0; pointer-events:none; transition:opacity .2s;}
  .toast.show{opacity:1;}

  @media (max-width:900px){
    .card-grid-4, .industry-primary, .tech-grid, .why-grid, .insight-grid{grid-template-columns:1fr 1fr;}
    .capability-grid{grid-template-columns:1fr;}
    .case, .about-grid, .contact-grid, .footer-grid{grid-template-columns:1fr;}
    .case-body-grid{grid-template-columns:1fr;}
    .approach-chain{flex-direction:column;}
    .astep::after{display:none;}
    h1.display{font-size:32px;}
    .navlinks{display:none;}
    .form-grid{grid-template-columns:1fr;}
    .del-btn{position:static; margin-top:12px;}
  }
  @media (max-width:600px){
    .card-grid-4, .industry-primary, .tech-grid, .why-grid, .insight-grid{grid-template-columns:1fr;}
  }

/* ---------- additions for the preview build ---------- */
a.brand{text-decoration:none; color:var(--navy);}
.menu-btn{display:none; background:none; border:1px solid var(--line); width:40px; height:36px; border-radius:2px; cursor:pointer; padding:9px 9px; flex-direction:column; justify-content:space-between;}
.menu-btn span{display:block; height:1.5px; background:var(--navy);}
a.link-card{text-decoration:none; color:inherit; display:block; transition:border-color .15s, transform .15s;}
a.link-card:hover{border-color:var(--brass); transform:translateY(-2px);}
.case{scroll-margin-top:90px;}
.form-note{font-size:13.5px; color:var(--brass); font-family:'IBM Plex Mono',monospace;}
@media (max-width:900px){
  .nav{padding:14px 20px; flex-wrap:wrap; gap:12px; position:relative;}
  .wrap{padding:0 20px;}
  .menu-btn{display:flex; order:3;}
  .nav-cta{order:2; margin-left:auto; padding:8px 12px; font-size:13px;}
  .navlinks{order:4; flex-basis:100%; flex-direction:column; gap:0;}
  .navlinks:not(.open){display:none;}
  .navlinks.open{display:flex;}
  .navlinks a{padding:12px 0; border-top:1px solid var(--line); font-size:15px; color:var(--navy);}
  section{padding:60px 0;}
  .section-head-row{flex-direction:column; align-items:flex-start;}
  .why-grid{grid-template-columns:1fr 1fr;}
  .footer-bottom{flex-direction:column; gap:8px;}
  .card-grid-4[style]{grid-template-columns:1fr !important;}
  .t-grid{grid-template-columns:1fr;}
  .ref-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:520px){
  .nav-cta{display:none;}
  .menu-btn{margin-left:auto;}
  h1.display{font-size:30px !important;}
  .section-head h2,.final-cta h2,.differentiator .section-head h2{font-size:26px;}
  .founded-line{flex-wrap:wrap;}
  .ref-grid{grid-template-columns:1fr;}
}

.footer-contact{margin-top:14px; display:flex; flex-wrap:wrap; gap:18px; font-size:14px;}
.footer-contact a{color:var(--navy); text-decoration:none; border-bottom:1px solid var(--line);}
.footer-contact a:hover{color:var(--brass); border-color:var(--brass);}
.footer-bottom a{color:inherit;}
.contact-lines a{color:var(--navy);}
.contact-lines .wa{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--brass); border:1px solid var(--brass); padding:1px 7px; margin-left:6px; white-space:nowrap;}

.brand img{display:block; height:48px; width:auto;}
@media (max-width:900px){ .brand img{height:40px;} }
@media (max-width:520px){ .brand img{height:34px;} }

.footer-grid h4{margin-bottom:4px;}
.formerly{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--brass); margin-bottom:10px;}

/* ---------- case study list: whole card is a link ---------- */
a.case-link{color:inherit; text-decoration:none; transition:background .15s;}
a.case-link:hover{background:rgba(255,255,255,.55);}
a.case-link:hover .case-title{color:var(--brass);}
a.case-link:focus-visible{outline:2px solid var(--brass); outline-offset:4px;}
.case-link .case-col p{max-width:68ch;}
.case-more{display:inline-block; margin-top:16px; font-size:14px; font-weight:500; color:var(--navy); border-bottom:1px solid var(--navy); padding-bottom:1px;}
a.case-link:hover .case-more{color:var(--brass); border-color:var(--brass);}

/* ---------- single case study ---------- */
.case-hero{padding-bottom:56px;}
.back-link{display:inline-block; font-size:14px; color:var(--ink-soft); text-decoration:none; margin-bottom:28px;}
.back-link:hover{color:var(--brass);}
.case-hero-meta{display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-bottom:18px;}
.case-hero-meta .case-tag{margin-top:0;}
h1.case-h1{font-size:42px; max-width:22ch; text-wrap:balance;}
.case-hero-metric{margin-top:22px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:26px; color:var(--brass);}
.case-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.case-step{background:var(--paper); padding:30px 26px; min-width:0;}
.case-step .label{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--brass); display:block; margin-bottom:12px;}
.case-step p{margin:0; font-size:15.5px; line-height:1.65; color:var(--ink-soft);}
.case-step.result{background:var(--navy);}
.case-step.result .label{color:var(--brass-light);}
.case-step.result p{color:#fff;}
.case-content{max-width:720px; margin-top:48px; font-size:16.5px; line-height:1.75; color:var(--ink);}
.case-content h2,.case-content h3{margin:36px 0 12px;}
.case-content img{height:auto; border:1px solid var(--line);}
.case-content a{color:var(--navy);}
.case-pager{padding:40px 0;}
.pager-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.pager-grid a{display:block; border:1px solid var(--line); background:var(--paper); padding:20px 22px; text-decoration:none; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16px; color:var(--navy);}
.pager-grid a:hover{border-color:var(--brass);}
.pager-grid a.next{text-align:right;}
.pager-grid .label{display:block; font-family:'IBM Plex Mono',monospace; font-weight:400; font-size:11.5px; color:var(--brass); margin-bottom:6px;}
@media (max-width:900px){
  .case-steps{grid-template-columns:1fr;}
  h1.case-h1{font-size:32px;}
  .pager-grid{grid-template-columns:1fr;}
  .pager-grid a.next{text-align:left;}
}

/* ---------- WordPress additions ---------- */
body.admin-bar header.site{top:32px;}
@media (max-width:782px){ body.admin-bar header.site{top:46px;} }
@media (max-width:600px){ body.admin-bar header.site{top:0;} }
.navlinks a[aria-current="page"]{color:var(--brass);}
.hp-field{position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden;}
.form-note.ok{color:#2F6B3F;}
.form-note.err{color:#A6512E;}
.page-content{max-width:760px; font-size:16.5px; line-height:1.75;}
.page-content p{margin:0 0 1.1em;}
.page-content h2,.page-content h3{margin:32px 0 12px;}
.page-content a{color:var(--navy);}
.page-content img{height:auto;}
.case-content p{margin:0 0 1.1em;}
.skip-link{position:absolute; left:-9999px;}
.skip-link:focus{left:16px; top:16px; z-index:100; background:#fff; padding:8px 12px;}
