/* One Family Today: a phone app, not a web page.
   Brand only: orange #FF953E, peach #FFB76B, charcoal #20242A, slate #5E6C7A,
   ink #090A0D; Lequire for display, Montserrat for everything else. No blues
   (those are One Family Kids'). The memorable part is the orange app bar and
   the main-point slides, both cut from the mark's facets. */

:root {
  --orange: #FF953E; --peach: #FFB76B; --charcoal: #20242A; --charcoal-2: #2B3139; --charcoal-3: #39424C;
  --slate: #5E6C7A; --ink: #090A0D; --white: #F4FBFE; --text: #F4FBFE; /* the brand white (Colors RGB guide), not pure #FFF */ --muted: #AEB6BF;
  --line: rgba(255, 255, 255, .08); --orange-ink: #A8520F; --paper-muted: #5B6570;
  --r: 20px; --pad: 16px; --col: 560px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
/* The page background is orange: Safari colors the strip behind the clock from it (theme-color and fixed elements are
   ignored; tested on iOS 27.2), while the hero and main paint their own colors so the page itself looks the same. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(84px + var(--safe-t)); background: var(--orange); }
body.today { margin: 0; background: var(--orange); color: var(--text); font: 500 1rem/1.5 'Montserrat', system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
/* The home-screen app doesn't need that: an orange page washes the poster there. Its status bar is iOS's own, solid in
   theme-color (status-bar-style "default", see the template; under black-translucent iOS 26+ blurred whatever sat under the
   clock). If an older install still lays the page under the clock, .sbar fills that strip orange and the bar comes first. */
.sbar { display: none; }
@media (display-mode: standalone) {
  html, body.today { background: var(--charcoal); }
  body.today { display: flex; flex-direction: column; }
  body.today > * { order: 5; } /* the drawer, dialogs, toast and footer scripts: after the page */
  body.today > .sbar { display: block; order: 1; position: sticky; top: 0; height: var(--safe-t); background-color: var(--orange); z-index: 29; pointer-events: none; }
  body.today > .bar-wrap { order: 2; }
  body.today > .hero { order: 3; }
  body.today > .app { order: 4; }
}
/* Resets in :where() so every component class below wins over them */
.today :where(h1, h2, h3, p, ul, ol, blockquote, figure) { margin: 0; }
.today :where(ul, ol) { padding: 0; list-style: none; }
.today :where(a) { color: inherit; text-decoration: none; }
.today :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.today :where(img, svg) { display: block; max-width: 100%; }
.today :focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- hero: the poster, with the message set over its lower edge ---------- */
.hero { background: var(--ink); }
.hero__frame { position: relative; width: min(100%, 760px); margin: 0 auto; }
.hero__media { position: relative; aspect-ratio: 16 / 9; background: var(--charcoal-2); overflow: hidden; }
.hero__media img, .hero__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* Fade the poster into ink so the title reads over it */
.hero--over .hero__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9, 10, 13, 0) 52%, rgba(9, 10, 13, .6) 76%, var(--ink) 100%); }
.hero__play { position: absolute; inset: 0; width: 100%; }
/* iPhone/iPad: YouTube's player waits invisibly over the poster, so the first tap lands in it (see today.js) */
#hero-yt { z-index: 3; opacity: 0; }
.hero.is-playing #hero-yt { opacity: 1; }
.hero__guard { position: absolute; left: 0; right: 0; z-index: 4; }
.hero__guard--top { top: 0; height: 24%; }
.hero__guard--bottom { bottom: 0; height: 30%; }
.hero__btn { position: absolute; left: 50%; top: 42%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--charcoal); box-shadow: 0 10px 30px rgba(9, 10, 13, .45); z-index: 2; }
.hero__btn .i { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.hero__state { position: absolute; left: 12px; top: calc(12px + var(--safe-t)); z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(9, 10, 13, .72); color: var(--white); font-weight: 700; font-size: .8rem; backdrop-filter: blur(6px); }
.hero__state.is-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .3; } }
.hero__copy { width: min(var(--col), 100%); margin: 0 auto; padding: calc(48px + var(--safe-t)) 20px 22px; }
/* The title rises over the poster's lower edge and runs past it; taps go through to the video */
.hero--over .hero__copy { position: relative; z-index: 1; margin-top: -64px; padding: 0 20px 20px; pointer-events: none; text-shadow: 0 2px 14px rgba(9, 10, 13, .6); }
.hero.is-playing .hero__copy { margin-top: 0; padding-top: 16px; text-shadow: none; }
.hero.is-playing .hero__media::after { display: none; }
.hero__series { font-family: 'Lequire', 'Montserrat', sans-serif; text-transform: uppercase; color: var(--peach); font-size: .95rem; line-height: 1; margin-bottom: 6px; }
.hero__title { font-family: 'Lequire', 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 8.6vw, 2.8rem); line-height: .96; color: var(--white); text-wrap: balance; }
.hero__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero__meta span { color: var(--orange); }
/* The home-screen app: the poster sits below the bar (see html), so nothing in it sits under the clock */
@media (display-mode: standalone) {
  .hero__state { top: 12px; }
  .hero__copy { padding-top: 48px; }
  .hero--over .hero__copy { padding-top: 0; }
  .hero.is-playing .hero__copy { padding-top: 16px; }
}

/* ---------- the app bar ---------- */
/* A quiet pattern of the mark's facets behind the bar, tinted just off its orange. */
.bar-wrap { position: sticky; top: 0; z-index: 30; } /* top: 0 so Safari treats the bar as the page's header and tints the strip behind the clock orange */
@media (display-mode: standalone) { .bar-wrap { top: var(--safe-t); } } /* the home-screen app: stick below the status bar; the strip behind it fills in once stuck */
/* The strip behind the status bar (home-screen app): only once the bar is stuck to the top, so the bar keeps its own height mid-page */
.bar-wrap::before { content: ''; position: absolute; left: 0; right: 0; top: calc(-1 * var(--safe-t)); bottom: 0; z-index: -1; background: var(--orange) url(bar-facets.svg) left top / auto 100% repeat-x; opacity: 0; pointer-events: none; }
.bar-wrap.is-stuck { background-color: var(--orange); } /* Safari tints its status bar and toolbar from the pinned element's own background color: keep it orange */
.bar-wrap.is-stuck::before { opacity: 1; box-shadow: 0 12px 28px rgba(9, 10, 13, .38); }
.bar-wrap.is-stuck .bar { background: transparent; box-shadow: none; } /* one facet pattern runs behind the status bar and the bar together, with no seam */
/* The home-screen app: the bar is first and pinned from the start (see html), so it always wears its stuck look, one pattern from the clock down */
@media (display-mode: standalone) {
  .bar-wrap { background-color: var(--orange); }
  .bar-wrap::before { opacity: 1; box-shadow: 0 12px 28px rgba(9, 10, 13, .38); }
  .bar-wrap .bar { background: transparent; box-shadow: none; }
}
.bar { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 8px; padding: 10px max(12px, calc((100% - var(--col)) / 2 + 8px)); background: var(--orange) url(bar-facets.svg) left top / auto 100% repeat-x; color: var(--charcoal); box-shadow: 0 12px 28px rgba(9, 10, 13, .38); } /* square corners */
.bar__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.bar__btn:active { background: rgba(32, 36, 42, .2); }
.bar__btn .i { width: 22px; height: 22px; }
.bar__give { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--charcoal); color: var(--white) !important; font-weight: 700; font-size: .95rem; line-height: 1; }
.bar__give .i { width: 18px; height: 18px; }
.bar__give:active { background: #000; }
.bar__home { justify-self: center; display: flex; align-items: center; gap: 9px; padding: 4px; }
/* The mark in its brand colors; the soft shadow gives its orange facet an edge against the orange bar. */
.bar__mark { display: block; filter: drop-shadow(0 1px 1px rgba(32, 36, 42, .55)) drop-shadow(0 2px 5px rgba(32, 36, 42, .35)); }
.bar__mark svg { display: block; height: 38px; width: auto; }
.bar__words { height: 30px; width: auto; }
.today .bar :focus-visible { outline-color: var(--charcoal); }

/* ---------- the stack of cards ---------- */
.app { background: var(--charcoal); box-shadow: 0 4px 0 var(--charcoal); } /* the page behind is orange for Safari's top strip (see html); the shadow covers the page's last rounding pixel */
.stack { width: min(var(--col), 100%); margin: 0 auto; padding: 26px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.stack > * { min-width: 0; }
.intro { display: flex; align-items: center; gap: 12px; margin: 4px 4px 8px; font-family: 'Lequire', 'Montserrat', sans-serif; text-transform: uppercase; font-size: clamp(1rem, 4.6vw, 1.28rem); line-height: 1.1; color: var(--white); }
.intro__mark { flex: none; width: 26px; } /* centered on the two lines */
.intro__mark svg { display: block; width: 100%; height: auto; }
.intro__last { display: block; color: var(--peach); } /* "Make Disciples." on its own line */
.card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--r); }
.sec-h { font-family: 'Lequire', 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--white); }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; }
.sec-row a { color: var(--orange); font-weight: 700; font-size: .92rem; padding: 10px 4px; }
.next, .events { padding-top: 18px; display: grid; gap: 14px; }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.pill .i { width: 18px; height: 18px; }
.pill--orange { background: var(--orange); color: var(--charcoal); }
.pill--orange:active { background: var(--peach); }
.pill--ghost { border: 1.5px solid rgba(255, 255, 255, .22); color: var(--text); }

/* Rows that open (<details>) and rows that link */
.fold summary, .row, .nbcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 72px; cursor: pointer; list-style: none; text-align: left; width: 100%; }
.fold summary::-webkit-details-marker { display: none; }
.fold__ic, .row__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--charcoal-3); color: var(--orange); flex: none; }
.fold__txt, .row__txt, .nbcard__txt { display: grid; gap: 1px; flex: 1; min-width: 0; }
.fold__txt b, .row__txt b, .nbcard__txt b { font-weight: 700; font-size: 1.02rem; color: var(--white); }
.fold__txt span, .row__txt span, .nbcard__txt span { font-size: .86rem; color: var(--muted); }
.fold__chev { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 149, 62, .45); color: var(--orange); transition: transform .2s ease; flex: none; }
.fold__chev .i { width: 18px; height: 18px; }
.fold[open] .fold__chev { transform: rotate(180deg); }
.fold__body { padding: 0 18px 20px; display: grid; gap: 14px; justify-items: start; color: var(--text); }
.fold__body > p { color: var(--muted); }
.row__go, .nbcard__go { color: var(--orange); }
.passage { font-size: 1.08rem; line-height: 1.75; display: grid; gap: .8em; color: var(--white); }
.passage sup { font-size: .64em; font-weight: 800; color: var(--orange); margin: 0 .25em 0 .1em; vertical-align: .6em; line-height: 0; }
.passage .q1, .passage .q, .passage .q2 { padding-left: 1.2em; }
.fine { font-size: .74rem; color: var(--muted); }
.lit { font-size: 1.12rem; line-height: 1.65; font-weight: 500; color: var(--white); padding-left: 14px; border-left: 3px solid var(--orange); }
.lit__cite { color: var(--peach); font-weight: 700; font-size: .9rem; }

/* Sideways rails: main points and events */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail > li:not(.slide) { display: flex; }
.rail > li:not(.slide) > * { flex: 1; }
.rail--wide { grid-auto-columns: 88%; }
/* Main points: a quiet row that folds, then slides cut from the mark's facets */
.points { padding-top: 10px; display: grid; gap: 14px; }
.points__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 14px; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; color: var(--white); }
.points__head::-webkit-details-marker { display: none; }
.points__chev { color: var(--orange); transform: rotate(180deg); transition: transform .2s ease; }
.points:not([open]) .points__chev { transform: none; }
.scripture { display: grid; gap: 14px; }
.scripture__head { margin: 0; cursor: auto; } /* a plain heading, not a fold */
.slides { position: relative; padding-top: 16px; contain: inline-size; } /* a <details> otherwise widens to fit the slide rail */
.rail--slides { grid-auto-columns: 72%; padding-left: 14%; scroll-padding-inline: 14%; }
.slide { container-type: inline-size; position: relative; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--charcoal-2); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(9, 10, 13, .35); padding: 12px; scroll-snap-align: center; }
/* The point on a field of charcoal facets, its top-right corner cut like a facet of the mark. */
.slide p { position: relative; height: 100%; display: grid; place-items: center; text-align: center; padding: 30px 18px; background: var(--charcoal-2) url(slide-facets.svg) center / 100% 100% no-repeat; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); font-family: 'Lequire', 'Montserrat', sans-serif; text-transform: uppercase; font-size: clamp(1.05rem, 10cqi, 1.75rem); line-height: 1.04; color: var(--white); text-wrap: balance; overflow-wrap: anywhere; } /* sized to the card, so a long word (MANAGEMENT) never leaves the frame */
.slide--hope p { color: var(--peach); }
.slide__count { position: absolute; top: 22px; left: 22px; padding: 5px 10px; border-radius: 999px; background: rgba(9, 10, 13, .72); color: var(--white); font-weight: 700; font-size: .78rem; }
.slide__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: rgba(9, 10, 13, .78); color: var(--white); font-weight: 700; font-size: .8rem; border: 1px solid rgba(255, 255, 255, .12); }
.slide__btn .i { width: 17px; height: 17px; }
.slide__btn--full { bottom: 18px; right: 66px; padding: 0; } /* beside share, leaving the cut corner clear */
.slide__btn--one { bottom: 18px; right: 18px; padding: 0; }
.slide__btn--all { bottom: 18px; left: 18px; padding: 0 14px 0 12px; }
.slide__btn[aria-busy="true"] { opacity: .6; }
/* Full screen: the shareable image itself */
.viewer { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: calc(56px + var(--safe-t)) 16px calc(16px + var(--safe-b)); border: 0; background: rgba(9, 10, 13, .96); color: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.viewer[open] { display: flex; }
.viewer::backdrop { background: var(--ink); }
.viewer__img { width: auto; max-width: min(100%, 520px); max-height: calc(100% - 80px); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.viewer__x { position: absolute; top: calc(10px + var(--safe-t)); right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.slides__btn { position: absolute; top: calc(50% + 8px); width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 10, 13, .82); color: var(--white); border: 1px solid rgba(255, 255, 255, .14); }
.slides__btn--prev { left: -4px; }
.slides__btn--next { right: -4px; }
.slides__btn[disabled] { opacity: 0; pointer-events: none; }

/* Notebook entry */
.nbcard { border-color: rgba(255, 149, 62, .55); background: linear-gradient(180deg, rgba(255, 149, 62, .1), rgba(255, 149, 62, .03)), var(--charcoal-2); }
.nbcard__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--charcoal); flex: none; }
.nbcard__ic .i { width: 22px; height: 22px; }

/* Worship set */
.songs { background: var(--ink); padding: 6px 16px 8px; }
.songs__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 2px 10px; }
.songs__head h2 { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.songs__head span { color: var(--muted); font-size: .88rem; }
.song { display: grid; grid-template-columns: 56px minmax(0, 1fr) 42px 42px; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.song__art { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--charcoal-3); display: grid; place-items: center; color: var(--charcoal); }
.song__art--c0 { background: var(--orange); }
.song__art--c1 { background: var(--peach); }
.song__art--c2 { background: var(--slate); color: var(--white); }
.song__txt { display: grid; min-width: 0; }
.song__txt b, .song__txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song__txt b { font-weight: 700; color: var(--white); }
.song__txt span { font-size: .85rem; color: var(--muted); }
.song__svc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.song__svc svg { width: 22px; height: 22px; }

/* New here */
.connect { padding: 24px 20px 22px; display: grid; gap: 10px; justify-items: start; }
.connect h2 { font-family: 'Lequire', 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.65rem; line-height: 1; color: var(--white); }
.connect p { color: var(--muted); margin-bottom: 6px; }

/* A one-off notice from Today page → Page text: an orange-edged card above everything else */
.notice { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 16px; border-color: rgba(255, 149, 62, .55); }
.notice__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--charcoal); }
.notice p { color: var(--white); font-weight: 600; line-height: 1.4; }
.notice__go { grid-column: 2; justify-self: start; min-height: 40px; margin-top: 8px; padding: 0 18px; }

/* Next steps: the homepage's "ways to connect" tiles, two by two */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 176px; padding: 18px 16px 16px; border-radius: var(--r); }
.tile b { font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.tile__p { font-size: .86rem; line-height: 1.4; }
.tile__go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .9rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.tile--charcoal { background: var(--ink); color: var(--white); border: 1px solid var(--line); }
.tile--charcoal .tile__go { text-decoration-color: var(--orange); }
.tile--orange { background: var(--orange); color: var(--charcoal); }
.tile--peach { background: var(--peach); color: var(--charcoal); }
.tile--slate { background: var(--slate); color: var(--white); }
.tile--slate .tile__go { text-decoration-color: var(--peach); }

/* Coming up: white cards */
.evt { background: var(--white); color: var(--charcoal); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.evt__top { display: flex; gap: 14px; align-items: flex-start; }
.evt__date { flex: none; width: 58px; border-radius: 12px; overflow: hidden; text-align: center; box-shadow: 0 0 0 1px #E3E6E9; }
.evt__date span { display: block; background: var(--orange); color: var(--charcoal); font-weight: 800; font-size: .78rem; padding: 4px 0; }
.evt__date b { display: block; font-family: 'Lequire', sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1; padding: 8px 0 6px; }
.evt__txt { display: grid; gap: 4px; min-width: 0; }
.evt__txt h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.evt__txt p { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--paper-muted); }
.evt__txt .i { width: 15px; height: 15px; }
.evt__acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: auto; }
.evt__btn { min-height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: .88rem; border: 1.5px solid #DDE1E5; }
.evt__btn--cal { background: #FFF1E5; border-color: #FFD3AE; color: var(--orange-ink); }
.evt__btn .i { width: 17px; height: 17px; }
.today .evt :focus-visible { outline-color: var(--charcoal); }

/* Give: one condensed orange bar (the app bar's facet pattern): the heading on one line with a small tagline under it, the button on the right. The heading shrinks on narrow phones instead of wrapping. */
.give { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 3px; padding: 14px 14px 14px 20px; border-radius: var(--r); background: var(--orange) url(bar-facets.svg) right top / auto 100% repeat-x; color: var(--charcoal); }
.give b { font-family: 'Lequire', 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; font-size: min(1.4rem, 4.7cqi); line-height: 1; white-space: nowrap; align-self: end; }
.give__p { grid-column: 1; font-size: .7rem; font-weight: 500; line-height: 1.35; text-wrap: balance; align-self: start; }
.give__btn { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--charcoal); color: var(--white) !important; font-weight: 700; white-space: nowrap; }
.today .give:focus-visible { outline-color: var(--charcoal); }

.extra { padding: 18px; }

/* Footer */
.foot { width: min(var(--col), 100%); margin: 0 auto; padding: 34px var(--pad) calc(30px + var(--safe-b)); display: grid; justify-items: center; gap: 16px; text-align: center; color: var(--muted); font-size: .86rem; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal-2); border: 1px solid var(--line); color: var(--text); }
.foot__site a { text-decoration: underline; text-underline-offset: .25em; }
.foot__copy { font-size: .78rem; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(9, 10, 13, .6); opacity: 0; transition: opacity .25s ease; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(84vw, 320px); background: var(--ink); padding: calc(14px + var(--safe-t)) 14px calc(16px + var(--safe-b)); display: flex; flex-direction: column; gap: 6px; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; border-right: 1px solid var(--line); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px 8px; }
.drawer__head p { color: var(--muted); font-weight: 700; font-size: .9rem; }
.drawer__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.drawer__list a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 8px; border-radius: 14px; font-weight: 600; font-size: 1.04rem; color: var(--white); }
.drawer__list a:active { background: rgba(255, 255, 255, .05); }
.drawer__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 149, 62, .14); color: var(--orange); }
.drawer__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.drawer__row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 10px; color: var(--muted); font-weight: 600; font-size: .95rem; text-align: left; }
.drawer__row[hidden] { display: none; }

/* ---------- notebook: a paper sheet ---------- */
.nb { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--white); color: var(--charcoal); flex-direction: column; overscroll-behavior: contain; }
.nb[open] { display: flex; animation: nb-in .3s cubic-bezier(.2, .8, .2, 1); }
.nb::backdrop { background: var(--charcoal); }
@keyframes nb-in { from { transform: translateY(24px); opacity: 0; } }
.nb__top { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: calc(6px + var(--safe-t)) 8px 6px; border-bottom: 1px solid #ECEEF0; }
.nb__back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.nb__saved { text-align: center; font-size: .8rem; font-weight: 600; color: var(--paper-muted); }
.nb__scroll { flex: 1; overflow-y: auto; }
.nb__band { background: var(--orange); color: var(--charcoal); display: grid; place-items: center; padding: 18px; }
.nb__logo { height: 30px; width: auto; }
.nb__logo .cls-2 { fill: var(--white); } /* FAMILY in a second color, as in the brand logo, or its F (shared with ONE’s E) disappears */
.nb__page { width: min(640px, 100%); margin: 0 auto; padding: 24px 22px 40px; display: grid; gap: 6px; }
.nb__title { font-family: 'Lequire', 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 2.1rem; line-height: .98; }
.nb__sub { color: var(--orange-ink); font-weight: 700; font-size: .88rem; }
.nb__date { color: var(--paper-muted); font-size: .86rem; }
.nb__ref { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--orange-ink); font-weight: 800; font-size: 1.1rem; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; justify-self: start; }
.nb__passage { margin-top: 10px; font-size: 1.05rem; line-height: 1.6; display: grid; gap: .7em; }
.nb__passage sup { font-size: .62em; font-weight: 800; color: var(--orange-ink); margin: 0 .25em 0 .1em; vertical-align: .6em; line-height: 0; }
.nb__fine { font-size: .72rem; color: var(--paper-muted); margin-top: 22px; }
.nb__points { margin-top: 18px; counter-reset: p; display: grid; gap: 10px; }
.nb__points li { counter-increment: p; display: grid; grid-template-columns: 30px 1fr; gap: 6px; font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.nb__points li::before { content: counter(p); font-family: 'Lequire', sans-serif; font-size: 1.5rem; line-height: 1.05; color: var(--orange-ink); }
.nb__hope { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FFF1E5; color: var(--orange-ink); font-weight: 800; font-size: 1.05rem; }
.nb__label { margin-top: 24px; font-weight: 800; font-size: .95rem; }
.nb__label--rule { margin-top: 28px; padding-top: 20px; border-top: 1px solid #E6E8EA; }
.nb__notes { width: 100%; min-height: 34vh; resize: none; border: 0; padding: 4px 0 0; font: 500 1.08rem/2rem 'Montserrat', system-ui, sans-serif; color: var(--charcoal); background: repeating-linear-gradient(transparent 0 calc(2rem - 1px), #E6E8EA calc(2rem - 1px) 2rem) 0 4px / 100% 2rem local; }
.nb__notes:focus { outline: none; }
/* Past notes: earlier Sundays on this phone, each a fold on the paper */
.nb__past-sub { color: var(--paper-muted); font-size: .86rem; margin-bottom: 4px; }
.nb__week { border: 1px solid #E6E8EA; border-radius: 14px; margin-top: 10px; }
.nb__week summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; list-style: none; cursor: pointer; }
.nb__week summary::-webkit-details-marker { display: none; }
.nb__week-txt { flex: 1; display: grid; gap: 2px; }
.nb__week-txt b { font-weight: 800; font-size: 1rem; }
.nb__week-txt span { font-size: .84rem; color: var(--paper-muted); }
.nb__week-chev { color: var(--orange-ink); transition: transform .2s; }
.nb__week[open] .nb__week-chev { transform: rotate(180deg); }
.nb__week-body { padding: 0 16px 16px; display: grid; gap: 10px; }
.nb__week .nb__points { margin-top: 0; }
.nb__week .nb__points li { font-size: .98rem; }
.nb__week .nb__hope { margin-top: 0; font-size: .98rem; }
.nb__week-notes { white-space: pre-wrap; font-size: 1rem; line-height: 1.6; padding-top: 12px; border-top: 1px solid #ECEEF0; }
.nb__week-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nb__week-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #E1E4E7; font-weight: 700; font-size: .85rem; color: var(--charcoal); }
.nb__week-acts .i { width: 16px; height: 16px; color: var(--orange-ink); }
.nb__week-acts .nb__week-del { margin-left: auto; color: var(--paper-muted); }
.nb__week-acts .nb__week-del .i { color: var(--paper-muted); }
@media (prefers-reduced-motion: reduce) { .nb__week-chev { transition: none; } }
.nb__tools { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ECEEF0; padding: 4px 8px calc(4px + var(--safe-b)); }
.nb__tools button { min-height: 58px; display: grid; justify-items: center; align-content: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--paper-muted); border-radius: 12px; }
.nb__tools button:active { background: #F2F3F4; }
.nb__tools .i { color: var(--orange-ink); }
.today .nb :focus-visible { outline-color: var(--orange-ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 200; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: var(--white); color: var(--charcoal); font-weight: 700; font-size: .92rem; padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(9, 10, 13, .4); text-align: center; }
.toast[hidden] { display: none; }

/* Wider screens: keep the phone column, give the hero more room */
@media (min-width: 700px) {
  .rail { grid-auto-columns: 30%; margin-inline: 0; padding-inline: 0; }
  .rail--slides { grid-auto-columns: 46%; padding-left: 0; }
  .rail--wide { grid-auto-columns: 74%; }
}

@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__scrim, .fold__chev { transition: none; }
  .nb[open] { animation: none; }
  .hero__state.is-live::before { animation: none; }
}
