/* =====================================================================
   Theme: Bright River (Option 7)
   The Option 6 desert palette (Desert Sand, Sandstone, Desert Stone, a
   little Terracotta) with pops of clear, bright river blue:
     Royal River   #1F64B0  buttons, links (deepened #1D5A9E for small text)
     Clear Blue    #2478C8  logo, numbers, headline
     Sky Water     #45B7E0  light accents, river highlights
     Shallows      #8FD3EC  pale aqua on dark sections
     Deep Channel  #33596D  header, bands, footer
   Fonts: Outfit headings, Figtree body, Instrument Serif digits.

   Every color and font on the site comes from this file. site.css only
   uses these variables. The "theme touches" at the bottom are optional
   extras that only this theme uses. Small text is held to 4.5:1 contrast.
   ===================================================================== */
:root{
  color-scheme: light;

  /* fonts (the Google Fonts link for them is in themes.json) */
  --display: "Outfit", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --serif: "Figtree", system-ui, sans-serif;
  --numerals: "Instrument Serif", Georgia, serif;
  --display-weight: 500;
  --display-track: .55;
  --display-scale: 1;

  /* surfaces */
  --bg: #EDE5D3;
  --surface: #F4EEE2;
  --surface-2: #E2D6BD;
  --band: linear-gradient(180deg, #3A6378, #2F5568);   /* Deep Channel */
  --footer-bg: #2C4A58;
  --pullquote-bg: linear-gradient(135deg, #2F6585, #2C4F62 65%);
  --tile-feature: linear-gradient(160deg, #2F6585, #2C4F62);
  --tile-bg: linear-gradient(160deg, rgba(252,249,242,.86), rgba(252,249,242,.55));
  --glass: rgba(252,249,242,.5);
  --glass-hover: rgba(252,249,242,.85);
  --embed-bg: #FBF9F4;
  --line: rgba(81,75,64,.15);
  --line-2: rgba(81,75,64,.28);

  /* text */
  --heading: #4A4439;            /* Desert Stone, a touch deeper */
  --text: #48423A;
  --soft: #4F483E;
  --muted: #544D42;

  /* accents */
  --accent: #1D5A9E;             /* Royal River, deepened for small text */
  --accent-hover: #174B85;
  --on-accent: #FFFFFF;
  --gold: #C6AD88;               /* Sandstone */
  --gold-hover: #D3BE9C;
  --on-gold: #3E392F;
  --gold-text: #1D5A9E;
  --cite: #6E3F2A;               /* Terracotta, deepened */
  --live: #B04A35;
  --focus: #2478C8;

  /* primary button: Royal River */
  --btn-bg: #1F64B0;
  --btn-hover: #1A5799;
  --btn-text: #FFFFFF;

  /* headings & numbers: the second headline line is a bright river-blue gradient */
  --em-gradient: linear-gradient(100deg, #2C6CA6 0%, #3478B0 55%, #2F74AA 100%);
  --num-style: normal;
  --num-fill: #3A79A6;
  --num-stroke: transparent;
  --num-stroke-soft: transparent;

  /* chrome */
  --header-bg: rgba(51,89,109,.95);
  --menu-bg: rgba(51,89,109,.98);
  --shadow: rgba(40,60,80,.24);
  --shadow-strong: rgba(40,60,80,.36);

  /* background light: warm light plus a clear sky-blue glow */
  --aurora-1: rgba(255,251,240,.95);
  --aurora-2: rgba(91,180,230,.4);
  --aurora-3: rgba(198,173,136,.45);
  --aurora-blend: normal;
  --aurora-opacity: .6;
  --grain-opacity: .04;

  /* light shining on the home headline */
  --hero-light: radial-gradient(ellipse 46% 50% at 22% 36%, rgba(255,254,248,.98) 0%, rgba(255,251,240,.7) 38%, rgba(255,251,240,0) 72%),
                linear-gradient(118deg, rgba(255,252,244,.75) 0%, rgba(255,252,244,.35) 26%, rgba(255,252,244,0) 50%);

  /* page background: light top left, a clear sky-blue haze on the right,
     soft sand low on the left (fixed), over a gentle sand gradient. */
  --page-texture: radial-gradient(ellipse 90% 75% at 0% 0%, rgba(255,252,244,.95), rgba(255,252,244,0) 72%),
                  radial-gradient(ellipse 75% 85% at 100% 40%, rgba(110,190,235,.3), rgba(110,190,235,0) 72%),
                  radial-gradient(ellipse 85% 70% at 0% 100%, rgba(198,173,136,.45), rgba(198,173,136,0) 72%),
                  radial-gradient(ellipse 55% 45% at 100% 100%, rgba(69,183,224,.18), rgba(69,183,224,0) 72%),
                  linear-gradient(180deg, #F3EDE0 0%, #EDE5D3 15%, #E5DAC2 40%, #ECE4D2 60%, #E4D9C0 82%, #E9E0CC 100%);
  --page-texture-size: auto;
  --page-texture-attach: fixed, fixed, fixed, fixed, scroll;

  /* hero logo card: the church logo in bright river blue, Terracotta "of" */
  --logo-main: #3A79A6;          /* steel river blue, as in the church logo */
  --logo-ink: #2F5F78;           /* "Fellowship" */
  --logo-accent: #C8623E;        /* Terracotta "of" */
  --logo-swoosh: #4A9FD4;        /* bright swoosh under RIVER */
  --logo-card-bg: linear-gradient(170deg, #FBF9F4 0%, #F4F0E7 100%);
  --scene-wave-1: #B0B8B2;        /* Silvermist */
  --scene-wave-2: #8FD3EC;        /* baby blue, for a pop */
  --scene-wave-3: #4D8085;        /* Riverway, richer teal */
  --scene-wave-4: #2F5D62;        /* deep Riverway teal */
  --scene-glow: rgba(58,121,166,.14);

  /* river strip at the bottom: Deep Channel back wave, bright clear water */
  --river-back: #2E5A74;          /* Deep Channel blue, sampled from the service-times tile */
  --river-top: #4DB3E0;
  --river-mid: #2582CC;
  --river-bottom: #1B5E9A;
  --river-sheen: rgba(255,255,255,.65);
  --river-shadow: rgba(30,60,90,.18);
  --river-word: #FFFFFF;
  --river-word-alt: #D7F0FA;
  --river-word-shadow: rgba(15,45,80,.4);
  --river-dot: #F2D7A6;

  /* "deep" sections: Deep Channel bands, footer, quotes, service-times tile */
  --d-heading: #FFFFFF;
  --d-text: #F5F7F6;
  --d-soft: #E6EDEF;
  --d-muted: #D9E3E6;
  --d-accent: #A9DDF2;           /* Shallows: bright aqua links on dark */
  --d-accent-hover: #D2EEF9;
  --d-on-accent: #0F2F48;
  --d-gold-text: #F2DDB2;
  --d-cite: #F2DDB2;
  --d-line: rgba(255,255,255,.18);
  --d-line-2: rgba(255,255,255,.34);
  --d-glass: rgba(255,255,255,.08);
  --d-glass-hover: rgba(255,255,255,.15);
  --d-tile-bg: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
}

/* Phones and tablets: lighter, scroll-friendly background (fixed glows
   stretch down the whole page on phones). */
@media (max-width:900px){
  :root{
    --page-texture: radial-gradient(ellipse 130% 1300px at 0% 0%, rgba(255,252,245,.95), rgba(255,252,245,0) 70%),
                    radial-gradient(ellipse 90% 1100px at 100% 55%, rgba(110,190,235,.24), rgba(110,190,235,0) 70%),
                    linear-gradient(180deg, #F6F2E8 0%, #F2ECDF 30%, #EEE7D6 55%, #F1EBDE 75%, #ECE4D2 100%);
    --page-texture-attach: scroll;
    --hero-light: radial-gradient(ellipse 95% 48% at 30% 24%, rgba(255,254,249,.98) 0%, rgba(255,252,243,.65) 45%, rgba(255,252,243,0) 78%),
                  linear-gradient(165deg, rgba(255,252,245,.8) 0%, rgba(255,252,245,0) 55%);
    --aurora-opacity: .4;
  }
}

/* ---------- theme touches (only this theme) ---------- */

/* Deep Channel header bar with light text */
.bar{
  --heading: #FFFFFF; --soft: #E6EDEF; --muted: #D9E3E6;
  --accent: #D2EEF9; --on-accent: #1A4A73;
  --line: rgba(255,255,255,.18); --line-2: rgba(255,255,255,.4);
  --glass: rgba(255,255,255,.06); --glass-hover: rgba(255,255,255,.14);
  border-color: transparent;
}
.lm-ring,.lm-wave-top{stroke:#FFFFFF}
.lm-wave{stroke:#6EC6EA}
.mark b{font-family:var(--body);font-weight:500;font-size:.95rem;letter-spacing:.2em;text-transform:uppercase}
.mark .sub{letter-spacing:.32em}

/* buttons on dark sections: bright Shallows aqua so they pop */
.on-dark, footer.site, .pullquote, .t-times{--btn-bg:#8FD3EC;--btn-hover:#B5E3F4;--btn-text:#0F2F48}

/* eyebrow: light sky pill with a glowing blue dot */
.eyebrow{background:rgba(91,180,230,.2);border-color:transparent;color:var(--accent)}
.eyebrow::before{background:#2E8FD8;box-shadow:0 0 10px rgba(46,143,216,.7)}
/* on dark bands ("Who we are"): a Terracotta chip */
.on-dark .eyebrow{background:#A8644A;color:#FFFFFF}
.on-dark .eyebrow::before{background:#F2DDB2;box-shadow:0 0 10px rgba(242,221,178,.7)}

/* a short Terracotta line under the home headline */
.hero-split h1::after{content:"";display:block;width:96px;height:4px;border-radius:2px;
  background:#B9785C;margin-top:clamp(1rem,2vh,1.5rem)}
.hero-split .verse{font-style:italic;font-weight:500;color:#443E35}
.hero-split .verse cite{font-weight:600}

/* countdown: calendar icon, stacked label, sky tiles, blue serif digits */
.cd-label{gap:.9rem}
.cd-label .dot{display:none}
.cd-icon{display:block;color:#3A79A6}
.cd-name{display:flex;flex-direction:column;gap:.15rem;padding-left:.9rem;border-left:1px solid var(--line-2);
  text-transform:uppercase;letter-spacing:.16em;font-size:.8rem;line-height:1.3}
.cd-k{font-weight:600;color:var(--accent)}
.cd-v{color:var(--soft)}
.cd-v::before{content:none!important}
.countdown.is-live .cd-icon{color:var(--live)}
.cd-clock span{background:rgba(110,190,235,.2);border-color:rgba(46,143,216,.18)}
.cd-clock b{font-family:var(--numerals);font-weight:400;letter-spacing:0;color:var(--accent);font-size:clamp(1.9rem,1.5rem + 1.3vw,2.6rem)}
.cd-clock small{color:var(--muted)}
@media (min-width:901px){.cd-clock b{font-size:clamp(1.7rem,1.3rem + 1vw,2.3rem)}}

/* serif numerals for the ministry and belief numbers */
.rail .num,.belief .num{font-family:var(--numerals);font-weight:400;letter-spacing:0}
.times-list .when{font-family:var(--numerals);font-weight:400;letter-spacing:0}

/* river strip: bright white sheen line */
.rb-sheen{stroke-width:1.5}
