/* Bibles.uk “watercolour” look (30 Nov 2026): the site matches the story paintings (art style C).
   Loaded after theme.css (and shop/dashboard CSS). Remove this one file to go back to the old navy look.
   Palette taken from the paintings: cream paper, ochre and honey light, terracotta and burgundy robes,
   olive and sage, dusty blue sky; deep dusty-blue ink for evening washes. All text pairs meet WCAG AA. */

:root{
  --paper:#FAF5EA;--surface:#FFFDF8;--ivory:#FFFDF8;--parchment:#F3EAD7;--wash:#F3EAD7;
  --ink-strong:#2C241F;--charcoal:#3B332D;--ink2:#6B5E53;--line:#E7DAC3;
  --midnight:#22344B;--deep:#1A2638;--blue:#2F4D6E;--royal:#2F5E80;
  --gold:#CB9A45;--gold-soft:#F4E0B0;--gold-ink:#7A5422;
  --olive:#5E6A3B;--burgundy:#8C3B2E;--ok:#4D6B36;--ok-ink:#3D5A2A;
  --terracotta:#B4643F;--sage:#8E9A6A;--sky:#9DBAD3;
  --shadow-warm:0 18px 40px -20px rgba(92,64,36,.45),0 2px 6px rgba(92,64,36,.08);
  /* Paper grain (tiny SVG noise, tiled) and the torn “deckled” paper edge used between sections. */
  --grain:url("/wp-content/themes/bibles-uk/assets/grain.webp?v=2");
  --deckle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0,24V12c30-5,52,4,84,1s48-9,80-5,40,8,74,4,46-10,82-6,54,9,90,4,40-7,70-3,52,8,86,3,44-9,78-5,50,9,86,4,38-6,70-2,48,7,82,2,46-8,80-4,46,8,80,3,40-6,74-2,52,5,84,4V24Z'/%3E%3C/svg%3E");
  --dusk:radial-gradient(110% 90% at 88% 112%,rgba(203,154,69,.42),transparent 58%),radial-gradient(80% 70% at 6% -6%,rgba(157,186,211,.30),transparent 62%),linear-gradient(172deg,#2D4563 0%,#22344B 52%,#1B2A3D 100%);
}
html.theme-dark{
  --paper:#141A26;--surface:#1B2333;--ivory:#FFFDF8;--parchment:#1A2232;--wash:#1A2232;--line:#2C3548;
  --ink-strong:#F4EDE1;--charcoal:#E4DDD0;--ink2:#B4ADA2;--gold-ink:#E8C98E;--royal:#9DBAD3;--blue:#AFC6DE;
  --shadow-warm:0 18px 40px -20px rgba(0,0,0,.6);
}

/* Paper everywhere */
body{background:var(--grain),var(--paper);color:var(--charcoal)}
a{color:var(--royal)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--royal)}
::selection{background:#F4E0B0;color:#2C241F}

/* Deckled edges: a strip of the next colour, cut with a torn-paper line */
.wc-edge,.hero:not(.hero--home)::after,.hero--home .hero__art::after,.section--ivory::before,.section--ivory::after,.site-footer::before{
  content:"";position:absolute;left:0;right:0;height:18px;pointer-events:none;
  -webkit-mask:var(--deckle) center/100% 100% no-repeat;mask:var(--deckle) center/100% 100% no-repeat}

/* ---------- Header: light paper bar on every page (story pages keep the floating bar over the painting) ---------- */
.site-header,.site-header--dark{background:rgba(250,245,234,.94);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.2) blur(10px);-webkit-backdrop-filter:saturate(1.2) blur(10px)}
html.theme-dark .site-header,html.theme-dark .site-header--dark{background:rgba(20,26,38,.94)}
.site-header--dark .brand{color:var(--ink-strong)}
.site-header--dark .brand span,.brand span{color:var(--gold-ink)}
.site-header--dark .site-nav a{color:var(--charcoal)}
.site-nav a[aria-current="page"],.site-header--dark .site-nav a[aria-current="page"]{color:var(--ink-strong);box-shadow:inset 0 -3px 0 rgba(203,154,69,.75)}
.site-header .app-title,.site-header--dark .app-title{color:var(--ink-strong)}
/* Collection links in page headers: ink on the light wash (were light text for the old dark header) */
.collections-nav a{color:var(--gold-ink)}
@media (max-width:760px){.collections-nav a{color:var(--ink-strong);background:rgba(255,253,248,.62);border-color:rgba(122,84,34,.28)}html.theme-dark .collections-nav a{background:rgba(27,35,51,.6);border-color:rgba(244,237,225,.25)}}
.site-help,.site-header--dark .site-help{color:var(--burgundy);text-decoration-thickness:1.5px;text-underline-offset:3px}
html.theme-dark .site-help{color:#E9A894}
.site-cta,.site-header--dark .site-cta{background:transparent;color:var(--ink-strong);box-shadow:inset 0 0 0 1.5px rgba(44,36,31,.55)}
.site-cta:hover,.site-header--dark .site-cta:hover{background:rgba(203,154,69,.16);box-shadow:inset 0 0 0 1.5px var(--gold)}
html.theme-dark .site-cta,html.theme-dark .site-header--dark .site-cta{color:var(--ink-strong);box-shadow:inset 0 0 0 1.5px rgba(244,237,225,.5)}
.site-header--dark a:focus-visible{outline-color:var(--royal)}
.site-header--dark .app-btn{color:var(--ink-strong)}
/* Story pages on phones: the bar floats over the painting (white icons), then becomes paper as you scroll */
@media (max-width:760px){
  .site-header.site-header--float{background:linear-gradient(180deg,rgba(44,30,20,.5),rgba(44,30,20,0));border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
  .site-header--float .app-btn,.site-header--float .app-title,.site-header--float .brand{color:#FFFDF8}
  html.hdr-solid .site-header.site-header--float{background:rgba(250,245,234,.96);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.2) blur(12px);-webkit-backdrop-filter:saturate(1.2) blur(12px)}
  html.hdr-solid .site-header--float .app-btn,html.hdr-solid .site-header--float .app-title{color:var(--ink-strong)}
  html.theme-dark.hdr-solid .site-header.site-header--float{background:rgba(20,26,38,.96)}
}

/* Story pages: the shade under the title is warm sepia, not navy */
.story-hero__shade{background:linear-gradient(180deg,rgba(40,28,20,.12) 0%,rgba(40,28,20,.22) 40%,rgba(36,26,20,.9) 100%)}
.story-hero .eyebrow--gold{color:#F4E0B0}

/* ---------- Buttons ---------- */
.button:not(.button--ghost):not(.site-cta){box-shadow:0 8px 20px -10px rgba(34,52,75,.6)}
.button:hover{box-shadow:0 14px 28px -12px rgba(34,52,75,.6)}
.button--gold,.site-nav .button{background:linear-gradient(180deg,#D6A957,#C4913C);color:#2C241F;box-shadow:0 10px 24px -12px rgba(150,100,30,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.button--ghost{color:#FFFDF8;box-shadow:inset 0 0 0 1.5px rgba(255,253,248,.55)}
html.theme-dark .button--gold{color:#2C241F}

/* ---------- Type accents ---------- */
.h1,.h2,.hero__title{color:var(--ink-strong)}

/* ---------- Home hero: the painting, full width, headline in the open sky ---------- */
.hero--home{display:grid;color:var(--ink-strong);background:var(--paper)}
.hero--home::after{display:none}
.hero--home>.hero__in,.hero--home>.hero__art{grid-area:1/1}
.hero--home .hero__art{position:relative;height:auto;margin:0;min-height:clamp(600px,88vh,900px);overflow:hidden}
.hero--home .hero__art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 72%}
.hero--home .hero__art::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(250,245,234,.78) 0%,rgba(250,245,234,.5) 26%,rgba(250,245,234,.08) 50%,rgba(250,245,234,0) 62%)}
.hero--home .hero__art::after{bottom:-1px;z-index:2;background:var(--paper)}
.hero--home .hero__in{position:relative;z-index:3;align-self:start;padding-top:clamp(56px,11vh,128px);padding-bottom:0}
.hero--home .eyebrow--gold{color:var(--gold-ink)}
.hero--home .hero__title{color:var(--ink-strong);text-shadow:0 2px 30px rgba(250,245,234,.9)}
.hero--home .hero__lead{color:#3B332D;font-weight:500;text-shadow:0 1px 16px rgba(250,245,234,.95)}
.hero--home .button--ghost{color:var(--ink-strong);background:rgba(255,253,248,.62);box-shadow:inset 0 0 0 1.5px rgba(44,36,31,.4);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.hero--home a:focus-visible{outline-color:var(--royal)}
html.theme-dark .hero--home .hero__art::before{background:linear-gradient(180deg,rgba(20,26,38,.86) 0%,rgba(20,26,38,.6) 30%,rgba(20,26,38,.15) 55%,rgba(20,26,38,0) 66%)}
html.theme-dark .hero--home .hero__art img{filter:brightness(.82) saturate(.9)}
html.theme-dark .hero--home .hero__title{text-shadow:0 2px 30px rgba(20,26,38,.9)}
html.theme-dark .hero--home .hero__lead{color:#EDE6DA;text-shadow:0 1px 16px rgba(20,26,38,.95)}
html.theme-dark .hero--home .button--ghost{color:#F4EDE1;background:rgba(20,26,38,.5);box-shadow:inset 0 0 0 1.5px rgba(244,237,225,.45)}

/* ---------- Other page heroes: a soft watercolour wash on paper ---------- */
.hero:not(.hero--home){position:relative;color:var(--ink-strong);
  background:var(--grain),radial-gradient(60% 90% at 0% 0%,rgba(157,186,211,.5),transparent 62%),radial-gradient(55% 80% at 100% 0%,rgba(244,224,176,.85),transparent 60%),radial-gradient(70% 70% at 65% 120%,rgba(142,154,106,.28),transparent 62%),radial-gradient(40% 60% at 20% 110%,rgba(180,100,63,.14),transparent 60%),var(--parchment)}
.hero:not(.hero--home)::after{top:auto;bottom:-1px;width:auto;height:18px;border-radius:0;background:var(--paper);right:0}
.hero:not(.hero--home) .eyebrow--gold,.hero:not(.hero--home) .eyebrow{color:var(--gold-ink)}
.hero:not(.hero--home) .hero__lead{color:var(--charcoal)}
.hero:not(.hero--home) .hero__note{color:var(--ink2)}
.hero:not(.hero--home) .crumb,.hero:not(.hero--home) .crumb a{color:var(--ink2)}
.hero:not(.hero--home) .button--ghost{color:var(--ink-strong);box-shadow:inset 0 0 0 1.5px rgba(44,36,31,.42)}
.hero:not(.hero--home) a:focus-visible{outline-color:var(--royal)}
.hero:not(.hero--home) .hero__art{margin-top:0}
.hero:not(.hero--home) .hero__art img{-webkit-mask:linear-gradient(180deg,transparent 0,#000 26%);mask:linear-gradient(180deg,transparent 0,#000 26%);object-position:center 72%}
.journey-hero__status{color:var(--gold-ink)}
html.theme-dark .hero:not(.hero--home){background:var(--grain),radial-gradient(60% 90% at 0% 0%,rgba(157,186,211,.16),transparent 62%),radial-gradient(55% 80% at 100% 0%,rgba(203,154,69,.18),transparent 60%),var(--parchment)}
html.theme-dark .hero:not(.hero--home) .button--ghost{color:var(--ink-strong);box-shadow:inset 0 0 0 1.5px rgba(244,237,225,.45)}

/* ---------- Sections ---------- */
.section--ivory{position:relative;border:0;background:var(--grain),radial-gradient(50% 60% at 100% 0%,rgba(244,224,176,.45),transparent 65%),radial-gradient(45% 55% at 0% 100%,rgba(157,186,211,.2),transparent 65%),var(--wash)}
.section--ivory::before{top:-17px;background:var(--wash);transform:none}
.section--ivory::after{bottom:-17px;background:var(--wash);transform:scaleY(-1)}
.section--ivory+.section--ivory::before{display:none}
.section--ivory .person,.section--ivory .ways li{background:var(--surface)}
html.theme-dark .section--ivory{background:var(--grain),var(--wash)}

/* Evening wash for the dark bands (story “At home”, church band, Church plan, footer) */
.section--night,.church-band,.tier--church{background:var(--grain),var(--dusk);color:#FBF6EC}
.church-band{border-radius:30px;box-shadow:0 30px 60px -30px rgba(27,42,61,.75)}
.church-band p,.tier--church p{color:#E6E0D4}
.church-band .eyebrow--gold,.section--night .eyebrow{color:#F4E0B0}
.church-band .h2,.section--night .h2,.tier--church .h2{color:#FFFDF8}

/* ---------- Cards ---------- */
.story-card{background:var(--surface);border:1px solid rgba(122,84,34,.12);box-shadow:var(--shadow-warm)}
.story-card:hover{box-shadow:0 26px 50px -22px rgba(92,64,36,.55),0 2px 6px rgba(92,64,36,.08)}
.story-card__art{background:var(--parchment)}
.story-card__title{color:var(--ink-strong)}
/* Phones: cards are the picture with the title on a warm shade (theme.css), so the title stays light there */
@media (max-width:760px){
  .story-card:not(.story-card--soon) .story-card__art::after{background:linear-gradient(180deg,rgba(40,28,20,0) 25%,rgba(40,28,20,.5) 55%,rgba(36,26,20,.92) 100%)}
  .story-card:not(.story-card--soon) .story-card__title{color:#FFFDF8}
}
.continue__card{background:var(--surface);box-shadow:var(--shadow-warm)}
.ways li{background:var(--surface);border-color:rgba(122,84,34,.12);box-shadow:0 12px 28px -20px rgba(92,64,36,.45)}
.ways__n{background:radial-gradient(circle at 35% 30%,#F8E7BE,#E2BC72);color:#2C241F;box-shadow:inset 0 0 0 1px rgba(122,84,34,.25)}
html.theme-dark .ways__n{background:#E8C98E;color:#2C241F}
.card,.form-card,.tier:not(.tier--church){background:var(--surface);border-color:var(--line)}
.home-qs li{background:var(--grain),linear-gradient(90deg,#F8E9C6,#FBF1DC);border-left:3px solid var(--gold)}
html.theme-dark .home-qs li{background:var(--surface)}

/* Paintings in sections: soft deckled frame */
.art{border-radius:18px}
.art--shadow,.verse-stack .art,.art--wide{box-shadow:0 26px 50px -26px rgba(92,64,36,.6),0 0 0 1px rgba(122,84,34,.08)}
.section--home .art--shadow{width:100%;max-width:560px}
.page-art{aspect-ratio:16/7;object-fit:cover;object-position:center 60%}
.verse-stack .art{aspect-ratio:4/3;object-fit:cover}

/* Locked verse: a card of warm paper with an ochre rule (Scripture stands out, quietly) */
.verse-card{padding:18px;border-radius:22px;background:var(--grain),var(--surface);border:1px solid var(--line)}
.verse-stack .verse-card{box-shadow:0 24px 50px -24px rgba(92,64,36,.6)}
.locked-verse{background:var(--grain),linear-gradient(90deg,#F7ECD4,#FCF6EA);color:var(--ink-strong);border-left-color:var(--gold)}
.locked-verse sup,.locked-verse figcaption{color:var(--gold-ink)}
html.theme-dark .locked-verse{background:#222B3D;color:#F4EDE1}
.section--night .locked-verse{background:rgba(255,253,248,.08);color:#FBF6EC}
.section--night .locked-verse sup,.section--night .locked-verse figcaption{color:#F4E0B0}

/* Claim tags in painting colours */
.tag--text{background:#4D6B36}.tag--evidence{background:#2F5E80}.tag--interp{background:#E2BC72;color:#2C241F}.tag--debate{background:#8C3B2E}.tag--art{background:#5E6A3B}

/* Prints sit in warm wooden frames */
.print{border-color:#4A3526;box-shadow:0 2px 4px rgba(92,64,36,.1),0 26px 50px -18px rgba(92,64,36,.55)}

/* ---------- Footer: evening wash under a torn paper edge ---------- */
.site-footer{position:relative;padding-top:72px;background:var(--grain),var(--dusk);color:#EDE6D8}
.site-footer::before{top:-1px;background:var(--paper);transform:scaleY(-1);height:18px}
.site-footer .muted{color:#C6CCD6}
.site-footer .brand--light{color:#FFFDF8}
.site-footer .brand--light span{color:#E8C98E}
.footer-h{color:#F4E0B0}
.help li{border-bottom-color:rgba(255,253,248,.14)}
.footer-links a{color:#EDE6D8}
.footer-links a:hover{color:#F4E0B0}
html.theme-dark .site-footer{background:var(--grain),var(--dusk)}

/* ---------- Phone app chrome ---------- */
.tabbar{background:rgba(255,253,248,.94);box-shadow:0 14px 32px -10px rgba(92,64,36,.4),0 1px 0 rgba(255,255,255,.8)}
html.theme-dark .tabbar{background:rgba(27,35,51,.9)}

@media (prefers-reduced-motion:reduce){.story-card,.button{transition:none}}
@media print{body{background:#fff}.site-footer::before,.section--ivory::before,.section--ivory::after{display:none}}

/* Bedtime (dark) mode: highlighted items keep a dark wash so their light text stays readable */
html.theme-dark .tag--text{background:#9CC584;color:#16210F}
html.theme-dark .tag--interp{background:#E2BC72;color:#2C241F}
html.theme-dark .loop .loop__you,html.theme-dark .stop[aria-pressed="true"]{background:#2A2619}
html.theme-dark .finder__toggle{background:var(--surface);border-color:var(--line);color:var(--charcoal)}
html.theme-dark a[aria-current="page"]>.trail__meta{color:#E9A894}

/* =====================================================================
   Footer, cards, dividers and motion (owner request, 30 Nov 2026)
   ===================================================================== */
:root{
  /* A hand-painted ochre brush stroke (rough edges from a tiny displacement filter) */
  --brush:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 28'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='5'/%3E%3C/filter%3E%3Cg filter='url(%23r)'%3E%3Cpath d='M6 15C46 6 98 5 146 9s84 9 108 4l2 5c-30 7-70 7-114 5S48 20 8 21z' fill='%23CB9A45' fill-opacity='.55'/%3E%3Cpath d='M30 15c40-4 86-5 130-2s60 4 80 2' stroke='%23B4643F' stroke-opacity='.35' stroke-width='2' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  /* Two ranges of evening hills for the top of the footer */
  --hills:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 62C120 40 250 58 380 44s260-26 400-6 260 18 420-4V120H0z' fill='%239DBAD3' fill-opacity='.16'/%3E%3Cpath d='M0 86c140-22 300 6 460-10s300-22 470-2 210 14 270 8V120H0z' fill='%231B2A3D' fill-opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- Dividers: a painted stroke between two plain sections, and a small one beside each label ---------- */
.section{position:relative}
.section:not(.section--ivory):not(.section--night)+.section:not(.section--ivory):not(.section--night)::before{
  content:"";position:absolute;top:-14px;left:50%;width:min(260px,52vw);height:28px;transform:translateX(-50%);
  background:var(--brush) center/100% 100% no-repeat;pointer-events:none}
.section .eyebrow{display:flex;align-items:center;gap:10px}
.section .eyebrow::before{content:"";width:22px;height:9px;flex:none;background:var(--brush) left center/260px 28px no-repeat;opacity:.9}
.section .center .eyebrow,.section.center .eyebrow{justify-content:center}
.section--night .eyebrow::before,.church-band .eyebrow::before,.story-card .eyebrow::before{display:none}

/* ---------- Footer: torn paper, a sky with a few stars, then the hills ---------- */
.site-footer{padding-top:150px;background:var(--grain),var(--hills) center 46px/100% 110px no-repeat,var(--dusk);overflow:hidden}
.site-footer::after{content:"";position:absolute;left:0;right:0;top:20px;height:70px;pointer-events:none;opacity:.8;
  background:radial-gradient(1.6px 1.6px at 8% 40%,#FFF6E0,transparent),radial-gradient(1.2px 1.2px at 19% 70%,#FFF6E0,transparent),radial-gradient(1.8px 1.8px at 33% 25%,#FFF6E0,transparent),radial-gradient(1.2px 1.2px at 47% 60%,#FFF6E0,transparent),radial-gradient(1.6px 1.6px at 61% 30%,#FFF6E0,transparent),radial-gradient(1.2px 1.2px at 74% 55%,#FFF6E0,transparent),radial-gradient(1.8px 1.8px at 86% 22%,#FFF6E0,transparent),radial-gradient(1.2px 1.2px at 94% 64%,#FFF6E0,transparent)}
.site-footer__in{border-bottom:1px solid rgba(255,253,248,.12);padding-bottom:32px}
.footer-display{margin-bottom:18px}
@media (max-width:760px){.site-footer{padding-top:120px;background-size:auto,200% 90px,auto;background-position:0 0,center 38px,0 0}}

/* ---------- Cards: deckled picture edge, paper grain, warm lift ---------- */
@media (min-width:761px){
  .story-card__art{position:relative}
  .story-card__art::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:12px;background:var(--surface);
    -webkit-mask:var(--deckle) center/100% 100% no-repeat;mask:var(--deckle) center/100% 100% no-repeat;pointer-events:none}
  .story-card__body{background-image:var(--grain)}
}
.story-card,.ways li,.loop li,.card,.tier,.next-story,.continue__card{transition:transform 420ms cubic-bezier(.2,.7,.2,1),box-shadow 420ms cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){
  .story-card:hover{transform:translateY(-6px) rotate(-.4deg)}
  .story-card:nth-child(even):hover{transform:translateY(-6px) rotate(.4deg)}
  .ways li:hover,.card:hover,.tier:not(.tier--church):hover{transform:translateY(-4px);box-shadow:0 24px 44px -24px rgba(92,64,36,.55),0 2px 6px rgba(92,64,36,.08)}
  .story-card__art img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
  .story-card:hover .story-card__art img{transform:scale(1.06)}
}
/* A soft band of light crosses the gold buttons on hover */
.button--gold{position:relative;overflow:hidden;isolation:isolate}
.button--gold::after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,253,248,.55),transparent);transform:translateX(-130%) skewX(-18deg);pointer-events:none}
@media (hover:hover){.button--gold:hover::after{transition:transform 900ms cubic-bezier(.2,.7,.2,1);transform:translateX(330%) skewX(-18deg)}}

/* ---------- Motion (assets/motion.js adds html.wc-motion; none of this runs with reduce motion) ---------- */
@property --wc-r{syntax:"<percentage>";inherits:false;initial-value:140%}
@keyframes wc-rise{from{opacity:0;transform:translate3d(0,24px,0)}to{opacity:1;transform:none}}
@keyframes wc-bleed{from{--wc-r:0%;opacity:.25;filter:saturate(.4) blur(6px)}55%{opacity:1}to{--wc-r:140%;opacity:1;filter:none}}
@keyframes wc-settle{from{scale:1.09}to{scale:1}}
@keyframes wc-mote{0%{transform:translate3d(0,0,0) scale(.5);opacity:0}20%{opacity:.95}55%{transform:translate3d(16px,-42px,0) scale(1)}85%{opacity:.6}100%{transform:translate3d(-10px,-90px,0) scale(.6);opacity:0}}
@keyframes wc-twinkle{0%,100%{opacity:.85}50%{opacity:.35}}

html.wc-motion .wc-reveal:not(.is-in),html.wc-motion .wc-paint:not(.is-in){opacity:0}
html.wc-motion .wc-reveal.is-in{animation:wc-rise 900ms cubic-bezier(.2,.7,.2,1) calc(var(--d,0) * 90ms) backwards}
html.wc-motion .wc-paint{-webkit-mask-image:radial-gradient(circle at 50% 55%,#000 calc(var(--wc-r) - 30%),transparent var(--wc-r));mask-image:radial-gradient(circle at 50% 55%,#000 calc(var(--wc-r) - 30%),transparent var(--wc-r))}
html.wc-motion .wc-paint.is-in{animation:wc-bleed 1500ms cubic-bezier(.22,.61,.36,1) calc(var(--d,0) * 90ms + 100ms) backwards}
html.wc-motion .section:not(.section--ivory):not(.section--night)+.section:not(.section--ivory):not(.section--night)::before{clip-path:inset(0 100% 0 0);transition:clip-path 1400ms cubic-bezier(.6,0,.2,1) 150ms}
html.wc-motion .section.is-painted::before{clip-path:inset(0 0 0 0)}
.wc-motes{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.wc-motes i{position:absolute;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,rgba(255,226,160,.95),rgba(255,214,140,0) 70%);animation:wc-mote 16s ease-in-out infinite}

@media (prefers-reduced-motion:no-preference){
  .hero--home .hero__art img{animation:wc-settle 2600ms cubic-bezier(.2,.7,.2,1) both}
  .hero--home .hero__in>*{animation:wc-rise 1000ms cubic-bezier(.2,.7,.2,1) backwards}
  .hero--home .hero__in>*:nth-child(2){animation-delay:120ms}.hero--home .hero__in>*:nth-child(3){animation-delay:240ms}.hero--home .hero__in>*:nth-child(4){animation-delay:360ms}
  .hero:not(.hero--home) .hero__in>*{animation:wc-rise 900ms cubic-bezier(.2,.7,.2,1) backwards}
  .hero:not(.hero--home) .hero__in>*:nth-child(2){animation-delay:90ms}.hero:not(.hero--home) .hero__in>*:nth-child(3){animation-delay:180ms}.hero:not(.hero--home) .hero__in>*:nth-child(n+4){animation-delay:270ms}
  img.story-hero__art{animation:wc-settle 7s cubic-bezier(.2,.7,.2,1) both}
  .site-footer::after{animation:wc-twinkle 6s ease-in-out infinite}
}
@media (prefers-reduced-motion:reduce){.wc-motes{display:none}}
@media (prefers-reduced-motion:no-preference){.story-hero__in>*{animation:wc-rise 1000ms cubic-bezier(.2,.7,.2,1) backwards}.story-hero__in>*:nth-child(2){animation-delay:120ms}.story-hero__in>*:nth-child(3){animation-delay:240ms}.story-hero__in>*:nth-child(n+4){animation-delay:360ms}}
