/* Page polish for /talk, /team, and /unmute only.
   Durations live on those pages. They are not on :root, so / does not see them.
   This file is linked after look-3.2.css. look-3.2.css sets transform and
   text-decoration with !important on the mint pills, nav links, footer links,
   and the cookie controls. It does not set those properties on .time, .dchip,
   .type, .mark, or .um-card, so these rules are not overridden. */

html[data-page="talk"],
html[data-page="team"],
html[data-page="unmute"]{
  --pz-d1:90ms;
  --pz-d2:200ms;
  --pz-d3:420ms;
  --pz-ease:cubic-bezier(.2,.8,.2,1);
  --pz-ease-out:cubic-bezier(.16,1,.3,1);
}

/* @P01 /talk scheduler: times cascade in on a day change, pressed chips give way, aligned figures */
html[data-page="talk"] :is(.dchip,.time,.type){transition:border-color var(--pz-d2) var(--pz-ease),background-color var(--pz-d2) var(--pz-ease),box-shadow var(--pz-d2) var(--pz-ease),transform var(--pz-d3) var(--pz-ease-out)}
html[data-page="talk"] :is(.dchip,.time,.type):active{transform:scale(.97);transition-duration:var(--pz-d1)}
html[data-page="talk"] :is(.dchip .dn,.time,.slot-day){font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:no-preference){
  html[data-page="talk"] .times .time{animation:pz-rise-s 360ms var(--pz-ease-out) both}
  html[data-page="talk"] .times .time:nth-child(2){animation-delay:30ms}
  html[data-page="talk"] .times .time:nth-child(3){animation-delay:60ms}
  html[data-page="talk"] .times .time:nth-child(4){animation-delay:90ms}
  html[data-page="talk"] .times .time:nth-child(5){animation-delay:120ms}
  html[data-page="talk"] .times .time:nth-child(n+6){animation-delay:150ms}
}
@keyframes pz-rise-s{from{opacity:0;transform:translate3d(0,6px,0)}}

/* Desktop /talk CLS. The centred card grows when the month row arrives and the
   glow, which is sized from that card, moves with it. Hold the loaded height. */
@media (min-width:701px){
  html[data-page="talk"]:not(.is-embed) #booking-card{min-height:281.3px}
  html[data-page="talk"]:not(.is-embed) #month-col{min-height:124px}
}
/* Phone /talk CLS. The month row and the times row are empty until the slots
   answer, and the footer drops when they fill. Hold their loaded height.
   121px and 155.3px are the filled sizes from 360px through 700px. */
@media (max-width:700px){
  html[data-page="talk"]:not(.is-embed) #month-col{min-height:121px}
  html[data-page="talk"]:not(.is-embed) #slots-col{min-height:155.3px}
}

/* /talk on short phones: the open cookie bar must not cover the booking
   actions at first load. Same words, same order, same flow. Tighter rhythm,
   and the header becomes one row like the home nav. Desktop, taller phones,
   and every other page are untouched. */
@media (max-width:700px) and (max-height:700px){
  html[data-page="talk"]:not(.is-embed) .talk-header{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    min-height:56px;padding:0 12px 0 20px;
    box-shadow:0 1px 0 rgba(160,240,200,.10);
  }
  html[data-page="talk"]:not(.is-embed) .talk-header > a{display:flex;align-items:center;min-height:44px;flex:none}
  html[data-page="talk"]:not(.is-embed) .talk-header img{width:72px;height:32px}
  html[data-page="talk"]:not(.is-embed) .talk-header .nav-links{flex-wrap:nowrap;justify-content:flex-end;gap:0;margin:0}
  html[data-page="talk"]:not(.is-embed) .talk-header .nav-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-size:14px}
  html[data-page="talk"]:not(.is-embed) main{padding-top:12px}
  html[data-page="talk"]:not(.is-embed) .who-col{padding:12px 16px}
  html[data-page="talk"]:not(.is-embed) .types{margin-top:10px;gap:8px}
  html[data-page="talk"]:not(.is-embed) .type{min-height:40px;padding:10px 12px}
  html[data-page="talk"]:not(.is-embed) .type small{line-height:1.4;margin-top:3px}
  html[data-page="talk"]:not(.is-embed) .month-col{padding:8px 16px 2px}
  html[data-page="talk"]:not(.is-embed) .strip-head{margin:-2px 0 6px}
  html[data-page="talk"]:not(.is-embed) .strip-nav{margin-right:-8px}
  html[data-page="talk"]:not(.is-embed) .nav-btn{width:40px;height:40px}
  html[data-page="talk"]:not(.is-embed) .dchip{height:48px;gap:4px}
  html[data-page="talk"]:not(.is-embed) .slots-col{padding:8px 16px 14px}
  html[data-page="talk"]:not(.is-embed) .slot-row{margin-bottom:8px}
  html[data-page="talk"]:not(.is-embed) .time,
  html[data-page="talk"]:not(.is-embed) .more-btn{height:40px}
  html[data-page="talk"]:not(.is-embed) .times{height:88px;min-height:88px;max-height:88px}
  /* After a time is picked, the step is the form. The time and Back lead it,
     so the call type cards step aside and Book stays above the open bar. */
  html[data-page="talk"]:not(.is-embed) .card.is-form .who-col{display:none}
  html[data-page="talk"]:not(.is-embed) .form-col{padding:12px 16px 16px}
  html[data-page="talk"]:not(.is-embed) .form-head{margin-bottom:8px}
  html[data-page="talk"]:not(.is-embed) .form-head .when{margin:0}
  html[data-page="talk"]:not(.is-embed) .form-head .text-btn{min-height:40px;padding:0 0 0 12px}
  html[data-page="talk"]:not(.is-embed) .fields{gap:10px}
  html[data-page="talk"]:not(.is-embed) label span{margin-bottom:4px}
  html[data-page="talk"]:not(.is-embed) .fields input{height:42px;padding:0 12px}
  html[data-page="talk"]:not(.is-embed) .fields textarea{height:56px;min-height:56px;padding:9px 12px}
  html[data-page="talk"]:not(.is-embed) .book{min-height:46px;padding:0 18px;margin-top:2px}
  /* CLS holds from PR 194, re-measured at these sizes */
  html[data-page="talk"]:not(.is-embed) #month-col{min-height:103px}
  html[data-page="talk"]:not(.is-embed) #slots-col{min-height:135.3px}
}

/* @P02 /team cards: edge warms to mint, portrait leans in. The circle clips the scale. */
html[data-page="team"] main .card{transition:border-color var(--pz-d3) var(--pz-ease),background-color var(--pz-d3) var(--pz-ease)}
html[data-page="team"] main .card .top{
  display:block;
  grid-column:1;
  grid-row:1;
  width:56px;
  height:56px;
  align-self:center;
  border-radius:50%;
  overflow:hidden;
}
html[data-page="team"] main .card .mark{transition:transform 600ms var(--pz-ease-out)}
@media (max-width:700px){
  html[data-page="team"] main .card .top{width:48px;height:48px;align-self:start}
}
@media (hover:hover) and (pointer:fine){
  html[data-page="team"] main .card:hover{border-color:rgba(70,222,160,.28);background-color:#181c1e}
  html[data-page="team"] main .card:hover .mark{transform:scale(1.06)}
}

/* @P03 /unmute article cards: lift with a soft shadow, title underline fades in */
html[data-page="unmute"] .um-card{transition:border-color var(--pz-d2) var(--pz-ease),transform var(--pz-d3) var(--pz-ease-out),box-shadow var(--pz-d3) var(--pz-ease-out)}
html[data-page="unmute"] .um-card h3{
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  text-decoration-color:transparent;
  transition:text-decoration-color var(--pz-d2) var(--pz-ease);
}
@media (hover:hover) and (pointer:fine){
  html[data-page="unmute"] .um-card:hover{transform:translateY(-2px);box-shadow:0 16px 32px -20px rgba(16,22,20,.35)}
  html[data-page="unmute"] .um-card:hover h3{text-decoration-color:currentColor}
}
