/* Redeemer Baptist Church: schoolhouse template. Home page styles first (unchanged), inner pages after. */
*{box-sizing:border-box;margin:0;padding:0}
body{background:#f6f1e9;color:#23262b;font-family:'Inter',sans-serif;-webkit-font-smoothing:antialiased}
.w{max-width:1160px;margin:0 auto;padding:0 40px}
header .w{display:flex;align-items:center;justify-content:space-between;height:80px}
.brand{display:flex;align-items:center;gap:12px;font-family:'Fraunces',serif;font-size:23px;font-weight:500}
.brand i{width:36px;height:36px;border-radius:10px;background:#b5583a;display:grid;place-items:center}
.brand i svg{width:18px;height:18px}
nav{display:flex;gap:28px;font-size:14.5px;color:#4a4d52;align-items:center}
nav .cta{background:#23262b;color:#f6f1e9;padding:10px 18px;border-radius:12px}
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:52px;align-items:center;padding:36px 0 52px}
.pill{display:inline-flex;align-items:center;gap:8px;background:#f1ddd0;color:#8f3f25;font-size:13px;font-weight:600;padding:7px 13px;border-radius:999px}
.pill:before{content:"";width:7px;height:7px;border-radius:50%;background:#b5583a}
h1{font-family:'Fraunces';font-weight:400;font-size:60px;line-height:1.04;margin:18px 0 18px;letter-spacing:-.01em}
h1 i{color:#b5583a}
.lede{font-size:18.5px;line-height:1.6;color:#4f5258;max-width:29em}
.btns{display:flex;gap:12px;margin-top:26px;font-size:15px;font-weight:500}
.btn{background:#b5583a;color:#fff;padding:13px 22px;border-radius:12px}
.btn2{border:1px solid #c9bfb1;padding:12px 21px;border-radius:12px}
.ph{border-radius:22px;background-size:cover;background-position:50% 50%;box-shadow:0 22px 46px -30px rgba(40,25,15,.55)}
.hero .ph{height:440px}
.where{background:#23262b;color:#f3ede4;border-radius:22px;display:grid;grid-template-columns:1.2fr 1fr 1fr;overflow:hidden}
.where div{padding:28px 30px}
.where div+div{border-left:1px solid rgba(243,237,228,.12)}
.where small{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#e3a487}
.where b{display:block;font-family:'Fraunces';font-weight:400;font-size:24px;margin:8px 0 6px}
.where span{font-size:14.5px;line-height:1.55;color:#c9c3b9}
.sec{padding:56px 0 60px}
.kick{font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#b5583a}
.sec h2{font-family:'Fraunces';font-weight:400;font-size:40px;margin:8px 0 26px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.tile{background:#fffdf9;border-radius:22px;overflow:hidden;box-shadow:0 16px 34px -28px rgba(40,25,15,.5)}
.tile .ph{height:270px;border-radius:0;box-shadow:none}
.tile .tx{padding:24px 28px 26px}
.tile h3{font-family:'Fraunces';font-weight:500;font-size:25px;margin-bottom:8px}
.tile p{font-size:15.5px;line-height:1.6;color:#55585e}
.ser{display:flex;align-items:center;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #ece4d8}
.play{width:44px;height:44px;border-radius:50%;background:#b5583a;display:grid;place-items:center;flex:none}
.play.bk{background:#23262b}.play.bk:before{display:none}
.play:before{content:"";border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:3px}
.ser b{display:block;font-size:15.5px}
.ser span{font-size:13.5px;color:#7a7c80}
.vals{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}
.vals div{border-top:2px solid #b5583a;padding-top:14px}
.vals b{font-family:'Fraunces';font-weight:500;font-size:21px;display:block;margin-bottom:5px}
.vals span{font-size:15px;line-height:1.55;color:#55585e}

/* ---------- Shared additions (links, header, menu, footer) ---------- */
a{color:inherit;text-decoration:none}
img{max-width:100%}
.btn,.btn2{display:inline-block}
.btn2:hover{border-color:#23262b}
header[data-header]{position:sticky;top:0;z-index:50;background:#f6f1e9}
nav a:not(.cta){padding:4px 0;border-bottom:2px solid transparent}
nav a:not(.cta):hover{color:#23262b}
nav a[aria-current="page"]{color:#23262b;border-bottom-color:#b5583a}
.menu-btn{display:none;width:44px;height:44px;border-radius:12px;border:1px solid #c9bfb1;background:#fffdf9;color:#23262b;place-items:center;cursor:pointer;flex:none}
.menu-btn svg{width:20px;height:20px;display:block}
.menu-btn .x{display:none}
body.menu-open .menu-btn .x{display:block}
body.menu-open .menu-btn .bars{display:none}
.nf{font-style:normal}
.ser .eq{vertical-align:-3px;margin-left:6px;color:#b5583a}
.frame{border-radius:22px;overflow:hidden;box-shadow:0 22px 46px -30px rgba(40,25,15,.55);background:#e9e0d3}
.frame>.ph{border-radius:0;box-shadow:none}
.frame>img{display:block;width:100%;height:100%;object-fit:cover}

footer{background:#23262b;color:#c9c3b9;padding:52px 0 26px;font-size:14.5px;line-height:1.6}
footer .fgrid{display:grid;grid-template-columns:1.4fr 1fr .8fr .8fr;gap:32px}
footer .brand{color:#f3ede4;font-size:21px;margin-bottom:14px}
footer small{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#e3a487;margin-bottom:10px}
footer ul{list-style:none}
footer li{margin-bottom:4px}
footer a:hover{color:#f3ede4}
footer .dir{display:inline-block;margin-top:10px;color:#f3ede4;border-bottom:1px solid #b5583a}
footer .fbot{margin-top:36px;padding-top:18px;border-top:1px solid rgba(243,237,228,.12);font-size:13px;color:#8e8a83}

/* ---------- Inner pages ---------- */
.banner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:28px 0 48px}
.banner h1{font-size:52px;margin:16px 0 14px}
.banner .frame{height:340px}
.sec.tight-top{padding-top:8px}
.sec h2.sm{font-size:34px}
.intro{font-size:16.5px;line-height:1.65;color:#55585e;max-width:40em;margin:-12px 0 26px}
.media{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.media.rev>.frame{order:2}
.media .frame{height:400px}
.media.tall .frame{height:460px}
.prose p{font-size:16.5px;line-height:1.7;color:#4f5258;margin-bottom:14px}
.prose p:last-child{margin-bottom:0}
.prose h2{margin-bottom:18px}
.rows{border-top:1px solid #e4dccf}
.rows .r{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid #e4dccf}
.rows .r b{font-family:'Fraunces';font-weight:500;font-size:19px}
.rows .r span{font-size:15.5px;line-height:1.6;color:#55585e}
.rows .r span a{color:#8f3f25;border-bottom:1px solid #e3a487}
.card{background:#fffdf9;border-radius:22px;padding:26px 28px;box-shadow:0 16px 34px -28px rgba(40,25,15,.5)}
.card h3{font-family:'Fraunces';font-weight:500;font-size:23px;margin-bottom:8px}
.card p{font-size:15.5px;line-height:1.6;color:#55585e}
.card .tag{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8f3f25;background:#f1ddd0;border-radius:999px;padding:5px 11px;margin-bottom:12px}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cards2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.btns.left{margin-top:22px}

/* order of service */
.order{list-style:none;counter-reset:o;background:#fffdf9;border-radius:22px;padding:10px 30px;box-shadow:0 16px 34px -28px rgba(40,25,15,.5)}
.order li{counter-increment:o;display:grid;grid-template-columns:40px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid #ece4d8;align-items:baseline}
.order li:last-child{border-bottom:0}
.order li:before{content:counter(o,decimal-leading-zero);font-family:'Fraunces';font-size:17px;color:#b5583a}
.order b{font-weight:600;font-size:15.5px;display:block}
.order span{font-size:14.5px;color:#6a6d72;line-height:1.55}
.note{background:#23262b;color:#c9c3b9;border-radius:22px;padding:28px 30px;font-size:15px;line-height:1.6}
.note small{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#e3a487;margin-bottom:8px}
.note b{display:block;font-family:'Fraunces';font-weight:400;font-size:24px;color:#f3ede4;margin-bottom:8px}
.note p+small{margin-top:20px}
.order-wrap{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;align-items:start}

/* form */
.form{background:#fffdf9;border-radius:22px;padding:30px;box-shadow:0 16px 34px -28px rgba(40,25,15,.5)}
.form .grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form label{display:block;font-size:13.5px;font-weight:600;color:#3a3d42}
.form label.full{grid-column:1/-1}
.form input,.form select,.form textarea{display:block;width:100%;margin-top:6px;font:inherit;font-weight:400;font-size:15px;color:#23262b;background:#f6f1e9;border:1px solid #d8cfc2;border-radius:12px;padding:11px 13px}
.form textarea{min-height:96px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid #e3a487;border-color:#b5583a}
.form button{margin-top:20px;border:0;font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.form .fine{font-size:13.5px;color:#7a7c80;margin-top:12px;line-height:1.55}

/* steps (kids check-in) */
.steps{list-style:none;counter-reset:s}
.steps li{counter-increment:s;position:relative;padding:0 0 18px 50px}
.steps li:before{content:counter(s);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:#b5583a;color:#fff;font-weight:600;font-size:14px;display:grid;place-items:center}
.steps b{display:block;font-family:'Fraunces';font-weight:500;font-size:20px;margin:3px 0 4px}
.steps span{font-size:15.5px;line-height:1.6;color:#55585e}

/* beliefs */
.beliefs{display:grid;grid-template-columns:repeat(2,1fr);gap:0 44px}
.beliefs div{border-top:1px solid #e4dccf;padding:20px 0 22px}
.beliefs b{display:flex;align-items:baseline;gap:12px;font-family:'Fraunces';font-weight:500;font-size:22px;margin-bottom:6px}
.beliefs b em{font-style:normal;font-family:'Inter';font-size:12.5px;font-weight:600;color:#b5583a;letter-spacing:.06em}
.beliefs span{font-size:15.5px;line-height:1.65;color:#55585e}
.conf{display:grid;grid-template-columns:300px 1fr;align-items:stretch}
.conf .frame{border-radius:0;box-shadow:none;min-height:280px;position:relative}
.conf .frame>img,.feature .frame>img{position:absolute;inset:0}
.conf .tx{padding:32px 36px;align-self:center}
.conf h3{font-size:28px}
.conf a.lnk{display:inline-block;margin-top:16px;font-weight:500;color:#8f3f25;border-bottom:1px solid #e3a487}

/* sermons */
.feature{display:grid;grid-template-columns:1fr 1fr}
.feature .frame{border-radius:0;box-shadow:none;min-height:340px;position:relative}
.feature .tx{padding:34px 36px;align-self:center}
.feature .kick{display:flex;align-items:center;gap:10px}
.feature h3{font-size:34px;font-weight:400;margin:10px 0 8px;line-height:1.15}
.feature .meta{font-size:15.5px;color:#55585e}
.feature .sm{font-size:14px;color:#7a7c80;margin-top:4px}
.feature .listen{display:flex;align-items:center;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid #ece4d8;font-size:15px;font-weight:500}
.slist{background:#fffdf9;border-radius:22px;padding:6px 28px;box-shadow:0 16px 34px -28px rgba(40,25,15,.5)}
.srow{display:grid;grid-template-columns:1.3fr 1fr 70px;gap:18px;align-items:baseline;padding:17px 0;border-bottom:1px solid #ece4d8}
.slist .srow:last-child{border-bottom:0}
.srow b{font-family:'Fraunces';font-weight:500;font-size:19px}
.srow span{font-size:14.5px;color:#55585e}
.srow em{font-style:normal;font-size:13.5px;color:#7a7c80;text-align:right}
.srow:hover b{color:#8f3f25}
.feedline{font-size:14.5px;color:#7a7c80;margin-top:16px}
.feedline a{color:#8f3f25;border-bottom:1px solid #e3a487}

/* people */
.people{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.person{text-align:center;padding:30px 26px}
.person img{width:132px;height:132px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 16px;box-shadow:0 12px 26px -16px rgba(40,25,15,.55)}
.person h3{margin-bottom:2px}
.person .role{display:block;font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#b5583a;margin-bottom:10px}

/* ---------- Phones and tablets ---------- */
@media (max-width:860px){
  .w{padding:0 20px}
  header .w{height:72px;position:relative}
  .menu-btn{display:grid}
  nav{display:none}
  body.menu-open nav{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#f6f1e9;padding:6px 20px 20px;border-bottom:1px solid #e4dccf;box-shadow:0 18px 30px -22px rgba(40,25,15,.45);font-size:16px}
  body.menu-open nav a:not(.cta){padding:13px 0;border-bottom:1px solid #ece4d8}
  body.menu-open nav a[aria-current="page"]{color:#b5583a;border-bottom-color:#ece4d8;font-weight:600}
  body.menu-open nav .cta{margin-top:14px;text-align:center}
  .hero,.banner,.media,.split,.vals,.cards3,.cards2,.cards4,.people,.order-wrap,.beliefs,.feature,.conf{grid-template-columns:1fr}
  .hero{gap:28px;padding:20px 0 40px}
  .hero .ph{height:300px}
  .hero>.frame{order:-1}
  h1{font-size:44px}
  .banner{gap:26px;padding:16px 0 36px}
  .banner h1{font-size:40px}
  .banner .frame,.media .frame,.media.tall .frame{height:280px}
  .media{gap:26px}
  .media.rev>.frame{order:0}
  .where{grid-template-columns:1fr}
  .where div{padding:22px 24px}
  .where div+div{border-left:0;border-top:1px solid rgba(243,237,228,.12)}
  .sec{padding:44px 0 46px}
  .sec h2,.sec h2.sm{font-size:31px;margin-bottom:20px}
  .intro{margin:-6px 0 22px}
  .vals{gap:18px}
  .rows .r{grid-template-columns:1fr;gap:4px}
  .feature .frame,.conf .frame{min-height:0;height:240px}
  .feature .tx,.conf .tx{padding:26px 24px}
  .srow{grid-template-columns:1fr auto;gap:4px 14px}
  .srow b{grid-column:1/-1}
  .srow em{text-align:right}
  .form{padding:24px 20px}
  .form .grid{grid-template-columns:1fr}
  .order{padding:6px 20px}
  footer .fgrid{grid-template-columns:1fr 1fr;gap:28px}
}
@media (max-width:480px){
  .brand{font-size:19px;gap:10px}
  h1{font-size:38px}
  .banner h1{font-size:35px}
  .lede{font-size:17px}
  .btns{flex-wrap:wrap}
  .tile .ph{height:220px}
  .tile .tx{padding:20px 20px 22px}
  .card{padding:22px 20px}
  footer .fgrid{grid-template-columns:1fr}
}
