/* White Rabbit Studios — Complete CSS revision V2.3.1 (Services mobile and cache refresh).
   Preserves V2.0.2 desktop/mobile navigation corrections and all other page styles.
   Preserves the V2.1 Work hero refinement and improves the About hero on narrow phones. */
:root{--wrs-cream:#f3eee7;--wrs-burgundy:#8f1d23;--wrs-gold:#d7b089;--wrs-ink:#211914}
.wr-site,.wrs-page,.wrs-work-page,.wrs-about{position:relative}
.wrs-unified-header,.wrs-unified-header *{box-sizing:border-box}
.wrs-unified-header{
 position:absolute;inset:0 0 auto 0;min-height:104px;z-index:240;
 padding:22px clamp(22px,4vw,60px);display:flex;align-items:flex-start;justify-content:space-between;
 gap:32px;font-family:Inter,Arial,sans-serif;background:transparent;
}
.wrs-unified-brand{display:inline-flex;align-items:center;flex:none;line-height:1;min-width:54px}
.wrs-unified-brand img{display:block;width:64px;max-width:64px;height:64px;object-fit:contain;border:0}
.wrs-unified-links{display:flex;gap:clamp(13px,2.2vw,32px);align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:calc(100% - 88px);padding:17px 0}
.wrs-unified-links a{
 color:#fff;text-decoration:none;font-size:11px;font-weight:600;letter-spacing:.16em;
 line-height:1.5;white-space:nowrap;text-shadow:0 1px 4px rgba(0,0,0,.26);
 transition:color .2s ease,opacity .2s ease;
}
.wrs-unified--dark .wrs-unified-links a{color:var(--wrs-ink);text-shadow:none}
.wrs-unified-links a:hover,.wrs-unified-links a[aria-current="page"]{color:var(--wrs-gold)}
.wrs-unified--dark .wrs-unified-links a:hover,.wrs-unified--dark .wrs-unified-links a[aria-current="page"]{color:var(--wrs-burgundy)}
.wrs-unified-links a:focus-visible,.wrs-unified-toggle:focus-visible,.wrs-unified-brand:focus-visible{outline:3px solid var(--wrs-gold);outline-offset:4px}
/* Base toggle: hidden unless the narrow-layout rules below explicitly enable it. */
.wrs-unified-header > button.wrs-unified-toggle{display:none!important}
/* Desktop: force a single five-link navigation even if theme button CSS conflicts. */
@media (min-width:801px){
 body .wrs-unified-header > button.wrs-unified-toggle{
   display:none!important;visibility:hidden!important;
 }
 body .wrs-unified-header > nav.wrs-unified-links{
   display:flex!important;visibility:visible!important;
 }
}
/* Protect front page only: never change the active Elementor Home or its own header. */
@media (max-width:800px){
 .wrs-unified-header{
   position:relative;inset:auto;min-height:76px;padding:10px 22px;
   background:var(--wrs-cream);color:var(--wrs-ink);align-items:center;gap:16px;
   box-shadow:0 1px 0 rgba(32,24,20,.08);z-index:260;
 }
 .wrs-unified-brand img{width:54px;height:54px;max-width:54px}
 .wrs-unified-links{position:absolute;top:100%;left:0;right:0;max-width:none;
   padding:8px 18px 18px;background:var(--wrs-cream);display:flex;flex-direction:column;
   align-items:stretch;gap:0;border-top:1px solid rgba(143,29,35,.12);
   box-shadow:0 18px 25px rgba(10,5,5,.18);max-height:calc(100dvh - 100px);overflow-y:auto;
 }
 .wrs-unified-header .wrs-unified-links a,
 .wrs-unified-header.wrs-unified--light .wrs-unified-links a,
 .wrs-unified-header.wrs-unified--dark .wrs-unified-links a{
   display:flex;align-items:center;min-height:48px;font-size:13px;letter-spacing:.15em;
   color:var(--wrs-ink);padding:10px 13px;text-shadow:none;
 }
 .wrs-unified-links a[aria-current="page"]{color:var(--wrs-burgundy)!important;background:rgba(143,29,35,.06)}
 html.wrs-js-ready body .wrs-unified-header > nav.wrs-unified-links{display:none!important}
 html.wrs-js-ready body .wrs-unified-header.is-open > nav.wrs-unified-links{display:flex!important}
 html.wrs-js-ready body .wrs-unified-header > button.wrs-unified-toggle{
   display:inline-flex!important;visibility:visible!important;align-items:center;justify-content:center;gap:10px;
   border:1px solid rgba(143,29,35,.36);background:transparent;color:var(--wrs-ink);
   min-height:44px;min-width:98px;padding:7px 12px;font:600 11px/1 Inter,Arial,sans-serif;
   letter-spacing:.14em;cursor:pointer;
 }
 .wrs-unified-toggle-bars{display:flex;flex-direction:column;justify-content:center;gap:4px;width:18px}
 .wrs-unified-toggle-bars i{display:block;width:18px;height:2px;background:var(--wrs-burgundy);transition:transform .2s ease,opacity .2s ease}
 .wrs-unified-header.is-open .wrs-unified-toggle-bars i:first-child{transform:translateY(6px) rotate(45deg)}
 .wrs-unified-header.is-open .wrs-unified-toggle-bars i:nth-child(2){opacity:0}
 .wrs-unified-header.is-open .wrs-unified-toggle-bars i:last-child{transform:translateY(-6px) rotate(-45deg)}
}
/* HOME: keep the model's face visible above a legible, contained headline. */
@media (max-width:800px){
 .wrs-page--home .wr-hero{height:auto!important;min-height:clamp(630px,95svh,860px);}
 .wrs-page--home .wr-hero-image{background-position:41% top!important}
 .wrs-page--home .wr-hero-overlay{height:auto!important;min-height:inherit;align-items:flex-end!important;justify-content:flex-start!important;padding:30px 18px 34px}
 .wrs-page--home .wr-hero-content{
   width:100%!important;max-width:540px!important;margin:0!important;padding:20px 18px!important;
   background:linear-gradient(90deg,rgba(16,8,10,.85),rgba(16,8,10,.57));
 }
 .wrs-page--home .wr-hero-title{font-size:clamp(33px,8vw,47px)!important;line-height:1.05!important;overflow-wrap:normal}
 .wrs-page--home .wr-hero-title span{color:#e5a5a8}
}
/* ABOUT: maintain existing right-side portrait; give the story more contrast. */
@media (max-width:800px){
 .wrs-about .wrs-hero{min-height:clamp(560px,82svh,720px)!important;isolation:isolate}
 .wrs-about .wrs-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
   background:linear-gradient(90deg,rgba(0,0,0,.50),rgba(0,0,0,.16) 67%,transparent)}
 .wrs-about .wrs-hero-text{z-index:1;top:clamp(100px,20vh,170px)!important;left:clamp(22px,6vw,44px)!important;right:22px!important;max-width:min(90%,580px)}
 .wrs-about .wrs-hero-text h1{font-size:clamp(42px,10vw,60px)!important;line-height:1.05}
 .wrs-about .wrs-hero-text p{font-size:clamp(13.5px,3.2vw,16px);line-height:1.6;max-width:560px}
}
/* SERVICES: dark heading against pale chess image; hero scales to screen. */
.wrs-page--services .wrs-hero-title{color:var(--wrs-ink)!important}
.wrs-page--services .wrs-hero-title span{color:var(--wrs-burgundy)!important}
@media (max-width:800px){
 .wrs-page--services .wrs-hero{height:auto!important;min-height:clamp(570px,83svh,760px)!important;background-position:65% top!important}
 .wrs-page--services .wrs-hero-content{
   width:min(92%,510px)!important;position:relative!important;top:auto!important;right:auto!important;
   padding:clamp(46px,8vw,90px) 0 55px!important;margin-left:clamp(22px,6vw,44px);
 }
 .wrs-page--services .wrs-hero-title{font-size:clamp(50px,12vw,70px)!important}
 .wrs-page--services .wrs-hero-text{font-size:clamp(14px,3.5vw,16px)!important;line-height:1.65}
}
/* WORK: artwork first, then distinct typography and category panel on phones. */
@media (max-width:800px){
 .wrs-page--work .wrs-work-hero{
   display:flex;flex-direction:column;min-height:0!important;height:auto!important;
   background:none!important;background-color:var(--wrs-cream)!important;
   padding:0 24px 54px!important;overflow:visible;
 }
 .wrs-page--work .wrs-work-hero::before{
   content:"";display:block;flex:none;width:calc(100% + 48px);margin:0 -24px 12px;
   /* About 18% shorter at 390px: bring the title onto the initial screen. */
   height:clamp(345px,102vw,535px);
   background:url('https://whiterabbitstudiostt.com/wp-content/uploads/2026/06/Rabbit-Falling2.png') center top/contain no-repeat;
 }
 .wrs-page--work .hero-title-wrap{
   width:100%!important;max-width:540px!important;margin:0!important;padding:5px 0 0!important;
 }
 .wrs-page--work .hero-top{font-size:clamp(48px,11vw,66px)!important;line-height:.98}
 .wrs-page--work .hero-bottom{font-size:clamp(60px,13vw,78px)!important;line-height:.95}
 .wrs-page--work .hero-copy{width:auto!important;max-width:480px;font-size:14px!important;line-height:1.65}
 .wrs-page--work .category-panel{
   position:relative!important;top:auto!important;right:auto!important;
   width:100%!important;max-width:540px!important;margin:38px 0 0!important;
   padding-left:20px!important;
 }
 .wrs-page--work .category-panel li{line-height:1.45;margin-bottom:12px}
}
/* CONTACT: keep the hero image, but move readable text onto a restrained light veil. */
@media (max-width:800px){
 .wrs-page--contact .wrs-contact-hero{
   display:flex;align-items:flex-end;min-height:clamp(580px,85svh,770px)!important;
   height:auto!important;padding:50px 20px 42px;background-position:43% top!important;
 }
 .wrs-page--contact .wrs-hero-content{
   position:relative!important;top:auto!important;left:auto!important;right:auto!important;
   width:100%!important;max-width:580px!important;padding:22px 20px 24px!important;
   background:rgba(243,238,231,.90);box-shadow:0 9px 25px rgba(30,20,14,.13);
 }
 .wrs-page--contact .wrs-hero-title{font-size:clamp(38px,9.6vw,58px)!important;line-height:.98}
 .wrs-page--contact .wrs-hero-text{font-size:clamp(14px,3.4vw,16px)!important;line-height:1.6;color:var(--wrs-ink)!important}
 .wrs-page--contact .wrs-contact-inner{display:flex!important;flex-direction:column;gap:30px}
 .wrs-page--contact .wrs-contact-form-wrap{order:0;width:100%}
 .wrs-page--contact .wrs-contact-art{order:1!important;width:100%}
}
/* ABOUT V2.2: narrow-phone portrait framing and more intentional hero height.
   The existing heading, story copy, desktop layout and Work collage are retained. */
@media (max-width:640px){
 .wrs-about .wrs-hero{
   min-height:clamp(560px,70svh,640px)!important;
   background-position:57% center!important;
 }
 .wrs-about .wrs-hero-text{
   top:clamp(105px,15svh,132px)!important;
   left:26px!important;right:26px!important;max-width:none!important;
 }
 .wrs-about .wrs-hero-text h1{
   font-size:clamp(39px,10.4vw,48px)!important;
 }
 .wrs-about .wrs-hero::before{
   background:linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.38) 67%,rgba(0,0,0,.10) 100%);
 }
}

/* SERVICES V2.3: narrow-screen art direction.
   The chess-piece artwork is a separate uncropped visual beneath the copy;
   the heading, paragraph widths, desktop hero and other pages are unchanged. */
@media (max-width:640px){
  .wrs-page--services .wrs-hero{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    background-image:none!important;
    background-color:#e3cbb7!important;
    overflow:hidden;
  }
  .wrs-page--services .wrs-hero-content{
    flex:none;
    width:100%!important;
    max-width:540px!important;
    margin:0 auto!important;
    padding:clamp(44px,11vw,60px) 25px 18px!important;
  }
  .wrs-page--services .wrs-hero-text{
    max-width:100%;
    line-height:1.6!important;
  }
  .wrs-page--services .wrs-hero::after{
    content:"";
    flex:none;
    display:block;
    width:100%;
    height:clamp(230px,66vw,340px);
    background-color:#e3cbb7;
    background-image:url('https://whiterabbitstudiostt.com/wp-content/uploads/2026/06/Services-Cover-Image.png');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:contain;
    pointer-events:none;
  }
}

/* Avoid motion for visitors who request it. */
@media(prefers-reduced-motion:reduce){.wrs-unified-links a,.wrs-unified-toggle-bars i{transition:none!important}}
