#landing {
  --paper-ink:#37291b;
  --seal:#8e2d22;
  container-type:inline-size;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:stretch;
  overflow:auto;
  color:var(--paper-ink);
  background:transparent;
}
#landing::before {display:none}
.folio-portrait {
  position:relative; flex:0 1 auto; height:98.19cqw; min-height:0; overflow:hidden;
  animation:paint-in 1.05s cubic-bezier(.18,.72,.25,1) both;
}
.folio-portrait img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.folio-light,.folio-portrait canvas {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.folio-light {
  background:linear-gradient(124deg,transparent 46%,#ffdf8819 50%,transparent 55%);
  mix-blend-mode:screen;animation:mountain-light 9s ease-in-out infinite alternate;
}
.folio-paper {
  position:relative;flex:1 0 280px;width:100%;
  background:url("folio-register.jpg") center / 100% 100% no-repeat;
  animation:unroll .95s .17s cubic-bezier(.15,.76,.18,1) backwards;
}
#landing .access-sheet {
  position:absolute;inset:8.8% 14.5% auto;width:auto;max-width:none;height:64.5%;
  display:flex;flex-direction:column;justify-content:center;
  margin:0;padding:0;border:0;box-shadow:none;background:none;
  color:var(--paper-ink);animation:writing-in .54s .65s backwards;
}
#auth-tabs {display:flex;justify-content:center;gap:29px;border:0;margin:0 0 5px}
#auth-tabs button {
  position:relative;display:flex;align-items:center;justify-content:center;gap:7px;
  min-height:33px;min-width:66px;padding:2px 5px 4px;
  font:600 clamp(17px,4.5vw,22px)/1.15 var(--serif);color:#66553b;
}
#auth-tabs button[aria-pressed=true] {color:var(--seal)}
#auth-tabs button[aria-pressed=true]::before {
  content:"";width:6px;height:6px;background:var(--seal);transform:rotate(45deg);box-shadow:0 0 0 2px #dbc496,0 0 0 3px #a95d42;
}
#auth-tabs button[aria-pressed=true]::after {left:15%;right:15%;height:1px;background:linear-gradient(90deg,transparent,#984835,transparent)}
#credentials {width:100%}
.input-row {position:relative;display:flex;gap:12px;align-items:center;min-height:38px;border-bottom:1px solid #77624666;color:#372a1c}
.input-row>span,.input-row>label {flex-shrink:0;font:600 14px/1.2 var(--serif);letter-spacing:.08em;color:#574027}
.input-row input {min-width:0;height:38px;font:16px/1.2 var(--sans);color:#29271d;caret-color:var(--seal)}
.input-row input::placeholder {color:#746247;font-size:13px}
.input-row:focus-within {border-color:#2c5543}
.input-row:focus-within::after {content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background:#35614b;transform-origin:left;animation:line-fill .35s ease-out both}
#show-password {display:grid;place-items:center;align-self:stretch;width:32px;flex-shrink:0;color:#68563b}
#show-password svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
#show-password .eye-cross {display:none}
#show-password[aria-pressed=true] .eye-cross {display:block}
.form-status {color:#8c281e;font-weight:600}
.form-status:not(:empty) {margin-top:3px}
.gate-submit {
  position:relative;isolation:isolate;align-self:center;display:flex;align-items:center;justify-content:center;
  width:100%;min-height:42px;margin:12px auto 0;padding:8px 28px;overflow:hidden;
  color:#fff0c5;border:1px solid #a18954;
  background:linear-gradient(130deg,#152e29,#334638 42%,#1d332b 70%,#172a25);
  box-shadow:inset 0 0 0 2px #21362b,inset 0 0 0 3px #b19b635f;
  clip-path:polygon(0 8px,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px));
  font:600 16px/1.2 var(--serif);letter-spacing:.15em;
}
.gate-submit span:last-child {position:absolute;right:17px;color:#d7bd79}
.gate-submit::before {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(107deg,transparent 37%,#f4d68d38 50%,transparent 62%);transform:translateX(-130%);animation:seal-sheen 4.5s 1.1s infinite}
#welcome-name {font:600 19px/1.4 var(--serif);text-align:center;color:#43301e;overflow-wrap:anywhere}
#switch-account {color:#573e2b;min-height:32px;margin:5px auto 0}
#landing button:focus-visible {outline:2px solid #9f3927;outline-offset:2px}
#landing input:focus-visible {outline:none}





.entering .top {animation:home-copy-in .6s .35s backwards}



.entering .catalog {animation:home-copy-in .78s .76s backwards}
.entering .grid .card:nth-child(-n+6) {transform-origin:50% 0;animation:card-deal .8s calc(.81s + var(--delay,0s)*2) backwards}
.entering nav button {animation:home-copy-in .62s .7s backwards}
.entering nav button:nth-child(2) {animation-delay:.8s}
.entering nav button:nth-child(3) {animation-delay:.9s}
.entering nav button:nth-child(4) {animation-delay:1s}
@keyframes paint-in {from{opacity:0;transform:scale(1.035);filter:blur(4px) saturate(.65)}to{opacity:1;transform:none;filter:none}}
@keyframes unroll {0%{clip-path:inset(0 50%);filter:brightness(.78)}100%{clip-path:inset(0);filter:none}}
@keyframes writing-in {from{opacity:0;filter:blur(2px);transform:translateY(9px)}to{opacity:1;filter:none;transform:none}}
@keyframes line-fill {from{transform:scaleX(.05)}to{transform:scaleX(1)}}
@keyframes mountain-light {from{opacity:.35;transform:translateX(-3%)}to{opacity:1;transform:translateX(3%)}}
@keyframes seal-sheen {0%,60%{transform:translateX(-130%)}88%,100%{transform:translateX(130%)}}
@keyframes home-copy-in {from{opacity:0;transform:translateY(14px);filter:blur(2px)}to{opacity:1;transform:none;filter:none}}


@keyframes card-deal {from{opacity:0;transform:perspective(450px) rotateX(-24deg) translateY(23px)}to{opacity:1;transform:none}}
@media(max-height:680px) {
  .folio-paper {flex-basis:258px}
  #auth-tabs {margin-bottom:1px}
  .input-row,.input-row input {min-height:34px;height:34px}
  .gate-submit {min-height:37px;margin-top:8px}
  #landing .access-sheet {inset:9% 14% auto;height:63%}
}
@media(max-height:400px) {
  .folio-portrait img {object-position:center 34%}
  #landing {display:flex;align-items:stretch}
  .folio-paper {flex-basis:250px;flex-shrink:0}
  #auth-tabs button {min-height:30px}
}
@media(prefers-reduced-motion:reduce) {
  .folio-light,#folio-dust{display:none}
  #landing *,#landing *::before,#landing *::after,.entering * {animation:none!important}
}
