  *{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
  button:focus,a:focus{outline:none}
  button:focus-visible,a:focus-visible{outline:2px solid var(--text2);outline-offset:2px}
  body{font-family:'Brygada 1918',serif;font-weight:400;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;min-height:100dvh}

  /* The topbar is the start page's one: topbar.css (see about/main.js). */
  #nc{width:90px;max-width:90px;text-decoration:none}   /* same size as «Фильтры» on the start page */
  .tb-about{color:var(--text);cursor:default}
  .tb-about:hover{background:none;transform:none}

  .ac{max-width:640px;margin:0 auto;padding:100px 24px 80px;transition:opacity 0.3s;animation:acIn .45s ease both}
  @keyframes acIn{from{opacity:0;transform:translateY(8px)}}
  .at{font-style:italic;font-weight:500;font-size:40px;color:var(--text);margin-bottom:12px;line-height:1.4;padding-top:6px}
  .as{font-size:16px;color:var(--muted);margin-bottom:48px}
  .asec{margin-bottom:40px}
  .sh{font-size:14px;font-weight:500;text-transform:uppercase;letter-spacing:0.12em;color:var(--muted);margin-bottom:16px}
  .asec p{font-size:16px;line-height:1.75;color:var(--text2);margin-bottom:16px}
  .asec a{color:var(--text);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--border);transition:text-decoration-color 0.2s}
  .asec a:hover{text-decoration-color:var(--text)}
  .adiv{width:40px;height:0.5px;background:var(--border);margin:48px 0}
  .af{font-size:13px;color:var(--muted);line-height:1.6}
  .af a{color:var(--text2);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--border)}

  @media(max-width:480px){.at{font-size:30px}.ac{padding:90px 20px 60px}.asec p{font-size:15px}}
#privacy{scroll-margin-top:64px}
/* The camera secret on the About page (about/secret.js): the site's paper modal (coupon.css .cmodal, letterpress
   paper from letterpress.css), on its own because the About page loads neither. Only opacity and transform move. */
#contact .sh{-webkit-user-select:none;user-select:none;touch-action:manipulation}   /* three quick taps: no zoom, no selection */
.sx-mask{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(28,20,14,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  opacity:0;transition:opacity .26s ease}
.sx-mask.open{opacity:1}
.sx-card{position:relative;isolation:isolate;width:100%;max-width:360px;padding:44px 30px 30px;border-radius:20px;text-align:center;
  font-family:'Brygada 1918',serif;color:#2b211a;background-color:#f4efe7;
  background-image:linear-gradient(rgba(244,239,231,.30),rgba(244,239,231,.30)),url("/assets/lp/paper.webp");background-size:cover;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 18px 50px rgba(26,20,14,.28);
  transform:translateY(10px) scale(.96);opacity:0;transition:transform .24s cubic-bezier(.4,0,1,1),opacity .2s ease}
.sx-card::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:20px;
  background:url("/assets/lp/paper.webp") 30% 30%/190% no-repeat;mix-blend-mode:multiply;opacity:.5}
.sx-mask.open .sx-card{transform:none;opacity:1;transition:transform .5s cubic-bezier(.22,1.2,.36,1),opacity .3s ease}
/* leaving keeps .open, so the drawn seal stays drawn while the card sinks away */
.sx-mask.out{opacity:0;pointer-events:none}
.sx-mask.out .sx-card{transform:translateY(10px) scale(.96);opacity:0;transition:transform .24s cubic-bezier(.4,0,1,1),opacity .2s ease}
.sx-close{position:absolute;top:12px;inset-inline-end:14px;width:32px;height:32px;border:none;border-radius:999px;background:transparent;cursor:pointer;
  transition:background .18s ease,transform .18s ease}
.sx-close::before,.sx-close::after{content:"";position:absolute;top:50%;left:50%;width:15px;height:1.7px;border-radius:2px;background:#6b5b4a}
.sx-close::before{transform:translate(-50%,-50%) rotate(45deg)}
.sx-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
@media(hover:hover){.sx-close:hover{background:rgba(0,0,0,.05);transform:scale(1.1)}}
/* the seal: the ring draws itself, then the tick, like a pen stroke */
.sx-seal{display:block;width:60px;height:60px;margin:0 auto 18px;fill:none;stroke:#2b211a;stroke-linecap:round;stroke-linejoin:round}
.sx-ring{stroke-width:1.6;opacity:.55;stroke-dasharray:183;stroke-dashoffset:183;transform:rotate(-90deg);transform-origin:center}
.sx-tick{stroke-width:2.6;stroke-dasharray:40;stroke-dashoffset:40}
.sx-mask.open .sx-ring{stroke-dashoffset:0;transition:stroke-dashoffset .7s cubic-bezier(.65,0,.35,1) .12s}
.sx-mask.open .sx-tick{stroke-dashoffset:0;transition:stroke-dashoffset .42s cubic-bezier(.3,0,.2,1) .62s}
.sx-title{font-size:21px;font-weight:500;letter-spacing:.01em;line-height:1.3;margin:0 0 8px}
.sx-sub{font-size:15px;line-height:1.5;color:#6b5b4a;margin:0}
.sx-title,.sx-sub{opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease}
.sx-mask.open .sx-title,.sx-mask.open .sx-sub{opacity:1;transform:none;transition:opacity .45s ease .18s,transform .45s ease .18s}
.sx-mask.open .sx-sub{transition-delay:.26s}
@media(prefers-reduced-motion:reduce){
  .sx-mask,.sx-card,.sx-ring,.sx-tick,.sx-title,.sx-sub{transition:none!important}
}
