/* River Orlando Church — shared design system
   Phone-first. Desktop refinements live at the bottom (min-width queries).
   mobile.css carries only the small-phone fixes. */

:root{
  /* River blues (brand) */
  --roc-river-900:#0B2545;
  --roc-river-800:#0F2F58;
  --roc-river-700:#13315C;
  --roc-river-500:#2E6AA8;
  --roc-river-400:#4A90C2;
  --roc-river-300:#6FB3D6;
  --roc-river-200:#A9D4E8;
  --roc-river-100:#E4F1F8;
  --roc-mist:#EEF4F8;

  /* Ink + surfaces */
  --roc-ink-950:#0F1115;
  --roc-ink-900:#1B2230;
  --roc-ink-700:#3F4859;
  --roc-ink-500:#5E6778;
  --roc-ink-400:#8A92A2;
  --roc-ink-300:#BFC5CF;
  --roc-ink-200:#DEE2E8;
  --roc-ink-100:#EFF1F5;
  --roc-bone:#FAFAFA;
  --roc-white:#FFFFFF;

  /* Warm accent — used only where generosity or scripture speaks */
  --roc-ember:#C87445;
  --roc-sage-500:#608B8C;

  --ff-display:"Big Shoulders Display","Impact",sans-serif;
  --ff-heading:"Montserrat","Helvetica Neue",Arial,sans-serif;
  --ff-body:"Inter",Arial,sans-serif;
  --ff-scripture:"Fraunces",Georgia,serif;

  --container:1280px;
  --gutter:20px;
  --nav-h:68px;
  --radius:10px;
  --radius-lg:18px;
  --shadow-soft:0 12px 40px rgba(11,37,69,.12);
  --primary:var(--roc-river-500);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{background:var(--roc-bone);color:var(--roc-ink-900);font-family:var(--ff-body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
body{overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--roc-river-400);outline-offset:3px}

.wrap{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}

/* ---------- TYPE ---------- */
.h-display,h1,h2,h3{font-family:var(--ff-display);font-weight:900;line-height:.92;letter-spacing:-.01em;text-transform:uppercase;color:var(--roc-ink-950)}
h1{font-size:clamp(56px,13vw,150px);line-height:.88}
h2{font-size:clamp(40px,9vw,84px)}
h3{font-size:clamp(26px,5vw,36px);line-height:1}
/* The signature: the emphasized word in a headline drops into Fraunces italic.
   Bold condensed caps carry the conviction; the serif carries the warmth. */
h1 em,h2 em,h3 em,.h-display em{font-family:var(--ff-scripture);font-style:italic;font-weight:400;text-transform:none;letter-spacing:0;color:var(--roc-river-500);font-size:.92em;line-height:1}
.on-dark h1 em,.on-dark h2 em,.on-dark h3 em{color:var(--roc-river-200)}
.lede{font-size:clamp(17px,2vw,20px);color:var(--roc-ink-700);line-height:1.6;max-width:56ch}
/* One rhythm everywhere: heading → lede 20px, lede → button 30px. */
h1+.lede,h2+.lede,h3+.lede{margin-top:20px}
.lede+.btn,.lede+.btn-row{margin-top:30px}
.on-dark .lede{color:rgba(255,255,255,.82)}

.eyebrow{font-family:var(--ff-heading);font-weight:700;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--roc-river-500);display:inline-flex;align-items:center;gap:10px;margin-bottom:18px}
.eyebrow::before{content:"";width:22px;height:8px;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'><path d='M0 6C3 6 3 2 5.5 2S8 6 11 6s3-4 5.5-4S19 6 22 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'><path d='M0 6C3 6 3 2 5.5 2S8 6 11 6s3-4 5.5-4S19 6 22 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>") center/contain no-repeat}
.on-dark .eyebrow,.eyebrow.on-dark{color:var(--roc-river-200)}

.scripture{font-family:var(--ff-scripture);font-style:italic;font-weight:400;line-height:1.35;font-size:clamp(20px,2.4vw,26px);letter-spacing:-.005em}
.scripture cite{display:block;font-family:var(--ff-heading);font-style:normal;font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;margin-top:14px;color:var(--roc-river-500)}
.on-dark .scripture cite{color:var(--roc-river-200)}

/* ---------- BUTTONS (≥48px tall) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--ff-heading);font-weight:700;font-size:15px;letter-spacing:.02em;min-height:52px;padding:14px 26px;border:0;border-radius:var(--radius);cursor:pointer;transition:background .18s,color .18s,transform .18s,box-shadow .18s;line-height:1.1;text-align:center}
.btn-primary{background:var(--roc-river-500);color:var(--roc-white);box-shadow:0 8px 24px rgba(46,106,168,.28)}
.btn-primary:hover{background:var(--roc-river-700);transform:translateY(-1px)}
.btn-dark{background:var(--roc-river-900);color:var(--roc-white)}
.btn-dark:hover{background:var(--roc-river-700)}
.btn-light{background:var(--roc-white);color:var(--roc-river-900)}
.btn-light:hover{background:var(--roc-river-100)}
.btn-ghost{background:transparent;color:var(--roc-river-900);border:1.5px solid var(--roc-ink-300)}
.btn-ghost:hover{border-color:var(--roc-river-900);background:var(--roc-white)}
.btn-ghost-light{background:rgba(255,255,255,.08);color:var(--roc-white);border:1.5px solid rgba(255,255,255,.5);backdrop-filter:blur(6px)}
.btn-ghost-light:hover{background:var(--roc-white);color:var(--roc-river-900);border-color:var(--roc-white)}
.btn .arr{transition:transform .2s}
.btn:hover .arr{transform:translateX(4px)}
.btn-row{display:flex;flex-direction:column;gap:12px;margin-top:30px}
.btn-row .btn{width:100%}

/* ---------- SECTIONS ---------- */
section{padding:72px 0}
.on-dark{background:var(--roc-river-900);color:var(--roc-white)}
.on-dark h1,.on-dark h2,.on-dark h3{color:var(--roc-white)}
.on-mist{background:var(--roc-mist)}
.on-white{background:var(--roc-white)}
.sec-head{margin-bottom:40px;max-width:820px}
.sec-head .lede{margin-top:20px}
.sec-head.center{text-align:center;margin-left:auto;margin-right:auto}
.sec-head.center .lede{margin-left:auto;margin-right:auto}

/* The river edge — one soft wave where a photo section meets the page. */
.river-edge{position:relative}
.river-edge::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:calc(clamp(28px,5vw,72px) + 2px);background:var(--river-edge-color,var(--roc-bone));-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'><path d='M0 40C180 70 360 10 540 24S900 72 1080 48 1320 10 1440 30V72H0z' fill='black'/></svg>") center/100% 100% no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'><path d='M0 40C180 70 360 10 540 24S900 72 1080 48 1320 10 1440 30V72H0z' fill='black'/></svg>") center/100% 100% no-repeat;z-index:3;pointer-events:none}

/* ---------- NAV (fixed, over the photo) ---------- */
.roc-nav{position:fixed;top:0;left:0;right:0;z-index:100;color:var(--roc-white);transition:background .3s,box-shadow .3s;background:linear-gradient(180deg,rgba(11,37,69,.55),rgba(11,37,69,0))}
.roc-nav.is-solid{background:rgba(11,37,69,.9);backdrop-filter:saturate(160%) blur(14px);-webkit-backdrop-filter:saturate(160%) blur(14px);box-shadow:0 1px 0 rgba(255,255,255,.08),0 10px 30px rgba(11,37,69,.18)}
.roc-nav .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h);gap:16px}
.roc-nav .brand{display:flex;align-items:center;min-height:44px}
.roc-nav .brand img{height:36px;width:auto;filter:brightness(0) invert(1)}
.roc-nav ul{display:none;gap:4px;list-style:none;align-items:center}
.roc-nav ul a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;font-family:var(--ff-heading);font-weight:600;font-size:14px;letter-spacing:.02em;color:rgba(255,255,255,.88);border-radius:999px;transition:background .18s,color .18s}
.roc-nav ul a:hover{background:rgba(255,255,255,.1);color:var(--roc-white)}
.roc-nav ul a.active{color:var(--roc-white);background:rgba(255,255,255,.14)}
.roc-nav ul a.cta{margin-left:10px;padding:0 20px;background:var(--roc-river-500);color:var(--roc-white);font-weight:700;border-radius:var(--radius);box-shadow:0 6px 18px rgba(46,106,168,.35)}
.roc-nav ul a.cta:hover{background:var(--roc-river-400)}

/* Hamburger (phones/tablets) */
.roc-burger{display:inline-flex;width:48px;height:48px;margin-right:-10px;padding:0;background:transparent;border:0;cursor:pointer;align-items:center;justify-content:center;border-radius:999px;color:var(--roc-white)}
.roc-burger span{display:block;width:22px;height:2px;background:currentColor;position:relative;transition:background .2s}
.roc-burger span::before,.roc-burger span::after{content:"";position:absolute;left:0;width:22px;height:2px;background:currentColor;transition:transform .25s,top .25s}
.roc-burger span::before{top:-7px}
.roc-burger span::after{top:7px}
body.nav-open .roc-burger span{background:transparent}
body.nav-open .roc-burger span::before{top:0;transform:rotate(45deg)}
body.nav-open .roc-burger span::after{top:0;transform:rotate(-45deg)}

/* Drawer */
.roc-drawer{position:fixed;inset:0;background:var(--roc-river-900);color:var(--roc-white);z-index:90;transform:translateY(-102%);transition:transform .4s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;padding:calc(var(--nav-h) + 16px) var(--gutter) 28px;overflow-y:auto;visibility:hidden}
body.nav-open .roc-drawer{transform:none;visibility:visible}
body.nav-open{overflow:hidden}
.roc-drawer ul{list-style:none;display:flex;flex-direction:column}
.roc-drawer ul li{border-bottom:1px solid rgba(255,255,255,.1)}
.roc-drawer ul a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:12px 0;font-family:var(--ff-display);font-weight:800;font-size:30px;letter-spacing:.01em;text-transform:uppercase;color:var(--roc-white)}
.roc-drawer ul a.active{color:var(--roc-river-200)}
.roc-drawer ul a::after{content:"→";font-family:var(--ff-heading);opacity:.4;font-size:20px;font-weight:400}
.roc-drawer .foot{margin-top:auto;padding-top:24px}
.roc-drawer .foot b{display:block;font-family:var(--ff-heading);font-size:12px;letter-spacing:.2em;color:var(--roc-river-200);font-weight:700;text-transform:uppercase;margin-bottom:8px}
.roc-drawer .foot span{font-family:var(--ff-heading);font-size:16px;color:rgba(255,255,255,.85);display:block;line-height:1.5}
.roc-drawer .foot .cta-big{margin-top:22px;width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;background:var(--roc-river-500);color:var(--roc-white);font-family:var(--ff-heading);font-weight:700;font-size:16px;border-radius:var(--radius)}
.roc-drawer .foot .call{margin-top:10px;width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(255,255,255,.4);color:var(--roc-white);font-family:var(--ff-heading);font-weight:600;font-size:16px;border-radius:var(--radius)}

/* ---------- PHOTO HERO (every page opens with a real photo, edge to edge) ---------- */
.hero{position:relative;display:flex;align-items:flex-end;min-height:100svh;min-height:100vh;overflow:hidden;background:var(--roc-river-900);color:var(--roc-white);padding:calc(var(--nav-h) + 48px) 0 56px}
.hero.short{min-height:auto;padding:calc(var(--nav-h) + 72px) 0 56px}
.hero .media{position:absolute;inset:0}
.hero .media img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero .media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,37,69,.35) 0%,rgba(11,37,69,.15) 35%,rgba(11,37,69,.78) 75%,rgba(11,37,69,.94) 100%)}
.hero .wrap{position:relative;z-index:2;width:100%}
.hero h1{color:var(--roc-white);max-width:12ch}
.hero h1 em{color:var(--roc-river-200)}
.hero .lede{color:rgba(255,255,255,.86);margin-top:20px}
.hero .eyebrow{color:var(--roc-river-200)}

/* Service card (times live with the hero on every page) */
.times{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-lg);overflow:hidden;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.times a,.times div{background:rgba(11,37,69,.55);padding:16px 18px;color:var(--roc-white);display:block;min-height:44px}
.times a:hover{background:rgba(46,106,168,.6)}
.times b{display:block;font-family:var(--ff-heading);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--roc-river-200);font-weight:700;margin-bottom:6px}
.times span{display:block;font-family:var(--ff-heading);font-weight:700;font-size:18px;line-height:1.25}
.times small{display:block;font-size:13px;color:rgba(255,255,255,.7);margin-top:2px}
.times .full{grid-column:1/-1}
/* Label / time / note rows line up across the tiles, even when a label wraps. */
@supports(grid-template-rows:subgrid){
  .times a,.times div{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0;align-content:start}
}

/* ---------- CARDS / LISTS ---------- */
.card{background:var(--roc-white);border:1px solid var(--roc-ink-200);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
a.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:var(--roc-river-200)}
.card .cover{aspect-ratio:4/3;overflow:hidden;background:var(--roc-river-100)}
.card .cover img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
a.card:hover .cover img{transform:scale(1.04)}
.card .body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.card .tag{font-family:var(--ff-heading);font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:var(--roc-river-500)}
.card h3{font-size:clamp(24px,5vw,30px)}
.card p{font-size:15px;color:var(--roc-ink-700);line-height:1.55}
.card .meta{margin-top:auto;padding-top:14px;display:flex;flex-wrap:wrap;gap:8px 16px;font-family:var(--ff-heading);font-weight:600;font-size:14px;color:var(--roc-ink-500)}
.card .meta b{color:var(--roc-ink-950);font-weight:700}

.list{border-top:1px solid var(--roc-ink-200)}
.row{display:grid;grid-template-columns:64px 1fr;gap:14px 16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--roc-ink-200);color:inherit;min-height:72px}
.row .thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;background:var(--roc-river-100)}
.row .thumb img{width:100%;height:100%;object-fit:cover}
.row h3{font-size:22px;line-height:1.05}
.row h3 span{display:block;font-family:var(--ff-body);font-weight:400;font-size:14px;color:var(--roc-ink-500);margin-top:5px;text-transform:none;letter-spacing:0;line-height:1.4}
.row .when{font-family:var(--ff-heading);font-weight:700;font-size:13px;color:var(--roc-river-500);letter-spacing:.04em;white-space:nowrap;grid-column:2}
.row .arr{display:none;width:44px;height:44px;border:1.5px solid var(--roc-ink-300);border-radius:999px;place-items:center;transition:all .2s}
a.row:hover .arr{background:var(--roc-river-500);border-color:var(--roc-river-500);color:var(--roc-white)}
.row .arr svg{width:16px;height:16px}

/* ---------- FORMS ---------- */
form.roc-form{display:grid;gap:18px}
form.roc-form label{display:block;font-family:var(--ff-heading);font-size:14px;letter-spacing:.04em;font-weight:700;margin-bottom:8px;color:inherit}
form.roc-form input,form.roc-form select,form.roc-form textarea{width:100%;min-height:52px;background:var(--roc-white);border:1.5px solid var(--roc-ink-300);border-radius:var(--radius);color:var(--roc-ink-950);padding:12px 16px;font-family:var(--ff-body);font-size:16px;transition:border-color .2s,box-shadow .2s}
form.roc-form input:focus,form.roc-form select:focus,form.roc-form textarea:focus{outline:none;border-color:var(--roc-river-500);box-shadow:0 0 0 4px rgba(46,106,168,.18)}
form.roc-form textarea{resize:vertical;min-height:130px}
form.roc-form .two{display:grid;grid-template-columns:1fr;gap:18px}
form.roc-form select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E6AA8' stroke-width='2.2'><path d='M6 9l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:42px}
form.roc-form button{margin-top:6px;width:100%}
form.roc-form ::placeholder{color:var(--roc-ink-400)}

/* ---------- FOOTER ---------- */
.roc-foot{background:var(--roc-river-900);color:rgba(255,255,255,.75);padding:64px 0 32px;position:relative}
.roc-foot .top{display:grid;grid-template-columns:1fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12)}
.roc-foot img.mark{height:40px;width:auto;filter:brightness(0) invert(1);margin-bottom:22px}
.roc-foot h3{font-size:clamp(34px,7vw,44px);color:var(--roc-white)}
.roc-foot h3 em{color:var(--roc-river-200)}
.roc-foot .sub{font-size:15px;max-width:40ch;margin-top:16px;line-height:1.6}
.roc-foot h5{font-family:var(--ff-heading);font-weight:700;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--roc-river-200);margin-bottom:14px}
.roc-foot ul{list-style:none;display:flex;flex-direction:column;gap:4px}
.roc-foot ul li{font-family:var(--ff-heading);font-size:15px;color:var(--roc-white);line-height:1.5;padding:4px 0;min-height:52px;display:flex;align-items:center}
.roc-foot ul a{display:inline-flex;align-items:center;min-height:44px;color:var(--roc-white);font-weight:500;opacity:.92;overflow-wrap:anywhere}
.roc-foot ul a:hover{opacity:1;color:var(--roc-river-200)}
.roc-foot .bot{display:flex;flex-direction:column;gap:8px;padding-top:24px;font-family:var(--ff-heading);font-size:12px;letter-spacing:.06em;color:rgba(255,255,255,.55)}
.roc-foot .social{display:flex;gap:10px;margin-top:22px}
.roc-foot .social a{width:44px;height:44px;border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;border-radius:50%;color:var(--roc-white);transition:all .2s}
.roc-foot .social a:hover{background:var(--roc-river-500);border-color:var(--roc-river-500)}
.roc-foot .social svg{width:18px;height:18px}

/* Sticky "Plan Your Visit" bar — phones only */
.roc-stick{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;gap:8px;padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom));background:rgba(250,250,250,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--roc-ink-200)}
.roc-stick a{flex:1;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius);font-family:var(--ff-heading);font-weight:700;font-size:15px}
.roc-stick .go{background:var(--roc-river-500);color:var(--roc-white);flex:2}
.roc-stick .call{border:1.5px solid var(--roc-ink-300);color:var(--roc-river-900);background:var(--roc-white)}
.roc-stick svg{width:18px;height:18px}
body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
body.no-stick .roc-stick{display:none}
body.no-stick{padding-bottom:0}

@media(max-width:759px){
  .hero .media::after{background:linear-gradient(180deg,rgba(11,37,69,.45) 0%,rgba(11,37,69,.5) 40%,rgba(11,37,69,.86) 72%,rgba(11,37,69,.96) 100%)}
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.reveal.delay-1{transition-delay:.08s}
.reveal.delay-2{transition-delay:.16s}
.reveal.delay-3{transition-delay:.24s}
.reveal.delay-4{transition-delay:.32s}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  *{animation:none !important;transition-duration:.01ms !important}
}

/* ====================================================================
   TABLET ≥ 760px
   ==================================================================== */
@media(min-width:760px){
  :root{--gutter:32px;--nav-h:76px}
  section{padding:96px 0}
  .btn-row{flex-direction:row;flex-wrap:wrap}
  .btn-row .btn{width:auto}
  form.roc-form .two{grid-template-columns:1fr 1fr}
  form.roc-form button{width:auto;justify-self:start}
  .times{grid-template-columns:repeat(3,1fr)}
  .times .full{grid-column:auto}
  .row{grid-template-columns:72px 1fr auto auto;padding:18px 0}
  .row .thumb{width:72px;height:72px}
  .row .when{grid-column:auto;font-size:14px}
  .row .arr{display:grid}
  .roc-foot .top{grid-template-columns:1fr 1fr}
  .roc-foot .bot{flex-direction:row;justify-content:space-between}
  .hero{padding-bottom:72px}
}

/* ====================================================================
   DESKTOP ≥ 1024px
   ==================================================================== */
@media(min-width:1024px){
  :root{--gutter:48px;--nav-h:84px}
  section{padding:120px 0}
  .roc-nav ul{display:flex}
  .roc-burger{display:none}
  .roc-nav .brand img{height:42px}
  .roc-stick{display:none}
  body{padding-bottom:0}
  .hero{padding-bottom:88px}
  .hero.short{padding:calc(var(--nav-h) + 110px) 0 88px}
  .roc-foot{padding:96px 0 36px}
  .roc-foot .top{grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:48px;padding-bottom:48px}
  .sec-head{margin-bottom:56px}
  .row h3{font-size:26px}
}

/* ---------- EQUAL-ROW CARD GRIDS ----------
   Cards that sit side by side share row tracks, so the label, heading, body and
   footer of every card start at the same height — even when one heading wraps.
   Progressive enhancement: browsers without subgrid keep the flex-column cards. */
@supports(grid-template-rows:subgrid){
  @media(min-width:760px){
    .gather .grid>.card,.week .grid>.card{display:grid;grid-template-rows:subgrid;row-gap:0}
    .gather .grid>.card>.body,.week .grid>.card>.body{display:grid;grid-template-rows:subgrid;row-gap:8px}
    .gather .grid>.card>.body>.meta,.week .grid>.card>.body>.whenwhere{margin-top:0;align-self:start}
    /* Home "Gather" cards: cover + tag / heading / body / meta (meta pinned to the last row). */
    .gather .grid>.card{grid-row:span 5}
    .gather .grid>.card>.body{grid-row:span 4}
    .gather .grid>.card>.body>.meta{grid-row:4}
    /* Ministries weekly cards: cover + tag / heading / body / when-where / link. */
    .week .grid>.card{grid-row:span 6}
    .week .grid>.card>.body{grid-row:span 5;row-gap:10px}
  }
}
