/* Kerbi — site-wide refinement layer. Loaded after site.css on every page.
   Warm paper ground, product tones, sticky glass header, editorial numerals,
   product-page hero composition, dark bookend footer and scroll reveals. */

:root{
  --paper:#ffffff;
  --card:#f2f1ea;
  --hair:#e2e2da;
  --ink:#141412;
  --muted:#6b6e63;
  --tone:#e6e2f1;
  --ease:cubic-bezier(.22,1,.36,1);
}
.tone-earnings{--tone:#efe4c9}
.tone-mileage{--tone:#e4dff3}
.tone-cherrypicker{--tone:#f1dde4}
.tone-tax{--tone:#ece4d6}
.tone-pulse{--tone:#dfeadf}

/* Ground */
body.kerbi-studied{background:var(--paper)}
.kinetic-hero{background:transparent!important}
body.kerbi-studied .site-label{color:var(--muted)}
.whole-day-proof,.working-rhythm,.contact-form,.detail-proof,.article-related,.whole-day-proof figcaption,.mileage-proof figcaption{background:var(--card)}
.product-depth,.page-faq,.whole-day,.home-journal{scroll-margin-top:110px}

/* Header: static, plain */
body.kerbi-studied .site-header nav a{transition:color .2s}
body.kerbi-studied .site-header nav a:hover{color:var(--ink)}
.product-menu-panel{border-color:var(--hair)}

/* Links & buttons: arrows travel */
.text-link>span,.button>span,.film-learn,.menu-intro>a>span{transition:transform .28s var(--ease)}
.text-link:hover>span,.button:hover>span,.menu-intro>a:hover>span{transform:translate(3px,-3px)}
.button.primary{transition:background .2s,transform .25s var(--ease),box-shadow .25s var(--ease)}
.button.primary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(20,20,18,.14)}
.text-link{border-color:var(--hair)}

/* Numerals as a design device */
.numeral{font:600 13px/1 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:#b4b6aa}

/* ---------- Product pages ---------- */
.product-opening{padding-top:36px;padding-bottom:36px}
.product-breadcrumb{display:flex;align-items:center;gap:14px;margin-bottom:40px;font-size:12px}
.product-breadcrumb a{color:var(--muted);transition:color .2s}.product-breadcrumb a:hover{color:var(--ink)}
.product-breadcrumb .product-index{margin-left:auto;font:500 11px/1 'Kerbi Text',Arial,sans-serif;letter-spacing:.08em;color:#a0a397;font-variant-numeric:tabular-nums}
.opening-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:56px;align-items:stretch}
.opening-copy{display:flex;flex-direction:column;justify-content:center;padding-block:24px}
body.kerbi-studied .product-opening h1{font-size:clamp(44px,4.6vw,66px);margin:22px 0 26px}
body.kerbi-studied .opening-intro{font-size:19px;line-height:1.55;color:var(--muted);max-width:480px;margin:0 0 34px}
.opening-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.opening-actions .button.primary{gap:26px;padding-inline:26px}
.opening-art{position:relative;min-height:440px;border-radius:26px;background:var(--tone);display:grid;place-items:center;overflow:hidden;isolation:isolate}
.opening-art::after{content:'';position:absolute;inset:0;background:radial-gradient(70% 60% at 50% 100%,rgba(255,255,255,.55),transparent 70%);pointer-events:none}
.opening-art .brand-object{width:min(62%,300px);mix-blend-mode:multiply;filter:drop-shadow(0 26px 30px rgba(20,20,18,.14));animation:float 7s ease-in-out infinite}
.opening-art .opening-kicker{position:absolute;left:24px;top:22px;font:500 10px/1.4 'Kerbi Text',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:rgba(20,20,18,.55)}
.opening-art .opening-count{position:absolute;right:24px;top:20px;font:600 15px/1 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.01em;color:rgba(20,20,18,.4);font-variant-numeric:tabular-nums}
@keyframes float{0%,100%{transform:translateY(0) rotate(-.6deg)}50%{transform:translateY(-10px) rotate(.6deg)}}

.product-theatre{margin-top:18px;border-radius:26px}
.product-theatre::before{content:'';position:absolute;right:-6%;bottom:-40%;width:62%;height:130%;background:radial-gradient(closest-side,color-mix(in srgb,var(--tone) 34%,transparent),transparent 72%);pointer-events:none;z-index:0}
.product-theatre>*{position:relative;z-index:1}
.theatre-visual{border-color:#3a3b33;box-shadow:0 30px 70px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.04) inset;transition:transform .7s var(--ease)}
.product-theatre:hover .theatre-visual{transform:translateY(-6px)}
.theatre-caption{margin-top:40px;color:#7f8177}

.product-jump{margin-top:0;border-bottom:0;gap:0;grid-template-columns:repeat(3,1fr)}
.product-jump a{gap:16px;justify-content:flex-start;min-height:78px;border-bottom:1px solid var(--hair);padding-inline:0 22px;color:var(--muted);transition:color .2s}
.product-jump a+a{padding-inline:22px}
.product-jump a .jump-index{font:600 12px/1 'Switzer','Kerbi Text',Arial,sans-serif;color:#b4b6aa;font-variant-numeric:tabular-nums;flex:none}
.product-jump a>span:last-child{margin-left:auto;transition:transform .25s var(--ease)}
.product-jump a:hover>span:last-child{transform:translateY(3px)}
.product-jump a:hover .jump-index{color:var(--ink)}

.product-depth{margin-top:96px;margin-bottom:96px;gap:90px;align-items:start}
.product-depth-heading{position:sticky;top:40px}
body.kerbi-studied .product-depth h2{font-size:clamp(44px,4.2vw,58px);margin:20px 0 30px}
.detail-proof{border-radius:18px;box-shadow:0 1px 0 var(--hair) inset}
.product-detail-row{grid-template-columns:64px 1fr;gap:16px;padding:34px 0 40px;border-color:var(--hair)}
.product-detail-row:first-child{border-top:0;padding-top:8px}
.detail-number{font:600 22px/1 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.02em;color:#c4c6ba;padding-top:6px;font-variant-numeric:tabular-nums;transition:color .3s}
.product-detail-row:hover .detail-number{color:var(--ink)}
.product-detail-row ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 24px;margin-top:22px}
.product-detail-row li{margin:0;padding:10px 0;border-top:1px solid var(--hair);font-size:13.5px;color:#4a4e43}
.product-detail-row li:before{color:#9a83c4}

.page-faq-list details{border-color:var(--hair)}
.page-faq-list summary{font-size:17px;transition:color .2s;font-weight:500}
.page-faq-list summary>span{width:28px;height:28px;border:1px solid var(--hair);border-radius:50%;display:grid;place-items:center;font-size:16px;color:var(--muted);transition:transform .3s var(--ease),background .2s,color .2s;flex:none}
.page-faq-list details[open] summary>span{background:var(--ink);border-color:var(--ink);color:#fff}
.page-faq-list summary:hover>span{background:var(--ink);border-color:var(--ink);color:#fff}

.next-product{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;margin-bottom:0;padding:54px 60px;border:0;border-radius:26px;background:var(--tone);overflow:hidden;isolation:isolate;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.next-product:hover{transform:translateY(-3px);box-shadow:0 26px 60px rgba(20,20,18,.10)}
.next-product::after{content:'';position:absolute;inset:0;background:radial-gradient(60% 70% at 100% 100%,rgba(255,255,255,.5),transparent 70%);pointer-events:none;z-index:-1}
.next-product .site-label{color:rgba(20,20,18,.55)}
body.kerbi-studied .next-product h2{font-size:clamp(34px,3.6vw,50px);margin:18px 0 22px}
.next-product .text-link{border-color:rgba(20,20,18,.25)}
.next-product .brand-object{width:230px;mix-blend-mode:multiply;transition:transform .6s var(--ease)}
.next-product:hover .brand-object{transform:translateY(-6px) rotate(1.5deg) scale(1.03)}
.next-product+.site-footer{margin-top:100px!important}

/* ---------- Home ---------- */
.whole-day{margin-top:100px}
.whole-day-proof{border-radius:26px}
.day-detail-links a{border-color:var(--hair);transition:padding-left .3s var(--ease)}
.day-detail-links a:hover{padding-left:10px}
.working-rhythm{border-radius:26px;padding:62px 60px}
.rhythm-stages{border-color:var(--hair)}
.rhythm-stages>a{border-color:var(--hair);padding:26px 26px 26px;min-height:372px}
.rhythm-stages>a:hover,.rhythm-stages>a:focus-visible{background:rgba(255,255,255,.7)}
.rhythm-stages>a>span:first-child{font-size:10px;letter-spacing:.09em}
.rhythm-stages .stage-art{position:absolute;right:16px;top:14px;width:78px;filter:grayscale(1) contrast(.9) brightness(.85);opacity:.7;mix-blend-mode:multiply;transition:filter .35s,opacity .3s,transform .5s var(--ease)}
.rhythm-stages>a:hover .stage-art,.rhythm-stages>a:focus-visible .stage-art{filter:none;opacity:1;transform:translateY(-4px) scale(1.06)}
body.kerbi-studied .rhythm-stages h3{margin-top:96px}
.rhythm-stages b{display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid var(--hair);padding-bottom:6px;align-self:flex-start}
.journal-art{border-radius:20px}
.journal-art .brand-object{transition:transform .6s var(--ease)}
.journal-card:hover .journal-art .brand-object{transform:translateY(-6px) scale(1.04)}
.journal-art>span:last-child:not(.brand-object){transition:transform .3s var(--ease)}
.journal-card:hover .journal-art>span:last-child:not(.brand-object){transform:translate(3px,-3px)}
body.kerbi-studied .journal-card h3 a{transition:color .2s}
.site-closing{border-radius:26px;background:#e4dcf4;background-image:radial-gradient(70% 90% at 90% 10%,#efe9fb,transparent 60%)}
.closing-character{transition:transform .6s var(--ease)}
.site-closing:hover .closing-character{transform:translateY(-4px)}

/* ---------- About / contact / blog ---------- */
.principles .section-heading{display:block}
.about-intro .brand-object{mix-blend-mode:multiply;transition:transform .5s var(--ease)}
.about-intro .brand-object:hover{transform:translateY(-6px) rotate(2deg)}
.about-statement{border-radius:26px;position:relative;overflow:hidden}
.about-statement::before{content:'';position:absolute;right:-10%;top:-30%;width:50%;height:160%;background:radial-gradient(closest-side,rgba(146,116,189,.22),transparent 70%);pointer-events:none}
.about-statement>*{position:relative}
.principle-grid article{border-color:var(--hair)}
.principle-grid article>span{font:600 22px/1 'Switzer','Kerbi Text',Arial,sans-serif;color:#c4c6ba;letter-spacing:-.02em}
.contact-form{border-radius:22px}
.contact-form input,.contact-form select,.contact-form textarea{border-color:#d9dbd0;transition:border-color .2s,box-shadow .2s}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:0;border-color:#9a83c4;box-shadow:0 0 0 3px rgba(154,131,196,.18)}
.journal-filters{border-color:var(--hair)}
.journal-filters button{transition:background .2s,color .2s,border-color .2s}
.journal-filters button:hover{border-color:var(--ink);color:var(--ink)}
.article-banner{border-radius:22px}

/* ---------- Pricing ---------- */
.pricing-opening .opening-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}
.pricing-art{display:block;padding:28px}
.price-mark{position:absolute;left:32px;bottom:30px;display:flex;flex-direction:column;gap:14px;z-index:2}
.price-mark strong{font:600 clamp(96px,11vw,168px)/.86 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.06em;color:var(--ink)}
.price-mark span{font-size:14px;line-height:1.45;color:rgba(20,20,18,.6);padding-left:6px}
.pricing-art .price-object{position:absolute;right:-6%;top:12%;width:52%;animation-duration:8s;filter:drop-shadow(0 26px 30px rgba(20,20,18,.14))}
.pricing-rhythm{margin-top:64px}
.pricing-rhythm .rhythm-stages>div{position:relative;display:flex;flex-direction:column;min-height:372px;padding:26px;border-right:1px solid var(--hair)}
.pricing-rhythm .rhythm-stages>div:last-child{border-right:0}
.pricing-rhythm .rhythm-stages>div>span:first-of-type{font-size:10px;line-height:1.4;letter-spacing:.09em;color:#7b8073;max-width:60%}
body.kerbi-studied .pricing-rhythm .rhythm-stages h3{font:600 28px/1.04 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.035em;margin:96px 0 20px}
body.kerbi-studied .pricing-rhythm .rhythm-stages p{font-size:13.5px;line-height:1.55;color:#71756a}
.pricing-rhythm .rhythm-stages b{font:600 15px/1.3 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.02em;margin-top:auto;padding-top:20px;border-bottom:0;border-top:1px solid var(--hair);align-self:stretch;color:var(--ink)}
.pricing-rhythm .rhythm-stages>div .stage-art{filter:none;opacity:1}
.pricing-included{margin-bottom:0;align-items:start}
.pricing-included .whole-day-copy{position:sticky;top:40px}
.included-list{display:flex;flex-direction:column;border-top:1px solid var(--hair)}
.included-row{display:grid;grid-template-columns:36px 96px 1fr auto;align-items:center;gap:22px;padding:18px 0;border-bottom:1px solid var(--hair);transition:padding-left .3s var(--ease)}
.included-row:hover{padding-left:8px}
.included-row .numeral{font-size:14px}
.included-row .brand-object{width:88px;mix-blend-mode:multiply;filter:grayscale(1) contrast(.9) brightness(.85);opacity:.75;transition:filter .35s,opacity .3s,transform .5s var(--ease)}
.included-row:hover .brand-object{filter:none;opacity:1;transform:translateY(-3px) scale(1.05)}
.included-copy{display:flex;flex-direction:column;gap:5px}
.included-copy b{font:600 24px/1.1 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.03em}
.included-copy>span{font-size:13.5px;color:var(--muted)}
.included-arrow{font-size:20px;color:#9a9d91;transition:transform .3s var(--ease),color .2s}
.included-row:hover .included-arrow{transform:translate(3px,-3px);color:var(--ink)}
.pricing-statement{margin-top:110px}
.statement-points{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:64px;padding-top:40px;border-top:1px solid rgba(255,255,255,.12)}
.statement-points .numeral{display:block;color:#7c7e73;font-size:14px;margin-bottom:26px}
.statement-points b{display:block;font:600 22px/1.15 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.03em;color:#f4f4ee;margin-bottom:12px}
body.kerbi-studied .statement-points p{font-size:15px;line-height:1.6;color:#a9ada0;margin:0;max-width:none}
.pricing-statement+.page-faq{margin-top:100px}
@media(max-width:1100px){
  .price-mark strong{font-size:clamp(80px,9vw,120px)}
  .pricing-art .price-object{width:48%;top:14%}
  .included-row{grid-template-columns:28px 72px 1fr auto;gap:16px}
  .included-row .brand-object{width:68px}
  .statement-points{gap:24px}
  .pricing-included .whole-day-copy{position:static}
}
@media(max-width:740px){
  .pricing-opening .opening-grid{grid-template-columns:1fr}
  .pricing-art{aspect-ratio:1.15;padding:18px}
  .price-mark{left:20px;bottom:20px;gap:8px}
  .price-mark strong{font-size:clamp(72px,22vw,96px)}
  .price-mark span{font-size:12px;padding-left:3px}
  .pricing-art .price-object{width:44%;right:-4%;top:16%}
  .pricing-rhythm{margin-top:36px}
  .pricing-rhythm .rhythm-stages>div{min-height:0;padding:24px 0;border-right:0;border-bottom:1px solid var(--hair)}
  .pricing-rhythm .rhythm-stages>div:last-child{border-bottom:0}
  body.kerbi-studied .pricing-rhythm .rhythm-stages h3{margin-top:56px}
  .pricing-rhythm .rhythm-stages b{margin-top:22px}
  .included-list{margin-top:8px}
  .included-row{grid-template-columns:24px 56px 1fr auto;gap:12px;padding:14px 0}
  .included-row .brand-object{width:52px;filter:none;opacity:1}
  .included-copy b{font-size:20px}
  .included-copy>span{font-size:12.5px}
  .pricing-statement{margin-top:64px}
  .statement-points{grid-template-columns:1fr;gap:26px;margin-top:36px;padding-top:26px}
  .statement-points .numeral{margin-bottom:12px}
  .pricing-statement+.page-faq{margin-top:60px}
}

/* ---------- Footer: dark bookend ---------- */
.site-footer{background:#111110!important;color:#e9e9e1;padding-top:0!important;position:relative;overflow:hidden}
.site-footer::before{content:'';position:absolute;left:-10%;top:-20%;width:45%;height:120%;background:radial-gradient(closest-side,rgba(146,116,189,.16),transparent 70%);pointer-events:none}
.footer-top{position:relative;display:flex;justify-content:space-between;align-items:end;gap:40px;padding:84px 0 60px;border-bottom:1px solid rgba(255,255,255,.1)}
body.kerbi-studied .footer-tagline{font:600 clamp(40px,5vw,72px)/1.02 'Switzer','Kerbi Text',Arial,sans-serif;letter-spacing:-.045em;color:#f4f4ee;margin:0;text-wrap:balance}
.footer-tagline i{font-style:normal;color:#b39ee0}
.footer-top .button.white{background:#f4f4ee;color:#111110;min-height:50px;padding-inline:26px;font-size:13px;flex:none}
.footer-top .button.white:hover{background:#e4dcf4;transform:translateY(-1px)}
.footer-main{position:relative;padding-top:54px;padding-bottom:60px;grid-template-columns:1.3fr 1fr 1fr 1.1fr}
body.kerbi-studied .footer-main .brand-lockup,body.kerbi-studied .footer-main .logo{color:#f4f4ee}
body.kerbi-studied .footer-main p{color:#9a9c91}
body.kerbi-studied .footer-main h2{color:#f4f4ee}
.footer-main>div>a{color:#a4a69b;transition:color .2s,padding-left .25s var(--ease)}
.footer-main>div>a:hover{color:#fff;padding-left:4px}
.site-footer .site-label{color:#8a8c81}
.footer-bottom{border-top-color:rgba(255,255,255,.1);color:#8a8c81;padding-bottom:6px}
.footer-bottom a{transition:color .2s}.footer-bottom a:hover{color:#fff}
.motion-toggle{color:#8a8c81}.motion-toggle b{color:#f4f4ee}
.site-footer .footer-note p{color:#c9cbbf!important}

/* ---------- Scroll reveals (gated) ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .9s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.reveal .journal-card,.reveal .rhythm-stages>a,.reveal .principle-grid article,.reveal .product-detail-row,.reveal .product-jump a{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease),transform .8s var(--ease)}
.reveal.is-in .journal-card,.reveal.is-in .rhythm-stages>a,.reveal.is-in .principle-grid article,.reveal.is-in .product-detail-row,.reveal.is-in .product-jump a{opacity:1;transform:none}
.reveal.is-in> * > :nth-child(2),.reveal.is-in .journal-card:nth-child(2),.reveal.is-in .rhythm-stages>a:nth-child(2),.reveal.is-in .principle-grid article:nth-child(2),.reveal.is-in .product-detail-row:nth-child(2),.reveal.is-in .product-jump a:nth-child(2){transition-delay:.1s}
.reveal.is-in .journal-card:nth-child(3),.reveal.is-in .rhythm-stages>a:nth-child(3),.reveal.is-in .principle-grid article:nth-child(3),.reveal.is-in .product-detail-row:nth-child(3),.reveal.is-in .product-jump a:nth-child(3){transition-delay:.2s}
html.no-reveal .reveal,html.no-reveal .reveal *{opacity:1!important;transform:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){
  .reveal,.reveal *{opacity:1!important;transform:none!important;transition:none!important}
  .opening-art .brand-object{animation:none}
  .product-theatre:hover .theatre-visual,.next-product:hover,.next-product:hover .brand-object,.journal-card:hover .journal-art .brand-object{transform:none}
}

/* ---------- Responsive ---------- */
@media(max-width:1100px){
  .opening-grid{grid-template-columns:1fr 1fr;gap:32px}
  .opening-art{min-height:400px}
  .product-depth{gap:48px}
  .product-depth-heading{position:static}
  .next-product{padding:44px 40px}
  .footer-top{padding:64px 0 44px}
}
@media(max-width:740px){
  .product-opening{padding-top:24px;padding-bottom:28px}
  .product-breadcrumb{margin-bottom:28px}
  .opening-grid{display:grid;grid-template-columns:1fr;gap:24px}
  .opening-copy{padding-block:0}
  body.kerbi-studied .product-opening h1{margin:18px 0 18px}
  body.kerbi-studied .opening-intro{font-size:17px;margin-bottom:26px}
  .opening-actions{gap:18px}
  .opening-art{min-height:0;aspect-ratio:1.35;order:-1;border-radius:20px}
  .opening-art .brand-object{width:46%}
  .opening-art .opening-kicker{left:18px;top:16px;font-size:9px}
  .opening-art .opening-count{right:18px;top:15px;font-size:13px}
  .product-theatre{border-radius:20px}
  .product-jump{display:block}
  .product-jump a,.product-jump a+a{min-height:56px;padding-inline:0;border-top:0;border-bottom:1px solid var(--hair)}
  .product-depth{margin:60px auto}
  .product-detail-row{grid-template-columns:40px 1fr;gap:12px}
  .detail-number{font-size:18px;padding-top:6px}
  .product-detail-row ul{grid-template-columns:1fr;gap:0}
  .next-product{display:grid;grid-template-columns:1fr;gap:20px;padding:30px 24px 26px;border-radius:20px}
  .next-product .brand-object{width:120px;order:-1}
  .next-product+.site-footer{margin-top:64px!important}
  .working-rhythm{padding:34px 24px;border-radius:20px}
  .rhythm-stages>a{padding:24px 0;min-height:0}
  .rhythm-stages .stage-art{right:0;top:12px;width:64px}
  body.kerbi-studied .rhythm-stages h3{margin-top:56px}
  .whole-day{margin-top:40px}
  .footer-top{display:block;padding:54px 0 36px}
  .footer-top .button.white{margin-top:24px}
  .footer-main{padding-top:40px;padding-bottom:36px}
  .site-footer::before{display:none}
}

/* ---------------------------------------------------------------------------
   The working day, in one section.

   The headline makes the claim across the full width. Beneath it, on the left,
   the things the claim is about — a parking meter, a toll barrier, a receipt in
   a wallet, drawn in the site's own screen-print hand — then the three
   chapters of the film. On the right, the film itself: the same parking and
   toll turning up as £4.20 and £3.50 against the jobs they belonged to. Claim,
   objects, proof, in reading order, with nothing between the theatre and here.
   --------------------------------------------------------------------------- */
body.kerbi-studied #workday.whole-day{display:block;margin:150px auto 120px}
body.kerbi-studied #workday .day-head{margin-bottom:46px}
body.kerbi-studied #workday .day-head .site-label{margin-bottom:22px}
body.kerbi-studied #workday .day-head h2{font-size:clamp(40px,4.4vw,64px);max-width:760px;margin:0}
body.kerbi-studied #workday .day-body{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:76px;align-items:stretch;
}
body.kerbi-studied #workday .whole-day-copy{
  display:flex;flex-direction:column;justify-content:space-between;max-width:520px;
}
/* the objects sit as things on a shelf, not icons in a row: three sizes, uneven feet */
body.kerbi-studied #workday .day-objects{display:flex;align-items:flex-end;gap:30px;margin:2px 0 26px 2px}
body.kerbi-studied #workday .day-objects img{display:block;height:auto}
body.kerbi-studied #workday .day-objects img:nth-child(1){width:122px}
body.kerbi-studied #workday .day-objects img:nth-child(2){width:108px;transform:translateY(6px)}
body.kerbi-studied #workday .day-objects img:nth-child(3){width:116px;transform:translateY(-4px)}
body.kerbi-studied #workday .day-lead{
  margin:0 0 30px;font-size:16px;line-height:1.55;color:#6f736a;max-width:440px;
}
@media(max-width:740px){
  body.kerbi-studied #workday.whole-day{margin:88px auto 72px}
  body.kerbi-studied #workday .day-head{margin-bottom:28px}
  body.kerbi-studied #workday .day-body{display:block}
  body.kerbi-studied #workday .day-objects{gap:20px;margin-bottom:20px}
  body.kerbi-studied #workday .day-objects img:nth-child(1){width:96px}
  body.kerbi-studied #workday .day-objects img:nth-child(2){width:84px}
  body.kerbi-studied #workday .day-objects img:nth-child(3){width:90px}
  body.kerbi-studied #workday .day-lead{font-size:15px;margin-bottom:22px}
  body.kerbi-studied #workday .whole-day-proof.shift-film-stage{margin-top:34px}
}

/* Three chapters of the shift, beside the film that plays them. A caption at
   the foot read as a footnote; this is the section's own index — the film moves
   through it, and you can move the film by choosing one. Two scenes to a
   chapter, so the list stays short enough to read as a shape. */
body.kerbi-studied #workday .day-chapters{
  border-top:1px solid rgba(26,26,24,.12);
}
body.kerbi-studied #workday .day-chapter{
  position:relative;display:block;width:100%;text-align:left;
  padding:15px 0 16px;background:none;border:0;cursor:pointer;
}
body.kerbi-studied #workday .day-chapter b{
  display:block;font-family:'Switzer','Kerbi Text',Arial,sans-serif;font-weight:600;
  font-size:17px;line-height:1.2;letter-spacing:-.022em;color:#9b9b92;
  transition:color .3s cubic-bezier(.22,1,.36,1);
}
body.kerbi-studied #workday .day-chapter .chapter-line{
  display:block;margin-top:6px;font-size:13px;line-height:1.45;color:#aaaaa1;
  transition:color .3s cubic-bezier(.22,1,.36,1);
}
/* the chapter that takes over lifts in rather than simply changing colour */
@keyframes dayChapterIn{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
body.kerbi-studied #workday .day-chapter[aria-current=true] b,
body.kerbi-studied #workday .day-chapter[aria-current=true] .chapter-line{
  animation:dayChapterIn .42s cubic-bezier(.22,1,.36,1) both;
}
@media(prefers-reduced-motion:reduce){
  body.kerbi-studied #workday .day-chapter[aria-current=true] b,
  body.kerbi-studied #workday .day-chapter[aria-current=true] .chapter-line{animation:none}
}
body.kerbi-studied #workday .day-chapter[aria-current=true] b{color:#141412}
body.kerbi-studied #workday .day-chapter[aria-current=true] .chapter-line{color:#6b6e63}
body.kerbi-studied #workday .day-chapter:hover b{color:#141412}
body.kerbi-studied #workday .day-chapter:focus-visible{outline-offset:-3px}
/* the rail under each chapter fills while that chapter is the one playing */
body.kerbi-studied #workday .day-rail{
  position:absolute;left:0;right:0;bottom:0;height:1px;
  background:rgba(26,26,24,.12);overflow:hidden;
}
body.kerbi-studied #workday .day-rail::after{
  content:"";position:absolute;inset:0;background:rgba(26,26,24,.26);
  transform:scaleX(var(--p,0));transform-origin:left;
  transition:transform .3s linear;
}
/* the chapter that is playing loads in Kerbi green, as the film's index does */
body.kerbi-studied #workday .day-chapter[aria-current=true] .day-rail{height:2px}
body.kerbi-studied #workday .day-chapter[aria-current=true] .day-rail::after{background:#5cc99a}
body.kerbi-studied #workday .day-foot{margin-top:30px}
body.kerbi-studied #workday .day-foot span{
  display:block;margin-top:22px;font-size:11px;letter-spacing:.03em;color:#9a9e8e;
}
@media(prefers-reduced-motion:reduce){
  body.kerbi-studied #workday .day-rail::after{transition:none}
  body.kerbi-studied #workday .day-chapter[aria-current=true] .day-rail::after{transform:scaleX(1)}
}

body.kerbi-studied #workday .whole-day-proof.shift-film-stage{
  position:relative;height:auto;min-height:0;aspect-ratio:4/5;
  padding:0;background:none;border-radius:0;overflow:visible;align-self:center;
}
body.kerbi-studied #workday .stage-frame{
  position:absolute;inset:0;z-index:1;border-radius:20px;overflow:hidden;
  background:#14161a;box-shadow:none;border:0;
}
body.kerbi-studied #workday .stage-photo{
  position:absolute;inset:0;width:100%;height:100%;border-radius:0;
  object-fit:cover;object-position:50% 50%;
}
/* The phone is a shape, not a device, and it runs off the lower edge: the film
   fills its top, the app's own paper fills the rest, and the panel cuts it. */
body.kerbi-studied #workday .stage-phone{
  position:absolute;left:50%;transform:translateX(-50%);
  top:15.5%;width:66%;height:103%;
  border-radius:30px;overflow:hidden;background:#f0f0ec;isolation:isolate;
}
body.kerbi-studied #workday .whole-day-proof.shift-film-stage .shift-details-film{
  position:static;display:block;width:100%;height:auto;aspect-ratio:5/8;
  object-fit:cover;border-radius:30px 30px 0 0;
  transform:translateZ(0);backface-visibility:hidden;
}
body.kerbi-studied #workday .shift-film-toggle{
  z-index:3;right:14px;top:14px;bottom:auto;min-height:30px;padding:0 13px;
  display:inline-flex;align-items:center;border-radius:99px;
  border:1px solid rgba(255,255,255,.24);background:rgba(16,18,22,.5);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font:500 10.5px/1 Arial,sans-serif;letter-spacing:.05em;color:rgba(255,255,255,.82);
}
body.kerbi-studied #workday .shift-film-toggle:hover{background:rgba(16,18,22,.76);color:#fff}
@media(max-width:740px){
  body.kerbi-studied #workday .whole-day-proof.shift-film-stage{width:100%;aspect-ratio:4/5}
  body.kerbi-studied #workday .stage-frame{border-radius:16px}
  body.kerbi-studied #workday .stage-phone{width:72%;border-radius:26px}
  body.kerbi-studied #workday .day-caption{margin-top:26px}
}

/* ---------------------------------------------------------------------------
   Two pieces of page rhythm.

   The journal ran a different pastel behind each illustration, which is the
   tile rainbow this site avoids elsewhere; one ground lets the drawings carry
   the difference. And the working-rhythm block arrives straight after the film
   at the same headline weight, so it competes with it — it is a coda to the
   demonstration, not another chapter, and it now reads at that rank.
   --------------------------------------------------------------------------- */
body.kerbi-studied .art-tone-0,
body.kerbi-studied .art-tone-1,
body.kerbi-studied .art-tone-2,
body.kerbi-studied .art-tone-3,
body.kerbi-studied .art-tone-4{background:#f2f0e8}

@media(min-width:741px){
  body.kerbi-studied .working-rhythm h2{font-size:clamp(34px,3.2vw,46px);margin:22px 0 18px}
  body.kerbi-studied .working-rhythm{padding-top:52px}
}
