/* "What I edit": drag across one passage to see the raw take turn into the finished edit. */
.services .edit-wrap{width:min(100% - clamp(2.2rem,6vw,7rem),60rem);margin:auto}
.edit-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:clamp(1.2rem,2.4vw,2rem)}
.edit-head h2{margin:0!important}
.edit-head p{max-width:27rem;color:#5d5045;font-size:1.05rem;line-height:1.45}
.ba-labels{display:flex;justify-content:space-between;margin:0 .2rem .55rem;font-weight:700;font-size:.95rem}
.ba-labels span:last-child{color:var(--green)}
.ba-stage{--cut:50%;position:relative;aspect-ratio:16/9;border-radius:clamp(1.2rem,2.4vw,2.4rem);overflow:hidden;background:#15110e;border:2px solid #fff8ed;box-shadow:0 1.8rem 3.6rem -1.6rem #2b1b0fa0;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:ew-resize}
.ba-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ba-raw-clip{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--cut)) 0 0)}
.ba-seam{position:absolute;top:0;bottom:0;left:var(--cut);width:2px;margin-left:-1px;background:#fbf8f2;box-shadow:0 0 0 1px #0003;pointer-events:none}
.ba-seam b{position:absolute;top:auto;bottom:1rem;left:50%;width:2.9rem;height:2.9rem;margin:0 0 0 -1.45rem;border-radius:50%;background:#fbf8f2;box-shadow:0 .4rem 1.2rem #0006;display:flex;align-items:center;justify-content:center;gap:.5rem}
.ba-seam b:before,.ba-seam b:after{content:"";width:0;height:0;border-top:.32rem solid transparent;border-bottom:.32rem solid transparent}
.ba-seam b:before{border-right:.42rem solid var(--green)}
.ba-seam b:after{border-left:.42rem solid var(--green)}
.ba-stage input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:ew-resize}
.ba-controls{display:flex;align-items:center;gap:.7rem;margin-top:.9rem;flex-wrap:wrap}
.ba-controls button{display:inline-flex;align-items:center;gap:.5rem;border:0;border-radius:8rem;padding:.62rem 1.1rem;font-weight:700;font-size:.92rem;background:#efe1cd;color:var(--ink)}
.ba-controls button.ba-sound[aria-pressed=true]{background:var(--green);color:#fbf8f2}
.ba-controls .ba-hint{margin-left:auto;font-size:.88rem;color:#6d5642}
.ba-credit{margin-top:.6rem;font-size:.9rem;color:#6d5642}
.ba-credit a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:.2em}
.services .service-lines{margin-top:clamp(2rem,4vw,3.2rem)}
@media (max-width:760px){
  .edit-head{display:block}
  .edit-head p{margin-top:.6rem;font-size:1rem}
  .ba-stage{border-radius:1.15rem}
  .ba-controls .ba-hint{width:100%;margin-left:0}
}

/* What I offer: three services; each shows real work and builds a list of what the edit includes. */
.offers{display:grid;grid-template-columns:minmax(0,18rem) minmax(0,1fr);gap:clamp(1.5rem,3.5vw,3.5rem);align-items:start}
.offer-tabs{display:flex;flex-direction:column;gap:.55rem;position:sticky;top:calc(var(--mast,5rem) + 1rem)}
.offer-tabs button{display:block;text-align:left;border:0;border-radius:1.2rem;padding:1rem 1.15rem;background:#f3e9dc;color:var(--ink);transition:background .3s,color .3s,transform .3s}
.offer-tabs button strong{display:block;font:700 1.45rem/1.1 Figtree,system-ui,sans-serif;letter-spacing:-.03em}
.offer-tabs button span{display:block;margin-top:.3rem;font-size:.9rem;color:#6d5642}
.offer-tabs button[aria-selected=true]{background:var(--green);color:#fbf8f2;transform:translateX(.35rem)}
.offer-tabs button[aria-selected=true] span{color:#d8eadf}
.offer-tabs button:not([aria-selected=true]):hover{background:#eadbc6}
.offer[hidden]{display:none}
.offer{display:grid;gap:1.2rem}
.offer-lead{font-size:1.1rem;line-height:1.5;max-width:40rem}
.offer-film{position:relative;aspect-ratio:16/9;border-radius:clamp(1.2rem,2.4vw,2.4rem);overflow:hidden;background:#15110e;border:2px solid #fff8ed;box-shadow:0 1.8rem 3.6rem -1.6rem #2b1b0fa0}
.offer-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.offer-note{font-size:.9rem;color:#6d5642}
.offer-note a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:.2em}
/* the included list builds like layers on an edit: each line slides in on its own bar */
.layers{list-style:none;margin:.2rem 0 0;padding:0;display:grid;gap:.45rem;max-width:34rem}
.layers li{position:relative;padding:.55rem .9rem .55rem 1.1rem;border-radius:.7rem;background:#f3e9dc;font-weight:650;font-size:.98rem;overflow:hidden;opacity:0;transform:translateX(-1.2rem);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1)}
.layers li:before{content:"";position:absolute;left:0;top:0;bottom:0;width:.32rem;background:var(--green)}
.layers li:after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--green);opacity:.45;transition:width 1s cubic-bezier(.2,.8,.2,1)}
.offer.built .layers li{opacity:1;transform:none}
.offer.built .layers li:after{width:var(--w,70%)}
.offer.built .layers li:nth-child(2){transition-delay:.08s}.offer.built .layers li:nth-child(2):after{transition-delay:.08s}
.offer.built .layers li:nth-child(3){transition-delay:.16s}.offer.built .layers li:nth-child(3):after{transition-delay:.16s}
.offer.built .layers li:nth-child(4){transition-delay:.24s}.offer.built .layers li:nth-child(4):after{transition-delay:.24s}
.offer.built .layers li:nth-child(5){transition-delay:.32s}.offer.built .layers li:nth-child(5):after{transition-delay:.32s}
.offer.built .layers li:nth-child(6){transition-delay:.4s}.offer.built .layers li:nth-child(6):after{transition-delay:.4s}
/* the vertical comparison for short-form sits like a phone */
.offer .ba.tall{max-width:min(15rem,calc((100vh - 14rem) * .5625))}
.ba.tall .ba-stage{aspect-ratio:9/16;border-radius:2rem}
.offer-split{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(1.2rem,3vw,2.6rem);align-items:start}
@media (max-width:860px){
  .offers{display:block}
  .offer-tabs{position:static;flex-direction:row;gap:.4rem;overflow-x:auto;margin:0 -1.1rem 1.2rem;padding:0 1.1rem .2rem;scrollbar-width:none}
  .offer-tabs button{flex:0 0 auto;padding:.75rem .95rem;border-radius:1rem}
  .offer-tabs button strong{font-size:1.2rem}
  .offer-tabs button span{display:none}
  .offer-tabs button[aria-selected=true]{transform:none}
  .offer-split{grid-template-columns:1fr}
  .offer .ba.tall{max-width:16rem;margin:0 auto}
}
@media (prefers-reduced-motion:reduce){.layers li{opacity:1;transform:none;transition:none}}

/* Booking: Tipra's own calendar inside the contact panel; it loads only when the visitor gets near. */
.book{width:min(100% - 2rem,64rem);margin:clamp(1.5rem,3vw,2.4rem) auto 0;border-radius:1.6rem;overflow:hidden;background:#fffdf9;border:1px solid #e7d9c6;box-shadow:0 1.4rem 2.6rem -2rem #6b4a2c55;min-height:44rem}
.book .calendly-inline-widget{min-width:320px;height:44rem}
.book-fallback{display:flex;align-items:center;justify-content:center;height:44rem;color:#6d5642}
@media (max-width:700px){.book,.book .calendly-inline-widget,.book-fallback{height:46rem;min-height:46rem}}
/* Short-form: the raw clip and the edit side by side, like two phones; nothing crosses a face. */
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,13rem));gap:clamp(.8rem,2vw,1.6rem);justify-content:start}
.pair figure{margin:0}
.pair figcaption{font-weight:700;font-size:.95rem;margin:0 .2rem .5rem}
.pair figure:last-child figcaption{color:var(--green)}
.pair video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:1.6rem;border:2px solid #fff8ed;background:#15110e;box-shadow:0 1.4rem 2.6rem -1.6rem #2b1b0fa0}
/* the included list: one solid green edge per line, no meter-like bars */
.layers li:after{display:none}
/* the long-form and sales films sit beside their lists on wide screens */
@media (min-width:1100px){
  .offer{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);column-gap:1.6rem;align-items:start}
  .offer .offer-lead{grid-column:1 / -1}
  .offer .offer-note{grid-column:1}
  .offer > .offer-film,.offer > .ba,.offer > .pair{grid-column:1}
  .offer > .layers{grid-column:2;grid-row:2 / span 2;align-self:center}
}
/* phones: the three services fit across the screen, nothing clipped */
@media (max-width:860px){
  .offer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin:0 0 1.2rem;padding:0}
  .offer-tabs button{padding:.7rem .55rem;text-align:center}
  .offer-tabs button strong{font-size:1.02rem;line-height:1.1}
  .pair{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* the calendar card matches the calendar inside it */
.book{background:#fff}
/* the open work row doesn't repeat its thumbnail above the large one */
.work-item[open] > summary img{visibility:hidden;width:0!important;margin-right:-.6rem}
@media (max-width:430px){.mast nav a[href="#services"]{display:none}}

/* What I edit, refined (29 Nov): the services are a row of type, not boxed tabs; each edit lists what's included with a small symbol. */
.offers{display:block!important}
.offer-tabs{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:.4rem clamp(1.2rem,3vw,2.6rem);margin:0 0 clamp(1.2rem,2.4vw,2rem)!important;padding:0 0 .2rem!important;border-bottom:1px solid #e3d5c2;overflow:visible!important}
.offer-tabs button{position:relative;background:none!important;border:0!important;border-radius:0!important;padding:.3rem 0 .85rem!important;transform:none!important;text-align:left!important;
  font:650 clamp(1.1rem,1.9vw,1.55rem)/1.15 Figtree,system-ui,sans-serif;letter-spacing:-.03em;color:#a3958a!important;cursor:pointer;transition:color .3s}
.offer-tabs button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.offer-tabs button[aria-selected=true]{color:var(--ink)!important}
.offer-tabs button[aria-selected=true]:after{transform:scaleX(1)}
.offer-tabs button:not([aria-selected=true]):hover{color:#6d5642!important}
.kit{list-style:none;margin:0;padding:0;display:grid;gap:.95rem;align-content:start}
.kit li{display:flex;align-items:center;gap:.75rem;font-weight:650;font-size:1rem;line-height:1.25;opacity:0;transform:translateY(.5rem);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1)}
.kit svg{flex:none;width:1.55rem;height:1.55rem;fill:none;stroke:var(--green);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.offer.built .kit li{opacity:1;transform:none}
.offer.built .kit li:nth-child(2){transition-delay:.07s}.offer.built .kit li:nth-child(3){transition-delay:.14s}.offer.built .kit li:nth-child(4){transition-delay:.21s}.offer.built .kit li:nth-child(5){transition-delay:.28s}.offer.built .kit li:nth-child(6){transition-delay:.35s}
@media (min-width:1000px){
  .offer{grid-template-columns:minmax(0,1fr) 15rem!important;column-gap:clamp(1.6rem,3vw,3rem)!important;align-items:center!important}
  .offer .offer-lead{grid-column:1 / -1}
  .offer > .ba{grid-column:1}
  .offer > .kit{grid-column:2;grid-row:2}
  .offer > .ba.tall{justify-self:center}
}
@media (max-width:999px){
  .kit{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem;margin-top:.4rem}
  .kit li{font-size:.94rem}
  .offer-tabs button{font-size:1.25rem}
}
@media (prefers-reduced-motion:reduce){.kit li{opacity:1;transform:none}}

/* the calendar's frame fills its card (a bare frame is only 150px tall) */
#calendar{height:44rem}
#calendar iframe{display:block;width:100%;height:100%;border:0}
@media (max-width:700px){#calendar{height:46rem}}
/* the list column is wide enough that no line wraps; the tall short-form film sits next to its list, not alone in a wide column */
@media (min-width:1000px){
  .offer{grid-template-columns:minmax(0,1fr) 18.5rem!important}
  .offer:has(.ba.tall){grid-template-columns:auto 18.5rem!important;justify-content:start;column-gap:clamp(2.4rem,5vw,5rem)!important}
  .offer:has(.ba.tall) > .ba.tall{justify-self:start;width:min(15.5rem,calc((100vh - 26rem) * .5625));max-width:none}
}
.ba-credit a,.offer-note a{white-space:nowrap}
/* brief buffering wait before a comparison starts */
.ba.ba-loading .ba-stage::after{content:"";position:absolute;left:50%;top:50%;width:2.2rem;height:2.2rem;margin:-1.1rem 0 0 -1.1rem;border-radius:50%;border:3px solid #fff8ed66;border-top-color:#fff8ed;animation:ba-spin .8s linear infinite;z-index:5;pointer-events:none}
@keyframes ba-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ba.ba-loading .ba-stage::after{animation:none;border-color:#fff8ed}}
/* VSL tab: one finished video, no comparison */
.vsl-player{margin:0}
.vsl-frame{position:relative;aspect-ratio:16/9;border-radius:clamp(1.2rem,2.4vw,2.4rem);overflow:hidden;background:#15110e;border:2px solid #fff8ed;box-shadow:0 1.8rem 3.6rem -1.6rem #2b1b0fa0}
.vsl-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#15110e}
.vsl-player figcaption{margin-top:.6rem;font-size:.9rem;color:#6d5642}
