/* OBSIDIANCORE • PREMIUM CONTROL REFINEMENT • 2026-10-29
   Target: original ritual-help site, all 13 static pages.
   Do not alter form logic, data-state, page text, or URLs. */
:root{--oc-copper:#a77e4d;--oc-gold:#d9b47f;--oc-green:#244635;--oc-ivory:#fffaf2;}
/* Make the two wizard actions exactly equal in size and keep whole Russian words intact. */
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;width:100%!important;align-items:stretch!important;
  margin-top:28px!important;max-width:560px;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-back][hidden]){
  grid-template-columns:minmax(0,1fr)!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > .route-button{
  box-sizing:border-box!important;position:relative!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:88px!important;min-height:88px!important;max-height:88px!important;
  flex:none!important;display:flex!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;overflow:hidden!important;
  border-radius:16px!important;
  font:400 clamp(17px,1.55vw,22px)/1.12 QuietDisplay,Georgia,serif!important;
  letter-spacing:.002em!important;
  white-space:normal!important;word-break:normal!important;
  overflow-wrap:normal!important;hyphens:none!important;
  text-align:center!important;
  padding:14px 16px!important;
  transition:transform .42s cubic-bezier(.18,.75,.2,1),box-shadow .42s ease!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]{
  padding:13px 43px 13px 8px!important;
  color:#233d2e!important;border:1px solid #b38852!important;
  background:linear-gradient(117deg,#f5dfb6 0%,#e2bd86 60%,#c99b5b 100%)!important;
  box-shadow:0 13px 26px rgba(129,91,49,.19),inset 0 2px 2px rgba(255,254,241,.73)!important;
  text-wrap:balance!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-back]{
  border:1px solid #b79a6e!important;color:#345043!important;
  background:#fffbf5!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.82)!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]::after{
  content:""!important;position:absolute!important;
  inset:auto 9px auto auto!important;top:50%!important;
  transform:translateY(-50%) rotate(0deg)!important;
  width:34px!important;height:34px!important;min-width:34px!important;
  border:1px solid rgba(127,89,46,.56)!important;
  border-radius:50%!important;flex:0 0 34px!important;
  background:radial-gradient(circle at 27% 22%,rgba(255,251,230,.72),rgba(173,116,55,.18))!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='14.25' fill='none' stroke='%239b713d' stroke-opacity='.37' stroke-width='.65' stroke-dasharray='61 30'/%3E%3Cpath d='M10 17H24M19 12l5 5-5 5' fill='none' stroke='%235b4a2d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:100%!important;
  box-shadow:0 0 0 0 rgba(204,155,84,0),inset 0 2px 6px rgba(255,250,235,.65)!important;
  transition:transform .55s cubic-bezier(.17,.77,.17,1),box-shadow .45s!important;
  font-size:0!important;line-height:0!important;color:transparent!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]:hover:not(:disabled){
  transform:translateY(-3px)!important;
  box-shadow:0 20px 33px rgba(139,96,41,.26),inset 0 2px 2px #fffae9!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]:hover:not(:disabled)::after{
  transform:translateY(-50%) rotate(25deg)!important;
  box-shadow:0 0 15px rgba(203,159,86,.42)!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-back]:hover{
  transform:translateY(-2px)!important;background:#fdf4e3!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]:disabled{
  background:linear-gradient(120deg,#eee8de,#e1d8c9)!important;
  border-color:#c9b99e!important;color:#7e7160!important;box-shadow:none!important;cursor:default!important;
}
html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]:disabled::after{
  opacity:.42!important;
}
/* The same navigation geometry across other wizard actions; never split within a word. */
html #top.ryadom.polished.wow.rutual :is(.route-button,.wp-block-button__link,.route-open,.rutual-form-entry){
  overflow-wrap:normal!important;word-break:normal!important;
  hyphens:none!important;
}
html #top.ryadom.polished.wow.rutual .route-button{border-radius:13px!important;}
/* Shared hand-drawn emblem for plain Unicode arrows in links.
   Keep the link's meaning, hit target, and actual href unchanged. */
html #top.ryadom.polished.wow.rutual .oc-ornament-arrow{
  display:inline-grid;place-items:center;vertical-align:middle;
  width:27px;height:27px;min-width:27px;
  margin-inline:6px 0;border-radius:50%;
  border:1px solid rgba(172,127,72,.54);
  background:radial-gradient(circle at 24% 15%,#fffdf6,#f2e5d3);
  color:#946b3e!important;box-shadow:inset 0 2px 5px #fffef9,0 4px 11px rgba(156,126,79,.12);
  transition:transform .65s cubic-bezier(.18,.75,.19,1),box-shadow .4s,background-color .4s;
  line-height:1;
}
html #top.ryadom.polished.wow.rutual .oc-ornament-arrow svg{
  width:17px;height:17px;display:block;
  fill:none;stroke:currentColor;stroke-width:1.1;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform .65s cubic-bezier(.18,.7,.19,1);
}
html #top.ryadom.polished.wow.rutual a:hover .oc-ornament-arrow,
html #top.ryadom.polished.wow.rutual button:hover .oc-ornament-arrow{
  transform:rotate(45deg) scale(1.1);
  box-shadow:0 6px 19px rgba(175,131,70,.26),0 0 10px rgba(226,185,119,.32);
}
html #top.ryadom.polished.wow.rutual a:hover .oc-ornament-arrow svg,
html #top.ryadom.polished.wow.rutual button:hover .oc-ornament-arrow svg{transform:rotate(90deg)}
html #top.ryadom.polished.wow.rutual :is(a,button).oc-iconized::after{
  content:none!important;display:none!important;
}
/* Preserve the site's native link color in each section, including dark background panels. */
html #top.ryadom.polished.wow.rutual .messenger-arrow.oc-iconized,
html #top.ryadom.polished.wow.rutual .ritual-service-arrow.oc-iconized,
html #top.ryadom.polished.wow.rutual .route-open.oc-iconized{
  color:#906a40!important;background:#f9f1e5!important;
  border-radius:50%!important;overflow:visible!important;
}
html #top.ryadom.polished.wow.rutual :is(.messenger-arrow,.ritual-service-arrow,.route-open) .oc-ornament-arrow{
  margin:0;width:100%;height:100%;border:none;background:transparent;box-shadow:none;
}
html #top.ryadom.polished.wow.rutual a.oc-quiet-link{text-underline-offset:4px}
/* Existing link contrast is inherited from its section; do not recolor dark-background CTAs. */
/* Preserve original icon affordances in the mobile dock and reduced-motion mode. */
@media(max-width:360px){
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]){grid-template-columns:1fr!important;gap:10px!important}
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > .route-button{
   min-height:72px!important;height:72px!important;max-height:72px!important;
   font-size:19px!important;
 }
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]{padding:12px 52px 12px 20px!important}
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > [data-next]::after{right:13px!important}
}
@media(min-width:391px) and (max-width:680px){
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]) > .route-button{
  font-size:clamp(17px,4.7vw,21px)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html #top.ryadom.polished.wow.rutual :is(.oc-ornament-arrow,.oc-ornament-arrow svg,[data-next],[data-back]){transition:none!important;animation:none!important}
}
@media print{
 html #top.ryadom.polished.wow.rutual .route-actions:has(> [data-next]){display:none!important}
}

/* No default Unicode arrow survives on the main call-to-action pseudo elements. */
html #top.ryadom.polished.wow.rutual :is(.rust-btn .wp-block-button__link,.hero-copy .wp-block-button:first-child .wp-block-button__link):not(.oc-iconized)::after{
 content:""!important;
 display:inline-grid!important;place-items:center!important;
 width:30px!important;height:30px!important;min-width:30px!important;
 flex:0 0 30px!important;
 border:1px solid rgba(154,114,62,.6)!important;
 border-radius:50%!important;
 background:rgba(255,246,223,.26) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='12.3' stroke='%2396744b' stroke-width='.8' stroke-dasharray='53 24' fill='none'/%3E%3Cpath d='M9 15h12m-4.5-4.5L21 15l-4.5 4.5' fill='none' stroke='%2357432a' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat!important;
 font-size:0!important;line-height:0!important;color:transparent!important;
}
html #top.ryadom.polished.wow.rutual .feature-list li::before{
 content:"✣"!important;color:#a27b49!important;font-size:17px!important;
}
html #top.ryadom.polished.wow.rutual .intake-card [data-intake-submit] .oc-ornament-arrow{
 width:25px;height:25px;min-width:25px;margin-left:8px;
}
html #top.ryadom.polished.wow.rutual .messenger-arrow{color:#987045!important}
html #top.ryadom.polished.wow.rutual .oc-ornament-arrow svg{stroke:#956a3f!important}
html #top.ryadom.polished.wow.rutual .intake-card a.oc-quiet-link{color:inherit}
