/* ============================================================
   "Ready to be impossible to ignore?" — contact heading ported from the estudiomalacara.com.ar
   home (V8). Roboto Flex variable: each word morphs width/weight; the envelope's lines retract
   and a lime circle grows. Rest = compressed hairline; hover (desktop) / tap (touch) = expanded.
   Only the contact page uses it; the font file is fetched only where .rdy exists.
   ============================================================ */
@font-face{font-family:'Roboto Flex';src:url('fonts/RobotoFlex-v30-latin.woff2') format('woff2');
  font-weight:100 1000;font-stretch:25% 151%;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@property --cw-w{syntax:"<number>";inherits:false;initial-value:25}
@property --cw-g{syntax:"<number>";inherits:false;initial-value:100}

.closing .rdy{position:absolute;left:2.08cqw;top:8.5cqh;z-index:4;margin:0;
  font-family:'Roboto Flex',var(--font);font-weight:400;font-size:7cqw;line-height:.92;letter-spacing:-.03em;
  color:var(--cream);text-transform:none;cursor:default;-webkit-user-select:none;user-select:none}
.rdy .cw{display:inline-block;--cw-w:25;--cw-g:100;font-variation-settings:"wdth" var(--cw-w),"wght" var(--cw-g);
  /* way back to rest: twice as slow as the way in (as in the original) */
  transition:--cw-w 1.5s cubic-bezier(.45,0,.55,1),--cw-g 1.5s cubic-bezier(.45,0,.55,1),color .9s ease,
    opacity .7s var(--ease-out,ease),transform .7s var(--ease-out,ease)}
.rdy .cw-imp{position:relative}
/* lime hint rule under the key word (the original's yellow "click hint") */
.rdy .cw-imp::after{content:"";position:absolute;left:0;right:0;bottom:-.06em;height:max(2px,.035em);background:var(--lime);
  transform:scaleX(0);transform-origin:left;transition:transform .9s var(--ease-out,ease) .5s}
.rdy.rdy-in .cw-imp::after{transform:scaleX(1)}
/* entrance: words rise in, staggered */
.rdy:not(.rdy-in) .cw{opacity:0;transform:translateY(.4em)}
.rdy.rdy-in .cw-a{transition-delay:0s,0s,0s,.05s,.05s}
.rdy.rdy-in .cw-b{transition-delay:0s,0s,0s,.15s,.15s}
.rdy.rdy-in .cw-imp{transition-delay:0s,0s,0s,.25s,.25s}
.rdy.rdy-in .cw-ig{transition-delay:0s,0s,0s,.35s,.35s}
/* expanded */
.rdy.rdy-on .cw-a{--cw-w:65;--cw-g:300;transition:--cw-w .7s cubic-bezier(.45,0,.55,1) .22s,--cw-g .7s cubic-bezier(.45,0,.55,1) .22s}
.rdy.rdy-on .cw-b{--cw-w:38;--cw-g:200;transition:--cw-w .6s cubic-bezier(.45,0,.55,1) .32s,--cw-g .6s cubic-bezier(.45,0,.55,1) .32s}
.rdy.rdy-on .cw-imp{--cw-w:151;--cw-g:900;color:var(--lime);
  transition:--cw-w .9s cubic-bezier(.16,1,.3,1) .4s,--cw-g .9s cubic-bezier(.16,1,.3,1) .4s,color .45s ease .95s}
.rdy.rdy-on .cw-ig{--cw-w:55;--cw-g:300;transition:--cw-w .65s cubic-bezier(.45,0,.55,1) .65s,--cw-g .65s cubic-bezier(.45,0,.55,1) .65s}
.rdy.rdy-on .cw-imp::after{transform:scaleX(0);transition-delay:0s}

/* envelope */
.closing .rdy-env{position:absolute;right:6cqw;top:7cqh;width:21cqw;height:auto;aspect-ratio:1;z-index:3;pointer-events:none;overflow:visible}
.rdy-env .env-line{stroke:var(--cream);fill:none;stroke-dasharray:1;stroke-dashoffset:1;
  transition:stroke-dashoffset 1s cubic-bezier(.65,0,.35,1)}
.rdy-env .env-dim{opacity:.5}
.rdy-env.rdy-in .env-line{stroke-dashoffset:0}
.rdy-env.rdy-in .env-line:nth-child(2){transition-delay:.05s}.rdy-env.rdy-in .env-line:nth-child(3){transition-delay:.3s}
.rdy-env.rdy-in .env-line:nth-child(4),.rdy-env.rdy-in .env-line:nth-child(5){transition-delay:.55s}
.rdy-env.rdy-in .env-line:nth-child(n+6){transition-delay:.7s}
.rdy-env .env-circle{fill:var(--lime);transform-box:fill-box;transform-origin:center;transform:scale(0);
  transition:transform 1.56s cubic-bezier(.65,0,.35,1)}
.rdy-env.rdy-on .env-circle{transform:scale(1);transition:transform .78s cubic-bezier(.22,1,.36,1) .1s}
.rdy-env.rdy-on .env-line{stroke-dashoffset:1;transition:stroke-dashoffset .4s cubic-bezier(.55,0,1,.45) 0s}

@media (max-width:820px){
  .closing .rdy{left:20px;right:20px;top:14svh;font-size:clamp(38px,11.5vw,46px)}
  /* phones: the envelope is a ghost behind the heading, as in the original mobile layout */
  .closing .rdy-env{right:-10px;top:calc(14svh - 10px);width:min(62vw,280px);opacity:.16;z-index:2}
  .closing .cl-contact{top:calc(14svh + 3 * .92 * clamp(38px,11.5vw,46px) + 34px)}
}
@media (prefers-reduced-motion:reduce){
  .rdy .cw,.rdy .cw-imp::after,.rdy-env .env-line,.rdy-env .env-circle{transition:none!important}
  .rdy:not(.rdy-in) .cw{opacity:1;transform:none}
}

/* ---------- "The Brief" call-out on the contact page: a wavy arrow draws in, then a box draws
   around the link; the arrow keeps a slow nudge so it doesn't go unnoticed. Hover fills it lime. */
.cl-contact .cl-brief{position:relative;color:var(--white);transition:color .25s ease}
.cl-contact .cl-brief:hover,.cl-contact .cl-brief:focus-visible{text-decoration:none;color:var(--ink);outline:none}
.cl-brief span{position:relative;z-index:1}
.cl-brief svg{position:absolute;overflow:visible;pointer-events:none;fill:none;stroke:var(--lime);stroke-linecap:round;stroke-linejoin:round}
.cl-brief .brf-box{left:-.45em;top:-.22em;width:calc(100% + .9em);height:calc(100% + .44em)}
.cl-brief .brf-box rect{stroke-width:1.5;fill:var(--lime);fill-opacity:0;stroke-dasharray:1;stroke-dashoffset:1;
  transition:stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1) .85s,fill-opacity .25s ease}
.cl-brief:hover .brf-box rect,.cl-brief:focus-visible .brf-box rect{fill-opacity:1;transition-delay:0s}
.cl-brief .brf-arrow path{stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:1}
.cl-brief .brf-shaft{transition:stroke-dashoffset .9s cubic-bezier(.45,0,.55,1)}
.cl-brief .brf-head{transition:stroke-dashoffset .3s ease-out .85s}
.cl-brief .brf-arrow-d{width:6.4em;height:4em;left:-6.5em;top:-3.75em}
.cl-brief .brf-arrow-m{display:none}
.cl-brief.brf-in .brf-box rect,.cl-brief.brf-in .brf-arrow path{stroke-dashoffset:0}
.cl-brief.brf-in .brf-arrow{animation:brf-nudge 2.6s ease-in-out 2.4s infinite}
@keyframes brf-nudge{0%,60%,100%{translate:0 0}75%{translate:.18em .14em}}
.cl-brief.brf-in .brf-arrow-m{animation-name:brf-nudge-m}
@keyframes brf-nudge-m{0%,60%,100%{translate:0 0}75%{translate:0 -.22em}}
@media (max-width:820px){
  .cl-brief .brf-arrow-d{display:none}
  .cl-brief .brf-arrow-m{display:block;width:3.4em;height:5.1em;left:-.1em;top:calc(100% + .35em)}
}
@media (prefers-reduced-motion:reduce){
  .cl-brief .brf-box rect,.cl-brief .brf-arrow path{transition:none!important;stroke-dashoffset:0}
  .cl-brief .brf-arrow{animation:none!important}
}
/* 2026-11-04: on the contact page the brief is the main action, so it weighs more than the socials */
.cl-contact .cl-brief{font-weight:700;font-size:1.18em}
