/* ============================================================
   Rem-Net Ministries - production stylesheet
   Built 2026-09-10. ONE stylesheet for the whole site.

   Palette, from the house brand rules:
     navy    #1A2B5C   panels, bands, nav
     deep    #12204A   nav bar, hover
     gold    #FFDF00   the "Aiming for Jesus!" tagline and CTAs - ON NAVY ONLY.
                       #FFDF00 on white is ~1.3:1 contrast, i.e. invisible. Never do it.
     orange  #FB9B20   small-caps labels, letterhead accent
     brown   #B47C36   rules and quiet accents. NOT the tagline colour.

   MOBILE FIRST. The mockup was fixed at 1440px and would have been unusable on a
   phone, which is where most parents will open this. Everything below stacks by
   default and only becomes multi-column at 820px and up.
   ============================================================ */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Segoe UI',system-ui,-apple-system,Arial,Helvetica,sans-serif;
     color:#1B1B1B;background:#fff;line-height:1.55;font-size:17px}
img{max-width:100%;display:block}
a{color:#1A2B5C}
h1,h2,h3,h4{line-height:1.2;margin:0}
.wrap{max-width:1180px;margin:0 auto}

/* keyboard users must be able to see where they are */
a:focus-visible,button:focus-visible{outline:3px solid #FB9B20;outline-offset:2px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:99;background:#fff;color:#1A2B5C;padding:10px 16px;
            border:3px solid #FB9B20;position:fixed}

/* ---------------- masthead ---------------- */
.top{background:#1A2B5C;color:#fff;padding:14px 18px;display:flex;align-items:center;gap:14px}
.top img{height:52px;width:auto;flex:none}
.brand{font-size:18px;font-weight:700;letter-spacing:.3px}
.brandsub{font-size:10.5px;color:#FB9B20;font-weight:700;letter-spacing:1.8px;margin-top:2px}
.brandline{flex:1;min-width:0}
.tagtop{display:none}

/* ---------------- navigation ---------------- */
nav{background:#12204A}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
nav a{display:block;color:#D6DDEE;font-size:12.5px;font-weight:700;letter-spacing:1.1px;
      padding:13px 14px;text-decoration:none}
nav a:hover{background:#1A2B5C;color:#fff}
nav a[aria-current="page"]{background:#1A2B5C;color:#fff;box-shadow:inset 0 -3px 0 #FB9B20}

/* ---------------- hero ---------------- */
.hero{position:relative;background:#1A2B5C}
.hero>img{width:100%;height:180px;object-fit:cover}
.heroband{background:#1A2B5C;color:#fff;padding:18px}
.heroband h1{font-size:24px;font-weight:700}
.heroband p{margin:9px 0 0;font-size:15.5px;color:#CFD7E8}

/* ---------------- generic ---------------- */
main{padding:0 18px 8px}
.band{background:#1A2B5C;color:#fff;padding:11px 16px;margin:26px 0 16px}
.band h2{font-size:16.5px;font-weight:700;letter-spacing:1.3px}
.band .sub{display:block;color:#FB9B20;font-size:11.5px;letter-spacing:.8px;font-weight:700;margin-top:4px}
.lead{font-size:17px;color:#333;margin:0}
.lead+.lead{margin-top:13px}
.btn{display:inline-block;background:#FFDF00;color:#1A2B5C;font-weight:700;font-size:15px;
     letter-spacing:.4px;padding:14px 24px;text-decoration:none;border-radius:2px}
.btn:hover{background:#ffe94d}
.note{background:#E9EDF6;border-left:5px solid #B47C36;padding:14px 17px;margin-top:18px;font-size:15.5px}
.note b{color:#1A2B5C}

/* ---------------- stats ---------------- */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-top:20px}
.stat{background:#1A2B5C;color:#fff;padding:15px 10px;text-align:center}
.stat .n{font-size:31px;font-weight:700;color:#FFDF00;line-height:1}
.stat .l{font-size:10.5px;letter-spacing:1.3px;margin-top:5px;color:#D6DDEE}

/* ---------------- cards ---------------- */
.cards{display:grid;grid-template-columns:1fr;gap:16px}
.card{border:1px solid #D3D9E6;border-top:5px solid #B47C36;background:#fff}
.card img{width:100%;height:168px;object-fit:cover}
.card .in{padding:14px 16px 18px}
.card h3{font-size:17px;color:#1A2B5C}
.card p{font-size:15px;color:#444;margin:7px 0 0}
.card a.go{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;
           color:#8a5c22;letter-spacing:.9px;margin-top:4px;text-decoration:none}
.card a.go:hover{text-decoration:underline}

/* ---------------- fundraiser ---------------- */
.fund{background:#1A2B5C;color:#fff;padding:20px 18px;margin-top:26px}
.fund .big{font-size:25px;font-weight:700}
.fund .of{font-size:14.5px;color:#CFD7E8;margin-top:3px}
.bar{height:22px;background:#35426F;margin-top:13px;position:relative;overflow:hidden}
.bar .fill{height:100%;background:#FFDF00}
.bar .pc{position:absolute;inset:2px 0 auto;text-align:center;font-size:13px;font-weight:700;color:#fff}
.fund .need{font-size:14.5px;color:#D6DDEE;margin-top:10px}
.fund .need b{color:#FFDF00}
.fund .act{margin-top:16px}

/* ---------------- tables become cards on a phone ---------------- */
table.ev{width:100%;border-collapse:collapse;font-size:15.5px}
table.ev thead{display:none}
table.ev tr{display:block;border:1px solid #DDE2EC;border-top:4px solid #B47C36;margin-bottom:12px;padding:12px 14px}
table.ev td{display:block;padding:3px 0;border:none}
table.ev td::before{content:attr(data-l) " ";color:#B47C36;font-weight:700;font-size:11.5px;letter-spacing:1px}
td.wh{color:#1A2B5C;font-weight:700;font-size:17px}
td.act{padding-top:10px}
/* 44px minimum height: anything smaller is a miss-prone tap target on a phone */
.reg{display:inline-flex;align-items:center;min-height:44px;background:#1A2B5C;color:#fff;
     font-size:13px;font-weight:700;letter-spacing:.7px;padding:6px 18px;text-decoration:none}
.reg:hover{background:#12204A}
.reg.off{background:#E3E7F0;color:#5A6478;cursor:default}

/* ---------------- lists, timeline, steps ---------------- */
ul.vals{list-style:none;margin:14px 0 0;padding:0}
ul.vals li{font-size:16px;padding:9px 0 9px 24px;border-bottom:1px solid #E6E9F1;position:relative}
ul.vals li::before{content:"";position:absolute;left:0;top:16px;width:10px;height:10px;
                   background:#FFDF00;border:2px solid #1A2B5C}
.tl{margin-top:6px}
.tl .row{padding:11px 0;border-bottom:1px solid #E6E9F1}
.tl .yr{color:#8a5c22;font-weight:700;font-size:14px;letter-spacing:.4px}
.tl .ev{font-size:15.5px;color:#333;margin-top:3px}
.mission{background:#E9EDF6;border-left:5px solid #B47C36;padding:18px 20px;margin-top:16px;font-size:16.5px}
.mission b{color:#1A2B5C}
.mission p+p{margin-top:13px}
.people{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
.person{border:1px solid #D3D9E6;border-top:4px solid #1A2B5C;padding:13px 15px}
.person .nm{font-size:16px;font-weight:700;color:#1A2B5C}
.person .ro{font-size:12.5px;color:#8a5c22;font-weight:700;letter-spacing:.7px;margin-top:3px}
.steps{margin-top:12px}
.steps .s{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid #E6E9F1}
.steps .no{width:36px;height:36px;flex:none;background:#1A2B5C;color:#FFDF00;font-weight:700;
           font-size:17px;display:flex;align-items:center;justify-content:center}
.steps h3{font-size:16.5px;color:#1A2B5C}
.steps p{font-size:15px;color:#444;margin:4px 0 0}
.give2{display:grid;grid-template-columns:1fr;gap:13px;margin-top:16px}
.give2 .g{border:1px solid #D3D9E6;border-top:4px solid #B47C36;padding:15px 17px}
.give2 .g h3{font-size:16px;color:#1A2B5C}
.give2 .g p{font-size:15px;color:#444;margin:6px 0 0}
.give2 .g a{display:inline-block;font-size:13.5px;color:#8a5c22;font-weight:700;margin-top:8px;
            word-break:break-word}
.kv{margin-top:11px;font-size:15.5px}
.kv .k{color:#8a5c22;font-weight:700;letter-spacing:.5px;font-size:12.5px}
.two{margin-top:6px}
.two>*+*{margin-top:18px}

/* ---------------- footer ---------------- */
footer{background:#1A2B5C;color:#DCE3F1;padding:22px 18px;margin-top:30px;font-size:14px}
footer a{color:#DCE3F1}
footer .tag{font-family:'Brush Script MT','Segoe Script',cursive;font-size:25px;color:#FFDF00;
            margin-top:14px}

/* ============================================================
   TABLET AND UP
   ============================================================ */
@media (min-width:820px){
  body{font-size:17px}
  .top{padding:18px 30px;gap:24px}
  .top img{height:74px}
  .brand{font-size:22px}
  .brandsub{font-size:12.5px;letter-spacing:2px}
  .tagtop{display:block;font-family:'Brush Script MT','Segoe Script',cursive;
          font-size:27px;color:#FFDF00;white-space:nowrap}
  nav ul{padding:0 22px}
  nav a{font-size:13.5px;padding:14px 17px}

  .hero>img{height:400px}
  .heroband{position:absolute;left:0;right:0;bottom:0;background:rgba(18,32,74,.86);padding:22px 30px}
  .heroband h1{font-size:34px}
  .heroband p{font-size:16px;max-width:820px}

  main{padding:0 30px 10px}
  .band{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;margin:34px 0 18px}
  .band h2{font-size:19px;letter-spacing:1.6px}
  .band .sub{margin-top:0;font-size:13px}

  .stats{grid-template-columns:repeat(4,1fr);gap:16px;margin-top:26px}
  .stat{padding:18px 12px}
  .stat .n{font-size:38px}
  .stat .l{font-size:11.5px;letter-spacing:1.5px}

  .cards{grid-template-columns:repeat(3,1fr);gap:18px}
  .card img{height:172px}

  .fund{display:flex;gap:34px;align-items:center;padding:26px 30px}
  .fund .l{flex:1}
  .fund .big{font-size:31px}
  .fund .act{margin-top:0;flex:none}

  /* real table again once there is room for it */
  table.ev thead{display:table-header-group}
  table.ev tr{display:table-row;border:none;margin:0;padding:0}
  table.ev th{background:#35426F;color:#fff;text-align:left;padding:11px 14px;
              font-size:11.5px;letter-spacing:1.4px}
  table.ev td{display:table-cell;padding:14px;border-bottom:1px solid #E0E4EE;vertical-align:middle}
  table.ev td::before{content:none}
  table.ev tbody tr:nth-child(even) td{background:#F6F8FC}
  td.wh{white-space:nowrap;font-size:15.5px}
  td.dt{white-space:nowrap}
  td.ct{white-space:nowrap;text-align:right;color:#8a5c22;font-weight:700}
  td.act{text-align:right;padding-top:14px}

  .people{grid-template-columns:repeat(5,1fr);gap:16px}
  .give2{grid-template-columns:repeat(2,1fr);gap:16px}
  .two{display:flex;gap:32px}
  .two>*{flex:1}
  .two>*+*{margin-top:0}
  .tl .row{display:flex;gap:18px}
  .tl .yr{width:120px;flex:none;font-size:15.5px}
  .tl .ev{margin-top:0}
  .kv{display:flex;gap:12px}
  .kv .k{width:118px;flex:none;font-size:15.5px}

  footer{display:flex;justify-content:space-between;align-items:center;padding:24px 30px}
  footer .tag{margin-top:0;font-size:26px}
}

@media (min-width:1240px){
  .give2{grid-template-columns:repeat(4,1fr)}
}

/* respect a reader who has asked for less motion, and print sanely */
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media print{
  nav,.skip{display:none}
  body{font-size:11pt}
  .band,.fund,.stat,footer{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
