/* TaxReck corner layout (22 October 2026), loaded after every other stylesheet. It replaces the still half:
   - pages run the full width, under a quarter circle in the top left corner that holds the stacked logo and the three
     menu lines, ringed in white and the logo green;
   - when a page opens, the logo builds itself once (the head script adds logo-play): the T and the coin come in from the
     left, the coin whole and rolling, "tax" and "reck" come in from the right, then the line rises from below and cuts
     the coin in half, as the logo is drawn. It never plays on hover;
   - scrolling shrinks the corner to just the three lines and closes an open menu (split.js adds scrolled); hovering the
     small corner once the page has stopped opens it back up (peek), with no animation;
   - the menu is a light bar across the top on wide screens and a light card under the corner below 1200px;
   - each page's headline, buttons, phone number, next deadline and credentials sit in a hero at the top of the page. */

:root{--cr:212px;--cs:96px}
.split{--lw:0px;--pad:clamp(20px,4vw,64px)}

/* ---------- the corner ---------- */
html body.split header.left{position:fixed;top:0;left:0;right:auto;bottom:auto;z-index:45;display:block;box-sizing:border-box;width:var(--cr);height:var(--cr);padding:0;border:0;border-radius:0 0 100% 0;background:var(--dark);
  box-shadow:0 0 0 7px #fff,0 0 0 11px var(--acc),0 18px 40px -16px rgba(11,16,32,.35);overflow:hidden;transition:width .4s var(--ease),height .4s var(--ease)}
html body.split header.left::before,html body.split header.left::after{display:none}
html body.split header.left .ltop{position:static;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:24px 0 0 24px;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;transition:padding .4s var(--ease)}
html body.split header.left .brand{display:block;max-height:120px;margin-bottom:16px;opacity:1;transition:max-height .4s var(--ease),margin .4s var(--ease),opacity .25s}
html body.split header.left .brand .tl-stack{width:102px}   /* .brand outranks split.css, which sized the old logo */

/* scrolled: just the three lines */
html.scrolled body.split header.left{width:var(--cs);height:var(--cs)}
html.scrolled body.split header.left .ltop{flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:14px;padding:26px 0 0 20px}
html.scrolled body.split header.left .brand .tl-stack{width:90px}   /* beside the lines, a little smaller, so it stays clear of the curve */
html.scrolled body.split header.left .menu-btn{order:-1}
html.scrolled body.split header.left .brand{max-width:0;max-height:0;margin-bottom:0;opacity:0;transition:max-height .3s var(--ease),margin .3s var(--ease),opacity .12s}
/* hover once the page has stopped, the keyboard, or an open menu: back to full size, no animation */
html.scrolled body.split header.left.peek,html.scrolled body.split header.left:has(:focus-visible),html.scrolled body.split.menu-open header.left{width:var(--cr);height:var(--cr)}
/* the lines do not move when the corner grows back (so a click on them always lands); the logo appears beside them */
html.scrolled body.split header.left.peek .brand,html.scrolled body.split header.left:has(:focus-visible) .brand,html.scrolled body.split.menu-open header.left .brand{max-width:120px;max-height:120px;margin-bottom:0;opacity:1}

/* ---------- the logo builds itself when a page opens ---------- */
.tl-coinset,.tl-cap{transform-box:fill-box;transform-origin:center}
.tl-cap{fill:var(--acc);stroke:var(--acc);stroke-width:1.1}   /* the stroke hides the hairline where the two coin pieces meet */
html body.split header.left .tl-cap{opacity:0}   /* at rest the coin is cut by the line, as the logo is drawn */
@keyframes lgLeft{from{opacity:0;transform:translateX(-80px)}}
@keyframes lgRoll{from{opacity:0;transform:translateX(-110px) rotate(-360deg)}20%{opacity:1}to{opacity:1;transform:none}}
@keyframes lgRight{from{opacity:0;transform:translateX(80px)}}
@keyframes lgRise{from{opacity:1;transform:translateY(340px)}to{opacity:1;transform:none}}
/* the last step also hides the piece, so a browser that cannot clip it (older Safari) still ends on the half coin */
@keyframes lgCut{from{opacity:1;clip-path:inset(0 0 0 0)}99%{opacity:1;clip-path:inset(0 0 99% 0)}to{opacity:0;clip-path:inset(0 0 100% 0)}}
html.logo-play body.split header.left .tl-t{animation:lgLeft .6s var(--ease) both}
html.logo-play body.split header.left .tl-coinset{animation:lgRoll 1s cubic-bezier(.22,.8,.26,1) .08s both}
html.logo-play body.split header.left .tl-tax{animation:lgRight .6s var(--ease) .45s both}
html.logo-play body.split header.left .tl-reck{animation:lgRight .6s var(--ease) .58s both}
html.logo-play body.split header.left .tl-line{animation:lgRise .55s var(--ease) 1.05s both}
html.logo-play body.split header.left .tl-cap{animation:lgCut .45s var(--ease) 1.2s both}
/* a device set to show less motion (usual on Windows servers and remote desktops, where Windows animations are off)
   still sees the logo build, in the same order, with nothing moving: the pieces fade in, then the coin's far half fades away */
@keyframes lgFade{from{opacity:0}}
@keyframes lgFadeOut{from{opacity:1}to{opacity:0}}
@media (prefers-reduced-motion:reduce){
  html.logo-play body.split header.left .tl-t{animation:lgFade .45s ease both}
  html.logo-play body.split header.left .tl-coinset{animation:lgFade .45s ease .12s both}
  html.logo-play body.split header.left .tl-tax{animation:lgFade .45s ease .4s both}
  html.logo-play body.split header.left .tl-reck{animation:lgFade .45s ease .55s both}
  html.logo-play body.split header.left .tl-line{animation:lgFade .4s ease .85s both}
  html.logo-play body.split header.left .tl-cap{animation:lgFadeOut .4s ease 1.1s both}
  html body.split header.left,html body.split header.left .ltop,html body.split header.left .brand,html body.split .smenu{transition:none}
}

/* ---------- the three lines (a cross while the menu is open) ---------- */
html body.split header.left .menu-btn{flex:none;display:grid;place-items:center;width:42px;height:34px;padding:0;gap:0;border:0;border-radius:8px;background:none;font-size:0;color:#fff;cursor:pointer}
html body.split header.left .menu-btn i{position:relative;display:block;width:30px;height:2.5px;border-radius:2px;background:currentColor;transition:background .2s}
html body.split header.left .menu-btn i::before,html body.split header.left .menu-btn i::after{content:"";position:absolute;left:0;width:30px;height:2.5px;border-radius:2px;background:currentColor;transition:transform .3s var(--ease),top .3s var(--ease)}
html body.split header.left .menu-btn i::before{top:-9px}
html body.split header.left .menu-btn i::after{top:9px}
html body.split header.left .menu-btn:hover{color:var(--acc)}
html body.split header.left .menu-btn[aria-expanded="true"] i{background:transparent}
html body.split header.left .menu-btn[aria-expanded="true"] i::before{top:0;transform:rotate(45deg)}
html body.split header.left .menu-btn[aria-expanded="true"] i::after{top:0;transform:rotate(-45deg)}

/* ---------- the menu: light ---------- */
html body.split .smenu{color:var(--ink);background:#fff;overflow:visible;overscroll-behavior:auto;opacity:0;transition:opacity .25s,transform .4s var(--ease)}
html body.split .smenu.show{opacity:1;transform:none}
/* a closed menu takes no room, so it never sits invisibly over the three lines or the page */
html body.split .smenu[hidden]{display:none!important}
/* the menu leaves most of the screen free, so the page is never locked while it is open: a scroll or a swipe closes it */
html body.split.menu-open{overflow:visible;overflow-x:hidden}
html body.split .smenu .menu-top{display:none}
html body.split .smenu .menu-nav em{display:none}
html body.split .smenu .menu-nav > a,html body.split .smenu .menu-h{display:flex;align-items:center;gap:7px;width:auto;margin:0;color:var(--ink);font-size:15.5px;font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:nowrap;transition:background .2s,color .2s}
html body.split .smenu .menu-nav > a:hover,html body.split .smenu .menu-h:hover{background:var(--soft);color:var(--ink)}
html body.split .smenu .menu-nav > a[aria-current]{color:var(--acc-text);box-shadow:inset 0 -3px 0 var(--acc)}
html body.split .smenu .menu-h i{width:7px;height:7px;margin-left:2px}
html body.split .smenu .menu-group a{color:var(--graphite);font-size:15px;font-weight:600}
html body.split .smenu .menu-group a:hover{background:var(--soft);color:var(--ink)}
html body.split .smenu .menu-foot{border:0}
html body.split .smenu .menu-foot small{color:var(--muted)}
html body.split .smenu .menu-foot a:not(.sbtn){color:var(--ink)}
html body.split .smenu .menu-foot a:not(.sbtn):hover{color:var(--acc-text)}

/* wide screens: a bar across the top of the screen, beside the corner, with Services dropping down */
@media (min-width:1200px){
  html body.split .smenu{position:fixed;top:0;left:0;right:0;bottom:auto;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:18px;width:auto;height:96px;padding:0 clamp(20px,3vw,48px) 0 calc(var(--cr) + 32px);
    border-bottom:1px solid var(--line);box-shadow:0 22px 44px -30px rgba(11,16,32,.4);transform:translateY(-100%)}
  html body.split .smenu .menu-nav{display:flex;align-items:center;gap:2px}
  html body.split .smenu .menu-nav > a,html body.split .smenu .menu-h{padding:10px 14px;border-radius:12px}
  html body.split .smenu .menu-group{position:relative}
  html body.split .smenu .menu-group ul{position:absolute;top:calc(100% + 12px);left:0;display:grid;min-width:220px;margin:0;padding:8px;border:0;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line),0 24px 44px -20px rgba(11,16,32,.35);list-style:none}
  html body.split .smenu .menu-group ul[hidden]{display:none}
  html body.split .smenu .menu-group a{padding:9px 12px;border-radius:10px}
  html body.split .smenu .menu-foot{display:flex;align-items:center;gap:22px;padding:0}
  html body.split .smenu .menu-foot a:not(.sbtn){display:none}
  html body.split .smenu .menu-foot .sbtn{height:46px;margin:0;padding:0 20px;font-size:15px}
}
/* narrower screens: a card under the corner */
@media (max-width:1199px){
  html body.split .smenu{position:fixed;top:calc(var(--cr) + 20px);left:16px;right:16px;bottom:auto;z-index:44;display:block;width:auto;height:auto;padding:14px;border:0;border-radius:22px;box-shadow:0 0 0 1px var(--line),0 30px 60px -24px rgba(11,16,32,.4);transform:translateY(-10px)}
  html body.split .smenu .menu-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  html body.split .smenu .menu-nav > a,html body.split .smenu .menu-h{padding:11px 14px;border-radius:12px}
  html body.split .smenu .menu-group ul{position:static;min-width:0;margin:2px 0 6px 14px;padding:2px 0 2px 12px;border-radius:0;background:none;box-shadow:none;border-left:2px solid var(--acc);list-style:none}
  html body.split .smenu .menu-group a{padding:7px 10px;border-radius:10px}
  html body.split .smenu .menu-foot{display:block;margin-top:10px;padding:12px 0 0;border-top:1px solid var(--line)}
  html body.split .smenu .menu-foot a:not(.sbtn){display:none}
  html body.split .smenu .menu-foot .sbtn{display:flex;width:100%}
}

/* ---------- the page: full width, in one column ---------- */
.right{max-width:1400px;margin:0 auto}
.split .sec:first-child{padding-top:0}
/* section headings show at every width now that the still half no longer carries them */
.split .sh{position:static;width:auto;height:auto;margin:0 0 18px;overflow:visible;clip:auto;clip-path:none;white-space:normal;color:var(--ink);font-size:clamp(32px,3.2vw,50px);font-weight:800;letter-spacing:-.045em;line-height:1.04}
.split .sh span{color:var(--acc-text)}
/* back to top: the round button, at every width */
#totop{display:block!important}
/* panels that stick while their section scrolls stop below the small corner, not under it */
.split .b-do .b-get,.split .b-faq-ph{top:calc(var(--cs) + 28px)}

/* ---------- the hero: the page's headline, buttons, phone, next deadline and credentials ---------- */
.hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(28px,3.6vw,64px);align-items:end;padding-top:clamp(28px,3vw,44px)}
.hero-t{padding-top:208px}   /* clear of the corner */
.hero h1{margin:0;color:var(--ink);font-size:clamp(46px,5vw,84px);font-weight:800;letter-spacing:-.055em;line-height:.98;text-wrap:balance}
.hero h1 span{color:var(--acc-text)}
.hero h1 small{display:block;margin-top:18px;color:var(--graphite);font-size:clamp(17px,1.35vw,20px);font-weight:700;letter-spacing:-.015em;line-height:1.35}
.hero-sub{max-width:46ch;margin-top:14px!important;color:var(--muted);font-size:17px;line-height:1.6}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-info{display:flex;flex-wrap:wrap;align-items:center;gap:16px 34px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.hero-info .tel{order:0;margin:0;padding:0;border:0;text-align:left;color:var(--ink)}
.hero-info .tel::before{display:none}
.hero-info .tel small,.hero-info .nxt small{color:var(--muted)}
.hero-info .tel b{display:block;margin-top:2px;font-size:26px;letter-spacing:-.035em;line-height:1}
.hero-info .tel:hover b,.hero-info .nxt:hover strong{color:var(--acc-text)}
.hero-info .nxt{order:1;flex:0 1 auto;margin:0;padding:0;border:0;color:var(--ink)}
.hero-info .nxt strong{color:var(--ink)}
.hero .lcred{order:0;justify-content:flex-start;margin-top:18px;padding-top:0;border:0;color:var(--muted);font-size:12.5px;text-align:left}
.hero .lcred-t{white-space:normal}
.hero .lcred-ch{display:inline!important}
.hero .lcred b,.hero .lcred i{color:var(--acc-text)}
.hero .lcred:hover{color:var(--ink)}
.hero .intro{height:clamp(460px,70vh,680px)}

/* every other page: the headline on the left, the phone, next deadline and credentials in a card on the right */
.hero-page{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);margin-bottom:clamp(40px,4.4vw,64px);padding-bottom:clamp(36px,4vw,56px);border-bottom:1px solid var(--line)}
.hero-page .hero-t{padding-top:206px}
.hero-page .crumbs{margin:0 0 18px}
.hero-page h1{font-size:clamp(42px,4.4vw,74px)}
.hero-page h1.long{font-size:clamp(34px,3.3vw,56px);letter-spacing:-.045em;line-height:1.03}
.hero-side{padding:24px 26px 22px;border-radius:24px;background:var(--soft)}
.hero-side .hero-info{flex-direction:column;align-items:flex-start;gap:18px;margin-top:0;padding-top:0;border-top:0}
.hero-side .lcred{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
/* the first section's heading says what the hero's headline has just said, so, as before, only search engines and screen
   readers get it */
.split .hero-page ~ .sh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------- narrower screens ---------- */
@media (max-width:1099px){
  :root{--cr:150px;--cs:84px}
  html body.split header.left .ltop{padding:18px 0 0 18px}
  html body.split header.left .brand .tl-stack{width:78px}
  html body.split header.left .brand{margin-bottom:10px}
  html.scrolled body.split header.left .ltop{padding:22px 0 0 16px}
  /* the small corner stays small here: there is no hover on a phone, and the lines are all that is needed */
  html.scrolled body.split header.left.peek,html.scrolled body.split header.left:has(:focus-visible),html.scrolled body.split.menu-open header.left{width:var(--cs);height:var(--cs)}
  html.scrolled body.split header.left.peek .brand,html.scrolled body.split header.left:has(:focus-visible) .brand,html.scrolled body.split.menu-open header.left .brand{max-width:0;max-height:0;opacity:0}
  html.scrolled body.split .smenu{top:calc(var(--cs) + 18px)}
  .hero,.hero-page{grid-template-columns:1fr;align-items:start}
  .hero-t,.hero-page .hero-t{padding-top:152px}   /* at least 20px clear of the ring at every width */
  .hero .intro{height:clamp(320px,60vw,520px)}
  .split .sh{font-size:clamp(30px,6.6vw,44px)}
}
@media (max-width:520px){
  :root{--cr:136px;--cs:78px}
  html body.split header.left .brand .tl-stack{width:70px}
  .hero-t,.hero-page .hero-t{padding-top:140px}
  .hero h1{font-size:clamp(40px,11vw,54px)}
  .hero-page h1{font-size:clamp(36px,10vw,48px)}
  .hero-page h1.long{font-size:clamp(30px,8.4vw,40px)}
  .hero-cta .sbtn{flex:1 1 100%}
  .hero-side{padding:20px 20px 18px}
}
