/* The post-launch "sitio vivo" timeline and responsive site preview. */

.evolution{background:var(--navy);color:var(--white);padding:130px 0 108px;overflow:hidden}
.evolution__inner{max-width:1440px;margin:0 auto}
.evolution__workspace{margin:76px 36px 0;display:grid;grid-template-columns:340px minmax(0,1fr);border:1px solid var(--line-dark);background:#091524;min-width:0}

.evolution-timeline{position:relative;border-right:1px solid var(--line-dark);background:#081321;min-width:0}
.evolution-timeline__head{height:76px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-dark);font:500 .64rem/1 var(--mono);text-transform:uppercase;color:#73859c}
.evolution-timeline__head strong{color:#dbe5f2;font-weight:500}
.evolution-timeline__steps{position:relative;padding:12px 0}
.evolution-timeline__rail{position:absolute;z-index:0;left:44px;top:65px;bottom:65px;width:1px;background:rgba(255,255,255,.13)}
.evolution-timeline__rail i{--progress:0%;position:absolute;inset:0 auto auto 0;width:1px;height:var(--progress);background:var(--monitor);box-shadow:0 0 14px rgba(39,186,209,.45);transition:height .45s ease}
.evolution-timeline button{position:relative;z-index:1;width:100%;min-height:116px;padding:18px 22px;border:0;border-left:2px solid transparent;background:transparent;color:#fff;display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;align-content:center;text-align:left;cursor:pointer;transition:background .25s ease,border-color .25s ease}
.evolution-timeline button:hover{background:rgba(255,255,255,.035)}
.evolution-timeline button[aria-selected="true"]{background:rgba(39,186,209,.07);border-left-color:var(--monitor)}
.evolution-timeline button>span{grid-row:1/3;align-self:start;display:flex;flex-direction:column;align-items:center;gap:9px}
.evolution-timeline button b{position:relative;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background:#081321;border:1px solid #40516a;border-radius:50%;font:600 .57rem/1 var(--mono);color:#8392a5;transition:background .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}
.evolution-timeline button[aria-selected="true"] b{background:var(--monitor);border-color:var(--monitor);color:#06111f;box-shadow:0 0 0 6px rgba(39,186,209,.1)}
.evolution-timeline time{font:500 .54rem/1 var(--mono);text-transform:uppercase;color:#697b91}
.evolution-timeline button>strong{align-self:end;font-family:var(--display);font-size:1.04rem;line-height:1.15;font-weight:650;color:#9ba9ba;transition:color .25s ease}
.evolution-timeline button[aria-selected="true"]>strong{color:#fff}
.evolution-timeline button>small{align-self:start;margin-top:6px;font-size:.69rem;line-height:1.42;color:#66798f}

.evolution-preview{min-width:0;background:#0b1727}
.evolution-preview__bar{height:76px;padding:0 20px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line-dark)}
.evolution-preview__bar>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}
.evolution-preview__label{font:500 .58rem/1 var(--mono);text-transform:uppercase;color:#6f8197}
.evolution-preview__bar strong{font:650 1rem/1.2 var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device-switch{display:flex;align-items:center;padding:3px;background:#07111f;border:1px solid rgba(255,255,255,.13);border-radius:4px}
.device-switch button{min-height:36px;padding:0 10px;border:0;background:transparent;color:#77899e;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:2px;font:500 .6rem/1 var(--mono);cursor:pointer;transition:background .2s ease,color .2s ease}
.device-switch button:hover{color:#dbe5f2}
.device-switch button[aria-pressed="true"]{background:#1b2a3e;color:#fff}
.device-switch svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.evolution-stage{position:relative;min-height:638px;padding:34px 28px 46px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 46%,rgba(48,82,119,.2),transparent 43%),linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px),#07111f;background-size:auto,32px 32px,32px 32px;overflow:hidden}
.device-frame{width:100%;max-width:960px;transition:width .55s cubic-bezier(.2,.75,.2,1),max-width .55s cubic-bezier(.2,.75,.2,1)}
.evolution-stage[data-device="tablet"] .device-frame{width:76%;max-width:700px}
.evolution-stage[data-device="mobile"] .device-frame{width:42%;max-width:354px}
.evolution-browser{height:500px;background:#f7f9fb;border:1px solid rgba(255,255,255,.3);border-radius:8px;box-shadow:0 28px 70px rgba(0,0,0,.42);overflow:hidden;transition:height .55s cubic-bezier(.2,.75,.2,1)}
.evolution-stage[data-device="tablet"] .evolution-browser{height:528px}
.evolution-stage[data-device="mobile"] .evolution-browser{height:558px;border-radius:16px}
.evolution-browser__chrome{height:36px;padding:0 11px;background:#e9edf0;border-bottom:1px solid #cbd3da;display:grid;grid-template-columns:58px 1fr 24px;align-items:center;gap:10px;color:#647184}
.evolution-browser__url{height:23px;padding:0 10px;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #d4dae0;border-radius:3px;font:500 .56rem/1 var(--mono);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.evolution-browser__url i{width:5px;height:5px;background:var(--publish);border-radius:50%;flex:0 0 auto}
.evolution-browser__menu{font:700 .65rem/1 var(--mono);text-align:right;letter-spacing:1px}

.living-site{--live-accent:#315f8e;--live-paper:#f4efe6;--live-ink:#25221e;height:calc(100% - 36px);display:flex;flex-direction:column;background:var(--live-paper);color:var(--live-ink);overflow:hidden;transition:background .35s ease,color .35s ease}
.evolution-stage[data-version="hours"] .living-site{--live-accent:#356047;--live-paper:#f0eee4;--live-ink:#222820}
.evolution-stage[data-version="season"] .living-site{--live-accent:#a6492d;--live-paper:#f5eadc;--live-ink:#2c201b}
.evolution-stage[data-version="orders"] .living-site{--live-accent:#315f8e;--live-paper:#e8edf2;--live-ink:#172231}
.living-site.is-changing .living-site__copy,.living-site.is-changing .living-site__photo,.living-site.is-changing .living-site__highlights{animation:evolution-change .55s ease both}
@keyframes evolution-change{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}
.living-site__announcement{min-height:26px;padding:7px 14px;background:var(--live-accent);color:#fff;text-align:center;font:600 .54rem/1.2 var(--mono);text-transform:uppercase;letter-spacing:.02em}
.living-site__nav{height:50px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(24,28,30,.13);font-size:.61rem;color:#5e635f}
.living-site__nav strong{font:750 .95rem/1 var(--display);color:var(--live-accent);transition:color .35s ease}
.living-site__nav i{display:none;width:18px;gap:4px;flex-direction:column}
.living-site__nav i b{height:1px;background:currentColor;width:100%}
.living-site__hero{flex:1;min-height:0;display:grid;grid-template-columns:1.05fr .95fr}
.living-site__copy{padding:32px 28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.living-site__copy>p{margin:0 0 14px;color:var(--live-accent);font:650 .56rem/1.3 var(--mono);text-transform:uppercase}
.living-site__copy h3{margin:0;max-width:500px;font:650 clamp(2rem,3.2vw,3rem)/.93 var(--display);letter-spacing:0;text-wrap:balance}
.living-site__copy>span{max-width:42ch;margin-top:15px;color:#646760;font-size:.68rem;line-height:1.55}
.living-site__actions{display:flex;align-items:center;gap:16px;margin-top:22px}
.living-site__actions b,.living-site__actions em{font-size:.61rem;font-style:normal}
.living-site__actions b{padding:9px 12px;background:var(--live-accent);color:#fff;border-radius:2px}
.living-site__actions em{color:var(--live-accent);border-bottom:1px solid currentColor;padding-bottom:2px}
.living-site__photo{position:relative;min-width:0;overflow:hidden}
.living-site__photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(12,15,15,.42))}
.living-site__photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.78) contrast(1.03);transition:filter .35s ease,transform .7s ease}
.evolution-stage[data-version="season"] .living-site__photo img{filter:saturate(1.05) sepia(.06);transform:scale(1.035)}
.evolution-stage[data-version="orders"] .living-site__photo img{filter:saturate(.65) contrast(1.08)}
.living-site__photo span{position:absolute;z-index:1;left:14px;bottom:13px;padding:6px 8px;background:rgba(255,255,255,.92);color:var(--live-accent);font:650 .5rem/1 var(--mono);text-transform:uppercase}
.living-site__highlights{min-height:72px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(24,28,30,.13)}
.living-site__highlights>span{padding:12px 20px;display:flex;flex-direction:column;justify-content:center;gap:5px;border-right:1px solid rgba(24,28,30,.13)}
.living-site__highlights>span:last-child{border-right:0}
.living-site__highlights small{font:500 .48rem/1 var(--mono);text-transform:uppercase;color:#747871}
.living-site__highlights strong{font:650 .72rem/1.1 var(--display);color:var(--live-ink)}

.evolution-stage[data-device="tablet"] .living-site__hero{grid-template-columns:1fr .78fr}
.evolution-stage[data-device="tablet"] .living-site__copy{padding:26px 22px}
.evolution-stage[data-device="tablet"] .living-site__copy h3{font-size:2.25rem}
.evolution-stage[data-device="tablet"] .living-site__nav span{display:none}
.evolution-stage[data-device="tablet"] .living-site__nav i{display:flex}
.evolution-stage[data-device="mobile"] .evolution-browser__chrome{grid-template-columns:45px 1fr 16px;padding-inline:8px}
.evolution-stage[data-device="mobile"] .browser__controls{gap:4px}
.evolution-stage[data-device="mobile"] .browser__controls i{width:5px;height:5px}
.evolution-stage[data-device="mobile"] .living-site__announcement{font-size:.45rem;padding-inline:8px}
.evolution-stage[data-device="mobile"] .living-site__nav{height:44px;padding-inline:14px}
.evolution-stage[data-device="mobile"] .living-site__nav span{display:none}
.evolution-stage[data-device="mobile"] .living-site__nav i{display:flex}
.evolution-stage[data-device="mobile"] .living-site__hero{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 148px}
.evolution-stage[data-device="mobile"] .living-site__copy{padding:20px 16px 16px}
.evolution-stage[data-device="mobile"] .living-site__copy h3{font-size:1.95rem}
.evolution-stage[data-device="mobile"] .living-site__copy>span{font-size:.59rem;margin-top:11px}
.evolution-stage[data-device="mobile"] .living-site__actions{margin-top:15px;gap:12px}
.evolution-stage[data-device="mobile"] .living-site__actions b,.evolution-stage[data-device="mobile"] .living-site__actions em{font-size:.54rem}
.evolution-stage[data-device="mobile"] .living-site__photo span{left:10px;bottom:9px}
.evolution-stage[data-device="mobile"] .living-site__highlights{min-height:62px}
.evolution-stage[data-device="mobile"] .living-site__highlights>span{padding:9px 7px}
.evolution-stage[data-device="mobile"] .living-site__highlights small{font-size:.4rem}
.evolution-stage[data-device="mobile"] .living-site__highlights strong{font-size:.58rem}
.evolution-stage__status{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);margin:0;color:#71839a;font:500 .56rem/1 var(--mono);text-transform:uppercase;white-space:nowrap}

.evolution__summary{margin:0 36px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line-dark);border-top:0}
.evolution__summary>div{min-height:112px;padding:24px;display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;border-right:1px solid var(--line-dark)}
.evolution__summary>div:last-child{border-right:0}
.evolution__summary span{color:var(--monitor);font:600 .65rem/1.5 var(--mono)}
.evolution__summary p{margin:0;color:#8292a6;font-size:.78rem;line-height:1.55}
.evolution__summary strong{color:#e4ebf4;font-weight:600}

@media(max-width:1180px){
  .evolution__workspace{grid-template-columns:300px minmax(0,1fr)}
  .evolution-timeline button{padding-inline:18px;grid-template-columns:48px}
  .evolution-timeline__rail{left:37px}
  .device-switch button span{display:none}
  .device-switch button{width:38px;padding:0}
  .living-site__copy h3{font-size:2.4rem}
}

@media(max-width:980px){
  .evolution__workspace{margin-inline:26px;grid-template-columns:1fr}
  .evolution-timeline{border-right:0;border-bottom:1px solid var(--line-dark)}
  .evolution-timeline__steps{display:grid;grid-template-columns:repeat(4,1fr);padding:0}
  .evolution-timeline__rail{display:none}
  .evolution-timeline button{min-height:132px;padding:17px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;border-left:0;border-bottom:2px solid transparent}
  .evolution-timeline button[aria-selected="true"]{border-left-color:transparent;border-bottom-color:var(--monitor)}
  .evolution-timeline button>span{width:100%;flex-direction:row;justify-content:space-between;align-items:center}
  .evolution-timeline button>strong{font-size:.88rem}
  .evolution-timeline button>small{font-size:.62rem;margin:0}
  .evolution-stage{min-height:620px}
  .evolution-stage[data-device="tablet"] .device-frame{width:82%}
  .evolution-stage[data-device="mobile"] .device-frame{width:48%}
  .evolution__summary{margin-inline:26px}
}

@media(max-width:620px){
  .evolution__workspace{margin:46px 16px 0}
  .evolution-timeline__head{height:64px;padding-inline:14px}
  .evolution-timeline__steps{grid-template-columns:repeat(2,1fr)}
  .evolution-timeline button{min-height:118px;padding:14px 12px;border-bottom:1px solid var(--line-dark);border-right:1px solid var(--line-dark)}
  .evolution-timeline button:nth-child(odd){border-right:0}
  .evolution-timeline button[aria-selected="true"]{box-shadow:inset 0 -2px var(--monitor)}
  .evolution-timeline button>small{display:none}
  .evolution-preview__bar{height:auto;min-height:106px;padding:14px;align-items:flex-start;flex-direction:column;gap:12px}
  .device-switch{align-self:stretch;display:grid;grid-template-columns:repeat(3,1fr)}
  .device-switch button{width:auto;min-height:40px}
  .device-switch button span{display:inline}
  .evolution-stage{min-height:614px;padding:24px 10px 43px}
  .evolution-stage[data-device="desktop"] .device-frame{width:100%}
  .evolution-stage[data-device="tablet"] .device-frame{width:90%}
  .evolution-stage[data-device="mobile"] .device-frame{width:78%}
  .evolution-browser{height:520px}
  .evolution-stage[data-device="tablet"] .evolution-browser{height:530px}
  .evolution-stage[data-device="mobile"] .evolution-browser{height:542px}
  .evolution-stage[data-device="desktop"] .living-site__copy{padding:19px 14px}
  .evolution-stage[data-device="desktop"] .living-site__copy h3{font-size:1.65rem}
  .evolution-stage[data-device="desktop"] .living-site__copy>span{font-size:.56rem}
  .evolution-stage[data-device="desktop"] .living-site__nav{padding-inline:13px}
  .evolution-stage[data-device="desktop"] .living-site__highlights>span{padding-inline:8px}
  .evolution-stage[data-device="tablet"] .living-site__hero{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 150px}
  .evolution-stage[data-device="tablet"] .living-site__copy{padding:18px 14px}
  .evolution-stage[data-device="tablet"] .living-site__copy h3{font-size:1.75rem}
  .evolution-stage[data-device="tablet"] .living-site__photo span{left:10px;bottom:9px}
  .evolution-stage__status{font-size:.47rem;max-width:90%;overflow:hidden;text-overflow:ellipsis}
  .evolution__summary{margin-inline:16px;grid-template-columns:1fr}
  .evolution__summary>div{min-height:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line-dark)}
  .evolution__summary>div:last-child{border-bottom:0}
}

@media(max-width:380px){
  .device-switch button span{display:none}
  .evolution-stage[data-device="mobile"] .device-frame{width:84%}
  .living-site__actions em{display:none}
}

@media(prefers-reduced-motion:reduce){
  .device-frame,.evolution-timeline__rail i{transition:none}
  .living-site.is-changing .living-site__copy,.living-site.is-changing .living-site__photo,.living-site.is-changing .living-site__highlights{animation:none}
}
